// ndis.h
void NdisMCmOidRequestComplete(
_AH_,
_VH_,
_PH_,
_R_,
_S_
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisMCmOidRequestComplete function returns the final status of a CoNDIS OID request that a miniport call manager (MCM) driver's ProtocolCoOidRequest function previously returned NDIS_STATUS_PENDING for.
_AH_An address family (AF) handle that NDIS passed to the MCM's ProtocolCoOidRequest function.
_VH_A virtual connection (VC) handle that NDIS passed to the MCM's ProtocolCoOidRequest function. A NULL value for this parameter indicates that the request is not VC-specific. This parameter is NULL if the caller of the NdisCoOidRequest function specified a NULL VC handle.
_PH_A party handle that NDIS passed to the MCM's ProtocolCoOidRequest function. A NULL value for this parameter indicates that the request is not party-specific. This parameter is NULL if the caller of the NdisCoOidRequest function specified a NULL party handle.
_R_A pointer to an NDIS_OID_REQUEST structure that the caller of the NdisCoOidRequest function supplied.
_S_The final status of the request operation. This parameter can be NDIS_STATUS_SUCCESS, NDIS_STATUS_REQUEST_ABORTED, or any driver-determined NDIS_STATUS_XXX status value except NDIS_STATUS_PENDING.
A CoNDIS MCM that returns NDIS_STATUS_PENDING from its ProtocolCoOidRequest function must call the NdisMCmOidRequestComplete function after the MCM has finished the OID request operation.
After the MCM calls NdisMCmOidRequestComplete, NDIS calls the ProtocolCoOidRequestComplete function of the CoNDIS client that originally called the NdisCoOidRequest function.
For more information about the OIDs defined to use with CONDIS drivers, see NDIS OIDs.