Partager via


LdapMapErrorToWin32 (Compact 2013)

3/26/2014

This function translates an LdapError value to the closest Microsoft® Win32® error code.

Syntax

ULONG LdapMapErrorToWin32(
  ULONG LdapError
);

Parameters

  • LdapError
    [in] Error code returned from an LDAP function.

Return Value

Returns the corresponding Win32 error code.

Requirements

Header

winldap.h

Library

wldap32.lib

See Also

Reference

LDAP Error Handling Functions
LdapGetLastError