共用方式為


NdisFOidRequestComplete (Compact 2013)

3/26/2014

Filter drivers call this function to return the final status of an OID request for which the driver's FilterOidRequest function returned NDIS_STATUS_PENDING.

Syntax

VOID
  NdisFOidRequestComplete(
    IN NDIS_HANDLE  NdisFilterHandle,
    IN PNDIS_OID_REQUEST  OidRequest,
    IN NDIS_STATUS  Status
    );

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.
  • OidRequest
    A pointer to a buffer formatted as an NDIS_OID_REQUEST structure. The filter driver obtained this pointer as an input parameter to its FilterOidRequest function.
  • Status
    The final status of the request operation, either 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 FilterOidRequest function must call the NdisFOidRequestComplete function after the driver has finished the request operation.

If an overlying driver originated the OID request, NDIS calls the request complete function of the overlying driver after the filter driver calls NdisFOidRequestComplete.

Requirements

Header

ndis.h

See Also

Reference

NDIS OID Request Interface for Filter Drivers
FilterAttach
FilterOidRequest
NDIS_OID_REQUEST