Share via


NDIS_FILTER_PAUSE_PARAMETERS (Compact 7)

3/12/2014

This structure defines the pause parameters for the filter module.

Syntax

typedef struct _NDIS_FILTER_PAUSE_PARAMETERS {
  NDIS_OBJECT_HEADER  Header;
  ULONG  Flags;
  ULONG  PauseReason;
} NDIS_FILTER_PAUSE_PARAMETERS, *PNDIS_FILTER_PAUSE_PARAMETERS;

Members

  • Header
    The NDIS_OBJECT_HEADER structure for the NDIS_FILTER_PAUSE_PARAMETERS structure. NDIS sets the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_FILTER_PAUSE_PARAMETERS, the Revision member to NDIS_FILTER_PAUSE_PARAMETERS_REVISION_1, and the Size member to NDIS_SIZEOF_FILTER_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 filter module pause parameters, NDIS passes a pointer to an NDIS_FILTER_PAUSE_PARAMETERS structure to the FilterPause function.

Requirements

Header

ndis.h

See Also

Reference

NDIS Filter Driver Structures
FilterPause
NDIS_OBJECT_HEADER