1 /***********************************************************************\
2 *                               tmschema.d                              *
3 *                                                                       *
4 *                       Windows API header module                       *
5 *                                                                       *
6 *                 Translated from MinGW Windows headers                 *
7 *                                                                       *
8 *                       Placed into public domain                       *
9 \***********************************************************************/
10 module windows.tmschema;
11 nothrow:
12 /* BUTTON parts */
13 enum {
14 	BP_PUSHBUTTON = 1,
15 	BP_RADIOBUTTON = 2,
16 	BP_CHECKBOX = 3,
17 	BP_GROUPBOX = 4,
18 	BP_USERBUTTON = 5
19 }
20 
21 enum {
22 	CBS_UNCHECKEDNORMAL = 1,
23 	CBS_UNCHECKEDHOT = 2,
24 	CBS_UNCHECKEDPRESSED = 3,
25 	CBS_UNCHECKEDDISABLED = 4,
26 	CBS_CHECKEDNORMAL = 5,
27 	CBS_CHECKEDHOT = 6,
28 	CBS_CHECKEDPRESSED = 7,
29 	CBS_CHECKEDDISABLED = 8,
30 	CBS_MIXEDNORMAL = 9,
31 	CBS_MIXEDHOT = 10,
32 	CBS_MIXEDPRESSED = 11,
33 	CBS_MIXEDDISABLED = 12
34 }
35 
36 enum {
37 	GBS_NORMAL = 1,
38 	GBS_DISABLED = 2
39 }
40 
41 enum {
42 	PBS_NORMAL = 1,
43 	PBS_HOT = 2,
44 	PBS_PRESSED = 3,
45 	PBS_DISABLED = 4,
46 	PBS_DEFAULTED = 5
47 }
48 
49 enum {
50 	RBS_UNCHECKEDNORMAL = 1,
51 	RBS_UNCHECKEDHOT = 2,
52 	RBS_UNCHECKEDPRESSED = 3,
53 	RBS_UNCHECKEDDISABLED = 4,
54 	RBS_CHECKEDNORMAL = 5,
55 	RBS_CHECKEDHOT = 6,
56 	RBS_CHECKEDPRESSED = 7,
57 	RBS_CHECKEDDISABLED = 8
58 }
59 
60 /* CLOCK parts */
61 enum {
62 	CLP_TIME = 1
63 }
64 
65 enum {
66 	CLS_NORMAL = 1
67 }
68 
69 /* COMBOBOX parts */
70 enum {
71 	CP_DROPDOWNBUTTON = 1
72 }
73 
74 enum {
75 	CBXS_NORMAL = 1,
76 	CBXS_HOT = 2,
77 	CBXS_PRESSED = 3,
78 	CBXS_DISABLED = 4
79 }
80 
81 /* EDIT parts */
82 enum {
83 	EP_EDITTEXT = 1,
84 	EP_CARET = 2
85 }
86 
87 enum {
88 	ETS_NORMAL = 1,
89 	ETS_HOT = 2,
90 	ETS_SELECTED = 3,
91 	ETS_DISABLED = 4,
92 	ETS_FOCUSED = 5,
93 	ETS_READONLY = 6,
94 	ETS_ASSIST = 7
95 }
96 /* EXPLORERBAR parts */
97 enum {
98 	EBP_HEADERBACKGROUND = 1,
99 	EBP_HEADERCLOSE = 2,
100 	EBP_HEADERPIN = 3,
101 	EBP_IEBARMENU = 4,
102 	EBP_NORMALGROUPBACKGROUND = 5,
103 	EBP_NORMALGROUPCOLLAPSE = 6,
104 	EBP_NORMALGROUPEXPAND = 7,
105 	EBP_NORMALGROUPHEAD = 8,
106 	EBP_SPECIALGROUPBACKGROUND = 9,
107 	EBP_SPECIALGROUPCOLLAPSE = 10,
108 	EBP_SPECIALGROUPEXPAND = 11,
109 	EBP_SPECIALGROUPHEAD = 12
110 }
111 
112 enum {
113 	EBHC_NORMAL = 1,
114 	EBHC_HOT = 2,
115 	EBHC_PRESSED = 3
116 }
117 
118 enum {
119 	EBHP_NORMAL = 1,
120 	EBHP_HOT = 2,
121 	EBHP_PRESSED = 3,
122 	EBHP_SELECTEDNORMAL = 4,
123 	EBHP_SELECTEDHOT = 5,
124 	EBHP_SELECTEDPRESSED = 6
125 }
126 
127 enum {
128 	EBM_NORMAL = 1,
129 	EBM_HOT = 2,
130 	EBM_PRESSED = 3
131 }
132 
133 enum {
134 	EBNGC_NORMAL = 1,
135 	EBNGC_HOT = 2,
136 	EBNGC_PRESSED = 3
137 }
138 
139 enum {
140 	EBNGE_NORMAL = 1,
141 	EBNGE_HOT = 2,
142 	EBNGE_PRESSED = 3
143 }
144 
145 enum {
146 	EBSGC_NORMAL = 1,
147 	EBSGC_HOT = 2,
148 	EBSGC_PRESSED = 3
149 }
150 
151 enum {
152 	EBSGE_NORMAL = 1,
153 	EBSGE_HOT = 2,
154 	EBSGE_PRESSED = 3
155 }
156 
157 /* HEADER parts */
158 enum {
159 	HP_HEADERITEM = 1,
160 	HP_HEADERITEMLEFT = 2,
161 	HP_HEADERITEMRIGHT = 3,
162 	HP_HEADERSORTARROW = 4
163 }
164 
165 enum {
166 	HIS_NORMAL = 1,
167 	HIS_HOT = 2,
168 	HIS_PRESSED = 3
169 }
170 
171 enum {
172 	HILS_NORMAL = 1,
173 	HILS_HOT = 2,
174 	HILS_PRESSED = 3
175 }
176 
177 enum {
178 	HIRS_NORMAL = 1,
179 	HIRS_HOT = 2,
180 	HIRS_PRESSED = 3
181 }
182 
183 enum {
184 	HSAS_SORTEDUP = 1,
185 	HSAS_SORTEDDOWN = 2
186 }
187 
188 /* LISTVIEW parts */
189 enum {
190 	LVP_LISTITEM = 1,
191 	LVP_LISTGROUP = 2,
192 	LVP_LISTDETAIL = 3,
193 	LVP_LISTSORTEDDETAIL = 4,
194 	LVP_EMPTYTEXT = 5
195 }
196 
197 enum {
198 	LIS_NORMAL = 1,
199 	LIS_HOT = 2,
200 	LIS_SELECTED = 3,
201 	LIS_DISABLED = 4,
202 	LIS_SELECTEDNOTFOCUS = 5
203 }
204 
205 /* MENU parts */
206 enum {
207 	MP_MENUITEM = 1,
208 	MP_MENUDROPDOWN = 2,
209 	MP_MENUBARITEM = 3,
210 	MP_MENUBARDROPDOWN = 4,
211 	MP_CHEVRON = 5,
212 	MP_SEPARATOR = 6
213 }
214 
215 enum {
216 	MS_NORMAL = 1,
217 	MS_SELECTED = 2,
218 	MS_DEMOTED = 3
219 }
220 /* MENUBAND parts */
221 enum {
222 	MDP_NEWAPPBUTTON = 1,
223 	MDP_SEPERATOR = 2
224 }
225 
226 enum {
227 	MDS_NORMAL = 1,
228 	MDS_HOT = 2,
229 	MDS_PRESSED = 3,
230 	MDS_DISABLED = 4,
231 	MDS_CHECKED = 5,
232 	MDS_HOTCHECKED = 6
233 }
234 
235 /* PAGE parts */
236 enum {
237 	PGRP_UP = 1,
238 	PGRP_DOWN = 2,
239 	PGRP_UPHORZ = 3,
240 	PGRP_DOWNHORZ = 4
241 }
242 
243 enum {
244 	DNS_NORMAL = 1,
245 	DNS_HOT = 2,
246 	DNS_PRESSED = 3,
247 	DNS_DISABLED = 4
248 }
249 
250 enum {
251 	DNHZS_NORMAL = 1,
252 	DNHZS_HOT = 2,
253 	DNHZS_PRESSED = 3,
254 	DNHZS_DISABLED = 4
255 }
256 
257 enum {
258 	UPS_NORMAL = 1,
259 	UPS_HOT = 2,
260 	UPS_PRESSED = 3,
261 	UPS_DISABLED = 4
262 }
263 
264 enum {
265 	UPHZS_NORMAL = 1,
266 	UPHZS_HOT = 2,
267 	UPHZS_PRESSED = 3,
268 	UPHZS_DISABLED = 4
269 }
270 
271 /* PROGRESS parts */
272 enum {
273 	PP_BAR = 1,
274 	PP_BARVERT = 2,
275 	PP_CHUNK = 3,
276 	PP_CHUNKVERT = 4
277 }
278 
279 /* REBAR parts */
280 enum {
281 	RP_GRIPPER = 1,
282 	RP_GRIPPERVERT = 2,
283 	RP_BAND = 3,
284 	RP_CHEVRON = 4,
285 	RP_CHEVRONVERT = 5
286 }
287 
288 enum {
289 	CHEVS_NORMAL = 1,
290 	CHEVS_HOT = 2,
291 	CHEVS_PRESSED = 3
292 }
293 
294 /* SCROLLBAR parts */
295 enum {
296 	SBP_ARROWBTN = 1,
297 	SBP_THUMBBTNHORZ = 2,
298 	SBP_THUMBBTNVERT = 3,
299 	SBP_LOWERTRACKHORZ = 4,
300 	SBP_UPPERTRACKHORZ = 5,
301 	SBP_LOWERTRACKVERT = 6,
302 	SBP_UPPERTRACKVERT = 7,
303 	SBP_GRIPPERHORZ = 8,
304 	SBP_GRIPPERVERT = 9,
305 	SBP_SIZEBOX = 10
306 }
307 
308 enum {
309 	ABS_UPNORMAL = 1,
310 	ABS_UPHOT = 2,
311 	ABS_UPPRESSED = 3,
312 	ABS_UPDISABLED = 4,
313 	ABS_DOWNNORMAL = 5,
314 	ABS_DOWNHOT = 6,
315 	ABS_DOWNPRESSED = 7,
316 	ABS_DOWNDISABLED = 8,
317 	ABS_LEFTNORMAL = 9,
318 	ABS_LEFTHOT = 10,
319 	ABS_LEFTPRESSED = 11,
320 	ABS_LEFTDISABLED = 12,
321 	ABS_RIGHTNORMAL = 13,
322 	ABS_RIGHTHOT = 14,
323 	ABS_RIGHTPRESSED = 15,
324 	ABS_RIGHTDISABLED = 16
325 }
326 
327 enum {
328 	SCRBS_NORMAL = 1,
329 	SCRBS_HOT = 2,
330 	SCRBS_PRESSED = 3,
331 	SCRBS_DISABLED = 4
332 }
333 
334 enum {
335 	SZB_RIGHTALIGN = 1,
336 	SZB_LEFTALIGN = 2
337 }
338 
339 /* SPIN parts */
340 enum {
341 	SPNP_UP = 1,
342 	SPNP_DOWN = 2,
343 	SPNP_UPHORZ = 3,
344 	SPNP_DOWNHORZ = 4
345 }
346 
347 /* STARTPANEL parts */
348 enum {
349 	SPP_USERPANE = 1,
350 	SPP_MOREPROGRAMS = 2,
351 	SPP_MOREPROGRAMSARROW = 3,
352 	SPP_PROGLIST = 4,
353 	SPP_PROGLISTSEPARATOR = 5,
354 	SPP_PLACESLIST = 6,
355 	SPP_PLACESLISTSEPARATOR = 7,
356 	SPP_LOGOFF = 8,
357 	SPP_LOGOFFBUTTONS = 9,
358 	SPP_USERPICTURE = 10,
359 	SPP_PREVIEW = 11
360 }
361 
362 enum {
363 	SPLS_NORMAL = 1,
364 	SPLS_HOT = 2,
365 	SPLS_PRESSED = 3
366 }
367 
368 enum {
369 	SPS_NORMAL = 1,
370 	SPS_HOT = 2,
371 	SPS_PRESSED = 3
372 }
373 
374 /* STATUS parts */
375 enum {
376 	SP_PANE = 1,
377 	SP_GRIPPERPANE = 2,
378 	SP_GRIPPER = 3
379 }
380 
381 /* TAB parts */
382 enum {
383 	TABP_TABITEM = 1,
384 	TABP_TABITEMLEFTEDGE = 2,
385 	TABP_TABITEMRIGHTEDGE = 3,
386 	TABP_TABITEMBOTHEDGE = 4,
387 	TABP_TOPTABITEM = 5,
388 	TABP_TOPTABITEMLEFTEDGE = 6,
389 	TABP_TOPTABITEMRIGHTEDGE = 7,
390 	TABP_TOPTABITEMBOTHEDGE = 8,
391 	TABP_PANE = 9,
392 	TABP_BODY = 10
393 }
394 
395 enum {
396 	TIS_NORMAL = 1,
397 	TIS_HOT = 2,
398 	TIS_SELECTED = 3,
399 	TIS_DISABLED = 4,
400 	TIS_FOCUSED = 5
401 }
402 
403 enum {
404 	TIBES_NORMAL = 1,
405 	TIBES_HOT = 2,
406 	TIBES_SELECTED = 3,
407 	TIBES_DISABLED = 4,
408 	TIBES_FOCUSED = 5
409 }
410 
411 enum {
412 	TILES_NORMAL = 1,
413 	TILES_HOT = 2,
414 	TILES_SELECTED = 3,
415 	TILES_DISABLED = 4,
416 	TILES_FOCUSED = 5
417 }
418 
419 enum {
420 	TIRES_NORMAL = 1,
421 	TIRES_HOT = 2,
422 	TIRES_SELECTED = 3,
423 	TIRES_DISABLED = 4,
424 	TIRES_FOCUSED = 5
425 }
426 
427 enum {
428 	TTIS_NORMAL = 1,
429 	TTIS_HOT = 2,
430 	TTIS_SELECTED = 3,
431 	TTIS_DISABLED = 4,
432 	TTIS_FOCUSED = 5
433 }
434 
435 enum {
436 	TTIBES_NORMAL = 1,
437 	TTIBES_HOT = 2,
438 	TTIBES_SELECTED = 3,
439 	TTIBES_DISABLED = 4,
440 	TTIBES_FOCUSED = 5
441 }
442 
443 enum {
444 	TTILES_NORMAL = 1,
445 	TTILES_HOT = 2,
446 	TTILES_SELECTED = 3,
447 	TTILES_DISABLED = 4,
448 	TTILES_FOCUSED = 5
449 }
450 
451 enum {
452 	TTIRES_NORMAL = 1,
453 	TTIRES_HOT = 2,
454 	TTIRES_SELECTED = 3,
455 	TTIRES_DISABLED = 4,
456 	TTIRES_FOCUSED = 5
457 }
458 
459 /* TASKBAND parts */
460 enum {
461 	TDP_GROUPCOUNT = 1,
462 	TDP_FLASHBUTTON = 2,
463 	TDP_FLASHBUTTONGROUPMENU = 3
464 }
465 
466 /* TASKBAR parts */
467 enum {
468 	TBP_BACKGROUNDBOTTOM = 1,
469 	TBP_BACKGROUNDRIGHT = 2,
470 	TBP_BACKGROUNDTOP = 3,
471 	TBP_BACKGROUNDLEFT = 4,
472 	TBP_SIZINGBARBOTTOM = 5,
473 	TBP_SIZINGBARRIGHT = 6,
474 	TBP_SIZINGBARTOP = 7,
475 	TBP_SIZINGBARLEFT = 8
476 }
477 
478 /* TOOLBAR parts */
479 enum {
480 	TP_BUTTON = 1,
481 	TP_DROPDOWNBUTTON = 2,
482 	TP_SPLITBUTTON = 3,
483 	TP_SPLITBUTTONDROPDOWN = 4,
484 	TP_SEPARATOR = 5,
485 	TP_SEPARATORVERT = 6
486 }
487 
488 enum {
489 	TS_NORMAL = 1,
490 	TS_HOT = 2,
491 	TS_PRESSED = 3,
492 	TS_DISABLED = 4,
493 	TS_CHECKED = 5,
494 	TS_HOTCHECKED = 6
495 }
496 
497 /* TOOLTIP parts */
498 enum {
499 	TTP_STANDARD = 1,
500 	TTP_STANDARDTITLE = 2,
501 	TTP_BALLOON = 3,
502 	TTP_BALLOONTITLE = 4,
503 	TTP_CLOSE = 5
504 }
505 
506 enum {
507 	TTBS_NORMAL = 1,
508 	TTBS_LINK = 2
509 }
510 
511 enum {
512 	TTCS_NORMAL = 1,
513 	TTCS_HOT = 2,
514 	TTCS_PRESSED = 3
515 }
516 
517 enum {
518 	TTSS_NORMAL = 1,
519 	TTSS_LINK = 2
520 }
521 
522 /* TRACKBAR parts */
523 enum {
524 	TKP_TRACK = 1,
525 	TKP_TRACKVERT = 2,
526 	TKP_THUMB = 3,
527 	TKP_THUMBBOTTOM = 4,
528 	TKP_THUMBTOP = 5,
529 	TKP_THUMBVERT = 6,
530 	TKP_THUMBLEFT = 7,
531 	TKP_THUMBRIGHT = 8,
532 	TKP_TICS = 9,
533 	TKP_TICSVERT = 10
534 }
535 
536 enum {
537 	TUS_NORMAL = 1,
538 	TUS_HOT = 2,
539 	TUS_PRESSED = 3,
540 	TUS_FOCUSED = 4,
541 	TUS_DISABLED = 5
542 }
543 
544 enum {
545 	TUBS_NORMAL = 1,
546 	TUBS_HOT = 2,
547 	TUBS_PRESSED = 3,
548 	TUBS_FOCUSED = 4,
549 	TUBS_DISABLED = 5
550 }
551 
552 enum {
553 	TUVLS_NORMAL = 1,
554 	TUVLS_HOT = 2,
555 	TUVLS_PRESSED = 3,
556 	TUVLS_FOCUSED = 4,
557 	TUVLS_DISABLED = 5
558 }
559 
560 enum {
561 	TUVRS_NORMAL = 1,
562 	TUVRS_HOT = 2,
563 	TUVRS_PRESSED = 3,
564 	TUVRS_FOCUSED = 4,
565 	TUVRS_DISABLED = 5
566 }
567 
568 enum {
569 	TUTS_NORMAL = 1,
570 	TUTS_HOT = 2,
571 	TUTS_PRESSED = 3,
572 	TUTS_FOCUSED = 4,
573 	TUTS_DISABLED = 5
574 }
575 
576 enum {
577 	TUVS_NORMAL = 1,
578 	TUVS_HOT = 2,
579 	TUVS_PRESSED = 3,
580 	TUVS_FOCUSED = 4,
581 	TUVS_DISABLED = 5
582 }
583 
584 enum {
585 	TSS_NORMAL = 1
586 }
587 
588 enum {
589 	TSVS_NORMAL = 1
590 }
591 
592 enum {
593 	TRS_NORMAL = 1
594 }
595 
596 enum {
597 	TRVS_NORMAL = 1
598 }
599 
600 /* TRAYNOTIFY parts */
601 enum {
602 	TNP_BACKGROUND = 1,
603 	TNP_ANIMBACKGROUND = 2
604 }
605 
606 /* TREEVIEW parts */
607 enum {
608 	TVP_TREEITEM = 1,
609 	TVP_GLYPH = 2,
610 	TVP_BRANCH = 3
611 }
612 
613 enum {
614 	GLPS_CLOSED = 1,
615 	GLPS_OPENED = 2
616 }
617 
618 enum {
619 	TREIS_NORMAL = 1,
620 	TREIS_HOT = 2,
621 	TREIS_SELECTED = 3,
622 	TREIS_DISABLED = 4,
623 	TREIS_SELECTEDNOTFOCUS = 5
624 }
625 
626 /* WINDOW parts */
627 enum {
628 	WP_CAPTION = 1,
629 	WP_SMALLCAPTION = 2,
630 	WP_MINCAPTION = 3,
631 	WP_SMALLMINCAPTION = 4,
632 	WP_MAXCAPTION = 5,
633 	WP_SMALLMAXCAPTION = 6,
634 	WP_FRAMELEFT = 7,
635 	WP_FRAMERIGHT = 8,
636 	WP_FRAMEBOTTOM = 9,
637 	WP_SMALLFRAMELEFT = 10,
638 	WP_SMALLFRAMERIGHT = 11,
639 	WP_SMALLFRAMEBOTTOM = 12,
640 	WP_SYSBUTTON = 13,
641 	WP_MDISYSBUTTON = 14,
642 	WP_MINBUTTON = 15,
643 	WP_MDIMINBUTTON = 16,
644 	WP_MAXBUTTON = 17,
645 	WP_CLOSEBUTTON = 18,
646 	WP_SMALLCLOSEBUTTON = 19,
647 	WP_MDICLOSEBUTTON = 20,
648 	WP_RESTOREBUTTON = 21,
649 	WP_MDIRESTOREBUTTON = 22,
650 	WP_HELPBUTTON = 23,
651 	WP_MDIHELPBUTTON = 24,
652 	WP_HORZSCROLL = 25,
653 	WP_HORZTHUMB = 26,
654 	WP_VERTSCROLL = 27,
655 	WP_VERTTHUMB = 28,
656 	WP_DIALOG = 29,
657 	WP_CAPTIONSIZINGTEMPLATE = 30,
658 	WP_SMALLCAPTIONSIZINGTEMPLATE = 31,
659 	WP_FRAMELEFTSIZINGTEMPLATE = 32,
660 	WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33,
661 	WP_FRAMERIGHTSIZINGTEMPLATE = 34,
662 	WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35,
663 	WP_FRAMEBOTTOMSIZINGTEMPLATE = 36,
664 	WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37
665 }
666 
667 enum {
668 	CS_ACTIVE = 1,
669 	CS_INACTIVE = 2,
670 	CS_DISABLED = 3
671 }
672 
673 enum {
674 	CBS_NORMAL = 1,
675 	CBS_HOT = 2,
676 	CBS_PUSHED = 3,
677 	CBS_DISABLED = 4
678 }
679 
680 enum {
681 	FS_ACTIVE = 1,
682 	FS_INACTIVE = 2
683 }
684 
685 enum {
686 	HBS_NORMAL = 1,
687 	HBS_HOT = 2,
688 	HBS_PUSHED = 3,
689 	HBS_DISABLED = 4
690 }
691 
692 enum {
693 	HSS_NORMAL = 1,
694 	HSS_HOT = 2,
695 	HSS_PUSHED = 3,
696 	HSS_DISABLED = 4
697 }
698 
699 enum {
700 	HTS_NORMAL = 1,
701 	HTS_HOT = 2,
702 	HTS_PUSHED = 3,
703 	HTS_DISABLED = 4
704 }
705 
706 enum {
707 	MAXBS_NORMAL = 1,
708 	MAXBS_HOT = 2,
709 	MAXBS_PUSHED = 3,
710 	MAXBS_DISABLED = 4
711 }
712 
713 enum {
714 	MXCS_ACTIVE = 1,
715 	MXCS_INACTIVE = 2,
716 	MXCS_DISABLED = 3
717 }
718 
719 enum {
720 	MINBS_NORMAL = 1,
721 	MINBS_HOT = 2,
722 	MINBS_PUSHED = 3,
723 	MINBS_DISABLED = 4
724 }
725 
726 enum {
727 	RBS_NORMAL = 1,
728 	RBS_HOT = 2,
729 	RBS_PUSHED = 3,
730 	RBS_DISABLED = 4
731 }
732 
733 enum {
734 	SBS_NORMAL = 1,
735 	SBS_HOT = 2,
736 	SBS_PUSHED = 3,
737 	SBS_DISABLED = 4
738 }
739 
740 enum {
741 	MNCS_ACTIVE = 1,
742 	MNCS_INACTIVE = 2,
743 	MNCS_DISABLED = 3
744 }
745 
746 enum {
747 	VSS_NORMAL = 1,
748 	VSS_HOT = 2,
749 	VSS_PUSHED = 3,
750 	VSS_DISABLED = 4
751 }
752 
753 enum {
754 	VTS_NORMAL = 1,
755 	VTS_HOT = 2,
756 	VTS_PUSHED = 3,
757 	VTS_DISABLED = 4
758 }