IPixPostmortemResourceEvent::GetResource method

取得與事件相關聯的資源。

語法

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

參數

riid [在]

要返回之資源的介面 IID。 預期: IPixPostmortemD3D12Resource

ppResource [出]

傳回介面的指標。

傳回

成功時S_OK,否則為錯誤碼。

另請參閱