Locale-Sensitive Windows C++ Function
BOOL IsDBCSLeadByte(BYTE TestChar);
Internationalization (I18n) Function Overview
The IsDBCSLeadByte function returns a non-zero value if TestChar is
the first byte of a two-byte character in a double-byte character set (DBCS); otherwise it returns
0 and sets extended error information that can be obtained by calling GetLastError .
The function uses the system's ANSI code page to
test the semantics of the character.
I18n Issues
IsDBCSLeadByte should not be used in an internationalized application
because it relies on the ANSI code page, rather than the
code page associated with the application's current locale.
Instead, use IsDBCSLeadByteEx , which includes a
code page argument.
Recommended Replacements*
There are no variations of the function call: a single byte is expected.
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
|