NdisFOidRequestComplete function

Filter drivers call the NdisFOidRequestComplete 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 [in]

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

OidRequest [in]

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 [in]

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

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

Irql_OID_Function

See also

FilterAttach
FilterOidRequest
NDIS_OID_REQUEST

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft