Returns the message ID associated with the res parameter.
#include <ldap.h>
int ldap_msgid (
LDAPMessage *res);
(IN) Points to a message chain returned by the ldap_result, ldap_search_s, ldap_search_st, or ldap_search_ext_s function.