Character Type Information Values
The character-type bits are divided into several levels. The information for
one level can be retrieved by a single call to this function. Each level is
limited to 16 bits of information so that the other mapping routines limited to 16
bits of representation per character can return character-type information.
The character types supported by this function include the following.
Ctype 1: These types support ANSI C and POSIX (LC_CTYPE) character-typing functions.
A combination of these values is returned in the array pointed to by the
lpCharType parameter when the
fdwInfoType parameter is set to CT_CTYPE1.
Name
| Value
| Meaning
|
C1_UPPER
| - x0001
| Uppercase
|
C1_LOWER
| - x0002
| Lowercase
|
C1_DIGIT
| 0x0004
| Decimal digits
|
C1_SPACE
| 0x0008
| Space characters
|
C1_PUNCT
| 0x0010
| Punctuation
|
C1_CNTRL
| 0x0020
| Control characters
|
C1_BLANK
| 0x0040
| Blank characters
|
C1_XDIGIT
| 0x0080
| Hexadecimal digits
|
C1_ALPHA
| 0x0100
| Any letter
|
The following character types are either constant or computable from basic
types and do not need to be supported by this function.
Type
| Description
|
Alphanumeric
| Alphabetic characters and digits
|
Printable
| Graphic characters and blank
|
Ctype 2: These types support proper layout of Unicode™ text. The direction attributes are assigned so that the bidirectional layout
algorithm standardized by Unicode produces accurate results. These types are
mutually exclusive. For more information about the use of these attributes, see
The Unicode Standard: Worldwide Character Encoding, Volumes 1 and 2, Addison Wesley Publishing Company: 1991, 1992, ISBN 0201567881.
Name
| Value
| Meaning
|
Strong:
|
|
|
C2_LEFTTORIGHT
| - x1
| Left to right
|
C2_RIGHTTOLEFT
| - x2
| Right to left
|
Weak:
|
|
|
C2_EUROPENUMBER
| - x3
| European number, European digit
|
C2_EUROPESEPARATOR
| - x4
| European numeric separator
|
C2_EUROPETERMINATOR
| - x5
| European numeric terminator
|
C2_ARABICNUMBER
| - x6
| Arabic number
|
C2_COMMONSEPARATOR
| - x7
| Common numeric separator
|
Neutral:
|
|
|
C2_BLOCKSEPARATOR
| - x8
| Block separator
|
C2_SEGMENTSEPARATOR
| - x9
| Segment separator
|
C2_WHITESPACE
| - xA
| White space
|
C2_OTHERNEUTRAL
| - xB
| Other neutrals
|
Not applicable:
|
|
|
C2_NOTAPPLICABLE
| 0x0
| No implicit directionality (for example, control codes)
|
Ctype 3: These types are intended to be placeholders for extensions to the POSIX
types required for general text processing or for the standard C library functions.
These types are supported in the current version of Microsoft® Windows NT®. A combination of these values is returned when
fdwInfoType is set to CT_CTYPE3.
Name
| Value
| Meaning
|
C3_NONSPACING
| - x1
| Nonspacing mark
|
C3_DIACRITIC
| - x2
| Diacritic nonspacing mark
|
C3_VOWELMARK
| 0x4
| Vowel nonspacing mark
|
C3_SYMBOL
| 0x8
| Symbol
|
C3_KATAKANA
| 0x10
| Katakana character
|
C3_HIRAGANA
| 0x20
| Hiragana character
|
C3_HALFWIDTH
| 0x40
| Half Width character
|
C3_FULLWIDTH
| 0x80
| Full Width character
|
C3_IDEOGRAPH
| 0x100
| Ideographic character
|
C3_KASHIDA
| 0x200
| Arabic Kashida character
|
C3_ALPHA
| 0x8000
| All linguistic characters (alphabetic, syllabary and ideographic)
|
Not applicable:
|
|
|
C3_NOTAPPLICABLE
| 0x0
| Not applicable
|
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database