Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IsDBCSLeadByteEx (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function determines whether a character is a lead byte, or the first byte of a character in a double-byte character set (DBCS).

BOOL IsDBCSLeadByteEx(
  UINT CodePage, 
  BYTE TestChar 
);

Parameters

CodePage
[in] Identifier of the code page to use to check lead-byte ranges. This can be one of the values listed in the Code Page Identifiers in Unicode and character set Constants, or one of the predefined values in the following table.
ValueDescription
0Use system default ANSI code page.
CP_ACPUse system default ANSI code page.
CP_OEMCPUse system default OEM code page.
TestChar
[in] Character to test.

Return Values

TRUE indicates that the character is a lead byte.

FALSE indicates that either the character is not a lead byte or an error was generated.

For extended error information, call GetLastError.

Requirements

OS Versions: Windows CE 1.01 and later.
Header: Winnls.h.
Link Library: Coredll.lib.

See Also

EnumSystemCodePages


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft. All rights reserved.