source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ddk/netpnp.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.1 KB
Line 
1#pragma once
2
3#define __NET_PNP__
4
5typedef enum _NET_DEVICE_POWER_STATE {
6 NetDeviceStateUnspecified = 0,
7 NetDeviceStateD0,
8 NetDeviceStateD1,
9 NetDeviceStateD2,
10 NetDeviceStateD3,
11 NetDeviceStateMaximum
12} NET_DEVICE_POWER_STATE, *PNET_DEVICE_POWER_STATE;
13
14typedef enum _NET_PNP_EVENT_CODE {
15 NetEventSetPower,
16 NetEventQueryPower,
17 NetEventQueryRemoveDevice,
18 NetEventCancelRemoveDevice,
19 NetEventReconfigure,
20 NetEventBindList,
21 NetEventBindsComplete,
22 NetEventPnPCapabilities,
23 NetEventPause,
24 NetEventRestart,
25 NetEventPortActivation,
26 NetEventPortDeactivation,
27 NetEventIMReEnableDevice,
28 NetEventMaximum
29} NET_PNP_EVENT_CODE, *PNET_PNP_EVENT_CODE;
30
31typedef struct _NET_PNP_EVENT {
32 NET_PNP_EVENT_CODE NetEvent;
33 PVOID Buffer;
34 ULONG BufferLength;
35 ULONG_PTR NdisReserved[4];
36 ULONG_PTR TransportReserved[4];
37 ULONG_PTR TdiReserved[4];
38 ULONG_PTR TdiClientReserved[4];
39} NET_PNP_EVENT, *PNET_PNP_EVENT;
40
41/* FIXME : This belongs to ndis.h */
42typedef enum _NDIS_DEVICE_PNP_EVENT {
43 NdisDevicePnPEventSurpriseRemoved,
44 NdisDevicePnPEventPowerProfileChanged,
45 NdisDevicePnPEventMaximum
46} NDIS_DEVICE_PNP_EVENT, *PNDIS_DEVICE_PNP_EVENT;
Note: See TracBrowser for help on using the repository browser.