IPixCollection::Get method

Get the element by index.

Syntax

HRESULT Get(
    UINT64 index,
    REFIID riid,
    void ** object);

Parameters

index [in]

The index of the element to retrieve.

riid [in]

The interface IID of the element to be returned.

object [out]

The pointer to the returned element.

Returns

S_OK on success, otherwise an error code.

See also