ReactOS  0.4.15-dev-1377-ga59cecd
nettypes.h
Go to the documentation of this file.
1 /*
2  * nettypes.h
3  *
4  * This file is part of the ReactOS PSDK package.
5  *
6  * Contributors:
7  * Created by Magnus Olsen.
8  *
9  * THIS SOFTWARE IS NOT COPYRIGHTED
10  *
11  * This source code is offered for use in the public domain. You may
12  * use, modify or distribute it freely.
13  *
14  * This code is distributed in the hope that it will be useful but
15  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
16  * DISCLAIMED. This includes but is not limited to warranties of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18  *
19  */
20 
21 #pragma once
22 
23 #define HARDWARE_ADDRESS_LENGTH 6
24 #define NETMAN_VARTYPE_ULONG 0
25 #define NETMAN_VARTYPE_HARDWARE_ADDRESS 1
26 #define NETMAN_VARTYPE_STRING 2
27 
28 typedef ULONG OFFSET;
29 
30 typedef struct _FLAT_STRING {
33  char Buffer [1];
35 
36 typedef struct _NETWORK_NAME {
39 
40 typedef struct _HARDWARE_ADDRESS {
UCHAR Address[HARDWARE_ADDRESS_LENGTH]
Definition: nettypes.h:41
struct _HARDWARE_ADDRESS HARDWARE_ADDRESS
#define HARDWARE_ADDRESS_LENGTH
Definition: nettypes.h:23
struct _NETWORK_NAME * PNETWORK_NAME
struct _HARDWARE_ADDRESS * PHARDWARE_ADDRESS
FLAT_STRING Name
Definition: nettypes.h:37
short SHORT
Definition: pedump.c:59
SHORT MaximumLength
Definition: nettypes.h:31
Definition: bufpool.h:45
struct _FLAT_STRING FLAT_STRING
ULONG OFFSET
Definition: nettypes.h:28
unsigned char UCHAR
Definition: xmlstorage.h:181
struct _FLAT_STRING * PFLAT_STRING
SHORT Length
Definition: nettypes.h:32
struct _NETWORK_NAME NETWORK_NAME
unsigned int ULONG
Definition: retypes.h:1