IPixGpuCaptureDocument::GetAnalysis method

Get an analysis object for this capture. The returned object manages the connection and analysis lifecycle. Call Connect, then GetAdapters/GetPowerStates, then StartAnalysis on the returned object before using analysis methods.

Syntax

HRESULT GetAnalysis(
    REFIID riid,
    void ** analysis);

Parameters

riid [in]

The interface IID of the analysis object to be returned. Expected: IPixGpuCaptureAnalysis.

analysis [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also