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

IsDBCSLeadByte (Windows CE 5.0)

Windows CE 5.0
Send Feedback

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

BOOL IsDBCSLeadByte(
  BYTE TestChar 
);

Parameters

TestChar
[in] The character to be tested.

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.

Remarks

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. To specify a different code page, use the IsDBCSLeadByteEx function.

Requirements

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

See Also

IsDBCSLeadByteEx | MultiByteToWideChar | EnumDateFormats


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.