NdisFCancelDirectOidRequest function

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

Syntax

void NdisFCancelDirectOidRequest(
  NDIS_HANDLE NdisFilterHandle,
  PVOID       RequestId
);

Parameters

NdisFilterHandle

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

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

   
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