Remove last hardcode string I have check the soure 3more time after I found some...
[reactos.git] / reactos / w32api / include / ddk / netpnp.h
1 /*
2 * netpnp.h
3 *
4 * Network Plug and Play event support
5 *
6 * This file is part of the w32api package.
7 *
8 * Contributors:
9 * Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
10 *
11 * THIS SOFTWARE IS NOT COPYRIGHTED
12 *
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
15 *
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAIMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 *
21 */
22
23 #ifndef __NETPNP_H
24 #define __NETPNP_H
25
26 #if __GNUC__ >=3
27 #pragma GCC system_header
28 #endif
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 typedef enum _NET_PNP_EVENT_CODE {
35 NetEventSetPower,
36 NetEventQueryPower,
37 NetEventQueryRemoveDevice,
38 NetEventCancelRemoveDevice,
39 NetEventReconfigure,
40 NetEventBindList,
41 NetEventBindsComplete,
42 NetEventPnPCapabilities,
43 NetEventMaximum
44 } NET_PNP_EVENT_CODE, *PNET_PNP_EVENT_CODE;
45
46 typedef struct _NET_PNP_EVENT {
47 NET_PNP_EVENT_CODE NetEvent;
48 PVOID Buffer;
49 ULONG BufferLength;
50 ULONG_PTR NdisReserved[4];
51 ULONG_PTR TransportReserved[4];
52 ULONG_PTR TdiReserved[4];
53 ULONG_PTR TdiClientReserved[4];
54 } NET_PNP_EVENT, *PNET_PNP_EVENT;
55
56 typedef enum _NET_DEVICE_POWER_STATE {
57 NetDeviceStateUnspecified,
58 NetDeviceStateD0,
59 NetDeviceStateD1,
60 NetDeviceStateD2,
61 NetDeviceStateD3,
62 NetDeviceStateMaximum
63 } NET_DEVICE_POWER_STATE, *PNET_DEVICE_POWER_STATE;
64
65 #ifdef __cplusplus
66 }
67 #endif
68
69 #endif /* __NETPNP_H */