Поделиться через


NDIS_MINIPORT_PAUSE_PARAMETERS (Compact 2013)

3/26/2014

This structure defines pause parameters for miniport adapters.

Syntax

typedef struct _NDIS_MINIPORT_PAUSE_PARAMETERS {
  NDIS_OBJECT_HEADER  Header;
  ULONG  Flags;
  ULONG  PauseReason;
} NDIS_MINIPORT_PAUSE_PARAMETERS, *PNDIS_MINIPORT_PAUSE_PARAMETERS;

Members

  • Header
    The NDIS_OBJECT_HEADER structure for the NDIS_MINIPORT_PAUSE_PARAMETERS structure. NDIS sets the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_MINIPORT_PAUSE_PARAMETERS_REVISION_1, and the Size member to NDIS_SIZEOF_MINIPORT_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.

Remarks

To define miniport adapter pause parameters, NDIS passes a pointer to an NDIS_MINIPORT_PAUSE_PARAMETERS structure to the MiniportPause function.

Requirements

Header

ndis.h

See Also

Reference

Miniport Driver Structures
MiniportPause
NDIS_OBJECT_HEADER