|
|
1.1 root 1:
2: /******************************************************************************\
3: * This is a part of the Microsoft Source Code Samples.
4: * Copyright (C) 1993 Microsoft Corporation.
5: * All rights reserved.
6: * This source code is only intended as a supplement to
7: * Microsoft Development Tools and/or WinHelp documentation.
8: * See these sources for detailed information regarding the
9: * Microsoft samples programs.
10: \******************************************************************************/
11:
12: /* structure for the character range 'name' lookup table. */
13: typedef struct tagLookupEntry{
14: USHORT start;
15: USHORT end;
16: TCHAR String[32];
17: } LookupEntry;
18:
19: /* The following data comes straight out of the Addison-Wesley Unicode book. */
20: #define NRANGE 24
21: LookupEntry RangeName[NRANGE] =
22: {{ 0x0000,0x007f, TEXT("ASCII")},
23: { 0x0080,0x00ff, TEXT("Latin1 Characters")},
24: { 0x0100,0x017f, TEXT("European Latin")},
25: { 0x0180,0x01ff, TEXT("Extended Latin")},
26: { 0x0200,0x024f, TEXT("<Bad unicode range.>")},
27: { 0x0250,0x02af, TEXT("Standard Phonetic")},
28: { 0x02b0,0x02ff, TEXT("Modifier Letters")},
29: { 0x0300,0x036f, TEXT("Generic Diacritical Marks")},
30: { 0x0370,0x03ff, TEXT("Greek")},
31: { 0x0400,0x04ff, TEXT("Cyrillic")},
32: { 0x0500,0x052f, TEXT("<Bad unicode range.>")},
33: { 0x0530,0x058f, TEXT("Armenian")},
34: { 0x0590,0x05ff, TEXT("Hebrew")},
35: { 0x0600,0x06ff, TEXT("Arabic")},
36: { 0x0900,0x1fff, TEXT("<not specified in table.>")},
37: { 0x2000,0x206f, TEXT("General Punctutation")},
38: { 0x2070,0x209f, TEXT("Superscipts & Subscripts")},
39: { 0x20a0,0x20cf, TEXT("Currency Symbols")},
40: { 0x20d0,0x20ff, TEXT("Diacritical Marks for Symbols")},
41: { 0x2100,0x214f, TEXT("Letterlike Symbols")},
42: { 0x2150,0x218f, TEXT("Number Forms")},
43: { 0x2190,0x21ff, TEXT("Arrows")},
44: { 0x2200,0x22ff, TEXT("Mathematical Operators")},
45: { 0x2300,0xffff, TEXT("<not specified in table.>")}};
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.