IPixGetRunningProcessesResults::GetProcessInfo method

Get the process info of the specified index.

Syntax

HRESULT GetProcessInfo(
    UINT64 index,
    REFIID riid,
    void ** processInfo);

Parameters

index [in]

Zero-based index of the process to retrieve, in [0, GetNumProcesses()).

riid [in]

The interface IID of the process info to be returned. Expected: IPixProcessInfo.

processInfo [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also