NDIS_PROTOCOL_PAUSE_PARAMETERS (Compact 2013)
3/26/2014
NDIS passes an NDIS_PROTOCOL_PAUSE_PARAMETERS structure to a protocol driver when it calls the ProtocolNetPnPEvent function to indicate a NetEventPause event.
Syntax
typedef struct _NDIS_PROTOCOL_PAUSE_PARAMETERS {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
ULONG PauseReason;
} NDIS_PROTOCOL_PAUSE_PARAMETERS, *PNDIS_PROTOCOL_PAUSE_PARAMETERS;
Members
- Header
The NDIS_OBJECT_HEADER structure for the NDIS_PROTOCOL_PAUSE_PARAMETERS structure. NDIS sets the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_PROTOCOL_PAUSE_PARAMETERS_REVISION_1, and the Size member to NDIS_SIZEOF_PROTOCOL_PAUSE_PARAMETERS_REVISION_1.
- Flags
Reserved.
PauseReason
The reason for pausing the stack, as one of the following values:- NDIS_PAUSE_NDIS_INTERNAL
NDIS is pausing the stack because of an internal event.
- NDIS_PAUSE_LOW_POWER
NDIS is pausing the stack because a network adapter is going to a low-power state.
- NDIS_PAUSE_BIND_PROTOCOL
NDIS is pausing the stack to bind a protocol driver.
- NDIS_PAUSE_UNBIND_PROTOCOL
NDIS is pausing the stack to unbind a protocol driver.
- NDIS_PAUSE_ATTACH_FILTER
NDIS is pausing the stack to attach a filter module.
- NDIS_PAUSE_FILTER_RESTART_STACK
NDIS is pausing the stack because a filter driver is restarting the stack.
- NDIS_PAUSE_MINIPORT_DEVICE_REMOVE
NDIS is pausing the stack because a miniport driver is removing a device.
- NDIS_PAUSE_NDIS_INTERNAL
Remarks
To specify the pause parameters for a binding, NDIS passes a pointer to an NDIS_PROTOCOL_PAUSE_PARAMETERS structure to the ProtocolNetPnPEvent function when NDIS indicates a NetEventPause event.
Requirements
Header |
ndis.h |
See Also
Reference
NDIS Protocol Driver Structures
NDIS_OBJECT_HEADER
ProtocolNetPnPEvent