Directory Services

LDAPMessage

LDAP functions use the LDAPMessage data type to return results and error data.

typedef struct ldapmsg {
  ...
} LDAPMessage, 
*PLDAPMessage;

Remarks

The LDAPMessage structure is an opaque data type returned from a server when you call a search or a traversal function. For example, after performing an asyncronous operation, ldap_result can be called to retreive the server LDAPMessage response. Another example is a call to ldap_search_s, which also returns an LDAPMessage.

To free the LDAPMessage structure when it is no longer required, call ldap_msgfree.

There are no client-accessible fields in this structure.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Winldap.h.

See Also

Data Structures, functions, ldap_count_entries, ldap_msgfree, ldap_result, ldap_search