Previous Next

NdisMCoRequestComplete

NdisMCoRequestComplete returns the final status of an OID_GEN_CO_XXX or connection-oriented medium-specific OID_XXX request for which the MiniportCoRequest function previously returned NDIS_STATUS_PENDING.

VOID 
  NdisMCoRequestComplete(
    IN NDIS_STATUS  Status,
    IN NDIS_HANDLE  MiniportAdapterHandle,
    IN PNDIS_REQUEST  Request
    );

Parameters

Status
Specifies the final status of the requested operation, either NDIS_STATUS_SUCCESS or any driver-determined NDIS_STATUS_XXX except NDIS_STATUS_PENDING.
MiniportAdapterHandle
Specifies the NDIS-supplied handle originally input to MiniportInitialize.
Request
Pointer to a buffer formatted as an NDIS_REQUEST structure. The miniport driver obtained this pointer as an input parameter to its MiniportCoRequest function.

Headers

Declared in Ndis.h. Include Ndis.h.

Comments

A NIC driver that returns NDIS_STATUS_PENDING from its MiniportCoRequest function must call NdisMCoRequestComplete subsequently when the miniport driver has finished the requested operation.

A call to NdisMCoRequestComplete causes a call to the ProtocolCoRequestComplete function of the protocol that originally called NdisCoRequest with the given NdisRequest pointer.

An MCM driver that returns NDIS_STATUS_PENDING from its ProtocolCoRequest function must call NdisMCmRequestComplete, subsequently, rather than NdisMRequestComplete or NdisMCoRequestComplete.

Callers of NdisMCoRequestComplete can be running at IRQL <= DISPATCH_LEVEL.

See Also

MiniportCoRequest, MiniportQueryInformation, MiniportSetInformation, NdisCoRequest, NdisCoRequestComplete, NdisMCmRequestComplete, NdisRequest, NDIS_REQUEST, ProtocolCoRequest, ProtocolCoRequestComplete