Scroll to navigation

FoldStringA(3w) Wine API FoldStringA(3w)

NAME

FoldStringA (KERNEL32.@)

SYNOPSIS

INT FoldStringA
(
DWORD dwFlags,
LPCSTR src,
INT srclen,
LPSTR dst,
INT dstlen
)
 

DESCRIPTION

Map characters in a string.
 

PARAMS

dwFlags [In] Flags controlling characters to map (MAP_ constants from "winnls.h").
src [In] String to map.
srclen [In] Length of src, or -1 if src is NUL terminated.
dst [Out] Destination for mapped string.
dstlen [In] Length of dst, or 0 to find the required length for the mapped string.
 

RETURNS

Success: The length of the string written to dst, including the terminating NUL. If dstlen is 0, the value returned is the same, but nothing is written to dst, and dst may be NULL.
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