NdisFCancelDirectOidRequest function (ndis.h)

Filter drivers call the NdisFCancelDirectOidRequest function to cancel a previous direct OID request to the underlying drivers.

Syntax

void NdisFCancelDirectOidRequest(
  [in] NDIS_HANDLE NdisFilterHandle,
  [in] PVOID       RequestId
);

Parameters

[in] NdisFilterHandle

The NDIS handle that identifies this filter module. NDIS passed the handle to the filter driver in a call to the FilterAttach function.

[in] RequestId

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

Return value

None

Remarks

Filter drivers call NdisFCancelDirectOidRequest to cancel a previously issued direct OID request. The request can be originated by the filter driver or by overlying drivers. The pointer that is passed at the OidRequest parameter must be the same pointer that was passed in the call to the NdisFDirectOidRequest function.

The filter driver can call NdisFCancelDirectOidRequest from the FilterCancelDirectOidRequest function to pass on the cancellation to underlying drivers.

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

FilterAttach

FilterCancelDirectOidRequest

NDIS_OID_REQUEST

NdisFDirectOidRequest