IPixResourceViews::GetView method

Get the resource view at the given index.

Syntax

HRESULT GetView(
    UINT32 index,
    REFIID riid,
    void ** view);

Parameters

index [in]

The index of the resource view to retrieve.

riid [in]

The interface IID of the resource view to be returned. Expected: IPixResourceView.

view [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also