Hardware Dev Center

Collapse the table of content
Expand the table of content
Erweitern Minimieren

CalcPrivateCryptoSessionSize routine

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

Syntax


PFND3D11_1DDI_CALCPRIVATECRYPTOSESSIONSIZE CalcPrivateCryptoSessionSize;

SIZE_T APIENTRY* CalcPrivateCryptoSessionSize(
  _In_       D3D10DDI_HDEVICE                  hDevice,
  _In_ const D3D11_1DDIARG_CREATECRYPTOSESSION *pCreateData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pCreateData [in]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Target platform

Desktop

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D11_1DDIARG_CREATECRYPTOSESSION

 

 

Send comments about this topic to Microsoft

Anzeigen:
© 2015 Microsoft