IPixTileMapEventCopyDefinition::GetSourceResource method

Get the source D3D12 resource of the copy.

Syntax

HRESULT GetSourceResource(
    REFIID riid,
    void ** resource);

Parameters

riid [in]

The interface IID of the source resource to be returned. Expected: IPixReservedD3D12Resource.

resource [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also