.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH TranslateCharsetInfo 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBTranslateCharsetInfo\fR (GDI32.@) .SH SYNOPSIS BOOL TranslateCharsetInfo ( LPDWORD \fIlpSrc\fR, /*[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 \fIlpCs\fR, DWORD \fIflags\fR ) .SH PARAMS \fIlpCs\fR \fB[Out]\fR structure to receive charset information. .PP \fIflags\fR \fB[In]\fR determines interpretation of \fIlpSrc\fR. .PP .SH DESCRIPTION .PP Fills a \fBCHARSETINFO\fR structure for a character set, code page, or font. This allows making the correspondence between different labels (character set, Windows, \fBANSI\fR, and \fBOEM\fR codepages, and Unicode ranges) of the same encoding. .PP Only one codepage will be set in \fIlpCs\fR\fI->fs\fR. If \fBTCI_SRCFONTSIG\fR is used, only one codepage should be set in *\fIlpSrc\fR. .SH RETURNS .PP \fBTRUE\fR on success, \fBFALSE\fR on failure. .SH IMPLEMENTATION .PP Declared in \fB"wingdi.h"\fR. .PP Implemented in \fB"dlls/gdi32/font.c"\fR. .PP Debug channel \fB"font"\fR.