PFND3D12DDI_CALCPRIVATEOPENEDPROTECTEDRESOURCESESSIONSIZE_0030 callback function (d3d12umddi.h)

Used to calculate the size of an opened protected resource session.

Syntax

PFND3D12DDI_CALCPRIVATEOPENEDPROTECTEDRESOURCESESSIONSIZE_0030 Pfnd3d12ddiCalcprivateopenedprotectedresourcesessionsize0030;

SIZE_T Pfnd3d12ddiCalcprivateopenedprotectedresourcesessionsize0030(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_OPEN_PROTECTED_RESOURCE_SESSION_0030 *pArgs
)
{...}

Parameters

hDrvDevice

The hardware device being processed.

pArgs

The arguments used to open a protected resource session.

Return value

Returns the size of the session in bytes.

Requirements

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