LCMapStringA(3w)

LCMapStringA3w

Usage

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

Overview

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

Declared in "winnls.h".

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

Debug channel "nls".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.