// 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 referenceNo description available.
GetCryptoSessionPrivateDataSize retrieves sizes for optional private driver data.
hDeviceA 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.
pCryptoTypeIndicates the crypto type for which the private input and output size is queried.
pDecoderProfileIndicates the decoder profile for which the private input and output size is queried.
pKeyExchangeTypeIndicates the key exchange type for which the private input and output size is queried.
pPrivateInputSizeReturns the size of private data that the driver needs for input commands.
pPrivateOutputSizeReturns the size of private data that the driver needs for output commands.
When pKeyExchangeType is D3D11_KEY_EXCHANGE_HW_PROTECTION, the following behavior is expected in the NegotiateCryptessionKeyExchangedevice driver interface (DDI):
pInputData points to a D3D11_KEY_EXCHANGE_CONTENT_PROTECTION_OUTPUT_DATA structure where:
pOutputData points to a D3D11_KEY_EXCHANGE_CONTENT_PROTECTION_OUTPUT_DATA structure where: