Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisMQueryInformationComplete indicates that a prior call to MiniportQueryInformation, which returned NDIS_STATUS_PENDING, has completed.
VOID NdisMQueryInformationComplete( _In_ NDIS_HANDLE MiniportAdapterHandle, _In_ NDIS_STATUS Status );
- MiniportAdapterHandle [in]
Specifies the handle originally input to MiniportInitialize.
- Status [in]
Specifies the return value for the completed request originally passed to MiniportQueryInformation.
Before it calls NdisMQueryInformationComplete, a miniport driver 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 NDIS Object Identifiers.
A miniport driver must release any spin lock that it is holding before calling NdisMQueryInformationComplete.
|Not supported for NDIS 6.0 drivers in Windows Vista. Use NdisMOidRequestCompleteinstead. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.|