Skip to content

Latest commit

 

History

History
82 lines (62 loc) · 3.21 KB

nf-wincrypt-certenumctlcontextproperties.md

File metadata and controls

82 lines (62 loc) · 3.21 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.CertEnumCTLContextProperties
CertEnumCTLContextProperties function (wincrypt.h)
The CertEnumCTLContextProperties function retrieves the first or next extended property associated with a certificate trust list (CTL) context. Used in a loop, this function can retrieve in sequence all extended properties associated with a CTL context.
CertEnumCTLContextProperties
CertEnumCTLContextProperties function [Security]
_crypto2_certenumctlcontextproperties
security.certenumctlcontextproperties
wincrypt/CertEnumCTLContextProperties
security\certenumctlcontextproperties.htm
security
f5c9c4cd-bf99-41bf-b13e-f1921b011039
12/05/2018
CertEnumCTLContextProperties, CertEnumCTLContextProperties function [Security], _crypto2_certenumctlcontextproperties, security.certenumctlcontextproperties, wincrypt/CertEnumCTLContextProperties
wincrypt.h
Windows
Windows XP [desktop apps \| UWP apps]
Windows Server 2003 [desktop apps \| UWP apps]
Crypt32.lib
Crypt32.dll
Windows
19H1
CertEnumCTLContextProperties
wincrypt/CertEnumCTLContextProperties
c++
APIRef
kbSyntax
DllExport
Crypt32.dll
CertEnumCTLContextProperties

CertEnumCTLContextProperties function

-description

The CertEnumCTLContextProperties function retrieves the first or next extended property associated with a certificate trust list (CTL) context. Used in a loop, this function can retrieve in sequence all extended properties associated with a CTL context.

-parameters

-param pCtlContext [in]

A pointer to a CTL_CONTEXT structure.

-param dwPropId [in]

Property number of the last property enumerated. To get the first property, dwPropId is zero. To retrieve subsequent properties, dwPropId is set to the property number returned by the last call to the function. To enumerate all the properties, function calls continue until the function returns zero.

Applications can call CertGetCTLContextProperty with the dwPropId returned by this function to retrieved that property's data.

-returns

The return value is a DWORD value that identifies a CTL context's property. The DWORD value returned by one call of the function can be supplied as the dwPropId in a subsequent call to the function. If there are no more properties to be enumerated or if the function fails, zero is returned.

-see-also

CertGetCTLContextProperty

Extended Property Functions