IAdapterPowerManagement2 interface

The IAdapterPowerManagement2 interface inherits from IUnknown and it is used to manage the power state of an audio adapter. In contrast with the IAdapterPowerManagement interface, IAdapterPowerManagement2 provides the adapter driver with messages about device and system power states. This enables the driver to make more efficient power management adjustments.

IAdapterPowerManagement2 is implemented by the audio adapter driver and the driver must register this interface with Portcls.sys (Portcls) so that it can receive power management messages. To register this interface, the driver must call PcRegisterAdapterPowerManagement. If you want to fill the caps structure for your device, your adapter driver can call PcRegisterAdapterPowerManagement from within the AddDevice function or before your driver calls AddDevice.


The IAdapterPowerManagement2 interface inherits from the IUnknown interface.


The IAdapterPowerManagement2 interface has these methods.

Method Description
IAdapterPowerManagement2::PowerChangeState2 Portcls calls the IAdapterPowerManagement2::PowerChangeState2 method to request a change to the new power state. This request is passed on to the adapter driver.


Target Platform Windows
Header portcls.h