SHUnicodeToAnsiCP.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SHUnicodeToAnsiCP (SHLWAPI.218)

SYNOPSIS

INT SHUnicodeToAnsiCP
 (
  UINT    CodePage,
  LPCWSTR lpSrcStr,
  LPSTR   lpDstStr,
  LPINT   lpiLen
 )

DESCRIPTION

Convert a Unicode string to Ascii.

PARAMS

CodePage [In] Code page to use for the conversion.

lpSrcStr [In] Source Unicode string to convert.

lpDstStr [Out] Destination for converted Ascii string.

lpiLen [In/Out] Input length of lpDstStr/destination for length of lpDstStr.

RETURNS

Success: The number of characters that result from the conversion.

Failure: 0.

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

Implemented in "dlls/shlwapi/string.c".

Debug channel "shell".