IAdapterPowerManagement

The IAdapterPowerManagement interface is used to manage the power state of an audio adapter. This interface is implemented by the adapter driver, which exposes the interface to the PortCls system driver. IAdapterPowerManagement inherits from the IUnknown interface.

In Windows 98/Me and Windows 2000 and later, the operating system manages power in a WDM audio adapter primarily through the IAdapterPowerManagement interface that the adapter driver registers with PortCls during the device-startup phase of device initialization (see Starting a Device). The adapter driver registers its IAdapterPowerManagement interface by calling the PortCls function PcRegisterAdapterPowerManagement. This function receives an IUnknown object from the adapter driver and determines whether the object supports the IAdapterPowerManagement interface by calling QueryInterface on this object with REFIID IID_IAdapterPowerManagement.

For more information, see Implementing IAdapterPowerManagement.

In addition to the methods that IAdapterPowerManagement inherits from the IUnknown interface, IAdapterPowerManagement supports the following methods:

IAdapterPowerManagement::PowerChangeState

IAdapterPowerManagement::QueryDeviceCapabilities

IAdapterPowerManagement::QueryPowerChangeState

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft