NdisMOidRequestComplete function

Miniport drivers call the NdisMOidRequestComplete function to return the final status of an OID request for which the driver's MiniportOidRequest function returned NDIS_STATUS_PENDING.

Syntax

void NdisMOidRequestComplete(
  NDIS_HANDLE       MiniportAdapterHandle,
  PNDIS_OID_REQUEST OidRequest,
  NDIS_STATUS       Status
);

Parameters

MiniportAdapterHandle

A miniport adapter handle that NDIS passed to the MiniportAdapterHandle parameter of the MiniportInitializeEx function.

OidRequest

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

Status

The final status of the request operation, either NDIS_STATUS_SUCCESS, NDIS_STATUS_REQUEST_ABORTED, or any driver-determined NDIS_STATUS_XXXexcept NDIS_STATUS_PENDING. For more information about OID status values, see MiniportOidRequest.

Return Value

None

Remarks

A miniport driver that returns NDIS_STATUS_PENDING from its MiniportOidRequest function must call NdisMOidRequestComplete after the miniport driver has finished the request operation.

A call to NdisMOidRequestComplete causes a call to the request complete function (see ProtocolRequestComplete, ProtocolOidRequestComplete,

<a href="https://msdn.microsoft.com/2dba21d8-512b-4a1a-9cf9-0240c94a69a0">FilterOidRequestComplete</a>) of
the overlying driver that called the 
<a href="https://msdn.microsoft.com/library/windows/hardware/ff563710">NdisOidRequest</a> function.

Requirements

   
Windows version Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL "<= DISPATCH_LEVEL"
DDI compliance rules DoubleComplete, DoubleCompleteWorkItem, Irql_OID_Function, NdisMNetPnPEventInOIDRequest, NdisOidComplete, NdisOidDoubleComplete, NdisOidDoubleRequest, NdisTimedOidComplete, WlanAssociation, WlanDisassociation, WlanTimedConnectRequest, WlanTimedLinkQuality, WlanTimedScan

See Also

FilterOidRequestComplete

MiniportInitializeEx

MiniportOidRequest

NDIS_OID_REQUEST

NdisOidRequest

ProtocolOidRequestComplete

ProtocolRequestComplete