Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CertDuplicateCTLContext function duplicates a certificate trust list (CTL) context by incrementing its reference count.
Syntax
PCCTL_CONTEXT CertDuplicateCTLContext(
  [in] PCCTL_CONTEXT pCtlContext
);
Parameters
[in] pCtlContext
A pointer to the CTL_CONTEXT structure for which the reference count is being incremented.
Return value
Currently, a copy is not made of the context, and the returned pointer to CTL_CONTEXT is the same as pointer input. If the pointer passed into this function is NULL, NULL is returned.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows XP [desktop apps | UWP apps] | 
| Minimum supported server | Windows Server 2003 [desktop apps | UWP apps] | 
| Target Platform | Windows | 
| Header | wincrypt.h | 
| Library | Crypt32.lib | 
| DLL | Crypt32.dll |