LdapUnicodeToUTF8.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

LdapUnicodeToUTF8 (WLDAP32.@)

SYNOPSIS

int CDECL LdapUnicodeToUTF8
 (
  LPCWSTR src,
  int     srclen,
  LPSTR   dst,
  int     dstlen
 )

DESCRIPTION

Convert a wide character string to a UTF8 string.

PARAMS

src [In] Wide character string to convert.

srclen [In] Size of string to convert, in characters.

dst [Out] Pointer to a buffer that receives the converted string.

dstlen [In] Size of the destination buffer in characters.

RETURNS

The number of characters written into the destination buffer.

NOTES

Set dstlen to zero to ask for the required buffer size.

IMPLEMENTATION

Defined in "winldap_private.h".

Implemented in "dlls/wldap32/misc.c".