LCMapStringA.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

LCMapStringA (KERNEL32.@)

SYNOPSIS

INT LCMapStringA
 (
  LCID   lcid,
  DWORD  flags,
  LPCSTR src,
  INT    srclen,
  LPSTR  dst,
  INT    dstlen
 )

DESCRIPTION

Map characters in a locale sensitive string.

PARAMS

lcid [In] LCID for the conversion.

flags [In] Flags controlling the mapping (LCMAP_ constants from "winnls.h").

src [In] String to map.

srclen [In] Length of src in chars, or -1 if src is NUL terminated.

dst [Out] Destination for mapped string.

dstlen [In] Length of dst in characters.

RETURNS

Success: The length of the mapped string in dst, including the NUL terminator.

Failure: 0. Use GetLastError(3w) to determine the cause.

IMPLEMENTATION

Defined in "winnls.h".

Implemented in "dlls/kernel32/locale.c".

Debug channel "nls".