// oidtypes.h
typedef enum _NDIS_REQUEST_TYPE {
NdisRequestQueryInformation,
NdisRequestSetInformation,
NdisRequestQueryStatistics,
NdisRequestOpen,
NdisRequestClose,
NdisRequestSend,
NdisRequestTransferData,
NdisRequestReset,
NdisRequestGeneric1,
NdisRequestGeneric2,
NdisRequestGeneric3,
NdisRequestGeneric4,
NdisRequestMethod
} NDIS_REQUEST_TYPE, *PNDIS_REQUEST_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_REQUEST_TYPE enumeration identifies the request type in an OID request.
NdisRequestQueryInformationA 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.
NdisRequestSetInformationA set-information request. NDIS forwards such a request to the underlying driver's MiniportOidRequest function.
NdisRequestQueryStatisticsA 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.
NdisRequestOpenThis type is obsolete.
NdisRequestCloseThis type is obsolete.
NdisRequestSendThis type is obsolete.
NdisRequestTransferDataThis type is obsolete.
NdisRequestResetThis type is obsolete.
NdisRequestGeneric1A request that is specific to the type of the miniport driver.
NdisRequestGeneric2A request that is specific to the type of the miniport driver.
NdisRequestGeneric3A request that is specific to the type of the miniport driver.
NdisRequestGeneric4A request that is specific to the type of the miniport driver.
NdisRequestMethodA method request. NDIS forwards such a request to the underlying driver's MiniportOidRequest function.
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.