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 to determine the cause.

IMPLEMENTATION

Declared in "winnls.h". https://source.winehq.org/source/include/winnls.h

Implemented in "dlls/kernel32/locale.c". https://source.winehq.org/source/dlls/kernel32/locale.c

Debug channel "nls".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.