IPixGpuCaptureAnalysis::GetPowerStates method

Get the power states available for the adapter analysis is currently running on. Only valid while analysis is running (call StartAnalysis first); otherwise returns E_PIX_ANALYSIS_NOT_RUNNING.

Syntax

HRESULT GetPowerStates(
    REFIID riid,
    void ** powerStates);

Parameters

riid [in]

The interface IID of the power states to be returned. Expected: IPixPowerStates.

powerStates [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also