TranslateCharsetInfo.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

TranslateCharsetInfo (GDI32.@)

SYNOPSIS

BOOL TranslateCharsetInfo
 (
  LPDWORD                                                                                                                                                                                 lpSrc,
  /*[in] if flags == TCI_SRCFONTSIG: pointer to fsCsb of a FONTSIGNATURE if flags == TCI_SRCCHARSET: a character set value if flags == TCI_SRCCODEPAGE: a code page value*/ LPCHARSETINFO lpCs,
  DWORD                                                                                                                                                                                   flags
 )

PARAMS

lpCs [Out] structure to receive charset information.

flags [In] determines interpretation of lpSrc.

DESCRIPTION

Fills a CHARSETINFO structure for a character set, code page, or font. This allows making the correspondence between different labels (character set, Windows, ANSI, and OEM codepages, and Unicode ranges) of the same encoding.

Only one codepage will be set in lpCs->fs. If TCI_SRCFONTSIG is used, only one codepage should be set in *lpSrc.

RETURNS

TRUE on success, FALSE on failure.

IMPLEMENTATION

Defined in "wingdi.h".

Implemented in "dlls/gdi32/font.c".

Debug channel "font".