NdisMQueryInformationComplete

VOID
NdisMQueryInformationComplete(
IN
NDIS_HANDLE MiniportAdapterHandle,
IN NDIS_STATUS Status
);

NdisMQueryInformationComplete indicates that a prior call to MiniportQueryInformation, which returned NDIS_STATUS_PENDING, has completed.

Parameters

MiniportAdapterHandle

Specifies the handle originally input to MiniportInitialize.

Status

Specifies the return value for the completed request originally passed to MiniportQueryInformation.

Comments

A call to NdisMQueryInformationComplete causes NDIS to return the completed query request to the ProtocolRequestComplete function of the driver that originally called NdisRequest.

Before it calls NdisMQueryInformationComplete, a miniport should supply the OID-specific information originally requested from its MiniportQueryInformation function. That is, the driver should set the appropriate values at BytesWritten and/or BytesNeeded and provide as much as possible of the requested data in the buffer at InformationBuffer.

For more information about system-defined OIDs, see Chapter 5.

Callers of NdisMQueryInformationComplete run at IRQL DISPATCH_LEVEL.

See Also

MiniportInitialize, MiniportQueryInformation, NDIS_REQUEST, NdisRequest, ProtocolRequestComplete