Skip to content

Latest commit

 

History

History
99 lines (69 loc) · 2.67 KB

nf-winldap-ldap_result2error.md

File metadata and controls

99 lines (69 loc) · 2.67 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winldap.ldap_result2error
ldap_result2error function (winldap.h)
The ldap_result2error function parses a message and returns the error code.
_ldap_ldap_result2error
ldap.ldap__result2error
ldap.ldap_result2error
ldap_result2error
ldap_result2error function [LDAP]
winldap/ldap_result2error
ldap\ldap_result2error.htm
ldap
67198ed0-c210-4eb1-b0f9-13cdb128c57d
12/05/2018
_ldap_ldap_result2error, ldap.ldap__result2error, ldap.ldap_result2error, ldap_result2error, ldap_result2error function [LDAP], winldap/ldap_result2error
winldap.h
Windows
Windows Vista
Windows Server 2008
Wldap32.lib
Wldap32.dll
Windows
19H1
ldap_result2error
winldap/ldap_result2error
c++
APIRef
kbSyntax
DllExport
Wldap32.dll
ldap_result2error

ldap_result2error function

-description

The ldap_result2error function parses a message and returns the error code.

-parameters

-param ld [in]

The session handle.

-param res [in]

The result of an LDAP operation, as returned by

ldap_result, or one of the synchronous API operation calls.

-param freeit [in]

Determines whether the LDAPMessage, pointed to by the res parameter, is freed. Setting freeit to TRUE frees the message by calling the ldap_msgfree function.

-returns

If the function succeeds, the return value is LDAP_SUCCESS.

If the function fails, it returns an error code. For more information, see

Return Values.

-remarks

Multithreading: Calls to ldap_result2error are thread-safe.

-see-also

Functions

Return Values

ldap_msgfree

ldap_result