Packet Sniffer SDK DLL Edition

Constants Enumerations :: NDIS_REQUEST_TYPE

 Previous Next

NDIS_REQUEST_TYPE contains the constants specifies the NDIS request type.

Syntax:

const NdisRequestQueryInformation = 0;
const NdisRequestSetInformation   = 1;
const NdisRequestQueryStatistics  = 2;
const NdisRequestOpen             = 3;
const NdisRequestClose            = 4;
const NdisRequestSend             = 5;
const NdisRequestTransferData     = 6;
const NdisRequestReset            = 7;
const NdisRequestGeneric1         = 8;
const NdisRequestGeneric2         = 9;
const NdisRequestGeneric3         = 10;
const NdisRequestGeneric4         = 11;
enum NDIS_REQUEST_TYPE 
{
   NdisRequestQueryInformation,
   NdisRequestSetInformation,
   NdisRequestQueryStatistics,
   NdisRequestOpen,
   NdisRequestClose,
   NdisRequestSend,
   NdisRequestTransferData,
   NdisRequestReset,
   NdisRequestGeneric1,
   NdisRequestGeneric2,
   NdisRequestGeneric3,
   NdisRequestGeneric4
};

Values:

NdisRequestQueryInformation

Specifies a query-information request. NDIS forwards such a request to the underlying driver's MiniportQueryInformation function.

NdisRequestSetInformation

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

NdisRequestQueryStatistics

Specifies a query-statistics request. For most statistics queries, NDIS satisfies the request itself. Otherwise, NDIS forwards such request to the underlying driver's MiniportQueryInformation function. This type of request originates in a user-mode application, never in a protocol driver.

For any of the preceding values, the OID_XXX specified in the Oid member must be compatible with the type of operation requested.

NdisRequestOpen

This type is obsolete. A protocol driver calls NdisOpenAdapter instead.

NdisRequestClose

This type is obsolete. A protocol driver calls NdisCloseAdapter instead.

NdisRequestSend

This type is obsolete. A protocol driver calls NdisSend or NdisSendPackets instead.

NdisRequestTransferData

This type is obsolete. A protocol driver calls NdisTransferData instead.

NdisRequestReset

This type is obsolete. A protocol driver calls NdisReset instead.

NdisRequestGeneric1

Specifies a NIC driver specific request.

NdisRequestGeneric2

Specifies a NIC driver specific request.

NdisRequestGeneric3

Specifies a NIC driver specific request.

NdisRequestGeneric4

Specifies a NIC driver specific request.

See also:AdpSyncRequest, AdpAsyncRequest, AdpSetOnAsyncRequest, HNFN_ASYNCREQUEST