IAdapterPowerManagement3::PowerChangeState3 method

PortCls calls the PowerChangeState3 method to request a change to the new power state. This request is passed on to the adapter driver.

Syntax


Void PowerChangeState3(
  [in] DEVICE_POWER_STATE NewDeviceState,
  [in] SYSTEM_POWER_STATE NewSystemState,
  [in] PC_EXIT_LATENCY    D3ExitLatency
);

Parameters

NewDeviceState [in]

The new power state that Portcls has requested for the device. This parameter is an enumeration of type DEVICE_POWER_STATE.

NewSystemState [in]

The new power state that Portcls has requested for the system. This parameter is an enumeration of type SYSTEM_POWER_STATE.

D3ExitLatency [in]

The acceptable exit latency for the state into which the device is put when the device comes out of PowerDeviceD3. This parameter is an enumeration of type PC_EXIT_LATENCY.

Return value

None

Remarks

If the device is not going into its new state from PowerDeviceD3, then D3ExitLatency is set to PcExitLatencyInstant. For more information about the possible values for D3ExitLatency, see D3ExitLatencyChanged.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Target platform

Universal

Header

Portcls.h

See also

D3ExitLatencyChanged
IAdapterPowerManagement3
PC_EXIT_LATENCY

 

 

Send comments about this topic to Microsoft

Show: