ID3D12VideoDecoder1::GetProtectedResourceSession method (d3d12video.h)

Gets the ID3D12ProtectedResourceSession that was passed into ID3D12VideoDevice2::CreateVideoDecoder1 when the ID3D12VideoDecoder1 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, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header d3d12video.h