As a query, overlying drivers can use the OID_PM_HARDWARE_CAPABILITIES OID to query the power management hardware capabilities of a network adapter. After a successful return from the OID query request, the InformationBuffer member of the NDIS_OID_REQUEST structure contains a pointer to an NDIS_PM_CAPABILITIES structure.
NDIS handles the query for miniport drivers. Starting with NDIS 6.20, miniport drivers supply the power management hardware capabilities during initialization in the PowerManagementCapabilitiesEx member of the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES structure.
The miniport driver must issue an NDIS_STATUS_PM_CAPABILITIES_CHANGE status indication to report changes in the power management hardware capabilities of a network adapter to NDIS and overlying drivers.
NDIS returns one of the following status codes for the request:
The request completed successfully. The InformationBuffer points to an NDIS_PM_CAPABILITIES structure.
Supported in NDIS 6.20 and later. Not requested for miniport drivers. (See Remarks section.)
|Ntddndis.h (include Ndis.h)|