Bewerken

Delen via


NdisFDirectOidRequestComplete function (ndis.h)

Filter drivers call the NdisFDirectOidRequestComplete function to return the final status of a direct OID request for which the driver's FilterDirectOidRequest function returned NDIS_STATUS_PENDING.

Syntax

void NdisFDirectOidRequestComplete(
  [in] NDIS_HANDLE       NdisFilterHandle,
  [in] PNDIS_OID_REQUEST OidRequest,
  [in] NDIS_STATUS       Status
);

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] OidRequest

A pointer to a buffer that is formatted as an NDIS_OID_REQUEST structure. The filter driver obtained this pointer as an input parameter to its FilterDirectOidRequest function.

[in] Status

The final status of the request operation: NDIS_STATUS_SUCCESS or any driver-determined NDIS_STATUS_Xxx value except NDIS_STATUS_PENDING.

Return value

None

Remarks

A filter driver that returns NDIS_STATUS_PENDING from its FilterDirectOidRequest function must call the NdisFDirectOidRequestComplete function after the driver has finished the request operation.

If an overlying driver originated the direct OID request, NDIS calls the request complete function (see ProtocolDirectOidRequestComplete and FilterDirectOidRequestComplete) of the overlying driver that originated the request.

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

FilterDirectOidRequest

FilterDirectOidRequestComplete

NDIS_OID_REQUEST

ProtocolDirectOidRequestComplete