NdisCancelDirectOidRequest function (ndis.h)

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

Syntax

void NdisCancelDirectOidRequest(
  [in] NDIS_HANDLE NdisBindingHandle,
  [in] PVOID       RequestId
);

Parameters

[in] NdisBindingHandle

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

[in] 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

Requirement Value
Minimum supported client 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