IPixPostmortemResourceEvent::GetResource method

Gets the resource associated with the event.

Syntax

HRESULT GetResource(
    REFIID riid,
    void ** ppResource);

Parameters

riid [in]

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

ppResource [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also