FoldStringA(3w)

FoldStringA3w

Usage

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

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

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

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