IPixGpuCaptureCounters::GetCounters method

Get counter descriptions for counters supported on the GPU.

Syntax

HRESULT GetCounters(
    REFIID riid,
    void ** counters);

Parameters

riid [in]

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

counters [out]

The pointer to the returned interface IPixCollection<IPixGpuCaptureCounter>

Returns

S_OK if the getting the counter descriptions was successful, otherwise an error code.

See also