PFND3DWDDM2_0DDI_GETCRYPTOSESSIONPRIVATEDATASIZE - NtDoc

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

PFND3DWDDM2_0DDI_GETCRYPTOSESSIONPRIVATEDATASIZE Pfnd3dwddm20DdiGetcryptosessionprivatedatasize;

void Pfnd3dwddm20DdiGetcryptosessionprivatedatasize(
  D3D10DDI_HDEVICE hDevice,
  const GUID *pCryptoType,
  const GUID *pDecoderProfile,
  const GUID *pKeyExchangeType,
  UINT *pPrivateInputSize,
  UINT *pPrivateOutputSize
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFND3DWDDM2_0DDI_GETCRYPTOSESSIONPRIVATEDATASIZE callback function

Description

GetCryptoSessionPrivateDataSize retrieves sizes for optional private driver data.

Parameters

hDevice

A handle to the display device (graphics context). The Direct3D runtime passed the user-mode driver this handle as the hDevice member of the D3DDDIARG_CREATEDEVICE structure at device creation.

pCryptoType

Indicates the crypto type for which the private input and output size is queried.

pDecoderProfile

Indicates the decoder profile for which the private input and output size is queried.

pKeyExchangeType

Indicates the key exchange type for which the private input and output size is queried.

pPrivateInputSize

Returns the size of private data that the driver needs for input commands.

pPrivateOutputSize

Returns the size of private data that the driver needs for output commands.

Remarks

When pKeyExchangeType is D3D11_KEY_EXCHANGE_HW_PROTECTION, the following behavior is expected in the NegotiateCryptessionKeyExchangedevice driver interface (DDI):

See also

D3DDDIARG_CREATEDEVICE