Go to the documentation of this file.00001 #pragma once
00002
00003 #define __NET_PNP__
00004
00005 typedef enum _NET_DEVICE_POWER_STATE {
00006 NetDeviceStateUnspecified = 0,
00007 NetDeviceStateD0,
00008 NetDeviceStateD1,
00009 NetDeviceStateD2,
00010 NetDeviceStateD3,
00011 NetDeviceStateMaximum
00012 } NET_DEVICE_POWER_STATE, *PNET_DEVICE_POWER_STATE;
00013
00014 typedef enum _NET_PNP_EVENT_CODE {
00015 NetEventSetPower,
00016 NetEventQueryPower,
00017 NetEventQueryRemoveDevice,
00018 NetEventCancelRemoveDevice,
00019 NetEventReconfigure,
00020 NetEventBindList,
00021 NetEventBindsComplete,
00022 NetEventPnPCapabilities,
00023 NetEventPause,
00024 NetEventRestart,
00025 NetEventPortActivation,
00026 NetEventPortDeactivation,
00027 NetEventIMReEnableDevice,
00028 NetEventMaximum
00029 } NET_PNP_EVENT_CODE, *PNET_PNP_EVENT_CODE;
00030
00031 typedef struct _NET_PNP_EVENT {
00032 NET_PNP_EVENT_CODE NetEvent;
00033 PVOID Buffer;
00034 ULONG BufferLength;
00035 ULONG_PTR NdisReserved[4];
00036 ULONG_PTR TransportReserved[4];
00037 ULONG_PTR TdiReserved[4];
00038 ULONG_PTR TdiClientReserved[4];
00039 } NET_PNP_EVENT, *PNET_PNP_EVENT;
00040
00041
00042 typedef enum _NDIS_DEVICE_PNP_EVENT {
00043 NdisDevicePnPEventSurpriseRemoved,
00044 NdisDevicePnPEventPowerProfileChanged,
00045 NdisDevicePnPEventMaximum
00046 } NDIS_DEVICE_PNP_EVENT, *PNDIS_DEVICE_PNP_EVENT;