NdisFCancelOidRequest function (ndis.h)

Filter drivers call the NdisFCancelOidRequest function to cancel a previous request to the underlying drivers.

Syntax

void NdisFCancelOidRequest(
  [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 NdisFCancelOidRequest to cancel a previously issued request. The request can be originated by the filter driver or by overlying drivers. The pointer passed at OidRequest must be the same pointer that was passed in the call to the NdisFOidRequest function.

The filter driver can call NdisFCancelOidRequest from the FilterCancelOidRequest function to pass on the cancellation to underlying drivers.

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

FilterAttach

FilterCancelOidRequest

NDIS_OID_REQUEST

NdisFOidRequest