0000: 6d 6f 64 75 6c 65 20 77 69 6e 33 32 2e 77 69 6e module win32.win
0010: 6e 6c 73 3b 0d 0a 0d 0a 2f 2f 20 54 72 61 6e 73 nls;....// Trans
0020: 6c 61 74 65 64 20 66 72 6f 6d 20 4d 69 63 72 6f lated from Micro
0030: 73 6f 66 74 20 50 6c 61 74 66 6f 72 6d 20 53 44 soft Platform SD
0040: 4b 20 41 75 67 75 73 74 20 32 30 30 31 20 45 64 K August 2001 Ed
0050: 69 74 69 6f 6e 0d 0a 2f 2f 20 62 79 20 59 2e 54 ition..// by Y.T
0060: 6f 6d 69 6e 6f 0d 0a 0d 0a 69 6d 70 6f 72 74 20 omino....import
0070: 77 69 6e 33 32 2e 77 69 6e 64 65 66 3b 0d 0a 69 win32.windef;..i
0080: 6d 70 6f 72 74 20 77 69 6e 33 32 2e 77 69 6e 62 mport win32.winb
0090: 61 73 65 3b 0d 0a 0d 0a 2f 2f 20 23 69 66 6e 64 ase;....// #ifnd
00a0: 65 66 20 5f 57 49 4e 4e 4c 53 5f 0d 0a 2f 2f 20 ef _WINNLS_..//
00b0: 23 64 65 66 69 6e 65 20 5f 57 49 4e 4e 4c 53 5f #define _WINNLS_
00c0: 0d 0a 0d 0a 2f 2f 20 23 69 66 64 65 66 20 5f 5f ....// #ifdef __
00d0: 63 70 6c 75 73 70 6c 75 73 0d 0a 2f 2f 20 65 78 cplusplus..// ex
00e0: 74 65 72 6e 20 22 43 22 20 7b 0d 0a 2f 2f 20 23 tern "C" {..// #
00f0: 65 6e 64 69 66 0d 0a 0d 0a 2f 2f 20 23 69 66 6e endif....// #ifn
0100: 64 65 66 20 4e 4f 4e 4c 53 0d 0a 0d 0a 2f 2f 20 def NONLS....//
0110: 23 69 66 64 65 66 20 5f 4d 41 43 0d 0a 2f 2f 20 #ifdef _MAC..//
0120: 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 66 0d #.....// #endif.
0130: 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b ...enum : uint {
0140: 20 4d 41 58 5f 4c 45 41 44 42 59 54 45 53 20 3d MAX_LEADBYTES =
0150: 20 31 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 12 }..enum : ui
0160: 6e 74 20 7b 20 4d 41 58 5f 44 45 46 41 55 4c 54 nt { MAX_DEFAULT
0170: 43 48 41 52 20 3d 20 32 20 7d 0d 0a 0d 0a 65 6e CHAR = 2 }....en
0180: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4d 42 5f 50 um : uint { MB_P
0190: 52 45 43 4f 4d 50 4f 53 45 44 20 3d 20 30 78 30 RECOMPOSED = 0x0
01a0: 30 30 30 30 30 30 31 20 7d 0d 0a 65 6e 75 6d 20 0000001 }..enum
01b0: 3a 20 75 69 6e 74 20 7b 20 4d 42 5f 43 4f 4d 50 : uint { MB_COMP
01c0: 4f 53 49 54 45 20 3d 20 30 78 30 30 30 30 30 30 OSITE = 0x000000
01d0: 30 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 02 }..enum : uin
01e0: 74 20 7b 20 4d 42 5f 55 53 45 47 4c 59 50 48 43 t { MB_USEGLYPHC
01f0: 48 41 52 53 20 3d 20 30 78 30 30 30 30 30 30 30 HARS = 0x0000000
0200: 34 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 4 }..enum : uint
0210: 20 7b 20 4d 42 5f 45 52 52 5f 49 4e 56 41 4c 49 { MB_ERR_INVALI
0220: 44 5f 43 48 41 52 53 20 3d 20 30 78 30 30 30 30 D_CHARS = 0x0000
0230: 30 30 30 38 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 0008 }....enum :
0240: 20 75 69 6e 74 20 7b 20 57 43 5f 43 4f 4d 50 4f uint { WC_COMPO
0250: 53 49 54 45 43 48 45 43 4b 20 3d 20 30 78 30 30 SITECHECK = 0x00
0260: 30 30 30 32 30 30 20 7d 0d 0a 65 6e 75 6d 20 3a 000200 }..enum :
0270: 20 75 69 6e 74 20 7b 20 57 43 5f 44 49 53 43 41 uint { WC_DISCA
0280: 52 44 4e 53 20 3d 20 30 78 30 30 30 30 30 30 31 RDNS = 0x0000001
0290: 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 0 }..enum : uint
02a0: 20 7b 20 57 43 5f 53 45 50 43 48 41 52 53 20 3d { WC_SEPCHARS =
02b0: 20 30 78 30 30 30 30 30 30 32 30 20 7d 0d 0a 65 0x00000020 }..e
02c0: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 57 43 5f num : uint { WC_
02d0: 44 45 46 41 55 4c 54 43 48 41 52 20 3d 20 30 78 DEFAULTCHAR = 0x
02e0: 30 30 30 30 30 30 34 30 20 7d 0d 0a 0d 0a 2f 2f 00000040 }....//
02f0: 20 23 69 66 28 57 49 4e 56 45 52 20 3e 3d 20 30 #if(WINVER >= 0
0300: 78 30 35 30 30 29 0d 0a 65 6e 75 6d 20 3a 20 75 x0500)..enum : u
0310: 69 6e 74 20 7b 20 57 43 5f 4e 4f 5f 42 45 53 54 int { WC_NO_BEST
0320: 5f 46 49 54 5f 43 48 41 52 53 20 3d 20 30 78 30 _FIT_CHARS = 0x0
0330: 30 30 30 30 34 30 30 20 7d 0d 0a 2f 2f 20 23 65 0000400 }..// #e
0340: 6e 64 69 66 20 2f 2a 20 57 49 4e 56 45 52 20 3e ndif /* WINVER >
0350: 3d 20 30 78 30 35 30 30 20 2a 2f 0d 0a 0d 0a 65 = 0x0500 */....e
0360: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 5f num : uint { CT_
0370: 43 54 59 50 45 31 20 3d 20 30 78 30 30 30 30 30 CTYPE1 = 0x00000
0380: 30 30 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 001 }..enum : ui
0390: 6e 74 20 7b 20 43 54 5f 43 54 59 50 45 32 20 3d nt { CT_CTYPE2 =
03a0: 20 30 78 30 30 30 30 30 30 30 32 20 7d 0d 0a 65 0x00000002 }..e
03b0: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 5f num : uint { CT_
03c0: 43 54 59 50 45 33 20 3d 20 30 78 30 30 30 30 30 CTYPE3 = 0x00000
03d0: 30 30 34 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 004 }....enum :
03e0: 75 69 6e 74 20 7b 20 43 31 5f 55 50 50 45 52 20 uint { C1_UPPER
03f0: 3d 20 30 78 30 30 30 31 20 7d 0d 0a 65 6e 75 6d = 0x0001 }..enum
0400: 20 3a 20 75 69 6e 74 20 7b 20 43 31 5f 4c 4f 57 : uint { C1_LOW
0410: 45 52 20 3d 20 30 78 30 30 30 32 20 7d 0d 0a 65 ER = 0x0002 }..e
0420: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 31 5f num : uint { C1_
0430: 44 49 47 49 54 20 3d 20 30 78 30 30 30 34 20 7d DIGIT = 0x0004 }
0440: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
0450: 43 31 5f 53 50 41 43 45 20 3d 20 30 78 30 30 30 C1_SPACE = 0x000
0460: 38 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 8 }..enum : uint
0470: 20 7b 20 43 31 5f 50 55 4e 43 54 20 3d 20 30 78 { C1_PUNCT = 0x
0480: 30 30 31 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0010 }..enum : u
0490: 69 6e 74 20 7b 20 43 31 5f 43 4e 54 52 4c 20 3d int { C1_CNTRL =
04a0: 20 30 78 30 30 32 30 20 7d 0d 0a 65 6e 75 6d 20 0x0020 }..enum
04b0: 3a 20 75 69 6e 74 20 7b 20 43 31 5f 42 4c 41 4e : uint { C1_BLAN
04c0: 4b 20 3d 20 30 78 30 30 34 30 20 7d 0d 0a 65 6e K = 0x0040 }..en
04d0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 31 5f 58 um : uint { C1_X
04e0: 44 49 47 49 54 20 3d 20 30 78 30 30 38 30 20 7d DIGIT = 0x0080 }
04f0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
0500: 43 31 5f 41 4c 50 48 41 20 3d 20 30 78 30 31 30 C1_ALPHA = 0x010
0510: 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 0 }..enum : uint
0520: 20 7b 20 43 31 5f 44 45 46 49 4e 45 44 20 3d 20 { C1_DEFINED =
0530: 30 78 30 32 30 30 20 7d 0d 0a 0d 0a 65 6e 75 6d 0x0200 }....enum
0540: 20 3a 20 75 69 6e 74 20 7b 20 43 32 5f 4c 45 46 : uint { C2_LEF
0550: 54 54 4f 52 49 47 48 54 20 3d 20 30 78 30 30 30 TTORIGHT = 0x000
0560: 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 1 }..enum : uint
0570: 20 7b 20 43 32 5f 52 49 47 48 54 54 4f 4c 45 46 { C2_RIGHTTOLEF
0580: 54 20 3d 20 30 78 30 30 30 32 20 7d 0d 0a 0d 0a T = 0x0002 }....
0590: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 32 enum : uint { C2
05a0: 5f 45 55 52 4f 50 45 4e 55 4d 42 45 52 20 3d 20 _EUROPENUMBER =
05b0: 30 78 30 30 30 33 20 7d 0d 0a 65 6e 75 6d 20 3a 0x0003 }..enum :
05c0: 20 75 69 6e 74 20 7b 20 43 32 5f 45 55 52 4f 50 uint { C2_EUROP
05d0: 45 53 45 50 41 52 41 54 4f 52 20 3d 20 30 78 30 ESEPARATOR = 0x0
05e0: 30 30 34 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 004 }..enum : ui
05f0: 6e 74 20 7b 20 43 32 5f 45 55 52 4f 50 45 54 45 nt { C2_EUROPETE
0600: 52 4d 49 4e 41 54 4f 52 20 3d 20 30 78 30 30 30 RMINATOR = 0x000
0610: 35 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 5 }..enum : uint
0620: 20 7b 20 43 32 5f 41 52 41 42 49 43 4e 55 4d 42 { C2_ARABICNUMB
0630: 45 52 20 3d 20 30 78 30 30 30 36 20 7d 0d 0a 65 ER = 0x0006 }..e
0640: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 32 5f num : uint { C2_
0650: 43 4f 4d 4d 4f 4e 53 45 50 41 52 41 54 4f 52 20 COMMONSEPARATOR
0660: 3d 20 30 78 30 30 30 37 20 7d 0d 0a 0d 0a 65 6e = 0x0007 }....en
0670: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 32 5f 42 um : uint { C2_B
0680: 4c 4f 43 4b 53 45 50 41 52 41 54 4f 52 20 3d 20 LOCKSEPARATOR =
0690: 30 78 30 30 30 38 20 7d 0d 0a 65 6e 75 6d 20 3a 0x0008 }..enum :
06a0: 20 75 69 6e 74 20 7b 20 43 32 5f 53 45 47 4d 45 uint { C2_SEGME
06b0: 4e 54 53 45 50 41 52 41 54 4f 52 20 3d 20 30 78 NTSEPARATOR = 0x
06c0: 30 30 30 39 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0009 }..enum : u
06d0: 69 6e 74 20 7b 20 43 32 5f 57 48 49 54 45 53 50 int { C2_WHITESP
06e0: 41 43 45 20 3d 20 30 78 30 30 30 41 20 7d 0d 0a ACE = 0x000A }..
06f0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 32 enum : uint { C2
0700: 5f 4f 54 48 45 52 4e 45 55 54 52 41 4c 20 3d 20 _OTHERNEUTRAL =
0710: 30 78 30 30 30 42 20 7d 0d 0a 0d 0a 65 6e 75 6d 0x000B }....enum
0720: 20 3a 20 75 69 6e 74 20 7b 20 43 32 5f 4e 4f 54 : uint { C2_NOT
0730: 41 50 50 4c 49 43 41 42 4c 45 20 3d 20 30 78 30 APPLICABLE = 0x0
0740: 30 30 30 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 000 }....enum :
0750: 75 69 6e 74 20 7b 20 43 33 5f 4e 4f 4e 53 50 41 uint { C3_NONSPA
0760: 43 49 4e 47 20 3d 20 30 78 30 30 30 31 20 7d 0d CING = 0x0001 }.
0770: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 .enum : uint { C
0780: 33 5f 44 49 41 43 52 49 54 49 43 20 3d 20 30 78 3_DIACRITIC = 0x
0790: 30 30 30 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0002 }..enum : u
07a0: 69 6e 74 20 7b 20 43 33 5f 56 4f 57 45 4c 4d 41 int { C3_VOWELMA
07b0: 52 4b 20 3d 20 30 78 30 30 30 34 20 7d 0d 0a 65 RK = 0x0004 }..e
07c0: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 33 5f num : uint { C3_
07d0: 53 59 4d 42 4f 4c 20 3d 20 30 78 30 30 30 38 20 SYMBOL = 0x0008
07e0: 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 }....enum : uint
07f0: 20 7b 20 43 33 5f 4b 41 54 41 4b 41 4e 41 20 3d { C3_KATAKANA =
0800: 20 30 78 30 30 31 30 20 7d 0d 0a 65 6e 75 6d 20 0x0010 }..enum
0810: 3a 20 75 69 6e 74 20 7b 20 43 33 5f 48 49 52 41 : uint { C3_HIRA
0820: 47 41 4e 41 20 3d 20 30 78 30 30 32 30 20 7d 0d GANA = 0x0020 }.
0830: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 .enum : uint { C
0840: 33 5f 48 41 4c 46 57 49 44 54 48 20 3d 20 30 78 3_HALFWIDTH = 0x
0850: 30 30 34 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0040 }..enum : u
0860: 69 6e 74 20 7b 20 43 33 5f 46 55 4c 4c 57 49 44 int { C3_FULLWID
0870: 54 48 20 3d 20 30 78 30 30 38 30 20 7d 0d 0a 65 TH = 0x0080 }..e
0880: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 33 5f num : uint { C3_
0890: 49 44 45 4f 47 52 41 50 48 20 3d 20 30 78 30 31 IDEOGRAPH = 0x01
08a0: 30 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 00 }..enum : uin
08b0: 74 20 7b 20 43 33 5f 4b 41 53 48 49 44 41 20 3d t { C3_KASHIDA =
08c0: 20 30 78 30 32 30 30 20 7d 0d 0a 65 6e 75 6d 20 0x0200 }..enum
08d0: 3a 20 75 69 6e 74 20 7b 20 43 33 5f 4c 45 58 49 : uint { C3_LEXI
08e0: 43 41 4c 20 3d 20 30 78 30 34 30 30 20 7d 0d 0a CAL = 0x0400 }..
08f0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
0900: 43 33 5f 41 4c 50 48 41 20 3d 20 30 78 38 30 30 C3_ALPHA = 0x800
0910: 30 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 0 }....enum : ui
0920: 6e 74 20 7b 20 43 33 5f 4e 4f 54 41 50 50 4c 49 nt { C3_NOTAPPLI
0930: 43 41 42 4c 45 20 3d 20 30 78 30 30 30 30 20 7d CABLE = 0x0000 }
0940: 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 ....enum : uint
0950: 7b 20 4e 4f 52 4d 5f 49 47 4e 4f 52 45 43 41 53 { NORM_IGNORECAS
0960: 45 20 3d 20 30 78 30 30 30 30 30 30 30 31 20 7d E = 0x00000001 }
0970: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
0980: 4e 4f 52 4d 5f 49 47 4e 4f 52 45 4e 4f 4e 53 50 NORM_IGNORENONSP
0990: 41 43 45 20 3d 20 30 78 30 30 30 30 30 30 30 32 ACE = 0x00000002
09a0: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
09b0: 7b 20 4e 4f 52 4d 5f 49 47 4e 4f 52 45 53 59 4d { NORM_IGNORESYM
09c0: 42 4f 4c 53 20 3d 20 30 78 30 30 30 30 30 30 30 BOLS = 0x0000000
09d0: 34 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 4 }....enum : ui
09e0: 6e 74 20 7b 20 4e 4f 52 4d 5f 49 47 4e 4f 52 45 nt { NORM_IGNORE
09f0: 4b 41 4e 41 54 59 50 45 20 3d 20 30 78 30 30 30 KANATYPE = 0x000
0a00: 31 30 30 30 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 10000 }..enum :
0a10: 75 69 6e 74 20 7b 20 4e 4f 52 4d 5f 49 47 4e 4f uint { NORM_IGNO
0a20: 52 45 57 49 44 54 48 20 3d 20 30 78 30 30 30 32 REWIDTH = 0x0002
0a30: 30 30 30 30 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 0000 }....enum :
0a40: 20 75 69 6e 74 20 7b 20 4d 41 50 5f 46 4f 4c 44 uint { MAP_FOLD
0a50: 43 5a 4f 4e 45 20 3d 20 30 78 30 30 30 30 30 30 CZONE = 0x000000
0a60: 31 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 10 }..enum : uin
0a70: 74 20 7b 20 4d 41 50 5f 50 52 45 43 4f 4d 50 4f t { MAP_PRECOMPO
0a80: 53 45 44 20 3d 20 30 78 30 30 30 30 30 30 32 30 SED = 0x00000020
0a90: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
0aa0: 7b 20 4d 41 50 5f 43 4f 4d 50 4f 53 49 54 45 20 { MAP_COMPOSITE
0ab0: 3d 20 30 78 30 30 30 30 30 30 34 30 20 7d 0d 0a = 0x00000040 }..
0ac0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4d 41 enum : uint { MA
0ad0: 50 5f 46 4f 4c 44 44 49 47 49 54 53 20 3d 20 30 P_FOLDDIGITS = 0
0ae0: 78 30 30 30 30 30 30 38 30 20 7d 0d 0a 0d 0a 2f x00000080 }..../
0af0: 2f 20 23 69 66 28 57 49 4e 56 45 52 20 3e 3d 20 / #if(WINVER >=
0b00: 30 78 30 35 30 30 29 0d 0a 65 6e 75 6d 20 3a 20 0x0500)..enum :
0b10: 75 69 6e 74 20 7b 20 4d 41 50 5f 45 58 50 41 4e uint { MAP_EXPAN
0b20: 44 5f 4c 49 47 41 54 55 52 45 53 20 3d 20 30 78 D_LIGATURES = 0x
0b30: 30 30 30 30 32 30 30 30 20 7d 0d 0a 2f 2f 20 23 00002000 }..// #
0b40: 65 6e 64 69 66 20 2f 2a 20 57 49 4e 56 45 52 20 endif /* WINVER
0b50: 3e 3d 20 30 78 30 35 30 30 20 2a 2f 0d 0a 0d 0a >= 0x0500 */....
0b60: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 43 enum : uint { LC
0b70: 4d 41 50 5f 4c 4f 57 45 52 43 41 53 45 20 3d 20 MAP_LOWERCASE =
0b80: 30 78 30 30 30 30 30 31 30 30 20 7d 0d 0a 65 6e 0x00000100 }..en
0b90: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 43 4d 41 um : uint { LCMA
0ba0: 50 5f 55 50 50 45 52 43 41 53 45 20 3d 20 30 78 P_UPPERCASE = 0x
0bb0: 30 30 30 30 30 32 30 30 20 7d 0d 0a 65 6e 75 6d 00000200 }..enum
0bc0: 20 3a 20 75 69 6e 74 20 7b 20 4c 43 4d 41 50 5f : uint { LCMAP_
0bd0: 53 4f 52 54 4b 45 59 20 3d 20 30 78 30 30 30 30 SORTKEY = 0x0000
0be0: 30 34 30 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0400 }..enum : u
0bf0: 69 6e 74 20 7b 20 4c 43 4d 41 50 5f 42 59 54 45 int { LCMAP_BYTE
0c00: 52 45 56 20 3d 20 30 78 30 30 30 30 30 38 30 30 REV = 0x00000800
0c10: 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e }....enum : uin
0c20: 74 20 7b 20 4c 43 4d 41 50 5f 48 49 52 41 47 41 t { LCMAP_HIRAGA
0c30: 4e 41 20 3d 20 30 78 30 30 31 30 30 30 30 30 20 NA = 0x00100000
0c40: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
0c50: 20 4c 43 4d 41 50 5f 4b 41 54 41 4b 41 4e 41 20 LCMAP_KATAKANA
0c60: 3d 20 30 78 30 30 32 30 30 30 30 30 20 7d 0d 0a = 0x00200000 }..
0c70: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 43 enum : uint { LC
0c80: 4d 41 50 5f 48 41 4c 46 57 49 44 54 48 20 3d 20 MAP_HALFWIDTH =
0c90: 30 78 30 30 34 30 30 30 30 30 20 7d 0d 0a 65 6e 0x00400000 }..en
0ca0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 43 4d 41 um : uint { LCMA
0cb0: 50 5f 46 55 4c 4c 57 49 44 54 48 20 3d 20 30 78 P_FULLWIDTH = 0x
0cc0: 30 30 38 30 30 30 30 30 20 7d 0d 0a 0d 0a 65 6e 00800000 }....en
0cd0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 43 4d 41 um : uint { LCMA
0ce0: 50 5f 4c 49 4e 47 55 49 53 54 49 43 5f 43 41 53 P_LINGUISTIC_CAS
0cf0: 49 4e 47 20 3d 20 30 78 30 31 30 30 30 30 30 30 ING = 0x01000000
0d00: 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e }....enum : uin
0d10: 74 20 7b 20 4c 43 4d 41 50 5f 53 49 4d 50 4c 49 t { LCMAP_SIMPLI
0d20: 46 49 45 44 5f 43 48 49 4e 45 53 45 20 3d 20 30 FIED_CHINESE = 0
0d30: 78 30 32 30 30 30 30 30 30 20 7d 0d 0a 65 6e 75 x02000000 }..enu
0d40: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 43 4d 41 50 m : uint { LCMAP
0d50: 5f 54 52 41 44 49 54 49 4f 4e 41 4c 5f 43 48 49 _TRADITIONAL_CHI
0d60: 4e 45 53 45 20 3d 20 30 78 30 34 30 30 30 30 30 NESE = 0x0400000
0d70: 30 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 0 }....enum : ui
0d80: 6e 74 20 7b 20 4c 47 52 50 49 44 5f 49 4e 53 54 nt { LGRPID_INST
0d90: 41 4c 4c 45 44 20 3d 20 30 78 30 30 30 30 30 30 ALLED = 0x000000
0da0: 30 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 01 }..enum : uin
0db0: 74 20 7b 20 4c 47 52 50 49 44 5f 53 55 50 50 4f t { LGRPID_SUPPO
0dc0: 52 54 45 44 20 3d 20 30 78 30 30 30 30 30 30 30 RTED = 0x0000000
0dd0: 32 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 2 }....enum : ui
0de0: 6e 74 20 7b 20 4c 43 49 44 5f 49 4e 53 54 41 4c nt { LCID_INSTAL
0df0: 4c 45 44 20 3d 20 30 78 30 30 30 30 30 30 30 31 LED = 0x00000001
0e00: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
0e10: 7b 20 4c 43 49 44 5f 53 55 50 50 4f 52 54 45 44 { LCID_SUPPORTED
0e20: 20 3d 20 30 78 30 30 30 30 30 30 30 32 20 7d 0d = 0x00000002 }.
0e30: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c .enum : uint { L
0e40: 43 49 44 5f 41 4c 54 45 52 4e 41 54 45 5f 53 4f CID_ALTERNATE_SO
0e50: 52 54 53 20 3d 20 30 78 30 30 30 30 30 30 30 34 RTS = 0x00000004
0e60: 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e }....enum : uin
0e70: 74 20 7b 20 43 50 5f 49 4e 53 54 41 4c 4c 45 44 t { CP_INSTALLED
0e80: 20 3d 20 30 78 30 30 30 30 30 30 30 31 20 7d 0d = 0x00000001 }.
0e90: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 .enum : uint { C
0ea0: 50 5f 53 55 50 50 4f 52 54 45 44 20 3d 20 30 78 P_SUPPORTED = 0x
0eb0: 30 30 30 30 30 30 30 32 20 7d 0d 0a 0d 0a 65 6e 00000002 }....en
0ec0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 53 4f 52 54 um : uint { SORT
0ed0: 5f 53 54 52 49 4e 47 53 4f 52 54 20 3d 20 30 78 _STRINGSORT = 0x
0ee0: 30 30 30 30 31 30 30 30 20 7d 0d 0a 0d 0a 65 6e 00001000 }....en
0ef0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 53 54 52 um : uint { CSTR
0f00: 5f 4c 45 53 53 5f 54 48 41 4e 20 3d 20 31 20 7d _LESS_THAN = 1 }
0f10: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
0f20: 43 53 54 52 5f 45 51 55 41 4c 20 3d 20 32 20 7d CSTR_EQUAL = 2 }
0f30: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
0f40: 43 53 54 52 5f 47 52 45 41 54 45 52 5f 54 48 41 CSTR_GREATER_THA
0f50: 4e 20 3d 20 33 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 N = 3 }....enum
0f60: 3a 20 75 69 6e 74 20 7b 20 43 50 5f 41 43 50 20 : uint { CP_ACP
0f70: 3d 20 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 = 0 }..enum : ui
0f80: 6e 74 20 7b 20 43 50 5f 4f 45 4d 43 50 20 3d 20 nt { CP_OEMCP =
0f90: 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 1 }..enum : uint
0fa0: 20 7b 20 43 50 5f 4d 41 43 43 50 20 3d 20 32 20 { CP_MACCP = 2
0fb0: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
0fc0: 20 43 50 5f 54 48 52 45 41 44 5f 41 43 50 20 3d CP_THREAD_ACP =
0fd0: 20 33 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 3 }..enum : uin
0fe0: 74 20 7b 20 43 50 5f 53 59 4d 42 4f 4c 20 3d 20 t { CP_SYMBOL =
0ff0: 34 32 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 42 }....enum : u
1000: 69 6e 74 20 7b 20 43 50 5f 55 54 46 37 20 3d 20 int { CP_UTF7 =
1010: 36 35 30 30 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 65000 }..enum :
1020: 75 69 6e 74 20 7b 20 43 50 5f 55 54 46 38 20 3d uint { CP_UTF8 =
1030: 20 36 35 30 30 31 20 7d 0d 0a 0d 0a 65 6e 75 6d 65001 }....enum
1040: 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 44 : uint { CTRY_D
1050: 45 46 41 55 4c 54 20 3d 20 30 20 7d 0d 0a 0d 0a EFAULT = 0 }....
1060: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
1070: 52 59 5f 41 4c 42 41 4e 49 41 20 3d 20 33 35 35 RY_ALBANIA = 355
1080: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
1090: 7b 20 43 54 52 59 5f 41 4c 47 45 52 49 41 20 3d { CTRY_ALGERIA =
10a0: 20 32 31 33 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 213 }..enum : u
10b0: 69 6e 74 20 7b 20 43 54 52 59 5f 41 52 47 45 4e int { CTRY_ARGEN
10c0: 54 49 4e 41 20 3d 20 35 34 20 7d 0d 0a 65 6e 75 TINA = 54 }..enu
10d0: 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f m : uint { CTRY_
10e0: 41 52 4d 45 4e 49 41 20 3d 20 33 37 34 20 7d 0d ARMENIA = 374 }.
10f0: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 .enum : uint { C
1100: 54 52 59 5f 41 55 53 54 52 41 4c 49 41 20 3d 20 TRY_AUSTRALIA =
1110: 36 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 61 }..enum : uin
1120: 74 20 7b 20 43 54 52 59 5f 41 55 53 54 52 49 41 t { CTRY_AUSTRIA
1130: 20 3d 20 34 33 20 7d 0d 0a 65 6e 75 6d 20 3a 20 = 43 }..enum :
1140: 75 69 6e 74 20 7b 20 43 54 52 59 5f 41 5a 45 52 uint { CTRY_AZER
1150: 42 41 49 4a 41 4e 20 3d 20 39 39 34 20 7d 0d 0a BAIJAN = 994 }..
1160: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
1170: 52 59 5f 42 41 48 52 41 49 4e 20 3d 20 39 37 33 RY_BAHRAIN = 973
1180: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
1190: 7b 20 43 54 52 59 5f 42 45 4c 41 52 55 53 20 3d { CTRY_BELARUS =
11a0: 20 33 37 35 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 375 }..enum : u
11b0: 69 6e 74 20 7b 20 43 54 52 59 5f 42 45 4c 47 49 int { CTRY_BELGI
11c0: 55 4d 20 3d 20 33 32 20 7d 0d 0a 65 6e 75 6d 20 UM = 32 }..enum
11d0: 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 42 45 : uint { CTRY_BE
11e0: 4c 49 5a 45 20 3d 20 35 30 31 20 7d 0d 0a 65 6e LIZE = 501 }..en
11f0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 um : uint { CTRY
1200: 5f 42 4f 4c 49 56 49 41 20 3d 20 35 39 31 20 7d _BOLIVIA = 591 }
1210: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
1220: 43 54 52 59 5f 42 52 41 5a 49 4c 20 3d 20 35 35 CTRY_BRAZIL = 55
1230: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
1240: 7b 20 43 54 52 59 5f 42 52 55 4e 45 49 5f 44 41 { CTRY_BRUNEI_DA
1250: 52 55 53 53 41 4c 41 4d 20 3d 20 36 37 33 20 7d RUSSALAM = 673 }
1260: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
1270: 43 54 52 59 5f 42 55 4c 47 41 52 49 41 20 3d 20 CTRY_BULGARIA =
1280: 33 35 39 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 359 }..enum : ui
1290: 6e 74 20 7b 20 43 54 52 59 5f 43 41 4e 41 44 41 nt { CTRY_CANADA
12a0: 20 3d 20 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 = 2 }..enum : u
12b0: 69 6e 74 20 7b 20 43 54 52 59 5f 43 41 52 49 42 int { CTRY_CARIB
12c0: 42 45 41 4e 20 3d 20 31 20 7d 0d 0a 65 6e 75 6d BEAN = 1 }..enum
12d0: 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 43 : uint { CTRY_C
12e0: 48 49 4c 45 20 3d 20 35 36 20 7d 0d 0a 65 6e 75 HILE = 56 }..enu
12f0: 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f m : uint { CTRY_
1300: 43 4f 4c 4f 4d 42 49 41 20 3d 20 35 37 20 7d 0d COLOMBIA = 57 }.
1310: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 .enum : uint { C
1320: 54 52 59 5f 43 4f 53 54 41 5f 52 49 43 41 20 3d TRY_COSTA_RICA =
1330: 20 35 30 36 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 506 }..enum : u
1340: 69 6e 74 20 7b 20 43 54 52 59 5f 43 52 4f 41 54 int { CTRY_CROAT
1350: 49 41 20 3d 20 33 38 35 20 7d 0d 0a 65 6e 75 6d IA = 385 }..enum
1360: 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 43 : uint { CTRY_C
1370: 5a 45 43 48 20 3d 20 34 32 30 20 7d 0d 0a 65 6e ZECH = 420 }..en
1380: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 um : uint { CTRY
1390: 5f 44 45 4e 4d 41 52 4b 20 3d 20 34 35 20 7d 0d _DENMARK = 45 }.
13a0: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 .enum : uint { C
13b0: 54 52 59 5f 44 4f 4d 49 4e 49 43 41 4e 5f 52 45 TRY_DOMINICAN_RE
13c0: 50 55 42 4c 49 43 20 3d 20 31 20 7d 0d 0a 65 6e PUBLIC = 1 }..en
13d0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 um : uint { CTRY
13e0: 5f 45 43 55 41 44 4f 52 20 3d 20 35 39 33 20 7d _ECUADOR = 593 }
13f0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
1400: 43 54 52 59 5f 45 47 59 50 54 20 3d 20 32 30 20 CTRY_EGYPT = 20
1410: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
1420: 20 43 54 52 59 5f 45 4c 5f 53 41 4c 56 41 44 4f CTRY_EL_SALVADO
1430: 52 20 3d 20 35 30 33 20 7d 0d 0a 65 6e 75 6d 20 R = 503 }..enum
1440: 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 45 53 : uint { CTRY_ES
1450: 54 4f 4e 49 41 20 3d 20 33 37 32 20 7d 0d 0a 65 TONIA = 372 }..e
1460: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 num : uint { CTR
1470: 59 5f 46 41 45 52 4f 45 5f 49 53 4c 41 4e 44 53 Y_FAEROE_ISLANDS
1480: 20 3d 20 32 39 38 20 7d 0d 0a 65 6e 75 6d 20 3a = 298 }..enum :
1490: 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 46 49 4e uint { CTRY_FIN
14a0: 4c 41 4e 44 20 3d 20 33 35 38 20 7d 0d 0a 65 6e LAND = 358 }..en
14b0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 um : uint { CTRY
14c0: 5f 46 52 41 4e 43 45 20 3d 20 33 33 20 7d 0d 0a _FRANCE = 33 }..
14d0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
14e0: 52 59 5f 47 45 4f 52 47 49 41 20 3d 20 39 39 35 RY_GEORGIA = 995
14f0: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
1500: 7b 20 43 54 52 59 5f 47 45 52 4d 41 4e 59 20 3d { CTRY_GERMANY =
1510: 20 34 39 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 49 }..enum : ui
1520: 6e 74 20 7b 20 43 54 52 59 5f 47 52 45 45 43 45 nt { CTRY_GREECE
1530: 20 3d 20 33 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 = 30 }..enum :
1540: 75 69 6e 74 20 7b 20 43 54 52 59 5f 47 55 41 54 uint { CTRY_GUAT
1550: 45 4d 41 4c 41 20 3d 20 35 30 32 20 7d 0d 0a 65 EMALA = 502 }..e
1560: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 num : uint { CTR
1570: 59 5f 48 4f 4e 44 55 52 41 53 20 3d 20 35 30 34 Y_HONDURAS = 504
1580: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
1590: 7b 20 43 54 52 59 5f 48 4f 4e 47 5f 4b 4f 4e 47 { CTRY_HONG_KONG
15a0: 20 3d 20 38 35 32 20 7d 0d 0a 65 6e 75 6d 20 3a = 852 }..enum :
15b0: 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 48 55 4e uint { CTRY_HUN
15c0: 47 41 52 59 20 3d 20 33 36 20 7d 0d 0a 65 6e 75 GARY = 36 }..enu
15d0: 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f m : uint { CTRY_
15e0: 49 43 45 4c 41 4e 44 20 3d 20 33 35 34 20 7d 0d ICELAND = 354 }.
15f0: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 .enum : uint { C
1600: 54 52 59 5f 49 4e 44 49 41 20 3d 20 39 31 20 7d TRY_INDIA = 91 }
1610: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
1620: 43 54 52 59 5f 49 4e 44 4f 4e 45 53 49 41 20 3d CTRY_INDONESIA =
1630: 20 36 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 62 }..enum : ui
1640: 6e 74 20 7b 20 43 54 52 59 5f 49 52 41 4e 20 3d nt { CTRY_IRAN =
1650: 20 39 38 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 981 }..enum : u
1660: 69 6e 74 20 7b 20 43 54 52 59 5f 49 52 41 51 20 int { CTRY_IRAQ
1670: 3d 20 39 36 34 20 7d 0d 0a 65 6e 75 6d 20 3a 20 = 964 }..enum :
1680: 75 69 6e 74 20 7b 20 43 54 52 59 5f 49 52 45 4c uint { CTRY_IREL
1690: 41 4e 44 20 3d 20 33 35 33 20 7d 0d 0a 65 6e 75 AND = 353 }..enu
16a0: 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f m : uint { CTRY_
16b0: 49 53 52 41 45 4c 20 3d 20 39 37 32 20 7d 0d 0a ISRAEL = 972 }..
16c0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
16d0: 52 59 5f 49 54 41 4c 59 20 3d 20 33 39 20 7d 0d RY_ITALY = 39 }.
16e0: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 .enum : uint { C
16f0: 54 52 59 5f 4a 41 4d 41 49 43 41 20 3d 20 31 20 TRY_JAMAICA = 1
1700: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
1710: 20 43 54 52 59 5f 4a 41 50 41 4e 20 3d 20 38 31 CTRY_JAPAN = 81
1720: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
1730: 7b 20 43 54 52 59 5f 4a 4f 52 44 41 4e 20 3d 20 { CTRY_JORDAN =
1740: 39 36 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 962 }..enum : ui
1750: 6e 74 20 7b 20 43 54 52 59 5f 4b 41 5a 41 4b 53 nt { CTRY_KAZAKS
1760: 54 41 4e 20 3d 20 37 20 7d 0d 0a 65 6e 75 6d 20 TAN = 7 }..enum
1770: 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 4b 45 : uint { CTRY_KE
1780: 4e 59 41 20 3d 20 32 35 34 20 7d 0d 0a 65 6e 75 NYA = 254 }..enu
1790: 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f m : uint { CTRY_
17a0: 4b 55 57 41 49 54 20 3d 20 39 36 35 20 7d 0d 0a KUWAIT = 965 }..
17b0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
17c0: 52 59 5f 4b 59 52 47 59 5a 53 54 41 4e 20 3d 20 RY_KYRGYZSTAN =
17d0: 39 39 36 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 996 }..enum : ui
17e0: 6e 74 20 7b 20 43 54 52 59 5f 4c 41 54 56 49 41 nt { CTRY_LATVIA
17f0: 20 3d 20 33 37 31 20 7d 0d 0a 65 6e 75 6d 20 3a = 371 }..enum :
1800: 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 4c 45 42 uint { CTRY_LEB
1810: 41 4e 4f 4e 20 3d 20 39 36 31 20 7d 0d 0a 65 6e ANON = 961 }..en
1820: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 um : uint { CTRY
1830: 5f 4c 49 42 59 41 20 3d 20 32 31 38 20 7d 0d 0a _LIBYA = 218 }..
1840: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
1850: 52 59 5f 4c 49 45 43 48 54 45 4e 53 54 45 49 4e RY_LIECHTENSTEIN
1860: 20 3d 20 34 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 = 41 }..enum :
1870: 75 69 6e 74 20 7b 20 43 54 52 59 5f 4c 49 54 48 uint { CTRY_LITH
1880: 55 41 4e 49 41 20 3d 20 33 37 30 20 7d 0d 0a 65 UANIA = 370 }..e
1890: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 num : uint { CTR
18a0: 59 5f 4c 55 58 45 4d 42 4f 55 52 47 20 3d 20 33 Y_LUXEMBOURG = 3
18b0: 35 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 52 }..enum : uin
18c0: 74 20 7b 20 43 54 52 59 5f 4d 41 43 41 55 20 3d t { CTRY_MACAU =
18d0: 20 38 35 33 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 853 }..enum : u
18e0: 69 6e 74 20 7b 20 43 54 52 59 5f 4d 41 43 45 44 int { CTRY_MACED
18f0: 4f 4e 49 41 20 3d 20 33 38 39 20 7d 0d 0a 65 6e ONIA = 389 }..en
1900: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 um : uint { CTRY
1910: 5f 4d 41 4c 41 59 53 49 41 20 3d 20 36 30 20 7d _MALAYSIA = 60 }
1920: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
1930: 43 54 52 59 5f 4d 41 4c 44 49 56 45 53 20 3d 20 CTRY_MALDIVES =
1940: 39 36 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 960 }..enum : ui
1950: 6e 74 20 7b 20 43 54 52 59 5f 4d 45 58 49 43 4f nt { CTRY_MEXICO
1960: 20 3d 20 35 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 = 52 }..enum :
1970: 75 69 6e 74 20 7b 20 43 54 52 59 5f 4d 4f 4e 41 uint { CTRY_MONA
1980: 43 4f 20 3d 20 33 33 20 7d 0d 0a 65 6e 75 6d 20 CO = 33 }..enum
1990: 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 4d 4f : uint { CTRY_MO
19a0: 4e 47 4f 4c 49 41 20 3d 20 39 37 36 20 7d 0d 0a NGOLIA = 976 }..
19b0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
19c0: 52 59 5f 4d 4f 52 4f 43 43 4f 20 3d 20 32 31 32 RY_MOROCCO = 212
19d0: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
19e0: 7b 20 43 54 52 59 5f 4e 45 54 48 45 52 4c 41 4e { CTRY_NETHERLAN
19f0: 44 53 20 3d 20 33 31 20 7d 0d 0a 65 6e 75 6d 20 DS = 31 }..enum
1a00: 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 4e 45 : uint { CTRY_NE
1a10: 57 5f 5a 45 41 4c 41 4e 44 20 3d 20 36 34 20 7d W_ZEALAND = 64 }
1a20: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
1a30: 43 54 52 59 5f 4e 49 43 41 52 41 47 55 41 20 3d CTRY_NICARAGUA =
1a40: 20 35 30 35 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 505 }..enum : u
1a50: 69 6e 74 20 7b 20 43 54 52 59 5f 4e 4f 52 57 41 int { CTRY_NORWA
1a60: 59 20 3d 20 34 37 20 7d 0d 0a 65 6e 75 6d 20 3a Y = 47 }..enum :
1a70: 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 4f 4d 41 uint { CTRY_OMA
1a80: 4e 20 3d 20 39 36 38 20 7d 0d 0a 65 6e 75 6d 20 N = 968 }..enum
1a90: 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 50 41 : uint { CTRY_PA
1aa0: 4b 49 53 54 41 4e 20 3d 20 39 32 20 7d 0d 0a 65 KISTAN = 92 }..e
1ab0: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 num : uint { CTR
1ac0: 59 5f 50 41 4e 41 4d 41 20 3d 20 35 30 37 20 7d Y_PANAMA = 507 }
1ad0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
1ae0: 43 54 52 59 5f 50 41 52 41 47 55 41 59 20 3d 20 CTRY_PARAGUAY =
1af0: 35 39 35 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 595 }..enum : ui
1b00: 6e 74 20 7b 20 43 54 52 59 5f 50 45 52 55 20 3d nt { CTRY_PERU =
1b10: 20 35 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 51 }..enum : ui
1b20: 6e 74 20 7b 20 43 54 52 59 5f 50 48 49 4c 49 50 nt { CTRY_PHILIP
1b30: 50 49 4e 45 53 20 3d 20 36 33 20 7d 0d 0a 65 6e PINES = 63 }..en
1b40: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 um : uint { CTRY
1b50: 5f 50 4f 4c 41 4e 44 20 3d 20 34 38 20 7d 0d 0a _POLAND = 48 }..
1b60: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
1b70: 52 59 5f 50 4f 52 54 55 47 41 4c 20 3d 20 33 35 RY_PORTUGAL = 35
1b80: 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 1 }..enum : uint
1b90: 20 7b 20 43 54 52 59 5f 50 52 43 48 49 4e 41 20 { CTRY_PRCHINA
1ba0: 3d 20 38 36 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 = 86 }..enum : u
1bb0: 69 6e 74 20 7b 20 43 54 52 59 5f 50 55 45 52 54 int { CTRY_PUERT
1bc0: 4f 5f 52 49 43 4f 20 3d 20 31 20 7d 0d 0a 65 6e O_RICO = 1 }..en
1bd0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 um : uint { CTRY
1be0: 5f 51 41 54 41 52 20 3d 20 39 37 34 20 7d 0d 0a _QATAR = 974 }..
1bf0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
1c00: 52 59 5f 52 4f 4d 41 4e 49 41 20 3d 20 34 30 20 RY_ROMANIA = 40
1c10: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
1c20: 20 43 54 52 59 5f 52 55 53 53 49 41 20 3d 20 37 CTRY_RUSSIA = 7
1c30: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
1c40: 7b 20 43 54 52 59 5f 53 41 55 44 49 5f 41 52 41 { CTRY_SAUDI_ARA
1c50: 42 49 41 20 3d 20 39 36 36 20 7d 0d 0a 65 6e 75 BIA = 966 }..enu
1c60: 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f m : uint { CTRY_
1c70: 53 45 52 42 49 41 20 3d 20 33 38 31 20 7d 0d 0a SERBIA = 381 }..
1c80: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 enum : uint { CT
1c90: 52 59 5f 53 49 4e 47 41 50 4f 52 45 20 3d 20 36 RY_SINGAPORE = 6
1ca0: 35 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 5 }..enum : uint
1cb0: 20 7b 20 43 54 52 59 5f 53 4c 4f 56 41 4b 20 3d { CTRY_SLOVAK =
1cc0: 20 34 32 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 421 }..enum : u
1cd0: 69 6e 74 20 7b 20 43 54 52 59 5f 53 4c 4f 56 45 int { CTRY_SLOVE
1ce0: 4e 49 41 20 3d 20 33 38 36 20 7d 0d 0a 65 6e 75 NIA = 386 }..enu
1cf0: 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f m : uint { CTRY_
1d00: 53 4f 55 54 48 5f 41 46 52 49 43 41 20 3d 20 32 SOUTH_AFRICA = 2
1d10: 37 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 7 }..enum : uint
1d20: 20 7b 20 43 54 52 59 5f 53 4f 55 54 48 5f 4b 4f { CTRY_SOUTH_KO
1d30: 52 45 41 20 3d 20 38 32 20 7d 0d 0a 65 6e 75 6d REA = 82 }..enum
1d40: 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 53 : uint { CTRY_S
1d50: 50 41 49 4e 20 3d 20 33 34 20 7d 0d 0a 65 6e 75 PAIN = 34 }..enu
1d60: 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f m : uint { CTRY_
1d70: 53 57 45 44 45 4e 20 3d 20 34 36 20 7d 0d 0a 65 SWEDEN = 46 }..e
1d80: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 num : uint { CTR
1d90: 59 5f 53 57 49 54 5a 45 52 4c 41 4e 44 20 3d 20 Y_SWITZERLAND =
1da0: 34 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 41 }..enum : uin
1db0: 74 20 7b 20 43 54 52 59 5f 53 59 52 49 41 20 3d t { CTRY_SYRIA =
1dc0: 20 39 36 33 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 963 }..enum : u
1dd0: 69 6e 74 20 7b 20 43 54 52 59 5f 54 41 49 57 41 int { CTRY_TAIWA
1de0: 4e 20 3d 20 38 38 36 20 7d 0d 0a 65 6e 75 6d 20 N = 886 }..enum
1df0: 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 54 41 : uint { CTRY_TA
1e00: 54 41 52 53 54 41 4e 20 3d 20 37 20 7d 0d 0a 65 TARSTAN = 7 }..e
1e10: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 num : uint { CTR
1e20: 59 5f 54 48 41 49 4c 41 4e 44 20 3d 20 36 36 20 Y_THAILAND = 66
1e30: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
1e40: 20 43 54 52 59 5f 54 52 49 4e 49 44 41 44 5f 59 CTRY_TRINIDAD_Y
1e50: 5f 54 4f 42 41 47 4f 20 3d 20 31 20 7d 0d 0a 65 _TOBAGO = 1 }..e
1e60: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 num : uint { CTR
1e70: 59 5f 54 55 4e 49 53 49 41 20 3d 20 32 31 36 20 Y_TUNISIA = 216
1e80: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
1e90: 20 43 54 52 59 5f 54 55 52 4b 45 59 20 3d 20 39 CTRY_TURKEY = 9
1ea0: 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 0 }..enum : uint
1eb0: 20 7b 20 43 54 52 59 5f 55 41 45 20 3d 20 39 37 { CTRY_UAE = 97
1ec0: 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 1 }..enum : uint
1ed0: 20 7b 20 43 54 52 59 5f 55 4b 52 41 49 4e 45 20 { CTRY_UKRAINE
1ee0: 3d 20 33 38 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 = 380 }..enum :
1ef0: 75 69 6e 74 20 7b 20 43 54 52 59 5f 55 4e 49 54 uint { CTRY_UNIT
1f00: 45 44 5f 4b 49 4e 47 44 4f 4d 20 3d 20 34 34 20 ED_KINGDOM = 44
1f10: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
1f20: 20 43 54 52 59 5f 55 4e 49 54 45 44 5f 53 54 41 CTRY_UNITED_STA
1f30: 54 45 53 20 3d 20 31 20 7d 0d 0a 65 6e 75 6d 20 TES = 1 }..enum
1f40: 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f 55 52 : uint { CTRY_UR
1f50: 55 47 55 41 59 20 3d 20 35 39 38 20 7d 0d 0a 65 UGUAY = 598 }..e
1f60: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 num : uint { CTR
1f70: 59 5f 55 5a 42 45 4b 49 53 54 41 4e 20 3d 20 37 Y_UZBEKISTAN = 7
1f80: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
1f90: 7b 20 43 54 52 59 5f 56 45 4e 45 5a 55 45 4c 41 { CTRY_VENEZUELA
1fa0: 20 3d 20 35 38 20 7d 0d 0a 65 6e 75 6d 20 3a 20 = 58 }..enum :
1fb0: 75 69 6e 74 20 7b 20 43 54 52 59 5f 56 49 45 54 uint { CTRY_VIET
1fc0: 5f 4e 41 4d 20 3d 20 38 34 20 7d 0d 0a 65 6e 75 _NAM = 84 }..enu
1fd0: 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 59 5f m : uint { CTRY_
1fe0: 59 45 4d 45 4e 20 3d 20 39 36 37 20 7d 0d 0a 65 YEMEN = 967 }..e
1ff0: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 54 52 num : uint { CTR
2000: 59 5f 5a 49 4d 42 41 42 57 45 20 3d 20 32 36 33 Y_ZIMBABWE = 263
2010: 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e }....enum : uin
2020: 74 20 7b 20 4c 4f 43 41 4c 45 5f 4e 4f 55 53 45 t { LOCALE_NOUSE
2030: 52 4f 56 45 52 52 49 44 45 20 3d 20 30 78 38 30 ROVERRIDE = 0x80
2040: 30 30 30 30 30 30 20 7d 0d 0a 65 6e 75 6d 20 3a 000000 }..enum :
2050: 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 55 uint { LOCALE_U
2060: 53 45 5f 43 50 5f 41 43 50 20 3d 20 30 78 34 30 SE_CP_ACP = 0x40
2070: 30 30 30 30 30 30 20 7d 0d 0a 0d 0a 2f 2f 20 23 000000 }....// #
2080: 69 66 28 57 49 4e 56 45 52 20 3e 3d 20 30 78 30 if(WINVER >= 0x0
2090: 34 30 30 29 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 400)..enum : uin
20a0: 74 20 7b 20 4c 4f 43 41 4c 45 5f 52 45 54 55 52 t { LOCALE_RETUR
20b0: 4e 5f 4e 55 4d 42 45 52 20 3d 20 30 78 32 30 30 N_NUMBER = 0x200
20c0: 30 30 30 30 30 20 7d 0d 0a 2f 2f 20 23 65 6e 64 00000 }..// #end
20d0: 69 66 20 2f 2a 20 57 49 4e 56 45 52 20 3e 3d 20 if /* WINVER >=
20e0: 30 78 30 34 30 30 20 2a 2f 0d 0a 0d 0a 65 6e 75 0x0400 */....enu
20f0: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
2100: 45 5f 49 4c 41 4e 47 55 41 47 45 20 3d 20 30 78 E_ILANGUAGE = 0x
2110: 30 30 30 30 30 30 30 31 20 7d 0d 0a 65 6e 75 6d 00000001 }..enum
2120: 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 : uint { LOCALE
2130: 5f 53 4c 41 4e 47 55 41 47 45 20 3d 20 30 78 30 _SLANGUAGE = 0x0
2140: 30 30 30 30 30 30 32 20 7d 0d 0a 65 6e 75 6d 20 0000002 }..enum
2150: 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f : uint { LOCALE_
2160: 53 45 4e 47 4c 41 4e 47 55 41 47 45 20 3d 20 30 SENGLANGUAGE = 0
2170: 78 30 30 30 30 31 30 30 31 20 7d 0d 0a 65 6e 75 x00001001 }..enu
2180: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
2190: 45 5f 53 41 42 42 52 45 56 4c 41 4e 47 4e 41 4d E_SABBREVLANGNAM
21a0: 45 20 3d 20 30 78 30 30 30 30 30 30 30 33 20 7d E = 0x00000003 }
21b0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
21c0: 4c 4f 43 41 4c 45 5f 53 4e 41 54 49 56 45 4c 41 LOCALE_SNATIVELA
21d0: 4e 47 4e 41 4d 45 20 3d 20 30 78 30 30 30 30 30 NGNAME = 0x00000
21e0: 30 30 34 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 004 }....enum :
21f0: 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 43 uint { LOCALE_IC
2200: 4f 55 4e 54 52 59 20 3d 20 30 78 30 30 30 30 30 OUNTRY = 0x00000
2210: 30 30 35 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 005 }..enum : ui
2220: 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 43 4f 55 nt { LOCALE_SCOU
2230: 4e 54 52 59 20 3d 20 30 78 30 30 30 30 30 30 30 NTRY = 0x0000000
2240: 36 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 6 }..enum : uint
2250: 20 7b 20 4c 4f 43 41 4c 45 5f 53 45 4e 47 43 4f { LOCALE_SENGCO
2260: 55 4e 54 52 59 20 3d 20 30 78 30 30 30 30 31 30 UNTRY = 0x000010
2270: 30 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 02 }..enum : uin
2280: 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 41 42 42 52 t { LOCALE_SABBR
2290: 45 56 43 54 52 59 4e 41 4d 45 20 3d 20 30 78 30 EVCTRYNAME = 0x0
22a0: 30 30 30 30 30 30 37 20 7d 0d 0a 65 6e 75 6d 20 0000007 }..enum
22b0: 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f : uint { LOCALE_
22c0: 53 4e 41 54 49 56 45 43 54 52 59 4e 41 4d 45 20 SNATIVECTRYNAME
22d0: 3d 20 30 78 30 30 30 30 30 30 30 38 20 7d 0d 0a = 0x00000008 }..
22e0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
22f0: 4c 4f 43 41 4c 45 5f 49 44 45 46 41 55 4c 54 4c LOCALE_IDEFAULTL
2300: 41 4e 47 55 41 47 45 20 3d 20 30 78 30 30 30 30 ANGUAGE = 0x0000
2310: 30 30 30 39 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0009 }..enum : u
2320: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 44 45 int { LOCALE_IDE
2330: 46 41 55 4c 54 43 4f 55 4e 54 52 59 20 3d 20 30 FAULTCOUNTRY = 0
2340: 78 30 30 30 30 30 30 30 41 20 7d 0d 0a 65 6e 75 x0000000A }..enu
2350: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
2360: 45 5f 49 44 45 46 41 55 4c 54 43 4f 44 45 50 41 E_IDEFAULTCODEPA
2370: 47 45 20 3d 20 30 78 30 30 30 30 30 30 30 42 20 GE = 0x0000000B
2380: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
2390: 20 4c 4f 43 41 4c 45 5f 49 44 45 46 41 55 4c 54 LOCALE_IDEFAULT
23a0: 41 4e 53 49 43 4f 44 45 50 41 47 45 20 3d 20 30 ANSICODEPAGE = 0
23b0: 78 30 30 30 30 31 30 30 34 20 7d 0d 0a 65 6e 75 x00001004 }..enu
23c0: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
23d0: 45 5f 49 44 45 46 41 55 4c 54 4d 41 43 43 4f 44 E_IDEFAULTMACCOD
23e0: 45 50 41 47 45 20 3d 20 30 78 30 30 30 30 31 30 EPAGE = 0x000010
23f0: 31 31 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 75 11 }....enum : u
2400: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 4c 49 int { LOCALE_SLI
2410: 53 54 20 3d 20 30 78 30 30 30 30 30 30 30 43 20 ST = 0x0000000C
2420: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
2430: 20 4c 4f 43 41 4c 45 5f 49 4d 45 41 53 55 52 45 LOCALE_IMEASURE
2440: 20 3d 20 30 78 30 30 30 30 30 30 30 44 20 7d 0d = 0x0000000D }.
2450: 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b ...enum : uint {
2460: 20 4c 4f 43 41 4c 45 5f 53 44 45 43 49 4d 41 4c LOCALE_SDECIMAL
2470: 20 3d 20 30 78 30 30 30 30 30 30 30 45 20 7d 0d = 0x0000000E }.
2480: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c .enum : uint { L
2490: 4f 43 41 4c 45 5f 53 54 48 4f 55 53 41 4e 44 20 OCALE_STHOUSAND
24a0: 3d 20 30 78 30 30 30 30 30 30 30 46 20 7d 0d 0a = 0x0000000F }..
24b0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f enum : uint { LO
24c0: 43 41 4c 45 5f 53 47 52 4f 55 50 49 4e 47 20 3d CALE_SGROUPING =
24d0: 20 30 78 30 30 30 30 30 30 31 30 20 7d 0d 0a 65 0x00000010 }..e
24e0: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 num : uint { LOC
24f0: 41 4c 45 5f 49 44 49 47 49 54 53 20 3d 20 30 78 ALE_IDIGITS = 0x
2500: 30 30 30 30 30 30 31 31 20 7d 0d 0a 65 6e 75 6d 00000011 }..enum
2510: 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 : uint { LOCALE
2520: 5f 49 4c 5a 45 52 4f 20 3d 20 30 78 30 30 30 30 _ILZERO = 0x0000
2530: 30 30 31 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0012 }..enum : u
2540: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 4e 45 int { LOCALE_INE
2550: 47 4e 55 4d 42 45 52 20 3d 20 30 78 30 30 30 30 GNUMBER = 0x0000
2560: 31 30 31 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 1010 }..enum : u
2570: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 4e 41 int { LOCALE_SNA
2580: 54 49 56 45 44 49 47 49 54 53 20 3d 20 30 78 30 TIVEDIGITS = 0x0
2590: 30 30 30 30 30 31 33 20 7d 0d 0a 0d 0a 65 6e 75 0000013 }....enu
25a0: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
25b0: 45 5f 53 43 55 52 52 45 4e 43 59 20 3d 20 30 78 E_SCURRENCY = 0x
25c0: 30 30 30 30 30 30 31 34 20 7d 0d 0a 65 6e 75 6d 00000014 }..enum
25d0: 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 : uint { LOCALE
25e0: 5f 53 49 4e 54 4c 53 59 4d 42 4f 4c 20 3d 20 30 _SINTLSYMBOL = 0
25f0: 78 30 30 30 30 30 30 31 35 20 7d 0d 0a 65 6e 75 x00000015 }..enu
2600: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
2610: 45 5f 53 4d 4f 4e 44 45 43 49 4d 41 4c 53 45 50 E_SMONDECIMALSEP
2620: 20 3d 20 30 78 30 30 30 30 30 30 31 36 20 7d 0d = 0x00000016 }.
2630: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c .enum : uint { L
2640: 4f 43 41 4c 45 5f 53 4d 4f 4e 54 48 4f 55 53 41 OCALE_SMONTHOUSA
2650: 4e 44 53 45 50 20 3d 20 30 78 30 30 30 30 30 30 NDSEP = 0x000000
2660: 31 37 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 17 }..enum : uin
2670: 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 4d 4f 4e 47 t { LOCALE_SMONG
2680: 52 4f 55 50 49 4e 47 20 3d 20 30 78 30 30 30 30 ROUPING = 0x0000
2690: 30 30 31 38 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0018 }..enum : u
26a0: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 43 55 int { LOCALE_ICU
26b0: 52 52 44 49 47 49 54 53 20 3d 20 30 78 30 30 30 RRDIGITS = 0x000
26c0: 30 30 30 31 39 20 7d 0d 0a 65 6e 75 6d 20 3a 20 00019 }..enum :
26d0: 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 49 uint { LOCALE_II
26e0: 4e 54 4c 43 55 52 52 44 49 47 49 54 53 20 3d 20 NTLCURRDIGITS =
26f0: 30 78 30 30 30 30 30 30 31 41 20 7d 0d 0a 65 6e 0x0000001A }..en
2700: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
2710: 4c 45 5f 49 43 55 52 52 45 4e 43 59 20 3d 20 30 LE_ICURRENCY = 0
2720: 78 30 30 30 30 30 30 31 42 20 7d 0d 0a 65 6e 75 x0000001B }..enu
2730: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
2740: 45 5f 49 4e 45 47 43 55 52 52 20 3d 20 30 78 30 E_INEGCURR = 0x0
2750: 30 30 30 30 30 31 43 20 7d 0d 0a 0d 0a 65 6e 75 000001C }....enu
2760: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
2770: 45 5f 53 44 41 54 45 20 3d 20 30 78 30 30 30 30 E_SDATE = 0x0000
2780: 30 30 31 44 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 001D }..enum : u
2790: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 54 49 int { LOCALE_STI
27a0: 4d 45 20 3d 20 30 78 30 30 30 30 30 30 31 45 20 ME = 0x0000001E
27b0: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
27c0: 20 4c 4f 43 41 4c 45 5f 53 53 48 4f 52 54 44 41 LOCALE_SSHORTDA
27d0: 54 45 20 3d 20 30 78 30 30 30 30 30 30 31 46 20 TE = 0x0000001F
27e0: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
27f0: 20 4c 4f 43 41 4c 45 5f 53 4c 4f 4e 47 44 41 54 LOCALE_SLONGDAT
2800: 45 20 3d 20 30 78 30 30 30 30 30 30 32 30 20 7d E = 0x00000020 }
2810: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
2820: 4c 4f 43 41 4c 45 5f 53 54 49 4d 45 46 4f 52 4d LOCALE_STIMEFORM
2830: 41 54 20 3d 20 30 78 30 30 30 30 31 30 30 33 20 AT = 0x00001003
2840: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
2850: 20 4c 4f 43 41 4c 45 5f 49 44 41 54 45 20 3d 20 LOCALE_IDATE =
2860: 30 78 30 30 30 30 30 30 32 31 20 7d 0d 0a 65 6e 0x00000021 }..en
2870: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
2880: 4c 45 5f 49 4c 44 41 54 45 20 3d 20 30 78 30 30 LE_ILDATE = 0x00
2890: 30 30 30 30 32 32 20 7d 0d 0a 65 6e 75 6d 20 3a 000022 }..enum :
28a0: 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 uint { LOCALE_I
28b0: 54 49 4d 45 20 3d 20 30 78 30 30 30 30 30 30 32 TIME = 0x0000002
28c0: 33 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 3 }..enum : uint
28d0: 20 7b 20 4c 4f 43 41 4c 45 5f 49 54 49 4d 45 4d { LOCALE_ITIMEM
28e0: 41 52 4b 50 4f 53 4e 20 3d 20 30 78 30 30 30 30 ARKPOSN = 0x0000
28f0: 31 30 30 35 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 1005 }..enum : u
2900: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 43 45 int { LOCALE_ICE
2910: 4e 54 55 52 59 20 3d 20 30 78 30 30 30 30 30 30 NTURY = 0x000000
2920: 32 34 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 24 }..enum : uin
2930: 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 54 4c 5a 45 t { LOCALE_ITLZE
2940: 52 4f 20 3d 20 30 78 30 30 30 30 30 30 32 35 20 RO = 0x00000025
2950: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
2960: 20 4c 4f 43 41 4c 45 5f 49 44 41 59 4c 5a 45 52 LOCALE_IDAYLZER
2970: 4f 20 3d 20 30 78 30 30 30 30 30 30 32 36 20 7d O = 0x00000026 }
2980: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
2990: 4c 4f 43 41 4c 45 5f 49 4d 4f 4e 4c 5a 45 52 4f LOCALE_IMONLZERO
29a0: 20 3d 20 30 78 30 30 30 30 30 30 32 37 20 7d 0d = 0x00000027 }.
29b0: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c .enum : uint { L
29c0: 4f 43 41 4c 45 5f 53 31 31 35 39 20 3d 20 30 78 OCALE_S1159 = 0x
29d0: 30 30 30 30 30 30 32 38 20 7d 0d 0a 65 6e 75 6d 00000028 }..enum
29e0: 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 : uint { LOCALE
29f0: 5f 53 32 33 35 39 20 3d 20 30 78 30 30 30 30 30 _S2359 = 0x00000
2a00: 30 32 39 20 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 029 }....enum :
2a10: 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 43 uint { LOCALE_IC
2a20: 41 4c 45 4e 44 41 52 54 59 50 45 20 3d 20 30 78 ALENDARTYPE = 0x
2a30: 30 30 30 30 31 30 30 39 20 7d 0d 0a 65 6e 75 6d 00001009 }..enum
2a40: 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 : uint { LOCALE
2a50: 5f 49 4f 50 54 49 4f 4e 41 4c 43 41 4c 45 4e 44 _IOPTIONALCALEND
2a60: 41 52 20 3d 20 30 78 30 30 30 30 31 30 30 42 20 AR = 0x0000100B
2a70: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
2a80: 20 4c 4f 43 41 4c 45 5f 49 46 49 52 53 54 44 41 LOCALE_IFIRSTDA
2a90: 59 4f 46 57 45 45 4b 20 3d 20 30 78 30 30 30 30 YOFWEEK = 0x0000
2aa0: 31 30 30 43 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 100C }..enum : u
2ab0: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 46 49 int { LOCALE_IFI
2ac0: 52 53 54 57 45 45 4b 4f 46 59 45 41 52 20 3d 20 RSTWEEKOFYEAR =
2ad0: 30 78 30 30 30 30 31 30 30 44 20 7d 0d 0a 0d 0a 0x0000100D }....
2ae0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f enum : uint { LO
2af0: 43 41 4c 45 5f 53 44 41 59 4e 41 4d 45 31 20 3d CALE_SDAYNAME1 =
2b00: 20 30 78 30 30 30 30 30 30 32 41 20 7d 0d 0a 65 0x0000002A }..e
2b10: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 num : uint { LOC
2b20: 41 4c 45 5f 53 44 41 59 4e 41 4d 45 32 20 3d 20 ALE_SDAYNAME2 =
2b30: 30 78 30 30 30 30 30 30 32 42 20 7d 0d 0a 65 6e 0x0000002B }..en
2b40: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
2b50: 4c 45 5f 53 44 41 59 4e 41 4d 45 33 20 3d 20 30 LE_SDAYNAME3 = 0
2b60: 78 30 30 30 30 30 30 32 43 20 7d 0d 0a 65 6e 75 x0000002C }..enu
2b70: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
2b80: 45 5f 53 44 41 59 4e 41 4d 45 34 20 3d 20 30 78 E_SDAYNAME4 = 0x
2b90: 30 30 30 30 30 30 32 44 20 7d 0d 0a 65 6e 75 6d 0000002D }..enum
2ba0: 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 : uint { LOCALE
2bb0: 5f 53 44 41 59 4e 41 4d 45 35 20 3d 20 30 78 30 _SDAYNAME5 = 0x0
2bc0: 30 30 30 30 30 32 45 20 7d 0d 0a 65 6e 75 6d 20 000002E }..enum
2bd0: 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f : uint { LOCALE_
2be0: 53 44 41 59 4e 41 4d 45 36 20 3d 20 30 78 30 30 SDAYNAME6 = 0x00
2bf0: 30 30 30 30 32 46 20 7d 0d 0a 65 6e 75 6d 20 3a 00002F }..enum :
2c00: 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 uint { LOCALE_S
2c10: 44 41 59 4e 41 4d 45 37 20 3d 20 30 78 30 30 30 DAYNAME7 = 0x000
2c20: 30 30 30 33 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 00030 }..enum :
2c30: 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 41 uint { LOCALE_SA
2c40: 42 42 52 45 56 44 41 59 4e 41 4d 45 31 20 3d 20 BBREVDAYNAME1 =
2c50: 30 78 30 30 30 30 30 30 33 31 20 7d 0d 0a 65 6e 0x00000031 }..en
2c60: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
2c70: 4c 45 5f 53 41 42 42 52 45 56 44 41 59 4e 41 4d LE_SABBREVDAYNAM
2c80: 45 32 20 3d 20 30 78 30 30 30 30 30 30 33 32 20 E2 = 0x00000032
2c90: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
2ca0: 20 4c 4f 43 41 4c 45 5f 53 41 42 42 52 45 56 44 LOCALE_SABBREVD
2cb0: 41 59 4e 41 4d 45 33 20 3d 20 30 78 30 30 30 30 AYNAME3 = 0x0000
2cc0: 30 30 33 33 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0033 }..enum : u
2cd0: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 41 42 int { LOCALE_SAB
2ce0: 42 52 45 56 44 41 59 4e 41 4d 45 34 20 3d 20 30 BREVDAYNAME4 = 0
2cf0: 78 30 30 30 30 30 30 33 34 20 7d 0d 0a 65 6e 75 x00000034 }..enu
2d00: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
2d10: 45 5f 53 41 42 42 52 45 56 44 41 59 4e 41 4d 45 E_SABBREVDAYNAME
2d20: 35 20 3d 20 30 78 30 30 30 30 30 30 33 35 20 7d 5 = 0x00000035 }
2d30: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
2d40: 4c 4f 43 41 4c 45 5f 53 41 42 42 52 45 56 44 41 LOCALE_SABBREVDA
2d50: 59 4e 41 4d 45 36 20 3d 20 30 78 30 30 30 30 30 YNAME6 = 0x00000
2d60: 30 33 36 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 036 }..enum : ui
2d70: 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 41 42 42 nt { LOCALE_SABB
2d80: 52 45 56 44 41 59 4e 41 4d 45 37 20 3d 20 30 78 REVDAYNAME7 = 0x
2d90: 30 30 30 30 30 30 33 37 20 7d 0d 0a 65 6e 75 6d 00000037 }..enum
2da0: 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 : uint { LOCALE
2db0: 5f 53 4d 4f 4e 54 48 4e 41 4d 45 31 20 3d 20 30 _SMONTHNAME1 = 0
2dc0: 78 30 30 30 30 30 30 33 38 20 7d 0d 0a 65 6e 75 x00000038 }..enu
2dd0: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
2de0: 45 5f 53 4d 4f 4e 54 48 4e 41 4d 45 32 20 3d 20 E_SMONTHNAME2 =
2df0: 30 78 30 30 30 30 30 30 33 39 20 7d 0d 0a 65 6e 0x00000039 }..en
2e00: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
2e10: 4c 45 5f 53 4d 4f 4e 54 48 4e 41 4d 45 33 20 3d LE_SMONTHNAME3 =
2e20: 20 30 78 30 30 30 30 30 30 33 41 20 7d 0d 0a 65 0x0000003A }..e
2e30: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 num : uint { LOC
2e40: 41 4c 45 5f 53 4d 4f 4e 54 48 4e 41 4d 45 34 20 ALE_SMONTHNAME4
2e50: 3d 20 30 78 30 30 30 30 30 30 33 42 20 7d 0d 0a = 0x0000003B }..
2e60: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f enum : uint { LO
2e70: 43 41 4c 45 5f 53 4d 4f 4e 54 48 4e 41 4d 45 35 CALE_SMONTHNAME5
2e80: 20 3d 20 30 78 30 30 30 30 30 30 33 43 20 7d 0d = 0x0000003C }.
2e90: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c .enum : uint { L
2ea0: 4f 43 41 4c 45 5f 53 4d 4f 4e 54 48 4e 41 4d 45 OCALE_SMONTHNAME
2eb0: 36 20 3d 20 30 78 30 30 30 30 30 30 33 44 20 7d 6 = 0x0000003D }
2ec0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
2ed0: 4c 4f 43 41 4c 45 5f 53 4d 4f 4e 54 48 4e 41 4d LOCALE_SMONTHNAM
2ee0: 45 37 20 3d 20 30 78 30 30 30 30 30 30 33 45 20 E7 = 0x0000003E
2ef0: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
2f00: 20 4c 4f 43 41 4c 45 5f 53 4d 4f 4e 54 48 4e 41 LOCALE_SMONTHNA
2f10: 4d 45 38 20 3d 20 30 78 30 30 30 30 30 30 33 46 ME8 = 0x0000003F
2f20: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
2f30: 7b 20 4c 4f 43 41 4c 45 5f 53 4d 4f 4e 54 48 4e { LOCALE_SMONTHN
2f40: 41 4d 45 39 20 3d 20 30 78 30 30 30 30 30 30 34 AME9 = 0x0000004
2f50: 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 0 }..enum : uint
2f60: 20 7b 20 4c 4f 43 41 4c 45 5f 53 4d 4f 4e 54 48 { LOCALE_SMONTH
2f70: 4e 41 4d 45 31 30 20 3d 20 30 78 30 30 30 30 30 NAME10 = 0x00000
2f80: 30 34 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 041 }..enum : ui
2f90: 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 4d 4f 4e nt { LOCALE_SMON
2fa0: 54 48 4e 41 4d 45 31 31 20 3d 20 30 78 30 30 30 THNAME11 = 0x000
2fb0: 30 30 30 34 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 00042 }..enum :
2fc0: 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 4d uint { LOCALE_SM
2fd0: 4f 4e 54 48 4e 41 4d 45 31 32 20 3d 20 30 78 30 ONTHNAME12 = 0x0
2fe0: 30 30 30 30 30 34 33 20 7d 0d 0a 65 6e 75 6d 20 0000043 }..enum
2ff0: 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f : uint { LOCALE_
3000: 53 4d 4f 4e 54 48 4e 41 4d 45 31 33 20 3d 20 30 SMONTHNAME13 = 0
3010: 78 30 30 30 30 31 30 30 45 20 7d 0d 0a 65 6e 75 x0000100E }..enu
3020: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
3030: 45 5f 53 41 42 42 52 45 56 4d 4f 4e 54 48 4e 41 E_SABBREVMONTHNA
3040: 4d 45 31 20 3d 20 30 78 30 30 30 30 30 30 34 34 ME1 = 0x00000044
3050: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
3060: 7b 20 4c 4f 43 41 4c 45 5f 53 41 42 42 52 45 56 { LOCALE_SABBREV
3070: 4d 4f 4e 54 48 4e 41 4d 45 32 20 3d 20 30 78 30 MONTHNAME2 = 0x0
3080: 30 30 30 30 30 34 35 20 7d 0d 0a 65 6e 75 6d 20 0000045 }..enum
3090: 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f : uint { LOCALE_
30a0: 53 41 42 42 52 45 56 4d 4f 4e 54 48 4e 41 4d 45 SABBREVMONTHNAME
30b0: 33 20 3d 20 30 78 30 30 30 30 30 30 34 36 20 7d 3 = 0x00000046 }
30c0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
30d0: 4c 4f 43 41 4c 45 5f 53 41 42 42 52 45 56 4d 4f LOCALE_SABBREVMO
30e0: 4e 54 48 4e 41 4d 45 34 20 3d 20 30 78 30 30 30 NTHNAME4 = 0x000
30f0: 30 30 30 34 37 20 7d 0d 0a 65 6e 75 6d 20 3a 20 00047 }..enum :
3100: 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 41 uint { LOCALE_SA
3110: 42 42 52 45 56 4d 4f 4e 54 48 4e 41 4d 45 35 20 BBREVMONTHNAME5
3120: 3d 20 30 78 30 30 30 30 30 30 34 38 20 7d 0d 0a = 0x00000048 }..
3130: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f enum : uint { LO
3140: 43 41 4c 45 5f 53 41 42 42 52 45 56 4d 4f 4e 54 CALE_SABBREVMONT
3150: 48 4e 41 4d 45 36 20 3d 20 30 78 30 30 30 30 30 HNAME6 = 0x00000
3160: 30 34 39 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 049 }..enum : ui
3170: 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 41 42 42 nt { LOCALE_SABB
3180: 52 45 56 4d 4f 4e 54 48 4e 41 4d 45 37 20 3d 20 REVMONTHNAME7 =
3190: 30 78 30 30 30 30 30 30 34 41 20 7d 0d 0a 65 6e 0x0000004A }..en
31a0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
31b0: 4c 45 5f 53 41 42 42 52 45 56 4d 4f 4e 54 48 4e LE_SABBREVMONTHN
31c0: 41 4d 45 38 20 3d 20 30 78 30 30 30 30 30 30 34 AME8 = 0x0000004
31d0: 42 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 B }..enum : uint
31e0: 20 7b 20 4c 4f 43 41 4c 45 5f 53 41 42 42 52 45 { LOCALE_SABBRE
31f0: 56 4d 4f 4e 54 48 4e 41 4d 45 39 20 3d 20 30 78 VMONTHNAME9 = 0x
3200: 30 30 30 30 30 30 34 43 20 7d 0d 0a 65 6e 75 6d 0000004C }..enum
3210: 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 : uint { LOCALE
3220: 5f 53 41 42 42 52 45 56 4d 4f 4e 54 48 4e 41 4d _SABBREVMONTHNAM
3230: 45 31 30 20 3d 20 30 78 30 30 30 30 30 30 34 44 E10 = 0x0000004D
3240: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
3250: 7b 20 4c 4f 43 41 4c 45 5f 53 41 42 42 52 45 56 { LOCALE_SABBREV
3260: 4d 4f 4e 54 48 4e 41 4d 45 31 31 20 3d 20 30 78 MONTHNAME11 = 0x
3270: 30 30 30 30 30 30 34 45 20 7d 0d 0a 65 6e 75 6d 0000004E }..enum
3280: 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 : uint { LOCALE
3290: 5f 53 41 42 42 52 45 56 4d 4f 4e 54 48 4e 41 4d _SABBREVMONTHNAM
32a0: 45 31 32 20 3d 20 30 78 30 30 30 30 30 30 34 46 E12 = 0x0000004F
32b0: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
32c0: 7b 20 4c 4f 43 41 4c 45 5f 53 41 42 42 52 45 56 { LOCALE_SABBREV
32d0: 4d 4f 4e 54 48 4e 41 4d 45 31 33 20 3d 20 30 78 MONTHNAME13 = 0x
32e0: 30 30 30 30 31 30 30 46 20 7d 0d 0a 0d 0a 65 6e 0000100F }....en
32f0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
3300: 4c 45 5f 53 50 4f 53 49 54 49 56 45 53 49 47 4e LE_SPOSITIVESIGN
3310: 20 3d 20 30 78 30 30 30 30 30 30 35 30 20 7d 0d = 0x00000050 }.
3320: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c .enum : uint { L
3330: 4f 43 41 4c 45 5f 53 4e 45 47 41 54 49 56 45 53 OCALE_SNEGATIVES
3340: 49 47 4e 20 3d 20 30 78 30 30 30 30 30 30 35 31 IGN = 0x00000051
3350: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
3360: 7b 20 4c 4f 43 41 4c 45 5f 49 50 4f 53 53 49 47 { LOCALE_IPOSSIG
3370: 4e 50 4f 53 4e 20 3d 20 30 78 30 30 30 30 30 30 NPOSN = 0x000000
3380: 35 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 52 }..enum : uin
3390: 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 4e 45 47 53 t { LOCALE_INEGS
33a0: 49 47 4e 50 4f 53 4e 20 3d 20 30 78 30 30 30 30 IGNPOSN = 0x0000
33b0: 30 30 35 33 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0053 }..enum : u
33c0: 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 50 4f int { LOCALE_IPO
33d0: 53 53 59 4d 50 52 45 43 45 44 45 53 20 3d 20 30 SSYMPRECEDES = 0
33e0: 78 30 30 30 30 30 30 35 34 20 7d 0d 0a 65 6e 75 x00000054 }..enu
33f0: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 4c m : uint { LOCAL
3400: 45 5f 49 50 4f 53 53 45 50 42 59 53 50 41 43 45 E_IPOSSEPBYSPACE
3410: 20 3d 20 30 78 30 30 30 30 30 30 35 35 20 7d 0d = 0x00000055 }.
3420: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c .enum : uint { L
3430: 4f 43 41 4c 45 5f 49 4e 45 47 53 59 4d 50 52 45 OCALE_INEGSYMPRE
3440: 43 45 44 45 53 20 3d 20 30 78 30 30 30 30 30 30 CEDES = 0x000000
3450: 35 36 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 56 }..enum : uin
3460: 74 20 7b 20 4c 4f 43 41 4c 45 5f 49 4e 45 47 53 t { LOCALE_INEGS
3470: 45 50 42 59 53 50 41 43 45 20 3d 20 30 78 30 30 EPBYSPACE = 0x00
3480: 30 30 30 30 35 37 20 7d 0d 0a 0d 0a 2f 2f 20 23 000057 }....// #
3490: 69 66 28 57 49 4e 56 45 52 20 3e 3d 20 30 78 30 if(WINVER >= 0x0
34a0: 34 30 30 29 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 400)..enum : uin
34b0: 74 20 7b 20 4c 4f 43 41 4c 45 5f 46 4f 4e 54 53 t { LOCALE_FONTS
34c0: 49 47 4e 41 54 55 52 45 20 3d 20 30 78 30 30 30 IGNATURE = 0x000
34d0: 30 30 30 35 38 20 7d 0d 0a 65 6e 75 6d 20 3a 20 00058 }..enum :
34e0: 75 69 6e 74 20 7b 20 4c 4f 43 41 4c 45 5f 53 49 uint { LOCALE_SI
34f0: 53 4f 36 33 39 4c 41 4e 47 4e 41 4d 45 20 3d 20 SO639LANGNAME =
3500: 30 78 30 30 30 30 30 30 35 39 20 7d 0d 0a 65 6e 0x00000059 }..en
3510: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
3520: 4c 45 5f 53 49 53 4f 33 31 36 36 43 54 52 59 4e LE_SISO3166CTRYN
3530: 41 4d 45 20 3d 20 30 78 30 30 30 30 30 30 35 41 AME = 0x0000005A
3540: 20 7d 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2a }..// #endif /*
3550: 20 57 49 4e 56 45 52 20 3e 3d 20 30 78 30 34 30 WINVER >= 0x040
3560: 30 20 2a 2f 0d 0a 0d 0a 2f 2f 20 23 69 66 28 57 0 */....// #if(W
3570: 49 4e 56 45 52 20 3e 3d 20 30 78 30 35 30 30 29 INVER >= 0x0500)
3580: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
3590: 4c 4f 43 41 4c 45 5f 49 44 45 46 41 55 4c 54 45 LOCALE_IDEFAULTE
35a0: 42 43 44 49 43 43 4f 44 45 50 41 47 45 20 3d 20 BCDICCODEPAGE =
35b0: 30 78 30 30 30 30 31 30 31 32 20 7d 0d 0a 65 6e 0x00001012 }..en
35c0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
35d0: 4c 45 5f 49 50 41 50 45 52 53 49 5a 45 20 3d 20 LE_IPAPERSIZE =
35e0: 30 78 30 30 30 30 31 30 30 41 20 7d 0d 0a 65 6e 0x0000100A }..en
35f0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f 43 41 um : uint { LOCA
3600: 4c 45 5f 53 45 4e 47 43 55 52 52 4e 41 4d 45 20 LE_SENGCURRNAME
3610: 3d 20 30 78 30 30 30 30 31 30 30 37 20 7d 0d 0a = 0x00001007 }..
3620: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 4f enum : uint { LO
3630: 43 41 4c 45 5f 53 4e 41 54 49 56 45 43 55 52 52 CALE_SNATIVECURR
3640: 4e 41 4d 45 20 3d 20 30 78 30 30 30 30 31 30 30 NAME = 0x0000100
3650: 38 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 8 }..enum : uint
3660: 20 7b 20 4c 4f 43 41 4c 45 5f 53 59 45 41 52 4d { LOCALE_SYEARM
3670: 4f 4e 54 48 20 3d 20 30 78 30 30 30 30 31 30 30 ONTH = 0x0000100
3680: 36 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 6 }..enum : uint
3690: 20 7b 20 4c 4f 43 41 4c 45 5f 53 53 4f 52 54 4e { LOCALE_SSORTN
36a0: 41 4d 45 20 3d 20 30 78 30 30 30 30 31 30 31 33 AME = 0x00001013
36b0: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
36c0: 7b 20 4c 4f 43 41 4c 45 5f 49 44 49 47 49 54 53 { LOCALE_IDIGITS
36d0: 55 42 53 54 49 54 55 54 49 4f 4e 20 3d 20 30 78 UBSTITUTION = 0x
36e0: 30 30 30 30 31 30 31 34 20 7d 0d 0a 0d 0a 2f 2f 00001014 }....//
36f0: 20 23 65 6e 64 69 66 20 2f 2a 20 57 49 4e 56 45 #endif /* WINVE
3700: 52 20 3e 3d 20 30 78 30 35 30 30 20 2a 2f 0d 0a R >= 0x0500 */..
3710: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
3720: 54 49 4d 45 5f 4e 4f 4d 49 4e 55 54 45 53 4f 52 TIME_NOMINUTESOR
3730: 53 45 43 4f 4e 44 53 20 3d 20 30 78 30 30 30 30 SECONDS = 0x0000
3740: 30 30 30 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0001 }..enum : u
3750: 69 6e 74 20 7b 20 54 49 4d 45 5f 4e 4f 53 45 43 int { TIME_NOSEC
3760: 4f 4e 44 53 20 3d 20 30 78 30 30 30 30 30 30 30 ONDS = 0x0000000
3770: 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 2 }..enum : uint
3780: 20 7b 20 54 49 4d 45 5f 4e 4f 54 49 4d 45 4d 41 { TIME_NOTIMEMA
3790: 52 4b 45 52 20 3d 20 30 78 30 30 30 30 30 30 30 RKER = 0x0000000
37a0: 34 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 4 }..enum : uint
37b0: 20 7b 20 54 49 4d 45 5f 46 4f 52 43 45 32 34 48 { TIME_FORCE24H
37c0: 4f 55 52 46 4f 52 4d 41 54 20 3d 20 30 78 30 30 OURFORMAT = 0x00
37d0: 30 30 30 30 30 38 20 7d 0d 0a 0d 0a 65 6e 75 6d 000008 }....enum
37e0: 20 3a 20 75 69 6e 74 20 7b 20 44 41 54 45 5f 53 : uint { DATE_S
37f0: 48 4f 52 54 44 41 54 45 20 3d 20 30 78 30 30 30 HORTDATE = 0x000
3800: 30 30 30 30 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 00001 }..enum :
3810: 75 69 6e 74 20 7b 20 44 41 54 45 5f 4c 4f 4e 47 uint { DATE_LONG
3820: 44 41 54 45 20 3d 20 30 78 30 30 30 30 30 30 30 DATE = 0x0000000
3830: 32 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 2 }..enum : uint
3840: 20 7b 20 44 41 54 45 5f 55 53 45 5f 41 4c 54 5f { DATE_USE_ALT_
3850: 43 41 4c 45 4e 44 41 52 20 3d 20 30 78 30 30 30 CALENDAR = 0x000
3860: 30 30 30 30 34 20 7d 0d 0a 0d 0a 2f 2f 20 23 69 00004 }....// #i
3870: 66 28 57 49 4e 56 45 52 20 3e 3d 20 30 78 30 35 f(WINVER >= 0x05
3880: 30 30 29 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 00)..enum : uint
3890: 20 7b 20 44 41 54 45 5f 59 45 41 52 4d 4f 4e 54 { DATE_YEARMONT
38a0: 48 20 3d 20 30 78 30 30 30 30 30 30 30 38 20 7d H = 0x00000008 }
38b0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
38c0: 44 41 54 45 5f 4c 54 52 52 45 41 44 49 4e 47 20 DATE_LTRREADING
38d0: 3d 20 30 78 30 30 30 30 30 30 31 30 20 7d 0d 0a = 0x00000010 }..
38e0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 44 41 enum : uint { DA
38f0: 54 45 5f 52 54 4c 52 45 41 44 49 4e 47 20 3d 20 TE_RTLREADING =
3900: 30 78 30 30 30 30 30 30 32 30 20 7d 0d 0a 2f 2f 0x00000020 }..//
3910: 20 23 65 6e 64 69 66 20 2f 2a 20 57 49 4e 56 45 #endif /* WINVE
3920: 52 20 3e 3d 20 30 78 30 35 30 30 20 2a 2f 0d 0a R >= 0x0500 */..
3930: 0d 0a 2f 2f 20 23 69 66 28 57 49 4e 56 45 52 20 ..// #if(WINVER
3940: 3e 3d 20 30 78 30 35 30 30 29 0d 0a 61 6c 69 61 >= 0x0500)..alia
3950: 73 20 4c 4f 43 41 4c 45 5f 4e 4f 55 53 45 52 4f s LOCALE_NOUSERO
3960: 56 45 52 52 49 44 45 20 43 41 4c 5f 4e 4f 55 53 VERRIDE CAL_NOUS
3970: 45 52 4f 56 45 52 52 49 44 45 3b 0d 0a 61 6c 69 EROVERRIDE;..ali
3980: 61 73 20 4c 4f 43 41 4c 45 5f 55 53 45 5f 43 50 as LOCALE_USE_CP
3990: 5f 41 43 50 20 43 41 4c 5f 55 53 45 5f 43 50 5f _ACP CAL_USE_CP_
39a0: 41 43 50 3b 0d 0a 61 6c 69 61 73 20 4c 4f 43 41 ACP;..alias LOCA
39b0: 4c 45 5f 52 45 54 55 52 4e 5f 4e 55 4d 42 45 52 LE_RETURN_NUMBER
39c0: 20 43 41 4c 5f 52 45 54 55 52 4e 5f 4e 55 4d 42 CAL_RETURN_NUMB
39d0: 45 52 3b 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f ER;..// #endif /
39e0: 2a 20 57 49 4e 56 45 52 20 3e 3d 20 30 78 30 35 * WINVER >= 0x05
39f0: 30 30 20 2a 2f 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 00 */....enum :
3a00: 75 69 6e 74 20 7b 20 43 41 4c 5f 49 43 41 4c 49 uint { CAL_ICALI
3a10: 4e 54 56 41 4c 55 45 20 3d 20 30 78 30 30 30 30 NTVALUE = 0x0000
3a20: 30 30 30 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0001 }..enum : u
3a30: 69 6e 74 20 7b 20 43 41 4c 5f 53 43 41 4c 4e 41 int { CAL_SCALNA
3a40: 4d 45 20 3d 20 30 78 30 30 30 30 30 30 30 32 20 ME = 0x00000002
3a50: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
3a60: 20 43 41 4c 5f 49 59 45 41 52 4f 46 46 53 45 54 CAL_IYEAROFFSET
3a70: 52 41 4e 47 45 20 3d 20 30 78 30 30 30 30 30 30 RANGE = 0x000000
3a80: 30 33 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 03 }..enum : uin
3a90: 74 20 7b 20 43 41 4c 5f 53 45 52 41 53 54 52 49 t { CAL_SERASTRI
3aa0: 4e 47 20 3d 20 30 78 30 30 30 30 30 30 30 34 20 NG = 0x00000004
3ab0: 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b }..enum : uint {
3ac0: 20 43 41 4c 5f 53 53 48 4f 52 54 44 41 54 45 20 CAL_SSHORTDATE
3ad0: 3d 20 30 78 30 30 30 30 30 30 30 35 20 7d 0d 0a = 0x00000005 }..
3ae0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 enum : uint { CA
3af0: 4c 5f 53 4c 4f 4e 47 44 41 54 45 20 3d 20 30 78 L_SLONGDATE = 0x
3b00: 30 30 30 30 30 30 30 36 20 7d 0d 0a 65 6e 75 6d 00000006 }..enum
3b10: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 44 : uint { CAL_SD
3b20: 41 59 4e 41 4d 45 31 20 3d 20 30 78 30 30 30 30 AYNAME1 = 0x0000
3b30: 30 30 30 37 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0007 }..enum : u
3b40: 69 6e 74 20 7b 20 43 41 4c 5f 53 44 41 59 4e 41 int { CAL_SDAYNA
3b50: 4d 45 32 20 3d 20 30 78 30 30 30 30 30 30 30 38 ME2 = 0x00000008
3b60: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
3b70: 7b 20 43 41 4c 5f 53 44 41 59 4e 41 4d 45 33 20 { CAL_SDAYNAME3
3b80: 3d 20 30 78 30 30 30 30 30 30 30 39 20 7d 0d 0a = 0x00000009 }..
3b90: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 enum : uint { CA
3ba0: 4c 5f 53 44 41 59 4e 41 4d 45 34 20 3d 20 30 78 L_SDAYNAME4 = 0x
3bb0: 30 30 30 30 30 30 30 61 20 7d 0d 0a 65 6e 75 6d 0000000a }..enum
3bc0: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 44 : uint { CAL_SD
3bd0: 41 59 4e 41 4d 45 35 20 3d 20 30 78 30 30 30 30 AYNAME5 = 0x0000
3be0: 30 30 30 62 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 000b }..enum : u
3bf0: 69 6e 74 20 7b 20 43 41 4c 5f 53 44 41 59 4e 41 int { CAL_SDAYNA
3c00: 4d 45 36 20 3d 20 30 78 30 30 30 30 30 30 30 63 ME6 = 0x0000000c
3c10: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
3c20: 7b 20 43 41 4c 5f 53 44 41 59 4e 41 4d 45 37 20 { CAL_SDAYNAME7
3c30: 3d 20 30 78 30 30 30 30 30 30 30 64 20 7d 0d 0a = 0x0000000d }..
3c40: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 enum : uint { CA
3c50: 4c 5f 53 41 42 42 52 45 56 44 41 59 4e 41 4d 45 L_SABBREVDAYNAME
3c60: 31 20 3d 20 30 78 30 30 30 30 30 30 30 65 20 7d 1 = 0x0000000e }
3c70: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
3c80: 43 41 4c 5f 53 41 42 42 52 45 56 44 41 59 4e 41 CAL_SABBREVDAYNA
3c90: 4d 45 32 20 3d 20 30 78 30 30 30 30 30 30 30 66 ME2 = 0x0000000f
3ca0: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
3cb0: 7b 20 43 41 4c 5f 53 41 42 42 52 45 56 44 41 59 { CAL_SABBREVDAY
3cc0: 4e 41 4d 45 33 20 3d 20 30 78 30 30 30 30 30 30 NAME3 = 0x000000
3cd0: 31 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 10 }..enum : uin
3ce0: 74 20 7b 20 43 41 4c 5f 53 41 42 42 52 45 56 44 t { CAL_SABBREVD
3cf0: 41 59 4e 41 4d 45 34 20 3d 20 30 78 30 30 30 30 AYNAME4 = 0x0000
3d00: 30 30 31 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0011 }..enum : u
3d10: 69 6e 74 20 7b 20 43 41 4c 5f 53 41 42 42 52 45 int { CAL_SABBRE
3d20: 56 44 41 59 4e 41 4d 45 35 20 3d 20 30 78 30 30 VDAYNAME5 = 0x00
3d30: 30 30 30 30 31 32 20 7d 0d 0a 65 6e 75 6d 20 3a 000012 }..enum :
3d40: 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 41 42 42 uint { CAL_SABB
3d50: 52 45 56 44 41 59 4e 41 4d 45 36 20 3d 20 30 78 REVDAYNAME6 = 0x
3d60: 30 30 30 30 30 30 31 33 20 7d 0d 0a 65 6e 75 6d 00000013 }..enum
3d70: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 41 : uint { CAL_SA
3d80: 42 42 52 45 56 44 41 59 4e 41 4d 45 37 20 3d 20 BBREVDAYNAME7 =
3d90: 30 78 30 30 30 30 30 30 31 34 20 7d 0d 0a 65 6e 0x00000014 }..en
3da0: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f um : uint { CAL_
3db0: 53 4d 4f 4e 54 48 4e 41 4d 45 31 20 3d 20 30 78 SMONTHNAME1 = 0x
3dc0: 30 30 30 30 30 30 31 35 20 7d 0d 0a 65 6e 75 6d 00000015 }..enum
3dd0: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 4d : uint { CAL_SM
3de0: 4f 4e 54 48 4e 41 4d 45 32 20 3d 20 30 78 30 30 ONTHNAME2 = 0x00
3df0: 30 30 30 30 31 36 20 7d 0d 0a 65 6e 75 6d 20 3a 000016 }..enum :
3e00: 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 4d 4f 4e uint { CAL_SMON
3e10: 54 48 4e 41 4d 45 33 20 3d 20 30 78 30 30 30 30 THNAME3 = 0x0000
3e20: 30 30 31 37 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0017 }..enum : u
3e30: 69 6e 74 20 7b 20 43 41 4c 5f 53 4d 4f 4e 54 48 int { CAL_SMONTH
3e40: 4e 41 4d 45 34 20 3d 20 30 78 30 30 30 30 30 30 NAME4 = 0x000000
3e50: 31 38 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 18 }..enum : uin
3e60: 74 20 7b 20 43 41 4c 5f 53 4d 4f 4e 54 48 4e 41 t { CAL_SMONTHNA
3e70: 4d 45 35 20 3d 20 30 78 30 30 30 30 30 30 31 39 ME5 = 0x00000019
3e80: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
3e90: 7b 20 43 41 4c 5f 53 4d 4f 4e 54 48 4e 41 4d 45 { CAL_SMONTHNAME
3ea0: 36 20 3d 20 30 78 30 30 30 30 30 30 31 61 20 7d 6 = 0x0000001a }
3eb0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
3ec0: 43 41 4c 5f 53 4d 4f 4e 54 48 4e 41 4d 45 37 20 CAL_SMONTHNAME7
3ed0: 3d 20 30 78 30 30 30 30 30 30 31 62 20 7d 0d 0a = 0x0000001b }..
3ee0: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 enum : uint { CA
3ef0: 4c 5f 53 4d 4f 4e 54 48 4e 41 4d 45 38 20 3d 20 L_SMONTHNAME8 =
3f00: 30 78 30 30 30 30 30 30 31 63 20 7d 0d 0a 65 6e 0x0000001c }..en
3f10: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f um : uint { CAL_
3f20: 53 4d 4f 4e 54 48 4e 41 4d 45 39 20 3d 20 30 78 SMONTHNAME9 = 0x
3f30: 30 30 30 30 30 30 31 64 20 7d 0d 0a 65 6e 75 6d 0000001d }..enum
3f40: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 4d : uint { CAL_SM
3f50: 4f 4e 54 48 4e 41 4d 45 31 30 20 3d 20 30 78 30 ONTHNAME10 = 0x0
3f60: 30 30 30 30 30 31 65 20 7d 0d 0a 65 6e 75 6d 20 000001e }..enum
3f70: 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 4d 4f : uint { CAL_SMO
3f80: 4e 54 48 4e 41 4d 45 31 31 20 3d 20 30 78 30 30 NTHNAME11 = 0x00
3f90: 30 30 30 30 31 66 20 7d 0d 0a 65 6e 75 6d 20 3a 00001f }..enum :
3fa0: 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 4d 4f 4e uint { CAL_SMON
3fb0: 54 48 4e 41 4d 45 31 32 20 3d 20 30 78 30 30 30 THNAME12 = 0x000
3fc0: 30 30 30 32 30 20 7d 0d 0a 65 6e 75 6d 20 3a 20 00020 }..enum :
3fd0: 75 69 6e 74 20 7b 20 43 41 4c 5f 53 4d 4f 4e 54 uint { CAL_SMONT
3fe0: 48 4e 41 4d 45 31 33 20 3d 20 30 78 30 30 30 30 HNAME13 = 0x0000
3ff0: 30 30 32 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0021 }..enum : u
4000: 69 6e 74 20 7b 20 43 41 4c 5f 53 41 42 42 52 45 int { CAL_SABBRE
4010: 56 4d 4f 4e 54 48 4e 41 4d 45 31 20 3d 20 30 78 VMONTHNAME1 = 0x
4020: 30 30 30 30 30 30 32 32 20 7d 0d 0a 65 6e 75 6d 00000022 }..enum
4030: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 41 : uint { CAL_SA
4040: 42 42 52 45 56 4d 4f 4e 54 48 4e 41 4d 45 32 20 BBREVMONTHNAME2
4050: 3d 20 30 78 30 30 30 30 30 30 32 33 20 7d 0d 0a = 0x00000023 }..
4060: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 enum : uint { CA
4070: 4c 5f 53 41 42 42 52 45 56 4d 4f 4e 54 48 4e 41 L_SABBREVMONTHNA
4080: 4d 45 33 20 3d 20 30 78 30 30 30 30 30 30 32 34 ME3 = 0x00000024
4090: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
40a0: 7b 20 43 41 4c 5f 53 41 42 42 52 45 56 4d 4f 4e { CAL_SABBREVMON
40b0: 54 48 4e 41 4d 45 34 20 3d 20 30 78 30 30 30 30 THNAME4 = 0x0000
40c0: 30 30 32 35 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0025 }..enum : u
40d0: 69 6e 74 20 7b 20 43 41 4c 5f 53 41 42 42 52 45 int { CAL_SABBRE
40e0: 56 4d 4f 4e 54 48 4e 41 4d 45 35 20 3d 20 30 78 VMONTHNAME5 = 0x
40f0: 30 30 30 30 30 30 32 36 20 7d 0d 0a 65 6e 75 6d 00000026 }..enum
4100: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 41 : uint { CAL_SA
4110: 42 42 52 45 56 4d 4f 4e 54 48 4e 41 4d 45 36 20 BBREVMONTHNAME6
4120: 3d 20 30 78 30 30 30 30 30 30 32 37 20 7d 0d 0a = 0x00000027 }..
4130: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 enum : uint { CA
4140: 4c 5f 53 41 42 42 52 45 56 4d 4f 4e 54 48 4e 41 L_SABBREVMONTHNA
4150: 4d 45 37 20 3d 20 30 78 30 30 30 30 30 30 32 38 ME7 = 0x00000028
4160: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
4170: 7b 20 43 41 4c 5f 53 41 42 42 52 45 56 4d 4f 4e { CAL_SABBREVMON
4180: 54 48 4e 41 4d 45 38 20 3d 20 30 78 30 30 30 30 THNAME8 = 0x0000
4190: 30 30 32 39 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 0029 }..enum : u
41a0: 69 6e 74 20 7b 20 43 41 4c 5f 53 41 42 42 52 45 int { CAL_SABBRE
41b0: 56 4d 4f 4e 54 48 4e 41 4d 45 39 20 3d 20 30 78 VMONTHNAME9 = 0x
41c0: 30 30 30 30 30 30 32 61 20 7d 0d 0a 65 6e 75 6d 0000002a }..enum
41d0: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 41 : uint { CAL_SA
41e0: 42 42 52 45 56 4d 4f 4e 54 48 4e 41 4d 45 31 30 BBREVMONTHNAME10
41f0: 20 3d 20 30 78 30 30 30 30 30 30 32 62 20 7d 0d = 0x0000002b }.
4200: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 .enum : uint { C
4210: 41 4c 5f 53 41 42 42 52 45 56 4d 4f 4e 54 48 4e AL_SABBREVMONTHN
4220: 41 4d 45 31 31 20 3d 20 30 78 30 30 30 30 30 30 AME11 = 0x000000
4230: 32 63 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 2c }..enum : uin
4240: 74 20 7b 20 43 41 4c 5f 53 41 42 42 52 45 56 4d t { CAL_SABBREVM
4250: 4f 4e 54 48 4e 41 4d 45 31 32 20 3d 20 30 78 30 ONTHNAME12 = 0x0
4260: 30 30 30 30 30 32 64 20 7d 0d 0a 65 6e 75 6d 20 000002d }..enum
4270: 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 41 42 : uint { CAL_SAB
4280: 42 52 45 56 4d 4f 4e 54 48 4e 41 4d 45 31 33 20 BREVMONTHNAME13
4290: 3d 20 30 78 30 30 30 30 30 30 32 65 20 7d 0d 0a = 0x0000002e }..
42a0: 0d 0a 2f 2f 20 23 69 66 28 57 49 4e 56 45 52 20 ..// #if(WINVER
42b0: 3e 3d 20 30 78 30 35 30 30 29 0d 0a 65 6e 75 6d >= 0x0500)..enum
42c0: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 53 59 : uint { CAL_SY
42d0: 45 41 52 4d 4f 4e 54 48 20 3d 20 30 78 30 30 30 EARMONTH = 0x000
42e0: 30 30 30 32 66 20 7d 0d 0a 65 6e 75 6d 20 3a 20 0002f }..enum :
42f0: 75 69 6e 74 20 7b 20 43 41 4c 5f 49 54 57 4f 44 uint { CAL_ITWOD
4300: 49 47 49 54 59 45 41 52 4d 41 58 20 3d 20 30 78 IGITYEARMAX = 0x
4310: 30 30 30 30 30 30 33 30 20 7d 0d 0a 2f 2f 20 23 00000030 }..// #
4320: 65 6e 64 69 66 20 2f 2a 20 57 49 4e 56 45 52 20 endif /* WINVER
4330: 3e 3d 20 30 78 30 35 30 30 20 2a 2f 0d 0a 0d 0a >= 0x0500 */....
4340: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 45 4e enum : uint { EN
4350: 55 4d 5f 41 4c 4c 5f 43 41 4c 45 4e 44 41 52 53 UM_ALL_CALENDARS
4360: 20 3d 20 30 78 66 66 66 66 66 66 66 66 20 7d 0d = 0xffffffff }.
4370: 0a 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b ...enum : uint {
4380: 20 43 41 4c 5f 47 52 45 47 4f 52 49 41 4e 20 3d CAL_GREGORIAN =
4390: 20 31 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 1 }..enum : uin
43a0: 74 20 7b 20 43 41 4c 5f 47 52 45 47 4f 52 49 41 t { CAL_GREGORIA
43b0: 4e 5f 55 53 20 3d 20 32 20 7d 0d 0a 65 6e 75 6d N_US = 2 }..enum
43c0: 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 4a 41 : uint { CAL_JA
43d0: 50 41 4e 20 3d 20 33 20 7d 0d 0a 65 6e 75 6d 20 PAN = 3 }..enum
43e0: 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 54 41 49 : uint { CAL_TAI
43f0: 57 41 4e 20 3d 20 34 20 7d 0d 0a 65 6e 75 6d 20 WAN = 4 }..enum
4400: 3a 20 75 69 6e 74 20 7b 20 43 41 4c 5f 4b 4f 52 : uint { CAL_KOR
4410: 45 41 20 3d 20 35 20 7d 0d 0a 65 6e 75 6d 20 3a EA = 5 }..enum :
4420: 20 75 69 6e 74 20 7b 20 43 41 4c 5f 48 49 4a 52 uint { CAL_HIJR
4430: 49 20 3d 20 36 20 7d 0d 0a 65 6e 75 6d 20 3a 20 I = 6 }..enum :
4440: 75 69 6e 74 20 7b 20 43 41 4c 5f 54 48 41 49 20 uint { CAL_THAI
4450: 3d 20 37 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 = 7 }..enum : ui
4460: 6e 74 20 7b 20 43 41 4c 5f 48 45 42 52 45 57 20 nt { CAL_HEBREW
4470: 3d 20 38 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 = 8 }..enum : ui
4480: 6e 74 20 7b 20 43 41 4c 5f 47 52 45 47 4f 52 49 nt { CAL_GREGORI
4490: 41 4e 5f 4d 45 5f 46 52 45 4e 43 48 20 3d 20 39 AN_ME_FRENCH = 9
44a0: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
44b0: 7b 20 43 41 4c 5f 47 52 45 47 4f 52 49 41 4e 5f { CAL_GREGORIAN_
44c0: 41 52 41 42 49 43 20 3d 20 31 30 20 7d 0d 0a 65 ARABIC = 10 }..e
44d0: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 4c num : uint { CAL
44e0: 5f 47 52 45 47 4f 52 49 41 4e 5f 58 4c 49 54 5f _GREGORIAN_XLIT_
44f0: 45 4e 47 4c 49 53 48 20 3d 20 31 31 20 7d 0d 0a ENGLISH = 11 }..
4500: 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 43 41 enum : uint { CA
4510: 4c 5f 47 52 45 47 4f 52 49 41 4e 5f 58 4c 49 54 L_GREGORIAN_XLIT
4520: 5f 46 52 45 4e 43 48 20 3d 20 31 32 20 7d 0d 0a _FRENCH = 12 }..
4530: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
4540: 4c 47 52 50 49 44 5f 57 45 53 54 45 52 4e 5f 45 LGRPID_WESTERN_E
4550: 55 52 4f 50 45 20 3d 20 30 78 30 30 30 31 20 7d UROPE = 0x0001 }
4560: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
4570: 4c 47 52 50 49 44 5f 43 45 4e 54 52 41 4c 5f 45 LGRPID_CENTRAL_E
4580: 55 52 4f 50 45 20 3d 20 30 78 30 30 30 32 20 7d UROPE = 0x0002 }
4590: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
45a0: 4c 47 52 50 49 44 5f 42 41 4c 54 49 43 20 3d 20 LGRPID_BALTIC =
45b0: 30 78 30 30 30 33 20 7d 0d 0a 65 6e 75 6d 20 3a 0x0003 }..enum :
45c0: 20 75 69 6e 74 20 7b 20 4c 47 52 50 49 44 5f 47 uint { LGRPID_G
45d0: 52 45 45 4b 20 3d 20 30 78 30 30 30 34 20 7d 0d REEK = 0x0004 }.
45e0: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c .enum : uint { L
45f0: 47 52 50 49 44 5f 43 59 52 49 4c 4c 49 43 20 3d GRPID_CYRILLIC =
4600: 20 30 78 30 30 30 35 20 7d 0d 0a 65 6e 75 6d 20 0x0005 }..enum
4610: 3a 20 75 69 6e 74 20 7b 20 4c 47 52 50 49 44 5f : uint { LGRPID_
4620: 54 55 52 4b 49 53 48 20 3d 20 30 78 30 30 30 36 TURKISH = 0x0006
4630: 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 }..enum : uint
4640: 7b 20 4c 47 52 50 49 44 5f 4a 41 50 41 4e 45 53 { LGRPID_JAPANES
4650: 45 20 3d 20 30 78 30 30 30 37 20 7d 0d 0a 65 6e E = 0x0007 }..en
4660: 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 47 52 50 um : uint { LGRP
4670: 49 44 5f 4b 4f 52 45 41 4e 20 3d 20 30 78 30 30 ID_KOREAN = 0x00
4680: 30 38 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 08 }..enum : uin
4690: 74 20 7b 20 4c 47 52 50 49 44 5f 54 52 41 44 49 t { LGRPID_TRADI
46a0: 54 49 4f 4e 41 4c 5f 43 48 49 4e 45 53 45 20 3d TIONAL_CHINESE =
46b0: 20 30 78 30 30 30 39 20 7d 0d 0a 65 6e 75 6d 20 0x0009 }..enum
46c0: 3a 20 75 69 6e 74 20 7b 20 4c 47 52 50 49 44 5f : uint { LGRPID_
46d0: 53 49 4d 50 4c 49 46 49 45 44 5f 43 48 49 4e 45 SIMPLIFIED_CHINE
46e0: 53 45 20 3d 20 30 78 30 30 30 61 20 7d 0d 0a 65 SE = 0x000a }..e
46f0: 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 47 52 num : uint { LGR
4700: 50 49 44 5f 54 48 41 49 20 3d 20 30 78 30 30 30 PID_THAI = 0x000
4710: 62 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 b }..enum : uint
4720: 20 7b 20 4c 47 52 50 49 44 5f 48 45 42 52 45 57 { LGRPID_HEBREW
4730: 20 3d 20 30 78 30 30 30 63 20 7d 0d 0a 65 6e 75 = 0x000c }..enu
4740: 6d 20 3a 20 75 69 6e 74 20 7b 20 4c 47 52 50 49 m : uint { LGRPI
4750: 44 5f 41 52 41 42 49 43 20 3d 20 30 78 30 30 30 D_ARABIC = 0x000
4760: 64 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 d }..enum : uint
4770: 20 7b 20 4c 47 52 50 49 44 5f 56 49 45 54 4e 41 { LGRPID_VIETNA
4780: 4d 45 53 45 20 3d 20 30 78 30 30 30 65 20 7d 0d MESE = 0x000e }.
4790: 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 4c .enum : uint { L
47a0: 47 52 50 49 44 5f 49 4e 44 49 43 20 3d 20 30 78 GRPID_INDIC = 0x
47b0: 30 30 30 66 20 7d 0d 0a 65 6e 75 6d 20 3a 20 75 000f }..enum : u
47c0: 69 6e 74 20 7b 20 4c 47 52 50 49 44 5f 47 45 4f int { LGRPID_GEO
47d0: 52 47 49 41 4e 20 3d 20 30 78 30 30 31 30 20 7d RGIAN = 0x0010 }
47e0: 0d 0a 65 6e 75 6d 20 3a 20 75 69 6e 74 20 7b 20 ..enum : uint {
47f0: 4c 47 52 50 49 44 5f 41 52 4d 45 4e 49 41 4e 20 LGRPID_ARMENIAN
4800: 3d 20 30 78 30 30 31 31 20 7d 0d 0a 0d 0a 61 6c = 0x0011 }....al
4810: 69 61 73 20 44 57 4f 52 44 20 4c 47 52 50 49 44 ias DWORD LGRPID
4820: 3b 0d 0a 0d 0a 61 6c 69 61 73 20 44 57 4f 52 44 ;....alias DWORD
4830: 20 4c 43 54 59 50 45 3b 0d 0a 0d 0a 61 6c 69 61 LCTYPE;....alia
4840: 73 20 44 57 4f 52 44 20 43 41 4c 54 59 50 45 3b s DWORD CALTYPE;
4850: 0d 0a 0d 0a 61 6c 69 61 73 20 44 57 4f 52 44 20 ....alias DWORD
4860: 43 41 4c 49 44 3b 0d 0a 0d 0a 73 74 72 75 63 74 CALID;....struct
4870: 20 5f 63 70 69 6e 66 6f 20 7b 0d 0a 20 20 55 49 _cpinfo {.. UI
4880: 4e 54 20 4d 61 78 43 68 61 72 53 69 7a 65 3b 0d NT MaxCharSize;.
4890: 0a 20 20 42 59 54 45 20 44 65 66 61 75 6c 74 43 . BYTE DefaultC
48a0: 68 61 72 5b 4d 41 58 5f 44 45 46 41 55 4c 54 43 har[MAX_DEFAULTC
48b0: 48 41 52 5d 3b 0d 0a 20 20 42 59 54 45 20 4c 65 HAR];.. BYTE Le
48c0: 61 64 42 79 74 65 5b 4d 41 58 5f 4c 45 41 44 42 adByte[MAX_LEADB
48d0: 59 54 45 53 5d 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 YTES];..}..alias
48e0: 20 5f 63 70 69 6e 66 6f 20 43 50 49 4e 46 4f 3b _cpinfo CPINFO;
48f0: 0d 0a 61 6c 69 61 73 20 5f 63 70 69 6e 66 6f 2a ..alias _cpinfo*
4900: 20 4c 50 43 50 49 4e 46 4f 3b 0d 0a 0d 0a 73 74 LPCPINFO;....st
4910: 72 75 63 74 20 5f 63 70 69 6e 66 6f 65 78 41 20 ruct _cpinfoexA
4920: 7b 0d 0a 20 20 55 49 4e 54 20 4d 61 78 43 68 61 {.. UINT MaxCha
4930: 72 53 69 7a 65 3b 0d 0a 20 20 42 59 54 45 20 44 rSize;.. BYTE D
4940: 65 66 61 75 6c 74 43 68 61 72 5b 4d 41 58 5f 44 efaultChar[MAX_D
4950: 45 46 41 55 4c 54 43 48 41 52 5d 3b 0d 0a 20 20 EFAULTCHAR];..
4960: 42 59 54 45 20 4c 65 61 64 42 79 74 65 5b 4d 41 BYTE LeadByte[MA
4970: 58 5f 4c 45 41 44 42 59 54 45 53 5d 3b 0d 0a 20 X_LEADBYTES];..
4980: 20 57 43 48 41 52 20 55 6e 69 63 6f 64 65 44 65 WCHAR UnicodeDe
4990: 66 61 75 6c 74 43 68 61 72 3b 0d 0a 20 20 55 49 faultChar;.. UI
49a0: 4e 54 20 43 6f 64 65 50 61 67 65 3b 0d 0a 20 20 NT CodePage;..
49b0: 43 48 41 52 20 43 6f 64 65 50 61 67 65 4e 61 6d CHAR CodePageNam
49c0: 65 5b 4d 41 58 5f 50 41 54 48 5d 3b 0d 0a 7d 0d e[MAX_PATH];..}.
49d0: 0a 61 6c 69 61 73 20 5f 63 70 69 6e 66 6f 65 78 .alias _cpinfoex
49e0: 41 20 43 50 49 4e 46 4f 45 58 41 3b 0d 0a 61 6c A CPINFOEXA;..al
49f0: 69 61 73 20 5f 63 70 69 6e 66 6f 65 78 41 2a 20 ias _cpinfoexA*
4a00: 4c 50 43 50 49 4e 46 4f 45 58 41 3b 0d 0a 0d 0a LPCPINFOEXA;....
4a10: 73 74 72 75 63 74 20 5f 63 70 69 6e 66 6f 65 78 struct _cpinfoex
4a20: 57 20 7b 0d 0a 20 20 55 49 4e 54 20 4d 61 78 43 W {.. UINT MaxC
4a30: 68 61 72 53 69 7a 65 3b 0d 0a 20 20 42 59 54 45 harSize;.. BYTE
4a40: 20 44 65 66 61 75 6c 74 43 68 61 72 5b 4d 41 58 DefaultChar[MAX
4a50: 5f 44 45 46 41 55 4c 54 43 48 41 52 5d 3b 0d 0a _DEFAULTCHAR];..
4a60: 20 20 42 59 54 45 20 4c 65 61 64 42 79 74 65 5b BYTE LeadByte[
4a70: 4d 41 58 5f 4c 45 41 44 42 59 54 45 53 5d 3b 0d MAX_LEADBYTES];.
4a80: 0a 20 20 57 43 48 41 52 20 55 6e 69 63 6f 64 65 . WCHAR Unicode
4a90: 44 65 66 61 75 6c 74 43 68 61 72 3b 0d 0a 20 20 DefaultChar;..
4aa0: 55 49 4e 54 20 43 6f 64 65 50 61 67 65 3b 0d 0a UINT CodePage;..
4ab0: 20 20 57 43 48 41 52 20 43 6f 64 65 50 61 67 65 WCHAR CodePage
4ac0: 4e 61 6d 65 5b 4d 41 58 5f 50 41 54 48 5d 3b 0d Name[MAX_PATH];.
4ad0: 0a 7d 0d 0a 61 6c 69 61 73 20 5f 63 70 69 6e 66 .}..alias _cpinf
4ae0: 6f 65 78 57 20 43 50 49 4e 46 4f 45 58 57 3b 0d oexW CPINFOEXW;.
4af0: 0a 61 6c 69 61 73 20 5f 63 70 69 6e 66 6f 65 78 .alias _cpinfoex
4b00: 57 2a 20 4c 50 43 50 49 4e 46 4f 45 58 57 3b 0d W* LPCPINFOEXW;.
4b10: 0a 0d 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 ...// #ifdef UNI
4b20: 43 4f 44 45 0d 0a 61 6c 69 61 73 20 43 50 49 4e CODE..alias CPIN
4b30: 46 4f 45 58 57 20 43 50 49 4e 46 4f 45 58 3b 0d FOEXW CPINFOEX;.
4b40: 0a 61 6c 69 61 73 20 4c 50 43 50 49 4e 46 4f 45 .alias LPCPINFOE
4b50: 58 57 20 4c 50 43 50 49 4e 46 4f 45 58 3b 0d 0a XW LPCPINFOEX;..
4b60: 2f 2f 20 23 65 6c 73 65 0d 0a 2f 2f 20 2e 2e 2e // #else..// ...
4b70: 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 55 ..// #endif // U
4b80: 4e 49 43 4f 44 45 0d 0a 0d 0a 73 74 72 75 63 74 NICODE....struct
4b90: 20 5f 6e 75 6d 62 65 72 66 6d 74 41 20 7b 0d 0a _numberfmtA {..
4ba0: 20 20 55 49 4e 54 20 4e 75 6d 44 69 67 69 74 73 UINT NumDigits
4bb0: 3b 0d 0a 20 20 55 49 4e 54 20 4c 65 61 64 69 6e ;.. UINT Leadin
4bc0: 67 5a 65 72 6f 3b 0d 0a 20 20 55 49 4e 54 20 47 gZero;.. UINT G
4bd0: 72 6f 75 70 69 6e 67 3b 0d 0a 20 20 4c 50 53 54 rouping;.. LPST
4be0: 52 20 6c 70 44 65 63 69 6d 61 6c 53 65 70 3b 0d R lpDecimalSep;.
4bf0: 0a 20 20 4c 50 53 54 52 20 6c 70 54 68 6f 75 73 . LPSTR lpThous
4c00: 61 6e 64 53 65 70 3b 0d 0a 20 20 55 49 4e 54 20 andSep;.. UINT
4c10: 4e 65 67 61 74 69 76 65 4f 72 64 65 72 3b 0d 0a NegativeOrder;..
4c20: 7d 0d 0a 61 6c 69 61 73 20 5f 6e 75 6d 62 65 72 }..alias _number
4c30: 66 6d 74 41 20 4e 55 4d 42 45 52 46 4d 54 41 3b fmtA NUMBERFMTA;
4c40: 0d 0a 61 6c 69 61 73 20 5f 6e 75 6d 62 65 72 66 ..alias _numberf
4c50: 6d 74 41 2a 20 4c 50 4e 55 4d 42 45 52 46 4d 54 mtA* LPNUMBERFMT
4c60: 41 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 5f 6e 75 A;....struct _nu
4c70: 6d 62 65 72 66 6d 74 57 20 7b 0d 0a 20 20 55 49 mberfmtW {.. UI
4c80: 4e 54 20 4e 75 6d 44 69 67 69 74 73 3b 0d 0a 20 NT NumDigits;..
4c90: 20 55 49 4e 54 20 4c 65 61 64 69 6e 67 5a 65 72 UINT LeadingZer
4ca0: 6f 3b 0d 0a 20 20 55 49 4e 54 20 47 72 6f 75 70 o;.. UINT Group
4cb0: 69 6e 67 3b 0d 0a 20 20 4c 50 57 53 54 52 20 6c ing;.. LPWSTR l
4cc0: 70 44 65 63 69 6d 61 6c 53 65 70 3b 0d 0a 20 20 pDecimalSep;..
4cd0: 4c 50 57 53 54 52 20 6c 70 54 68 6f 75 73 61 6e LPWSTR lpThousan
4ce0: 64 53 65 70 3b 0d 0a 20 20 55 49 4e 54 20 4e 65 dSep;.. UINT Ne
4cf0: 67 61 74 69 76 65 4f 72 64 65 72 3b 0d 0a 7d 0d gativeOrder;..}.
4d00: 0a 61 6c 69 61 73 20 5f 6e 75 6d 62 65 72 66 6d .alias _numberfm
4d10: 74 57 20 4e 55 4d 42 45 52 46 4d 54 57 3b 0d 0a tW NUMBERFMTW;..
4d20: 61 6c 69 61 73 20 5f 6e 75 6d 62 65 72 66 6d 74 alias _numberfmt
4d30: 57 2a 20 4c 50 4e 55 4d 42 45 52 46 4d 54 57 3b W* LPNUMBERFMTW;
4d40: 0d 0a 0d 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e ....// #ifdef UN
4d50: 49 43 4f 44 45 0d 0a 61 6c 69 61 73 20 4e 55 4d ICODE..alias NUM
4d60: 42 45 52 46 4d 54 57 20 4e 55 4d 42 45 52 46 4d BERFMTW NUMBERFM
4d70: 54 3b 0d 0a 61 6c 69 61 73 20 4c 50 4e 55 4d 42 T;..alias LPNUMB
4d80: 45 52 46 4d 54 57 20 4c 50 4e 55 4d 42 45 52 46 ERFMTW LPNUMBERF
4d90: 4d 54 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a 2f MT;..// #else../
4da0: 2f 20 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 66 / .....// #endif
4db0: 20 2f 2f 20 55 4e 49 43 4f 44 45 0d 0a 0d 0a 73 // UNICODE....s
4dc0: 74 72 75 63 74 20 5f 63 75 72 72 65 6e 63 79 66 truct _currencyf
4dd0: 6d 74 41 20 7b 0d 0a 20 20 55 49 4e 54 20 4e 75 mtA {.. UINT Nu
4de0: 6d 44 69 67 69 74 73 3b 0d 0a 20 20 55 49 4e 54 mDigits;.. UINT
4df0: 20 4c 65 61 64 69 6e 67 5a 65 72 6f 3b 0d 0a 20 LeadingZero;..
4e00: 20 55 49 4e 54 20 47 72 6f 75 70 69 6e 67 3b 0d UINT Grouping;.
4e10: 0a 20 20 4c 50 53 54 52 20 6c 70 44 65 63 69 6d . LPSTR lpDecim
4e20: 61 6c 53 65 70 3b 0d 0a 20 20 4c 50 53 54 52 20 alSep;.. LPSTR
4e30: 6c 70 54 68 6f 75 73 61 6e 64 53 65 70 3b 0d 0a lpThousandSep;..
4e40: 20 20 55 49 4e 54 20 4e 65 67 61 74 69 76 65 4f UINT NegativeO
4e50: 72 64 65 72 3b 0d 0a 20 20 55 49 4e 54 20 50 6f rder;.. UINT Po
4e60: 73 69 74 69 76 65 4f 72 64 65 72 3b 0d 0a 20 20 sitiveOrder;..
4e70: 4c 50 53 54 52 20 6c 70 43 75 72 72 65 6e 63 79 LPSTR lpCurrency
4e80: 53 79 6d 62 6f 6c 3b 0d 0a 7d 0d 0a 61 6c 69 61 Symbol;..}..alia
4e90: 73 20 5f 63 75 72 72 65 6e 63 79 66 6d 74 41 20 s _currencyfmtA
4ea0: 43 55 52 52 45 4e 43 59 46 4d 54 41 3b 0d 0a 61 CURRENCYFMTA;..a
4eb0: 6c 69 61 73 20 5f 63 75 72 72 65 6e 63 79 66 6d lias _currencyfm
4ec0: 74 41 2a 20 4c 50 43 55 52 52 45 4e 43 59 46 4d tA* LPCURRENCYFM
4ed0: 54 41 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 5f 63 TA;....struct _c
4ee0: 75 72 72 65 6e 63 79 66 6d 74 57 20 7b 0d 0a 20 urrencyfmtW {..
4ef0: 20 55 49 4e 54 20 4e 75 6d 44 69 67 69 74 73 3b UINT NumDigits;
4f00: 0d 0a 20 20 55 49 4e 54 20 4c 65 61 64 69 6e 67 .. UINT Leading
4f10: 5a 65 72 6f 3b 0d 0a 20 20 55 49 4e 54 20 47 72 Zero;.. UINT Gr
4f20: 6f 75 70 69 6e 67 3b 0d 0a 20 20 4c 50 57 53 54 ouping;.. LPWST
4f30: 52 20 6c 70 44 65 63 69 6d 61 6c 53 65 70 3b 0d R lpDecimalSep;.
4f40: 0a 20 20 4c 50 57 53 54 52 20 6c 70 54 68 6f 75 . LPWSTR lpThou
4f50: 73 61 6e 64 53 65 70 3b 0d 0a 20 20 55 49 4e 54 sandSep;.. UINT
4f60: 20 4e 65 67 61 74 69 76 65 4f 72 64 65 72 3b 0d NegativeOrder;.
4f70: 0a 20 20 55 49 4e 54 20 50 6f 73 69 74 69 76 65 . UINT Positive
4f80: 4f 72 64 65 72 3b 0d 0a 20 20 4c 50 57 53 54 52 Order;.. LPWSTR
4f90: 20 6c 70 43 75 72 72 65 6e 63 79 53 79 6d 62 6f lpCurrencySymbo
4fa0: 6c 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 20 5f 63 75 l;..}..alias _cu
4fb0: 72 72 65 6e 63 79 66 6d 74 57 20 43 55 52 52 45 rrencyfmtW CURRE
4fc0: 4e 43 59 46 4d 54 57 3b 0d 0a 61 6c 69 61 73 20 NCYFMTW;..alias
4fd0: 5f 63 75 72 72 65 6e 63 79 66 6d 74 57 2a 20 4c _currencyfmtW* L
4fe0: 50 43 55 52 52 45 4e 43 59 46 4d 54 57 3b 0d 0a PCURRENCYFMTW;..
4ff0: 0d 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 43 ..// #ifdef UNIC
5000: 4f 44 45 0d 0a 61 6c 69 61 73 20 43 55 52 52 45 ODE..alias CURRE
5010: 4e 43 59 46 4d 54 57 20 43 55 52 52 45 4e 43 59 NCYFMTW CURRENCY
5020: 46 4d 54 3b 0d 0a 61 6c 69 61 73 20 4c 50 43 55 FMT;..alias LPCU
5030: 52 52 45 4e 43 59 46 4d 54 57 20 4c 50 43 55 52 RRENCYFMTW LPCUR
5040: 52 45 4e 43 59 46 4d 54 3b 0d 0a 2f 2f 20 23 65 RENCYFMT;..// #e
5050: 6c 73 65 0d 0a 2f 2f 20 2e 2e 2e 0d 0a 2f 2f 20 lse..// .....//
5060: 23 65 6e 64 69 66 20 2f 2f 20 55 4e 49 43 4f 44 #endif // UNICOD
5070: 45 0d 0a 0d 0a 61 6c 69 61 73 20 4c 4f 4e 47 20 E....alias LONG
5080: 47 45 4f 49 44 3b 0d 0a 61 6c 69 61 73 20 44 57 GEOID;..alias DW
5090: 4f 52 44 20 47 45 4f 54 59 50 45 3b 0d 0a 61 6c ORD GEOTYPE;..al
50a0: 69 61 73 20 44 57 4f 52 44 20 47 45 4f 43 4c 41 ias DWORD GEOCLA
50b0: 53 53 3b 0d 0a 0d 0a 65 6e 75 6d 20 7b 20 47 45 SS;....enum { GE
50c0: 4f 49 44 5f 4e 4f 54 5f 41 56 41 49 4c 41 42 4c OID_NOT_AVAILABL
50d0: 45 20 3d 20 2d 31 20 7d 0d 0a 0d 0a 65 6e 75 6d E = -1 }....enum
50e0: 20 53 59 53 47 45 4f 54 59 50 45 20 7b 0d 0a 20 SYSGEOTYPE {..
50f0: 20 47 45 4f 5f 4e 41 54 49 4f 4e 20 3d 20 30 78 GEO_NATION = 0x
5100: 30 30 30 31 2c 0d 0a 20 20 47 45 4f 5f 4c 41 54 0001,.. GEO_LAT
5110: 49 54 55 44 45 20 3d 20 30 78 30 30 30 32 2c 0d ITUDE = 0x0002,.
5120: 0a 20 20 47 45 4f 5f 4c 4f 4e 47 49 54 55 44 45 . GEO_LONGITUDE
5130: 20 3d 20 30 78 30 30 30 33 2c 0d 0a 20 20 47 45 = 0x0003,.. GE
5140: 4f 5f 49 53 4f 32 20 3d 20 30 78 30 30 30 34 2c O_ISO2 = 0x0004,
5150: 0d 0a 20 20 47 45 4f 5f 49 53 4f 33 20 3d 20 30 .. GEO_ISO3 = 0
5160: 78 30 30 30 35 2c 0d 0a 20 20 47 45 4f 5f 52 46 x0005,.. GEO_RF
5170: 43 31 37 36 36 20 3d 20 30 78 30 30 30 36 2c 0d C1766 = 0x0006,.
5180: 0a 20 20 47 45 4f 5f 4c 43 49 44 20 3d 20 30 78 . GEO_LCID = 0x
5190: 30 30 30 37 2c 0d 0a 20 20 47 45 4f 5f 46 52 49 0007,.. GEO_FRI
51a0: 45 4e 44 4c 59 4e 41 4d 45 20 3d 20 30 78 30 30 ENDLYNAME = 0x00
51b0: 30 38 2c 0d 0a 20 20 47 45 4f 5f 4f 46 46 49 43 08,.. GEO_OFFIC
51c0: 49 41 4c 4e 41 4d 45 20 3d 20 30 78 30 30 30 39 IALNAME = 0x0009
51d0: 2c 0d 0a 20 20 47 45 4f 5f 54 49 4d 45 5a 4f 4e ,.. GEO_TIMEZON
51e0: 45 53 20 3d 20 30 78 30 30 30 41 2c 0d 0a 20 20 ES = 0x000A,..
51f0: 47 45 4f 5f 4f 46 46 49 43 49 41 4c 4c 41 4e 47 GEO_OFFICIALLANG
5200: 55 41 47 45 53 20 3d 20 30 78 30 30 30 42 2c 0d UAGES = 0x000B,.
5210: 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 53 59 53 47 45 .}....enum SYSGE
5220: 4f 43 4c 41 53 53 20 7b 0d 0a 20 20 47 45 4f 43 OCLASS {.. GEOC
5230: 4c 41 53 53 5f 4e 41 54 49 4f 4e 20 3d 20 31 36 LASS_NATION = 16
5240: 2c 0d 0a 20 20 47 45 4f 43 4c 41 53 53 5f 52 45 ,.. GEOCLASS_RE
5250: 47 49 4f 4e 20 3d 20 31 34 2c 0d 0a 7d 0d 0a 0d GION = 14,..}...
5260: 0a 2f 2f 20 23 69 66 64 65 66 20 53 54 52 49 43 .// #ifdef STRIC
5270: 54 0d 0a 0d 0a 2f 2f 20 2e 2e 2e 0d 0a 0d 0a 2f T....// ......./
5280: 2f 20 2e 2e 2e 0d 0a 0d 0a 2f 2f 20 23 65 6c 73 / .......// #els
5290: 65 20 2f 2f 20 21 53 54 52 49 43 54 0d 0a 0d 0a e // !STRICT....
52a0: 61 6c 69 61 73 20 46 41 52 50 52 4f 43 20 4c 41 alias FARPROC LA
52b0: 4e 47 55 41 47 45 47 52 4f 55 50 5f 45 4e 55 4d NGUAGEGROUP_ENUM
52c0: 50 52 4f 43 41 3b 0d 0a 61 6c 69 61 73 20 46 41 PROCA;..alias FA
52d0: 52 50 52 4f 43 20 4c 41 4e 47 47 52 4f 55 50 4c RPROC LANGGROUPL
52e0: 4f 43 41 4c 45 5f 45 4e 55 4d 50 52 4f 43 41 3b OCALE_ENUMPROCA;
52f0: 0d 0a 61 6c 69 61 73 20 46 41 52 50 52 4f 43 20 ..alias FARPROC
5300: 55 49 4c 41 4e 47 55 41 47 45 5f 45 4e 55 4d 50 UILANGUAGE_ENUMP
5310: 52 4f 43 41 3b 0d 0a 61 6c 69 61 73 20 46 41 52 ROCA;..alias FAR
5320: 50 52 4f 43 20 4c 4f 43 41 4c 45 5f 45 4e 55 4d PROC LOCALE_ENUM
5330: 50 52 4f 43 41 3b 0d 0a 61 6c 69 61 73 20 46 41 PROCA;..alias FA
5340: 52 50 52 4f 43 20 43 4f 44 45 50 41 47 45 5f 45 RPROC CODEPAGE_E
5350: 4e 55 4d 50 52 4f 43 41 3b 0d 0a 61 6c 69 61 73 NUMPROCA;..alias
5360: 20 46 41 52 50 52 4f 43 20 44 41 54 45 46 4d 54 FARPROC DATEFMT
5370: 5f 45 4e 55 4d 50 52 4f 43 41 3b 0d 0a 61 6c 69 _ENUMPROCA;..ali
5380: 61 73 20 46 41 52 50 52 4f 43 20 44 41 54 45 46 as FARPROC DATEF
5390: 4d 54 5f 45 4e 55 4d 50 52 4f 43 45 58 41 3b 0d MT_ENUMPROCEXA;.
53a0: 0a 61 6c 69 61 73 20 46 41 52 50 52 4f 43 20 54 .alias FARPROC T
53b0: 49 4d 45 46 4d 54 5f 45 4e 55 4d 50 52 4f 43 41 IMEFMT_ENUMPROCA
53c0: 3b 0d 0a 61 6c 69 61 73 20 46 41 52 50 52 4f 43 ;..alias FARPROC
53d0: 20 43 41 4c 49 4e 46 4f 5f 45 4e 55 4d 50 52 4f CALINFO_ENUMPRO
53e0: 43 41 3b 0d 0a 61 6c 69 61 73 20 46 41 52 50 52 CA;..alias FARPR
53f0: 4f 43 20 43 41 4c 49 4e 46 4f 5f 45 4e 55 4d 50 OC CALINFO_ENUMP
5400: 52 4f 43 45 58 41 3b 0d 0a 61 6c 69 61 73 20 46 ROCEXA;..alias F
5410: 41 52 50 52 4f 43 20 47 45 4f 5f 45 4e 55 4d 50 ARPROC GEO_ENUMP
5420: 52 4f 43 3b 0d 0a 0d 0a 61 6c 69 61 73 20 46 41 ROC;....alias FA
5430: 52 50 52 4f 43 20 4c 41 4e 47 55 41 47 45 47 52 RPROC LANGUAGEGR
5440: 4f 55 50 5f 45 4e 55 4d 50 52 4f 43 57 3b 0d 0a OUP_ENUMPROCW;..
5450: 61 6c 69 61 73 20 46 41 52 50 52 4f 43 20 4c 41 alias FARPROC LA
5460: 4e 47 47 52 4f 55 50 4c 4f 43 41 4c 45 5f 45 4e NGGROUPLOCALE_EN
5470: 55 4d 50 52 4f 43 57 3b 0d 0a 61 6c 69 61 73 20 UMPROCW;..alias
5480: 46 41 52 50 52 4f 43 20 55 49 4c 41 4e 47 55 41 FARPROC UILANGUA
5490: 47 45 5f 45 4e 55 4d 50 52 4f 43 57 3b 0d 0a 61 GE_ENUMPROCW;..a
54a0: 6c 69 61 73 20 46 41 52 50 52 4f 43 20 4c 4f 43 lias FARPROC LOC
54b0: 41 4c 45 5f 45 4e 55 4d 50 52 4f 43 57 3b 0d 0a ALE_ENUMPROCW;..
54c0: 61 6c 69 61 73 20 46 41 52 50 52 4f 43 20 43 4f alias FARPROC CO
54d0: 44 45 50 41 47 45 5f 45 4e 55 4d 50 52 4f 43 57 DEPAGE_ENUMPROCW
54e0: 3b 0d 0a 61 6c 69 61 73 20 46 41 52 50 52 4f 43 ;..alias FARPROC
54f0: 20 44 41 54 45 46 4d 54 5f 45 4e 55 4d 50 52 4f DATEFMT_ENUMPRO
5500: 43 57 3b 0d 0a 61 6c 69 61 73 20 46 41 52 50 52 CW;..alias FARPR
5510: 4f 43 20 44 41 54 45 46 4d 54 5f 45 4e 55 4d 50 OC DATEFMT_ENUMP
5520: 52 4f 43 45 58 57 3b 0d 0a 61 6c 69 61 73 20 46 ROCEXW;..alias F
5530: 41 52 50 52 4f 43 20 54 49 4d 45 46 4d 54 5f 45 ARPROC TIMEFMT_E
5540: 4e 55 4d 50 52 4f 43 57 3b 0d 0a 61 6c 69 61 73 NUMPROCW;..alias
5550: 20 46 41 52 50 52 4f 43 20 43 41 4c 49 4e 46 4f FARPROC CALINFO
5560: 5f 45 4e 55 4d 50 52 4f 43 57 3b 0d 0a 61 6c 69 _ENUMPROCW;..ali
5570: 61 73 20 46 41 52 50 52 4f 43 20 43 41 4c 49 4e as FARPROC CALIN
5580: 46 4f 5f 45 4e 55 4d 50 52 4f 43 45 58 57 3b 0d FO_ENUMPROCEXW;.
5590: 0a 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 ...// #endif //
55a0: 21 53 54 52 49 43 54 0d 0a 0d 0a 2f 2f 20 23 69 !STRICT....// #i
55b0: 66 64 65 66 20 55 4e 49 43 4f 44 45 0d 0a 0d 0a fdef UNICODE....
55c0: 61 6c 69 61 73 20 4c 41 4e 47 55 41 47 45 47 52 alias LANGUAGEGR
55d0: 4f 55 50 5f 45 4e 55 4d 50 52 4f 43 57 20 4c 41 OUP_ENUMPROCW LA
55e0: 4e 47 55 41 47 45 47 52 4f 55 50 5f 45 4e 55 4d NGUAGEGROUP_ENUM
55f0: 50 52 4f 43 3b 0d 0a 61 6c 69 61 73 20 4c 41 4e PROC;..alias LAN
5600: 47 47 52 4f 55 50 4c 4f 43 41 4c 45 5f 45 4e 55 GGROUPLOCALE_ENU
5610: 4d 50 52 4f 43 57 20 4c 41 4e 47 47 52 4f 55 50 MPROCW LANGGROUP
5620: 4c 4f 43 41 4c 45 5f 45 4e 55 4d 50 52 4f 43 3b LOCALE_ENUMPROC;
5630: 0d 0a 61 6c 69 61 73 20 55 49 4c 41 4e 47 55 41 ..alias UILANGUA
5640: 47 45 5f 45 4e 55 4d 50 52 4f 43 57 20 55 49 4c GE_ENUMPROCW UIL
5650: 41 4e 47 55 41 47 45 5f 45 4e 55 4d 50 52 4f 43 ANGUAGE_ENUMPROC
5660: 3b 0d 0a 61 6c 69 61 73 20 4c 4f 43 41 4c 45 5f ;..alias LOCALE_
5670: 45 4e 55 4d 50 52 4f 43 57 20 4c 4f 43 41 4c 45 ENUMPROCW LOCALE
5680: 5f 45 4e 55 4d 50 52 4f 43 3b 0d 0a 61 6c 69 61 _ENUMPROC;..alia
5690: 73 20 43 4f 44 45 50 41 47 45 5f 45 4e 55 4d 50 s CODEPAGE_ENUMP
56a0: 52 4f 43 57 20 43 4f 44 45 50 41 47 45 5f 45 4e ROCW CODEPAGE_EN
56b0: 55 4d 50 52 4f 43 3b 0d 0a 61 6c 69 61 73 20 44 UMPROC;..alias D
56c0: 41 54 45 46 4d 54 5f 45 4e 55 4d 50 52 4f 43 57 ATEFMT_ENUMPROCW
56d0: 20 44 41 54 45 46 4d 54 5f 45 4e 55 4d 50 52 4f DATEFMT_ENUMPRO
56e0: 43 3b 0d 0a 61 6c 69 61 73 20 44 41 54 45 46 4d C;..alias DATEFM
56f0: 54 5f 45 4e 55 4d 50 52 4f 43 45 58 57 20 44 41 T_ENUMPROCEXW DA
5700: 54 45 46 4d 54 5f 45 4e 55 4d 50 52 4f 43 45 58 TEFMT_ENUMPROCEX
5710: 3b 0d 0a 61 6c 69 61 73 20 54 49 4d 45 46 4d 54 ;..alias TIMEFMT
5720: 5f 45 4e 55 4d 50 52 4f 43 57 20 54 49 4d 45 46 _ENUMPROCW TIMEF
5730: 4d 54 5f 45 4e 55 4d 50 52 4f 43 3b 0d 0a 61 6c MT_ENUMPROC;..al
5740: 69 61 73 20 43 41 4c 49 4e 46 4f 5f 45 4e 55 4d ias CALINFO_ENUM
5750: 50 52 4f 43 57 20 43 41 4c 49 4e 46 4f 5f 45 4e PROCW CALINFO_EN
5760: 55 4d 50 52 4f 43 3b 0d 0a 61 6c 69 61 73 20 43 UMPROC;..alias C
5770: 41 4c 49 4e 46 4f 5f 45 4e 55 4d 50 52 4f 43 45 ALINFO_ENUMPROCE
5780: 58 57 20 43 41 4c 49 4e 46 4f 5f 45 4e 55 4d 50 XW CALINFO_ENUMP
5790: 52 4f 43 45 58 3b 0d 0a 0d 0a 2f 2f 20 23 65 6c ROCEX;....// #el
57a0: 73 65 0d 0a 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f se....// #...../
57b0: 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 2e 2e 2e 0d / #.....// #....
57c0: 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 2e 2e .// #.....// #..
57d0: 2e 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 ...// #.....// #
57e0: 2e 2e 2e 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f .....// #.....//
57f0: 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a #.....// #.....
5800: 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 21 ..// #endif // !
5810: 55 4e 49 43 4f 44 45 0d 0a 0d 0a 65 78 74 65 72 UNICODE....exter
5820: 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 n(Windows) expor
5830: 74 20 42 4f 4f 4c 20 49 73 56 61 6c 69 64 43 6f t BOOL IsValidCo
5840: 64 65 50 61 67 65 28 0d 0a 20 20 20 20 20 55 49 dePage(.. UI
5850: 4e 54 20 20 43 6f 64 65 50 61 67 65 29 3b 0d 0a NT CodePage);..
5860: 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 ..extern(Windows
5870: 29 20 65 78 70 6f 72 74 20 55 49 4e 54 20 47 65 ) export UINT Ge
5880: 74 41 43 50 28 29 3b 0d 0a 0d 0a 65 78 74 65 72 tACP();....exter
5890: 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 n(Windows) expor
58a0: 74 20 55 49 4e 54 20 47 65 74 4f 45 4d 43 50 28 t UINT GetOEMCP(
58b0: 29 3b 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e );....extern(Win
58c0: 64 6f 77 73 29 20 65 78 70 6f 72 74 20 42 4f 4f dows) export BOO
58d0: 4c 20 47 65 74 43 50 49 6e 66 6f 28 0d 0a 20 20 L GetCPInfo(..
58e0: 20 20 20 55 49 4e 54 20 20 20 20 20 20 20 43 6f UINT Co
58f0: 64 65 50 61 67 65 2c 0d 0a 20 20 20 20 20 4c 50 dePage,.. LP
5900: 43 50 49 4e 46 4f 20 20 6c 70 43 50 49 6e 66 6f CPINFO lpCPInfo
5910: 29 3b 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e );....extern(Win
5920: 64 6f 77 73 29 20 65 78 70 6f 72 74 20 42 4f 4f dows) export BOO
5930: 4c 20 47 65 74 43 50 49 6e 66 6f 45 78 41 28 0d L GetCPInfoExA(.
5940: 0a 20 20 20 20 20 55 49 4e 54 20 20 20 20 20 20 . UINT
5950: 20 20 20 20 43 6f 64 65 50 61 67 65 2c 0d 0a 20 CodePage,..
5960: 20 20 20 20 44 57 4f 52 44 20 20 20 20 20 20 20 DWORD
5970: 20 20 64 77 46 6c 61 67 73 2c 0d 0a 20 20 20 20 dwFlags,..
5980: 20 4c 50 43 50 49 4e 46 4f 45 58 41 20 20 6c 70 LPCPINFOEXA lp
5990: 43 50 49 6e 66 6f 45 78 29 3b 0d 0a 65 78 74 65 CPInfoEx);..exte
59a0: 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f rn(Windows) expo
59b0: 72 74 20 42 4f 4f 4c 20 47 65 74 43 50 49 6e 66 rt BOOL GetCPInf
59c0: 6f 45 78 57 28 0d 0a 20 20 20 20 20 55 49 4e 54 oExW(.. UINT
59d0: 20 20 20 20 20 20 20 20 20 20 43 6f 64 65 50 61 CodePa
59e0: 67 65 2c 0d 0a 20 20 20 20 20 44 57 4f 52 44 20 ge,.. DWORD
59f0: 20 20 20 20 20 20 20 20 64 77 46 6c 61 67 73 2c dwFlags,
5a00: 0d 0a 20 20 20 20 20 4c 50 43 50 49 4e 46 4f 45 .. LPCPINFOE
5a10: 58 57 20 20 6c 70 43 50 49 6e 66 6f 45 78 29 3b XW lpCPInfoEx);
5a20: 0d 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 43 ..// #ifdef UNIC
5a30: 4f 44 45 0d 0a 61 6c 69 61 73 20 47 65 74 43 50 ODE..alias GetCP
5a40: 49 6e 66 6f 45 78 57 20 47 65 74 43 50 49 6e 66 InfoExW GetCPInf
5a50: 6f 45 78 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a oEx;..// #else..
5a60: 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 // #.....// #end
5a70: 69 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a if // !UNICODE..
5a80: 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 ..extern(Windows
5a90: 29 20 65 78 70 6f 72 74 20 42 4f 4f 4c 20 49 73 ) export BOOL Is
5aa0: 44 42 43 53 4c 65 61 64 42 79 74 65 28 0d 0a 20 DBCSLeadByte(..
5ab0: 20 20 20 20 42 59 54 45 20 20 54 65 73 74 43 68 BYTE TestCh
5ac0: 61 72 29 3b 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 ar);....extern(W
5ad0: 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 42 indows) export B
5ae0: 4f 4f 4c 20 49 73 44 42 43 53 4c 65 61 64 42 79 OOL IsDBCSLeadBy
5af0: 74 65 45 78 28 0d 0a 20 20 20 20 20 55 49 4e 54 teEx(.. UINT
5b00: 20 20 43 6f 64 65 50 61 67 65 2c 0d 0a 20 20 20 CodePage,..
5b10: 20 20 42 59 54 45 20 20 54 65 73 74 43 68 61 72 BYTE TestChar
5b20: 29 3b 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e );....extern(Win
5b30: 64 6f 77 73 29 20 65 78 70 6f 72 74 20 69 6e 74 dows) export int
5b40: 20 4d 75 6c 74 69 42 79 74 65 54 6f 57 69 64 65 MultiByteToWide
5b50: 43 68 61 72 28 0d 0a 20 20 20 20 20 55 49 4e 54 Char(.. UINT
5b60: 20 20 20 20 20 43 6f 64 65 50 61 67 65 2c 0d 0a CodePage,..
5b70: 20 20 20 20 20 44 57 4f 52 44 20 20 20 20 64 77 DWORD dw
5b80: 46 6c 61 67 73 2c 0d 0a 20 20 20 20 20 4c 50 43 Flags,.. LPC
5b90: 53 54 52 20 20 20 6c 70 4d 75 6c 74 69 42 79 74 STR lpMultiByt
5ba0: 65 53 74 72 2c 0d 0a 20 20 20 20 20 69 6e 74 20 eStr,.. int
5bb0: 20 20 20 20 20 63 62 4d 75 6c 74 69 42 79 74 65 cbMultiByte
5bc0: 2c 0d 0a 20 20 20 20 20 4c 50 57 53 54 52 20 20 ,.. LPWSTR
5bd0: 6c 70 57 69 64 65 43 68 61 72 53 74 72 2c 0d 0a lpWideCharStr,..
5be0: 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 63 63 int cc
5bf0: 68 57 69 64 65 43 68 61 72 29 3b 0d 0a 0d 0a 65 hWideChar);....e
5c00: 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 xtern(Windows) e
5c10: 78 70 6f 72 74 20 69 6e 74 20 57 69 64 65 43 68 xport int WideCh
5c20: 61 72 54 6f 4d 75 6c 74 69 42 79 74 65 28 0d 0a arToMultiByte(..
5c30: 20 20 20 20 20 55 49 4e 54 20 20 20 20 20 43 6f UINT Co
5c40: 64 65 50 61 67 65 2c 0d 0a 20 20 20 20 20 44 57 dePage,.. DW
5c50: 4f 52 44 20 20 20 20 64 77 46 6c 61 67 73 2c 0d ORD dwFlags,.
5c60: 0a 20 20 20 20 20 4c 50 43 57 53 54 52 20 20 6c . LPCWSTR l
5c70: 70 57 69 64 65 43 68 61 72 53 74 72 2c 0d 0a 20 pWideCharStr,..
5c80: 20 20 20 20 69 6e 74 20 20 20 20 20 20 63 63 68 int cch
5c90: 57 69 64 65 43 68 61 72 2c 0d 0a 20 20 20 20 20 WideChar,..
5ca0: 4c 50 53 54 52 20 20 20 6c 70 4d 75 6c 74 69 42 LPSTR lpMultiB
5cb0: 79 74 65 53 74 72 2c 0d 0a 20 20 20 20 20 69 6e yteStr,.. in
5cc0: 74 20 20 20 20 20 20 63 62 4d 75 6c 74 69 42 79 t cbMultiBy
5cd0: 74 65 2c 0d 0a 20 20 20 20 20 4c 50 43 53 54 52 te,.. LPCSTR
5ce0: 20 20 20 6c 70 44 65 66 61 75 6c 74 43 68 61 72 lpDefaultChar
5cf0: 2c 0d 0a 20 20 20 20 20 4c 50 42 4f 4f 4c 20 20 ,.. LPBOOL
5d00: 6c 70 55 73 65 64 44 65 66 61 75 6c 74 43 68 61 lpUsedDefaultCha
5d10: 72 29 3b 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 r);....extern(Wi
5d20: 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 69 6e ndows) export in
5d30: 74 20 43 6f 6d 70 61 72 65 53 74 72 69 6e 67 41 t CompareStringA
5d40: 28 0d 0a 20 20 20 20 20 4c 43 49 44 20 20 20 20 (.. LCID
5d50: 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 20 44 Locale,.. D
5d60: 57 4f 52 44 20 20 20 20 64 77 43 6d 70 46 6c 61 WORD dwCmpFla
5d70: 67 73 2c 0d 0a 20 20 20 20 20 4c 50 43 53 54 52 gs,.. LPCSTR
5d80: 20 20 6c 70 53 74 72 69 6e 67 31 2c 0d 0a 20 20 lpString1,..
5d90: 20 20 20 69 6e 74 20 20 20 20 20 20 63 63 68 43 int cchC
5da0: 6f 75 6e 74 31 2c 0d 0a 20 20 20 20 20 4c 50 43 ount1,.. LPC
5db0: 53 54 52 20 20 6c 70 53 74 72 69 6e 67 32 2c 0d STR lpString2,.
5dc0: 0a 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 63 . int c
5dd0: 63 68 43 6f 75 6e 74 32 29 3b 0d 0a 65 78 74 65 chCount2);..exte
5de0: 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f rn(Windows) expo
5df0: 72 74 20 69 6e 74 20 43 6f 6d 70 61 72 65 53 74 rt int CompareSt
5e00: 72 69 6e 67 57 28 0d 0a 20 20 20 20 20 4c 43 49 ringW(.. LCI
5e10: 44 20 20 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 D Locale,..
5e20: 20 20 20 20 44 57 4f 52 44 20 20 20 20 64 77 43 DWORD dwC
5e30: 6d 70 46 6c 61 67 73 2c 0d 0a 20 20 20 20 20 4c mpFlags,.. L
5e40: 50 43 57 53 54 52 20 20 6c 70 53 74 72 69 6e 67 PCWSTR lpString
5e50: 31 2c 0d 0a 20 20 20 20 20 69 6e 74 20 20 20 20 1,.. int
5e60: 20 20 63 63 68 43 6f 75 6e 74 31 2c 0d 0a 20 20 cchCount1,..
5e70: 20 20 20 4c 50 43 57 53 54 52 20 20 6c 70 53 74 LPCWSTR lpSt
5e80: 72 69 6e 67 32 2c 0d 0a 20 20 20 20 20 69 6e 74 ring2,.. int
5e90: 20 20 20 20 20 20 63 63 68 43 6f 75 6e 74 32 29 cchCount2)
5ea0: 3b 0d 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 ;..// #ifdef UNI
5eb0: 43 4f 44 45 0d 0a 61 6c 69 61 73 20 43 6f 6d 70 CODE..alias Comp
5ec0: 61 72 65 53 74 72 69 6e 67 57 20 43 6f 6d 70 61 areStringW Compa
5ed0: 72 65 53 74 72 69 6e 67 3b 0d 0a 2f 2f 20 23 65 reString;..// #e
5ee0: 6c 73 65 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f lse..// #.....//
5ef0: 20 23 65 6e 64 69 66 20 2f 2f 20 21 55 4e 49 43 #endif // !UNIC
5f00: 4f 44 45 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 ODE....extern(Wi
5f10: 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 69 6e ndows) export in
5f20: 74 20 4c 43 4d 61 70 53 74 72 69 6e 67 41 28 0d t LCMapStringA(.
5f30: 0a 20 20 20 20 20 4c 43 49 44 20 20 20 20 20 4c . LCID L
5f40: 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 20 44 57 4f ocale,.. DWO
5f50: 52 44 20 20 20 20 64 77 4d 61 70 46 6c 61 67 73 RD dwMapFlags
5f60: 2c 0d 0a 20 20 20 20 20 4c 50 43 53 54 52 20 20 ,.. LPCSTR
5f70: 6c 70 53 72 63 53 74 72 2c 0d 0a 20 20 20 20 20 lpSrcStr,..
5f80: 69 6e 74 20 20 20 20 20 20 63 63 68 53 72 63 2c int cchSrc,
5f90: 0d 0a 20 20 20 20 20 4c 50 53 54 52 20 20 6c 70 .. LPSTR lp
5fa0: 44 65 73 74 53 74 72 2c 0d 0a 20 20 20 20 20 69 DestStr,.. i
5fb0: 6e 74 20 20 20 20 20 20 63 63 68 44 65 73 74 29 nt cchDest)
5fc0: 3b 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 ;..extern(Window
5fd0: 73 29 20 65 78 70 6f 72 74 20 69 6e 74 20 4c 43 s) export int LC
5fe0: 4d 61 70 53 74 72 69 6e 67 57 28 0d 0a 20 20 20 MapStringW(..
5ff0: 20 20 4c 43 49 44 20 20 20 20 20 4c 6f 63 61 6c LCID Local
6000: 65 2c 0d 0a 20 20 20 20 20 44 57 4f 52 44 20 20 e,.. DWORD
6010: 20 20 64 77 4d 61 70 46 6c 61 67 73 2c 0d 0a 20 dwMapFlags,..
6020: 20 20 20 20 4c 50 43 57 53 54 52 20 20 6c 70 53 LPCWSTR lpS
6030: 72 63 53 74 72 2c 0d 0a 20 20 20 20 20 69 6e 74 rcStr,.. int
6040: 20 20 20 20 20 20 63 63 68 53 72 63 2c 0d 0a 20 cchSrc,..
6050: 20 20 20 20 4c 50 57 53 54 52 20 20 6c 70 44 65 LPWSTR lpDe
6060: 73 74 53 74 72 2c 0d 0a 20 20 20 20 20 69 6e 74 stStr,.. int
6070: 20 20 20 20 20 20 63 63 68 44 65 73 74 29 3b 0d cchDest);.
6080: 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 43 4f .// #ifdef UNICO
6090: 44 45 0d 0a 61 6c 69 61 73 20 4c 43 4d 61 70 53 DE..alias LCMapS
60a0: 74 72 69 6e 67 57 20 4c 43 4d 61 70 53 74 72 69 tringW LCMapStri
60b0: 6e 67 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a 2f ng;..// #else../
60c0: 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 / #.....// #endi
60d0: 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a 0d f // !UNICODE...
60e0: 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 .extern(Windows)
60f0: 20 65 78 70 6f 72 74 20 69 6e 74 20 47 65 74 4c export int GetL
6100: 6f 63 61 6c 65 49 6e 66 6f 41 28 0d 0a 20 20 20 ocaleInfoA(..
6110: 20 20 4c 43 49 44 20 20 20 20 20 4c 6f 63 61 6c LCID Local
6120: 65 2c 0d 0a 20 20 20 20 20 4c 43 54 59 50 45 20 e,.. LCTYPE
6130: 20 20 4c 43 54 79 70 65 2c 0d 0a 20 20 20 20 20 LCType,..
6140: 4c 50 53 54 52 20 20 6c 70 4c 43 44 61 74 61 2c LPSTR lpLCData,
6150: 0d 0a 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 .. int
6160: 63 63 68 44 61 74 61 29 3b 0d 0a 65 78 74 65 72 cchData);..exter
6170: 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 n(Windows) expor
6180: 74 20 69 6e 74 20 47 65 74 4c 6f 63 61 6c 65 49 t int GetLocaleI
6190: 6e 66 6f 57 28 0d 0a 20 20 20 20 20 4c 43 49 44 nfoW(.. LCID
61a0: 20 20 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 Locale,..
61b0: 20 20 20 4c 43 54 59 50 45 20 20 20 4c 43 54 79 LCTYPE LCTy
61c0: 70 65 2c 0d 0a 20 20 20 20 20 4c 50 57 53 54 52 pe,.. LPWSTR
61d0: 20 20 6c 70 4c 43 44 61 74 61 2c 0d 0a 20 20 20 lpLCData,..
61e0: 20 20 69 6e 74 20 20 20 20 20 20 63 63 68 44 61 int cchDa
61f0: 74 61 29 3b 0d 0a 2f 2f 20 23 69 66 64 65 66 20 ta);..// #ifdef
6200: 55 4e 49 43 4f 44 45 0d 0a 61 6c 69 61 73 20 47 UNICODE..alias G
6210: 65 74 4c 6f 63 61 6c 65 49 6e 66 6f 57 20 47 65 etLocaleInfoW Ge
6220: 74 4c 6f 63 61 6c 65 49 6e 66 6f 3b 0d 0a 2f 2f tLocaleInfo;..//
6230: 20 23 65 6c 73 65 0d 0a 2f 2f 20 23 2e 2e 2e 0d #else..// #....
6240: 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 21 55 .// #endif // !U
6250: 4e 49 43 4f 44 45 0d 0a 0d 0a 65 78 74 65 72 6e NICODE....extern
6260: 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 (Windows) export
6270: 20 42 4f 4f 4c 20 53 65 74 4c 6f 63 61 6c 65 49 BOOL SetLocaleI
6280: 6e 66 6f 41 28 0d 0a 20 20 20 20 20 4c 43 49 44 nfoA(.. LCID
6290: 20 20 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 Locale,..
62a0: 20 20 20 4c 43 54 59 50 45 20 20 20 4c 43 54 79 LCTYPE LCTy
62b0: 70 65 2c 0d 0a 20 20 20 20 20 4c 50 43 53 54 52 pe,.. LPCSTR
62c0: 20 20 6c 70 4c 43 44 61 74 61 29 3b 0d 0a 65 78 lpLCData);..ex
62d0: 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 tern(Windows) ex
62e0: 70 6f 72 74 20 42 4f 4f 4c 20 53 65 74 4c 6f 63 port BOOL SetLoc
62f0: 61 6c 65 49 6e 66 6f 57 28 0d 0a 20 20 20 20 20 aleInfoW(..
6300: 4c 43 49 44 20 20 20 20 20 4c 6f 63 61 6c 65 2c LCID Locale,
6310: 0d 0a 20 20 20 20 20 4c 43 54 59 50 45 20 20 20 .. LCTYPE
6320: 4c 43 54 79 70 65 2c 0d 0a 20 20 20 20 20 4c 50 LCType,.. LP
6330: 43 57 53 54 52 20 20 6c 70 4c 43 44 61 74 61 29 CWSTR lpLCData)
6340: 3b 0d 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 ;..// #ifdef UNI
6350: 43 4f 44 45 0d 0a 61 6c 69 61 73 20 53 65 74 4c CODE..alias SetL
6360: 6f 63 61 6c 65 49 6e 66 6f 57 20 53 65 74 4c 6f ocaleInfoW SetLo
6370: 63 61 6c 65 49 6e 66 6f 3b 0d 0a 2f 2f 20 23 65 caleInfo;..// #e
6380: 6c 73 65 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f lse..// #.....//
6390: 20 23 65 6e 64 69 66 20 2f 2f 20 21 55 4e 49 43 #endif // !UNIC
63a0: 4f 44 45 0d 0a 0d 0a 2f 2f 20 23 69 66 20 28 57 ODE....// #if (W
63b0: 49 4e 56 45 52 20 3e 3d 20 30 78 30 34 30 41 29 INVER >= 0x040A)
63c0: 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 ..extern(Windows
63d0: 29 20 65 78 70 6f 72 74 20 69 6e 74 20 47 65 74 ) export int Get
63e0: 43 61 6c 65 6e 64 61 72 49 6e 66 6f 41 28 0d 0a CalendarInfoA(..
63f0: 20 20 20 20 4c 43 49 44 20 20 20 20 20 4c 6f 63 LCID Loc
6400: 61 6c 65 2c 0d 0a 20 20 20 20 43 41 4c 49 44 20 ale,.. CALID
6410: 20 20 20 43 61 6c 65 6e 64 61 72 2c 0d 0a 20 20 Calendar,..
6420: 20 20 43 41 4c 54 59 50 45 20 20 43 61 6c 54 79 CALTYPE CalTy
6430: 70 65 2c 0d 0a 20 20 20 20 4c 50 53 54 52 20 20 pe,.. LPSTR
6440: 20 6c 70 43 61 6c 44 61 74 61 2c 0d 0a 20 20 20 lpCalData,..
6450: 20 69 6e 74 20 20 20 20 20 20 63 63 68 44 61 74 int cchDat
6460: 61 2c 0d 0a 20 20 20 20 4c 50 44 57 4f 52 44 20 a,.. LPDWORD
6470: 20 6c 70 56 61 6c 75 65 29 3b 0d 0a 65 78 74 65 lpValue);..exte
6480: 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f rn(Windows) expo
6490: 72 74 20 69 6e 74 20 47 65 74 43 61 6c 65 6e 64 rt int GetCalend
64a0: 61 72 49 6e 66 6f 57 28 0d 0a 20 20 20 20 4c 43 arInfoW(.. LC
64b0: 49 44 20 20 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a ID Locale,..
64c0: 20 20 20 20 43 41 4c 49 44 20 20 20 20 43 61 6c CALID Cal
64d0: 65 6e 64 61 72 2c 0d 0a 20 20 20 20 43 41 4c 54 endar,.. CALT
64e0: 59 50 45 20 20 43 61 6c 54 79 70 65 2c 0d 0a 20 YPE CalType,..
64f0: 20 20 20 4c 50 57 53 54 52 20 20 20 6c 70 43 61 LPWSTR lpCa
6500: 6c 44 61 74 61 2c 0d 0a 20 20 20 20 69 6e 74 20 lData,.. int
6510: 20 20 20 20 20 63 63 68 44 61 74 61 2c 0d 0a 20 cchData,..
6520: 20 20 20 4c 50 44 57 4f 52 44 20 20 6c 70 56 61 LPDWORD lpVa
6530: 6c 75 65 29 3b 0d 0a 2f 2f 20 23 69 66 64 65 66 lue);..// #ifdef
6540: 20 55 4e 49 43 4f 44 45 0d 0a 61 6c 69 61 73 20 UNICODE..alias
6550: 47 65 74 43 61 6c 65 6e 64 61 72 49 6e 66 6f 57 GetCalendarInfoW
6560: 20 47 65 74 43 61 6c 65 6e 64 61 72 49 6e 66 6f GetCalendarInfo
6570: 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a 2f 2f 20 ;..// #else..//
6580: 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 #.....// #endif
6590: 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a 0d 0a 65 // !UNICODE....e
65a0: 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 xtern(Windows) e
65b0: 78 70 6f 72 74 20 42 4f 4f 4c 20 53 65 74 43 61 xport BOOL SetCa
65c0: 6c 65 6e 64 61 72 49 6e 66 6f 41 28 0d 0a 20 20 lendarInfoA(..
65d0: 20 20 4c 43 49 44 20 20 20 20 20 4c 6f 63 61 6c LCID Local
65e0: 65 2c 0d 0a 20 20 20 20 43 41 4c 49 44 20 20 20 e,.. CALID
65f0: 20 43 61 6c 65 6e 64 61 72 2c 0d 0a 20 20 20 20 Calendar,..
6600: 43 41 4c 54 59 50 45 20 20 43 61 6c 54 79 70 65 CALTYPE CalType
6610: 2c 0d 0a 20 20 20 20 4c 50 43 53 54 52 20 20 6c ,.. LPCSTR l
6620: 70 43 61 6c 44 61 74 61 29 3b 0d 0a 65 78 74 65 pCalData);..exte
6630: 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f rn(Windows) expo
6640: 72 74 20 42 4f 4f 4c 20 53 65 74 43 61 6c 65 6e rt BOOL SetCalen
6650: 64 61 72 49 6e 66 6f 57 28 0d 0a 20 20 20 20 4c darInfoW(.. L
6660: 43 49 44 20 20 20 20 20 4c 6f 63 61 6c 65 2c 0d CID Locale,.
6670: 0a 20 20 20 20 43 41 4c 49 44 20 20 20 20 43 61 . CALID Ca
6680: 6c 65 6e 64 61 72 2c 0d 0a 20 20 20 20 43 41 4c lendar,.. CAL
6690: 54 59 50 45 20 20 43 61 6c 54 79 70 65 2c 0d 0a TYPE CalType,..
66a0: 20 20 20 20 4c 50 43 57 53 54 52 20 20 6c 70 43 LPCWSTR lpC
66b0: 61 6c 44 61 74 61 29 3b 0d 0a 2f 2f 20 23 69 66 alData);..// #if
66c0: 64 65 66 20 55 4e 49 43 4f 44 45 0d 0a 61 6c 69 def UNICODE..ali
66d0: 61 73 20 53 65 74 43 61 6c 65 6e 64 61 72 49 6e as SetCalendarIn
66e0: 66 6f 57 20 53 65 74 43 61 6c 65 6e 64 61 72 49 foW SetCalendarI
66f0: 6e 66 6f 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a nfo;..// #else..
6700: 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 // #.....// #end
6710: 69 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a if // !UNICODE..
6720: 2f 2f 20 23 65 6e 64 69 66 0d 0a 0d 0a 65 78 74 // #endif....ext
6730: 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 ern(Windows) exp
6740: 6f 72 74 20 69 6e 74 20 47 65 74 54 69 6d 65 46 ort int GetTimeF
6750: 6f 72 6d 61 74 41 28 0d 0a 20 20 20 20 20 4c 43 ormatA(.. LC
6760: 49 44 20 20 20 20 20 20 20 20 20 20 20 20 20 4c ID L
6770: 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 20 44 57 4f ocale,.. DWO
6780: 52 44 20 20 20 20 20 20 20 20 20 20 20 20 64 77 RD dw
6790: 46 6c 61 67 73 2c 0d 0a 20 20 20 20 20 20 53 59 Flags,.. SY
67a0: 53 54 45 4d 54 49 4d 45 20 2a 6c 70 54 69 6d 65 STEMTIME *lpTime
67b0: 2c 0d 0a 20 20 20 20 20 4c 50 43 53 54 52 20 20 ,.. LPCSTR
67c0: 20 20 20 20 20 20 20 20 6c 70 46 6f 72 6d 61 74 lpFormat
67d0: 2c 0d 0a 20 20 20 20 20 4c 50 53 54 52 20 20 20 ,.. LPSTR
67e0: 20 20 20 20 20 20 20 6c 70 54 69 6d 65 53 74 72 lpTimeStr
67f0: 2c 0d 0a 20 20 20 20 20 69 6e 74 20 20 20 20 20 ,.. int
6800: 20 20 20 20 20 20 20 20 20 63 63 68 54 69 6d 65 cchTime
6810: 29 3b 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f );..extern(Windo
6820: 77 73 29 20 65 78 70 6f 72 74 20 69 6e 74 20 47 ws) export int G
6830: 65 74 54 69 6d 65 46 6f 72 6d 61 74 57 28 0d 0a etTimeFormatW(..
6840: 20 20 20 20 20 4c 43 49 44 20 20 20 20 20 20 20 LCID
6850: 20 20 20 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 Locale,..
6860: 20 20 20 20 44 57 4f 52 44 20 20 20 20 20 20 20 DWORD
6870: 20 20 20 20 20 64 77 46 6c 61 67 73 2c 0d 0a 20 dwFlags,..
6880: 20 20 20 20 20 53 59 53 54 45 4d 54 49 4d 45 20 SYSTEMTIME
6890: 2a 6c 70 54 69 6d 65 2c 0d 0a 20 20 20 20 20 4c *lpTime,.. L
68a0: 50 43 57 53 54 52 20 20 20 20 20 20 20 20 20 20 PCWSTR
68b0: 6c 70 46 6f 72 6d 61 74 2c 0d 0a 20 20 20 20 20 lpFormat,..
68c0: 4c 50 57 53 54 52 20 20 20 20 20 20 20 20 20 20 LPWSTR
68d0: 6c 70 54 69 6d 65 53 74 72 2c 0d 0a 20 20 20 20 lpTimeStr,..
68e0: 20 69 6e 74 20 20 20 20 20 20 20 20 20 20 20 20 int
68f0: 20 20 63 63 68 54 69 6d 65 29 3b 0d 0a 2f 2f 20 cchTime);..//
6900: 23 69 66 64 65 66 20 55 4e 49 43 4f 44 45 0d 0a #ifdef UNICODE..
6910: 61 6c 69 61 73 20 47 65 74 54 69 6d 65 46 6f 72 alias GetTimeFor
6920: 6d 61 74 57 20 47 65 74 54 69 6d 65 46 6f 72 6d matW GetTimeForm
6930: 61 74 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a 2f at;..// #else../
6940: 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 / #.....// #endi
6950: 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a 0d f // !UNICODE...
6960: 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 .extern(Windows)
6970: 20 65 78 70 6f 72 74 20 69 6e 74 20 47 65 74 44 export int GetD
6980: 61 74 65 46 6f 72 6d 61 74 41 28 0d 0a 20 20 20 ateFormatA(..
6990: 20 20 4c 43 49 44 20 20 20 20 20 20 20 20 20 20 LCID
69a0: 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 Locale,..
69b0: 20 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 DWORD
69c0: 20 20 64 77 46 6c 61 67 73 2c 0d 0a 20 20 20 20 dwFlags,..
69d0: 20 20 53 59 53 54 45 4d 54 49 4d 45 20 2a 6c 70 SYSTEMTIME *lp
69e0: 44 61 74 65 2c 0d 0a 20 20 20 20 20 4c 50 43 53 Date,.. LPCS
69f0: 54 52 20 20 20 20 20 20 20 20 20 20 6c 70 46 6f TR lpFo
6a00: 72 6d 61 74 2c 0d 0a 20 20 20 20 20 4c 50 53 54 rmat,.. LPST
6a10: 52 20 20 20 20 20 20 20 20 20 20 6c 70 44 61 74 R lpDat
6a20: 65 53 74 72 2c 0d 0a 20 20 20 20 20 69 6e 74 20 eStr,.. int
6a30: 20 20 20 20 20 20 20 20 20 20 20 20 20 63 63 68 cch
6a40: 44 61 74 65 29 3b 0d 0a 65 78 74 65 72 6e 28 57 Date);..extern(W
6a50: 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 69 indows) export i
6a60: 6e 74 20 47 65 74 44 61 74 65 46 6f 72 6d 61 74 nt GetDateFormat
6a70: 57 28 0d 0a 20 20 20 20 20 4c 43 49 44 20 20 20 W(.. LCID
6a80: 20 20 20 20 20 20 20 20 20 20 4c 6f 63 61 6c 65 Locale
6a90: 2c 0d 0a 20 20 20 20 20 44 57 4f 52 44 20 20 20 ,.. DWORD
6aa0: 20 20 20 20 20 20 20 20 20 64 77 46 6c 61 67 73 dwFlags
6ab0: 2c 0d 0a 20 20 20 20 20 20 53 59 53 54 45 4d 54 ,.. SYSTEMT
6ac0: 49 4d 45 20 2a 6c 70 44 61 74 65 2c 0d 0a 20 20 IME *lpDate,..
6ad0: 20 20 20 4c 50 43 57 53 54 52 20 20 20 20 20 20 LPCWSTR
6ae0: 20 20 20 20 6c 70 46 6f 72 6d 61 74 2c 0d 0a 20 lpFormat,..
6af0: 20 20 20 20 4c 50 57 53 54 52 20 20 20 20 20 20 LPWSTR
6b00: 20 20 20 20 6c 70 44 61 74 65 53 74 72 2c 0d 0a lpDateStr,..
6b10: 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 int
6b20: 20 20 20 20 20 20 63 63 68 44 61 74 65 29 3b 0d cchDate);.
6b30: 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 43 4f .// #ifdef UNICO
6b40: 44 45 0d 0a 61 6c 69 61 73 20 47 65 74 44 61 74 DE..alias GetDat
6b50: 65 46 6f 72 6d 61 74 57 20 47 65 74 44 61 74 65 eFormatW GetDate
6b60: 46 6f 72 6d 61 74 3b 0d 0a 2f 2f 20 23 65 6c 73 Format;..// #els
6b70: 65 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 e..// #.....// #
6b80: 65 6e 64 69 66 20 2f 2f 20 21 55 4e 49 43 4f 44 endif // !UNICOD
6b90: 45 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 E....extern(Wind
6ba0: 6f 77 73 29 20 65 78 70 6f 72 74 20 69 6e 74 20 ows) export int
6bb0: 47 65 74 4e 75 6d 62 65 72 46 6f 72 6d 61 74 41 GetNumberFormatA
6bc0: 28 0d 0a 20 20 20 20 20 4c 43 49 44 20 20 20 20 (.. LCID
6bd0: 20 20 20 20 20 20 20 20 20 4c 6f 63 61 6c 65 2c Locale,
6be0: 0d 0a 20 20 20 20 20 44 57 4f 52 44 20 20 20 20 .. DWORD
6bf0: 20 20 20 20 20 20 20 20 64 77 46 6c 61 67 73 2c dwFlags,
6c00: 0d 0a 20 20 20 20 20 4c 50 43 53 54 52 20 20 20 .. LPCSTR
6c10: 20 20 20 20 20 20 20 6c 70 56 61 6c 75 65 2c 0d lpValue,.
6c20: 0a 20 20 20 20 20 20 4e 55 4d 42 45 52 46 4d 54 . NUMBERFMT
6c30: 41 20 2a 6c 70 46 6f 72 6d 61 74 2c 0d 0a 20 20 A *lpFormat,..
6c40: 20 20 20 4c 50 53 54 52 20 20 20 20 20 20 20 20 LPSTR
6c50: 20 20 6c 70 4e 75 6d 62 65 72 53 74 72 2c 0d 0a lpNumberStr,..
6c60: 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 int
6c70: 20 20 20 20 20 20 63 63 68 4e 75 6d 62 65 72 29 cchNumber)
6c80: 3b 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 ;..extern(Window
6c90: 73 29 20 65 78 70 6f 72 74 20 69 6e 74 20 47 65 s) export int Ge
6ca0: 74 4e 75 6d 62 65 72 46 6f 72 6d 61 74 57 28 0d tNumberFormatW(.
6cb0: 0a 20 20 20 20 20 4c 43 49 44 20 20 20 20 20 20 . LCID
6cc0: 20 20 20 20 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a Locale,..
6cd0: 20 20 20 20 20 44 57 4f 52 44 20 20 20 20 20 20 DWORD
6ce0: 20 20 20 20 20 20 64 77 46 6c 61 67 73 2c 0d 0a dwFlags,..
6cf0: 20 20 20 20 20 4c 50 43 57 53 54 52 20 20 20 20 LPCWSTR
6d00: 20 20 20 20 20 20 6c 70 56 61 6c 75 65 2c 0d 0a lpValue,..
6d10: 20 20 20 20 20 20 4e 55 4d 42 45 52 46 4d 54 57 NUMBERFMTW
6d20: 20 2a 6c 70 46 6f 72 6d 61 74 2c 0d 0a 20 20 20 *lpFormat,..
6d30: 20 20 4c 50 57 53 54 52 20 20 20 20 20 20 20 20 LPWSTR
6d40: 20 20 6c 70 4e 75 6d 62 65 72 53 74 72 2c 0d 0a lpNumberStr,..
6d50: 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 int
6d60: 20 20 20 20 20 20 63 63 68 4e 75 6d 62 65 72 29 cchNumber)
6d70: 3b 0d 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 ;..// #ifdef UNI
6d80: 43 4f 44 45 0d 0a 61 6c 69 61 73 20 47 65 74 4e CODE..alias GetN
6d90: 75 6d 62 65 72 46 6f 72 6d 61 74 57 20 47 65 74 umberFormatW Get
6da0: 4e 75 6d 62 65 72 46 6f 72 6d 61 74 3b 0d 0a 2f NumberFormat;../
6db0: 2f 20 23 65 6c 73 65 0d 0a 2f 2f 20 23 2e 2e 2e / #else..// #...
6dc0: 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 21 ..// #endif // !
6dd0: 55 4e 49 43 4f 44 45 0d 0a 0d 0a 65 78 74 65 72 UNICODE....exter
6de0: 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 n(Windows) expor
6df0: 74 20 69 6e 74 20 47 65 74 43 75 72 72 65 6e 63 t int GetCurrenc
6e00: 79 46 6f 72 6d 61 74 41 28 0d 0a 20 20 20 20 20 yFormatA(..
6e10: 4c 43 49 44 20 20 20 20 20 20 20 20 20 20 20 20 LCID
6e20: 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 Locale,..
6e30: 20 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 DWORD
6e40: 20 20 20 20 64 77 46 6c 61 67 73 2c 0d 0a 20 20 dwFlags,..
6e50: 20 20 20 4c 50 43 53 54 52 20 20 20 20 20 20 20 LPCSTR
6e60: 20 20 20 20 20 6c 70 56 61 6c 75 65 2c 0d 0a 20 lpValue,..
6e70: 20 20 20 20 20 43 55 52 52 45 4e 43 59 46 4d 54 CURRENCYFMT
6e80: 41 20 2a 6c 70 46 6f 72 6d 61 74 2c 0d 0a 20 20 A *lpFormat,..
6e90: 20 20 20 4c 50 53 54 52 20 20 20 20 20 20 20 20 LPSTR
6ea0: 20 20 20 20 6c 70 43 75 72 72 65 6e 63 79 53 74 lpCurrencySt
6eb0: 72 2c 0d 0a 20 20 20 20 20 69 6e 74 20 20 20 20 r,.. int
6ec0: 20 20 20 20 20 20 20 20 20 20 20 20 63 63 68 43 cchC
6ed0: 75 72 72 65 6e 63 79 29 3b 0d 0a 65 78 74 65 72 urrency);..exter
6ee0: 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 n(Windows) expor
6ef0: 74 20 69 6e 74 20 47 65 74 43 75 72 72 65 6e 63 t int GetCurrenc
6f00: 79 46 6f 72 6d 61 74 57 28 0d 0a 20 20 20 20 20 yFormatW(..
6f10: 4c 43 49 44 20 20 20 20 20 20 20 20 20 20 20 20 LCID
6f20: 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 Locale,..
6f30: 20 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 DWORD
6f40: 20 20 20 20 64 77 46 6c 61 67 73 2c 0d 0a 20 20 dwFlags,..
6f50: 20 20 20 4c 50 43 57 53 54 52 20 20 20 20 20 20 LPCWSTR
6f60: 20 20 20 20 20 20 6c 70 56 61 6c 75 65 2c 0d 0a lpValue,..
6f70: 20 20 20 20 20 20 43 55 52 52 45 4e 43 59 46 4d CURRENCYFM
6f80: 54 57 20 2a 6c 70 46 6f 72 6d 61 74 2c 0d 0a 20 TW *lpFormat,..
6f90: 20 20 20 20 4c 50 57 53 54 52 20 20 20 20 20 20 LPWSTR
6fa0: 20 20 20 20 20 20 6c 70 43 75 72 72 65 6e 63 79 lpCurrency
6fb0: 53 74 72 2c 0d 0a 20 20 20 20 20 69 6e 74 20 20 Str,.. int
6fc0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 63 cc
6fd0: 68 43 75 72 72 65 6e 63 79 29 3b 0d 0a 2f 2f 20 hCurrency);..//
6fe0: 23 69 66 64 65 66 20 55 4e 49 43 4f 44 45 0d 0a #ifdef UNICODE..
6ff0: 61 6c 69 61 73 20 47 65 74 43 75 72 72 65 6e 63 alias GetCurrenc
7000: 79 46 6f 72 6d 61 74 57 20 47 65 74 43 75 72 72 yFormatW GetCurr
7010: 65 6e 63 79 46 6f 72 6d 61 74 3b 0d 0a 2f 2f 20 encyFormat;..//
7020: 23 65 6c 73 65 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a #else..// #.....
7030: 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 21 55 4e // #endif // !UN
7040: 49 43 4f 44 45 0d 0a 0d 0a 65 78 74 65 72 6e 28 ICODE....extern(
7050: 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 Windows) export
7060: 42 4f 4f 4c 20 45 6e 75 6d 43 61 6c 65 6e 64 61 BOOL EnumCalenda
7070: 72 49 6e 66 6f 41 28 0d 0a 20 20 20 20 20 43 41 rInfoA(.. CA
7080: 4c 49 4e 46 4f 5f 45 4e 55 4d 50 52 4f 43 41 20 LINFO_ENUMPROCA
7090: 6c 70 43 61 6c 49 6e 66 6f 45 6e 75 6d 50 72 6f lpCalInfoEnumPro
70a0: 63 2c 0d 0a 20 20 20 20 20 4c 43 49 44 20 20 20 c,.. LCID
70b0: 20 20 20 20 20 20 20 20 20 20 20 4c 6f 63 61 6c Local
70c0: 65 2c 0d 0a 20 20 20 20 20 43 41 4c 49 44 20 20 e,.. CALID
70d0: 20 20 20 20 20 20 20 20 20 20 20 43 61 6c 65 6e Calen
70e0: 64 61 72 2c 0d 0a 20 20 20 20 20 43 41 4c 54 59 dar,.. CALTY
70f0: 50 45 20 20 20 20 20 20 20 20 20 20 20 43 61 6c PE Cal
7100: 54 79 70 65 29 3b 0d 0a 65 78 74 65 72 6e 28 57 Type);..extern(W
7110: 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 42 indows) export B
7120: 4f 4f 4c 20 45 6e 75 6d 43 61 6c 65 6e 64 61 72 OOL EnumCalendar
7130: 49 6e 66 6f 57 28 0d 0a 20 20 20 20 20 43 41 4c InfoW(.. CAL
7140: 49 4e 46 4f 5f 45 4e 55 4d 50 52 4f 43 57 20 6c INFO_ENUMPROCW l
7150: 70 43 61 6c 49 6e 66 6f 45 6e 75 6d 50 72 6f 63 pCalInfoEnumProc
7160: 2c 0d 0a 20 20 20 20 20 4c 43 49 44 20 20 20 20 ,.. LCID
7170: 20 20 20 20 20 20 20 20 20 20 4c 6f 63 61 6c 65 Locale
7180: 2c 0d 0a 20 20 20 20 20 43 41 4c 49 44 20 20 20 ,.. CALID
7190: 20 20 20 20 20 20 20 20 20 20 43 61 6c 65 6e 64 Calend
71a0: 61 72 2c 0d 0a 20 20 20 20 20 43 41 4c 54 59 50 ar,.. CALTYP
71b0: 45 20 20 20 20 20 20 20 20 20 20 20 43 61 6c 54 E CalT
71c0: 79 70 65 29 3b 0d 0a 2f 2f 20 23 69 66 64 65 66 ype);..// #ifdef
71d0: 20 55 4e 49 43 4f 44 45 0d 0a 61 6c 69 61 73 20 UNICODE..alias
71e0: 45 6e 75 6d 43 61 6c 65 6e 64 61 72 49 6e 66 6f EnumCalendarInfo
71f0: 57 20 45 6e 75 6d 43 61 6c 65 6e 64 61 72 49 6e W EnumCalendarIn
7200: 66 6f 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a 2f fo;..// #else../
7210: 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 / #.....// #endi
7220: 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a 0d f // !UNICODE...
7230: 0a 2f 2f 20 23 69 66 28 57 49 4e 56 45 52 20 3e .// #if(WINVER >
7240: 3d 20 30 78 30 35 30 30 29 0d 0a 65 78 74 65 72 = 0x0500)..exter
7250: 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 n(Windows) expor
7260: 74 20 42 4f 4f 4c 20 45 6e 75 6d 43 61 6c 65 6e t BOOL EnumCalen
7270: 64 61 72 49 6e 66 6f 45 78 41 28 0d 0a 20 20 20 darInfoExA(..
7280: 20 20 43 41 4c 49 4e 46 4f 5f 45 4e 55 4d 50 52 CALINFO_ENUMPR
7290: 4f 43 45 58 41 20 6c 70 43 61 6c 49 6e 66 6f 45 OCEXA lpCalInfoE
72a0: 6e 75 6d 50 72 6f 63 45 78 2c 0d 0a 20 20 20 20 numProcEx,..
72b0: 20 4c 43 49 44 20 20 20 20 20 20 20 20 20 20 20 LCID
72c0: 20 20 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 Locale,..
72d0: 20 20 20 43 41 4c 49 44 20 20 20 20 20 20 20 20 CALID
72e0: 20 20 20 20 20 20 20 43 61 6c 65 6e 64 61 72 2c Calendar,
72f0: 0d 0a 20 20 20 20 20 43 41 4c 54 59 50 45 20 20 .. CALTYPE
7300: 20 20 20 20 20 20 20 20 20 20 20 43 61 6c 54 79 CalTy
7310: 70 65 29 3b 0d 0a 65 78 74 65 72 6e 28 57 69 6e pe);..extern(Win
7320: 64 6f 77 73 29 20 65 78 70 6f 72 74 20 42 4f 4f dows) export BOO
7330: 4c 20 45 6e 75 6d 43 61 6c 65 6e 64 61 72 49 6e L EnumCalendarIn
7340: 66 6f 45 78 57 28 0d 0a 20 20 20 20 20 43 41 4c foExW(.. CAL
7350: 49 4e 46 4f 5f 45 4e 55 4d 50 52 4f 43 45 58 57 INFO_ENUMPROCEXW
7360: 20 6c 70 43 61 6c 49 6e 66 6f 45 6e 75 6d 50 72 lpCalInfoEnumPr
7370: 6f 63 45 78 2c 0d 0a 20 20 20 20 20 4c 43 49 44 ocEx,.. LCID
7380: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7390: 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 20 43 41 Locale,.. CA
73a0: 4c 49 44 20 20 20 20 20 20 20 20 20 20 20 20 20 LID
73b0: 20 20 43 61 6c 65 6e 64 61 72 2c 0d 0a 20 20 20 Calendar,..
73c0: 20 20 43 41 4c 54 59 50 45 20 20 20 20 20 20 20 CALTYPE
73d0: 20 20 20 20 20 20 43 61 6c 54 79 70 65 29 3b 0d CalType);.
73e0: 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 43 4f .// #ifdef UNICO
73f0: 44 45 0d 0a 61 6c 69 61 73 20 45 6e 75 6d 43 61 DE..alias EnumCa
7400: 6c 65 6e 64 61 72 49 6e 66 6f 45 78 57 20 45 6e lendarInfoExW En
7410: 75 6d 43 61 6c 65 6e 64 61 72 49 6e 66 6f 45 78 umCalendarInfoEx
7420: 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a 2f 2f 20 ;..// #else..//
7430: 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 #.....// #endif
7440: 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a 2f 2f 20 // !UNICODE..//
7450: 23 65 6e 64 69 66 20 2f 2a 20 57 49 4e 56 45 52 #endif /* WINVER
7460: 20 3e 3d 20 30 78 30 35 30 30 20 2a 2f 0d 0a 0d >= 0x0500 */...
7470: 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 .extern(Windows)
7480: 20 65 78 70 6f 72 74 20 42 4f 4f 4c 20 45 6e 75 export BOOL Enu
7490: 6d 54 69 6d 65 46 6f 72 6d 61 74 73 41 28 0d 0a mTimeFormatsA(..
74a0: 20 20 20 20 20 54 49 4d 45 46 4d 54 5f 45 4e 55 TIMEFMT_ENU
74b0: 4d 50 52 4f 43 41 20 6c 70 54 69 6d 65 46 6d 74 MPROCA lpTimeFmt
74c0: 45 6e 75 6d 50 72 6f 63 2c 0d 0a 20 20 20 20 20 EnumProc,..
74d0: 4c 43 49 44 20 20 20 20 20 20 20 20 20 20 20 20 LCID
74e0: 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 20 Locale,..
74f0: 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 20 DWORD
7500: 20 20 64 77 46 6c 61 67 73 29 3b 0d 0a 65 78 74 dwFlags);..ext
7510: 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 ern(Windows) exp
7520: 6f 72 74 20 42 4f 4f 4c 20 45 6e 75 6d 54 69 6d ort BOOL EnumTim
7530: 65 46 6f 72 6d 61 74 73 57 28 0d 0a 20 20 20 20 eFormatsW(..
7540: 20 54 49 4d 45 46 4d 54 5f 45 4e 55 4d 50 52 4f TIMEFMT_ENUMPRO
7550: 43 57 20 6c 70 54 69 6d 65 46 6d 74 45 6e 75 6d CW lpTimeFmtEnum
7560: 50 72 6f 63 2c 0d 0a 20 20 20 20 20 4c 43 49 44 Proc,.. LCID
7570: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4c 6f Lo
7580: 63 61 6c 65 2c 0d 0a 20 20 20 20 20 44 57 4f 52 cale,.. DWOR
7590: 44 20 20 20 20 20 20 20 20 20 20 20 20 20 64 77 D dw
75a0: 46 6c 61 67 73 29 3b 0d 0a 2f 2f 20 23 69 66 64 Flags);..// #ifd
75b0: 65 66 20 55 4e 49 43 4f 44 45 0d 0a 61 6c 69 61 ef UNICODE..alia
75c0: 73 20 45 6e 75 6d 54 69 6d 65 46 6f 72 6d 61 74 s EnumTimeFormat
75d0: 73 57 20 45 6e 75 6d 54 69 6d 65 46 6f 72 6d 61 sW EnumTimeForma
75e0: 74 73 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a 2f ts;..// #else../
75f0: 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 / #.....// #endi
7600: 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a 0d f // !UNICODE...
7610: 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 .extern(Windows)
7620: 20 65 78 70 6f 72 74 20 42 4f 4f 4c 20 45 6e 75 export BOOL Enu
7630: 6d 44 61 74 65 46 6f 72 6d 61 74 73 41 28 0d 0a mDateFormatsA(..
7640: 20 20 20 20 20 44 41 54 45 46 4d 54 5f 45 4e 55 DATEFMT_ENU
7650: 4d 50 52 4f 43 41 20 6c 70 44 61 74 65 46 6d 74 MPROCA lpDateFmt
7660: 45 6e 75 6d 50 72 6f 63 2c 0d 0a 20 20 20 20 20 EnumProc,..
7670: 4c 43 49 44 20 20 20 20 20 20 20 20 20 20 20 20 LCID
7680: 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 20 Locale,..
7690: 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 20 DWORD
76a0: 20 20 64 77 46 6c 61 67 73 29 3b 0d 0a 65 78 74 dwFlags);..ext
76b0: 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 ern(Windows) exp
76c0: 6f 72 74 20 42 4f 4f 4c 20 45 6e 75 6d 44 61 74 ort BOOL EnumDat
76d0: 65 46 6f 72 6d 61 74 73 57 28 0d 0a 20 20 20 20 eFormatsW(..
76e0: 20 44 41 54 45 46 4d 54 5f 45 4e 55 4d 50 52 4f DATEFMT_ENUMPRO
76f0: 43 57 20 6c 70 44 61 74 65 46 6d 74 45 6e 75 6d CW lpDateFmtEnum
7700: 50 72 6f 63 2c 0d 0a 20 20 20 20 20 4c 43 49 44 Proc,.. LCID
7710: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4c 6f Lo
7720: 63 61 6c 65 2c 0d 0a 20 20 20 20 20 44 57 4f 52 cale,.. DWOR
7730: 44 20 20 20 20 20 20 20 20 20 20 20 20 20 64 77 D dw
7740: 46 6c 61 67 73 29 3b 0d 0a 2f 2f 20 23 69 66 64 Flags);..// #ifd
7750: 65 66 20 55 4e 49 43 4f 44 45 0d 0a 61 6c 69 61 ef UNICODE..alia
7760: 73 20 45 6e 75 6d 44 61 74 65 46 6f 72 6d 61 74 s EnumDateFormat
7770: 73 57 20 45 6e 75 6d 44 61 74 65 46 6f 72 6d 61 sW EnumDateForma
7780: 74 73 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a 2f ts;..// #else../
7790: 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 / #.....// #endi
77a0: 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a 0d f // !UNICODE...
77b0: 0a 2f 2f 20 23 69 66 28 57 49 4e 56 45 52 20 3e .// #if(WINVER >
77c0: 3d 20 30 78 30 35 30 30 29 0d 0a 65 78 74 65 72 = 0x0500)..exter
77d0: 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 n(Windows) expor
77e0: 74 20 42 4f 4f 4c 20 45 6e 75 6d 44 61 74 65 46 t BOOL EnumDateF
77f0: 6f 72 6d 61 74 73 45 78 41 28 0d 0a 20 20 20 20 ormatsExA(..
7800: 20 44 41 54 45 46 4d 54 5f 45 4e 55 4d 50 52 4f DATEFMT_ENUMPRO
7810: 43 45 58 41 20 6c 70 44 61 74 65 46 6d 74 45 6e CEXA lpDateFmtEn
7820: 75 6d 50 72 6f 63 45 78 2c 0d 0a 20 20 20 20 20 umProcEx,..
7830: 4c 43 49 44 20 20 20 20 20 20 20 20 20 20 20 20 LCID
7840: 20 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 Locale,..
7850: 20 20 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 DWORD
7860: 20 20 20 20 20 20 64 77 46 6c 61 67 73 29 3b 0d dwFlags);.
7870: 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 .extern(Windows)
7880: 20 65 78 70 6f 72 74 20 42 4f 4f 4c 20 45 6e 75 export BOOL Enu
7890: 6d 44 61 74 65 46 6f 72 6d 61 74 73 45 78 57 28 mDateFormatsExW(
78a0: 0d 0a 20 20 20 20 20 44 41 54 45 46 4d 54 5f 45 .. DATEFMT_E
78b0: 4e 55 4d 50 52 4f 43 45 58 57 20 6c 70 44 61 74 NUMPROCEXW lpDat
78c0: 65 46 6d 74 45 6e 75 6d 50 72 6f 63 45 78 2c 0d eFmtEnumProcEx,.
78d0: 0a 20 20 20 20 20 4c 43 49 44 20 20 20 20 20 20 . LCID
78e0: 20 20 20 20 20 20 20 20 20 20 4c 6f 63 61 6c 65 Locale
78f0: 2c 0d 0a 20 20 20 20 20 44 57 4f 52 44 20 20 20 ,.. DWORD
7900: 20 20 20 20 20 20 20 20 20 20 20 20 64 77 46 6c dwFl
7910: 61 67 73 29 3b 0d 0a 2f 2f 20 23 69 66 64 65 66 ags);..// #ifdef
7920: 20 55 4e 49 43 4f 44 45 0d 0a 61 6c 69 61 73 20 UNICODE..alias
7930: 45 6e 75 6d 44 61 74 65 46 6f 72 6d 61 74 73 45 EnumDateFormatsE
7940: 78 57 20 45 6e 75 6d 44 61 74 65 46 6f 72 6d 61 xW EnumDateForma
7950: 74 73 45 78 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d tsEx;..// #else.
7960: 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e .// #.....// #en
7970: 64 69 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d dif // !UNICODE.
7980: 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2a 20 57 49 .// #endif /* WI
7990: 4e 56 45 52 20 3e 3d 20 30 78 30 35 30 30 20 2a NVER >= 0x0500 *
79a0: 2f 0d 0a 0d 0a 2f 2f 20 23 69 66 28 57 49 4e 56 /....// #if(WINV
79b0: 45 52 20 3e 3d 20 30 78 30 35 30 30 29 0d 0a 65 ER >= 0x0500)..e
79c0: 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 xtern(Windows) e
79d0: 78 70 6f 72 74 20 42 4f 4f 4c 20 49 73 56 61 6c xport BOOL IsVal
79e0: 69 64 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 28 idLanguageGroup(
79f0: 0d 0a 20 20 20 20 20 4c 47 52 50 49 44 20 20 4c .. LGRPID L
7a00: 61 6e 67 75 61 67 65 47 72 6f 75 70 2c 0d 0a 20 anguageGroup,..
7a10: 20 20 20 20 44 57 4f 52 44 20 20 20 64 77 46 6c DWORD dwFl
7a20: 61 67 73 29 3b 0d 0a 2f 2f 20 23 65 6e 64 69 66 ags);..// #endif
7a30: 20 2f 2a 20 57 49 4e 56 45 52 20 3e 3d 20 30 78 /* WINVER >= 0x
7a40: 30 35 30 30 20 2a 2f 0d 0a 0d 0a 65 78 74 65 72 0500 */....exter
7a50: 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 n(Windows) expor
7a60: 74 20 42 4f 4f 4c 20 49 73 56 61 6c 69 64 4c 6f t BOOL IsValidLo
7a70: 63 61 6c 65 28 0d 0a 20 20 20 20 20 4c 43 49 44 cale(.. LCID
7a80: 20 20 20 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 Locale,..
7a90: 20 44 57 4f 52 44 20 20 64 77 46 6c 61 67 73 29 DWORD dwFlags)
7aa0: 3b 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 ;....extern(Wind
7ab0: 6f 77 73 29 20 65 78 70 6f 72 74 20 69 6e 74 20 ows) export int
7ac0: 47 65 74 47 65 6f 49 6e 66 6f 41 28 0d 0a 20 20 GetGeoInfoA(..
7ad0: 20 20 47 45 4f 49 44 20 20 20 20 20 20 20 4c 6f GEOID Lo
7ae0: 63 61 74 69 6f 6e 2c 0d 0a 20 20 20 20 47 45 4f cation,.. GEO
7af0: 54 59 50 45 20 20 20 20 20 47 65 6f 54 79 70 65 TYPE GeoType
7b00: 2c 0d 0a 20 20 20 20 4c 50 53 54 52 20 20 20 20 ,.. LPSTR
7b10: 20 6c 70 47 65 6f 44 61 74 61 2c 0d 0a 20 20 20 lpGeoData,..
7b20: 20 69 6e 74 20 20 20 20 20 20 20 20 20 63 63 68 int cch
7b30: 44 61 74 61 2c 0d 0a 20 20 20 20 4c 41 4e 47 49 Data,.. LANGI
7b40: 44 20 20 20 20 20 20 4c 61 6e 67 49 64 29 3b 0d D LangId);.
7b50: 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 .extern(Windows)
7b60: 20 65 78 70 6f 72 74 20 69 6e 74 20 47 65 74 47 export int GetG
7b70: 65 6f 49 6e 66 6f 57 28 0d 0a 20 20 20 20 47 45 eoInfoW(.. GE
7b80: 4f 49 44 20 20 20 20 20 20 20 4c 6f 63 61 74 69 OID Locati
7b90: 6f 6e 2c 0d 0a 20 20 20 20 47 45 4f 54 59 50 45 on,.. GEOTYPE
7ba0: 20 20 20 20 20 47 65 6f 54 79 70 65 2c 0d 0a 20 GeoType,..
7bb0: 20 20 20 4c 50 57 53 54 52 20 20 20 20 20 6c 70 LPWSTR lp
7bc0: 47 65 6f 44 61 74 61 2c 0d 0a 20 20 20 20 69 6e GeoData,.. in
7bd0: 74 20 20 20 20 20 20 20 20 20 63 63 68 44 61 74 t cchDat
7be0: 61 2c 0d 0a 20 20 20 20 4c 41 4e 47 49 44 20 20 a,.. LANGID
7bf0: 20 20 20 20 4c 61 6e 67 49 64 29 3b 0d 0a 2f 2f LangId);..//
7c00: 20 23 69 66 64 65 66 20 55 4e 49 43 4f 44 45 0d #ifdef UNICODE.
7c10: 0a 61 6c 69 61 73 20 47 65 74 47 65 6f 49 6e 66 .alias GetGeoInf
7c20: 6f 57 20 47 65 74 47 65 6f 49 6e 66 6f 3b 0d 0a oW GetGeoInfo;..
7c30: 2f 2f 20 23 65 6c 73 65 0d 0a 2f 2f 20 23 2e 2e // #else..// #..
7c40: 2e 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 ...// #endif //
7c50: 21 55 4e 49 43 4f 44 45 0d 0a 0d 0a 65 78 74 65 !UNICODE....exte
7c60: 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f rn(Windows) expo
7c70: 72 74 20 42 4f 4f 4c 20 45 6e 75 6d 53 79 73 74 rt BOOL EnumSyst
7c80: 65 6d 47 65 6f 49 44 28 0d 0a 20 20 20 20 47 45 emGeoID(.. GE
7c90: 4f 43 4c 41 53 53 20 20 20 20 20 20 20 20 47 65 OCLASS Ge
7ca0: 6f 43 6c 61 73 73 2c 0d 0a 20 20 20 20 47 45 4f oClass,.. GEO
7cb0: 49 44 20 20 20 20 20 20 20 20 20 20 20 50 61 72 ID Par
7cc0: 65 6e 74 47 65 6f 49 64 2c 0d 0a 20 20 20 20 47 entGeoId,.. G
7cd0: 45 4f 5f 45 4e 55 4d 50 52 4f 43 20 20 20 20 6c EO_ENUMPROC l
7ce0: 70 47 65 6f 45 6e 75 6d 50 72 6f 63 29 3b 0d 0a pGeoEnumProc);..
7cf0: 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 ..extern(Windows
7d00: 29 20 65 78 70 6f 72 74 20 47 45 4f 49 44 20 47 ) export GEOID G
7d10: 65 74 55 73 65 72 47 65 6f 49 44 28 0d 0a 20 20 etUserGeoID(..
7d20: 20 20 47 45 4f 43 4c 41 53 53 20 20 20 20 47 65 GEOCLASS Ge
7d30: 6f 43 6c 61 73 73 29 3b 0d 0a 0d 0a 65 78 74 65 oClass);....exte
7d40: 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f rn(Windows) expo
7d50: 72 74 20 42 4f 4f 4c 20 53 65 74 55 73 65 72 47 rt BOOL SetUserG
7d60: 65 6f 49 44 28 0d 0a 20 20 20 20 47 45 4f 49 44 eoID(.. GEOID
7d70: 20 20 20 20 20 20 20 47 65 6f 49 64 29 3b 0d 0a GeoId);..
7d80: 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 ..extern(Windows
7d90: 29 20 65 78 70 6f 72 74 20 4c 43 49 44 20 43 6f ) export LCID Co
7da0: 6e 76 65 72 74 44 65 66 61 75 6c 74 4c 6f 63 61 nvertDefaultLoca
7db0: 6c 65 28 0d 0a 20 20 20 20 20 20 4c 43 49 44 20 le(.. LCID
7dc0: 20 20 4c 6f 63 61 6c 65 29 3b 0d 0a 0d 0a 65 78 Locale);....ex
7dd0: 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 tern(Windows) ex
7de0: 70 6f 72 74 20 4c 43 49 44 20 47 65 74 54 68 72 port LCID GetThr
7df0: 65 61 64 4c 6f 63 61 6c 65 28 29 3b 0d 0a 0d 0a eadLocale();....
7e00: 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 extern(Windows)
7e10: 65 78 70 6f 72 74 20 42 4f 4f 4c 20 53 65 74 54 export BOOL SetT
7e20: 68 72 65 61 64 4c 6f 63 61 6c 65 28 0d 0a 20 20 hreadLocale(..
7e30: 20 20 20 4c 43 49 44 20 20 4c 6f 63 61 6c 65 0d LCID Locale.
7e40: 0a 20 20 20 20 29 3b 0d 0a 0d 0a 2f 2f 20 23 69 . );....// #i
7e50: 66 28 57 49 4e 56 45 52 20 3e 3d 20 30 78 30 35 f(WINVER >= 0x05
7e60: 30 30 29 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 00)..extern(Wind
7e70: 6f 77 73 29 20 65 78 70 6f 72 74 20 4c 41 4e 47 ows) export LANG
7e80: 49 44 20 47 65 74 53 79 73 74 65 6d 44 65 66 61 ID GetSystemDefa
7e90: 75 6c 74 55 49 4c 61 6e 67 75 61 67 65 28 29 3b ultUILanguage();
7ea0: 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f ....extern(Windo
7eb0: 77 73 29 20 65 78 70 6f 72 74 20 4c 41 4e 47 49 ws) export LANGI
7ec0: 44 20 47 65 74 55 73 65 72 44 65 66 61 75 6c 74 D GetUserDefault
7ed0: 55 49 4c 61 6e 67 75 61 67 65 28 29 3b 0d 0a 2f UILanguage();../
7ee0: 2f 20 23 65 6e 64 69 66 20 2f 2a 20 57 49 4e 56 / #endif /* WINV
7ef0: 45 52 20 3e 3d 20 30 78 30 35 30 30 20 2a 2f 0d ER >= 0x0500 */.
7f00: 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 ...extern(Window
7f10: 73 29 20 65 78 70 6f 72 74 20 4c 41 4e 47 49 44 s) export LANGID
7f20: 20 47 65 74 53 79 73 74 65 6d 44 65 66 61 75 6c GetSystemDefaul
7f30: 74 4c 61 6e 67 49 44 28 29 3b 0d 0a 0d 0a 65 78 tLangID();....ex
7f40: 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 tern(Windows) ex
7f50: 70 6f 72 74 20 4c 41 4e 47 49 44 20 47 65 74 55 port LANGID GetU
7f60: 73 65 72 44 65 66 61 75 6c 74 4c 61 6e 67 49 44 serDefaultLangID
7f70: 28 29 3b 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 ();....extern(Wi
7f80: 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 4c 43 ndows) export LC
7f90: 49 44 20 47 65 74 53 79 73 74 65 6d 44 65 66 61 ID GetSystemDefa
7fa0: 75 6c 74 4c 43 49 44 28 29 3b 0d 0a 0d 0a 65 78 ultLCID();....ex
7fb0: 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 tern(Windows) ex
7fc0: 70 6f 72 74 20 4c 43 49 44 20 47 65 74 55 73 65 port LCID GetUse
7fd0: 72 44 65 66 61 75 6c 74 4c 43 49 44 28 29 3b 0d rDefaultLCID();.
7fe0: 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 ...extern(Window
7ff0: 73 29 20 65 78 70 6f 72 74 20 42 4f 4f 4c 20 47 s) export BOOL G
8000: 65 74 53 74 72 69 6e 67 54 79 70 65 45 78 41 28 etStringTypeExA(
8010: 0d 0a 20 20 20 20 20 4c 43 49 44 20 20 20 20 20 .. LCID
8020: 4c 6f 63 61 6c 65 2c 0d 0a 20 20 20 20 20 44 57 Locale,.. DW
8030: 4f 52 44 20 20 20 20 64 77 49 6e 66 6f 54 79 70 ORD dwInfoTyp
8040: 65 2c 0d 0a 20 20 20 20 20 4c 50 43 53 54 52 20 e,.. LPCSTR
8050: 20 6c 70 53 72 63 53 74 72 2c 0d 0a 20 20 20 20 lpSrcStr,..
8060: 20 69 6e 74 20 20 20 20 20 20 63 63 68 53 72 63 int cchSrc
8070: 2c 0d 0a 20 20 20 20 20 4c 50 57 4f 52 44 20 20 ,.. LPWORD
8080: 6c 70 43 68 61 72 54 79 70 65 29 3b 0d 0a 65 78 lpCharType);..ex
8090: 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 tern(Windows) ex
80a0: 70 6f 72 74 20 42 4f 4f 4c 20 47 65 74 53 74 72 port BOOL GetStr
80b0: 69 6e 67 54 79 70 65 45 78 57 28 0d 0a 20 20 20 ingTypeExW(..
80c0: 20 20 4c 43 49 44 20 20 20 20 20 4c 6f 63 61 6c LCID Local
80d0: 65 2c 0d 0a 20 20 20 20 20 44 57 4f 52 44 20 20 e,.. DWORD
80e0: 20 20 64 77 49 6e 66 6f 54 79 70 65 2c 0d 0a 20 dwInfoType,..
80f0: 20 20 20 20 4c 50 43 57 53 54 52 20 20 6c 70 53 LPCWSTR lpS
8100: 72 63 53 74 72 2c 0d 0a 20 20 20 20 20 69 6e 74 rcStr,.. int
8110: 20 20 20 20 20 20 63 63 68 53 72 63 2c 0d 0a 20 cchSrc,..
8120: 20 20 20 20 4c 50 57 4f 52 44 20 20 6c 70 43 68 LPWORD lpCh
8130: 61 72 54 79 70 65 29 3b 0d 0a 2f 2f 20 23 69 66 arType);..// #if
8140: 64 65 66 20 55 4e 49 43 4f 44 45 0d 0a 61 6c 69 def UNICODE..ali
8150: 61 73 20 47 65 74 53 74 72 69 6e 67 54 79 70 65 as GetStringType
8160: 45 78 57 20 47 65 74 53 74 72 69 6e 67 54 79 70 ExW GetStringTyp
8170: 65 45 78 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d 0a eEx;..// #else..
8180: 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 // #.....// #end
8190: 69 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d 0a if // !UNICODE..
81a0: 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 ..extern(Windows
81b0: 29 20 65 78 70 6f 72 74 20 42 4f 4f 4c 20 47 65 ) export BOOL Ge
81c0: 74 53 74 72 69 6e 67 54 79 70 65 41 28 0d 0a 20 tStringTypeA(..
81d0: 20 20 20 20 4c 43 49 44 20 20 20 20 20 4c 6f 63 LCID Loc
81e0: 61 6c 65 2c 0d 0a 20 20 20 20 20 44 57 4f 52 44 ale,.. DWORD
81f0: 20 20 20 20 64 77 49 6e 66 6f 54 79 70 65 2c 0d dwInfoType,.
8200: 0a 20 20 20 20 20 4c 50 43 53 54 52 20 20 20 6c . LPCSTR l
8210: 70 53 72 63 53 74 72 2c 0d 0a 20 20 20 20 20 69 pSrcStr,.. i
8220: 6e 74 20 20 20 20 20 20 63 63 68 53 72 63 2c 0d nt cchSrc,.
8230: 0a 20 20 20 20 20 4c 50 57 4f 52 44 20 20 6c 70 . LPWORD lp
8240: 43 68 61 72 54 79 70 65 29 3b 0d 0a 0d 0a 65 78 CharType);....ex
8250: 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 tern(Windows) ex
8260: 70 6f 72 74 20 42 4f 4f 4c 20 47 65 74 53 74 72 port BOOL GetStr
8270: 69 6e 67 54 79 70 65 57 28 0d 0a 20 20 20 20 20 ingTypeW(..
8280: 44 57 4f 52 44 20 20 20 20 64 77 49 6e 66 6f 54 DWORD dwInfoT
8290: 79 70 65 2c 0d 0a 20 20 20 20 20 4c 50 43 57 53 ype,.. LPCWS
82a0: 54 52 20 20 6c 70 53 72 63 53 74 72 2c 0d 0a 20 TR lpSrcStr,..
82b0: 20 20 20 20 69 6e 74 20 20 20 20 20 20 63 63 68 int cch
82c0: 53 72 63 2c 0d 0a 20 20 20 20 20 4c 50 57 4f 52 Src,.. LPWOR
82d0: 44 20 20 6c 70 43 68 61 72 54 79 70 65 29 3b 0d D lpCharType);.
82e0: 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 ...extern(Window
82f0: 73 29 20 65 78 70 6f 72 74 20 69 6e 74 20 46 6f s) export int Fo
8300: 6c 64 53 74 72 69 6e 67 41 28 0d 0a 20 20 20 20 ldStringA(..
8310: 20 44 57 4f 52 44 20 20 20 20 64 77 4d 61 70 46 DWORD dwMapF
8320: 6c 61 67 73 2c 0d 0a 20 20 20 20 20 4c 50 43 53 lags,.. LPCS
8330: 54 52 20 20 6c 70 53 72 63 53 74 72 2c 0d 0a 20 TR lpSrcStr,..
8340: 20 20 20 20 69 6e 74 20 20 20 20 20 20 63 63 68 int cch
8350: 53 72 63 2c 0d 0a 20 20 20 20 20 4c 50 53 54 52 Src,.. LPSTR
8360: 20 20 6c 70 44 65 73 74 53 74 72 2c 0d 0a 20 20 lpDestStr,..
8370: 20 20 20 69 6e 74 20 20 20 20 20 20 63 63 68 44 int cchD
8380: 65 73 74 29 3b 0d 0a 65 78 74 65 72 6e 28 57 69 est);..extern(Wi
8390: 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 69 6e ndows) export in
83a0: 74 20 46 6f 6c 64 53 74 72 69 6e 67 57 28 0d 0a t FoldStringW(..
83b0: 20 20 20 20 20 44 57 4f 52 44 20 20 20 20 64 77 DWORD dw
83c0: 4d 61 70 46 6c 61 67 73 2c 0d 0a 20 20 20 20 20 MapFlags,..
83d0: 4c 50 43 57 53 54 52 20 20 6c 70 53 72 63 53 74 LPCWSTR lpSrcSt
83e0: 72 2c 0d 0a 20 20 20 20 20 69 6e 74 20 20 20 20 r,.. int
83f0: 20 20 63 63 68 53 72 63 2c 0d 0a 20 20 20 20 20 cchSrc,..
8400: 4c 50 57 53 54 52 20 20 6c 70 44 65 73 74 53 74 LPWSTR lpDestSt
8410: 72 2c 0d 0a 20 20 20 20 20 69 6e 74 20 20 20 20 r,.. int
8420: 20 20 63 63 68 44 65 73 74 29 3b 0d 0a 2f 2f 20 cchDest);..//
8430: 23 69 66 64 65 66 20 55 4e 49 43 4f 44 45 0d 0a #ifdef UNICODE..
8440: 61 6c 69 61 73 20 46 6f 6c 64 53 74 72 69 6e 67 alias FoldString
8450: 57 20 46 6f 6c 64 53 74 72 69 6e 67 3b 0d 0a 2f W FoldString;../
8460: 2f 20 23 65 6c 73 65 0d 0a 2f 2f 20 23 2e 2e 2e / #else..// #...
8470: 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 21 ..// #endif // !
8480: 55 4e 49 43 4f 44 45 0d 0a 0d 0a 2f 2f 20 23 69 UNICODE....// #i
8490: 66 28 57 49 4e 56 45 52 20 3e 3d 20 30 78 30 35 f(WINVER >= 0x05
84a0: 30 30 29 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 00)..extern(Wind
84b0: 6f 77 73 29 20 65 78 70 6f 72 74 20 42 4f 4f 4c ows) export BOOL
84c0: 20 45 6e 75 6d 53 79 73 74 65 6d 4c 61 6e 67 75 EnumSystemLangu
84d0: 61 67 65 47 72 6f 75 70 73 41 28 0d 0a 20 20 20 ageGroupsA(..
84e0: 20 20 4c 41 4e 47 55 41 47 45 47 52 4f 55 50 5f LANGUAGEGROUP_
84f0: 45 4e 55 4d 50 52 4f 43 41 20 6c 70 4c 61 6e 67 ENUMPROCA lpLang
8500: 75 61 67 65 47 72 6f 75 70 45 6e 75 6d 50 72 6f uageGroupEnumPro
8510: 63 2c 0d 0a 20 20 20 20 20 44 57 4f 52 44 20 20 c,.. DWORD
8520: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
8530: 20 64 77 46 6c 61 67 73 2c 0d 0a 20 20 20 20 20 dwFlags,..
8540: 4c 4f 4e 47 5f 50 54 52 20 20 20 20 20 20 20 20 LONG_PTR
8550: 20 20 20 20 20 20 20 20 6c 50 61 72 61 6d 29 3b lParam);
8560: 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 ..extern(Windows
8570: 29 20 65 78 70 6f 72 74 20 42 4f 4f 4c 20 45 6e ) export BOOL En
8580: 75 6d 53 79 73 74 65 6d 4c 61 6e 67 75 61 67 65 umSystemLanguage
8590: 47 72 6f 75 70 73 57 28 0d 0a 20 20 20 20 20 4c GroupsW(.. L
85a0: 41 4e 47 55 41 47 45 47 52 4f 55 50 5f 45 4e 55 ANGUAGEGROUP_ENU
85b0: 4d 50 52 4f 43 57 20 6c 70 4c 61 6e 67 75 61 67 MPROCW lpLanguag
85c0: 65 47 72 6f 75 70 45 6e 75 6d 50 72 6f 63 2c 0d eGroupEnumProc,.
85d0: 0a 20 20 20 20 20 44 57 4f 52 44 20 20 20 20 20 . DWORD
85e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 77 dw
85f0: 46 6c 61 67 73 2c 0d 0a 20 20 20 20 20 4c 4f 4e Flags,.. LON
8600: 47 5f 50 54 52 20 20 20 20 20 20 20 20 20 20 20 G_PTR
8610: 20 20 20 20 20 6c 50 61 72 61 6d 29 3b 0d 0a 2f lParam);../
8620: 2f 20 23 69 66 64 65 66 20 55 4e 49 43 4f 44 45 / #ifdef UNICODE
8630: 0d 0a 61 6c 69 61 73 20 45 6e 75 6d 53 79 73 74 ..alias EnumSyst
8640: 65 6d 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 73 emLanguageGroups
8650: 57 20 45 6e 75 6d 53 79 73 74 65 6d 4c 61 6e 67 W EnumSystemLang
8660: 75 61 67 65 47 72 6f 75 70 73 3b 0d 0a 2f 2f 20 uageGroups;..//
8670: 23 65 6c 73 65 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a #else..// #.....
8680: 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 21 55 4e // #endif // !UN
8690: 49 43 4f 44 45 0d 0a 0d 0a 65 78 74 65 72 6e 28 ICODE....extern(
86a0: 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 Windows) export
86b0: 42 4f 4f 4c 20 45 6e 75 6d 4c 61 6e 67 75 61 67 BOOL EnumLanguag
86c0: 65 47 72 6f 75 70 4c 6f 63 61 6c 65 73 41 28 0d eGroupLocalesA(.
86d0: 0a 20 20 20 20 20 4c 41 4e 47 47 52 4f 55 50 4c . LANGGROUPL
86e0: 4f 43 41 4c 45 5f 45 4e 55 4d 50 52 4f 43 41 20 OCALE_ENUMPROCA
86f0: 6c 70 4c 61 6e 67 47 72 6f 75 70 4c 6f 63 61 6c lpLangGroupLocal
8700: 65 45 6e 75 6d 50 72 6f 63 2c 0d 0a 20 20 20 20 eEnumProc,..
8710: 20 4c 47 52 50 49 44 20 20 20 20 20 20 20 20 20 LGRPID
8720: 20 20 20 20 20 20 20 20 20 20 20 4c 61 6e 67 75 Langu
8730: 61 67 65 47 72 6f 75 70 2c 0d 0a 20 20 20 20 20 ageGroup,..
8740: 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 20 DWORD
8750: 20 20 20 20 20 20 20 20 20 20 64 77 46 6c 61 67 dwFlag
8760: 73 2c 0d 0a 20 20 20 20 20 4c 4f 4e 47 5f 50 54 s,.. LONG_PT
8770: 52 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 R
8780: 20 20 20 6c 50 61 72 61 6d 29 3b 0d 0a 65 78 74 lParam);..ext
8790: 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 ern(Windows) exp
87a0: 6f 72 74 20 42 4f 4f 4c 20 45 6e 75 6d 4c 61 6e ort BOOL EnumLan
87b0: 67 75 61 67 65 47 72 6f 75 70 4c 6f 63 61 6c 65 guageGroupLocale
87c0: 73 57 28 0d 0a 20 20 20 20 20 4c 41 4e 47 47 52 sW(.. LANGGR
87d0: 4f 55 50 4c 4f 43 41 4c 45 5f 45 4e 55 4d 50 52 OUPLOCALE_ENUMPR
87e0: 4f 43 57 20 6c 70 4c 61 6e 67 47 72 6f 75 70 4c OCW lpLangGroupL
87f0: 6f 63 61 6c 65 45 6e 75 6d 50 72 6f 63 2c 0d 0a ocaleEnumProc,..
8800: 20 20 20 20 20 4c 47 52 50 49 44 20 20 20 20 20 LGRPID
8810: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4c L
8820: 61 6e 67 75 61 67 65 47 72 6f 75 70 2c 0d 0a 20 anguageGroup,..
8830: 20 20 20 20 44 57 4f 52 44 20 20 20 20 20 20 20 DWORD
8840: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 77 dw
8850: 46 6c 61 67 73 2c 0d 0a 20 20 20 20 20 4c 4f 4e Flags,.. LON
8860: 47 5f 50 54 52 20 20 20 20 20 20 20 20 20 20 20 G_PTR
8870: 20 20 20 20 20 20 20 6c 50 61 72 61 6d 29 3b 0d lParam);.
8880: 0a 2f 2f 20 23 69 66 64 65 66 20 55 4e 49 43 4f .// #ifdef UNICO
8890: 44 45 0d 0a 61 6c 69 61 73 20 45 6e 75 6d 4c 61 DE..alias EnumLa
88a0: 6e 67 75 61 67 65 47 72 6f 75 70 4c 6f 63 61 6c nguageGroupLocal
88b0: 65 73 57 20 45 6e 75 6d 4c 61 6e 67 75 61 67 65 esW EnumLanguage
88c0: 47 72 6f 75 70 4c 6f 63 61 6c 65 73 3b 0d 0a 2f GroupLocales;../
88d0: 2f 20 23 65 6c 73 65 0d 0a 2f 2f 20 23 2e 2e 2e / #else..// #...
88e0: 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2f 20 21 ..// #endif // !
88f0: 55 4e 49 43 4f 44 45 0d 0a 0d 0a 65 78 74 65 72 UNICODE....exter
8900: 6e 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 n(Windows) expor
8910: 74 20 42 4f 4f 4c 20 45 6e 75 6d 55 49 4c 61 6e t BOOL EnumUILan
8920: 67 75 61 67 65 73 41 28 0d 0a 20 20 20 20 20 55 guagesA(.. U
8930: 49 4c 41 4e 47 55 41 47 45 5f 45 4e 55 4d 50 52 ILANGUAGE_ENUMPR
8940: 4f 43 41 20 6c 70 55 49 4c 61 6e 67 75 61 67 65 OCA lpUILanguage
8950: 45 6e 75 6d 50 72 6f 63 2c 0d 0a 20 20 20 20 20 EnumProc,..
8960: 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 20 DWORD
8970: 20 20 20 20 20 64 77 46 6c 61 67 73 2c 0d 0a 20 dwFlags,..
8980: 20 20 20 20 4c 4f 4e 47 5f 50 54 52 20 20 20 20 LONG_PTR
8990: 20 20 20 20 20 20 20 20 20 6c 50 61 72 61 6d 29 lParam)
89a0: 3b 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 ;..extern(Window
89b0: 73 29 20 65 78 70 6f 72 74 20 42 4f 4f 4c 20 45 s) export BOOL E
89c0: 6e 75 6d 55 49 4c 61 6e 67 75 61 67 65 73 57 28 numUILanguagesW(
89d0: 0d 0a 20 20 20 20 20 55 49 4c 41 4e 47 55 41 47 .. UILANGUAG
89e0: 45 5f 45 4e 55 4d 50 52 4f 43 57 20 6c 70 55 49 E_ENUMPROCW lpUI
89f0: 4c 61 6e 67 75 61 67 65 45 6e 75 6d 50 72 6f 63 LanguageEnumProc
8a00: 2c 0d 0a 20 20 20 20 20 44 57 4f 52 44 20 20 20 ,.. DWORD
8a10: 20 20 20 20 20 20 20 20 20 20 20 20 20 64 77 46 dwF
8a20: 6c 61 67 73 2c 0d 0a 20 20 20 20 20 4c 4f 4e 47 lags,.. LONG
8a30: 5f 50 54 52 20 20 20 20 20 20 20 20 20 20 20 20 _PTR
8a40: 20 6c 50 61 72 61 6d 29 3b 0d 0a 2f 2f 20 23 69 lParam);..// #i
8a50: 66 64 65 66 20 55 4e 49 43 4f 44 45 0d 0a 61 6c fdef UNICODE..al
8a60: 69 61 73 20 45 6e 75 6d 55 49 4c 61 6e 67 75 61 ias EnumUILangua
8a70: 67 65 73 57 20 45 6e 75 6d 55 49 4c 61 6e 67 75 gesW EnumUILangu
8a80: 61 67 65 73 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d ages;..// #else.
8a90: 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f 20 23 65 6e .// #.....// #en
8aa0: 64 69 66 20 2f 2f 20 21 55 4e 49 43 4f 44 45 0d dif // !UNICODE.
8ab0: 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2a 20 57 49 .// #endif /* WI
8ac0: 4e 56 45 52 20 3e 3d 20 30 78 30 35 30 30 20 2a NVER >= 0x0500 *
8ad0: 2f 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 6e 64 /....extern(Wind
8ae0: 6f 77 73 29 20 65 78 70 6f 72 74 20 42 4f 4f 4c ows) export BOOL
8af0: 20 45 6e 75 6d 53 79 73 74 65 6d 4c 6f 63 61 6c EnumSystemLocal
8b00: 65 73 41 28 0d 0a 20 20 20 20 20 4c 4f 43 41 4c esA(.. LOCAL
8b10: 45 5f 45 4e 55 4d 50 52 4f 43 41 20 6c 70 4c 6f E_ENUMPROCA lpLo
8b20: 63 61 6c 65 45 6e 75 6d 50 72 6f 63 2c 0d 0a 20 caleEnumProc,..
8b30: 20 20 20 20 44 57 4f 52 44 20 20 20 20 20 20 20 DWORD
8b40: 20 20 20 20 20 64 77 46 6c 61 67 73 29 3b 0d 0a dwFlags);..
8b50: 65 78 74 65 72 6e 28 57 69 6e 64 6f 77 73 29 20 extern(Windows)
8b60: 65 78 70 6f 72 74 20 42 4f 4f 4c 20 45 6e 75 6d export BOOL Enum
8b70: 53 79 73 74 65 6d 4c 6f 63 61 6c 65 73 57 28 0d SystemLocalesW(.
8b80: 0a 20 20 20 20 20 4c 4f 43 41 4c 45 5f 45 4e 55 . LOCALE_ENU
8b90: 4d 50 52 4f 43 57 20 6c 70 4c 6f 63 61 6c 65 45 MPROCW lpLocaleE
8ba0: 6e 75 6d 50 72 6f 63 2c 0d 0a 20 20 20 20 20 44 numProc,.. D
8bb0: 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 20 20 WORD
8bc0: 64 77 46 6c 61 67 73 29 3b 0d 0a 2f 2f 20 23 69 dwFlags);..// #i
8bd0: 66 64 65 66 20 55 4e 49 43 4f 44 45 0d 0a 61 6c fdef UNICODE..al
8be0: 69 61 73 20 45 6e 75 6d 53 79 73 74 65 6d 4c 6f ias EnumSystemLo
8bf0: 63 61 6c 65 73 57 20 45 6e 75 6d 53 79 73 74 65 calesW EnumSyste
8c00: 6d 4c 6f 63 61 6c 65 73 3b 0d 0a 2f 2f 20 23 65 mLocales;..// #e
8c10: 6c 73 65 0d 0a 2f 2f 20 23 2e 2e 2e 0d 0a 2f 2f lse..// #.....//
8c20: 20 23 65 6e 64 69 66 20 2f 2f 20 21 55 4e 49 43 #endif // !UNIC
8c30: 4f 44 45 0d 0a 0d 0a 65 78 74 65 72 6e 28 57 69 ODE....extern(Wi
8c40: 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 20 42 4f ndows) export BO
8c50: 4f 4c 20 45 6e 75 6d 53 79 73 74 65 6d 43 6f 64 OL EnumSystemCod
8c60: 65 50 61 67 65 73 41 28 0d 0a 20 20 20 20 20 43 ePagesA(.. C
8c70: 4f 44 45 50 41 47 45 5f 45 4e 55 4d 50 52 4f 43 ODEPAGE_ENUMPROC
8c80: 41 20 6c 70 43 6f 64 65 50 61 67 65 45 6e 75 6d A lpCodePageEnum
8c90: 50 72 6f 63 2c 0d 0a 20 20 20 20 20 44 57 4f 52 Proc,.. DWOR
8ca0: 44 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 D d
8cb0: 77 46 6c 61 67 73 29 3b 0d 0a 65 78 74 65 72 6e wFlags);..extern
8cc0: 28 57 69 6e 64 6f 77 73 29 20 65 78 70 6f 72 74 (Windows) export
8cd0: 20 42 4f 4f 4c 20 45 6e 75 6d 53 79 73 74 65 6d BOOL EnumSystem
8ce0: 43 6f 64 65 50 61 67 65 73 57 28 0d 0a 20 20 20 CodePagesW(..
8cf0: 20 20 43 4f 44 45 50 41 47 45 5f 45 4e 55 4d 50 CODEPAGE_ENUMP
8d00: 52 4f 43 57 20 6c 70 43 6f 64 65 50 61 67 65 45 ROCW lpCodePageE
8d10: 6e 75 6d 50 72 6f 63 2c 0d 0a 20 20 20 20 20 44 numProc,.. D
8d20: 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 20 20 WORD
8d30: 20 20 64 77 46 6c 61 67 73 29 3b 0d 0a 2f 2f 20 dwFlags);..//
8d40: 23 69 66 64 65 66 20 55 4e 49 43 4f 44 45 0d 0a #ifdef UNICODE..
8d50: 61 6c 69 61 73 20 45 6e 75 6d 53 79 73 74 65 6d alias EnumSystem
8d60: 43 6f 64 65 50 61 67 65 73 57 20 45 6e 75 6d 53 CodePagesW EnumS
8d70: 79 73 74 65 6d 43 6f 64 65 50 61 67 65 73 3b 0d ystemCodePages;.
8d80: 0a 2f 2f 20 23 65 6c 73 65 0d 0a 2f 2f 20 23 2e .// #else..// #.
8d90: 2e 2e 0d 0a 2f 2f 20 23 65 6e 64 69 66 20 2f 2f ....// #endif //
8da0: 20 21 55 4e 49 43 4f 44 45 0d 0a 0d 0a 2f 2f 20 !UNICODE....//
8db0: 23 65 6e 64 69 66 20 2f 2f 20 4e 4f 4e 4c 53 0d #endif // NONLS.
8dc0: 0a 0d 0a 2f 2f 20 23 69 66 64 65 66 20 5f 5f 63 ...// #ifdef __c
8dd0: 70 6c 75 73 70 6c 75 73 0d 0a 2f 2f 20 7d 0d 0a plusplus..// }..
8de0: 2f 2f 20 23 65 6e 64 69 66 0d 0a 0d 0a 2f 2f 20 // #endif....//
8df0: 23 65 6e 64 69 66 20 2f 2f 20 5f 57 49 4e 4e 4c #endif // _WINNL
8e00: 53 5f 0d 0a S_..