Struttura LDAPMessage (winldap.h)

La struttura LDAPMessage viene usata da una funzione LDAP per restituire i risultati e i dati di errore.

Sintassi

typedef struct ldapmsg {
  ULONG          lm_msgid;
  ULONG          lm_msgtype;
  PVOID          lm_ber;
  struct ldapmsg *lm_chain;
  struct ldapmsg *lm_next;
  ULONG          lm_time;
  PLDAP          Connection;
  PVOID          Request;
  ULONG          lm_returncode;
  USHORT         lm_referral;
  BOOLEAN        lm_chased;
  BOOLEAN        lm_eom;
  BOOLEAN        ConnectionReferenced;
} LDAPMessage, *PLDAPMessage;

Members

lm_msgid

lm_msgtype

lm_ber

lm_chain

lm_next

lm_time

Connection

Request

lm_returncode

lm_referral

lm_chased

lm_eom

ConnectionReferenced

Commenti

La struttura LDAPMessage è un tipo di dati opaco restituito da un server quando si chiama una ricerca o una funzione di attraversamento. Ad esempio, dopo aver eseguito un'operazione asincrona, è possibile chiamare ldap_result per ottenere la risposta LDAPMessage del server. Un altro esempio è una chiamata a ldap_search_s, che restituisce anche un LDAPMessage.

Per liberare la struttura LDAPMessage quando non è più necessaria, chiamare ldap_msgfree.

In questa struttura non sono presenti campi accessibili dal client.

Requisiti

   
Client minimo supportato Windows Vista
Server minimo supportato Windows Server 2008
Intestazione winldap.h

Vedi anche

strutture di dati

functions

ldap_count_entries

ldap_msgfree

ldap_result

ldap_search