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/25 19:39,
18.221.183.34: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/f51_22.htm"> IsDBCSLeadByte</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.