Bewerken

Delen via


PFND3D12DDI_OPENPROTECTEDRESOURCESESSION_0030 callback function (d3d12umddi.h)

Used to open a protected resource session.

Syntax

PFND3D12DDI_OPENPROTECTEDRESOURCESESSION_0030 Pfnd3d12ddiOpenprotectedresourcesession0030;

HRESULT Pfnd3d12ddiOpenprotectedresourcesession0030(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_OPEN_PROTECTED_RESOURCE_SESSION_0030 *pArgs,
  D3D12DDI_HPROTECTEDRESOURCESESSION_0030 hDrvProtectedResourceSession
)
{...}

Parameters

hDrvDevice

The hardware device being processed.

pArgs

The arguments used to open a protected resource session.

hDrvProtectedResourceSession

The protected resource session.

Return value

Returns STATUS_SUCCESS if completed successfully.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header d3d12umddi.h