ID3D12VideoExtensionCommand::GetProtectedResourceSession 方法 (d3d12video.h)
取得在 ID3D12VideoExtensionCommand 建立 ID3D12VideoExtensionCommand 時傳遞至 ID3D12VideoDevice2::CreateVideoExtensionCommand 的 ID3D12ProtectedResourceSession。
語法
HRESULT GetProtectedResourceSession(
REFIID riid,
void **ppProtectedSession
);
參數
riid
ID3D12ProtectedResourceSession 介面的全域唯一標識符 (GUID) 。
ppProtectedSession
接收 void 指標,代表 ID3D12ProtectedResourceSession 介面。
傳回值
這個方法會傳回 HRESULT。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 10 版本 2004 (10.0;組建 19041) |
最低支援的伺服器 | Windows Server 版本 2004 (10.0;組建 19041) |
標頭 | d3d12video.h |