NDIS_REQUEST_TYPE enumeration

The NDIS_REQUEST_TYPE 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;

Constants

NdisRequestQueryInformation

A query-information request. For certain requests, NDIS satisfies the request. Otherwise, NDIS forwards such requests to the underlying driver's MiniportOidRequest function. This type of request can originate in a user-mode application, filter module, or protocol driver.

Note  Drivers should treat NdisRequestQueryInformation and NdisRequestQueryStatistics queries identically.

NdisRequestSetInformation

A set-information request. NDIS forwards such a request to the underlying driver's MiniportOidRequest function.

NdisRequestQueryStatistics

A query-statistics request. For certain requests, NDIS satisfies the request. Otherwise, NDIS forwards such requests to the underlying driver's MiniportOidRequest function. This type of request can originate in a user-mode application, filter module, or protocol driver.

Note  Drivers should treat NdisRequestQueryInformation and NdisRequestQueryStatistics queries identically.

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

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

See also

MiniportOidRequest
NDIS_OID_REQUEST

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft