PFND3D11_1DDI_CALCPRIVATECRYPTOSESSIONSIZE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D11_1DDI_CALCPRIVATECRYPTOSESSIONSIZE Pfnd3d111DdiCalcprivatecryptosessionsize;

SIZE_T Pfnd3d111DdiCalcprivatecryptosessionsize(
  D3D10DDI_HDEVICE hDevice,
  const D3D11_1DDIARG_CREATECRYPTOSESSION *pCreateData
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d11_1ddi_calcprivatecryptosessionsize)

PFND3D11_1DDI_CALCPRIVATECRYPTOSESSIONSIZE callback function

Description

Returns the number of bytes that the driver requires to store private data for the cryptographic session state.

Parameters

hDevice

A handle to the display device (graphics context).

pCreateData

A pointer to a D3D11_1DDIARG_CREATECRYPTOSESSION structure that describes the cryptographic session.

Return value

The required number of bytes for the cryptographic session state.

Remarks

The runtime will validate the members of the D3D11_1DDIARG_CREATECRYPTOSESSION structure before it calls this function.

This function is not expected to fail.

See also

D3D11_1DDIARG_CREATECRYPTOSESSION