[DDK]
[reactos.git] / include / ddk / netpnp.h
1 #ifndef __NET_PNP__
2 #define __NET_PNP__
3
4 typedef enum _NET_DEVICE_POWER_STATE
5 {
6 NetDeviceStateUnspecified = 0,
7 NetDeviceStateD0,
8 NetDeviceStateD1,
9 NetDeviceStateD2,
10 NetDeviceStateD3,
11 NetDeviceStateMaximum
12 } NET_DEVICE_POWER_STATE, *PNET_DEVICE_POWER_STATE;
13
14 typedef enum _NET_PNP_EVENT_CODE
15 {
16 NetEventSetPower,
17 NetEventQueryPower,
18 NetEventQueryRemoveDevice,
19 NetEventCancelRemoveDevice,
20 NetEventReconfigure,
21 NetEventBindList,
22 NetEventBindsComplete,
23 NetEventPnPCapabilities,
24 NetEventMaximum
25 } NET_PNP_EVENT_CODE, *PNET_PNP_EVENT_CODE;
26
27 typedef struct _NET_PNP_EVENT
28 {
29 NET_PNP_EVENT_CODE NetEvent;
30 PVOID Buffer;
31 ULONG BufferLength;
32 ULONG_PTR NdisReserved[4];
33 ULONG_PTR TransportReserved[4];
34 ULONG_PTR TdiReserved[4];
35 ULONG_PTR TdiClientReserved[4];
36 } NET_PNP_EVENT, *PNET_PNP_EVENT;
37
38 typedef enum _NDIS_DEVICE_PNP_EVENT
39 {
40 NdisDevicePnPEventSurpriseRemoved,
41 NdisDevicePnPEventPowerProfileChanged,
42 NdisDevicePnPEventMaximum
43 } NDIS_DEVICE_PNP_EVENT, *PNDIS_DEVICE_PNP_EVENT;
44
45 #endif
46