Function

CertEnumCTLsInStore

Directives

External
Name
Stdcall

Module

wcrypt2

Last Modified

7/15/2014 3:26:44 PM

Comments

+-------------------------------------------------------------------------
  Enumerate the CTL contexts in the store.
  If a CTL isn't found, NULL is returned.
  Otherwise, a pointer to a read only CTL_CONTEXT is returned. CTL_CONTEXT
  must be freed by calling CertFreeCTLContext or is freed when passed as the
  pPrevCtlContext on a subsequent call. CertDuplicateCTLContext
  can be called to make a duplicate.
  pPrevCtlContext MUST BE NULL to enumerate the first
  CTL in the store. Successive CTLs are enumerated by setting
  pPrevCtlContext to the CTL_CONTEXT returned by a previous call.
  NOTE: a NON-NULL pPrevCtlContext is always CertFreeCTLContext'ed by
  this function, even for an error.
--------------------------------------------------------------------------

Scope

Interfaced

Declaration

function CertEnumCTLsInStore(hCertStore :HCERTSTORE;
                             pPrevCtlContext :PCCTL_CONTEXT
                             ):PCCTL_CONTEXT ; stdcall;


Source