Scroll to navigation

LCMapStringA(3w) Wine API LCMapStringA(3w)

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

Declared in "winnls.h".
Implemented in "dlls/kernel32/locale.c".
Debug channel "nls".
Oct 2012 Wine API