// d3d10umddi.h
PFND3D11_1DDI_CALCPRIVATECRYPTOSESSIONSIZE Pfnd3d111DdiCalcprivatecryptosessionsize;
SIZE_T Pfnd3d111DdiCalcprivatecryptosessionsize(
D3D10DDI_HDEVICE hDevice,
const D3D11_1DDIARG_CREATECRYPTOSESSION *pCreateData
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Returns the number of bytes that the driver requires to store private data for the cryptographic session state.
hDeviceA handle to the display device (graphics context).
pCreateDataA pointer to a D3D11_1DDIARG_CREATECRYPTOSESSION structure that describes the cryptographic session.
The required number of bytes for the cryptographic session state.
The runtime will validate the members of the D3D11_1DDIARG_CREATECRYPTOSESSION structure before it calls this function.
This function is not expected to fail.
D3D11_1DDIARG_CREATECRYPTOSESSION