Partager via


NDIS_REQUEST_TYPE (Compact 2013)

3/26/2014

This enumeration identifies the request type in an OID request.

Syntax

typedef enum _NDIS_REQUEST_TYPE {
  NdisRequestQueryInformation,
  NdisRequestSetInformation,
  NdisRequestQueryStatistics,
  NdisRequestOpen,
  NdisRequestClose,
  NdisRequestSend,
  NdisRequestTransferData,
  NdisRequestReset,
  NdisRequestGeneric1,
  NdisRequestGeneric2,
  NdisRequestGeneric3,
  NdisRequestGeneric4,
  NdisRequestMethod,
} NDIS_REQUEST_TYPE, *PNDIS_REQUEST_TYPE;

Values

  • NdisRequestQueryInformation
    A query-information request. NDIS forwards such a request to the underlying driver's MiniportOidRequest function.
  • NdisRequestSetInformation
    A set-information request. NDIS forwards such a request to the underlying driver's MiniportOidRequest function.
  • NdisRequestQueryStatistics
    A query-statistics request. For most statistics queries, NDIS satisfies the request. Otherwise, NDIS forwards such requests to the underlying driver's MiniportOidRequest function. This type of request originates in a user-mode application, never in a protocol driver.
  • NdisRequestOpen
    This type is obsolete.
  • NdisRequestClose
    This type is obsolete.
  • NdisRequestSend
    This type is obsolete.
  • NdisRequestTransferData
    This type is obsolete.
  • NdisRequestReset
    This type is obsolete.
  • NdisRequestGeneric1
    A request that is specific to the type of the miniport driver.
  • NdisRequestGeneric2
    A request that is specific to the type of the miniport driver.
  • NdisRequestGeneric3
    A request that is specific to the type of the miniport driver.
  • NdisRequestGeneric4
    A request that is specific to the type of the miniport driver.
  • NdisRequestMethod
    A method request. NDIS forwards such a request to the underlying driver's MiniportOidRequest function.

Remarks

The NDIS_REQUEST_TYPE enumeration is used in the NDIS_OID_REQUEST structure.

Note   For any NDIS_REQUEST_TYPE value, the OID_Xxx that is specified in the Oid member of the NDIS_OID_REQUEST structure must be compatible with the type of operation requested.

Requirements

Header

ndis.h

See Also

Reference

NDIS OID Request Enumerations
MiniportOidRequest
NDIS_OID_REQUEST