Release 960218
[wine] / include / debug.h
1 #include <stdio.h>
2
3 #define stddeb stdout
4 #define stdnimp stdout
5
6 #ifdef DEBUG_RUNTIME
7 #define api_assert(name,test) if (test) ; else \
8     { \
9         fprintf(stddeb,"API assertion failed for %s: %s\n", name, #test); \
10         abort(); \
11     }
12 #else
13 #define api_assert(name,test) ;
14 #endif
15
16 /* Do not remove this line or change anything below this line */
17
18 #ifdef DEBUG_NONE_EXT
19 #undef DEBUG_ACCEL
20 #undef DEBUG_ATOM
21 #undef DEBUG_BITBLT
22 #undef DEBUG_BITMAP
23 #undef DEBUG_CARET
24 #undef DEBUG_CATCH
25 #undef DEBUG_CDAUDIO
26 #undef DEBUG_CLASS
27 #undef DEBUG_CLIPBOARD
28 #undef DEBUG_CLIPPING
29 #undef DEBUG_COMBO
30 #undef DEBUG_COMM
31 #undef DEBUG_COMMDLG
32 #undef DEBUG_CURSOR
33 #undef DEBUG_DC
34 #undef DEBUG_DDE
35 #undef DEBUG_DIALOG
36 #undef DEBUG_DLL
37 #undef DEBUG_DOSFS
38 #undef DEBUG_DRIVER
39 #undef DEBUG_EDIT
40 #undef DEBUG_ENUM
41 #undef DEBUG_ENV
42 #undef DEBUG_EVENT
43 #undef DEBUG_EXEC
44 #undef DEBUG_FILE
45 #undef DEBUG_FIXUP
46 #undef DEBUG_FONT
47 #undef DEBUG_GDI
48 #undef DEBUG_GLOBAL
49 #undef DEBUG_GRAPHICS
50 #undef DEBUG_HOOK
51 #undef DEBUG_ICON
52 #undef DEBUG_INT
53 #undef DEBUG_KEY
54 #undef DEBUG_KEYBOARD
55 #undef DEBUG_LDT
56 #undef DEBUG_LISTBOX
57 #undef DEBUG_LOCAL
58 #undef DEBUG_MCI
59 #undef DEBUG_MCIANIM
60 #undef DEBUG_MCIWAVE
61 #undef DEBUG_MDI
62 #undef DEBUG_MENU
63 #undef DEBUG_MESSAGE
64 #undef DEBUG_METAFILE
65 #undef DEBUG_MIDI
66 #undef DEBUG_MMIO
67 #undef DEBUG_MMSYS
68 #undef DEBUG_MMTIME
69 #undef DEBUG_MODULE
70 #undef DEBUG_MSG
71 #undef DEBUG_NONCLIENT
72 #undef DEBUG_OLE
73 #undef DEBUG_PALETTE
74 #undef DEBUG_PROFILE
75 #undef DEBUG_PROP
76 #undef DEBUG_REG
77 #undef DEBUG_REGION
78 #undef DEBUG_RELAY
79 #undef DEBUG_RESOURCE
80 #undef DEBUG_SCROLL
81 #undef DEBUG_SELECTOR
82 #undef DEBUG_SEM
83 #undef DEBUG_SHM
84 #undef DEBUG_STRESS
85 #undef DEBUG_SYSCOLOR
86 #undef DEBUG_TASK
87 #undef DEBUG_TEXT
88 #undef DEBUG_TIMER
89 #undef DEBUG_TOOLHELP
90 #undef DEBUG_UTILITY
91 #undef DEBUG_VXD
92 #undef DEBUG_WIN
93 #undef DEBUG_WIN32
94 #undef DEBUG_WINSOCK
95 #endif
96
97 #ifdef DEBUG_ALL_EXT
98 #define DEBUG_ACCEL
99 #define DEBUG_ATOM
100 #define DEBUG_BITBLT
101 #define DEBUG_BITMAP
102 #define DEBUG_CARET
103 #define DEBUG_CATCH
104 #define DEBUG_CDAUDIO
105 #define DEBUG_CLASS
106 #define DEBUG_CLIPBOARD
107 #define DEBUG_CLIPPING
108 #define DEBUG_COMBO
109 #define DEBUG_COMM
110 #define DEBUG_COMMDLG
111 #define DEBUG_CURSOR
112 #define DEBUG_DC
113 #define DEBUG_DDE
114 #define DEBUG_DIALOG
115 #define DEBUG_DLL
116 #define DEBUG_DOSFS
117 #define DEBUG_DRIVER
118 #define DEBUG_EDIT
119 #define DEBUG_ENUM
120 #define DEBUG_ENV
121 #define DEBUG_EVENT
122 #define DEBUG_EXEC
123 #define DEBUG_FILE
124 #define DEBUG_FIXUP
125 #define DEBUG_FONT
126 #define DEBUG_GDI
127 #define DEBUG_GLOBAL
128 #define DEBUG_GRAPHICS
129 #define DEBUG_HOOK
130 #define DEBUG_ICON
131 #define DEBUG_INT
132 #define DEBUG_KEY
133 #define DEBUG_KEYBOARD
134 #define DEBUG_LDT
135 #define DEBUG_LISTBOX
136 #define DEBUG_LOCAL
137 #define DEBUG_MCI
138 #define DEBUG_MCIANIM
139 #define DEBUG_MCIWAVE
140 #define DEBUG_MDI
141 #define DEBUG_MENU
142 #define DEBUG_MESSAGE
143 #define DEBUG_METAFILE
144 #define DEBUG_MIDI
145 #define DEBUG_MMIO
146 #define DEBUG_MMSYS
147 #define DEBUG_MMTIME
148 #define DEBUG_MODULE
149 #define DEBUG_MSG
150 #define DEBUG_NONCLIENT
151 #define DEBUG_OLE
152 #define DEBUG_PALETTE
153 #define DEBUG_PROFILE
154 #define DEBUG_PROP
155 #define DEBUG_REG
156 #define DEBUG_REGION
157 #define DEBUG_RELAY
158 #define DEBUG_RESOURCE
159 #define DEBUG_SCROLL
160 #define DEBUG_SELECTOR
161 #define DEBUG_SEM
162 #define DEBUG_SHM
163 #define DEBUG_STRESS
164 #define DEBUG_SYSCOLOR
165 #define DEBUG_TASK
166 #define DEBUG_TEXT
167 #define DEBUG_TIMER
168 #define DEBUG_TOOLHELP
169 #define DEBUG_UTILITY
170 #define DEBUG_VXD
171 #define DEBUG_WIN
172 #define DEBUG_WIN32
173 #define DEBUG_WINSOCK
174 #endif
175
176 #ifdef DEBUG_RUNTIME
177 #ifdef DEBUG_DEFINE_VARIABLES
178 short debug_msg_enabled[]={
179 #ifdef DEBUG_ACCEL
180     1,
181 #else
182     0,
183 #endif
184 #ifdef DEBUG_ATOM
185     1,
186 #else
187     0,
188 #endif
189 #ifdef DEBUG_BITBLT
190     1,
191 #else
192     0,
193 #endif
194 #ifdef DEBUG_BITMAP
195     1,
196 #else
197     0,
198 #endif
199 #ifdef DEBUG_CARET
200     1,
201 #else
202     0,
203 #endif
204 #ifdef DEBUG_CATCH
205     1,
206 #else
207     0,
208 #endif
209 #ifdef DEBUG_CDAUDIO
210     1,
211 #else
212     0,
213 #endif
214 #ifdef DEBUG_CLASS
215     1,
216 #else
217     0,
218 #endif
219 #ifdef DEBUG_CLIPBOARD
220     1,
221 #else
222     0,
223 #endif
224 #ifdef DEBUG_CLIPPING
225     1,
226 #else
227     0,
228 #endif
229 #ifdef DEBUG_COMBO
230     1,
231 #else
232     0,
233 #endif
234 #ifdef DEBUG_COMM
235     1,
236 #else
237     0,
238 #endif
239 #ifdef DEBUG_COMMDLG
240     1,
241 #else
242     0,
243 #endif
244 #ifdef DEBUG_CURSOR
245     1,
246 #else
247     0,
248 #endif
249 #ifdef DEBUG_DC
250     1,
251 #else
252     0,
253 #endif
254 #ifdef DEBUG_DDE
255     1,
256 #else
257     0,
258 #endif
259 #ifdef DEBUG_DIALOG
260     1,
261 #else
262     0,
263 #endif
264 #ifdef DEBUG_DLL
265     1,
266 #else
267     0,
268 #endif
269 #ifdef DEBUG_DOSFS
270     1,
271 #else
272     0,
273 #endif
274 #ifdef DEBUG_DRIVER
275     1,
276 #else
277     0,
278 #endif
279 #ifdef DEBUG_EDIT
280     1,
281 #else
282     0,
283 #endif
284 #ifdef DEBUG_ENUM
285     1,
286 #else
287     0,
288 #endif
289 #ifdef DEBUG_ENV
290     1,
291 #else
292     0,
293 #endif
294 #ifdef DEBUG_EVENT
295     1,
296 #else
297     0,
298 #endif
299 #ifdef DEBUG_EXEC
300     1,
301 #else
302     0,
303 #endif
304 #ifdef DEBUG_FILE
305     1,
306 #else
307     0,
308 #endif
309 #ifdef DEBUG_FIXUP
310     1,
311 #else
312     0,
313 #endif
314 #ifdef DEBUG_FONT
315     1,
316 #else
317     0,
318 #endif
319 #ifdef DEBUG_GDI
320     1,
321 #else
322     0,
323 #endif
324 #ifdef DEBUG_GLOBAL
325     1,
326 #else
327     0,
328 #endif
329 #ifdef DEBUG_GRAPHICS
330     1,
331 #else
332     0,
333 #endif
334 #ifdef DEBUG_HOOK
335     1,
336 #else
337     0,
338 #endif
339 #ifdef DEBUG_ICON
340     1,
341 #else
342     0,
343 #endif
344 #ifdef DEBUG_INT
345     1,
346 #else
347     0,
348 #endif
349 #ifdef DEBUG_KEY
350     1,
351 #else
352     0,
353 #endif
354 #ifdef DEBUG_KEYBOARD
355     1,
356 #else
357     0,
358 #endif
359 #ifdef DEBUG_LDT
360     1,
361 #else
362     0,
363 #endif
364 #ifdef DEBUG_LISTBOX
365     1,
366 #else
367     0,
368 #endif
369 #ifdef DEBUG_LOCAL
370     1,
371 #else
372     0,
373 #endif
374 #ifdef DEBUG_MCI
375     1,
376 #else
377     0,
378 #endif
379 #ifdef DEBUG_MCIANIM
380     1,
381 #else
382     0,
383 #endif
384 #ifdef DEBUG_MCIWAVE
385     1,
386 #else
387     0,
388 #endif
389 #ifdef DEBUG_MDI
390     1,
391 #else
392     0,
393 #endif
394 #ifdef DEBUG_MENU
395     1,
396 #else
397     0,
398 #endif
399 #ifdef DEBUG_MESSAGE
400     1,
401 #else
402     0,
403 #endif
404 #ifdef DEBUG_METAFILE
405     1,
406 #else
407     0,
408 #endif
409 #ifdef DEBUG_MIDI
410     1,
411 #else
412     0,
413 #endif
414 #ifdef DEBUG_MMIO
415     1,
416 #else
417     0,
418 #endif
419 #ifdef DEBUG_MMSYS
420     1,
421 #else
422     0,
423 #endif
424 #ifdef DEBUG_MMTIME
425     1,
426 #else
427     0,
428 #endif
429 #ifdef DEBUG_MODULE
430     1,
431 #else
432     0,
433 #endif
434 #ifdef DEBUG_MSG
435     1,
436 #else
437     0,
438 #endif
439 #ifdef DEBUG_NONCLIENT
440     1,
441 #else
442     0,
443 #endif
444 #ifdef DEBUG_OLE
445     1,
446 #else
447     0,
448 #endif
449 #ifdef DEBUG_PALETTE
450     1,
451 #else
452     0,
453 #endif
454 #ifdef DEBUG_PROFILE
455     1,
456 #else
457     0,
458 #endif
459 #ifdef DEBUG_PROP
460     1,
461 #else
462     0,
463 #endif
464 #ifdef DEBUG_REG
465     1,
466 #else
467     0,
468 #endif
469 #ifdef DEBUG_REGION
470     1,
471 #else
472     0,
473 #endif
474 #ifdef DEBUG_RELAY
475     1,
476 #else
477     0,
478 #endif
479 #ifdef DEBUG_RESOURCE
480     1,
481 #else
482     0,
483 #endif
484 #ifdef DEBUG_SCROLL
485     1,
486 #else
487     0,
488 #endif
489 #ifdef DEBUG_SELECTOR
490     1,
491 #else
492     0,
493 #endif
494 #ifdef DEBUG_SEM
495     1,
496 #else
497     0,
498 #endif
499 #ifdef DEBUG_SHM
500     1,
501 #else
502     0,
503 #endif
504 #ifdef DEBUG_STRESS
505     1,
506 #else
507     0,
508 #endif
509 #ifdef DEBUG_SYSCOLOR
510     1,
511 #else
512     0,
513 #endif
514 #ifdef DEBUG_TASK
515     1,
516 #else
517     0,
518 #endif
519 #ifdef DEBUG_TEXT
520     1,
521 #else
522     0,
523 #endif
524 #ifdef DEBUG_TIMER
525     1,
526 #else
527     0,
528 #endif
529 #ifdef DEBUG_TOOLHELP
530     1,
531 #else
532     0,
533 #endif
534 #ifdef DEBUG_UTILITY
535     1,
536 #else
537     0,
538 #endif
539 #ifdef DEBUG_VXD
540     1,
541 #else
542     0,
543 #endif
544 #ifdef DEBUG_WIN
545     1,
546 #else
547     0,
548 #endif
549 #ifdef DEBUG_WIN32
550     1,
551 #else
552     0,
553 #endif
554 #ifdef DEBUG_WINSOCK
555     1,
556 #else
557     0,
558 #endif
559     0
560 };
561 #else
562 extern short debug_msg_enabled[];
563 #endif
564 #endif
565
566 #ifdef DEBUG_RUNTIME
567 #define dprintf_accel if(!debug_msg_enabled[0]) ; else fprintf
568 #define debugging_accel debug_msg_enabled[0]
569 #else
570 #ifdef DEBUG_ACCEL
571 #define dprintf_accel fprintf
572 #define debugging_accel 1
573 #else
574 #define dprintf_accel while(0) fprintf
575 #define debugging_accel 0
576 #endif
577 #endif
578
579 #ifdef DEBUG_RUNTIME
580 #define dprintf_atom if(!debug_msg_enabled[1]) ; else fprintf
581 #define debugging_atom debug_msg_enabled[1]
582 #else
583 #ifdef DEBUG_ATOM
584 #define dprintf_atom fprintf
585 #define debugging_atom 1
586 #else
587 #define dprintf_atom while(0) fprintf
588 #define debugging_atom 0
589 #endif
590 #endif
591
592 #ifdef DEBUG_RUNTIME
593 #define dprintf_bitblt if(!debug_msg_enabled[2]) ; else fprintf
594 #define debugging_bitblt debug_msg_enabled[2]
595 #else
596 #ifdef DEBUG_BITBLT
597 #define dprintf_bitblt fprintf
598 #define debugging_bitblt 1
599 #else
600 #define dprintf_bitblt while(0) fprintf
601 #define debugging_bitblt 0
602 #endif
603 #endif
604
605 #ifdef DEBUG_RUNTIME
606 #define dprintf_bitmap if(!debug_msg_enabled[3]) ; else fprintf
607 #define debugging_bitmap debug_msg_enabled[3]
608 #else
609 #ifdef DEBUG_BITMAP
610 #define dprintf_bitmap fprintf
611 #define debugging_bitmap 1
612 #else
613 #define dprintf_bitmap while(0) fprintf
614 #define debugging_bitmap 0
615 #endif
616 #endif
617
618 #ifdef DEBUG_RUNTIME
619 #define dprintf_caret if(!debug_msg_enabled[4]) ; else fprintf
620 #define debugging_caret debug_msg_enabled[4]
621 #else
622 #ifdef DEBUG_CARET
623 #define dprintf_caret fprintf
624 #define debugging_caret 1
625 #else
626 #define dprintf_caret while(0) fprintf
627 #define debugging_caret 0
628 #endif
629 #endif
630
631 #ifdef DEBUG_RUNTIME
632 #define dprintf_catch if(!debug_msg_enabled[5]) ; else fprintf
633 #define debugging_catch debug_msg_enabled[5]
634 #else
635 #ifdef DEBUG_CATCH
636 #define dprintf_catch fprintf
637 #define debugging_catch 1
638 #else
639 #define dprintf_catch while(0) fprintf
640 #define debugging_catch 0
641 #endif
642 #endif
643
644 #ifdef DEBUG_RUNTIME
645 #define dprintf_cdaudio if(!debug_msg_enabled[6]) ; else fprintf
646 #define debugging_cdaudio debug_msg_enabled[6]
647 #else
648 #ifdef DEBUG_CDAUDIO
649 #define dprintf_cdaudio fprintf
650 #define debugging_cdaudio 1
651 #else
652 #define dprintf_cdaudio while(0) fprintf
653 #define debugging_cdaudio 0
654 #endif
655 #endif
656
657 #ifdef DEBUG_RUNTIME
658 #define dprintf_class if(!debug_msg_enabled[7]) ; else fprintf
659 #define debugging_class debug_msg_enabled[7]
660 #else
661 #ifdef DEBUG_CLASS
662 #define dprintf_class fprintf
663 #define debugging_class 1
664 #else
665 #define dprintf_class while(0) fprintf
666 #define debugging_class 0
667 #endif
668 #endif
669
670 #ifdef DEBUG_RUNTIME
671 #define dprintf_clipboard if(!debug_msg_enabled[8]) ; else fprintf
672 #define debugging_clipboard debug_msg_enabled[8]
673 #else
674 #ifdef DEBUG_CLIPBOARD
675 #define dprintf_clipboard fprintf
676 #define debugging_clipboard 1
677 #else
678 #define dprintf_clipboard while(0) fprintf
679 #define debugging_clipboard 0
680 #endif
681 #endif
682
683 #ifdef DEBUG_RUNTIME
684 #define dprintf_clipping if(!debug_msg_enabled[9]) ; else fprintf
685 #define debugging_clipping debug_msg_enabled[9]
686 #else
687 #ifdef DEBUG_CLIPPING
688 #define dprintf_clipping fprintf
689 #define debugging_clipping 1
690 #else
691 #define dprintf_clipping while(0) fprintf
692 #define debugging_clipping 0
693 #endif
694 #endif
695
696 #ifdef DEBUG_RUNTIME
697 #define dprintf_combo if(!debug_msg_enabled[10]) ; else fprintf
698 #define debugging_combo debug_msg_enabled[10]
699 #else
700 #ifdef DEBUG_COMBO
701 #define dprintf_combo fprintf
702 #define debugging_combo 1
703 #else
704 #define dprintf_combo while(0) fprintf
705 #define debugging_combo 0
706 #endif
707 #endif
708
709 #ifdef DEBUG_RUNTIME
710 #define dprintf_comm if(!debug_msg_enabled[11]) ; else fprintf
711 #define debugging_comm debug_msg_enabled[11]
712 #else
713 #ifdef DEBUG_COMM
714 #define dprintf_comm fprintf
715 #define debugging_comm 1
716 #else
717 #define dprintf_comm while(0) fprintf
718 #define debugging_comm 0
719 #endif
720 #endif
721
722 #ifdef DEBUG_RUNTIME
723 #define dprintf_commdlg if(!debug_msg_enabled[12]) ; else fprintf
724 #define debugging_commdlg debug_msg_enabled[12]
725 #else
726 #ifdef DEBUG_COMMDLG
727 #define dprintf_commdlg fprintf
728 #define debugging_commdlg 1
729 #else
730 #define dprintf_commdlg while(0) fprintf
731 #define debugging_commdlg 0
732 #endif
733 #endif
734
735 #ifdef DEBUG_RUNTIME
736 #define dprintf_cursor if(!debug_msg_enabled[13]) ; else fprintf
737 #define debugging_cursor debug_msg_enabled[13]
738 #else
739 #ifdef DEBUG_CURSOR
740 #define dprintf_cursor fprintf
741 #define debugging_cursor 1
742 #else
743 #define dprintf_cursor while(0) fprintf
744 #define debugging_cursor 0
745 #endif
746 #endif
747
748 #ifdef DEBUG_RUNTIME
749 #define dprintf_dc if(!debug_msg_enabled[14]) ; else fprintf
750 #define debugging_dc debug_msg_enabled[14]
751 #else
752 #ifdef DEBUG_DC
753 #define dprintf_dc fprintf
754 #define debugging_dc 1
755 #else
756 #define dprintf_dc while(0) fprintf
757 #define debugging_dc 0
758 #endif
759 #endif
760
761 #ifdef DEBUG_RUNTIME
762 #define dprintf_dde if(!debug_msg_enabled[15]) ; else fprintf
763 #define debugging_dde debug_msg_enabled[15]
764 #else
765 #ifdef DEBUG_DDE
766 #define dprintf_dde fprintf
767 #define debugging_dde 1
768 #else
769 #define dprintf_dde while(0) fprintf
770 #define debugging_dde 0
771 #endif
772 #endif
773
774 #ifdef DEBUG_RUNTIME
775 #define dprintf_dialog if(!debug_msg_enabled[16]) ; else fprintf
776 #define debugging_dialog debug_msg_enabled[16]
777 #else
778 #ifdef DEBUG_DIALOG
779 #define dprintf_dialog fprintf
780 #define debugging_dialog 1
781 #else
782 #define dprintf_dialog while(0) fprintf
783 #define debugging_dialog 0
784 #endif
785 #endif
786
787 #ifdef DEBUG_RUNTIME
788 #define dprintf_dll if(!debug_msg_enabled[17]) ; else fprintf
789 #define debugging_dll debug_msg_enabled[17]
790 #else
791 #ifdef DEBUG_DLL
792 #define dprintf_dll fprintf
793 #define debugging_dll 1
794 #else
795 #define dprintf_dll while(0) fprintf
796 #define debugging_dll 0
797 #endif
798 #endif
799
800 #ifdef DEBUG_RUNTIME
801 #define dprintf_dosfs if(!debug_msg_enabled[18]) ; else fprintf
802 #define debugging_dosfs debug_msg_enabled[18]
803 #else
804 #ifdef DEBUG_DOSFS
805 #define dprintf_dosfs fprintf
806 #define debugging_dosfs 1
807 #else
808 #define dprintf_dosfs while(0) fprintf
809 #define debugging_dosfs 0
810 #endif
811 #endif
812
813 #ifdef DEBUG_RUNTIME
814 #define dprintf_driver if(!debug_msg_enabled[19]) ; else fprintf
815 #define debugging_driver debug_msg_enabled[19]
816 #else
817 #ifdef DEBUG_DRIVER
818 #define dprintf_driver fprintf
819 #define debugging_driver 1
820 #else
821 #define dprintf_driver while(0) fprintf
822 #define debugging_driver 0
823 #endif
824 #endif
825
826 #ifdef DEBUG_RUNTIME
827 #define dprintf_edit if(!debug_msg_enabled[20]) ; else fprintf
828 #define debugging_edit debug_msg_enabled[20]
829 #else
830 #ifdef DEBUG_EDIT
831 #define dprintf_edit fprintf
832 #define debugging_edit 1
833 #else
834 #define dprintf_edit while(0) fprintf
835 #define debugging_edit 0
836 #endif
837 #endif
838
839 #ifdef DEBUG_RUNTIME
840 #define dprintf_enum if(!debug_msg_enabled[21]) ; else fprintf
841 #define debugging_enum debug_msg_enabled[21]
842 #else
843 #ifdef DEBUG_ENUM
844 #define dprintf_enum fprintf
845 #define debugging_enum 1
846 #else
847 #define dprintf_enum while(0) fprintf
848 #define debugging_enum 0
849 #endif
850 #endif
851
852 #ifdef DEBUG_RUNTIME
853 #define dprintf_env if(!debug_msg_enabled[22]) ; else fprintf
854 #define debugging_env debug_msg_enabled[22]
855 #else
856 #ifdef DEBUG_ENV
857 #define dprintf_env fprintf
858 #define debugging_env 1
859 #else
860 #define dprintf_env while(0) fprintf
861 #define debugging_env 0
862 #endif
863 #endif
864
865 #ifdef DEBUG_RUNTIME
866 #define dprintf_event if(!debug_msg_enabled[23]) ; else fprintf
867 #define debugging_event debug_msg_enabled[23]
868 #else
869 #ifdef DEBUG_EVENT
870 #define dprintf_event fprintf
871 #define debugging_event 1
872 #else
873 #define dprintf_event while(0) fprintf
874 #define debugging_event 0
875 #endif
876 #endif
877
878 #ifdef DEBUG_RUNTIME
879 #define dprintf_exec if(!debug_msg_enabled[24]) ; else fprintf
880 #define debugging_exec debug_msg_enabled[24]
881 #else
882 #ifdef DEBUG_EXEC
883 #define dprintf_exec fprintf
884 #define debugging_exec 1
885 #else
886 #define dprintf_exec while(0) fprintf
887 #define debugging_exec 0
888 #endif
889 #endif
890
891 #ifdef DEBUG_RUNTIME
892 #define dprintf_file if(!debug_msg_enabled[25]) ; else fprintf
893 #define debugging_file debug_msg_enabled[25]
894 #else
895 #ifdef DEBUG_FILE
896 #define dprintf_file fprintf
897 #define debugging_file 1
898 #else
899 #define dprintf_file while(0) fprintf
900 #define debugging_file 0
901 #endif
902 #endif
903
904 #ifdef DEBUG_RUNTIME
905 #define dprintf_fixup if(!debug_msg_enabled[26]) ; else fprintf
906 #define debugging_fixup debug_msg_enabled[26]
907 #else
908 #ifdef DEBUG_FIXUP
909 #define dprintf_fixup fprintf
910 #define debugging_fixup 1
911 #else
912 #define dprintf_fixup while(0) fprintf
913 #define debugging_fixup 0
914 #endif
915 #endif
916
917 #ifdef DEBUG_RUNTIME
918 #define dprintf_font if(!debug_msg_enabled[27]) ; else fprintf
919 #define debugging_font debug_msg_enabled[27]
920 #else
921 #ifdef DEBUG_FONT
922 #define dprintf_font fprintf
923 #define debugging_font 1
924 #else
925 #define dprintf_font while(0) fprintf
926 #define debugging_font 0
927 #endif
928 #endif
929
930 #ifdef DEBUG_RUNTIME
931 #define dprintf_gdi if(!debug_msg_enabled[28]) ; else fprintf
932 #define debugging_gdi debug_msg_enabled[28]
933 #else
934 #ifdef DEBUG_GDI
935 #define dprintf_gdi fprintf
936 #define debugging_gdi 1
937 #else
938 #define dprintf_gdi while(0) fprintf
939 #define debugging_gdi 0
940 #endif
941 #endif
942
943 #ifdef DEBUG_RUNTIME
944 #define dprintf_global if(!debug_msg_enabled[29]) ; else fprintf
945 #define debugging_global debug_msg_enabled[29]
946 #else
947 #ifdef DEBUG_GLOBAL
948 #define dprintf_global fprintf
949 #define debugging_global 1
950 #else
951 #define dprintf_global while(0) fprintf
952 #define debugging_global 0
953 #endif
954 #endif
955
956 #ifdef DEBUG_RUNTIME
957 #define dprintf_graphics if(!debug_msg_enabled[30]) ; else fprintf
958 #define debugging_graphics debug_msg_enabled[30]
959 #else
960 #ifdef DEBUG_GRAPHICS
961 #define dprintf_graphics fprintf
962 #define debugging_graphics 1
963 #else
964 #define dprintf_graphics while(0) fprintf
965 #define debugging_graphics 0
966 #endif
967 #endif
968
969 #ifdef DEBUG_RUNTIME
970 #define dprintf_hook if(!debug_msg_enabled[31]) ; else fprintf
971 #define debugging_hook debug_msg_enabled[31]
972 #else
973 #ifdef DEBUG_HOOK
974 #define dprintf_hook fprintf
975 #define debugging_hook 1
976 #else
977 #define dprintf_hook while(0) fprintf
978 #define debugging_hook 0
979 #endif
980 #endif
981
982 #ifdef DEBUG_RUNTIME
983 #define dprintf_icon if(!debug_msg_enabled[32]) ; else fprintf
984 #define debugging_icon debug_msg_enabled[32]
985 #else
986 #ifdef DEBUG_ICON
987 #define dprintf_icon fprintf
988 #define debugging_icon 1
989 #else
990 #define dprintf_icon while(0) fprintf
991 #define debugging_icon 0
992 #endif
993 #endif
994
995 #ifdef DEBUG_RUNTIME
996 #define dprintf_int if(!debug_msg_enabled[33]) ; else fprintf
997 #define debugging_int debug_msg_enabled[33]
998 #else
999 #ifdef DEBUG_INT
1000 #define dprintf_int fprintf
1001 #define debugging_int 1
1002 #else
1003 #define dprintf_int while(0) fprintf
1004 #define debugging_int 0
1005 #endif
1006 #endif
1007
1008 #ifdef DEBUG_RUNTIME
1009 #define dprintf_key if(!debug_msg_enabled[34]) ; else fprintf
1010 #define debugging_key debug_msg_enabled[34]
1011 #else
1012 #ifdef DEBUG_KEY
1013 #define dprintf_key fprintf
1014 #define debugging_key 1
1015 #else
1016 #define dprintf_key while(0) fprintf
1017 #define debugging_key 0
1018 #endif
1019 #endif
1020
1021 #ifdef DEBUG_RUNTIME
1022 #define dprintf_keyboard if(!debug_msg_enabled[35]) ; else fprintf
1023 #define debugging_keyboard debug_msg_enabled[35]
1024 #else
1025 #ifdef DEBUG_KEYBOARD
1026 #define dprintf_keyboard fprintf
1027 #define debugging_keyboard 1
1028 #else
1029 #define dprintf_keyboard while(0) fprintf
1030 #define debugging_keyboard 0
1031 #endif
1032 #endif
1033
1034 #ifdef DEBUG_RUNTIME
1035 #define dprintf_ldt if(!debug_msg_enabled[36]) ; else fprintf
1036 #define debugging_ldt debug_msg_enabled[36]
1037 #else
1038 #ifdef DEBUG_LDT
1039 #define dprintf_ldt fprintf
1040 #define debugging_ldt 1
1041 #else
1042 #define dprintf_ldt while(0) fprintf
1043 #define debugging_ldt 0
1044 #endif
1045 #endif
1046
1047 #ifdef DEBUG_RUNTIME
1048 #define dprintf_listbox if(!debug_msg_enabled[37]) ; else fprintf
1049 #define debugging_listbox debug_msg_enabled[37]
1050 #else
1051 #ifdef DEBUG_LISTBOX
1052 #define dprintf_listbox fprintf
1053 #define debugging_listbox 1
1054 #else
1055 #define dprintf_listbox while(0) fprintf
1056 #define debugging_listbox 0
1057 #endif
1058 #endif
1059
1060 #ifdef DEBUG_RUNTIME
1061 #define dprintf_local if(!debug_msg_enabled[38]) ; else fprintf
1062 #define debugging_local debug_msg_enabled[38]
1063 #else
1064 #ifdef DEBUG_LOCAL
1065 #define dprintf_local fprintf
1066 #define debugging_local 1
1067 #else
1068 #define dprintf_local while(0) fprintf
1069 #define debugging_local 0
1070 #endif
1071 #endif
1072
1073 #ifdef DEBUG_RUNTIME
1074 #define dprintf_mci if(!debug_msg_enabled[39]) ; else fprintf
1075 #define debugging_mci debug_msg_enabled[39]
1076 #else
1077 #ifdef DEBUG_MCI
1078 #define dprintf_mci fprintf
1079 #define debugging_mci 1
1080 #else
1081 #define dprintf_mci while(0) fprintf
1082 #define debugging_mci 0
1083 #endif
1084 #endif
1085
1086 #ifdef DEBUG_RUNTIME
1087 #define dprintf_mcianim if(!debug_msg_enabled[40]) ; else fprintf
1088 #define debugging_mcianim debug_msg_enabled[40]
1089 #else
1090 #ifdef DEBUG_MCIANIM
1091 #define dprintf_mcianim fprintf
1092 #define debugging_mcianim 1
1093 #else
1094 #define dprintf_mcianim while(0) fprintf
1095 #define debugging_mcianim 0
1096 #endif
1097 #endif
1098
1099 #ifdef DEBUG_RUNTIME
1100 #define dprintf_mciwave if(!debug_msg_enabled[41]) ; else fprintf
1101 #define debugging_mciwave debug_msg_enabled[41]
1102 #else
1103 #ifdef DEBUG_MCIWAVE
1104 #define dprintf_mciwave fprintf
1105 #define debugging_mciwave 1
1106 #else
1107 #define dprintf_mciwave while(0) fprintf
1108 #define debugging_mciwave 0
1109 #endif
1110 #endif
1111
1112 #ifdef DEBUG_RUNTIME
1113 #define dprintf_mdi if(!debug_msg_enabled[42]) ; else fprintf
1114 #define debugging_mdi debug_msg_enabled[42]
1115 #else
1116 #ifdef DEBUG_MDI
1117 #define dprintf_mdi fprintf
1118 #define debugging_mdi 1
1119 #else
1120 #define dprintf_mdi while(0) fprintf
1121 #define debugging_mdi 0
1122 #endif
1123 #endif
1124
1125 #ifdef DEBUG_RUNTIME
1126 #define dprintf_menu if(!debug_msg_enabled[43]) ; else fprintf
1127 #define debugging_menu debug_msg_enabled[43]
1128 #else
1129 #ifdef DEBUG_MENU
1130 #define dprintf_menu fprintf
1131 #define debugging_menu 1
1132 #else
1133 #define dprintf_menu while(0) fprintf
1134 #define debugging_menu 0
1135 #endif
1136 #endif
1137
1138 #ifdef DEBUG_RUNTIME
1139 #define dprintf_message if(!debug_msg_enabled[44]) ; else fprintf
1140 #define debugging_message debug_msg_enabled[44]
1141 #else
1142 #ifdef DEBUG_MESSAGE
1143 #define dprintf_message fprintf
1144 #define debugging_message 1
1145 #else
1146 #define dprintf_message while(0) fprintf
1147 #define debugging_message 0
1148 #endif
1149 #endif
1150
1151 #ifdef DEBUG_RUNTIME
1152 #define dprintf_metafile if(!debug_msg_enabled[45]) ; else fprintf
1153 #define debugging_metafile debug_msg_enabled[45]
1154 #else
1155 #ifdef DEBUG_METAFILE
1156 #define dprintf_metafile fprintf
1157 #define debugging_metafile 1
1158 #else
1159 #define dprintf_metafile while(0) fprintf
1160 #define debugging_metafile 0
1161 #endif
1162 #endif
1163
1164 #ifdef DEBUG_RUNTIME
1165 #define dprintf_midi if(!debug_msg_enabled[46]) ; else fprintf
1166 #define debugging_midi debug_msg_enabled[46]
1167 #else
1168 #ifdef DEBUG_MIDI
1169 #define dprintf_midi fprintf
1170 #define debugging_midi 1
1171 #else
1172 #define dprintf_midi while(0) fprintf
1173 #define debugging_midi 0
1174 #endif
1175 #endif
1176
1177 #ifdef DEBUG_RUNTIME
1178 #define dprintf_mmio if(!debug_msg_enabled[47]) ; else fprintf
1179 #define debugging_mmio debug_msg_enabled[47]
1180 #else
1181 #ifdef DEBUG_MMIO
1182 #define dprintf_mmio fprintf
1183 #define debugging_mmio 1
1184 #else
1185 #define dprintf_mmio while(0) fprintf
1186 #define debugging_mmio 0
1187 #endif
1188 #endif
1189
1190 #ifdef DEBUG_RUNTIME
1191 #define dprintf_mmsys if(!debug_msg_enabled[48]) ; else fprintf
1192 #define debugging_mmsys debug_msg_enabled[48]
1193 #else
1194 #ifdef DEBUG_MMSYS
1195 #define dprintf_mmsys fprintf
1196 #define debugging_mmsys 1
1197 #else
1198 #define dprintf_mmsys while(0) fprintf
1199 #define debugging_mmsys 0
1200 #endif
1201 #endif
1202
1203 #ifdef DEBUG_RUNTIME
1204 #define dprintf_mmtime if(!debug_msg_enabled[49]) ; else fprintf
1205 #define debugging_mmtime debug_msg_enabled[49]
1206 #else
1207 #ifdef DEBUG_MMTIME
1208 #define dprintf_mmtime fprintf
1209 #define debugging_mmtime 1
1210 #else
1211 #define dprintf_mmtime while(0) fprintf
1212 #define debugging_mmtime 0
1213 #endif
1214 #endif
1215
1216 #ifdef DEBUG_RUNTIME
1217 #define dprintf_module if(!debug_msg_enabled[50]) ; else fprintf
1218 #define debugging_module debug_msg_enabled[50]
1219 #else
1220 #ifdef DEBUG_MODULE
1221 #define dprintf_module fprintf
1222 #define debugging_module 1
1223 #else
1224 #define dprintf_module while(0) fprintf
1225 #define debugging_module 0
1226 #endif
1227 #endif
1228
1229 #ifdef DEBUG_RUNTIME
1230 #define dprintf_msg if(!debug_msg_enabled[51]) ; else fprintf
1231 #define debugging_msg debug_msg_enabled[51]
1232 #else
1233 #ifdef DEBUG_MSG
1234 #define dprintf_msg fprintf
1235 #define debugging_msg 1
1236 #else
1237 #define dprintf_msg while(0) fprintf
1238 #define debugging_msg 0
1239 #endif
1240 #endif
1241
1242 #ifdef DEBUG_RUNTIME
1243 #define dprintf_nonclient if(!debug_msg_enabled[52]) ; else fprintf
1244 #define debugging_nonclient debug_msg_enabled[52]
1245 #else
1246 #ifdef DEBUG_NONCLIENT
1247 #define dprintf_nonclient fprintf
1248 #define debugging_nonclient 1
1249 #else
1250 #define dprintf_nonclient while(0) fprintf
1251 #define debugging_nonclient 0
1252 #endif
1253 #endif
1254
1255 #ifdef DEBUG_RUNTIME
1256 #define dprintf_ole if(!debug_msg_enabled[53]) ; else fprintf
1257 #define debugging_ole debug_msg_enabled[53]
1258 #else
1259 #ifdef DEBUG_OLE
1260 #define dprintf_ole fprintf
1261 #define debugging_ole 1
1262 #else
1263 #define dprintf_ole while(0) fprintf
1264 #define debugging_ole 0
1265 #endif
1266 #endif
1267
1268 #ifdef DEBUG_RUNTIME
1269 #define dprintf_palette if(!debug_msg_enabled[54]) ; else fprintf
1270 #define debugging_palette debug_msg_enabled[54]
1271 #else
1272 #ifdef DEBUG_PALETTE
1273 #define dprintf_palette fprintf
1274 #define debugging_palette 1
1275 #else
1276 #define dprintf_palette while(0) fprintf
1277 #define debugging_palette 0
1278 #endif
1279 #endif
1280
1281 #ifdef DEBUG_RUNTIME
1282 #define dprintf_profile if(!debug_msg_enabled[55]) ; else fprintf
1283 #define debugging_profile debug_msg_enabled[55]
1284 #else
1285 #ifdef DEBUG_PROFILE
1286 #define dprintf_profile fprintf
1287 #define debugging_profile 1
1288 #else
1289 #define dprintf_profile while(0) fprintf
1290 #define debugging_profile 0
1291 #endif
1292 #endif
1293
1294 #ifdef DEBUG_RUNTIME
1295 #define dprintf_prop if(!debug_msg_enabled[56]) ; else fprintf
1296 #define debugging_prop debug_msg_enabled[56]
1297 #else
1298 #ifdef DEBUG_PROP
1299 #define dprintf_prop fprintf
1300 #define debugging_prop 1
1301 #else
1302 #define dprintf_prop while(0) fprintf
1303 #define debugging_prop 0
1304 #endif
1305 #endif
1306
1307 #ifdef DEBUG_RUNTIME
1308 #define dprintf_reg if(!debug_msg_enabled[57]) ; else fprintf
1309 #define debugging_reg debug_msg_enabled[57]
1310 #else
1311 #ifdef DEBUG_REG
1312 #define dprintf_reg fprintf
1313 #define debugging_reg 1
1314 #else
1315 #define dprintf_reg while(0) fprintf
1316 #define debugging_reg 0
1317 #endif
1318 #endif
1319
1320 #ifdef DEBUG_RUNTIME
1321 #define dprintf_region if(!debug_msg_enabled[58]) ; else fprintf
1322 #define debugging_region debug_msg_enabled[58]
1323 #else
1324 #ifdef DEBUG_REGION
1325 #define dprintf_region fprintf
1326 #define debugging_region 1
1327 #else
1328 #define dprintf_region while(0) fprintf
1329 #define debugging_region 0
1330 #endif
1331 #endif
1332
1333 #ifdef DEBUG_RUNTIME
1334 #define dprintf_relay if(!debug_msg_enabled[59]) ; else fprintf
1335 #define debugging_relay debug_msg_enabled[59]
1336 #else
1337 #ifdef DEBUG_RELAY
1338 #define dprintf_relay fprintf
1339 #define debugging_relay 1
1340 #else
1341 #define dprintf_relay while(0) fprintf
1342 #define debugging_relay 0
1343 #endif
1344 #endif
1345
1346 #ifdef DEBUG_RUNTIME
1347 #define dprintf_resource if(!debug_msg_enabled[60]) ; else fprintf
1348 #define debugging_resource debug_msg_enabled[60]
1349 #else
1350 #ifdef DEBUG_RESOURCE
1351 #define dprintf_resource fprintf
1352 #define debugging_resource 1
1353 #else
1354 #define dprintf_resource while(0) fprintf
1355 #define debugging_resource 0
1356 #endif
1357 #endif
1358
1359 #ifdef DEBUG_RUNTIME
1360 #define dprintf_scroll if(!debug_msg_enabled[61]) ; else fprintf
1361 #define debugging_scroll debug_msg_enabled[61]
1362 #else
1363 #ifdef DEBUG_SCROLL
1364 #define dprintf_scroll fprintf
1365 #define debugging_scroll 1
1366 #else
1367 #define dprintf_scroll while(0) fprintf
1368 #define debugging_scroll 0
1369 #endif
1370 #endif
1371
1372 #ifdef DEBUG_RUNTIME
1373 #define dprintf_selector if(!debug_msg_enabled[62]) ; else fprintf
1374 #define debugging_selector debug_msg_enabled[62]
1375 #else
1376 #ifdef DEBUG_SELECTOR
1377 #define dprintf_selector fprintf
1378 #define debugging_selector 1
1379 #else
1380 #define dprintf_selector while(0) fprintf
1381 #define debugging_selector 0
1382 #endif
1383 #endif
1384
1385 #ifdef DEBUG_RUNTIME
1386 #define dprintf_sem if(!debug_msg_enabled[63]) ; else fprintf
1387 #define debugging_sem debug_msg_enabled[63]
1388 #else
1389 #ifdef DEBUG_SEM
1390 #define dprintf_sem fprintf
1391 #define debugging_sem 1
1392 #else
1393 #define dprintf_sem while(0) fprintf
1394 #define debugging_sem 0
1395 #endif
1396 #endif
1397
1398 #ifdef DEBUG_RUNTIME
1399 #define dprintf_shm if(!debug_msg_enabled[64]) ; else fprintf
1400 #define debugging_shm debug_msg_enabled[64]
1401 #else
1402 #ifdef DEBUG_SHM
1403 #define dprintf_shm fprintf
1404 #define debugging_shm 1
1405 #else
1406 #define dprintf_shm while(0) fprintf
1407 #define debugging_shm 0
1408 #endif
1409 #endif
1410
1411 #ifdef DEBUG_RUNTIME
1412 #define dprintf_stress if(!debug_msg_enabled[65]) ; else fprintf
1413 #define debugging_stress debug_msg_enabled[65]
1414 #else
1415 #ifdef DEBUG_STRESS
1416 #define dprintf_stress fprintf
1417 #define debugging_stress 1
1418 #else
1419 #define dprintf_stress while(0) fprintf
1420 #define debugging_stress 0
1421 #endif
1422 #endif
1423
1424 #ifdef DEBUG_RUNTIME
1425 #define dprintf_syscolor if(!debug_msg_enabled[66]) ; else fprintf
1426 #define debugging_syscolor debug_msg_enabled[66]
1427 #else
1428 #ifdef DEBUG_SYSCOLOR
1429 #define dprintf_syscolor fprintf
1430 #define debugging_syscolor 1
1431 #else
1432 #define dprintf_syscolor while(0) fprintf
1433 #define debugging_syscolor 0
1434 #endif
1435 #endif
1436
1437 #ifdef DEBUG_RUNTIME
1438 #define dprintf_task if(!debug_msg_enabled[67]) ; else fprintf
1439 #define debugging_task debug_msg_enabled[67]
1440 #else
1441 #ifdef DEBUG_TASK
1442 #define dprintf_task fprintf
1443 #define debugging_task 1
1444 #else
1445 #define dprintf_task while(0) fprintf
1446 #define debugging_task 0
1447 #endif
1448 #endif
1449
1450 #ifdef DEBUG_RUNTIME
1451 #define dprintf_text if(!debug_msg_enabled[68]) ; else fprintf
1452 #define debugging_text debug_msg_enabled[68]
1453 #else
1454 #ifdef DEBUG_TEXT
1455 #define dprintf_text fprintf
1456 #define debugging_text 1
1457 #else
1458 #define dprintf_text while(0) fprintf
1459 #define debugging_text 0
1460 #endif
1461 #endif
1462
1463 #ifdef DEBUG_RUNTIME
1464 #define dprintf_timer if(!debug_msg_enabled[69]) ; else fprintf
1465 #define debugging_timer debug_msg_enabled[69]
1466 #else
1467 #ifdef DEBUG_TIMER
1468 #define dprintf_timer fprintf
1469 #define debugging_timer 1
1470 #else
1471 #define dprintf_timer while(0) fprintf
1472 #define debugging_timer 0
1473 #endif
1474 #endif
1475
1476 #ifdef DEBUG_RUNTIME
1477 #define dprintf_toolhelp if(!debug_msg_enabled[70]) ; else fprintf
1478 #define debugging_toolhelp debug_msg_enabled[70]
1479 #else
1480 #ifdef DEBUG_TOOLHELP
1481 #define dprintf_toolhelp fprintf
1482 #define debugging_toolhelp 1
1483 #else
1484 #define dprintf_toolhelp while(0) fprintf
1485 #define debugging_toolhelp 0
1486 #endif
1487 #endif
1488
1489 #ifdef DEBUG_RUNTIME
1490 #define dprintf_utility if(!debug_msg_enabled[71]) ; else fprintf
1491 #define debugging_utility debug_msg_enabled[71]
1492 #else
1493 #ifdef DEBUG_UTILITY
1494 #define dprintf_utility fprintf
1495 #define debugging_utility 1
1496 #else
1497 #define dprintf_utility while(0) fprintf
1498 #define debugging_utility 0
1499 #endif
1500 #endif
1501
1502 #ifdef DEBUG_RUNTIME
1503 #define dprintf_vxd if(!debug_msg_enabled[72]) ; else fprintf
1504 #define debugging_vxd debug_msg_enabled[72]
1505 #else
1506 #ifdef DEBUG_VXD
1507 #define dprintf_vxd fprintf
1508 #define debugging_vxd 1
1509 #else
1510 #define dprintf_vxd while(0) fprintf
1511 #define debugging_vxd 0
1512 #endif
1513 #endif
1514
1515 #ifdef DEBUG_RUNTIME
1516 #define dprintf_win if(!debug_msg_enabled[73]) ; else fprintf
1517 #define debugging_win debug_msg_enabled[73]
1518 #else
1519 #ifdef DEBUG_WIN
1520 #define dprintf_win fprintf
1521 #define debugging_win 1
1522 #else
1523 #define dprintf_win while(0) fprintf
1524 #define debugging_win 0
1525 #endif
1526 #endif
1527
1528 #ifdef DEBUG_RUNTIME
1529 #define dprintf_win32 if(!debug_msg_enabled[74]) ; else fprintf
1530 #define debugging_win32 debug_msg_enabled[74]
1531 #else
1532 #ifdef DEBUG_WIN32
1533 #define dprintf_win32 fprintf
1534 #define debugging_win32 1
1535 #else
1536 #define dprintf_win32 while(0) fprintf
1537 #define debugging_win32 0
1538 #endif
1539 #endif
1540
1541 #ifdef DEBUG_RUNTIME
1542 #define dprintf_winsock if(!debug_msg_enabled[75]) ; else fprintf
1543 #define debugging_winsock debug_msg_enabled[75]
1544 #else
1545 #ifdef DEBUG_WINSOCK
1546 #define dprintf_winsock fprintf
1547 #define debugging_winsock 1
1548 #else
1549 #define dprintf_winsock while(0) fprintf
1550 #define debugging_winsock 0
1551 #endif
1552 #endif
1553
1554
1555 #ifdef DEBUG_RUNTIME
1556 #ifdef DEBUG_DEFINE_VARIABLES
1557 static char *debug_msg_name[] = {
1558     "accel",
1559     "atom",
1560     "bitblt",
1561     "bitmap",
1562     "caret",
1563     "catch",
1564     "cdaudio",
1565     "class",
1566     "clipboard",
1567     "clipping",
1568     "combo",
1569     "comm",
1570     "commdlg",
1571     "cursor",
1572     "dc",
1573     "dde",
1574     "dialog",
1575     "dll",
1576     "dosfs",
1577     "driver",
1578     "edit",
1579     "enum",
1580     "env",
1581     "event",
1582     "exec",
1583     "file",
1584     "fixup",
1585     "font",
1586     "gdi",
1587     "global",
1588     "graphics",
1589     "hook",
1590     "icon",
1591     "int",
1592     "key",
1593     "keyboard",
1594     "ldt",
1595     "listbox",
1596     "local",
1597     "mci",
1598     "mcianim",
1599     "mciwave",
1600     "mdi",
1601     "menu",
1602     "message",
1603     "metafile",
1604     "midi",
1605     "mmio",
1606     "mmsys",
1607     "mmtime",
1608     "module",
1609     "msg",
1610     "nonclient",
1611     "ole",
1612     "palette",
1613     "profile",
1614     "prop",
1615     "reg",
1616     "region",
1617     "relay",
1618     "resource",
1619     "scroll",
1620     "selector",
1621     "sem",
1622     "shm",
1623     "stress",
1624     "syscolor",
1625     "task",
1626     "text",
1627     "timer",
1628     "toolhelp",
1629     "utility",
1630     "vxd",
1631     "win",
1632     "win32",
1633     "winsock",
1634     ""
1635 };
1636 #endif
1637 #endif