// ndis.h
VOID NdisMOidRequestComplete(
[in] NDIS_HANDLE MiniportAdapterHandle,
[in] PNDIS_OID_REQUEST OidRequest,
[in] NDIS_STATUS Status
);
View the official Windows Driver Kit DDI reference
No description available.
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.
MiniportAdapterHandle
[in]A miniport adapter handle that NDIS passed to the MiniportAdapterHandle parameter of the MiniportInitializeEx function.
OidRequest
[in]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
[in]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.
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, FilterOidRequestComplete) of the overlying driver that called the NdisOidRequest function.