NdisCancelOidRequest function (ndis.h)

Protocol drivers call the NdisCancelOidRequest function to cancel a previous request to the underlying drivers.

Syntax

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

Parameters

[in] NdisBindingHandle

The handle returned by the NdisOpenAdapterEx function that identifies the target 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 this function to cancel a previously issued 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 NdisOidRequest function.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Desktop
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_OID_Function(ndis)

See also

NDIS_OID_REQUEST

NdisOidRequest

NdisOpenAdapterEx