mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[DDK][PSDK] Add some missing NDIS definitions/types. Caught by Benjamin Aerni.
This commit is contained in:
parent
1dcf8376f0
commit
6a67dfd191
3 changed files with 32 additions and 8 deletions
|
@ -986,7 +986,6 @@ typedef NTSTATUS
|
|||
typedef struct _OID_LIST OID_LIST, *POID_LIST;
|
||||
|
||||
/* PnP state */
|
||||
|
||||
typedef enum _NDIS_PNP_DEVICE_STATE {
|
||||
NdisPnPDeviceAdded,
|
||||
NdisPnPDeviceStarted,
|
||||
|
@ -997,6 +996,25 @@ typedef enum _NDIS_PNP_DEVICE_STATE {
|
|||
NdisPnPDeviceSurpriseRemoved
|
||||
} NDIS_PNP_DEVICE_STATE;
|
||||
|
||||
typedef enum _NDIS_DEVICE_PNP_EVENT {
|
||||
NdisDevicePnPEventQueryRemoved,
|
||||
NdisDevicePnPEventRemoved,
|
||||
NdisDevicePnPEventSurpriseRemoved,
|
||||
NdisDevicePnPEventQueryStopped,
|
||||
NdisDevicePnPEventStopped,
|
||||
NdisDevicePnPEventPowerProfileChanged,
|
||||
#if NDIS_SUPPORT_NDIS6
|
||||
NdisDevicePnPEventFilterListChanged,
|
||||
#endif /* NDIS_SUPPORT_NDIS6 */
|
||||
NdisDevicePnPEventMaximum
|
||||
} NDIS_DEVICE_PNP_EVENT, *PNDIS_DEVICE_PNP_EVENT;
|
||||
|
||||
/* Power profiles */
|
||||
typedef enum _NDIS_POWER_PROFILE {
|
||||
NdisPowerProfileBattery,
|
||||
NdisPowerProfileAcOnLine
|
||||
} NDIS_POWER_PROFILE, *PNDIS_POWER_PROFILE;
|
||||
|
||||
#define NDIS_DEVICE_NOT_STOPPABLE 0x00000001
|
||||
#define NDIS_DEVICE_NOT_REMOVEABLE 0x00000002
|
||||
#define NDIS_DEVICE_NOT_SUSPENDABLE 0x00000004
|
||||
|
|
|
@ -37,10 +37,3 @@ typedef struct _NET_PNP_EVENT {
|
|||
ULONG_PTR TdiReserved[4];
|
||||
ULONG_PTR TdiClientReserved[4];
|
||||
} NET_PNP_EVENT, *PNET_PNP_EVENT;
|
||||
|
||||
/* FIXME : This belongs to ndis.h */
|
||||
typedef enum _NDIS_DEVICE_PNP_EVENT {
|
||||
NdisDevicePnPEventSurpriseRemoved,
|
||||
NdisDevicePnPEventPowerProfileChanged,
|
||||
NdisDevicePnPEventMaximum
|
||||
} NDIS_DEVICE_PNP_EVENT, *PNDIS_DEVICE_PNP_EVENT;
|
||||
|
|
|
@ -318,6 +318,19 @@ typedef ULONG NDIS_OID, *PNDIS_OID;
|
|||
#define OID_802_11_WEP_STATUS 0x0D01011B
|
||||
#define OID_802_11_RELOAD_DEFAULTS 0x0D01011C
|
||||
|
||||
/* PnP and Power Management (PM) OIDs */
|
||||
#define OID_PNP_CAPABILITIES 0xFD010100
|
||||
#define OID_PNP_SET_POWER 0xFD010101
|
||||
#define OID_PNP_QUERY_POWER 0xFD010102
|
||||
#define OID_PNP_ADD_WAKE_UP_PATTERN 0xFD010103
|
||||
#define OID_PNP_REMOVE_WAKE_UP_PATTERN 0xFD010104
|
||||
#define OID_PNP_WAKE_UP_PATTERN_LIST 0xFD010105
|
||||
#define OID_PNP_ENABLE_WAKE_UP 0xFD010106
|
||||
|
||||
/* Optional PnP/PM statistics OIDs */
|
||||
#define OID_PNP_WAKE_UP_OK 0xFD020200
|
||||
#define OID_PNP_WAKE_UP_ERROR 0xFD020201
|
||||
|
||||
/* OID_GEN_MINIPORT_INFO constants */
|
||||
#define NDIS_MINIPORT_BUS_MASTER 0x00000001
|
||||
#define NDIS_MINIPORT_WDM_DRIVER 0x00000002
|
||||
|
|
Loading…
Reference in a new issue