NdisCancelDirectOidRequest function

Protocol drivers call the NdisCancelDirectOidRequest function to cancel a previous direct OID request to the underlying drivers.

Syntax

void NdisCancelDirectOidRequest(
  NDIS_HANDLE NdisBindingHandle,
  PVOID       RequestId
);

Parameters

NdisBindingHandle

The handle that the NdisOpenAdapterEx function returned that identifies the target miniport adapter on the binding.

RequestId

A cancellation identifier for the request. This identifier specifies the NDIS_OID_REQUEST structures that are being canceled.

Return Value

None

Remarks

Protocol drivers call the NdisCancelDirectOidRequest function to cancel a previously issued direct OID request. The request ID that is passed at the RequestId parameter must match the request ID in the NDIS_OID_REQUEST structure that was passed in the call to the NdisDirectOidRequest function.

Requirements

   
Windows version Supported in NDIS 6.1 and later.
Target Platform Desktop
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL "<= DISPATCH_LEVEL"

See Also

NDIS_OID_REQUEST

NdisDirectOidRequest

NdisOpenAdapterEx