2010-06-11 13:52:46 +00:00
|
|
|
/*
|
|
|
|
* nettypes.h
|
|
|
|
*
|
|
|
|
* This file is part of the ReactOS PSDK package.
|
|
|
|
*
|
|
|
|
* Contributors:
|
|
|
|
* Created by Magnus Olsen.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS NOT COPYRIGHTED
|
|
|
|
*
|
|
|
|
* This source code is offered for use in the public domain. You may
|
|
|
|
* use, modify or distribute it freely.
|
|
|
|
*
|
|
|
|
* This code is distributed in the hope that it will be useful but
|
|
|
|
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
|
|
|
* DISCLAIMED. This includes but is not limited to warranties of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2010-04-19 16:18:04 +00:00
|
|
|
#pragma once
|
2007-03-30 15:32:34 +00:00
|
|
|
|
|
|
|
#define HARDWARE_ADDRESS_LENGTH 6
|
|
|
|
#define NETMAN_VARTYPE_ULONG 0
|
|
|
|
#define NETMAN_VARTYPE_HARDWARE_ADDRESS 1
|
|
|
|
#define NETMAN_VARTYPE_STRING 2
|
|
|
|
|
|
|
|
typedef ULONG OFFSET;
|
|
|
|
|
2010-04-19 16:18:04 +00:00
|
|
|
typedef struct _FLAT_STRING {
|
2007-03-30 15:32:34 +00:00
|
|
|
SHORT MaximumLength;
|
|
|
|
SHORT Length;
|
|
|
|
char Buffer [1];
|
|
|
|
} FLAT_STRING, *PFLAT_STRING;
|
|
|
|
|
2010-04-19 16:18:04 +00:00
|
|
|
typedef struct _NETWORK_NAME {
|
2007-03-30 15:32:34 +00:00
|
|
|
FLAT_STRING Name;
|
|
|
|
} NETWORK_NAME, *PNETWORK_NAME;
|
|
|
|
|
2010-04-19 16:18:04 +00:00
|
|
|
typedef struct _HARDWARE_ADDRESS {
|
2007-03-30 15:32:34 +00:00
|
|
|
UCHAR Address [HARDWARE_ADDRESS_LENGTH];
|
|
|
|
} HARDWARE_ADDRESS, *PHARDWARE_ADDRESS;
|