ID3D12VideoDecoderHeap1::GetProtectedResourceSession method (d3d12video.h)

Gets the ID3D12ProtectedResourceSession that was passed into ID3D12VideoDevice2::CreateVideoDecoderHeap1 when the ID3D12VideoDecoderHeap1 was created.

Syntax

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

Parameters

riid

The globally unique identifier (GUID) for the ID3D12ProtectedResourceSession interface.

ppProtectedSession

Receives a void pointer representing the ID3D12ProtectedResourceSession interface.

Return value

This method returns HRESULT.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12video.h