Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 3.09 KB

nf-wincrypt-certsetcertificatecontextpropertiesfromctlentry.md

File metadata and controls

86 lines (64 loc) · 3.09 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wincrypt.CertSetCertificateContextPropertiesFromCTLEntry
CertSetCertificateContextPropertiesFromCTLEntry function (wincrypt.h)
Sets the properties on the certificate context by using the attributes in the specified certificate trust list (CTL) entry.
CertSetCertificateContextPropertiesFromCTLEntry
CertSetCertificateContextPropertiesFromCTLEntry function [Security]
_crypto2_certsetcertificatecontextpropertiesfromctlentry
security.certsetcertificatecontextpropertiesfromctlentry
wincrypt/CertSetCertificateContextPropertiesFromCTLEntry
security\certsetcertificatecontextpropertiesfromctlentry.htm
security
b53b046a-68d4-4dc5-ab89-1b30ebd1de60
12/05/2018
CertSetCertificateContextPropertiesFromCTLEntry, CertSetCertificateContextPropertiesFromCTLEntry function [Security], _crypto2_certsetcertificatecontextpropertiesfromctlentry, security.certsetcertificatecontextpropertiesfromctlentry, wincrypt/CertSetCertificateContextPropertiesFromCTLEntry
wincrypt.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Crypt32.lib
Crypt32.dll
Windows
19H1
CertSetCertificateContextPropertiesFromCTLEntry
wincrypt/CertSetCertificateContextPropertiesFromCTLEntry
c++
APIRef
kbSyntax
DllExport
Crypt32.dll
CertSetCertificateContextPropertiesFromCTLEntry

CertSetCertificateContextPropertiesFromCTLEntry function

-description

The CertSetCertificateContextPropertiesFromCTLEntry function sets the properties on the certificate context by using the attributes in the specified certificate trust list (CTL) entry.

-parameters

-param pCertContext [in]

A pointer to the CERT_CONTEXT whose attributes are to be set.

-param pCtlEntry [in]

A pointer to the CTL_ENTRY structure used to set the attributes on the certificate.

-param dwFlags [in]

A DWORD. This parameter can be set to CERT_SET_PROPERTY_IGNORE_PERSIST_ERROR_FLAG to ignore any persisted error flags.

-returns

If the function succeeds, the function returns nonzero.

If the function fails, it returns zero. For extended error information, call GetLastError.

-see-also

CERT_CONTEXT

CTL_ENTRY

GetLastError