The IsDBCSLeadByte function determines whether a character is a lead byte ¾ that is, the first byte of a character in a double-byte character set (DBCS).
BOOL IsDBCSLeadByte(
BYTE TestChar |
// character to test |
); |
If the character is a lead byte, the return value is nonzero.
If the character is not a lead byte, the return value is zero. To get extended error information, call GetLastError.
Lead bytes are unique to double-byte character sets. A lead byte introduces a double-byte character. Lead bytes occupy a specific range of byte values. The IsDBCSLeadByte function uses the ANSI code page to check lead-byte ranges.
file: /Techref/os/win/api/win32/func/src/f51_22.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/11/5 00:16,
3.147.242.22:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://massmind.org/Techref/os/win/api/win32/func/src/f51_22.htm"> IsDBCSLeadByte</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.