Platform SDK: Active Directory, ADSI, and Directory Services |
The LdapMapErrorToWin32 function translates an LdapError value to the closest Win32 error code.
ULONG LdapMapErrorToWin32( ULONG LdapError );
Returns the corresponding Win32 error code.
Windows NT/2000: Requires Windows NT 4.0 SP4 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Winldap.h.
Library: Use Wldap32.lib.