Share via


ldap_explode_dn (Windows Embedded CE 6.0)

1/6/2010

This function breaks up an entry name into its component parts.

Syntax

UNICODE PTCHAR *ldap_explode_dn(
  UNICODE PTCHAR dn,
  ULONG notypes 
);

Parameters

  • dn
    [in] Distinguished name to explode.
  • notypes
    [in] Indicates whether the type information components should be removed.

Return Value

If this function succeeds, it returns a null-terminated character array containing the relative distinguished name components of the distinguished name supplied.

Remarks

Call this function to separate a distinguished name into its component parts. Set the notypes parameter to a nonzero value to remove type information, such as "cn=" from the components. The components of the relative distinguished name are returned in a character array. Free this array when it is no longer needed by calling the ldap_value_free function.

Requirements

Header winldap.h
Library wldap32.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ldap_value_free

Concepts

Other LDAP Functions