14{
16
17
19
21 {
22
24 {
27 }
28
29
33 {
34
37 }
38
40 {
43 }
44
46 {
49 }
50
52 {
55 }
56
58 {
61 }
62
64 {
67 }
68
69 if (!cooplevel)
70 {
73 }
74
75
76
78 {
79
80
81
85 This->lpLcl->lpGbl->lpExclusiveOwner=
NULL;
86
89 }
90
91
94
95 {
96
97
99 {
102 }
103
105 {
108 }
109
110 if( (
This->lpLcl->lpGbl->lpExclusiveOwner !=
NULL) &&
111 (
This->lpLcl->lpGbl->lpExclusiveOwner !=
This->lpLcl) )
112 {
115 }
116
117 This->lpLcl->lpGbl->lpExclusiveOwner =
This-> lpLcl;
118
122
124 {
126 }
127
130
131
132
133
136 }
137
138
139
140
141
142
143
144
145
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272 }
274 {
275 }
277
278
279 return retVal;
280}
#define DDRAWILCL_ALLOWMODEX
#define DDRAWILCL_DIRECTDRAW7
#define DDRAWILCL_HOOKEDHWND
#define DDRAWILCL_ISFULLSCREEN
#define DDRAWILCL_ACTIVEYES
#define DDRAWILCL_SETCOOPCALLED
#define DDRAWILCL_CURSORCLIPPED
#define DDRAWILCL_HASEXCLUSIVEMODE
#define EXCEPTION_EXECUTE_HANDLER
#define _SEH2_EXCEPT(...)
#define DX_WINDBG_trace()
#define DDSCL_SETDEVICEWINDOW
#define DDSCL_SETFOCUSWINDOW
#define DDSCL_FPUPRESERVE
#define DDSCL_MULTITHREADED
#define DDSCL_ALLOWREBOOT
#define DDSCL_CREATEDEVICEWINDOW
#define DDSCL_NOWINDOWCHANGES
#define DDERR_INVALIDPARAMS
BOOL WINAPI IsWindow(_In_opt_ HWND)