Lightweight Directory Access Protocol

Overview of the Lightweight Directory Access Protocol technology.

To develop Lightweight Directory Access Protocol, you need these headers:

For programming guidance for this technology, see:

Functions

 
ber_alloc_t

Allocates and constructs a new BerElement structure.
ber_bvdup

The ber_bvdup function creates a copy of the supplied berval structure.
ber_bvecfree

The ber_bvecfree function frees an array of berval structures.
ber_bvfree

The ber_bvfree function frees a berval structure.
ber_bvfree

The ber_bvfree function frees a berval structure.
ber_first_element

The ber_first_element function is used to begin the traversal of a SET, SET OF, SEQUENCE or SEQUENCE OF data value stored in the supplied BerElement structure. It returns the tag and length of the first element.
ber_flatten

The ber_flatten function allocates a new berval structure containing the data taken from the supplied BerElement structure.
ber_free

The ber_free function frees a BerElement structure that was previously allocated with ber_alloc_t, ber_init, or the ldap_first_attribute/ ldap_next_attribute search functions.
ber_init

The ber_init function allocates a new BerElement structure containing the data taken from the supplied berval structure.
ber_next_element

The ber_next_element function is used along with ber_first_element to traverse a SET, SET OF, SEQUENCE or SEQUENCE OF data value stored in the supplied BerElement structure. It returns the tag and length of the next element in the constructed type.
ber_peek_tag

Returns the tag of the next element to be parsed in the supplied BerElement structure.
ber_printf

Used to encode a BER element and is similar to sprintf_s.
ber_scanf

The ber_scanf function decodes a BER element in a similar manner as sscanf_s.
ber_skip_tag

The ber_skip_tag function skips the current tag and returns the tag of the next element in the supplied BerElement structure.
cldap_open

Establishes a session with an LDAP server over a connectionless User Datagram Protocol (UDP) service.
cldap_openA

Establishes a session with an LDAP server over a connectionless User Datagram Protocol (UDP) service.
cldap_openW

Establishes a session with an LDAP server over a connectionless User Datagram Protocol (UDP) service.
ldap_abandon

A client calls ldap_abandon to cancel an in-process asynchronous LDAP call.
ldap_add

Initiates an asynchronous add operation to a directory tree.
ldap_add_ext

The ldap_add_ext function initiates an asynchronous add operation to a tree. The parent of the entry added must exist, or the parent must be empty (equal to the distinguished name of the root) for an add operation to succeed.
ldap_add_ext_s

The ldap_add_ext_s function initiates a synchronous add operation to a tree. For an add operation to succeed, the parent of the entry added must exist, or the parent must be empty (equal to the distinguished name of the root).
ldap_add_ext_sA

The ldap_add_ext_s function initiates a synchronous add operation to a tree. For an add operation to succeed, the parent of the entry added must exist, or the parent must be empty (equal to the distinguished name of the root).
ldap_add_ext_sW

The ldap_add_ext_s function initiates a synchronous add operation to a tree. For an add operation to succeed, the parent of the entry added must exist, or the parent must be empty (equal to the distinguished name of the root).
ldap_add_extA

The ldap_add_ext function initiates an asynchronous add operation to a tree. The parent of the entry added must exist, or the parent must be empty (equal to the distinguished name of the root) for an add operation to succeed.
ldap_add_extW

The ldap_add_ext function initiates an asynchronous add operation to a tree. The parent of the entry added must exist, or the parent must be empty (equal to the distinguished name of the root) for an add operation to succeed.
ldap_add_s

The ldap_add_s function initiates a synchronous add operation that adds an entry to a tree. The parent of the entry being added must already exist or the parent must be empty (equal to the root distinguished name) for an add operation to succeed.
ldap_add_sA

The ldap_add_s function initiates a synchronous add operation that adds an entry to a tree. The parent of the entry being added must already exist or the parent must be empty (equal to the root distinguished name) for an add operation to succeed.
ldap_add_sW

The ldap_add_s function initiates a synchronous add operation that adds an entry to a tree. The parent of the entry being added must already exist or the parent must be empty (equal to the root distinguished name) for an add operation to succeed.
ldap_addA

Initiates an asynchronous add operation to a directory tree.
ldap_addW

Initiates an asynchronous add operation to a directory tree.
ldap_bind

Asynchronously authenticates a client with the LDAP server.
ldap_bind_s

Synchronously authenticates a client to the LDAP server.
ldap_bind_sA

Synchronously authenticates a client to the LDAP server.
ldap_bind_sW

Synchronously authenticates a client to the LDAP server.
ldap_bindA

Asynchronously authenticates a client with the LDAP server.
ldap_bindW

Asynchronously authenticates a client with the LDAP server.
ldap_check_filterA

The ldap_check_filter function is used to verify filter syntax.
ldap_check_filterW

The ldap_check_filter function is used to verify filter syntax.
ldap_cleanup

Warning  The ldap_cleanup function may cause unpredictable behavior at DLL unload time so, there is no way to safely clean up resources when dynamically loading and unloading the wldap32.dll.Because of this, resource leaks can occur on unload of the library. Use of ldap_cleanup is therefore not recommended and, is at your own risk. .
ldap_close_extended_op

The ldap_close_extended_op function ends a request that was made by calling ldap_extended_operation.
ldap_compare

Use the ldap_compare function to determine whether an attribute for a given entry holds a known value.
ldap_compare_ext

Use the ldap_compare_ext function to determine if an attribute, for a given entry, holds a known value.
ldap_compare_ext_s

Use the ldap_compare_ext_s function to determine if an attribute, for a given entry, holds a known value.
ldap_compare_ext_sA

Use the ldap_compare_ext_s function to determine if an attribute, for a given entry, holds a known value.
ldap_compare_ext_sW

Use the ldap_compare_ext_s function to determine if an attribute, for a given entry, holds a known value.
ldap_compare_extA

Use the ldap_compare_ext function to determine if an attribute, for a given entry, holds a known value.
ldap_compare_extW

Use the ldap_compare_ext function to determine if an attribute, for a given entry, holds a known value.
ldap_compare_s

Use the ldap_compare_s function to determine whether an attribute for a given entry holds a known value.
ldap_compare_sA

Use the ldap_compare_s function to determine whether an attribute for a given entry holds a known value.
ldap_compare_sW

Use the ldap_compare_s function to determine whether an attribute for a given entry holds a known value.
ldap_compareA

Use the ldap_compare function to determine whether an attribute for a given entry holds a known value.
ldap_compareW

Use the ldap_compare function to determine whether an attribute for a given entry holds a known value.
ldap_conn_from_msg

Returns the LDAP session handle (connection pointer) for a particular message.
ldap_connect

The ldap_connect function establishes a connection with the server.
ldap_control_free

The ldap_control_free function frees an LDAPControl structure.
ldap_control_freeA

The ldap_control_free function frees an LDAPControl structure.
ldap_control_freeW

The ldap_control_free function frees an LDAPControl structure.
ldap_controls_free

Frees an array of LDAPControl structures.
ldap_controls_freeA

Frees an array of LDAPControl structures.
ldap_controls_freeW

Frees an array of LDAPControl structures.
ldap_count_entries

The ldap_count_entries function counts the number of search entries that a server returned.
ldap_count_references

The ldap_count_references function counts the number of subordinate references that were returned by the server in a response to a search request.
ldap_count_values

The ldap_count_values function counts the number of values in a list.
ldap_count_values_len

Counts the number of values in a list.
ldap_count_valuesA

The ldap_count_values function counts the number of values in a list.
ldap_count_valuesW

The ldap_count_values function counts the number of values in a list.
ldap_create_page_control

Use the ldap_create_page_control function to create a basic control for paging results. Support for controls is available effective with LDAP 3, but whether the page control is supported or not is dependent on the particular server.
ldap_create_page_controlA

Use the ldap_create_page_control function to create a basic control for paging results. Support for controls is available effective with LDAP 3, but whether the page control is supported or not is dependent on the particular server.
ldap_create_page_controlW

Use the ldap_create_page_control function to create a basic control for paging results. Support for controls is available effective with LDAP 3, but whether the page control is supported or not is dependent on the particular server.
ldap_create_sort_control

The ldap_create_sort_control function is used to format a list of sort keys into a search control. Support for controls is available effective with LDAP 3, but whether the sort control is supported or not is dependent on the particular server.
ldap_create_sort_controlA

The ldap_create_sort_control function is used to format a list of sort keys into a search control. Support for controls is available effective with LDAP 3, but whether the sort control is supported or not is dependent on the particular server.
ldap_create_sort_controlW

The ldap_create_sort_control function is used to format a list of sort keys into a search control. Support for controls is available effective with LDAP 3, but whether the sort control is supported or not is dependent on the particular server.
ldap_create_vlv_controlA

The ldap_create_vlv_control function is used to create the request control (LDAP_CONTROL_VLVREQUEST) on the server.
ldap_create_vlv_controlW

The ldap_create_vlv_control function is used to create the request control (LDAP_CONTROL_VLVREQUEST) on the server.
ldap_delete

The ldap_delete function deletes an entry from the directory tree.
ldap_delete_ext

The ldap_delete_ext function is an extended routine that removes a leaf entry from the directory tree.
ldap_delete_ext_s

The ldap_delete_ext_s function is an extended routine that performs a synchronous operation to remove a leaf entry from the directory tree.
ldap_delete_ext_sA

The ldap_delete_ext_s function is an extended routine that performs a synchronous operation to remove a leaf entry from the directory tree.
ldap_delete_ext_sW

The ldap_delete_ext_s function is an extended routine that performs a synchronous operation to remove a leaf entry from the directory tree.
ldap_delete_extA

The ldap_delete_ext function is an extended routine that removes a leaf entry from the directory tree.
ldap_delete_extW

The ldap_delete_ext function is an extended routine that removes a leaf entry from the directory tree.
ldap_delete_s

The ldap_delete_s function is a synchronous operation that removes a leaf entry from the directory tree.
ldap_delete_sA

The ldap_delete_s function is a synchronous operation that removes a leaf entry from the directory tree.
ldap_delete_sW

The ldap_delete_s function is a synchronous operation that removes a leaf entry from the directory tree.
ldap_deleteA

The ldap_delete function deletes an entry from the directory tree.
ldap_deleteW

The ldap_delete function deletes an entry from the directory tree.
ldap_dn2ufn

Converts a distinguished name to a user-friendly format.
ldap_dn2ufnA

Converts a distinguished name to a user-friendly format.
ldap_dn2ufnW

Converts a distinguished name to a user-friendly format.
ldap_encode_sort_control

The ldap_encode_sort_control function formats a list of sort keys into a search control. This function is obsolete. Instead, use ldap_create_sort_control.
ldap_encode_sort_controlA

The ldap_encode_sort_control function formats a list of sort keys into a search control. This function is obsolete. Instead, use ldap_create_sort_control.
ldap_encode_sort_controlW

The ldap_encode_sort_control function formats a list of sort keys into a search control. This function is obsolete. Instead, use ldap_create_sort_control.
ldap_err2string

Converts a numeric LDAP error code into a null-terminated character string that describes the error.
ldap_err2stringA

Converts a numeric LDAP error code into a null-terminated character string that describes the error.
ldap_err2stringW

Converts a numeric LDAP error code into a null-terminated character string that describes the error.
ldap_escape_filter_element

The ldap_escape_filter_element function converts a filter element to a null-terminated character string that can be passed safely in a search filter.
ldap_escape_filter_elementA

The ldap_escape_filter_element function converts a filter element to a null-terminated character string that can be passed safely in a search filter.
ldap_escape_filter_elementW

The ldap_escape_filter_element function converts a filter element to a null-terminated character string that can be passed safely in a search filter.
ldap_explode_dn

The ldap_explode_dn function breaks up an entry name into its component parts.
ldap_explode_dnA

The ldap_explode_dn function breaks up an entry name into its component parts.
ldap_explode_dnW

The ldap_explode_dn function breaks up an entry name into its component parts.
ldap_extended_operation

The ldap_extended_operation function enables you to pass extended LDAP operations to the server.
ldap_extended_operation_sA

Used to pass extended LDAP operations to the server.
ldap_extended_operation_sW

Used to pass extended LDAP operations to the server.
ldap_extended_operationA

The ldap_extended_operation function enables you to pass extended LDAP operations to the server.
ldap_extended_operationW

The ldap_extended_operation function enables you to pass extended LDAP operations to the server.
ldap_first_attribute

Returns the first attribute.
ldap_first_attributeA

Returns the first attribute.
ldap_first_attributeW

Returns the first attribute.
ldap_first_entry

The ldap_first_entry function returns the first entry of a message.
ldap_first_reference

Returns the first reference from a message.
ldap_free_controls

Obsolete function which frees an array of LDAPControl structures.
ldap_free_controlsA

Obsolete function which frees an array of LDAPControl structures.
ldap_free_controlsW

Obsolete function which frees an array of LDAPControl structures.
ldap_get_dn

The ldap_get_dn function retrieves the distinguished name for a given entry.
ldap_get_dnA

The ldap_get_dn function retrieves the distinguished name for a given entry.
ldap_get_dnW

The ldap_get_dn function retrieves the distinguished name for a given entry.
ldap_get_next_page

Returns the next page in a sequence of asynchronous paged search results.
ldap_get_next_page_s

Returns the next page in a sequence of synchronous paged search results.
ldap_get_option

Retrieves the current values of session-wide parameters.
ldap_get_optionW

Retrieves the current values of session-wide parameters.
ldap_get_paged_count

Records the number of paged results that the server has returned for a search.
ldap_get_values

The ldap_get_values function retrieves the list of values of a given attribute.
ldap_get_values_len

The ldap_get_values_len function retrieves the list of values for a given attribute.
ldap_get_values_lenA

The ldap_get_values_len function retrieves the list of values for a given attribute.
ldap_get_values_lenW

The ldap_get_values_len function retrieves the list of values for a given attribute.
ldap_get_valuesA

The ldap_get_values function retrieves the list of values of a given attribute.
ldap_get_valuesW

The ldap_get_values function retrieves the list of values of a given attribute.
ldap_init

Initializes a session with an LDAP server.
ldap_initA

Initializes a session with an LDAP server.
ldap_initW

Initializes a session with an LDAP server.
ldap_memfree

Frees memory allocated from the LDAP heap.
ldap_memfreeA

Frees memory allocated from the LDAP heap.
ldap_memfreeW

Frees memory allocated from the LDAP heap.
ldap_modify

The ldap_modify function changes an existing entry.
ldap_modify_ext

The ldap_modify_ext function changes an existing entry.
ldap_modify_ext_s

The ldap_modify_ext_s function changes an existing entry.
ldap_modify_ext_sA

The ldap_modify_ext_s function changes an existing entry.
ldap_modify_ext_sW

The ldap_modify_ext_s function changes an existing entry.
ldap_modify_extA

The ldap_modify_ext function changes an existing entry.
ldap_modify_extW

The ldap_modify_ext function changes an existing entry.
ldap_modify_s

The ldap_modify_s function changes an existing entry.
ldap_modify_sA

The ldap_modify_s function changes an existing entry.
ldap_modify_sW

The ldap_modify_s function changes an existing entry.
ldap_modifyA

The ldap_modify function changes an existing entry.
ldap_modifyW

The ldap_modify function changes an existing entry.
ldap_modrdn

The ldap_modrdn function changes the relative distinguished name of an LDAP entry.
ldap_modrdn_s

Changes the relative distinguished name of an LDAP entry.
ldap_modrdn_sA

Changes the relative distinguished name of an LDAP entry.
ldap_modrdn_sW

Changes the relative distinguished name of an LDAP entry.
ldap_modrdn2

The ldap_modrdn2 function changes the relative distinguished name of an LDAP entry.
ldap_modrdn2_s

The ldap_modrdn2_s function changes the relative distinguished name of an LDAP entry.
ldap_modrdn2_sA

The ldap_modrdn2_s function changes the relative distinguished name of an LDAP entry.
ldap_modrdn2_sW

The ldap_modrdn2_s function changes the relative distinguished name of an LDAP entry.
ldap_modrdn2A

The ldap_modrdn2 function changes the relative distinguished name of an LDAP entry.
ldap_modrdn2W

The ldap_modrdn2 function changes the relative distinguished name of an LDAP entry.
ldap_modrdnA

The ldap_modrdn function changes the relative distinguished name of an LDAP entry.
ldap_modrdnW

The ldap_modrdn function changes the relative distinguished name of an LDAP entry.
ldap_msgfree

The ldap_msgfree function frees the results obtained from a previous call to ldap_result, or to one of the synchronous search routines.
ldap_next_attribute

Returns the next attribute.
ldap_next_attributeA

Returns the next attribute.
ldap_next_attributeW

Returns the next attribute.
ldap_next_entry

The ldap_next_entry function retrieves an entry from a search result chain.
ldap_next_reference

Retrieves a reference from a search result chain.
ldap_open

ldap_open is not recommended for use.
ldap_openA

ldap_open is not recommended for use.
ldap_openW

ldap_open is not recommended for use.
ldap_parse_extended_resultA

The ldap_parse_extended_result parses the results of an LDAP extended operation.
ldap_parse_extended_resultW

The ldap_parse_extended_result parses the results of an LDAP extended operation.
ldap_parse_page_control

The ldap_parse_page_control parses the results of a search into pages.
ldap_parse_page_controlA

The ldap_parse_page_control parses the results of a search into pages.
ldap_parse_page_controlW

The ldap_parse_page_control parses the results of a search into pages.
ldap_parse_reference

The ldap_parse_reference function returns a list of subordinate referrals in a search response message.
ldap_parse_referenceA

The ldap_parse_reference function returns a list of subordinate referrals in a search response message.
ldap_parse_referenceW

The ldap_parse_reference function returns a list of subordinate referrals in a search response message.
ldap_parse_result

The ldap_parse_result function parses responses from the server and returns the appropriate fields.
ldap_parse_resultA

The ldap_parse_result function parses responses from the server and returns the appropriate fields.
ldap_parse_resultW

The ldap_parse_result function parses responses from the server and returns the appropriate fields.
ldap_parse_sort_control

The ldap_parse_sort_control function parses the sort control returned by the server.
ldap_parse_sort_controlA

The ldap_parse_sort_control function parses the sort control returned by the server.
ldap_parse_sort_controlW

The ldap_parse_sort_control function parses the sort control returned by the server.
ldap_parse_vlv_controlA

Used to find and parse VLV search results.
ldap_parse_vlv_controlW

Used to find and parse VLV search results.
ldap_perror

Obsolete function. It exists only for compatibility.
ldap_rename_ext

The ldap_rename_ext function starts an asynchronous operation that changes the distinguished name of an entry in the directory. This function is available effective with LDAP 3.
ldap_rename_ext_s

The ldap_rename_ext_s function is a synchronous operation that changes the distinguished name of an entry in the directory. This function is available effective with LDAP 3.
ldap_rename_ext_sA

The ldap_rename_ext_s function is a synchronous operation that changes the distinguished name of an entry in the directory. This function is available effective with LDAP 3.
ldap_rename_ext_sW

The ldap_rename_ext_s function is a synchronous operation that changes the distinguished name of an entry in the directory. This function is available effective with LDAP 3.
ldap_rename_extA

The ldap_rename_ext function starts an asynchronous operation that changes the distinguished name of an entry in the directory. This function is available effective with LDAP 3.
ldap_rename_extW

The ldap_rename_ext function starts an asynchronous operation that changes the distinguished name of an entry in the directory. This function is available effective with LDAP 3.
ldap_result

Obtains the result of an asynchronous operation.
ldap_result2error

The ldap_result2error function parses a message and returns the error code.
ldap_sasl_bind_sA

The ldap_sasl_bind_s function is a synchronous function that authenticates a client to the LDAP server using SASL.
ldap_sasl_bind_sW

The ldap_sasl_bind_s function is a synchronous function that authenticates a client to the LDAP server using SASL.
ldap_sasl_bindA

The ldap_sasl_bind is an asynchronous function that authenticates a client to the LDAP server using SASL.
ldap_sasl_bindW

The ldap_sasl_bind is an asynchronous function that authenticates a client to the LDAP server using SASL.
ldap_search

Searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_abandon_page

The ldap_search_abandon_page function terminates a paged-results search.
ldap_search_ext

Searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_ext_s

Synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_ext_sA

Synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_ext_sW

Synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_extA

Searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_extW

Searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_init_page

Initializes a search block for a simple paged-results search.
ldap_search_init_pageA

Initializes a search block for a simple paged-results search.
ldap_search_init_pageW

Initializes a search block for a simple paged-results search.
ldap_search_s

The ldap_search_s function synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_sA

The ldap_search_s function synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_search_st

The ldap_search_st function synchronously searches the LDAP directory and returns a requested set of attributes for each entry matched. An additional parameter specifies a local time-out for the search.
ldap_search_stA

The ldap_search_st function synchronously searches the LDAP directory and returns a requested set of attributes for each entry matched. An additional parameter specifies a local time-out for the search.
ldap_search_stW

The ldap_search_st function synchronously searches the LDAP directory and returns a requested set of attributes for each entry matched. An additional parameter specifies a local time-out for the search.
ldap_search_sW

The ldap_search_s function synchronously searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_searchA

Searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_searchW

Searches the LDAP directory and returns a requested set of attributes for each matched entry.
ldap_set_option

Sets options on connection blocks.
ldap_set_optionW

Sets options on connection blocks.
ldap_simple_bind

Asynchronously authenticates a client to a server, using a plaintext password.
ldap_simple_bind_s

The ldap_simple_bind_s function synchronously authenticates a client to a server, using a plaintext password.
ldap_simple_bind_sA

The ldap_simple_bind_s function synchronously authenticates a client to a server, using a plaintext password.
ldap_simple_bind_sW

The ldap_simple_bind_s function synchronously authenticates a client to a server, using a plaintext password.
ldap_simple_bindA

Asynchronously authenticates a client to a server, using a plaintext password.
ldap_simple_bindW

Asynchronously authenticates a client to a server, using a plaintext password.
ldap_sslinit

Initializes a Secure Sockets Layer (SSL) session with an LDAP server.
ldap_sslinitA

Initializes a Secure Sockets Layer (SSL) session with an LDAP server.
ldap_sslinitW

Initializes a Secure Sockets Layer (SSL) session with an LDAP server.
ldap_start_tls_sA

Used in an active LDAP session to begin using TLS encryption.
ldap_start_tls_sW

Used in an active LDAP session to begin using TLS encryption.
ldap_stop_tls_s

Stops the encryption operation started by a call to ldap_start_tls_s.
ldap_ufn2dn

Converts a user-friendly name to a distinguished name.
ldap_ufn2dnA

Converts a user-friendly name to a distinguished name.
ldap_ufn2dnW

Converts a user-friendly name to a distinguished name.
ldap_unbind

The ldap_unbind function frees resources associated with an LDAP session.
ldap_unbind_s

The ldap_unbind_s function synchronously frees resources associated with an LDAP session.
ldap_value_free

Frees a structure returned by ldap_get_values.
ldap_value_free_len

The ldap_value_free_len frees berval structures that were returned by ldap_get_values_len.
ldap_value_freeA

Frees a structure returned by ldap_get_values.
ldap_value_freeW

Frees a structure returned by ldap_get_values.
LdapGetLastError

The LdapGetLastError function retrieves the last error code returned by an LDAP call.
LdapMapErrorToWin32

The LdapMapErrorToWin32 function translates an LdapError value to the closest Win32 error code.
LdapUnicodeToUTF8

Converts Unicode strings to UTF-8.
LdapUTF8ToUnicode

Used to translate strings for modules that do not have the UTF-8 code page.
QUERYCLIENTCERT

Enables the server to request a certificate from the client when establishing a Secure Sockets Layer (SSL) connection.
VERIFYSERVERCERT

Allows a client to evaluate the certificate chain of the server to which it is connected.

Structures

 
BerElement

C++ class object that performs basic encoding rules (BER) encoding.
LDAP

Represents an LDAP session.
LDAP_BERVAL

The berval structure represents arbitrary binary data that is encoded according to Basic Encoding Rules (BER). Use a berval to represent any attribute that cannot be represented by a null-terminated string.
LDAP_REFERRAL_CALLBACK

Used to implement external caching of connections.
LDAP_TIMEVAL

Used to represent an interval of time.
LDAPAPIFeatureInfoA

Retrieves data about any supported LDAP API extensions.
LDAPAPIFeatureInfoW

Retrieves data about any supported LDAP API extensions.
LDAPAPIInfoA

Retrieves data about the API and implementations used.
LDAPAPIInfoW

Retrieves data about the API and implementations used.
LDAPControlA

Represents both client-side and server controls.
LDAPControlW

Represents both client-side and server controls.
LDAPMessage

Used by an LDAP function to return results and error data.
LDAPModA

Holds data required to perform a modification operation.
LDAPModW

Holds data required to perform a modification operation.
LDAPSortKeyA

The LDAPSortKey structure stores sorting criteria for use by sort controls.
LDAPSortKeyW

The LDAPSortKey structure stores sorting criteria for use by sort controls.
LDAPVLVInfo

Used to set up the search parameters for a virtual list view (VLV) request control (LDAP_CONTROL_VLVREQUEST).