Partager via


ldap_explode_dn (Windows CE 5.0)

Send Feedback

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

UNICODE PTCHAR *ldap_explode_dn(UNICODE PTCHARdn,ULONGnotypes);

Parameters

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

Return Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Winldap.h.
Link Library: Wldap32.lib.

See Also

ldap_value_free

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.