Skip to content

Latest commit

 

History

History
52 lines (46 loc) · 2.45 KB

nn-portcls-iadapterpowermanagement.md

File metadata and controls

52 lines (46 loc) · 2.45 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NN:portcls.IAdapterPowerManagement
IAdapterPowerManagement (portcls.h)
The IAdapterPowerManagement interface is used to manage the power state of an audio adapter.
audio\iadapterpowermanagement.htm
audio
05/08/2018
IAdapterPowerManagement interface
IAdapterPowerManagement, IAdapterPowerManagement interface [Audio Devices], IAdapterPowerManagement interface [Audio Devices],described, audio.iadapterpowermanagement, audmp-routines_9daec120-c61d-426c-b30f-80484e1fb652.xml, portcls/IAdapterPowerManagement
portcls.h
Windows
Windows
IAdapterPowerManagement
portcls/IAdapterPowerManagement
APIRef
kbSyntax
COM
portcls.h
IAdapterPowerManagement

IAdapterPowerManagement interface

-description

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.

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.