IAdapterPowerManagement3 介面 (portcls.h)

IAdapterPowerManagement3 介面繼承自 IUnknown,並用於接收電源管理訊息。

若要向 PortCls 註冊此介面,配接器驅動程序必須呼叫 PcRegisterAdapterPowerManagement

注意如果您想要填滿裝置的上限結構,配接器驅動程式可以從 AddDevice 例程內呼叫 PcRegisterAdapterPowerManagement,或在驅動程式呼叫 AddDevice 之前呼叫 PcRegisterAdapterPowerManagement。
 

繼承

IAdapterPowerManagement3 介面繼承自 IUnknown 介面。 IAdapterPowerManagement3 也有下列類型的成員:

方法

IAdapterPowerManagement3 介面具有這些方法。

 
IAdapterPowerManagement3::D 3ExitLatencyChanged

PortCls 會在裝置處於睡眠狀態 (D3) 電源狀態時呼叫 D3ExitLatencyChanged 方法,以提供新的結束延遲值。
IAdapterPowerManagement3::P owerChangeState3

PortCls 會呼叫 PowerChangeState3 方法來要求變更新的電源狀態。 此要求會傳遞至配接器驅動程式。

規格需求

需求
最低支援的用戶端 Windows 8
最低支援的伺服器 Windows Server 2012
目標平台 Windows
標頭 portcls.h

另請參閱

IAdapterPowerManagement2

PcRegisterAdapterPowerManagement