IPixGetCounterDescriptionsResults::GetCounterDescription method

Get the description of the specified counter.

Syntax

HRESULT GetCounterDescription(
    UINT64 index,
    REFIID riid,
    void ** counterDescription);

Parameters

index [in]

The index of the counter.

riid [in]

The interface IID of the counter description to be returned. Expected: IPixSystemMonitorCounter.

counterDescription [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also