CERT_LDAP_STORE_OPENED_PARA structure (wincrypt.h)

The CERT_LDAP_STORE_OPENED_PARA structure is used with the CertOpenStore function when the CERT_STORE_PROV_LDAP provider is specified by using the CERT_LDAP_STORE_OPENED_FLAG flag to specify both the existing LDAP session to use to perform the query as well as the LDAP query string.

Syntax

typedef struct _CERT_LDAP_STORE_OPENED_PARA {
  void    *pvLdapSessionHandle;
  LPCWSTR pwszLdapUrl;
} CERT_LDAP_STORE_OPENED_PARA, *PCERT_LDAP_STORE_OPENED_PARA;

Members

pvLdapSessionHandle

The handle of the existing LDAP session. This is the handle that is returned by the ldap_init function.

pwszLdapUrl

The address of a null-terminated Unicode string that contains the LDAP query string. For more information about LDAP query strings, see LDAP Dialect.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincrypt.h

See also

CertOpenStore