Artifact c2a5d303a50bd6532a23da9dbd556eb003ced974:
- File
src/win32/custcntl.d
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
The problem was __gshared. Replacing it with TLS fixed the issue. Remaining problem is that "hack.d"'s CloseHandle hack is not working anymore.
(user: kinaba) [annotate]
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
0000: 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a /***************
0010: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0020: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0030: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0040: 2a 2a 2a 2a 2a 2a 2a 2a 5c 0d 0a 2a 20 20 20 20 ********\..*
0050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0060: 20 20 20 20 20 20 20 20 20 20 20 63 75 73 74 63 custc
0070: 6e 74 6c 2e 64 20 20 20 20 20 20 20 20 20 20 20 ntl.d
0080: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0090: 20 20 20 2a 0d 0a 2a 20 20 20 20 20 20 20 20 20 *..*
00a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 0d *.
00e0: 0a 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .*
00f0: 20 20 20 20 20 20 20 20 20 57 69 6e 64 6f 77 73 Windows
0100: 20 41 50 49 20 68 65 61 64 65 72 20 6d 6f 64 75 API header modu
0110: 6c 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 le
0120: 20 20 20 20 20 20 20 20 20 2a 0d 0a 2a 20 20 20 *..*
0130: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0140: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0150: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0160: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0170: 20 20 20 20 2a 0d 0a 2a 20 20 20 20 20 20 20 20 *..*
0180: 20 20 20 20 20 20 20 20 20 54 72 61 6e 73 6c 61 Transla
0190: 74 65 64 20 66 72 6f 6d 20 4d 69 6e 47 57 20 57 ted from MinGW W
01a0: 69 6e 64 6f 77 73 20 68 65 61 64 65 72 73 20 20 indows headers
01b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a *
01c0: 0d 0a 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 ..*
01d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 79 by
01e0: 20 53 74 65 77 61 72 74 20 47 6f 72 64 6f 6e 20 Stewart Gordon
01f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0200: 20 20 20 20 20 20 20 20 20 20 2a 0d 0a 2a 20 20 *..*
0210: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0220: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0230: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0240: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0250: 20 20 20 20 20 2a 0d 0a 2a 20 20 20 20 20 20 20 *..*
0260: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0270: 50 6c 61 63 65 64 20 69 6e 74 6f 20 70 75 62 6c Placed into publ
0280: 69 63 20 64 6f 6d 61 69 6e 20 20 20 20 20 20 20 ic domain
0290: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
02a0: 2a 0d 0a 5c 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a *..\************
02b0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
02c0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
02d0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
02e0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 0d 0a 6d 6f ***********/..mo
02f0: 64 75 6c 65 20 77 69 6e 33 32 2e 63 75 73 74 63 dule win32.custc
0300: 6e 74 6c 3b 0d 0a 0d 0a 70 72 69 76 61 74 65 20 ntl;....private
0310: 69 6d 70 6f 72 74 20 77 69 6e 33 32 2e 77 69 6e import win32.win
0320: 64 65 66 3b 0d 0a 0d 0a 2f 2f 20 46 49 58 4d 45 def;....// FIXME
0330: 3a 20 63 68 65 63 6b 20 74 79 70 65 0d 0a 63 6f : check type..co
0340: 6e 73 74 20 43 43 46 5f 4e 4f 54 45 58 54 20 3d nst CCF_NOTEXT =
0350: 20 31 3b 0d 0a 0d 0a 63 6f 6e 73 74 20 73 69 7a 1;....const siz
0360: 65 5f 74 0d 0a 09 43 43 48 43 43 43 4c 41 53 53 e_t...CCHCCCLASS
0370: 20 3d 20 20 33 32 2c 0d 0a 09 43 43 48 43 43 44 = 32,...CCHCCD
0380: 45 53 43 20 20 3d 20 20 33 32 2c 0d 0a 09 43 43 ESC = 32,...CC
0390: 48 43 43 54 45 58 54 20 20 3d 20 32 35 36 3b 0d HCCTEXT = 256;.
03a0: 0a 0d 0a 73 74 72 75 63 74 20 43 43 53 54 59 4c ...struct CCSTYL
03b0: 45 41 20 7b 0d 0a 09 44 57 4f 52 44 20 20 20 20 EA {...DWORD
03c0: 20 20 20 20 20 20 20 66 6c 53 74 79 6c 65 3b 0d flStyle;.
03d0: 0a 09 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 ..DWORD
03e0: 20 20 66 6c 45 78 74 53 74 79 6c 65 3b 0d 0a 09 flExtStyle;...
03f0: 43 48 41 52 5b 43 43 48 43 43 54 45 58 54 5d 20 CHAR[CCHCCTEXT]
0400: 73 7a 54 65 78 74 3b 0d 0a 09 4c 41 4e 47 49 44 szText;...LANGID
0410: 20 20 20 20 20 20 20 20 20 20 6c 67 69 64 3b 0d lgid;.
0420: 0a 09 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 ..WORD
0430: 20 20 77 52 65 73 65 72 76 65 64 31 3b 0d 0a 7d wReserved1;..}
0440: 0d 0a 61 6c 69 61 73 20 43 43 53 54 59 4c 45 41 ..alias CCSTYLEA
0450: 2a 20 4c 50 43 43 53 54 59 4c 45 41 3b 0d 0a 0d * LPCCSTYLEA;...
0460: 0a 73 74 72 75 63 74 20 43 43 53 54 59 4c 45 57 .struct CCSTYLEW
0470: 20 7b 0d 0a 09 44 57 4f 52 44 20 20 20 20 20 20 {...DWORD
0480: 20 20 20 20 20 20 66 6c 53 74 79 6c 65 3b 0d 0a flStyle;..
0490: 09 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 .DWORD
04a0: 20 20 66 6c 45 78 74 53 74 79 6c 65 3b 0d 0a 09 flExtStyle;...
04b0: 57 43 48 41 52 5b 43 43 48 43 43 54 45 58 54 5d WCHAR[CCHCCTEXT]
04c0: 20 73 7a 54 65 78 74 3b 0d 0a 09 4c 41 4e 47 49 szText;...LANGI
04d0: 44 20 20 20 20 20 20 20 20 20 20 20 6c 67 69 64 D lgid
04e0: 3b 0d 0a 09 57 4f 52 44 20 20 20 20 20 20 20 20 ;...WORD
04f0: 20 20 20 20 20 77 52 65 73 65 72 76 65 64 31 3b wReserved1;
0500: 0d 0a 7d 0d 0a 61 6c 69 61 73 20 43 43 53 54 59 ..}..alias CCSTY
0510: 4c 45 57 2a 20 4c 50 43 43 53 54 59 4c 45 57 3b LEW* LPCCSTYLEW;
0520: 0d 0a 0d 0a 73 74 72 75 63 74 20 43 43 53 54 59 ....struct CCSTY
0530: 4c 45 46 4c 41 47 41 20 7b 0d 0a 09 44 57 4f 52 LEFLAGA {...DWOR
0540: 44 20 66 6c 53 74 79 6c 65 3b 0d 0a 09 44 57 4f D flStyle;...DWO
0550: 52 44 20 66 6c 53 74 79 6c 65 4d 61 73 6b 3b 0d RD flStyleMask;.
0560: 0a 09 4c 50 53 54 52 20 70 73 7a 53 74 79 6c 65 ..LPSTR pszStyle
0570: 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 20 43 43 53 54 ;..}..alias CCST
0580: 59 4c 45 46 4c 41 47 41 2a 20 4c 50 43 43 53 54 YLEFLAGA* LPCCST
0590: 59 4c 45 46 4c 41 47 41 3b 0d 0a 0d 0a 73 74 72 YLEFLAGA;....str
05a0: 75 63 74 20 43 43 53 54 59 4c 45 46 4c 41 47 57 uct CCSTYLEFLAGW
05b0: 20 7b 0d 0a 09 44 57 4f 52 44 20 20 66 6c 53 74 {...DWORD flSt
05c0: 79 6c 65 3b 0d 0a 09 44 57 4f 52 44 20 20 66 6c yle;...DWORD fl
05d0: 53 74 79 6c 65 4d 61 73 6b 3b 0d 0a 09 4c 50 57 StyleMask;...LPW
05e0: 53 54 52 20 70 73 7a 53 74 79 6c 65 3b 0d 0a 7d STR pszStyle;..}
05f0: 0d 0a 61 6c 69 61 73 20 43 43 53 54 59 4c 45 46 ..alias CCSTYLEF
0600: 4c 41 47 57 2a 20 4c 50 43 43 53 54 59 4c 45 46 LAGW* LPCCSTYLEF
0610: 4c 41 47 57 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 LAGW;....struct
0620: 43 43 49 4e 46 4f 41 20 7b 0d 0a 09 43 48 41 52 CCINFOA {...CHAR
0630: 5b 43 43 48 43 43 43 4c 41 53 53 5d 20 20 73 7a [CCHCCCLASS] sz
0640: 43 6c 61 73 73 3b 0d 0a 09 44 57 4f 52 44 20 20 Class;...DWORD
0650: 20 20 20 20 20 20 20 20 20 20 20 66 6c 4f 70 74 flOpt
0660: 69 6f 6e 73 3b 0d 0a 09 43 48 41 52 5b 43 43 48 ions;...CHAR[CCH
0670: 43 43 44 45 53 43 5d 20 20 20 73 7a 44 65 73 63 CCDESC] szDesc
0680: 3b 0d 0a 09 55 49 4e 54 20 20 20 20 20 20 20 20 ;...UINT
0690: 20 20 20 20 20 20 63 78 44 65 66 61 75 6c 74 3b cxDefault;
06a0: 0d 0a 09 55 49 4e 54 20 20 20 20 20 20 20 20 20 ...UINT
06b0: 20 20 20 20 20 63 79 44 65 66 61 75 6c 74 3b 0d cyDefault;.
06c0: 0a 09 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 ..DWORD
06d0: 20 20 20 20 66 6c 53 74 79 6c 65 44 65 66 61 75 flStyleDefau
06e0: 6c 74 3b 0d 0a 09 44 57 4f 52 44 20 20 20 20 20 lt;...DWORD
06f0: 20 20 20 20 20 20 20 20 66 6c 45 78 74 53 74 79 flExtSty
0700: 6c 65 44 65 66 61 75 6c 74 3b 0d 0a 09 44 57 4f leDefault;...DWO
0710: 52 44 20 20 20 20 20 20 20 20 20 20 20 20 20 66 RD f
0720: 6c 43 74 72 6c 54 79 70 65 4d 61 73 6b 3b 0d 0a lCtrlTypeMask;..
0730: 09 43 48 41 52 5b 43 43 48 43 43 54 45 58 54 5d .CHAR[CCHCCTEXT]
0740: 20 20 20 73 7a 54 65 78 74 44 65 66 61 75 6c 74 szTextDefault
0750: 3b 0d 0a 09 49 4e 54 20 20 20 20 20 20 20 20 20 ;...INT
0760: 20 20 20 20 20 20 63 53 74 79 6c 65 46 6c 61 67 cStyleFlag
0770: 73 3b 0d 0a 09 4c 50 43 43 53 54 59 4c 45 46 4c s;...LPCCSTYLEFL
0780: 41 47 41 20 20 20 20 61 53 74 79 6c 65 46 6c 61 AGA aStyleFla
0790: 67 73 3b 0d 0a 09 4c 50 46 4e 43 43 53 54 59 4c gs;...LPFNCCSTYL
07a0: 45 41 20 20 20 20 20 20 6c 70 66 6e 53 74 79 6c EA lpfnStyl
07b0: 65 3b 0d 0a 09 4c 50 46 4e 43 43 53 49 5a 45 54 e;...LPFNCCSIZET
07c0: 4f 54 45 58 54 41 20 6c 70 66 6e 53 69 7a 65 54 OTEXTA lpfnSizeT
07d0: 6f 54 65 78 74 3b 0d 0a 09 44 57 4f 52 44 20 20 oText;...DWORD
07e0: 20 20 20 20 20 20 20 20 20 20 20 64 77 52 65 73 dwRes
07f0: 65 72 76 65 64 31 3b 0d 0a 09 44 57 4f 52 44 20 erved1;...DWORD
0800: 20 20 20 20 20 20 20 20 20 20 20 20 64 77 52 65 dwRe
0810: 73 65 72 76 65 64 32 3b 0d 0a 7d 0d 0a 61 6c 69 served2;..}..ali
0820: 61 73 20 43 43 49 4e 46 4f 41 2a 20 4c 50 43 43 as CCINFOA* LPCC
0830: 49 4e 46 4f 41 3b 0d 0a 0d 0a 73 74 72 75 63 74 INFOA;....struct
0840: 20 43 43 49 4e 46 4f 57 20 7b 0d 0a 09 57 43 48 CCINFOW {...WCH
0850: 41 52 5b 43 43 48 43 43 43 4c 41 53 53 5d 20 73 AR[CCHCCCLASS] s
0860: 7a 43 6c 61 73 73 3b 0d 0a 09 44 57 4f 52 44 20 zClass;...DWORD
0870: 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 4f 70 flOp
0880: 74 69 6f 6e 73 3b 0d 0a 09 57 43 48 41 52 5b 43 tions;...WCHAR[C
0890: 43 48 43 43 44 45 53 43 5d 20 20 73 7a 44 65 73 CHCCDESC] szDes
08a0: 63 3b 0d 0a 09 55 49 4e 54 20 20 20 20 20 20 20 c;...UINT
08b0: 20 20 20 20 20 20 20 63 78 44 65 66 61 75 6c 74 cxDefault
08c0: 3b 0d 0a 09 55 49 4e 54 20 20 20 20 20 20 20 20 ;...UINT
08d0: 20 20 20 20 20 20 63 79 44 65 66 61 75 6c 74 3b cyDefault;
08e0: 0d 0a 09 44 57 4f 52 44 20 20 20 20 20 20 20 20 ...DWORD
08f0: 20 20 20 20 20 66 6c 53 74 79 6c 65 44 65 66 61 flStyleDefa
0900: 75 6c 74 3b 0d 0a 09 44 57 4f 52 44 20 20 20 20 ult;...DWORD
0910: 20 20 20 20 20 20 20 20 20 66 6c 45 78 74 53 74 flExtSt
0920: 79 6c 65 44 65 66 61 75 6c 74 3b 0d 0a 09 44 57 yleDefault;...DW
0930: 4f 52 44 20 20 20 20 20 20 20 20 20 20 20 20 20 ORD
0940: 66 6c 43 74 72 6c 54 79 70 65 4d 61 73 6b 3b 0d flCtrlTypeMask;.
0950: 0a 09 57 43 48 41 52 5b 43 43 48 43 43 54 45 58 ..WCHAR[CCHCCTEX
0960: 54 5d 20 20 73 7a 54 65 78 74 44 65 66 61 75 6c T] szTextDefaul
0970: 74 3b 0d 0a 09 49 4e 54 20 20 20 20 20 20 20 20 t;...INT
0980: 20 20 20 20 20 20 20 63 53 74 79 6c 65 46 6c 61 cStyleFla
0990: 67 73 3b 0d 0a 09 4c 50 43 43 53 54 59 4c 45 46 gs;...LPCCSTYLEF
09a0: 4c 41 47 57 20 20 20 20 61 53 74 79 6c 65 46 6c LAGW aStyleFl
09b0: 61 67 73 3b 0d 0a 09 4c 50 46 4e 43 43 53 54 59 ags;...LPFNCCSTY
09c0: 4c 45 57 20 20 20 20 20 20 6c 70 66 6e 53 74 79 LEW lpfnSty
09d0: 6c 65 3b 0d 0a 09 4c 50 46 4e 43 43 53 49 5a 45 le;...LPFNCCSIZE
09e0: 54 4f 54 45 58 54 57 20 6c 70 66 6e 53 69 7a 65 TOTEXTW lpfnSize
09f0: 54 6f 54 65 78 74 3b 0d 0a 09 44 57 4f 52 44 20 ToText;...DWORD
0a00: 20 20 20 20 20 20 20 20 20 20 20 20 64 77 52 65 dwRe
0a10: 73 65 72 76 65 64 31 3b 0d 0a 09 44 57 4f 52 44 served1;...DWORD
0a20: 20 20 20 20 20 20 20 20 20 20 20 20 20 64 77 52 dwR
0a30: 65 73 65 72 76 65 64 32 3b 0d 0a 7d 0d 0a 61 6c eserved2;..}..al
0a40: 69 61 73 20 43 43 49 4e 46 4f 57 2a 20 4c 50 43 ias CCINFOW* LPC
0a50: 43 49 4e 46 4f 57 3b 0d 0a 0d 0a 65 78 74 65 72 CINFOW;....exter
0a60: 6e 20 28 57 69 6e 64 6f 77 73 29 20 7b 0d 0a 09 n (Windows) {...
0a70: 61 6c 69 61 73 20 42 4f 4f 4c 20 66 75 6e 63 74 alias BOOL funct
0a80: 69 6f 6e 28 48 57 4e 44 2c 20 4c 50 43 43 53 54 ion(HWND, LPCCST
0a90: 59 4c 45 41 29 20 4c 50 46 4e 43 43 53 54 59 4c YLEA) LPFNCCSTYL
0aa0: 45 41 3b 0d 0a 09 61 6c 69 61 73 20 42 4f 4f 4c EA;...alias BOOL
0ab0: 20 66 75 6e 63 74 69 6f 6e 28 48 57 4e 44 2c 20 function(HWND,
0ac0: 4c 50 43 43 53 54 59 4c 45 57 29 20 4c 50 46 4e LPCCSTYLEW) LPFN
0ad0: 43 43 53 54 59 4c 45 57 3b 0d 0a 09 61 6c 69 61 CCSTYLEW;...alia
0ae0: 73 20 49 4e 54 20 66 75 6e 63 74 69 6f 6e 28 44 s INT function(D
0af0: 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 48 46 4f WORD, DWORD, HFO
0b00: 4e 54 2c 20 4c 50 53 54 52 29 20 4c 50 46 4e 43 NT, LPSTR) LPFNC
0b10: 43 53 49 5a 45 54 4f 54 45 58 54 41 3b 0d 0a 09 CSIZETOTEXTA;...
0b20: 61 6c 69 61 73 20 49 4e 54 20 66 75 6e 63 74 69 alias INT functi
0b30: 6f 6e 28 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c on(DWORD, DWORD,
0b40: 20 48 46 4f 4e 54 2c 20 4c 50 57 53 54 52 29 20 HFONT, LPWSTR)
0b50: 4c 50 46 4e 43 43 53 49 5a 45 54 4f 54 45 58 54 LPFNCCSIZETOTEXT
0b60: 57 3b 0d 0a 09 61 6c 69 61 73 20 55 49 4e 54 20 W;...alias UINT
0b70: 66 75 6e 63 74 69 6f 6e 28 4c 50 43 43 49 4e 46 function(LPCCINF
0b80: 4f 41 29 20 4c 50 46 4e 43 43 49 4e 46 4f 41 3b OA) LPFNCCINFOA;
0b90: 0d 0a 09 61 6c 69 61 73 20 55 49 4e 54 20 66 75 ...alias UINT fu
0ba0: 6e 63 74 69 6f 6e 28 4c 50 43 43 49 4e 46 4f 57 nction(LPCCINFOW
0bb0: 29 20 4c 50 46 4e 43 43 49 4e 46 4f 57 3b 0d 0a ) LPFNCCINFOW;..
0bc0: 09 55 49 4e 54 20 43 75 73 74 6f 6d 43 6f 6e 74 .UINT CustomCont
0bd0: 72 6f 6c 49 6e 66 6f 41 28 4c 50 43 43 49 4e 46 rolInfoA(LPCCINF
0be0: 4f 41 20 61 63 63 69 29 3b 0d 0a 09 55 49 4e 54 OA acci);...UINT
0bf0: 20 43 75 73 74 6f 6d 43 6f 6e 74 72 6f 6c 49 6e CustomControlIn
0c00: 66 6f 57 28 4c 50 43 43 49 4e 46 4f 57 20 61 63 foW(LPCCINFOW ac
0c10: 63 69 29 3b 0d 0a 7d 0d 0a 0d 0a 76 65 72 73 69 ci);..}....versi
0c20: 6f 6e 20 28 55 6e 69 63 6f 64 65 29 20 7b 0d 0a on (Unicode) {..
0c30: 09 61 6c 69 61 73 20 43 43 53 54 59 4c 45 57 20 .alias CCSTYLEW
0c40: 43 43 53 54 59 4c 45 3b 0d 0a 09 61 6c 69 61 73 CCSTYLE;...alias
0c50: 20 43 43 53 54 59 4c 45 46 4c 41 47 57 20 43 43 CCSTYLEFLAGW CC
0c60: 53 54 59 4c 45 46 4c 41 47 3b 0d 0a 09 61 6c 69 STYLEFLAG;...ali
0c70: 61 73 20 43 43 49 4e 46 4f 57 20 43 43 49 4e 46 as CCINFOW CCINF
0c80: 4f 3b 0d 0a 09 61 6c 69 61 73 20 4c 50 46 4e 43 O;...alias LPFNC
0c90: 43 53 54 59 4c 45 57 20 4c 50 46 4e 43 43 53 54 CSTYLEW LPFNCCST
0ca0: 59 4c 45 3b 0d 0a 09 61 6c 69 61 73 20 4c 50 46 YLE;...alias LPF
0cb0: 4e 43 43 53 49 5a 45 54 4f 54 45 58 54 57 20 4c NCCSIZETOTEXTW L
0cc0: 50 46 4e 43 43 53 49 5a 45 54 4f 54 45 58 54 3b PFNCCSIZETOTEXT;
0cd0: 0d 0a 09 61 6c 69 61 73 20 4c 50 46 4e 43 43 49 ...alias LPFNCCI
0ce0: 4e 46 4f 57 20 4c 50 46 4e 43 43 49 4e 46 4f 3b NFOW LPFNCCINFO;
0cf0: 0d 0a 7d 20 65 6c 73 65 20 7b 0d 0a 09 61 6c 69 ..} else {...ali
0d00: 61 73 20 43 43 53 54 59 4c 45 41 20 43 43 53 54 as CCSTYLEA CCST
0d10: 59 4c 45 3b 0d 0a 09 61 6c 69 61 73 20 43 43 53 YLE;...alias CCS
0d20: 54 59 4c 45 46 4c 41 47 41 20 43 43 53 54 59 4c TYLEFLAGA CCSTYL
0d30: 45 46 4c 41 47 3b 0d 0a 09 61 6c 69 61 73 20 43 EFLAG;...alias C
0d40: 43 49 4e 46 4f 41 20 43 43 49 4e 46 4f 3b 0d 0a CINFOA CCINFO;..
0d50: 09 61 6c 69 61 73 20 4c 50 46 4e 43 43 53 54 59 .alias LPFNCCSTY
0d60: 4c 45 41 20 4c 50 46 4e 43 43 53 54 59 4c 45 3b LEA LPFNCCSTYLE;
0d70: 0d 0a 09 61 6c 69 61 73 20 4c 50 46 4e 43 43 53 ...alias LPFNCCS
0d80: 49 5a 45 54 4f 54 45 58 54 41 20 4c 50 46 4e 43 IZETOTEXTA LPFNC
0d90: 43 53 49 5a 45 54 4f 54 45 58 54 3b 0d 0a 09 61 CSIZETOTEXT;...a
0da0: 6c 69 61 73 20 4c 50 46 4e 43 43 49 4e 46 4f 41 lias LPFNCCINFOA
0db0: 20 4c 50 46 4e 43 43 49 4e 46 4f 3b 0d 0a 7d 0d LPFNCCINFO;..}.
0dc0: 0a 0d 0a 61 6c 69 61 73 20 43 43 53 54 59 4c 45 ...alias CCSTYLE
0dd0: 2a 20 4c 50 43 43 53 54 59 4c 45 3b 0d 0a 61 6c * LPCCSTYLE;..al
0de0: 69 61 73 20 43 43 53 54 59 4c 45 46 4c 41 47 2a ias CCSTYLEFLAG*
0df0: 20 4c 50 43 43 53 54 59 4c 45 46 4c 41 47 3b 0d LPCCSTYLEFLAG;.
0e00: 0a 61 6c 69 61 73 20 43 43 49 4e 46 4f 2a 20 4c .alias CCINFO* L
0e10: 50 43 43 49 4e 46 4f 3b 0d 0a PCCINFO;..