GetCertificate - NtDoc

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

// rev
/**
 * The GetCertificate routine is a direct client thunk to NtGdiGetCertificate. Argument order and result are
 * forwarded unchanged. Kernel-side behavior is not independently implemented by this client wrapper.
 *
 * \param Hdc Device context handle.
 * \param CertificateType Type of certificate requested.
 * \param Certificate Receives certificate data.
 * \param CertificateLength Receives or specifies the certificate length.
 */
NTSYSAPI
NTSTATUS
NTAPI
GetCertificate(
    _In_ HDC Hdc,
    _In_ ULONG CertificateType,
    _Out_writes_bytes_(CertificateLength) PVOID Certificate,
    _In_ ULONG CertificateLength
    );

#endif

View code on GitHub

NtDoc

No description available.