NtGdiGetCertificate - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTUSER_H

// rev
/**
 * The NtGdiGetCertificate routine retrieves the display adapter's Output Protection Manager (OPM)
 * certificate for cryptographic validation.
 *
 * \param Hdc A handle to the device context.
 * \param CertificateType The type of certificate to retrieve.
 * \param Certificate A buffer that receives the certificate bytes.
 * \param CertificateLength The size, in bytes, of the Certificate buffer.
 * \returns NTSTATUS Successful or errant status.
 */
_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
NtGdiGetCertificate(
    _In_ HDC Hdc,
    _In_ ULONG CertificateType,
    _Out_writes_bytes_(CertificateLength) PVOID Certificate,
    _In_ ULONG CertificateLength
    );

#endif

View code on GitHub

NtDoc

No description available.