Partager via


NDIS_OPER_STATE (Compact 7)

3/12/2014

This structure provides the current operational state of an NDIS network interface.

Syntax

typedef struct _NDIS_OPER_STATE {
  NDIS_OBJECT_HEADER  Header;
  NET_IF_OPER_STATUS  OperationalStatus;
  ULONG  OperationalStatusFlags;
} NDIS_OPER_STATE, *PNDIS_OPER_STATE;

Members

  • Header
    The NDIS_OBJECT_HEADER structure for the NDIS_OPER_STATE structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_OPER_STATE_REVISION_1, and the Size member to NDIS_SIZEOF_OPER_STATE_REVISION_1.
  • OperationalStatusFlags
    This member provides the reason why the OperationalStatus member is set to NET_IF_OPER_STATUS_DOWN or NET_IF_OPER_STATUS_DORMANT. This member can have one of the following values:

    • NET_IF_OPER_STATUS_DOWN_NOT_AUTHENTICATED
      The operational staus is set to NET_IF_OPER_STATUS_DOWN because the default port of the miniport adapter is not authenticated.
    • NET_IF_OPER_STATUS_DOWN_NOT_MEDIA_CONNECTED
      The operational staus is set to NET_IF_OPER_STATUS_DOWN because the miniport adapter is not in a media-connected state.
    • NET_IF_OPER_STATUS_DORMANT_PAUSED
      The operational staus is set to NET_IF_OPER_STATUS_DORMANT because the miniport adapter is in the paused or pausing state.
    • NET_IF_OPER_STATUS_DORMANT_LOW_POWER
      The operational staus is set to NET_IF_OPER_STATUS_DOWN because the miniport adapter is in a low power state.

Remarks

For the NDIS_STATUS_OPER_STATUS status indication, NDIS supplies an NDIS_OPER_STATE structure in the StatusBuffer member of the NDIS_STATUS_INDICATION structure.

NDIS_STATUS_OPER_STATUS indicates the current operational state of an NDIS network interface to overlying drivers.

Requirements

Header

ntddndis.h

See Also

Reference

NDIS Status Indication Structures
NDIS_OBJECT_HEADER
NDIS_STATUS_INDICATION
NDIS_STATUS_OPER_STATUS
NET_IF_OPER_STATUS