ldap_msgfree 函数释放从上一次调用ldap_result或同步搜索例程之一获取的结果。
语法
WINLDAPAPI ULONG LDAPAPI ldap_msgfree(
  [in] LDAPMessage *res
);
参数
[in] res
要释放的结果或结果链。
返回值
返回 LDAP_SUCCESS。
注解
调用 ldap_msgfree 以释放 res 参数指向的结果结构。
要求
| 要求 | 值 | 
|---|---|
| 最低受支持的客户端 | Windows Vista | 
| 最低受支持的服务器 | Windows Server 2008 | 
| 目标平台 | Windows | 
| 标头 | winldap.h | 
| Library | Wldap32.lib | 
| DLL | Wldap32.dll |