wined3d: Check for NULL before context_release (Coverity).
[wine/multimedia.git] / programs / cmdlgtst / cmdlgtst.h
blob58b2992e193dcded46426b1304b5ead4d2c89e60
1 /*
2 * Copyright (c) 1999-2000 Eric Williams.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include <windef.h>
20 #include <winuser.h>
21 #include <dlgs.h>
23 #define CM_U_COLOR 105
24 #define CM_U_SAVE 104
25 #define CM_U_OPEN 107
26 #define I_OFN_SHAREAWARE 116
27 #define I_OFN_SHOWHELP 117
28 #define I_OFN_ALLOWMULTISELECT 101
29 #define I_OFN_READONLY 115
30 #define I_OFN_PATHMUSTEXIST 114
31 #define I_OFN_OVERWRITEPROMPT 113
32 #define I_OFN_NOVALIDATE 112
33 #define I_OFN_NOTESTFILECREATE 111
34 #define I_OFN_NOREADONLYRETURN 110
35 #define I_OFN_NOCHANGEDIR 109
36 #define I_OFN_HIDEREADONLY 108
37 #define I_OFN_FILEMUSTEXIST 107
38 #define I_OFN_EXTENSIONDIFFERENT 106
39 #define I_OFN_ENABLETEMPLATEHANDLE 105
40 #define I_OFN_ENABLETEMPLATE 104
41 #define I_OFN_ENABLEHOOK 103
42 #define I_OFN_CREATEPROMPT 102
43 #define CM_H_USAGE 106
44 #define CM_H_ABOUT 103
45 #define CM_F_FILE 102
46 #define I_PD_SHOWHELP 121
47 #define I_PD_USEDEVMODECOPIES 122
48 #define I_PD_SELECTION 120
49 #define I_PD_RETURNIC 119
50 #define I_PD_RETURNDEFAULT 118
51 #define I_PD_RETURNDC 117
52 #define I_PD_PRINTTOFILE 116
53 #define I_PD_PRINTSETUP 115
54 #define I_PD_PAGENUMS 114
55 #define I_PD_NOWARNING 113
56 #define I_PD_NOSELECTION 112
57 #define I_PD_NOPAGENUMS 111
58 #define I_PD_HIDEPRINTTOFILE 110
59 #define I_PD_ENABLESETUPTEMPLATEHANDLE 109
60 #define I_PD_ENABLESETUPTEMPLATE 108
61 #define I_PD_ENABLESETUPHOOK 107
62 #define I_PD_ENABLEPRINTTEMPLATEHANDLE 106
63 #define I_PD_ENABLEPRINTTEMPLATE 105
64 #define I_PD_ENABLEPRINTHOOK 104
65 #define I_PD_DISABLEPRINTTOFILE 103
66 #define I_PD_COLLATE 102
67 #define I_PD_ALLPAGES 101
69 #define I_PSD_DEFAULTMINMARGINS 101
70 #define I_PSD_DISABLEMARGINS 102
71 #define I_PSD_DISABLEORIENTATION 103
72 #define I_PSD_DISABLEPAGEPAINTING 104
73 #define I_PSD_DISABLEPAPER 105
74 #define I_PSD_DISABLEPRINTER 106
75 #define I_PSD_ENABLEPAGEPAINTHOOK 107
76 #define I_PSD_ENABLEPAGESETUPHOOK 108
77 #define I_PSD_ENABLEPAGESETUPTEMPLATE 109
78 #define I_PSD_ENABLEPAGESETUPTEMPLATEHANDLE 110
79 #define I_PSD_INHUNDREDTHSOFMILLIMETERS 111
80 #define I_PSD_INTHOUSANDTHSOFINCHES 112
81 #define I_PSD_INWININIINTLMEASURE 113
82 #define I_PSD_MARGINS 114
83 #define I_PSD_MINMARGINS 115
84 #define I_PSD_NONETWORKBUTTON 116
85 #define I_PSD_NOWARNING 117
86 #define I_PSD_RETURNDEFAULT 118
87 #define I_PSD_SHOWHELP 119
89 #define I_FR_SHOWHELP 116
90 #define I_FR_WHOLEWORD 117
91 #define I_FR_REPLACEALL 115
92 #define I_FR_REPLACE 114
93 #define I_FR_NOWHOLEWORD 113
94 #define I_FR_NOUPDOWN 112
95 #define I_FR_NOMATCHCASE 111
96 #define I_FR_MATCHCASE 110
97 #define I_FR_HIDEUPDOWN 109
98 #define I_FR_HIDEWHOLEWORD 108
99 #define I_FR_HIDEMATCHCASE 107
100 #define I_FR_FINDNEXT 106
101 #define I_FR_ENABLETEMPLATEHANDLE 105
102 #define I_FR_ENABLETEMPLATE 104
103 #define I_FR_ENABLEHOOK 103
104 #define I_FR_DOWN 102
105 #define I_FR_DIALOGTERM 101
106 #define CM_R_HELP 998
108 #define CM_U_EXIT 1000
109 #define CM_U_FONT 1002
110 #define CM_U_FIND 1003
111 #define CM_U_REPLACE 1004
112 #define CM_U_PSETUP 1008
113 #define CM_U_PRINT 1009
114 #define CM_U_PAGESETUP 1010
115 #define CM_F_PRINT 1100
116 #define CM_F_FINDREPLACE 1101
117 #define CM_F_FONT 1102
118 #define CM_F_COLOR 1103
119 #define CM_F_PAGESETUP 1104
121 #define I_CF_APPLY 10
122 #define I_CF_ANSIONLY 11
123 #define I_CF_BOTH 12
124 #define I_CF_TTONLY 13
125 #define I_CF_EFFECTS 14
126 #define I_CF_ENABLEHOOK 15
127 #define I_CF_ENABLETEMPLATE 16
128 #define I_CF_ENABLETEMPLATEHANDLE 17
129 #define I_CF_FIXEDPITCHONLY 18
130 #define I_CF_FORCEFONTEXIST 19
131 #define I_CF_INITTOLOGFONTSTRUCT 20
132 #define I_CF_LIMITSIZE 21
133 #define I_CF_NOFACESEL 22
134 #define I_CF_USESTYLE 32
135 #define I_CF_WYSIWYG 33
136 #define I_CF_SHOWHELP 30
137 #define I_CF_SCREENFONTS 31
138 #define I_CF_SCALABLEONLY 29
139 #define I_CF_PRINTERFONTS 28
140 #define I_CF_NOVECTORFONTS 27
141 #define I_CF_NOSTYLESEL 26
142 #define I_CF_NOSIZESEL 25
143 #define I_CF_NOSIMULATIONS 24
144 #define I_CF_NOOEMFONTS 23
146 #define I_CC_RGBINIT 15
147 #define I_CC_SHOWHELP 16
148 #define I_CC_PREVENTFULLOPEN 14
149 #define I_CC_FULLOPEN 13
150 #define I_CC_ENABLETEMPLATEHANDLE 12
151 #define I_CC_ENABLETEMPLATE 11
152 #define I_CC_ENABLEHOOK 10