Skip to content

Latest commit

 

History

History
85 lines (58 loc) · 3.23 KB

nf-portcls-iportclspower-registeradapterpowermanagement.md

File metadata and controls

85 lines (58 loc) · 3.23 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
NF:portcls.IPortClsPower.RegisterAdapterPowerManagement
IPortClsPower::RegisterAdapterPowerManagement (portcls.h)
The RegisterAdapterPowerManagement method registers the power management interface of the adapter with PortCls.
audio\iportclspower_registeradapterpowermanagement.htm
audio
05/08/2018
IPortClsPower::RegisterAdapterPowerManagement
IPortClsPower interface [Audio Devices],RegisterAdapterPowerManagement method, IPortClsPower.RegisterAdapterPowerManagement, IPortClsPower::RegisterAdapterPowerManagement, RegisterAdapterPowerManagement, RegisterAdapterPowerManagement method [Audio Devices], RegisterAdapterPowerManagement method [Audio Devices],IPortClsPower interface, audio.iportclspower_registeradapterpowermanagement, audmp-routines_9c179fd9-d332-478d-a114-469dc1c746fc.xml, portcls/IPortClsPower::RegisterAdapterPowerManagement
portcls.h
Portcls.h
Universal
Available in Windows 7 and later versions of Windows.
PASSIVE_LEVEL.
Windows
IPortClsPower::RegisterAdapterPowerManagement
portcls/IPortClsPower::RegisterAdapterPowerManagement
APIRef
kbSyntax
COM
portcls.h
IPortClsPower::RegisterAdapterPowerManagement

IPortClsPower::RegisterAdapterPowerManagement

-description

The RegisterAdapterPowerManagement method registers the power management interface of the adapter with PortCls.

-parameters

-param _pUnknown [in]

Specifies a pointer to IUnknown. . PortCls queries this IUnknown object for the IAdapterPowerManagement or the IAdapterPowerManagement2 interface of the adapter.

-param _DeviceObject [in]

Specifies a pointer to a DEVICE_OBJECT structure that represents the functional device object of the adapter.

-returns

The RegisterAdapterPowerManagement method returns STATUS_SUCCESS if the call is successful. Otherwise, it returns the appropriate error code.

-remarks

When the RegisterAdapterPowerManagement method registers the power management interface for the adapter with PortCls, it allows the adapter driver to be notified of power state change events.

-see-also

DEVICE_OBJECT

IAdapterPowerManagement

IAdapterPowerManagement2

IPortClsPower