// d3d10umddi.h
PFND3D11_1DDI_GETCERTIFICATESIZE Pfnd3d111DdiGetcertificatesize;
VOID Pfnd3d111DdiGetcertificatesize(
D3D10DDI_HDEVICE hDevice,
const D3D11_1DDI_CERTIFICATE_INFO *pCertificateInfo,
UINT *pCertificateSize
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Queries the size in bytes of the certificate that the display miniport driver uses for either the cryptographic session certificate or authenticated channel.
hDeviceA handle to the display device (graphics context).
pCertificateInfoA pointer to a D3D11_1DDI_CERTIFICATE_INFO structure that specifies the cryptographic session certificate or authenticated channel to query.
pCertificateSizeThe size, in bytes, of the specified certificate.
Based on the data in the D3D11_1DDI_CERTIFICATE_INFO structure, the GetCertificateSize function returns the size in bytes of the certificate chain for either the cryptographic session or the authenticated channel. The driver uses this certificate to establish trust and perform key exchange for the session or channel.
Note The driver's certificate can be queried by calling GetCertificate.