|
Revision 36, 4.2 kB
(checked in by Don Clugston, 4 years ago)
|
Initial import of Stewart's files, together with winerror, winbase, and an incomplete wingdi.
|
| Line | |
|---|
| 1 |
/***********************************************************************\ |
|---|
| 2 |
* dlgs.d * |
|---|
| 3 |
* * |
|---|
| 4 |
* Windows API header module * |
|---|
| 5 |
* * |
|---|
| 6 |
* Translated from MinGW Windows headers * |
|---|
| 7 |
* by Stewart Gordon * |
|---|
| 8 |
* * |
|---|
| 9 |
* Placed into public domain * |
|---|
| 10 |
\***********************************************************************/ |
|---|
| 11 |
module win32.dlgs; |
|---|
| 12 |
|
|---|
| 13 |
private import win32.windef; |
|---|
| 14 |
|
|---|
| 15 |
enum : ushort { |
|---|
| 16 |
FILEOPENORD = 1536, |
|---|
| 17 |
MULTIFILEOPENORD = 1537, |
|---|
| 18 |
PRINTDLGORD = 1538, |
|---|
| 19 |
PRNSETUPDLGORD = 1539, |
|---|
| 20 |
FINDDLGORD = 1540, |
|---|
| 21 |
REPLACEDLGORD = 1541, |
|---|
| 22 |
FONTDLGORD = 1542, |
|---|
| 23 |
FORMATDLGORD31 = 1543, |
|---|
| 24 |
FORMATDLGORD30 = 1544, |
|---|
| 25 |
PAGESETUPDLGORD = 1546 |
|---|
| 26 |
} |
|---|
| 27 |
|
|---|
| 28 |
enum : int { |
|---|
| 29 |
ctlFirst = 0x400, |
|---|
| 30 |
ctlLast = 0x4ff, |
|---|
| 31 |
chx1 = 0x410, |
|---|
| 32 |
chx2 = 0x411, |
|---|
| 33 |
chx3 = 0x412, |
|---|
| 34 |
chx4 = 0x413, |
|---|
| 35 |
chx5 = 0x414, |
|---|
| 36 |
chx6 = 0x415, |
|---|
| 37 |
chx7 = 0x416, |
|---|
| 38 |
chx8 = 0x417, |
|---|
| 39 |
chx9 = 0x418, |
|---|
| 40 |
chx10 = 0x419, |
|---|
| 41 |
chx11 = 0x41a, |
|---|
| 42 |
chx12 = 0x41b, |
|---|
| 43 |
chx13 = 0x41c, |
|---|
| 44 |
chx14 = 0x41d, |
|---|
| 45 |
chx15 = 0x41e, |
|---|
| 46 |
chx16 = 0x41f, |
|---|
| 47 |
cmb1 = 0x470, |
|---|
| 48 |
cmb2 = 0x471, |
|---|
| 49 |
cmb3 = 0x472, |
|---|
| 50 |
cmb4 = 0x473, |
|---|
| 51 |
cmb5 = 0x474, |
|---|
| 52 |
cmb6 = 0x475, |
|---|
| 53 |
cmb7 = 0x476, |
|---|
| 54 |
cmb8 = 0x477, |
|---|
| 55 |
cmb9 = 0x478, |
|---|
| 56 |
cmb10 = 0x479, |
|---|
| 57 |
cmb11 = 0x47a, |
|---|
| 58 |
cmb12 = 0x47b, |
|---|
| 59 |
cmb13 = 0x47c, |
|---|
| 60 |
cmb14 = 0x47d, |
|---|
| 61 |
cmb15 = 0x47e, |
|---|
| 62 |
cmb16 = 0x47f, |
|---|
| 63 |
edt1 = 0x480, |
|---|
| 64 |
edt2 = 0x481, |
|---|
| 65 |
edt3 = 0x482, |
|---|
| 66 |
edt4 = 0x483, |
|---|
| 67 |
edt5 = 0x484, |
|---|
| 68 |
edt6 = 0x485, |
|---|
| 69 |
edt7 = 0x486, |
|---|
| 70 |
edt8 = 0x487, |
|---|
| 71 |
edt9 = 0x488, |
|---|
| 72 |
edt10 = 0x489, |
|---|
| 73 |
edt11 = 0x48a, |
|---|
| 74 |
edt12 = 0x48b, |
|---|
| 75 |
edt13 = 0x48c, |
|---|
| 76 |
edt14 = 0x48d, |
|---|
| 77 |
edt15 = 0x48e, |
|---|
| 78 |
edt16 = 0x48f, |
|---|
| 79 |
frm1 = 0x434, |
|---|
| 80 |
frm2 = 0x435, |
|---|
| 81 |
frm3 = 0x436, |
|---|
| 82 |
frm4 = 0x437, |
|---|
| 83 |
grp1 = 0x430, |
|---|
| 84 |
grp2 = 0x431, |
|---|
| 85 |
grp3 = 0x432, |
|---|
| 86 |
grp4 = 0x433, |
|---|
| 87 |
ico1 = 0x43c, |
|---|
| 88 |
ico2 = 0x43d, |
|---|
| 89 |
ico3 = 0x43e, |
|---|
| 90 |
ico4 = 0x43f, |
|---|
| 91 |
lst1 = 0x460, |
|---|
| 92 |
lst2 = 0x461, |
|---|
| 93 |
lst3 = 0x462, |
|---|
| 94 |
lst4 = 0x463, |
|---|
| 95 |
lst5 = 0x464, |
|---|
| 96 |
lst6 = 0x465, |
|---|
| 97 |
lst7 = 0x466, |
|---|
| 98 |
lst8 = 0x467, |
|---|
| 99 |
lst9 = 0x468, |
|---|
| 100 |
lst10 = 0x469, |
|---|
| 101 |
lst11 = 0x46a, |
|---|
| 102 |
lst12 = 0x46b, |
|---|
| 103 |
lst13 = 0x46c, |
|---|
| 104 |
lst14 = 0x46d, |
|---|
| 105 |
lst15 = 0x46e, |
|---|
| 106 |
lst16 = 0x46f, |
|---|
| 107 |
psh1 = 0x400, |
|---|
| 108 |
psh2 = 0x401, |
|---|
| 109 |
psh3 = 0x402, |
|---|
| 110 |
psh4 = 0x403, |
|---|
| 111 |
psh5 = 0x404, |
|---|
| 112 |
psh6 = 0x405, |
|---|
| 113 |
psh7 = 0x406, |
|---|
| 114 |
psh8 = 0x407, |
|---|
| 115 |
psh9 = 0x408, |
|---|
| 116 |
psh10 = 0x409, |
|---|
| 117 |
psh11 = 0x40a, |
|---|
| 118 |
psh12 = 0x40b, |
|---|
| 119 |
psh13 = 0x40c, |
|---|
| 120 |
psh14 = 0x40d, |
|---|
| 121 |
psh15 = 0x40e, |
|---|
| 122 |
pshHelp = 0x40e, |
|---|
| 123 |
psh16 = 0x40f, |
|---|
| 124 |
rad1 = 0x420, |
|---|
| 125 |
rad2 = 0x421, |
|---|
| 126 |
rad3 = 0x422, |
|---|
| 127 |
rad4 = 0x423, |
|---|
| 128 |
rad5 = 0x424, |
|---|
| 129 |
rad6 = 0x425, |
|---|
| 130 |
rad7 = 0x426, |
|---|
| 131 |
rad8 = 0x427, |
|---|
| 132 |
rad9 = 0x428, |
|---|
| 133 |
rad10 = 0x429, |
|---|
| 134 |
rad11 = 0x42a, |
|---|
| 135 |
rad12 = 0x42b, |
|---|
| 136 |
rad13 = 0x42c, |
|---|
| 137 |
rad14 = 0x42d, |
|---|
| 138 |
rad15 = 0x42e, |
|---|
| 139 |
rad16 = 0x42f, |
|---|
| 140 |
rct1 = 0x438, |
|---|
| 141 |
rct2 = 0x439, |
|---|
| 142 |
rct3 = 0x43a, |
|---|
| 143 |
rct4 = 0x43b, |
|---|
| 144 |
scr1 = 0x490, |
|---|
| 145 |
scr2 = 0x491, |
|---|
| 146 |
scr3 = 0x492, |
|---|
| 147 |
scr4 = 0x493, |
|---|
| 148 |
scr5 = 0x494, |
|---|
| 149 |
scr6 = 0x495, |
|---|
| 150 |
scr7 = 0x496, |
|---|
| 151 |
scr8 = 0x497, |
|---|
| 152 |
stc1 = 0x440, |
|---|
| 153 |
stc2 = 0x441, |
|---|
| 154 |
stc3 = 0x442, |
|---|
| 155 |
stc4 = 0x443, |
|---|
| 156 |
stc5 = 0x444, |
|---|
| 157 |
stc6 = 0x445, |
|---|
| 158 |
stc7 = 0x446, |
|---|
| 159 |
stc8 = 0x447, |
|---|
| 160 |
stc9 = 0x448, |
|---|
| 161 |
stc10 = 0x449, |
|---|
| 162 |
stc11 = 0x44a, |
|---|
| 163 |
stc12 = 0x44b, |
|---|
| 164 |
stc13 = 0x44c, |
|---|
| 165 |
stc14 = 0x44d, |
|---|
| 166 |
stc15 = 0x44e, |
|---|
| 167 |
stc16 = 0x44f, |
|---|
| 168 |
stc17 = 0x450, |
|---|
| 169 |
stc18 = 0x451, |
|---|
| 170 |
stc19 = 0x452, |
|---|
| 171 |
stc20 = 0x453, |
|---|
| 172 |
stc21 = 0x454, |
|---|
| 173 |
stc22 = 0x455, |
|---|
| 174 |
stc23 = 0x456, |
|---|
| 175 |
stc24 = 0x457, |
|---|
| 176 |
stc25 = 0x458, |
|---|
| 177 |
stc26 = 0x459, |
|---|
| 178 |
stc27 = 0x45a, |
|---|
| 179 |
stc28 = 0x45b, |
|---|
| 180 |
stc29 = 0x45c, |
|---|
| 181 |
stc30 = 0x45d, |
|---|
| 182 |
stc31 = 0x45e, |
|---|
| 183 |
stc32 = 0x45f |
|---|
| 184 |
} |
|---|
| 185 |
|
|---|
| 186 |
struct CRGB { |
|---|
| 187 |
ubyte bRed; |
|---|
| 188 |
ubyte bGreen; |
|---|
| 189 |
ubyte bBlue; |
|---|
| 190 |
ubyte bExtra; |
|---|
| 191 |
} |
|---|