[DDK]
[reactos.git] / include / psdk / nettypes.h
1 #pragma once
2
3 #define HARDWARE_ADDRESS_LENGTH 6
4 #define NETMAN_VARTYPE_ULONG 0
5 #define NETMAN_VARTYPE_HARDWARE_ADDRESS 1
6 #define NETMAN_VARTYPE_STRING 2
7
8 typedef ULONG OFFSET;
9
10 typedef struct _FLAT_STRING {
11 SHORT MaximumLength;
12 SHORT Length;
13 char Buffer [1];
14 } FLAT_STRING, *PFLAT_STRING;
15
16 typedef struct _NETWORK_NAME {
17 FLAT_STRING Name;
18 } NETWORK_NAME, *PNETWORK_NAME;
19
20 typedef struct _HARDWARE_ADDRESS {
21 UCHAR Address [HARDWARE_ADDRESS_LENGTH];
22 } HARDWARE_ADDRESS, *PHARDWARE_ADDRESS;