The TranslateCharsetInfo function translates based on the specified character set, code page, or font signature value, setting all members of the destination structure to appropriate values.
UINT TranslateCharsetInfo(
DWORD FAR *lpSrc, | |
LPCHARSETINFO lpCs, | |
DWORD dwFlags | |
); |
Value |
Meaning |
TCI_SRCCHARSET |
Source contains the character set value in the low word, and zero in the high word. |
TCI_SRCCODEPAGE |
Source is a code-page value in the low word and zero in the high word. |
TCI_SRCFONTSIG |
Source is the code-page bitfield portion of a FONTSIGNATURE structure. On input this should have only one Windows code-page bit set, either for an ANSI code-page value or for a common ANSI and OEM value (for OEM values, bits 32-63 must be clear.). On output this will have only one bit set. If the TCI_SRCFONTSIG value is given, the lpSrc parameter must be the address of the codepage bit field. If any other TCI_ value is given, the lpSrc parameter must be a value not an address. |
If the function succeeds, it returns a nonzero value.
If the function fails, it returns zero. To get extended error information, call GetLastError.
file: /Techref/os/win/api/win32/func/src/f88_18.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/25 14:00,
3.139.235.177:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/os/win/api/win32/func/src/f88_18.htm"> TranslateCharsetInfo</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.