PFND3D12DDI_CALCPRIVATECRYPTOSESSIONSIZE_0030 callback function (d3d12umddi.h)

Used to calculate a private session size.

Syntax

PFND3D12DDI_CALCPRIVATECRYPTOSESSIONSIZE_0030 Pfnd3d12ddiCalcprivatecryptosessionsize0030;

SIZE_T Pfnd3d12ddiCalcprivatecryptosessionsize0030(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_CRYPTO_SESSION_0030 *pArgs
)
{...}

Parameters

hDrvDevice

The hardware device being processed.

pArgs

The arguments used to create a 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