PFND3D12DDI_CALCPRIVATECRYPTOSESSIONPOLICYSIZE_0030 callback function (d3d12umddi.h)

Used to calculate a session policy size.

Syntax

PFND3D12DDI_CALCPRIVATECRYPTOSESSIONPOLICYSIZE_0030 Pfnd3d12ddiCalcprivatecryptosessionpolicysize0030;

SIZE_T Pfnd3d12ddiCalcprivatecryptosessionpolicysize0030(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_CRYPTO_SESSION_POLICY_0030 *pArgs,
  D3D12DDI_HCRYPTOSESSION_0030 hDrvCryptoSession
)
{...}

Parameters

hDrvDevice

The hardware device being processed.

pArgs

The arguments used to create a session policy.

hDrvCryptoSession

The information for the driver 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