The CertEnumCTLContextProperties function enumerates the properties for the specified CTL context.
#include <wincrypt.h>
DWORD WINAPI CertEnumCTLContextProperties(
PCCTL_CONTEXT pCtlContext, // in
DWORD dwPropId // in
);
For any given dwPropId returned, an application may call CertGetCTLContextProperty to get that property's data.
The return value is described under dwPropId above.
Call GetLastError to see the reason for any failures.
See Example Code for Fundamental Certificate Store Operations.
Windows NT: Requires version 4.0 SP3 or later. Available also in IE 3.02 and later.
Windows: Requires Windows 95 OSR2 or later.
Windows CE: Unsupported.
Header: Declared in wincrypt.h.
Import Library: Use crypt32.lib.