ID3D12VideoDecoderHeap1::GetProtectedResourceSession 方法 (d3d12video.h)

取得在建立ID3D12VideoDecoderHeap1 時傳遞至 ID3D12VideoDevice2::CreateVideoDecoderHeap1ID3D12ProtectedResourceSession

語法

HRESULT GetProtectedResourceSession(
  REFIID riid,
  void   **ppProtectedSession
);

參數

riid

ID3D12ProtectedResourceSession介面的全域唯一識別碼 (GUID) 。

ppProtectedSession

接收 void 指標,代表 ID3D12ProtectedResourceSession 介面。

傳回值

這個方法會傳回 HRESULT。

需求

   
最低支援的用戶端 Windows 10組建 20348
最低支援的伺服器 Windows 10組建 20348
標頭 d3d12video.h