]>
Commit | Line | Data |
---|---|---|
45516216 | 1 | # 1 "vartest.c" |
2 | # 1 "/var/tmp/portage/wine-0.9.21/work/wine-0.9.21/dlls/oleaut32/tests//" | |
3 | # 1 "<built-in>" | |
4 | # 1 "<command line>" | |
5 | # 1 "vartest.c" | |
6 | # 22 "vartest.c" | |
7 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stdarg.h" 1 3 4 | |
8 | # 43 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stdarg.h" 3 4 | |
9 | typedef __builtin_va_list __gnuc_va_list; | |
10 | # 105 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stdarg.h" 3 4 | |
11 | typedef __gnuc_va_list va_list; | |
12 | # 23 "vartest.c" 2 | |
13 | # 1 "/usr/include/stdio.h" 1 3 4 | |
14 | ||
15 | ||
16 | ||
17 | # 1 "/usr/include/gentoo-multilib/x86/stdio.h" 1 3 4 | |
18 | # 28 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
19 | # 1 "/usr/include/features.h" 1 3 4 | |
20 | ||
21 | ||
22 | ||
23 | # 1 "/usr/include/gentoo-multilib/x86/features.h" 1 3 4 | |
24 | # 309 "/usr/include/gentoo-multilib/x86/features.h" 3 4 | |
25 | # 1 "/usr/include/sys/cdefs.h" 1 3 4 | |
26 | ||
27 | ||
28 | ||
29 | # 1 "/usr/include/gentoo-multilib/x86/sys/cdefs.h" 1 3 4 | |
30 | # 5 "/usr/include/sys/cdefs.h" 2 3 4 | |
31 | # 310 "/usr/include/gentoo-multilib/x86/features.h" 2 3 4 | |
32 | # 332 "/usr/include/gentoo-multilib/x86/features.h" 3 4 | |
33 | # 1 "/usr/include/gnu/stubs.h" 1 3 4 | |
34 | ||
35 | ||
36 | ||
37 | # 1 "/usr/include/gentoo-multilib/x86/gnu/stubs.h" 1 3 4 | |
38 | # 5 "/usr/include/gnu/stubs.h" 2 3 4 | |
39 | # 333 "/usr/include/gentoo-multilib/x86/features.h" 2 3 4 | |
40 | # 5 "/usr/include/features.h" 2 3 4 | |
41 | # 29 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4 | |
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
48 | # 214 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4 | |
49 | typedef unsigned int size_t; | |
50 | # 35 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4 | |
51 | ||
52 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
53 | ||
54 | ||
55 | ||
56 | # 1 "/usr/include/gentoo-multilib/x86/bits/types.h" 1 3 4 | |
57 | # 27 "/usr/include/gentoo-multilib/x86/bits/types.h" 3 4 | |
58 | # 1 "/usr/include/features.h" 1 3 4 | |
59 | # 28 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4 | |
60 | # 1 "/usr/include/bits/wordsize.h" 1 3 4 | |
61 | ||
62 | ||
63 | ||
64 | # 1 "/usr/include/gentoo-multilib/x86/bits/wordsize.h" 1 3 4 | |
65 | # 5 "/usr/include/bits/wordsize.h" 2 3 4 | |
66 | # 29 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4 | |
67 | ||
68 | ||
69 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
70 | # 32 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4 | |
71 | ||
72 | ||
73 | typedef unsigned char __u_char; | |
74 | typedef unsigned short int __u_short; | |
75 | typedef unsigned int __u_int; | |
76 | typedef unsigned long int __u_long; | |
77 | ||
78 | ||
79 | typedef signed char __int8_t; | |
80 | typedef unsigned char __uint8_t; | |
81 | typedef signed short int __int16_t; | |
82 | typedef unsigned short int __uint16_t; | |
83 | typedef signed int __int32_t; | |
84 | typedef unsigned int __uint32_t; | |
85 | ||
86 | ||
87 | ||
88 | ||
89 | __extension__ typedef signed long long int __int64_t; | |
90 | __extension__ typedef unsigned long long int __uint64_t; | |
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | __extension__ typedef long long int __quad_t; | |
99 | __extension__ typedef unsigned long long int __u_quad_t; | |
100 | # 129 "/usr/include/gentoo-multilib/x86/bits/types.h" 3 4 | |
101 | # 1 "/usr/include/bits/typesizes.h" 1 3 4 | |
102 | ||
103 | ||
104 | ||
105 | # 1 "/usr/include/gentoo-multilib/x86/bits/typesizes.h" 1 3 4 | |
106 | # 5 "/usr/include/bits/typesizes.h" 2 3 4 | |
107 | # 130 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4 | |
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | __extension__ typedef __u_quad_t __dev_t; | |
115 | __extension__ typedef unsigned int __uid_t; | |
116 | __extension__ typedef unsigned int __gid_t; | |
117 | __extension__ typedef unsigned long int __ino_t; | |
118 | __extension__ typedef __u_quad_t __ino64_t; | |
119 | __extension__ typedef unsigned int __mode_t; | |
120 | __extension__ typedef unsigned int __nlink_t; | |
121 | __extension__ typedef long int __off_t; | |
122 | __extension__ typedef __quad_t __off64_t; | |
123 | __extension__ typedef int __pid_t; | |
124 | __extension__ typedef struct { int __val[2]; } __fsid_t; | |
125 | __extension__ typedef long int __clock_t; | |
126 | __extension__ typedef unsigned long int __rlim_t; | |
127 | __extension__ typedef __u_quad_t __rlim64_t; | |
128 | __extension__ typedef unsigned int __id_t; | |
129 | __extension__ typedef long int __time_t; | |
130 | __extension__ typedef unsigned int __useconds_t; | |
131 | __extension__ typedef long int __suseconds_t; | |
132 | ||
133 | __extension__ typedef int __daddr_t; | |
134 | __extension__ typedef long int __swblk_t; | |
135 | __extension__ typedef int __key_t; | |
136 | ||
137 | ||
138 | __extension__ typedef int __clockid_t; | |
139 | ||
140 | ||
141 | __extension__ typedef void * __timer_t; | |
142 | ||
143 | ||
144 | __extension__ typedef long int __blksize_t; | |
145 | ||
146 | ||
147 | ||
148 | ||
149 | __extension__ typedef long int __blkcnt_t; | |
150 | __extension__ typedef __quad_t __blkcnt64_t; | |
151 | ||
152 | ||
153 | __extension__ typedef unsigned long int __fsblkcnt_t; | |
154 | __extension__ typedef __u_quad_t __fsblkcnt64_t; | |
155 | ||
156 | ||
157 | __extension__ typedef unsigned long int __fsfilcnt_t; | |
158 | __extension__ typedef __u_quad_t __fsfilcnt64_t; | |
159 | ||
160 | __extension__ typedef int __ssize_t; | |
161 | ||
162 | ||
163 | ||
164 | typedef __off64_t __loff_t; | |
165 | typedef __quad_t *__qaddr_t; | |
166 | typedef char *__caddr_t; | |
167 | ||
168 | ||
169 | __extension__ typedef int __intptr_t; | |
170 | ||
171 | ||
172 | __extension__ typedef unsigned int __socklen_t; | |
173 | # 5 "/usr/include/bits/types.h" 2 3 4 | |
174 | # 37 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4 | |
175 | ||
176 | ||
177 | ||
178 | ||
179 | ||
180 | ||
181 | ||
182 | ||
183 | ||
184 | typedef struct _IO_FILE FILE; | |
185 | ||
186 | ||
187 | ||
188 | ||
189 | ||
190 | # 62 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
191 | typedef struct _IO_FILE __FILE; | |
192 | # 72 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
193 | # 1 "/usr/include/libio.h" 1 3 4 | |
194 | ||
195 | ||
196 | ||
197 | # 1 "/usr/include/gentoo-multilib/x86/libio.h" 1 3 4 | |
198 | # 32 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
199 | # 1 "/usr/include/_G_config.h" 1 3 4 | |
200 | ||
201 | ||
202 | ||
203 | # 1 "/usr/include/gentoo-multilib/x86/_G_config.h" 1 3 4 | |
204 | # 9 "/usr/include/gentoo-multilib/x86/_G_config.h" 3 4 | |
205 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
206 | # 10 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4 | |
207 | ||
208 | ||
209 | ||
210 | ||
211 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
212 | # 326 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4 | |
213 | typedef int wchar_t; | |
214 | # 355 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4 | |
215 | typedef unsigned int wint_t; | |
216 | # 15 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4 | |
217 | # 24 "/usr/include/gentoo-multilib/x86/_G_config.h" 3 4 | |
218 | # 1 "/usr/include/wchar.h" 1 3 4 | |
219 | ||
220 | ||
221 | ||
222 | # 1 "/usr/include/gentoo-multilib/x86/wchar.h" 1 3 4 | |
223 | # 48 "/usr/include/gentoo-multilib/x86/wchar.h" 3 4 | |
224 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
225 | # 49 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4 | |
226 | ||
227 | # 1 "/usr/include/bits/wchar.h" 1 3 4 | |
228 | ||
229 | ||
230 | ||
231 | # 1 "/usr/include/gentoo-multilib/x86/bits/wchar.h" 1 3 4 | |
232 | # 5 "/usr/include/bits/wchar.h" 2 3 4 | |
233 | # 51 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4 | |
234 | # 76 "/usr/include/gentoo-multilib/x86/wchar.h" 3 4 | |
235 | typedef struct | |
236 | { | |
237 | int __count; | |
238 | union | |
239 | { | |
240 | wint_t __wch; | |
241 | char __wchb[4]; | |
242 | } __value; | |
243 | } __mbstate_t; | |
244 | # 5 "/usr/include/wchar.h" 2 3 4 | |
245 | # 25 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4 | |
246 | ||
247 | typedef struct | |
248 | { | |
249 | __off_t __pos; | |
250 | __mbstate_t __state; | |
251 | } _G_fpos_t; | |
252 | typedef struct | |
253 | { | |
254 | __off64_t __pos; | |
255 | __mbstate_t __state; | |
256 | } _G_fpos64_t; | |
257 | # 44 "/usr/include/gentoo-multilib/x86/_G_config.h" 3 4 | |
258 | # 1 "/usr/include/gconv.h" 1 3 4 | |
259 | ||
260 | ||
261 | ||
262 | # 1 "/usr/include/gentoo-multilib/x86/gconv.h" 1 3 4 | |
263 | # 26 "/usr/include/gentoo-multilib/x86/gconv.h" 3 4 | |
264 | # 1 "/usr/include/features.h" 1 3 4 | |
265 | # 27 "/usr/include/gentoo-multilib/x86/gconv.h" 2 3 4 | |
266 | ||
267 | # 1 "/usr/include/wchar.h" 1 3 4 | |
268 | ||
269 | ||
270 | ||
271 | # 1 "/usr/include/gentoo-multilib/x86/wchar.h" 1 3 4 | |
272 | # 48 "/usr/include/gentoo-multilib/x86/wchar.h" 3 4 | |
273 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
274 | # 49 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4 | |
275 | ||
276 | # 1 "/usr/include/bits/wchar.h" 1 3 4 | |
277 | # 51 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4 | |
278 | # 5 "/usr/include/wchar.h" 2 3 4 | |
279 | # 29 "/usr/include/gentoo-multilib/x86/gconv.h" 2 3 4 | |
280 | ||
281 | ||
282 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
283 | # 32 "/usr/include/gentoo-multilib/x86/gconv.h" 2 3 4 | |
284 | ||
285 | ||
286 | ||
287 | ||
288 | ||
289 | enum | |
290 | { | |
291 | __GCONV_OK = 0, | |
292 | __GCONV_NOCONV, | |
293 | __GCONV_NODB, | |
294 | __GCONV_NOMEM, | |
295 | ||
296 | __GCONV_EMPTY_INPUT, | |
297 | __GCONV_FULL_OUTPUT, | |
298 | __GCONV_ILLEGAL_INPUT, | |
299 | __GCONV_INCOMPLETE_INPUT, | |
300 | ||
301 | __GCONV_ILLEGAL_DESCRIPTOR, | |
302 | __GCONV_INTERNAL_ERROR | |
303 | }; | |
304 | ||
305 | ||
306 | ||
307 | enum | |
308 | { | |
309 | __GCONV_IS_LAST = 0x0001, | |
310 | __GCONV_IGNORE_ERRORS = 0x0002 | |
311 | }; | |
312 | ||
313 | ||
314 | ||
315 | struct __gconv_step; | |
316 | struct __gconv_step_data; | |
317 | struct __gconv_loaded_object; | |
318 | struct __gconv_trans_data; | |
319 | ||
320 | ||
321 | ||
322 | typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, | |
323 | __const unsigned char **, __const unsigned char *, | |
324 | unsigned char **, size_t *, int, int); | |
325 | ||
326 | ||
327 | typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); | |
328 | ||
329 | ||
330 | typedef int (*__gconv_init_fct) (struct __gconv_step *); | |
331 | typedef void (*__gconv_end_fct) (struct __gconv_step *); | |
332 | ||
333 | ||
334 | ||
335 | typedef int (*__gconv_trans_fct) (struct __gconv_step *, | |
336 | struct __gconv_step_data *, void *, | |
337 | __const unsigned char *, | |
338 | __const unsigned char **, | |
339 | __const unsigned char *, unsigned char **, | |
340 | size_t *); | |
341 | ||
342 | ||
343 | typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, | |
344 | __const unsigned char *, | |
345 | unsigned char *, unsigned char *); | |
346 | ||
347 | ||
348 | typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, | |
349 | size_t *); | |
350 | ||
351 | ||
352 | typedef int (*__gconv_trans_init_fct) (void **, const char *); | |
353 | typedef void (*__gconv_trans_end_fct) (void *); | |
354 | ||
355 | struct __gconv_trans_data | |
356 | { | |
357 | ||
358 | __gconv_trans_fct __trans_fct; | |
359 | __gconv_trans_context_fct __trans_context_fct; | |
360 | __gconv_trans_end_fct __trans_end_fct; | |
361 | void *__data; | |
362 | struct __gconv_trans_data *__next; | |
363 | }; | |
364 | ||
365 | ||
366 | ||
367 | struct __gconv_step | |
368 | { | |
369 | struct __gconv_loaded_object *__shlib_handle; | |
370 | __const char *__modname; | |
371 | ||
372 | int __counter; | |
373 | ||
374 | char *__from_name; | |
375 | char *__to_name; | |
376 | ||
377 | __gconv_fct __fct; | |
378 | __gconv_btowc_fct __btowc_fct; | |
379 | __gconv_init_fct __init_fct; | |
380 | __gconv_end_fct __end_fct; | |
381 | ||
382 | ||
383 | ||
384 | int __min_needed_from; | |
385 | int __max_needed_from; | |
386 | int __min_needed_to; | |
387 | int __max_needed_to; | |
388 | ||
389 | ||
390 | int __stateful; | |
391 | ||
392 | void *__data; | |
393 | }; | |
394 | ||
395 | ||
396 | ||
397 | struct __gconv_step_data | |
398 | { | |
399 | unsigned char *__outbuf; | |
400 | unsigned char *__outbufend; | |
401 | ||
402 | ||
403 | ||
404 | int __flags; | |
405 | ||
406 | ||
407 | ||
408 | int __invocation_counter; | |
409 | ||
410 | ||
411 | ||
412 | int __internal_use; | |
413 | ||
414 | __mbstate_t *__statep; | |
415 | __mbstate_t __state; | |
416 | ||
417 | ||
418 | ||
419 | struct __gconv_trans_data *__trans; | |
420 | }; | |
421 | ||
422 | ||
423 | ||
424 | typedef struct __gconv_info | |
425 | { | |
426 | size_t __nsteps; | |
427 | struct __gconv_step *__steps; | |
428 | __extension__ struct __gconv_step_data __data []; | |
429 | } *__gconv_t; | |
430 | # 5 "/usr/include/gconv.h" 2 3 4 | |
431 | # 45 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4 | |
432 | typedef union | |
433 | { | |
434 | struct __gconv_info __cd; | |
435 | struct | |
436 | { | |
437 | struct __gconv_info __cd; | |
438 | struct __gconv_step_data __data; | |
439 | } __combined; | |
440 | } _G_iconv_t; | |
441 | ||
442 | typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); | |
443 | typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); | |
444 | typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); | |
445 | typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); | |
446 | # 5 "/usr/include/_G_config.h" 2 3 4 | |
447 | # 33 "/usr/include/gentoo-multilib/x86/libio.h" 2 3 4 | |
448 | # 166 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
449 | struct _IO_jump_t; struct _IO_FILE; | |
450 | # 176 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
451 | typedef void _IO_lock_t; | |
452 | ||
453 | ||
454 | ||
455 | ||
456 | ||
457 | struct _IO_marker { | |
458 | struct _IO_marker *_next; | |
459 | struct _IO_FILE *_sbuf; | |
460 | ||
461 | ||
462 | ||
463 | int _pos; | |
464 | # 199 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
465 | }; | |
466 | ||
467 | ||
468 | enum __codecvt_result | |
469 | { | |
470 | __codecvt_ok, | |
471 | __codecvt_partial, | |
472 | __codecvt_error, | |
473 | __codecvt_noconv | |
474 | }; | |
475 | # 267 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
476 | struct _IO_FILE { | |
477 | int _flags; | |
478 | ||
479 | ||
480 | ||
481 | ||
482 | char* _IO_read_ptr; | |
483 | char* _IO_read_end; | |
484 | char* _IO_read_base; | |
485 | char* _IO_write_base; | |
486 | char* _IO_write_ptr; | |
487 | char* _IO_write_end; | |
488 | char* _IO_buf_base; | |
489 | char* _IO_buf_end; | |
490 | ||
491 | char *_IO_save_base; | |
492 | char *_IO_backup_base; | |
493 | char *_IO_save_end; | |
494 | ||
495 | struct _IO_marker *_markers; | |
496 | ||
497 | struct _IO_FILE *_chain; | |
498 | ||
499 | int _fileno; | |
500 | ||
501 | ||
502 | ||
503 | int _flags2; | |
504 | ||
505 | __off_t _old_offset; | |
506 | ||
507 | ||
508 | ||
509 | unsigned short _cur_column; | |
510 | signed char _vtable_offset; | |
511 | char _shortbuf[1]; | |
512 | ||
513 | ||
514 | ||
515 | _IO_lock_t *_lock; | |
516 | # 315 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
517 | __off64_t _offset; | |
518 | ||
519 | ||
520 | ||
521 | ||
522 | ||
523 | void *__pad1; | |
524 | void *__pad2; | |
525 | ||
526 | int _mode; | |
527 | ||
528 | char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; | |
529 | ||
530 | }; | |
531 | ||
532 | ||
533 | typedef struct _IO_FILE _IO_FILE; | |
534 | ||
535 | ||
536 | struct _IO_FILE_plus; | |
537 | ||
538 | extern struct _IO_FILE_plus _IO_2_1_stdin_; | |
539 | extern struct _IO_FILE_plus _IO_2_1_stdout_; | |
540 | extern struct _IO_FILE_plus _IO_2_1_stderr_; | |
541 | # 354 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
542 | typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); | |
543 | ||
544 | ||
545 | ||
546 | ||
547 | ||
548 | ||
549 | ||
550 | typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, | |
551 | size_t __n); | |
552 | ||
553 | ||
554 | ||
555 | ||
556 | ||
557 | ||
558 | ||
559 | typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); | |
560 | ||
561 | ||
562 | typedef int __io_close_fn (void *__cookie); | |
563 | # 406 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
564 | extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__)); | |
565 | extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__)); | |
566 | extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__)); | |
567 | extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__)); | |
568 | extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__)); | |
569 | extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__)); | |
570 | # 444 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
571 | extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__)); | |
572 | extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__)); | |
573 | extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); | |
574 | extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); | |
575 | ||
576 | extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__)); | |
577 | ||
578 | ||
579 | ||
580 | ||
581 | ||
582 | extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); | |
583 | extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); | |
584 | extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); | |
585 | # 474 "/usr/include/gentoo-multilib/x86/libio.h" 3 4 | |
586 | extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, | |
587 | __gnuc_va_list, int *__restrict) __attribute__ ((__nothrow__)); | |
588 | extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, | |
589 | __gnuc_va_list) __attribute__ ((__nothrow__)); | |
590 | extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__)); | |
591 | extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__)); | |
592 | ||
593 | extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__)); | |
594 | extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__)); | |
595 | ||
596 | extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); | |
597 | # 5 "/usr/include/libio.h" 2 3 4 | |
598 | # 73 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4 | |
599 | # 86 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
600 | ||
601 | ||
602 | typedef _G_fpos_t fpos_t; | |
603 | ||
604 | ||
605 | ||
606 | ||
607 | # 138 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
608 | # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 | |
609 | ||
610 | ||
611 | ||
612 | # 1 "/usr/include/gentoo-multilib/x86/bits/stdio_lim.h" 1 3 4 | |
613 | # 5 "/usr/include/bits/stdio_lim.h" 2 3 4 | |
614 | # 139 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4 | |
615 | ||
616 | ||
617 | ||
618 | extern struct _IO_FILE *stdin; | |
619 | extern struct _IO_FILE *stdout; | |
620 | extern struct _IO_FILE *stderr; | |
621 | ||
622 | ||
623 | ||
624 | ||
625 | ||
626 | ||
627 | ||
628 | extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); | |
629 | ||
630 | extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); | |
631 | ||
632 | ||
633 | ||
634 | ||
635 | ||
636 | ||
637 | ||
638 | ||
639 | ||
640 | extern FILE *tmpfile (void); | |
641 | # 178 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
642 | extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)); | |
643 | ||
644 | ||
645 | ||
646 | ||
647 | ||
648 | extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)); | |
649 | # 196 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
650 | extern char *tempnam (__const char *__dir, __const char *__pfx) | |
651 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); | |
652 | ||
653 | ||
654 | ||
655 | ||
656 | ||
657 | ||
658 | ||
659 | ||
660 | extern int fclose (FILE *__stream); | |
661 | ||
662 | ||
663 | ||
664 | ||
665 | extern int fflush (FILE *__stream); | |
666 | ||
667 | # 221 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
668 | extern int fflush_unlocked (FILE *__stream); | |
669 | # 235 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
670 | ||
671 | ||
672 | ||
673 | ||
674 | ||
675 | ||
676 | extern FILE *fopen (__const char *__restrict __filename, | |
677 | __const char *__restrict __modes); | |
678 | ||
679 | ||
680 | ||
681 | ||
682 | extern FILE *freopen (__const char *__restrict __filename, | |
683 | __const char *__restrict __modes, | |
684 | FILE *__restrict __stream); | |
685 | # 262 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
686 | ||
687 | # 273 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
688 | extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)); | |
689 | # 294 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
690 | ||
691 | ||
692 | ||
693 | extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); | |
694 | ||
695 | ||
696 | ||
697 | extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, | |
698 | int __modes, size_t __n) __attribute__ ((__nothrow__)); | |
699 | ||
700 | ||
701 | ||
702 | ||
703 | ||
704 | extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, | |
705 | size_t __size) __attribute__ ((__nothrow__)); | |
706 | ||
707 | ||
708 | extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); | |
709 | ||
710 | ||
711 | ||
712 | ||
713 | ||
714 | ||
715 | ||
716 | ||
717 | extern int fprintf (FILE *__restrict __stream, | |
718 | __const char *__restrict __format, ...); | |
719 | ||
720 | ||
721 | ||
722 | ||
723 | extern int printf (__const char *__restrict __format, ...); | |
724 | ||
725 | extern int sprintf (char *__restrict __s, | |
726 | __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); | |
727 | ||
728 | ||
729 | ||
730 | ||
731 | ||
732 | extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, | |
733 | __gnuc_va_list __arg); | |
734 | ||
735 | ||
736 | ||
737 | ||
738 | extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); | |
739 | ||
740 | extern int vsprintf (char *__restrict __s, __const char *__restrict __format, | |
741 | __gnuc_va_list __arg) __attribute__ ((__nothrow__)); | |
742 | ||
743 | ||
744 | ||
745 | ||
746 | ||
747 | extern int snprintf (char *__restrict __s, size_t __maxlen, | |
748 | __const char *__restrict __format, ...) | |
749 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); | |
750 | ||
751 | extern int vsnprintf (char *__restrict __s, size_t __maxlen, | |
752 | __const char *__restrict __format, __gnuc_va_list __arg) | |
753 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); | |
754 | ||
755 | # 388 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
756 | ||
757 | ||
758 | ||
759 | ||
760 | ||
761 | extern int fscanf (FILE *__restrict __stream, | |
762 | __const char *__restrict __format, ...); | |
763 | ||
764 | ||
765 | ||
766 | ||
767 | extern int scanf (__const char *__restrict __format, ...); | |
768 | ||
769 | extern int sscanf (__const char *__restrict __s, | |
770 | __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); | |
771 | ||
772 | # 430 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
773 | ||
774 | ||
775 | ||
776 | ||
777 | ||
778 | extern int fgetc (FILE *__stream); | |
779 | extern int getc (FILE *__stream); | |
780 | ||
781 | ||
782 | ||
783 | ||
784 | ||
785 | extern int getchar (void); | |
786 | ||
787 | # 454 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
788 | extern int getc_unlocked (FILE *__stream); | |
789 | extern int getchar_unlocked (void); | |
790 | # 465 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
791 | extern int fgetc_unlocked (FILE *__stream); | |
792 | ||
793 | ||
794 | ||
795 | ||
796 | ||
797 | ||
798 | ||
799 | ||
800 | ||
801 | ||
802 | ||
803 | extern int fputc (int __c, FILE *__stream); | |
804 | extern int putc (int __c, FILE *__stream); | |
805 | ||
806 | ||
807 | ||
808 | ||
809 | ||
810 | extern int putchar (int __c); | |
811 | ||
812 | # 498 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
813 | extern int fputc_unlocked (int __c, FILE *__stream); | |
814 | ||
815 | ||
816 | ||
817 | ||
818 | ||
819 | ||
820 | ||
821 | extern int putc_unlocked (int __c, FILE *__stream); | |
822 | extern int putchar_unlocked (int __c); | |
823 | ||
824 | ||
825 | ||
826 | ||
827 | ||
828 | ||
829 | extern int getw (FILE *__stream); | |
830 | ||
831 | ||
832 | extern int putw (int __w, FILE *__stream); | |
833 | ||
834 | ||
835 | ||
836 | ||
837 | ||
838 | ||
839 | ||
840 | ||
841 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); | |
842 | ||
843 | ||
844 | ||
845 | ||
846 | ||
847 | ||
848 | extern char *gets (char *__s); | |
849 | ||
850 | # 578 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
851 | ||
852 | ||
853 | ||
854 | ||
855 | ||
856 | extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); | |
857 | ||
858 | ||
859 | ||
860 | ||
861 | ||
862 | extern int puts (__const char *__s); | |
863 | ||
864 | ||
865 | ||
866 | ||
867 | ||
868 | ||
869 | extern int ungetc (int __c, FILE *__stream); | |
870 | ||
871 | ||
872 | ||
873 | ||
874 | ||
875 | ||
876 | extern size_t fread (void *__restrict __ptr, size_t __size, | |
877 | size_t __n, FILE *__restrict __stream); | |
878 | ||
879 | ||
880 | ||
881 | ||
882 | extern size_t fwrite (__const void *__restrict __ptr, size_t __size, | |
883 | size_t __n, FILE *__restrict __s); | |
884 | ||
885 | # 631 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
886 | extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, | |
887 | size_t __n, FILE *__restrict __stream); | |
888 | extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, | |
889 | size_t __n, FILE *__restrict __stream); | |
890 | ||
891 | ||
892 | ||
893 | ||
894 | ||
895 | ||
896 | ||
897 | ||
898 | extern int fseek (FILE *__stream, long int __off, int __whence); | |
899 | ||
900 | ||
901 | ||
902 | ||
903 | extern long int ftell (FILE *__stream); | |
904 | ||
905 | ||
906 | ||
907 | ||
908 | extern void rewind (FILE *__stream); | |
909 | ||
910 | # 686 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
911 | ||
912 | ||
913 | ||
914 | ||
915 | ||
916 | ||
917 | extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); | |
918 | ||
919 | ||
920 | ||
921 | ||
922 | extern int fsetpos (FILE *__stream, __const fpos_t *__pos); | |
923 | # 709 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
924 | ||
925 | # 718 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
926 | ||
927 | ||
928 | extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); | |
929 | ||
930 | extern int feof (FILE *__stream) __attribute__ ((__nothrow__)); | |
931 | ||
932 | extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)); | |
933 | ||
934 | ||
935 | ||
936 | ||
937 | extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); | |
938 | extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); | |
939 | extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); | |
940 | ||
941 | ||
942 | ||
943 | ||
944 | ||
945 | ||
946 | ||
947 | ||
948 | extern void perror (__const char *__s); | |
949 | ||
950 | ||
951 | ||
952 | ||
953 | ||
954 | ||
955 | # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 | |
956 | ||
957 | ||
958 | ||
959 | # 1 "/usr/include/gentoo-multilib/x86/bits/sys_errlist.h" 1 3 4 | |
960 | # 27 "/usr/include/gentoo-multilib/x86/bits/sys_errlist.h" 3 4 | |
961 | extern int sys_nerr; | |
962 | extern __const char *__const sys_errlist[]; | |
963 | # 5 "/usr/include/bits/sys_errlist.h" 2 3 4 | |
964 | # 748 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4 | |
965 | ||
966 | ||
967 | ||
968 | ||
969 | extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)); | |
970 | ||
971 | ||
972 | ||
973 | ||
974 | extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); | |
975 | # 767 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
976 | extern FILE *popen (__const char *__command, __const char *__modes); | |
977 | ||
978 | ||
979 | ||
980 | ||
981 | ||
982 | extern int pclose (FILE *__stream); | |
983 | ||
984 | ||
985 | ||
986 | ||
987 | ||
988 | extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); | |
989 | # 807 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
990 | extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); | |
991 | ||
992 | ||
993 | ||
994 | extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)); | |
995 | ||
996 | ||
997 | extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); | |
998 | # 828 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4 | |
999 | # 1 "/usr/include/bits/stdio.h" 1 3 4 | |
1000 | ||
1001 | ||
1002 | ||
1003 | # 1 "/usr/include/gentoo-multilib/x86/bits/stdio.h" 1 3 4 | |
1004 | # 33 "/usr/include/gentoo-multilib/x86/bits/stdio.h" 3 4 | |
1005 | extern __inline int | |
1006 | vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) | |
1007 | { | |
1008 | return vfprintf (stdout, __fmt, __arg); | |
1009 | } | |
1010 | ||
1011 | ||
1012 | extern __inline int | |
1013 | getchar (void) | |
1014 | { | |
1015 | return _IO_getc (stdin); | |
1016 | } | |
1017 | ||
1018 | ||
1019 | ||
1020 | ||
1021 | extern __inline int | |
1022 | getc_unlocked (FILE *__fp) | |
1023 | { | |
1024 | return (__builtin_expect ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end, 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); | |
1025 | } | |
1026 | ||
1027 | ||
1028 | extern __inline int | |
1029 | getchar_unlocked (void) | |
1030 | { | |
1031 | return (__builtin_expect ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end, 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); | |
1032 | } | |
1033 | ||
1034 | ||
1035 | ||
1036 | ||
1037 | extern __inline int | |
1038 | putchar (int __c) | |
1039 | { | |
1040 | return _IO_putc (__c, stdout); | |
1041 | } | |
1042 | ||
1043 | ||
1044 | ||
1045 | ||
1046 | extern __inline int | |
1047 | fputc_unlocked (int __c, FILE *__stream) | |
1048 | { | |
1049 | return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); | |
1050 | } | |
1051 | ||
1052 | ||
1053 | ||
1054 | ||
1055 | ||
1056 | extern __inline int | |
1057 | putc_unlocked (int __c, FILE *__stream) | |
1058 | { | |
1059 | return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); | |
1060 | } | |
1061 | ||
1062 | ||
1063 | extern __inline int | |
1064 | putchar_unlocked (int __c) | |
1065 | { | |
1066 | return (__builtin_expect ((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end, 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); | |
1067 | } | |
1068 | # 111 "/usr/include/gentoo-multilib/x86/bits/stdio.h" 3 4 | |
1069 | extern __inline int | |
1070 | __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) | |
1071 | { | |
1072 | return (((__stream)->_flags & 0x10) != 0); | |
1073 | } | |
1074 | ||
1075 | ||
1076 | extern __inline int | |
1077 | __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) | |
1078 | { | |
1079 | return (((__stream)->_flags & 0x20) != 0); | |
1080 | } | |
1081 | # 5 "/usr/include/bits/stdio.h" 2 3 4 | |
1082 | # 829 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4 | |
1083 | ||
1084 | ||
1085 | ||
1086 | ||
1087 | ||
1088 | ||
1089 | # 5 "/usr/include/stdio.h" 2 3 4 | |
1090 | # 24 "vartest.c" 2 | |
1091 | # 1 "/usr/include/math.h" 1 3 4 | |
1092 | ||
1093 | ||
1094 | ||
1095 | # 1 "/usr/include/gentoo-multilib/x86/math.h" 1 3 4 | |
1096 | # 27 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1097 | # 1 "/usr/include/features.h" 1 3 4 | |
1098 | # 28 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4 | |
1099 | ||
1100 | ||
1101 | ||
1102 | ||
1103 | ||
1104 | # 1 "/usr/include/bits/huge_val.h" 1 3 4 | |
1105 | ||
1106 | ||
1107 | ||
1108 | # 1 "/usr/include/gentoo-multilib/x86/bits/huge_val.h" 1 3 4 | |
1109 | # 5 "/usr/include/bits/huge_val.h" 2 3 4 | |
1110 | # 34 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4 | |
1111 | # 46 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1112 | # 1 "/usr/include/bits/mathdef.h" 1 3 4 | |
1113 | ||
1114 | ||
1115 | ||
1116 | # 1 "/usr/include/gentoo-multilib/x86/bits/mathdef.h" 1 3 4 | |
1117 | # 5 "/usr/include/bits/mathdef.h" 2 3 4 | |
1118 | # 47 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4 | |
1119 | # 70 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1120 | # 1 "/usr/include/bits/mathcalls.h" 1 3 4 | |
1121 | ||
1122 | ||
1123 | ||
1124 | # 1 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 1 3 4 | |
1125 | # 53 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1126 | ||
1127 | ||
1128 | extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); | |
1129 | ||
1130 | extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); | |
1131 | ||
1132 | extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); | |
1133 | ||
1134 | extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); | |
1135 | ||
1136 | ||
1137 | extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); | |
1138 | ||
1139 | extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); | |
1140 | ||
1141 | extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); | |
1142 | ||
1143 | ||
1144 | ||
1145 | ||
1146 | extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); | |
1147 | ||
1148 | extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); | |
1149 | ||
1150 | extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); | |
1151 | ||
1152 | # 87 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1153 | ||
1154 | ||
1155 | extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); | |
1156 | ||
1157 | extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); | |
1158 | ||
1159 | extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); | |
1160 | ||
1161 | ||
1162 | ||
1163 | ||
1164 | ||
1165 | ||
1166 | ||
1167 | extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); | |
1168 | ||
1169 | ||
1170 | extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); | |
1171 | ||
1172 | ||
1173 | extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); | |
1174 | ||
1175 | ||
1176 | extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); | |
1177 | ||
1178 | ||
1179 | extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); | |
1180 | ||
1181 | ||
1182 | extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); | |
1183 | ||
1184 | # 127 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1185 | ||
1186 | ||
1187 | extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); | |
1188 | ||
1189 | ||
1190 | extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); | |
1191 | ||
1192 | ||
1193 | extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); | |
1194 | ||
1195 | # 152 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1196 | ||
1197 | ||
1198 | extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); | |
1199 | ||
1200 | ||
1201 | extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); | |
1202 | ||
1203 | ||
1204 | ||
1205 | ||
1206 | ||
1207 | extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); | |
1208 | ||
1209 | ||
1210 | ||
1211 | ||
1212 | ||
1213 | ||
1214 | extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); | |
1215 | ||
1216 | ||
1217 | ||
1218 | ||
1219 | ||
1220 | ||
1221 | ||
1222 | ||
1223 | extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1224 | ||
1225 | ||
1226 | extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1227 | ||
1228 | ||
1229 | extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1230 | ||
1231 | ||
1232 | extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); | |
1233 | ||
1234 | ||
1235 | ||
1236 | ||
1237 | extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1238 | ||
1239 | ||
1240 | extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1241 | ||
1242 | ||
1243 | ||
1244 | ||
1245 | ||
1246 | extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1247 | ||
1248 | ||
1249 | extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1250 | ||
1251 | ||
1252 | extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); | |
1253 | ||
1254 | ||
1255 | ||
1256 | extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); | |
1257 | ||
1258 | ||
1259 | ||
1260 | ||
1261 | ||
1262 | extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1263 | ||
1264 | # 231 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1265 | extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1266 | ||
1267 | ||
1268 | ||
1269 | extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1270 | ||
1271 | ||
1272 | extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); | |
1273 | extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); | |
1274 | extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); | |
1275 | extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); | |
1276 | extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); | |
1277 | extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); | |
1278 | ||
1279 | ||
1280 | ||
1281 | ||
1282 | ||
1283 | ||
1284 | extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); | |
1285 | extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); | |
1286 | extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); | |
1287 | ||
1288 | # 265 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1289 | extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); | |
1290 | ||
1291 | ||
1292 | ||
1293 | ||
1294 | ||
1295 | ||
1296 | extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); | |
1297 | ||
1298 | ||
1299 | ||
1300 | ||
1301 | ||
1302 | ||
1303 | ||
1304 | extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); | |
1305 | ||
1306 | ||
1307 | extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1308 | ||
1309 | ||
1310 | ||
1311 | ||
1312 | ||
1313 | extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); | |
1314 | ||
1315 | ||
1316 | ||
1317 | extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); | |
1318 | ||
1319 | ||
1320 | ||
1321 | extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); | |
1322 | # 5 "/usr/include/bits/mathcalls.h" 2 3 4 | |
1323 | # 71 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4 | |
1324 | # 93 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1325 | # 1 "/usr/include/bits/mathcalls.h" 1 3 4 | |
1326 | ||
1327 | ||
1328 | ||
1329 | # 1 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 1 3 4 | |
1330 | # 53 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1331 | ||
1332 | ||
1333 | extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); | |
1334 | ||
1335 | extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); | |
1336 | ||
1337 | extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); | |
1338 | ||
1339 | extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); | |
1340 | ||
1341 | ||
1342 | extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); | |
1343 | ||
1344 | extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); | |
1345 | ||
1346 | extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); | |
1347 | ||
1348 | ||
1349 | ||
1350 | ||
1351 | extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); | |
1352 | ||
1353 | extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); | |
1354 | ||
1355 | extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); | |
1356 | ||
1357 | # 87 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1358 | ||
1359 | ||
1360 | extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); | |
1361 | ||
1362 | extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); | |
1363 | ||
1364 | extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); | |
1365 | ||
1366 | ||
1367 | ||
1368 | ||
1369 | ||
1370 | ||
1371 | ||
1372 | extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); | |
1373 | ||
1374 | ||
1375 | extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); | |
1376 | ||
1377 | ||
1378 | extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); | |
1379 | ||
1380 | ||
1381 | extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); | |
1382 | ||
1383 | ||
1384 | extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); | |
1385 | ||
1386 | ||
1387 | extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); | |
1388 | ||
1389 | # 127 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1390 | ||
1391 | ||
1392 | extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); | |
1393 | ||
1394 | ||
1395 | extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); | |
1396 | ||
1397 | ||
1398 | extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); | |
1399 | ||
1400 | # 152 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1401 | ||
1402 | ||
1403 | extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); | |
1404 | ||
1405 | ||
1406 | extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); | |
1407 | ||
1408 | ||
1409 | ||
1410 | ||
1411 | ||
1412 | extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); | |
1413 | ||
1414 | ||
1415 | ||
1416 | ||
1417 | ||
1418 | ||
1419 | extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); | |
1420 | ||
1421 | ||
1422 | ||
1423 | ||
1424 | ||
1425 | ||
1426 | ||
1427 | ||
1428 | extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1429 | ||
1430 | ||
1431 | extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1432 | ||
1433 | ||
1434 | extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1435 | ||
1436 | ||
1437 | extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); | |
1438 | ||
1439 | ||
1440 | ||
1441 | ||
1442 | extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1443 | ||
1444 | ||
1445 | extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1446 | ||
1447 | ||
1448 | ||
1449 | ||
1450 | ||
1451 | extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1452 | ||
1453 | ||
1454 | extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1455 | ||
1456 | ||
1457 | extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); | |
1458 | ||
1459 | ||
1460 | ||
1461 | extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); | |
1462 | ||
1463 | ||
1464 | ||
1465 | ||
1466 | ||
1467 | extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1468 | ||
1469 | # 231 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1470 | extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1471 | ||
1472 | ||
1473 | ||
1474 | extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1475 | ||
1476 | ||
1477 | extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); | |
1478 | extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); | |
1479 | extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); | |
1480 | extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); | |
1481 | extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); | |
1482 | extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); | |
1483 | ||
1484 | ||
1485 | ||
1486 | ||
1487 | ||
1488 | ||
1489 | extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); | |
1490 | extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); | |
1491 | extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); | |
1492 | ||
1493 | # 265 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1494 | extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); | |
1495 | ||
1496 | ||
1497 | ||
1498 | ||
1499 | ||
1500 | ||
1501 | extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); | |
1502 | ||
1503 | ||
1504 | ||
1505 | ||
1506 | ||
1507 | ||
1508 | ||
1509 | extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); | |
1510 | ||
1511 | ||
1512 | extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1513 | ||
1514 | ||
1515 | ||
1516 | ||
1517 | ||
1518 | extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); | |
1519 | ||
1520 | ||
1521 | ||
1522 | extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); | |
1523 | ||
1524 | ||
1525 | ||
1526 | extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); | |
1527 | # 5 "/usr/include/bits/mathcalls.h" 2 3 4 | |
1528 | # 94 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4 | |
1529 | # 114 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1530 | # 1 "/usr/include/bits/mathcalls.h" 1 3 4 | |
1531 | ||
1532 | ||
1533 | ||
1534 | # 1 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 1 3 4 | |
1535 | # 53 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1536 | ||
1537 | ||
1538 | extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__)); | |
1539 | ||
1540 | extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__)); | |
1541 | ||
1542 | extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__)); | |
1543 | ||
1544 | extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); | |
1545 | ||
1546 | ||
1547 | extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__)); | |
1548 | ||
1549 | extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__)); | |
1550 | ||
1551 | extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__)); | |
1552 | ||
1553 | ||
1554 | ||
1555 | ||
1556 | extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__)); | |
1557 | ||
1558 | extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__)); | |
1559 | ||
1560 | extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__)); | |
1561 | ||
1562 | # 87 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1563 | ||
1564 | ||
1565 | extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__)); | |
1566 | ||
1567 | extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__)); | |
1568 | ||
1569 | extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__)); | |
1570 | ||
1571 | ||
1572 | ||
1573 | ||
1574 | ||
1575 | ||
1576 | ||
1577 | extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__)); | |
1578 | ||
1579 | ||
1580 | extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); | |
1581 | ||
1582 | ||
1583 | extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); | |
1584 | ||
1585 | ||
1586 | extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__)); | |
1587 | ||
1588 | ||
1589 | extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__)); | |
1590 | ||
1591 | ||
1592 | extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); | |
1593 | ||
1594 | # 127 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1595 | ||
1596 | ||
1597 | extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__)); | |
1598 | ||
1599 | ||
1600 | extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__)); | |
1601 | ||
1602 | ||
1603 | extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__)); | |
1604 | ||
1605 | # 152 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1606 | ||
1607 | ||
1608 | extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1609 | ||
1610 | ||
1611 | extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__)); | |
1612 | ||
1613 | ||
1614 | ||
1615 | ||
1616 | ||
1617 | extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1618 | ||
1619 | ||
1620 | ||
1621 | ||
1622 | ||
1623 | ||
1624 | extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__)); | |
1625 | ||
1626 | ||
1627 | ||
1628 | ||
1629 | ||
1630 | ||
1631 | ||
1632 | ||
1633 | extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1634 | ||
1635 | ||
1636 | extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1637 | ||
1638 | ||
1639 | extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1640 | ||
1641 | ||
1642 | extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1643 | ||
1644 | ||
1645 | ||
1646 | ||
1647 | extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1648 | ||
1649 | ||
1650 | extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1651 | ||
1652 | ||
1653 | ||
1654 | ||
1655 | ||
1656 | extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1657 | ||
1658 | ||
1659 | extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1660 | ||
1661 | ||
1662 | extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1663 | ||
1664 | ||
1665 | ||
1666 | extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__)); | |
1667 | ||
1668 | ||
1669 | ||
1670 | ||
1671 | ||
1672 | extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1673 | ||
1674 | # 231 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1675 | extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1676 | ||
1677 | ||
1678 | ||
1679 | extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1680 | ||
1681 | ||
1682 | extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__)); | |
1683 | extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__)); | |
1684 | extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__)); | |
1685 | extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__)); | |
1686 | extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__)); | |
1687 | extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__)); | |
1688 | ||
1689 | ||
1690 | ||
1691 | ||
1692 | ||
1693 | ||
1694 | extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__)); | |
1695 | extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__)); | |
1696 | extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__)); | |
1697 | ||
1698 | # 265 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4 | |
1699 | extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__)); | |
1700 | ||
1701 | ||
1702 | ||
1703 | ||
1704 | ||
1705 | ||
1706 | extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); | |
1707 | ||
1708 | ||
1709 | ||
1710 | ||
1711 | ||
1712 | ||
1713 | ||
1714 | extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__)); | |
1715 | ||
1716 | ||
1717 | extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1718 | ||
1719 | ||
1720 | ||
1721 | ||
1722 | ||
1723 | extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); | |
1724 | ||
1725 | ||
1726 | ||
1727 | extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); | |
1728 | ||
1729 | ||
1730 | ||
1731 | extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__)); | |
1732 | # 5 "/usr/include/bits/mathcalls.h" 2 3 4 | |
1733 | # 115 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4 | |
1734 | # 130 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1735 | extern int signgam; | |
1736 | # 257 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1737 | typedef enum | |
1738 | { | |
1739 | _IEEE_ = -1, | |
1740 | _SVID_, | |
1741 | _XOPEN_, | |
1742 | _POSIX_, | |
1743 | _ISOC_ | |
1744 | } _LIB_VERSION_TYPE; | |
1745 | ||
1746 | ||
1747 | ||
1748 | ||
1749 | extern _LIB_VERSION_TYPE _LIB_VERSION; | |
1750 | # 282 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1751 | struct exception | |
1752 | ||
1753 | { | |
1754 | int type; | |
1755 | char *name; | |
1756 | double arg1; | |
1757 | double arg2; | |
1758 | double retval; | |
1759 | }; | |
1760 | ||
1761 | ||
1762 | ||
1763 | ||
1764 | extern int matherr (struct exception *__exc); | |
1765 | # 382 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1766 | # 1 "/usr/include/bits/mathinline.h" 1 3 4 | |
1767 | ||
1768 | ||
1769 | ||
1770 | # 1 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 1 3 4 | |
1771 | # 291 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4 | |
1772 | extern __inline double __sgn (double) __attribute__ ((__nothrow__)); extern __inline double __attribute__ ((__nothrow__)) __sgn (double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline float __sgnf (float) __attribute__ ((__nothrow__)); extern __inline float __attribute__ ((__nothrow__)) __sgnf (float __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline long double __sgnl (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgnl (long double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } | |
1773 | # 433 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4 | |
1774 | extern __inline long double __attribute__ ((__nothrow__)) __atan2l (long double __y, long double __x) { return __builtin_atan2l (__y, __x); } | |
1775 | # 473 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4 | |
1776 | extern __inline double __attribute__ ((__nothrow__)) fabs (double __x) { return __builtin_fabs (__x); } | |
1777 | ||
1778 | extern __inline float __attribute__ ((__nothrow__)) fabsf (float __x) { return __builtin_fabsf (__x); } | |
1779 | extern __inline long double __attribute__ ((__nothrow__)) fabsl (long double __x) { return __builtin_fabsl (__x); } | |
1780 | ||
1781 | extern __inline long double __attribute__ ((__nothrow__)) __fabsl (long double __x) { return __builtin_fabsl (__x); } | |
1782 | # 506 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4 | |
1783 | extern __inline long double __sgn1l (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgn1l (long double __x) { __extension__ union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; __n.__xi[1] = 0x80000000; __n.__xi[0] = 0; return __n.__xld; } | |
1784 | # 530 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4 | |
1785 | extern __inline double __attribute__ ((__nothrow__)) floor (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float __attribute__ ((__nothrow__)) floorf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) floorl (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } | |
1786 | # 541 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4 | |
1787 | extern __inline double __attribute__ ((__nothrow__)) ceil (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float __attribute__ ((__nothrow__)) ceilf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) ceill (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } | |
1788 | # 713 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4 | |
1789 | extern __inline int | |
1790 | __attribute__ ((__nothrow__)) __finite (double __x) | |
1791 | { | |
1792 | return (__extension__ | |
1793 | (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] | |
1794 | | 0x800fffffu) + 1) >> 31)); | |
1795 | } | |
1796 | # 5 "/usr/include/bits/mathinline.h" 2 3 4 | |
1797 | # 383 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4 | |
1798 | # 438 "/usr/include/gentoo-multilib/x86/math.h" 3 4 | |
1799 | ||
1800 | # 5 "/usr/include/math.h" 2 3 4 | |
1801 | # 25 "vartest.c" 2 | |
1802 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/float.h" 1 3 4 | |
1803 | # 26 "vartest.c" 2 | |
1804 | # 1 "/usr/include/time.h" 1 3 4 | |
1805 | ||
1806 | ||
1807 | ||
1808 | # 1 "/usr/include/gentoo-multilib/x86/time.h" 1 3 4 | |
1809 | # 28 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
1810 | # 1 "/usr/include/features.h" 1 3 4 | |
1811 | # 29 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4 | |
1812 | ||
1813 | ||
1814 | ||
1815 | ||
1816 | ||
1817 | ||
1818 | ||
1819 | ||
1820 | ||
1821 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
1822 | # 39 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4 | |
1823 | ||
1824 | ||
1825 | ||
1826 | # 1 "/usr/include/bits/time.h" 1 3 4 | |
1827 | ||
1828 | ||
1829 | ||
1830 | # 1 "/usr/include/gentoo-multilib/x86/bits/time.h" 1 3 4 | |
1831 | # 39 "/usr/include/gentoo-multilib/x86/bits/time.h" 3 4 | |
1832 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
1833 | # 40 "/usr/include/gentoo-multilib/x86/bits/time.h" 2 3 4 | |
1834 | extern long int __sysconf (int); | |
1835 | # 5 "/usr/include/bits/time.h" 2 3 4 | |
1836 | # 43 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4 | |
1837 | # 56 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
1838 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
1839 | # 57 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4 | |
1840 | ||
1841 | ||
1842 | ||
1843 | typedef __clock_t clock_t; | |
1844 | ||
1845 | ||
1846 | ||
1847 | # 72 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
1848 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
1849 | # 73 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4 | |
1850 | ||
1851 | ||
1852 | ||
1853 | typedef __time_t time_t; | |
1854 | ||
1855 | ||
1856 | ||
1857 | # 89 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
1858 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
1859 | # 90 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4 | |
1860 | ||
1861 | ||
1862 | typedef __clockid_t clockid_t; | |
1863 | # 101 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
1864 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
1865 | # 102 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4 | |
1866 | ||
1867 | ||
1868 | typedef __timer_t timer_t; | |
1869 | # 118 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
1870 | struct timespec | |
1871 | { | |
1872 | __time_t tv_sec; | |
1873 | long int tv_nsec; | |
1874 | }; | |
1875 | ||
1876 | ||
1877 | ||
1878 | ||
1879 | ||
1880 | ||
1881 | ||
1882 | ||
1883 | struct tm | |
1884 | { | |
1885 | int tm_sec; | |
1886 | int tm_min; | |
1887 | int tm_hour; | |
1888 | int tm_mday; | |
1889 | int tm_mon; | |
1890 | int tm_year; | |
1891 | int tm_wday; | |
1892 | int tm_yday; | |
1893 | int tm_isdst; | |
1894 | ||
1895 | ||
1896 | long int tm_gmtoff; | |
1897 | __const char *tm_zone; | |
1898 | ||
1899 | ||
1900 | ||
1901 | ||
1902 | }; | |
1903 | ||
1904 | ||
1905 | ||
1906 | ||
1907 | ||
1908 | ||
1909 | ||
1910 | ||
1911 | struct itimerspec | |
1912 | { | |
1913 | struct timespec it_interval; | |
1914 | struct timespec it_value; | |
1915 | }; | |
1916 | ||
1917 | ||
1918 | struct sigevent; | |
1919 | # 178 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
1920 | ||
1921 | ||
1922 | ||
1923 | extern clock_t clock (void) __attribute__ ((__nothrow__)); | |
1924 | ||
1925 | ||
1926 | extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); | |
1927 | ||
1928 | ||
1929 | extern double difftime (time_t __time1, time_t __time0) | |
1930 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
1931 | ||
1932 | ||
1933 | extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); | |
1934 | ||
1935 | ||
1936 | ||
1937 | ||
1938 | ||
1939 | extern size_t strftime (char *__restrict __s, size_t __maxsize, | |
1940 | __const char *__restrict __format, | |
1941 | __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); | |
1942 | ||
1943 | # 226 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
1944 | ||
1945 | ||
1946 | ||
1947 | extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); | |
1948 | ||
1949 | ||
1950 | ||
1951 | extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); | |
1952 | ||
1953 | ||
1954 | ||
1955 | ||
1956 | ||
1957 | extern struct tm *gmtime_r (__const time_t *__restrict __timer, | |
1958 | struct tm *__restrict __tp) __attribute__ ((__nothrow__)); | |
1959 | ||
1960 | ||
1961 | ||
1962 | extern struct tm *localtime_r (__const time_t *__restrict __timer, | |
1963 | struct tm *__restrict __tp) __attribute__ ((__nothrow__)); | |
1964 | ||
1965 | ||
1966 | ||
1967 | ||
1968 | ||
1969 | extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); | |
1970 | ||
1971 | ||
1972 | extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); | |
1973 | ||
1974 | ||
1975 | ||
1976 | ||
1977 | ||
1978 | ||
1979 | ||
1980 | extern char *asctime_r (__const struct tm *__restrict __tp, | |
1981 | char *__restrict __buf) __attribute__ ((__nothrow__)); | |
1982 | ||
1983 | ||
1984 | extern char *ctime_r (__const time_t *__restrict __timer, | |
1985 | char *__restrict __buf) __attribute__ ((__nothrow__)); | |
1986 | ||
1987 | ||
1988 | ||
1989 | ||
1990 | extern char *__tzname[2]; | |
1991 | extern int __daylight; | |
1992 | extern long int __timezone; | |
1993 | ||
1994 | ||
1995 | ||
1996 | ||
1997 | extern char *tzname[2]; | |
1998 | ||
1999 | ||
2000 | ||
2001 | extern void tzset (void) __attribute__ ((__nothrow__)); | |
2002 | ||
2003 | ||
2004 | ||
2005 | extern int daylight; | |
2006 | extern long int timezone; | |
2007 | ||
2008 | ||
2009 | ||
2010 | ||
2011 | ||
2012 | extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); | |
2013 | # 309 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
2014 | extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); | |
2015 | ||
2016 | ||
2017 | extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); | |
2018 | ||
2019 | ||
2020 | extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
2021 | # 324 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
2022 | extern int nanosleep (__const struct timespec *__requested_time, | |
2023 | struct timespec *__remaining); | |
2024 | ||
2025 | ||
2026 | ||
2027 | extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); | |
2028 | ||
2029 | ||
2030 | extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); | |
2031 | ||
2032 | ||
2033 | extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) | |
2034 | __attribute__ ((__nothrow__)); | |
2035 | # 353 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
2036 | extern int timer_create (clockid_t __clock_id, | |
2037 | struct sigevent *__restrict __evp, | |
2038 | timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); | |
2039 | ||
2040 | ||
2041 | extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); | |
2042 | ||
2043 | ||
2044 | extern int timer_settime (timer_t __timerid, int __flags, | |
2045 | __const struct itimerspec *__restrict __value, | |
2046 | struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); | |
2047 | ||
2048 | ||
2049 | extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) | |
2050 | __attribute__ ((__nothrow__)); | |
2051 | ||
2052 | ||
2053 | extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); | |
2054 | # 413 "/usr/include/gentoo-multilib/x86/time.h" 3 4 | |
2055 | ||
2056 | # 5 "/usr/include/time.h" 2 3 4 | |
2057 | # 27 "vartest.c" 2 | |
2058 | ||
2059 | # 1 "../../../include/windef.h" 1 | |
2060 | # 188 "../../../include/windef.h" | |
2061 | typedef void *LPVOID; | |
2062 | typedef const void *LPCVOID; | |
2063 | typedef int BOOL, *PBOOL, *LPBOOL; | |
2064 | typedef unsigned char BYTE, *PBYTE, *LPBYTE; | |
2065 | typedef unsigned char UCHAR, *PUCHAR; | |
2066 | typedef unsigned short WORD, *PWORD, *LPWORD; | |
2067 | typedef unsigned short USHORT, *PUSHORT; | |
2068 | typedef int INT, *PINT, *LPINT; | |
2069 | typedef unsigned int UINT, *PUINT; | |
2070 | typedef float FLOAT, *PFLOAT; | |
2071 | typedef char *PSZ; | |
2072 | ||
2073 | ||
2074 | ||
2075 | ||
2076 | ||
2077 | typedef long *LPLONG; | |
2078 | typedef unsigned long DWORD, *PDWORD, *LPDWORD; | |
2079 | typedef unsigned long ULONG, *PULONG; | |
2080 | # 234 "../../../include/windef.h" | |
2081 | # 1 "../../../include/winnt.h" 1 | |
2082 | # 24 "../../../include/winnt.h" | |
2083 | # 1 "../../../include/basetsd.h" 1 | |
2084 | # 81 "../../../include/basetsd.h" | |
2085 | typedef signed char INT8, *PINT8; | |
2086 | typedef signed short INT16, *PINT16; | |
2087 | typedef signed int INT32, *PINT32; | |
2088 | typedef unsigned char UINT8, *PUINT8; | |
2089 | typedef unsigned short UINT16, *PUINT16; | |
2090 | typedef unsigned int UINT32, *PUINT32; | |
2091 | typedef signed int LONG32, *PLONG32; | |
2092 | typedef unsigned int ULONG32, *PULONG32; | |
2093 | typedef unsigned int DWORD32, *PDWORD32; | |
2094 | # 98 "../../../include/basetsd.h" | |
2095 | typedef signed long long __attribute__((aligned(8))) INT64, *PINT64; | |
2096 | typedef unsigned long long __attribute__((aligned(8))) UINT64, *PUINT64; | |
2097 | typedef signed long long __attribute__((aligned(8))) LONG64, *PLONG64; | |
2098 | typedef unsigned long long __attribute__((aligned(8))) ULONG64, *PULONG64; | |
2099 | typedef unsigned long long __attribute__((aligned(8))) DWORD64, *PDWORD64; | |
2100 | # 128 "../../../include/basetsd.h" | |
2101 | typedef int INT_PTR, *PINT_PTR; | |
2102 | typedef long LONG_PTR, *PLONG_PTR; | |
2103 | typedef unsigned int UINT_PTR, *PUINT_PTR; | |
2104 | typedef unsigned long ULONG_PTR, *PULONG_PTR; | |
2105 | typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; | |
2106 | ||
2107 | ||
2108 | ||
2109 | ||
2110 | ||
2111 | typedef signed short HALF_PTR, *PHALF_PTR; | |
2112 | typedef unsigned short UHALF_PTR, *PUHALF_PTR; | |
2113 | ||
2114 | ||
2115 | ||
2116 | ||
2117 | ||
2118 | ||
2119 | ||
2120 | typedef LONG_PTR SSIZE_T, *PSSIZE_T; | |
2121 | typedef ULONG_PTR SIZE_T, *PSIZE_T; | |
2122 | ||
2123 | typedef ULONG_PTR KAFFINITY, *PKAFFINITY; | |
2124 | # 25 "../../../include/winnt.h" 2 | |
2125 | ||
2126 | ||
2127 | # 1 "/usr/include/ctype.h" 1 3 4 | |
2128 | ||
2129 | ||
2130 | ||
2131 | # 1 "/usr/include/gentoo-multilib/x86/ctype.h" 1 3 4 | |
2132 | # 27 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4 | |
2133 | # 1 "/usr/include/features.h" 1 3 4 | |
2134 | # 28 "/usr/include/gentoo-multilib/x86/ctype.h" 2 3 4 | |
2135 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
2136 | # 29 "/usr/include/gentoo-multilib/x86/ctype.h" 2 3 4 | |
2137 | ||
2138 | ||
2139 | # 41 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4 | |
2140 | # 1 "/usr/include/endian.h" 1 3 4 | |
2141 | ||
2142 | ||
2143 | ||
2144 | # 1 "/usr/include/gentoo-multilib/x86/endian.h" 1 3 4 | |
2145 | # 22 "/usr/include/gentoo-multilib/x86/endian.h" 3 4 | |
2146 | # 1 "/usr/include/features.h" 1 3 4 | |
2147 | # 23 "/usr/include/gentoo-multilib/x86/endian.h" 2 3 4 | |
2148 | # 37 "/usr/include/gentoo-multilib/x86/endian.h" 3 4 | |
2149 | # 1 "/usr/include/bits/endian.h" 1 3 4 | |
2150 | ||
2151 | ||
2152 | ||
2153 | # 1 "/usr/include/gentoo-multilib/x86/bits/endian.h" 1 3 4 | |
2154 | # 5 "/usr/include/bits/endian.h" 2 3 4 | |
2155 | # 38 "/usr/include/gentoo-multilib/x86/endian.h" 2 3 4 | |
2156 | # 5 "/usr/include/endian.h" 2 3 4 | |
2157 | # 42 "/usr/include/gentoo-multilib/x86/ctype.h" 2 3 4 | |
2158 | ||
2159 | ||
2160 | ||
2161 | ||
2162 | ||
2163 | ||
2164 | enum | |
2165 | { | |
2166 | _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), | |
2167 | _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), | |
2168 | _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), | |
2169 | _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), | |
2170 | _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), | |
2171 | _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), | |
2172 | _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), | |
2173 | _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), | |
2174 | _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), | |
2175 | _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), | |
2176 | _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), | |
2177 | _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) | |
2178 | }; | |
2179 | # 81 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4 | |
2180 | extern __const unsigned short int **__ctype_b_loc (void) | |
2181 | __attribute__ ((__const)); | |
2182 | extern __const __int32_t **__ctype_tolower_loc (void) | |
2183 | __attribute__ ((__const)); | |
2184 | extern __const __int32_t **__ctype_toupper_loc (void) | |
2185 | __attribute__ ((__const)); | |
2186 | # 96 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4 | |
2187 | ||
2188 | ||
2189 | ||
2190 | ||
2191 | ||
2192 | ||
2193 | extern int isalnum (int) __attribute__ ((__nothrow__)); | |
2194 | extern int isalpha (int) __attribute__ ((__nothrow__)); | |
2195 | extern int iscntrl (int) __attribute__ ((__nothrow__)); | |
2196 | extern int isdigit (int) __attribute__ ((__nothrow__)); | |
2197 | extern int islower (int) __attribute__ ((__nothrow__)); | |
2198 | extern int isgraph (int) __attribute__ ((__nothrow__)); | |
2199 | extern int isprint (int) __attribute__ ((__nothrow__)); | |
2200 | extern int ispunct (int) __attribute__ ((__nothrow__)); | |
2201 | extern int isspace (int) __attribute__ ((__nothrow__)); | |
2202 | extern int isupper (int) __attribute__ ((__nothrow__)); | |
2203 | extern int isxdigit (int) __attribute__ ((__nothrow__)); | |
2204 | ||
2205 | ||
2206 | ||
2207 | extern int tolower (int __c) __attribute__ ((__nothrow__)); | |
2208 | ||
2209 | ||
2210 | extern int toupper (int __c) __attribute__ ((__nothrow__)); | |
2211 | ||
2212 | ||
2213 | # 142 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4 | |
2214 | extern int isascii (int __c) __attribute__ ((__nothrow__)); | |
2215 | ||
2216 | ||
2217 | ||
2218 | extern int toascii (int __c) __attribute__ ((__nothrow__)); | |
2219 | ||
2220 | ||
2221 | ||
2222 | extern int _toupper (int) __attribute__ ((__nothrow__)); | |
2223 | extern int _tolower (int) __attribute__ ((__nothrow__)); | |
2224 | # 190 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4 | |
2225 | extern __inline int | |
2226 | __attribute__ ((__nothrow__)) tolower (int __c) | |
2227 | { | |
2228 | return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; | |
2229 | } | |
2230 | ||
2231 | extern __inline int | |
2232 | __attribute__ ((__nothrow__)) toupper (int __c) | |
2233 | { | |
2234 | return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; | |
2235 | } | |
2236 | # 323 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4 | |
2237 | ||
2238 | # 5 "/usr/include/ctype.h" 2 3 4 | |
2239 | # 28 "../../../include/winnt.h" 2 | |
2240 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
2241 | # 152 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4 | |
2242 | typedef int ptrdiff_t; | |
2243 | # 29 "../../../include/winnt.h" 2 | |
2244 | # 1 "/usr/include/string.h" 1 3 4 | |
2245 | ||
2246 | ||
2247 | ||
2248 | # 1 "/usr/include/gentoo-multilib/x86/string.h" 1 3 4 | |
2249 | # 26 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2250 | # 1 "/usr/include/features.h" 1 3 4 | |
2251 | # 27 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4 | |
2252 | ||
2253 | ||
2254 | ||
2255 | ||
2256 | ||
2257 | ||
2258 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
2259 | # 34 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4 | |
2260 | ||
2261 | ||
2262 | ||
2263 | ||
2264 | extern void *memcpy (void *__restrict __dest, | |
2265 | __const void *__restrict __src, size_t __n) | |
2266 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2267 | ||
2268 | ||
2269 | extern void *memmove (void *__dest, __const void *__src, size_t __n) | |
2270 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2271 | ||
2272 | ||
2273 | ||
2274 | ||
2275 | ||
2276 | ||
2277 | extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, | |
2278 | int __c, size_t __n) | |
2279 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2280 | ||
2281 | ||
2282 | ||
2283 | ||
2284 | ||
2285 | extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2286 | ||
2287 | ||
2288 | extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) | |
2289 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2290 | ||
2291 | ||
2292 | extern void *memchr (__const void *__s, int __c, size_t __n) | |
2293 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2294 | ||
2295 | # 82 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2296 | ||
2297 | ||
2298 | extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) | |
2299 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2300 | ||
2301 | extern char *strncpy (char *__restrict __dest, | |
2302 | __const char *__restrict __src, size_t __n) | |
2303 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2304 | ||
2305 | ||
2306 | extern char *strcat (char *__restrict __dest, __const char *__restrict __src) | |
2307 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2308 | ||
2309 | extern char *strncat (char *__restrict __dest, __const char *__restrict __src, | |
2310 | size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2311 | ||
2312 | ||
2313 | extern int strcmp (__const char *__s1, __const char *__s2) | |
2314 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2315 | ||
2316 | extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) | |
2317 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2318 | ||
2319 | ||
2320 | extern int strcoll (__const char *__s1, __const char *__s2) | |
2321 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2322 | ||
2323 | extern size_t strxfrm (char *__restrict __dest, | |
2324 | __const char *__restrict __src, size_t __n) | |
2325 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2326 | ||
2327 | # 130 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2328 | extern char *strdup (__const char *__s) | |
2329 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); | |
2330 | # 165 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2331 | ||
2332 | ||
2333 | extern char *strchr (__const char *__s, int __c) | |
2334 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2335 | ||
2336 | extern char *strrchr (__const char *__s, int __c) | |
2337 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2338 | ||
2339 | # 181 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2340 | ||
2341 | ||
2342 | ||
2343 | extern size_t strcspn (__const char *__s, __const char *__reject) | |
2344 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2345 | ||
2346 | ||
2347 | extern size_t strspn (__const char *__s, __const char *__accept) | |
2348 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2349 | ||
2350 | extern char *strpbrk (__const char *__s, __const char *__accept) | |
2351 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2352 | ||
2353 | extern char *strstr (__const char *__haystack, __const char *__needle) | |
2354 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2355 | ||
2356 | ||
2357 | ||
2358 | extern char *strtok (char *__restrict __s, __const char *__restrict __delim) | |
2359 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2360 | ||
2361 | ||
2362 | ||
2363 | ||
2364 | extern char *__strtok_r (char *__restrict __s, | |
2365 | __const char *__restrict __delim, | |
2366 | char **__restrict __save_ptr) | |
2367 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); | |
2368 | ||
2369 | extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, | |
2370 | char **__restrict __save_ptr) | |
2371 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); | |
2372 | # 240 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2373 | ||
2374 | ||
2375 | extern size_t strlen (__const char *__s) | |
2376 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2377 | ||
2378 | # 254 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2379 | ||
2380 | ||
2381 | extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); | |
2382 | ||
2383 | # 281 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2384 | extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) | |
2385 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2386 | ||
2387 | ||
2388 | ||
2389 | ||
2390 | ||
2391 | extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2392 | ||
2393 | ||
2394 | ||
2395 | extern void bcopy (__const void *__src, void *__dest, size_t __n) | |
2396 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2397 | ||
2398 | ||
2399 | extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2400 | ||
2401 | ||
2402 | extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) | |
2403 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2404 | ||
2405 | ||
2406 | extern char *index (__const char *__s, int __c) | |
2407 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2408 | ||
2409 | ||
2410 | extern char *rindex (__const char *__s, int __c) | |
2411 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2412 | ||
2413 | ||
2414 | ||
2415 | extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
2416 | # 325 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2417 | extern int strcasecmp (__const char *__s1, __const char *__s2) | |
2418 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2419 | ||
2420 | ||
2421 | extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) | |
2422 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2423 | # 348 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2424 | extern char *strsep (char **__restrict __stringp, | |
2425 | __const char *__restrict __delim) | |
2426 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2427 | # 414 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2428 | # 1 "/usr/include/bits/string.h" 1 3 4 | |
2429 | ||
2430 | ||
2431 | ||
2432 | # 1 "/usr/include/gentoo-multilib/x86/bits/string.h" 1 3 4 | |
2433 | # 5 "/usr/include/bits/string.h" 2 3 4 | |
2434 | # 415 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4 | |
2435 | ||
2436 | ||
2437 | # 1 "/usr/include/bits/string2.h" 1 3 4 | |
2438 | ||
2439 | ||
2440 | ||
2441 | # 1 "/usr/include/gentoo-multilib/x86/bits/string2.h" 1 3 4 | |
2442 | # 52 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2443 | # 1 "/usr/include/endian.h" 1 3 4 | |
2444 | # 53 "/usr/include/gentoo-multilib/x86/bits/string2.h" 2 3 4 | |
2445 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
2446 | # 54 "/usr/include/gentoo-multilib/x86/bits/string2.h" 2 3 4 | |
2447 | # 394 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2448 | extern void *__rawmemchr (const void *__s, int __c); | |
2449 | # 969 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2450 | extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); | |
2451 | extern __inline size_t | |
2452 | __strcspn_c1 (__const char *__s, int __reject) | |
2453 | { | |
2454 | register size_t __result = 0; | |
2455 | while (__s[__result] != '\0' && __s[__result] != __reject) | |
2456 | ++__result; | |
2457 | return __result; | |
2458 | } | |
2459 | ||
2460 | extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, | |
2461 | int __reject2); | |
2462 | extern __inline size_t | |
2463 | __strcspn_c2 (__const char *__s, int __reject1, int __reject2) | |
2464 | { | |
2465 | register size_t __result = 0; | |
2466 | while (__s[__result] != '\0' && __s[__result] != __reject1 | |
2467 | && __s[__result] != __reject2) | |
2468 | ++__result; | |
2469 | return __result; | |
2470 | } | |
2471 | ||
2472 | extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, | |
2473 | int __reject2, int __reject3); | |
2474 | extern __inline size_t | |
2475 | __strcspn_c3 (__const char *__s, int __reject1, int __reject2, | |
2476 | int __reject3) | |
2477 | { | |
2478 | register size_t __result = 0; | |
2479 | while (__s[__result] != '\0' && __s[__result] != __reject1 | |
2480 | && __s[__result] != __reject2 && __s[__result] != __reject3) | |
2481 | ++__result; | |
2482 | return __result; | |
2483 | } | |
2484 | # 1045 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2485 | extern __inline size_t __strspn_c1 (__const char *__s, int __accept); | |
2486 | extern __inline size_t | |
2487 | __strspn_c1 (__const char *__s, int __accept) | |
2488 | { | |
2489 | register size_t __result = 0; | |
2490 | ||
2491 | while (__s[__result] == __accept) | |
2492 | ++__result; | |
2493 | return __result; | |
2494 | } | |
2495 | ||
2496 | extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, | |
2497 | int __accept2); | |
2498 | extern __inline size_t | |
2499 | __strspn_c2 (__const char *__s, int __accept1, int __accept2) | |
2500 | { | |
2501 | register size_t __result = 0; | |
2502 | ||
2503 | while (__s[__result] == __accept1 || __s[__result] == __accept2) | |
2504 | ++__result; | |
2505 | return __result; | |
2506 | } | |
2507 | ||
2508 | extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, | |
2509 | int __accept2, int __accept3); | |
2510 | extern __inline size_t | |
2511 | __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) | |
2512 | { | |
2513 | register size_t __result = 0; | |
2514 | ||
2515 | while (__s[__result] == __accept1 || __s[__result] == __accept2 | |
2516 | || __s[__result] == __accept3) | |
2517 | ++__result; | |
2518 | return __result; | |
2519 | } | |
2520 | # 1121 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2521 | extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, | |
2522 | int __accept2); | |
2523 | extern __inline char * | |
2524 | __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) | |
2525 | { | |
2526 | ||
2527 | while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) | |
2528 | ++__s; | |
2529 | return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; | |
2530 | } | |
2531 | ||
2532 | extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, | |
2533 | int __accept2, int __accept3); | |
2534 | extern __inline char * | |
2535 | __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, | |
2536 | int __accept3) | |
2537 | { | |
2538 | ||
2539 | while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 | |
2540 | && *__s != __accept3) | |
2541 | ++__s; | |
2542 | return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; | |
2543 | } | |
2544 | # 1173 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2545 | extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); | |
2546 | extern __inline char * | |
2547 | __strtok_r_1c (char *__s, char __sep, char **__nextp) | |
2548 | { | |
2549 | char *__result; | |
2550 | if (__s == ((void *)0)) | |
2551 | __s = *__nextp; | |
2552 | while (*__s == __sep) | |
2553 | ++__s; | |
2554 | __result = ((void *)0); | |
2555 | if (*__s != '\0') | |
2556 | { | |
2557 | __result = __s++; | |
2558 | while (*__s != '\0') | |
2559 | if (*__s++ == __sep) | |
2560 | { | |
2561 | __s[-1] = '\0'; | |
2562 | break; | |
2563 | } | |
2564 | *__nextp = __s; | |
2565 | } | |
2566 | return __result; | |
2567 | } | |
2568 | # 1205 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2569 | extern char *__strsep_g (char **__stringp, __const char *__delim); | |
2570 | # 1223 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2571 | extern __inline char *__strsep_1c (char **__s, char __reject); | |
2572 | extern __inline char * | |
2573 | __strsep_1c (char **__s, char __reject) | |
2574 | { | |
2575 | register char *__retval = *__s; | |
2576 | if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) | |
2577 | *(*__s)++ = '\0'; | |
2578 | return __retval; | |
2579 | } | |
2580 | ||
2581 | extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); | |
2582 | extern __inline char * | |
2583 | __strsep_2c (char **__s, char __reject1, char __reject2) | |
2584 | { | |
2585 | register char *__retval = *__s; | |
2586 | if (__retval != ((void *)0)) | |
2587 | { | |
2588 | register char *__cp = __retval; | |
2589 | while (1) | |
2590 | { | |
2591 | if (*__cp == '\0') | |
2592 | { | |
2593 | __cp = ((void *)0); | |
2594 | break; | |
2595 | } | |
2596 | if (*__cp == __reject1 || *__cp == __reject2) | |
2597 | { | |
2598 | *__cp++ = '\0'; | |
2599 | break; | |
2600 | } | |
2601 | ++__cp; | |
2602 | } | |
2603 | *__s = __cp; | |
2604 | } | |
2605 | return __retval; | |
2606 | } | |
2607 | ||
2608 | extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, | |
2609 | char __reject3); | |
2610 | extern __inline char * | |
2611 | __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) | |
2612 | { | |
2613 | register char *__retval = *__s; | |
2614 | if (__retval != ((void *)0)) | |
2615 | { | |
2616 | register char *__cp = __retval; | |
2617 | while (1) | |
2618 | { | |
2619 | if (*__cp == '\0') | |
2620 | { | |
2621 | __cp = ((void *)0); | |
2622 | break; | |
2623 | } | |
2624 | if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) | |
2625 | { | |
2626 | *__cp++ = '\0'; | |
2627 | break; | |
2628 | } | |
2629 | ++__cp; | |
2630 | } | |
2631 | *__s = __cp; | |
2632 | } | |
2633 | return __retval; | |
2634 | } | |
2635 | # 1299 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2636 | # 1 "/usr/include/stdlib.h" 1 3 4 | |
2637 | ||
2638 | ||
2639 | ||
2640 | # 1 "/usr/include/gentoo-multilib/x86/stdlib.h" 1 3 4 | |
2641 | # 25 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
2642 | # 1 "/usr/include/features.h" 1 3 4 | |
2643 | # 26 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4 | |
2644 | ||
2645 | ||
2646 | ||
2647 | ||
2648 | ||
2649 | ||
2650 | ||
2651 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
2652 | # 34 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4 | |
2653 | ||
2654 | ||
2655 | # 582 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
2656 | ||
2657 | ||
2658 | extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); | |
2659 | ||
2660 | extern void *calloc (size_t __nmemb, size_t __size) | |
2661 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); | |
2662 | ||
2663 | # 961 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
2664 | ||
2665 | # 5 "/usr/include/stdlib.h" 2 3 4 | |
2666 | # 1300 "/usr/include/gentoo-multilib/x86/bits/string2.h" 2 3 4 | |
2667 | ||
2668 | ||
2669 | ||
2670 | ||
2671 | extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); | |
2672 | # 1323 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4 | |
2673 | extern char *__strndup (__const char *__string, size_t __n) | |
2674 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); | |
2675 | # 5 "/usr/include/bits/string2.h" 2 3 4 | |
2676 | # 418 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4 | |
2677 | # 426 "/usr/include/gentoo-multilib/x86/string.h" 3 4 | |
2678 | ||
2679 | # 5 "/usr/include/string.h" 2 3 4 | |
2680 | # 30 "../../../include/winnt.h" 2 | |
2681 | # 316 "../../../include/winnt.h" | |
2682 | typedef void *PVOID; | |
2683 | typedef void *PVOID64; | |
2684 | typedef BYTE BOOLEAN, *PBOOLEAN; | |
2685 | typedef char CHAR, *PCHAR; | |
2686 | typedef short SHORT, *PSHORT; | |
2687 | ||
2688 | ||
2689 | ||
2690 | typedef long LONG, *PLONG; | |
2691 | ||
2692 | ||
2693 | ||
2694 | ||
2695 | ||
2696 | ||
2697 | typedef unsigned short WCHAR, *PWCHAR; | |
2698 | # 341 "../../../include/winnt.h" | |
2699 | typedef signed long long __attribute__((aligned(8))) LONGLONG, *PLONGLONG; | |
2700 | typedef unsigned long long __attribute__((aligned(8))) ULONGLONG, *PULONGLONG; | |
2701 | # 351 "../../../include/winnt.h" | |
2702 | typedef ULONGLONG __attribute__((aligned(8))) DWORDLONG, *PDWORDLONG; | |
2703 | ||
2704 | ||
2705 | ||
2706 | ||
2707 | typedef CHAR *PCH, *LPCH; | |
2708 | typedef const CHAR *PCCH, *LPCCH; | |
2709 | typedef CHAR *PSTR, *LPSTR, *NPSTR; | |
2710 | typedef const CHAR *PCSTR, *LPCSTR; | |
2711 | ||
2712 | ||
2713 | typedef WCHAR *PWCH, *LPWCH; | |
2714 | typedef const WCHAR *PCWCH, *LPCWCH; | |
2715 | typedef WCHAR *PWSTR, *LPWSTR, *NWPSTR; | |
2716 | typedef const WCHAR *PCWSTR, *LPCWSTR; | |
2717 | # 383 "../../../include/winnt.h" | |
2718 | typedef CHAR TCHAR, *PTCHAR; | |
2719 | ||
2720 | ||
2721 | typedef LPSTR PTSTR, LPTSTR; | |
2722 | typedef LPCSTR PCTSTR, LPCTSTR; | |
2723 | ||
2724 | ||
2725 | ||
2726 | ||
2727 | ||
2728 | ||
2729 | typedef char CCHAR; | |
2730 | typedef LONG HRESULT; | |
2731 | typedef DWORD LCID, *PLCID; | |
2732 | typedef WORD LANGID; | |
2733 | typedef DWORD EXECUTION_STATE; | |
2734 | ||
2735 | ||
2736 | ||
2737 | typedef void *HANDLE; | |
2738 | typedef HANDLE *PHANDLE, *LPHANDLE; | |
2739 | ||
2740 | ||
2741 | ||
2742 | ||
2743 | ||
2744 | ||
2745 | ||
2746 | typedef BYTE FCHAR; | |
2747 | typedef WORD FSHORT; | |
2748 | typedef DWORD FLONG; | |
2749 | # 517 "../../../include/winnt.h" | |
2750 | typedef struct _MEMORY_BASIC_INFORMATION | |
2751 | { | |
2752 | LPVOID BaseAddress; | |
2753 | LPVOID AllocationBase; | |
2754 | DWORD AllocationProtect; | |
2755 | SIZE_T RegionSize; | |
2756 | DWORD State; | |
2757 | DWORD Protect; | |
2758 | DWORD Type; | |
2759 | } MEMORY_BASIC_INFORMATION, *PMEMORY_BASIC_INFORMATION; | |
2760 | # 579 "../../../include/winnt.h" | |
2761 | typedef struct _LIST_ENTRY { | |
2762 | struct _LIST_ENTRY *Flink; | |
2763 | struct _LIST_ENTRY *Blink; | |
2764 | } LIST_ENTRY, *PLIST_ENTRY, * PRLIST_ENTRY; | |
2765 | ||
2766 | typedef struct _SINGLE_LIST_ENTRY { | |
2767 | struct _SINGLE_LIST_ENTRY *Next; | |
2768 | } SINGLE_LIST_ENTRY, *PSINGLE_LIST_ENTRY; | |
2769 | # 639 "../../../include/winnt.h" | |
2770 | typedef struct _FLOATING_SAVE_AREA | |
2771 | { | |
2772 | DWORD ControlWord; | |
2773 | DWORD StatusWord; | |
2774 | DWORD TagWord; | |
2775 | DWORD ErrorOffset; | |
2776 | DWORD ErrorSelector; | |
2777 | DWORD DataOffset; | |
2778 | DWORD DataSelector; | |
2779 | BYTE RegisterArea[80]; | |
2780 | DWORD Cr0NpxState; | |
2781 | } FLOATING_SAVE_AREA, *PFLOATING_SAVE_AREA; | |
2782 | ||
2783 | ||
2784 | ||
2785 | typedef struct _CONTEXT86 | |
2786 | { | |
2787 | DWORD ContextFlags; | |
2788 | ||
2789 | ||
2790 | DWORD Dr0; | |
2791 | DWORD Dr1; | |
2792 | DWORD Dr2; | |
2793 | DWORD Dr3; | |
2794 | DWORD Dr6; | |
2795 | DWORD Dr7; | |
2796 | ||
2797 | ||
2798 | FLOATING_SAVE_AREA FloatSave; | |
2799 | ||
2800 | ||
2801 | DWORD SegGs; | |
2802 | DWORD SegFs; | |
2803 | DWORD SegEs; | |
2804 | DWORD SegDs; | |
2805 | ||
2806 | ||
2807 | DWORD Edi; | |
2808 | DWORD Esi; | |
2809 | DWORD Ebx; | |
2810 | DWORD Edx; | |
2811 | DWORD Ecx; | |
2812 | DWORD Eax; | |
2813 | ||
2814 | ||
2815 | DWORD Ebp; | |
2816 | DWORD Eip; | |
2817 | DWORD SegCs; | |
2818 | DWORD EFlags; | |
2819 | DWORD Esp; | |
2820 | DWORD SegSs; | |
2821 | ||
2822 | BYTE ExtendedRegisters[512]; | |
2823 | } CONTEXT86; | |
2824 | # 715 "../../../include/winnt.h" | |
2825 | typedef CONTEXT86 CONTEXT; | |
2826 | ||
2827 | ||
2828 | ||
2829 | typedef struct _LDT_ENTRY { | |
2830 | WORD LimitLow; | |
2831 | WORD BaseLow; | |
2832 | union { | |
2833 | struct { | |
2834 | BYTE BaseMid; | |
2835 | BYTE Flags1; | |
2836 | BYTE Flags2; | |
2837 | BYTE BaseHi; | |
2838 | } Bytes; | |
2839 | struct { | |
2840 | unsigned BaseMid: 8; | |
2841 | unsigned Type : 5; | |
2842 | unsigned Dpl : 2; | |
2843 | unsigned Pres : 1; | |
2844 | unsigned LimitHi : 4; | |
2845 | unsigned Sys : 1; | |
2846 | unsigned Reserved_0 : 1; | |
2847 | unsigned Default_Big : 1; | |
2848 | unsigned Granularity : 1; | |
2849 | unsigned BaseHi : 8; | |
2850 | } Bits; | |
2851 | } HighWord; | |
2852 | } LDT_ENTRY, *PLDT_ENTRY; | |
2853 | # 1326 "../../../include/winnt.h" | |
2854 | typedef CONTEXT *PCONTEXT; | |
2855 | # 1813 "../../../include/winnt.h" | |
2856 | typedef struct _EXCEPTION_RECORD | |
2857 | { | |
2858 | DWORD ExceptionCode; | |
2859 | DWORD ExceptionFlags; | |
2860 | struct _EXCEPTION_RECORD *ExceptionRecord; | |
2861 | ||
2862 | PVOID ExceptionAddress; | |
2863 | DWORD NumberParameters; | |
2864 | ULONG_PTR ExceptionInformation[15]; | |
2865 | } EXCEPTION_RECORD, *PEXCEPTION_RECORD; | |
2866 | ||
2867 | ||
2868 | ||
2869 | ||
2870 | ||
2871 | ||
2872 | typedef struct _EXCEPTION_POINTERS | |
2873 | { | |
2874 | PEXCEPTION_RECORD ExceptionRecord; | |
2875 | PCONTEXT ContextRecord; | |
2876 | } EXCEPTION_POINTERS, *PEXCEPTION_POINTERS; | |
2877 | # 1842 "../../../include/winnt.h" | |
2878 | struct _EXCEPTION_REGISTRATION_RECORD; | |
2879 | ||
2880 | typedef DWORD (*PEXCEPTION_HANDLER)(PEXCEPTION_RECORD,struct _EXCEPTION_REGISTRATION_RECORD*, | |
2881 | PCONTEXT,struct _EXCEPTION_REGISTRATION_RECORD **); | |
2882 | ||
2883 | typedef struct _EXCEPTION_REGISTRATION_RECORD | |
2884 | { | |
2885 | struct _EXCEPTION_REGISTRATION_RECORD *Prev; | |
2886 | PEXCEPTION_HANDLER Handler; | |
2887 | } EXCEPTION_REGISTRATION_RECORD; | |
2888 | ||
2889 | ||
2890 | ||
2891 | ||
2892 | ||
2893 | typedef LONG (__attribute__((__stdcall__)) *PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS ExceptionInfo); | |
2894 | typedef LONG (__attribute__((__stdcall__)) *PTOP_LEVEL_EXCEPTION_FILTER)(PEXCEPTION_POINTERS ExceptionInfo); | |
2895 | typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER; | |
2896 | ||
2897 | DWORD __attribute__((__stdcall__)) UnhandledExceptionFilter( PEXCEPTION_POINTERS epointers ); | |
2898 | LPTOP_LEVEL_EXCEPTION_FILTER | |
2899 | __attribute__((__stdcall__)) SetUnhandledExceptionFilter( LPTOP_LEVEL_EXCEPTION_FILTER filter ); | |
2900 | ||
2901 | typedef struct _NT_TIB | |
2902 | { | |
2903 | struct _EXCEPTION_REGISTRATION_RECORD *ExceptionList; | |
2904 | PVOID StackBase; | |
2905 | PVOID StackLimit; | |
2906 | PVOID SubSystemTib; | |
2907 | union { | |
2908 | PVOID FiberData; | |
2909 | DWORD Version; | |
2910 | } ; | |
2911 | PVOID ArbitraryUserPointer; | |
2912 | struct _NT_TIB *Self; | |
2913 | } NT_TIB, *PNT_TIB; | |
2914 | ||
2915 | struct _TEB; | |
2916 | ||
2917 | ||
2918 | extern inline struct _TEB * __attribute__((__stdcall__)) NtCurrentTeb(void); | |
2919 | extern inline struct _TEB * __attribute__((__stdcall__)) NtCurrentTeb(void) | |
2920 | { | |
2921 | struct _TEB *teb; | |
2922 | __asm__(".byte 0x64\n\tmovl (0x18),%0" : "=r" (teb)); | |
2923 | return teb; | |
2924 | } | |
2925 | # 1914 "../../../include/winnt.h" | |
2926 | # 1 "../../../include/pshpack2.h" 1 | |
2927 | # 105 "../../../include/pshpack2.h" | |
2928 | #pragma pack(2) | |
2929 | # 1915 "../../../include/winnt.h" 2 | |
2930 | typedef struct _IMAGE_DOS_HEADER { | |
2931 | WORD e_magic; | |
2932 | WORD e_cblp; | |
2933 | WORD e_cp; | |
2934 | WORD e_crlc; | |
2935 | WORD e_cparhdr; | |
2936 | WORD e_minalloc; | |
2937 | WORD e_maxalloc; | |
2938 | WORD e_ss; | |
2939 | WORD e_sp; | |
2940 | WORD e_csum; | |
2941 | WORD e_ip; | |
2942 | WORD e_cs; | |
2943 | WORD e_lfarlc; | |
2944 | WORD e_ovno; | |
2945 | WORD e_res[4]; | |
2946 | WORD e_oemid; | |
2947 | WORD e_oeminfo; | |
2948 | WORD e_res2[10]; | |
2949 | DWORD e_lfanew; | |
2950 | } IMAGE_DOS_HEADER, *PIMAGE_DOS_HEADER; | |
2951 | # 1 "../../../include/poppack.h" 1 | |
2952 | # 253 "../../../include/poppack.h" | |
2953 | #pragma pack() | |
2954 | # 1937 "../../../include/winnt.h" 2 | |
2955 | # 1949 "../../../include/winnt.h" | |
2956 | # 1 "../../../include/pshpack2.h" 1 | |
2957 | # 105 "../../../include/pshpack2.h" | |
2958 | #pragma pack(2) | |
2959 | # 1950 "../../../include/winnt.h" 2 | |
2960 | typedef struct | |
2961 | { | |
2962 | WORD ne_magic; | |
2963 | BYTE ne_ver; | |
2964 | BYTE ne_rev; | |
2965 | WORD ne_enttab; | |
2966 | WORD ne_cbenttab; | |
2967 | LONG ne_crc; | |
2968 | WORD ne_flags; | |
2969 | WORD ne_autodata; | |
2970 | WORD ne_heap; | |
2971 | WORD ne_stack; | |
2972 | DWORD ne_csip; | |
2973 | DWORD ne_sssp; | |
2974 | WORD ne_cseg; | |
2975 | WORD ne_cmod; | |
2976 | WORD ne_cbnrestab; | |
2977 | WORD ne_segtab; | |
2978 | WORD ne_rsrctab; | |
2979 | WORD ne_restab; | |
2980 | WORD ne_modtab; | |
2981 | WORD ne_imptab; | |
2982 | DWORD ne_nrestab; | |
2983 | WORD ne_cmovent; | |
2984 | WORD ne_align; | |
2985 | WORD ne_cres; | |
2986 | BYTE ne_exetyp; | |
2987 | BYTE ne_flagsothers; | |
2988 | WORD ne_pretthunks; | |
2989 | WORD ne_psegrefbytes; | |
2990 | WORD ne_swaparea; | |
2991 | WORD ne_expver; | |
2992 | } IMAGE_OS2_HEADER, *PIMAGE_OS2_HEADER; | |
2993 | # 1 "../../../include/poppack.h" 1 | |
2994 | # 253 "../../../include/poppack.h" | |
2995 | #pragma pack() | |
2996 | # 1984 "../../../include/winnt.h" 2 | |
2997 | ||
2998 | # 1 "../../../include/pshpack2.h" 1 | |
2999 | # 105 "../../../include/pshpack2.h" | |
3000 | #pragma pack(2) | |
3001 | # 1986 "../../../include/winnt.h" 2 | |
3002 | typedef struct _IMAGE_VXD_HEADER { | |
3003 | WORD e32_magic; | |
3004 | BYTE e32_border; | |
3005 | BYTE e32_worder; | |
3006 | DWORD e32_level; | |
3007 | WORD e32_cpu; | |
3008 | WORD e32_os; | |
3009 | DWORD e32_ver; | |
3010 | DWORD e32_mflags; | |
3011 | DWORD e32_mpages; | |
3012 | DWORD e32_startobj; | |
3013 | DWORD e32_eip; | |
3014 | DWORD e32_stackobj; | |
3015 | DWORD e32_esp; | |
3016 | DWORD e32_pagesize; | |
3017 | DWORD e32_lastpagesize; | |
3018 | DWORD e32_fixupsize; | |
3019 | DWORD e32_fixupsum; | |
3020 | DWORD e32_ldrsize; | |
3021 | DWORD e32_ldrsum; | |
3022 | DWORD e32_objtab; | |
3023 | DWORD e32_objcnt; | |
3024 | DWORD e32_objmap; | |
3025 | DWORD e32_itermap; | |
3026 | DWORD e32_rsrctab; | |
3027 | DWORD e32_rsrccnt; | |
3028 | DWORD e32_restab; | |
3029 | DWORD e32_enttab; | |
3030 | DWORD e32_dirtab; | |
3031 | DWORD e32_dircnt; | |
3032 | DWORD e32_fpagetab; | |
3033 | DWORD e32_frectab; | |
3034 | DWORD e32_impmod; | |
3035 | DWORD e32_impmodcnt; | |
3036 | DWORD e32_impproc; | |
3037 | DWORD e32_pagesum; | |
3038 | DWORD e32_datapage; | |
3039 | DWORD e32_preload; | |
3040 | DWORD e32_nrestab; | |
3041 | DWORD e32_cbnrestab; | |
3042 | DWORD e32_nressum; | |
3043 | DWORD e32_autodata; | |
3044 | DWORD e32_debuginfo; | |
3045 | DWORD e32_debuglen; | |
3046 | DWORD e32_instpreload; | |
3047 | DWORD e32_instdemand; | |
3048 | DWORD e32_heapsize; | |
3049 | BYTE e32_res3[12]; | |
3050 | DWORD e32_winresoff; | |
3051 | DWORD e32_winreslen; | |
3052 | WORD e32_devid; | |
3053 | WORD e32_ddkver; | |
3054 | } IMAGE_VXD_HEADER, *PIMAGE_VXD_HEADER; | |
3055 | # 1 "../../../include/poppack.h" 1 | |
3056 | # 253 "../../../include/poppack.h" | |
3057 | #pragma pack() | |
3058 | # 2040 "../../../include/winnt.h" 2 | |
3059 | # 2174 "../../../include/winnt.h" | |
3060 | typedef struct _IMAGE_FILE_HEADER { | |
3061 | WORD Machine; | |
3062 | WORD NumberOfSections; | |
3063 | DWORD TimeDateStamp; | |
3064 | DWORD PointerToSymbolTable; | |
3065 | DWORD NumberOfSymbols; | |
3066 | WORD SizeOfOptionalHeader; | |
3067 | WORD Characteristics; | |
3068 | } IMAGE_FILE_HEADER, *PIMAGE_FILE_HEADER; | |
3069 | ||
3070 | typedef struct _IMAGE_DATA_DIRECTORY { | |
3071 | DWORD VirtualAddress; | |
3072 | DWORD Size; | |
3073 | } IMAGE_DATA_DIRECTORY, *PIMAGE_DATA_DIRECTORY; | |
3074 | ||
3075 | ||
3076 | ||
3077 | typedef struct _IMAGE_OPTIONAL_HEADER64 { | |
3078 | WORD Magic; | |
3079 | BYTE MajorLinkerVersion; | |
3080 | BYTE MinorLinkerVersion; | |
3081 | DWORD SizeOfCode; | |
3082 | DWORD SizeOfInitializedData; | |
3083 | DWORD SizeOfUninitializedData; | |
3084 | DWORD AddressOfEntryPoint; | |
3085 | DWORD BaseOfCode; | |
3086 | ULONGLONG ImageBase; | |
3087 | DWORD SectionAlignment; | |
3088 | DWORD FileAlignment; | |
3089 | WORD MajorOperatingSystemVersion; | |
3090 | WORD MinorOperatingSystemVersion; | |
3091 | WORD MajorImageVersion; | |
3092 | WORD MinorImageVersion; | |
3093 | WORD MajorSubsystemVersion; | |
3094 | WORD MinorSubsystemVersion; | |
3095 | DWORD Win32VersionValue; | |
3096 | DWORD SizeOfImage; | |
3097 | DWORD SizeOfHeaders; | |
3098 | DWORD CheckSum; | |
3099 | WORD Subsystem; | |
3100 | WORD DllCharacteristics; | |
3101 | ULONGLONG SizeOfStackReserve; | |
3102 | ULONGLONG SizeOfStackCommit; | |
3103 | ULONGLONG SizeOfHeapReserve; | |
3104 | ULONGLONG SizeOfHeapCommit; | |
3105 | DWORD LoaderFlags; | |
3106 | DWORD NumberOfRvaAndSizes; | |
3107 | IMAGE_DATA_DIRECTORY DataDirectory[16]; | |
3108 | } IMAGE_OPTIONAL_HEADER64, *PIMAGE_OPTIONAL_HEADER64; | |
3109 | ||
3110 | typedef struct _IMAGE_NT_HEADERS64 { | |
3111 | DWORD Signature; | |
3112 | IMAGE_FILE_HEADER FileHeader; | |
3113 | IMAGE_OPTIONAL_HEADER64 OptionalHeader; | |
3114 | } IMAGE_NT_HEADERS64, *PIMAGE_NT_HEADERS64; | |
3115 | ||
3116 | typedef struct _IMAGE_OPTIONAL_HEADER { | |
3117 | ||
3118 | ||
3119 | ||
3120 | WORD Magic; | |
3121 | BYTE MajorLinkerVersion; | |
3122 | BYTE MinorLinkerVersion; | |
3123 | DWORD SizeOfCode; | |
3124 | DWORD SizeOfInitializedData; | |
3125 | DWORD SizeOfUninitializedData; | |
3126 | DWORD AddressOfEntryPoint; | |
3127 | DWORD BaseOfCode; | |
3128 | DWORD BaseOfData; | |
3129 | ||
3130 | ||
3131 | ||
3132 | DWORD ImageBase; | |
3133 | DWORD SectionAlignment; | |
3134 | DWORD FileAlignment; | |
3135 | WORD MajorOperatingSystemVersion; | |
3136 | WORD MinorOperatingSystemVersion; | |
3137 | WORD MajorImageVersion; | |
3138 | WORD MinorImageVersion; | |
3139 | WORD MajorSubsystemVersion; | |
3140 | WORD MinorSubsystemVersion; | |
3141 | DWORD Win32VersionValue; | |
3142 | DWORD SizeOfImage; | |
3143 | DWORD SizeOfHeaders; | |
3144 | DWORD CheckSum; | |
3145 | WORD Subsystem; | |
3146 | WORD DllCharacteristics; | |
3147 | DWORD SizeOfStackReserve; | |
3148 | DWORD SizeOfStackCommit; | |
3149 | DWORD SizeOfHeapReserve; | |
3150 | DWORD SizeOfHeapCommit; | |
3151 | DWORD LoaderFlags; | |
3152 | DWORD NumberOfRvaAndSizes; | |
3153 | IMAGE_DATA_DIRECTORY DataDirectory[16]; | |
3154 | ||
3155 | } IMAGE_OPTIONAL_HEADER32, *PIMAGE_OPTIONAL_HEADER32; | |
3156 | ||
3157 | typedef struct _IMAGE_NT_HEADERS { | |
3158 | DWORD Signature; | |
3159 | IMAGE_FILE_HEADER FileHeader; | |
3160 | IMAGE_OPTIONAL_HEADER32 OptionalHeader; | |
3161 | } IMAGE_NT_HEADERS32, *PIMAGE_NT_HEADERS32; | |
3162 | ||
3163 | ||
3164 | ||
3165 | ||
3166 | ||
3167 | ||
3168 | ||
3169 | typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS; | |
3170 | typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS; | |
3171 | typedef IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER; | |
3172 | typedef PIMAGE_OPTIONAL_HEADER32 PIMAGE_OPTIONAL_HEADER; | |
3173 | ||
3174 | ||
3175 | ||
3176 | ||
3177 | typedef struct _IMAGE_SECTION_HEADER { | |
3178 | BYTE Name[8]; | |
3179 | union { | |
3180 | DWORD PhysicalAddress; | |
3181 | DWORD VirtualSize; | |
3182 | } Misc; | |
3183 | DWORD VirtualAddress; | |
3184 | DWORD SizeOfRawData; | |
3185 | DWORD PointerToRawData; | |
3186 | DWORD PointerToRelocations; | |
3187 | DWORD PointerToLinenumbers; | |
3188 | WORD NumberOfRelocations; | |
3189 | WORD NumberOfLinenumbers; | |
3190 | DWORD Characteristics; | |
3191 | } IMAGE_SECTION_HEADER, *PIMAGE_SECTION_HEADER; | |
3192 | # 2369 "../../../include/winnt.h" | |
3193 | # 1 "../../../include/pshpack2.h" 1 | |
3194 | # 105 "../../../include/pshpack2.h" | |
3195 | #pragma pack(2) | |
3196 | # 2370 "../../../include/winnt.h" 2 | |
3197 | ||
3198 | typedef struct _IMAGE_SYMBOL { | |
3199 | union { | |
3200 | BYTE ShortName[8]; | |
3201 | struct { | |
3202 | DWORD Short; | |
3203 | DWORD Long; | |
3204 | } Name; | |
3205 | DWORD LongName[2]; | |
3206 | } N; | |
3207 | DWORD Value; | |
3208 | SHORT SectionNumber; | |
3209 | WORD Type; | |
3210 | BYTE StorageClass; | |
3211 | BYTE NumberOfAuxSymbols; | |
3212 | } IMAGE_SYMBOL; | |
3213 | typedef IMAGE_SYMBOL *PIMAGE_SYMBOL; | |
3214 | ||
3215 | ||
3216 | ||
3217 | typedef struct _IMAGE_LINENUMBER { | |
3218 | union { | |
3219 | DWORD SymbolTableIndex; | |
3220 | DWORD VirtualAddress; | |
3221 | } Type; | |
3222 | WORD Linenumber; | |
3223 | } IMAGE_LINENUMBER; | |
3224 | typedef IMAGE_LINENUMBER *PIMAGE_LINENUMBER; | |
3225 | ||
3226 | ||
3227 | ||
3228 | typedef union _IMAGE_AUX_SYMBOL { | |
3229 | struct { | |
3230 | DWORD TagIndex; | |
3231 | union { | |
3232 | struct { | |
3233 | WORD Linenumber; | |
3234 | WORD Size; | |
3235 | } LnSz; | |
3236 | DWORD TotalSize; | |
3237 | } Misc; | |
3238 | union { | |
3239 | struct { | |
3240 | DWORD PointerToLinenumber; | |
3241 | DWORD PointerToNextFunction; | |
3242 | } Function; | |
3243 | struct { | |
3244 | WORD Dimension[4]; | |
3245 | } Array; | |
3246 | } FcnAry; | |
3247 | WORD TvIndex; | |
3248 | } Sym; | |
3249 | struct { | |
3250 | BYTE Name[18]; | |
3251 | } File; | |
3252 | struct { | |
3253 | DWORD Length; | |
3254 | WORD NumberOfRelocations; | |
3255 | WORD NumberOfLinenumbers; | |
3256 | DWORD CheckSum; | |
3257 | SHORT Number; | |
3258 | BYTE Selection; | |
3259 | } Section; | |
3260 | } IMAGE_AUX_SYMBOL; | |
3261 | typedef IMAGE_AUX_SYMBOL *PIMAGE_AUX_SYMBOL; | |
3262 | ||
3263 | ||
3264 | ||
3265 | # 1 "../../../include/poppack.h" 1 | |
3266 | # 253 "../../../include/poppack.h" | |
3267 | #pragma pack() | |
3268 | # 2439 "../../../include/winnt.h" 2 | |
3269 | # 2542 "../../../include/winnt.h" | |
3270 | typedef struct _IMAGE_EXPORT_DIRECTORY { | |
3271 | DWORD Characteristics; | |
3272 | DWORD TimeDateStamp; | |
3273 | WORD MajorVersion; | |
3274 | WORD MinorVersion; | |
3275 | DWORD Name; | |
3276 | DWORD Base; | |
3277 | DWORD NumberOfFunctions; | |
3278 | DWORD NumberOfNames; | |
3279 | DWORD AddressOfFunctions; | |
3280 | DWORD AddressOfNames; | |
3281 | DWORD AddressOfNameOrdinals; | |
3282 | } IMAGE_EXPORT_DIRECTORY,*PIMAGE_EXPORT_DIRECTORY; | |
3283 | ||
3284 | ||
3285 | typedef struct _IMAGE_IMPORT_BY_NAME { | |
3286 | WORD Hint; | |
3287 | BYTE Name[1]; | |
3288 | } IMAGE_IMPORT_BY_NAME,*PIMAGE_IMPORT_BY_NAME; | |
3289 | ||
3290 | ||
3291 | typedef struct _IMAGE_THUNK_DATA64 { | |
3292 | union { | |
3293 | ULONGLONG ForwarderString; | |
3294 | ULONGLONG Function; | |
3295 | ULONGLONG Ordinal; | |
3296 | ULONGLONG AddressOfData; | |
3297 | } u1; | |
3298 | } IMAGE_THUNK_DATA64,*PIMAGE_THUNK_DATA64; | |
3299 | ||
3300 | typedef struct _IMAGE_THUNK_DATA32 { | |
3301 | union { | |
3302 | DWORD ForwarderString; | |
3303 | DWORD Function; | |
3304 | DWORD Ordinal; | |
3305 | DWORD AddressOfData; | |
3306 | } u1; | |
3307 | } IMAGE_THUNK_DATA32,*PIMAGE_THUNK_DATA32; | |
3308 | ||
3309 | ||
3310 | ||
3311 | typedef struct _IMAGE_IMPORT_DESCRIPTOR { | |
3312 | union { | |
3313 | DWORD Characteristics; | |
3314 | DWORD OriginalFirstThunk; | |
3315 | } ; | |
3316 | DWORD TimeDateStamp; | |
3317 | ||
3318 | ||
3319 | ||
3320 | ||
3321 | ||
3322 | ||
3323 | DWORD ForwarderChain; | |
3324 | DWORD Name; | |
3325 | ||
3326 | DWORD FirstThunk; | |
3327 | } IMAGE_IMPORT_DESCRIPTOR,*PIMAGE_IMPORT_DESCRIPTOR; | |
3328 | # 2618 "../../../include/winnt.h" | |
3329 | typedef IMAGE_THUNK_DATA32 IMAGE_THUNK_DATA; | |
3330 | typedef PIMAGE_THUNK_DATA32 PIMAGE_THUNK_DATA; | |
3331 | ||
3332 | ||
3333 | typedef struct _IMAGE_BOUND_IMPORT_DESCRIPTOR | |
3334 | { | |
3335 | DWORD TimeDateStamp; | |
3336 | WORD OffsetModuleName; | |
3337 | WORD NumberOfModuleForwarderRefs; | |
3338 | ||
3339 | } IMAGE_BOUND_IMPORT_DESCRIPTOR, *PIMAGE_BOUND_IMPORT_DESCRIPTOR; | |
3340 | ||
3341 | typedef struct _IMAGE_BOUND_FORWARDER_REF | |
3342 | { | |
3343 | DWORD TimeDateStamp; | |
3344 | WORD OffsetModuleName; | |
3345 | WORD Reserved; | |
3346 | } IMAGE_BOUND_FORWARDER_REF, *PIMAGE_BOUND_FORWARDER_REF; | |
3347 | ||
3348 | typedef struct _IMAGE_BASE_RELOCATION | |
3349 | { | |
3350 | DWORD VirtualAddress; | |
3351 | DWORD SizeOfBlock; | |
3352 | ||
3353 | } IMAGE_BASE_RELOCATION,*PIMAGE_BASE_RELOCATION; | |
3354 | ||
3355 | # 1 "../../../include/pshpack2.h" 1 | |
3356 | # 105 "../../../include/pshpack2.h" | |
3357 | #pragma pack(2) | |
3358 | # 2645 "../../../include/winnt.h" 2 | |
3359 | ||
3360 | typedef struct _IMAGE_RELOCATION | |
3361 | { | |
3362 | union { | |
3363 | DWORD VirtualAddress; | |
3364 | DWORD RelocCount; | |
3365 | } ; | |
3366 | DWORD SymbolTableIndex; | |
3367 | WORD Type; | |
3368 | } IMAGE_RELOCATION, *PIMAGE_RELOCATION; | |
3369 | ||
3370 | # 1 "../../../include/poppack.h" 1 | |
3371 | # 253 "../../../include/poppack.h" | |
3372 | #pragma pack() | |
3373 | # 2657 "../../../include/winnt.h" 2 | |
3374 | # 2821 "../../../include/winnt.h" | |
3375 | typedef struct _IMAGE_ARCHIVE_MEMBER_HEADER | |
3376 | { | |
3377 | BYTE Name[16]; | |
3378 | BYTE Date[12]; | |
3379 | BYTE UserID[6]; | |
3380 | BYTE GroupID[6]; | |
3381 | BYTE Mode[8]; | |
3382 | BYTE Size[10]; | |
3383 | BYTE EndHeader[2]; | |
3384 | } IMAGE_ARCHIVE_MEMBER_HEADER, *PIMAGE_ARCHIVE_MEMBER_HEADER; | |
3385 | ||
3386 | ||
3387 | ||
3388 | ||
3389 | ||
3390 | ||
3391 | typedef struct _IMAGE_RESOURCE_DIRECTORY { | |
3392 | DWORD Characteristics; | |
3393 | DWORD TimeDateStamp; | |
3394 | WORD MajorVersion; | |
3395 | WORD MinorVersion; | |
3396 | WORD NumberOfNamedEntries; | |
3397 | WORD NumberOfIdEntries; | |
3398 | ||
3399 | } IMAGE_RESOURCE_DIRECTORY,*PIMAGE_RESOURCE_DIRECTORY; | |
3400 | ||
3401 | ||
3402 | ||
3403 | ||
3404 | typedef struct _IMAGE_RESOURCE_DIRECTORY_ENTRY { | |
3405 | union { | |
3406 | struct { | |
3407 | ||
3408 | ||
3409 | ||
3410 | ||
3411 | unsigned NameOffset:31; | |
3412 | unsigned NameIsString:1; | |
3413 | ||
3414 | } ; | |
3415 | DWORD Name; | |
3416 | struct { | |
3417 | ||
3418 | ||
3419 | ||
3420 | ||
3421 | WORD Id; | |
3422 | WORD __pad; | |
3423 | ||
3424 | } ; | |
3425 | } ; | |
3426 | union { | |
3427 | DWORD OffsetToData; | |
3428 | struct { | |
3429 | ||
3430 | ||
3431 | ||
3432 | ||
3433 | unsigned OffsetToDirectory:31; | |
3434 | unsigned DataIsDirectory:1; | |
3435 | ||
3436 | } ; | |
3437 | } ; | |
3438 | } IMAGE_RESOURCE_DIRECTORY_ENTRY,*PIMAGE_RESOURCE_DIRECTORY_ENTRY; | |
3439 | ||
3440 | ||
3441 | typedef struct _IMAGE_RESOURCE_DIRECTORY_STRING { | |
3442 | WORD Length; | |
3443 | CHAR NameString[ 1 ]; | |
3444 | } IMAGE_RESOURCE_DIRECTORY_STRING,*PIMAGE_RESOURCE_DIRECTORY_STRING; | |
3445 | ||
3446 | typedef struct _IMAGE_RESOURCE_DIR_STRING_U { | |
3447 | WORD Length; | |
3448 | WCHAR NameString[ 1 ]; | |
3449 | } IMAGE_RESOURCE_DIR_STRING_U,*PIMAGE_RESOURCE_DIR_STRING_U; | |
3450 | ||
3451 | typedef struct _IMAGE_RESOURCE_DATA_ENTRY { | |
3452 | DWORD OffsetToData; | |
3453 | DWORD Size; | |
3454 | DWORD CodePage; | |
3455 | DWORD Reserved; | |
3456 | } IMAGE_RESOURCE_DATA_ENTRY,*PIMAGE_RESOURCE_DATA_ENTRY; | |
3457 | ||
3458 | ||
3459 | typedef void (__attribute__((__stdcall__)) *PIMAGE_TLS_CALLBACK)( | |
3460 | LPVOID DllHandle,DWORD Reason,LPVOID Reserved | |
3461 | ); | |
3462 | ||
3463 | typedef struct _IMAGE_TLS_DIRECTORY64 { | |
3464 | ULONGLONG StartAddressOfRawData; | |
3465 | ULONGLONG EndAddressOfRawData; | |
3466 | ULONGLONG AddressOfIndex; | |
3467 | ULONGLONG AddressOfCallBacks; | |
3468 | DWORD SizeOfZeroFill; | |
3469 | DWORD Characteristics; | |
3470 | } IMAGE_TLS_DIRECTORY64, *PIMAGE_TLS_DIRECTORY64; | |
3471 | ||
3472 | typedef struct _IMAGE_TLS_DIRECTORY32 { | |
3473 | DWORD StartAddressOfRawData; | |
3474 | DWORD EndAddressOfRawData; | |
3475 | DWORD AddressOfIndex; | |
3476 | DWORD AddressOfCallBacks; | |
3477 | DWORD SizeOfZeroFill; | |
3478 | DWORD Characteristics; | |
3479 | } IMAGE_TLS_DIRECTORY32, *PIMAGE_TLS_DIRECTORY32; | |
3480 | ||
3481 | ||
3482 | ||
3483 | ||
3484 | ||
3485 | typedef IMAGE_TLS_DIRECTORY32 IMAGE_TLS_DIRECTORY; | |
3486 | typedef PIMAGE_TLS_DIRECTORY32 PIMAGE_TLS_DIRECTORY; | |
3487 | ||
3488 | ||
3489 | typedef struct _IMAGE_DEBUG_DIRECTORY { | |
3490 | DWORD Characteristics; | |
3491 | DWORD TimeDateStamp; | |
3492 | WORD MajorVersion; | |
3493 | WORD MinorVersion; | |
3494 | DWORD Type; | |
3495 | DWORD SizeOfData; | |
3496 | DWORD AddressOfRawData; | |
3497 | DWORD PointerToRawData; | |
3498 | } IMAGE_DEBUG_DIRECTORY, *PIMAGE_DEBUG_DIRECTORY; | |
3499 | # 2958 "../../../include/winnt.h" | |
3500 | typedef struct _IMAGE_COFF_SYMBOLS_HEADER { | |
3501 | DWORD NumberOfSymbols; | |
3502 | DWORD LvaToFirstSymbol; | |
3503 | DWORD NumberOfLinenumbers; | |
3504 | DWORD LvaToFirstLinenumber; | |
3505 | DWORD RvaToFirstByteOfCode; | |
3506 | DWORD RvaToLastByteOfCode; | |
3507 | DWORD RvaToFirstByteOfData; | |
3508 | DWORD RvaToLastByteOfData; | |
3509 | } IMAGE_COFF_SYMBOLS_HEADER, *PIMAGE_COFF_SYMBOLS_HEADER; | |
3510 | ||
3511 | ||
3512 | ||
3513 | ||
3514 | ||
3515 | ||
3516 | typedef struct _FPO_DATA { | |
3517 | DWORD ulOffStart; | |
3518 | DWORD cbProcSize; | |
3519 | DWORD cdwLocals; | |
3520 | WORD cdwParams; | |
3521 | WORD cbProlog : 8; | |
3522 | WORD cbRegs : 3; | |
3523 | WORD fHasSEH : 1; | |
3524 | WORD fUseBP : 1; | |
3525 | WORD reserved : 1; | |
3526 | WORD cbFrame : 2; | |
3527 | } FPO_DATA, *PFPO_DATA; | |
3528 | ||
3529 | typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY { | |
3530 | DWORD Size; | |
3531 | DWORD TimeDateStamp; | |
3532 | WORD MajorVersion; | |
3533 | WORD MinorVersion; | |
3534 | DWORD GlobalFlagsClear; | |
3535 | DWORD GlobalFlagsSet; | |
3536 | DWORD CriticalSectionDefaultTimeout; | |
3537 | DWORD DeCommitFreeBlockThreshold; | |
3538 | DWORD DeCommitTotalFreeThreshold; | |
3539 | PVOID LockPrefixTable; | |
3540 | DWORD MaximumAllocationSize; | |
3541 | DWORD VirtualMemoryThreshold; | |
3542 | DWORD ProcessHeapFlags; | |
3543 | DWORD ProcessAffinityMask; | |
3544 | WORD CSDVersion; | |
3545 | WORD Reserved1; | |
3546 | PVOID EditList; | |
3547 | DWORD SecurityCookie; | |
3548 | DWORD SEHandlerTable; | |
3549 | DWORD SEHandlerCount; | |
3550 | } IMAGE_LOAD_CONFIG_DIRECTORY, *PIMAGE_LOAD_CONFIG_DIRECTORY; | |
3551 | ||
3552 | typedef struct _IMAGE_FUNCTION_ENTRY { | |
3553 | DWORD StartingAddress; | |
3554 | DWORD EndingAddress; | |
3555 | DWORD EndOfPrologue; | |
3556 | } IMAGE_FUNCTION_ENTRY, *PIMAGE_FUNCTION_ENTRY; | |
3557 | ||
3558 | ||
3559 | ||
3560 | typedef struct _IMAGE_DEBUG_MISC { | |
3561 | DWORD DataType; | |
3562 | DWORD Length; | |
3563 | BYTE Unicode; | |
3564 | BYTE Reserved[ 3 ]; | |
3565 | BYTE Data[ 1 ]; | |
3566 | } IMAGE_DEBUG_MISC, *PIMAGE_DEBUG_MISC; | |
3567 | ||
3568 | ||
3569 | ||
3570 | typedef struct _IMAGE_SEPARATE_DEBUG_HEADER { | |
3571 | WORD Signature; | |
3572 | WORD Flags; | |
3573 | WORD Machine; | |
3574 | WORD Characteristics; | |
3575 | DWORD TimeDateStamp; | |
3576 | DWORD CheckSum; | |
3577 | DWORD ImageBase; | |
3578 | DWORD SizeOfImage; | |
3579 | DWORD NumberOfSections; | |
3580 | DWORD ExportedNamesSize; | |
3581 | DWORD DebugDirectorySize; | |
3582 | DWORD SectionAlignment; | |
3583 | DWORD Reserved[ 2 ]; | |
3584 | } IMAGE_SEPARATE_DEBUG_HEADER,*PIMAGE_SEPARATE_DEBUG_HEADER; | |
3585 | ||
3586 | ||
3587 | ||
3588 | ||
3589 | typedef struct tagMESSAGE_RESOURCE_ENTRY { | |
3590 | WORD Length; | |
3591 | WORD Flags; | |
3592 | BYTE Text[1]; | |
3593 | } MESSAGE_RESOURCE_ENTRY,*PMESSAGE_RESOURCE_ENTRY; | |
3594 | ||
3595 | ||
3596 | typedef struct tagMESSAGE_RESOURCE_BLOCK { | |
3597 | DWORD LowId; | |
3598 | DWORD HighId; | |
3599 | DWORD OffsetToEntries; | |
3600 | } MESSAGE_RESOURCE_BLOCK,*PMESSAGE_RESOURCE_BLOCK; | |
3601 | ||
3602 | typedef struct tagMESSAGE_RESOURCE_DATA { | |
3603 | DWORD NumberOfBlocks; | |
3604 | MESSAGE_RESOURCE_BLOCK Blocks[ 1 ]; | |
3605 | } MESSAGE_RESOURCE_DATA,*PMESSAGE_RESOURCE_DATA; | |
3606 | # 3076 "../../../include/winnt.h" | |
3607 | typedef PVOID PACCESS_TOKEN; | |
3608 | typedef PVOID PSECURITY_DESCRIPTOR; | |
3609 | typedef PVOID PSID; | |
3610 | ||
3611 | ||
3612 | ||
3613 | ||
3614 | ||
3615 | typedef enum _TOKEN_INFORMATION_CLASS { | |
3616 | TokenUser = 1, | |
3617 | TokenGroups, | |
3618 | TokenPrivileges, | |
3619 | TokenOwner, | |
3620 | TokenPrimaryGroup, | |
3621 | TokenDefaultDacl, | |
3622 | TokenSource, | |
3623 | TokenType, | |
3624 | TokenImpersonationLevel, | |
3625 | TokenStatistics, | |
3626 | TokenRestrictedSids, | |
3627 | TokenSessionId, | |
3628 | TokenGroupsAndPrivileges, | |
3629 | TokenSessionReference, | |
3630 | TokenSandBoxInert | |
3631 | } TOKEN_INFORMATION_CLASS; | |
3632 | # 3133 "../../../include/winnt.h" | |
3633 | typedef DWORD ACCESS_MASK, *PACCESS_MASK; | |
3634 | ||
3635 | typedef struct _GENERIC_MAPPING { | |
3636 | ACCESS_MASK GenericRead; | |
3637 | ACCESS_MASK GenericWrite; | |
3638 | ACCESS_MASK GenericExecute; | |
3639 | ACCESS_MASK GenericAll; | |
3640 | } GENERIC_MAPPING, *PGENERIC_MAPPING; | |
3641 | ||
3642 | ||
3643 | ||
3644 | typedef struct { | |
3645 | BYTE Value[6]; | |
3646 | } SID_IDENTIFIER_AUTHORITY, *PSID_IDENTIFIER_AUTHORITY; | |
3647 | ||
3648 | ||
3649 | ||
3650 | ||
3651 | typedef struct _SID { | |
3652 | BYTE Revision; | |
3653 | BYTE SubAuthorityCount; | |
3654 | SID_IDENTIFIER_AUTHORITY IdentifierAuthority; | |
3655 | DWORD SubAuthority[1]; | |
3656 | } SID,*PISID; | |
3657 | # 3177 "../../../include/winnt.h" | |
3658 | typedef struct _ACL { | |
3659 | BYTE AclRevision; | |
3660 | BYTE Sbz1; | |
3661 | WORD AclSize; | |
3662 | WORD AceCount; | |
3663 | WORD Sbz2; | |
3664 | } ACL, *PACL; | |
3665 | ||
3666 | typedef enum _ACL_INFORMATION_CLASS | |
3667 | { | |
3668 | AclRevisionInformation = 1, | |
3669 | AclSizeInformation | |
3670 | } ACL_INFORMATION_CLASS; | |
3671 | ||
3672 | typedef struct _ACL_REVISION_INFORMATION | |
3673 | { | |
3674 | DWORD AclRevision; | |
3675 | } ACL_REVISION_INFORMATION, *PACL_REVISION_INFORMATION; | |
3676 | ||
3677 | typedef struct _ACL_SIZE_INFORMATION | |
3678 | { | |
3679 | DWORD AceCount; | |
3680 | DWORD AclBytesInUse; | |
3681 | DWORD AclBytesFree; | |
3682 | } ACL_SIZE_INFORMATION, *PACL_SIZE_INFORMATION; | |
3683 | # 3271 "../../../include/winnt.h" | |
3684 | typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION; | |
3685 | typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL; | |
3686 | ||
3687 | ||
3688 | typedef struct { | |
3689 | BYTE Revision; | |
3690 | BYTE Sbz1; | |
3691 | SECURITY_DESCRIPTOR_CONTROL Control; | |
3692 | DWORD Owner; | |
3693 | DWORD Group; | |
3694 | DWORD Sacl; | |
3695 | DWORD Dacl; | |
3696 | } SECURITY_DESCRIPTOR_RELATIVE, *PISECURITY_DESCRIPTOR_RELATIVE; | |
3697 | ||
3698 | typedef struct { | |
3699 | BYTE Revision; | |
3700 | BYTE Sbz1; | |
3701 | SECURITY_DESCRIPTOR_CONTROL Control; | |
3702 | PSID Owner; | |
3703 | PSID Group; | |
3704 | PACL Sacl; | |
3705 | PACL Dacl; | |
3706 | } SECURITY_DESCRIPTOR, *PISECURITY_DESCRIPTOR; | |
3707 | # 3303 "../../../include/winnt.h" | |
3708 | typedef struct _SID_AND_ATTRIBUTES { | |
3709 | PSID Sid; | |
3710 | DWORD Attributes; | |
3711 | } SID_AND_ATTRIBUTES; | |
3712 | # 3407 "../../../include/winnt.h" | |
3713 | typedef enum { | |
3714 | WinNullSid = 0, | |
3715 | WinWorldSid = 1, | |
3716 | WinLocalSid = 2, | |
3717 | WinCreatorOwnerSid = 3, | |
3718 | WinCreatorGroupSid = 4, | |
3719 | WinCreatorOwnerServerSid = 5, | |
3720 | WinCreatorGroupServerSid = 6, | |
3721 | WinNtAuthoritySid = 7, | |
3722 | WinDialupSid = 8, | |
3723 | WinNetworkSid = 9, | |
3724 | WinBatchSid = 10, | |
3725 | WinInteractiveSid = 11, | |
3726 | WinServiceSid = 12, | |
3727 | WinAnonymousSid = 13, | |
3728 | WinProxySid = 14, | |
3729 | WinEnterpriseControllersSid = 15, | |
3730 | WinSelfSid = 16, | |
3731 | WinAuthenticatedUserSid = 17, | |
3732 | WinRestrictedCodeSid = 18, | |
3733 | WinTerminalServerSid = 19, | |
3734 | WinRemoteLogonIdSid = 20, | |
3735 | WinLogonIdsSid = 21, | |
3736 | WinLocalSystemSid = 22, | |
3737 | WinLocalServiceSid = 23, | |
3738 | WinNetworkServiceSid = 24, | |
3739 | WinBuiltinDomainSid = 25, | |
3740 | WinBuiltinAdministratorsSid = 26, | |
3741 | WinBuiltinUsersSid = 27, | |
3742 | WinBuiltinGuestsSid = 28, | |
3743 | WinBuiltinPowerUsersSid = 29, | |
3744 | WinBuiltinAccountOperatorsSid = 30, | |
3745 | WinBuiltinSystemOperatorsSid = 31, | |
3746 | WinBuiltinPrintOperatorsSid = 32, | |
3747 | WinBuiltinBackupOperatorsSid = 33, | |
3748 | WinBuiltinReplicatorSid = 34, | |
3749 | WinBuiltinPreWindows2000CompatibleAccessSid = 35, | |
3750 | WinBuiltinRemoteDesktopUsersSid = 36, | |
3751 | WinBuiltinNetworkConfigurationOperatorsSid = 37, | |
3752 | WinAccountAdministratorSid = 38, | |
3753 | WinAccountGuestSid = 39, | |
3754 | WinAccountKrbtgtSid = 40, | |
3755 | WinAccountDomainAdminsSid = 41, | |
3756 | WinAccountDomainUsersSid = 42, | |
3757 | WinAccountDomainGuestsSid = 43, | |
3758 | WinAccountComputersSid = 44, | |
3759 | WinAccountControllersSid = 45, | |
3760 | WinAccountCertAdminsSid = 46, | |
3761 | WinAccountSchemaAdminsSid = 47, | |
3762 | WinAccountEnterpriseAdminsSid = 48, | |
3763 | WinAccountPolicyAdminsSid = 49, | |
3764 | WinAccountRasAndIasServersSid = 50, | |
3765 | WinNTLMAuthenticationSid = 51, | |
3766 | WinDigestAuthenticationSid = 52, | |
3767 | WinSChannelAuthenticationSid = 53, | |
3768 | WinThisOrganizationSid = 54, | |
3769 | WinOtherOrganizationSid = 55, | |
3770 | WinBuiltinIncomingForestTrustBuildersSid = 56, | |
3771 | WinBuiltinPerfMonitoringUsersSid = 57, | |
3772 | WinBuiltinPerfLoggingUsersSid = 58, | |
3773 | WinBuiltinAuthorizationAccessSid = 59, | |
3774 | WinBuiltinTerminalServerLicenseServersSid = 60 | |
3775 | } WELL_KNOWN_SID_TYPE; | |
3776 | ||
3777 | ||
3778 | ||
3779 | ||
3780 | ||
3781 | typedef struct _TOKEN_USER { | |
3782 | SID_AND_ATTRIBUTES User; | |
3783 | } TOKEN_USER, *PTOKEN_USER; | |
3784 | ||
3785 | ||
3786 | ||
3787 | ||
3788 | ||
3789 | typedef struct _TOKEN_GROUPS { | |
3790 | DWORD GroupCount; | |
3791 | SID_AND_ATTRIBUTES Groups[1]; | |
3792 | } TOKEN_GROUPS, *PTOKEN_GROUPS; | |
3793 | ||
3794 | ||
3795 | ||
3796 | ||
3797 | ||
3798 | typedef union _LARGE_INTEGER { | |
3799 | struct { | |
3800 | ||
3801 | ||
3802 | ||
3803 | ||
3804 | DWORD LowPart; | |
3805 | LONG HighPart; | |
3806 | ||
3807 | } u; | |
3808 | ||
3809 | struct { | |
3810 | ||
3811 | ||
3812 | ||
3813 | ||
3814 | DWORD LowPart; | |
3815 | LONG HighPart; | |
3816 | ||
3817 | }; | |
3818 | ||
3819 | LONGLONG QuadPart; | |
3820 | } LARGE_INTEGER, *PLARGE_INTEGER; | |
3821 | ||
3822 | typedef union _ULARGE_INTEGER { | |
3823 | struct { | |
3824 | ||
3825 | ||
3826 | ||
3827 | ||
3828 | DWORD LowPart; | |
3829 | DWORD HighPart; | |
3830 | ||
3831 | } u; | |
3832 | ||
3833 | struct { | |
3834 | ||
3835 | ||
3836 | ||
3837 | ||
3838 | DWORD LowPart; | |
3839 | DWORD HighPart; | |
3840 | ||
3841 | }; | |
3842 | ||
3843 | ULONGLONG QuadPart; | |
3844 | } ULARGE_INTEGER, *PULARGE_INTEGER; | |
3845 | ||
3846 | ||
3847 | ||
3848 | ||
3849 | ||
3850 | typedef struct _LUID { | |
3851 | DWORD LowPart; | |
3852 | LONG HighPart; | |
3853 | } LUID, *PLUID; | |
3854 | ||
3855 | # 1 "../../../include/pshpack4.h" 1 | |
3856 | # 105 "../../../include/pshpack4.h" | |
3857 | #pragma pack(4) | |
3858 | # 3550 "../../../include/winnt.h" 2 | |
3859 | typedef struct _LUID_AND_ATTRIBUTES { | |
3860 | LUID Luid; | |
3861 | DWORD Attributes; | |
3862 | } LUID_AND_ATTRIBUTES, *PLUID_AND_ATTRIBUTES; | |
3863 | # 1 "../../../include/poppack.h" 1 | |
3864 | # 253 "../../../include/poppack.h" | |
3865 | #pragma pack() | |
3866 | # 3555 "../../../include/winnt.h" 2 | |
3867 | ||
3868 | ||
3869 | ||
3870 | ||
3871 | ||
3872 | typedef struct _PRIVILEGE_SET { | |
3873 | DWORD PrivilegeCount; | |
3874 | DWORD Control; | |
3875 | LUID_AND_ATTRIBUTES Privilege[1]; | |
3876 | } PRIVILEGE_SET, *PPRIVILEGE_SET; | |
3877 | ||
3878 | ||
3879 | ||
3880 | ||
3881 | ||
3882 | typedef struct _TOKEN_PRIVILEGES { | |
3883 | DWORD PrivilegeCount; | |
3884 | LUID_AND_ATTRIBUTES Privileges[1]; | |
3885 | } TOKEN_PRIVILEGES, *PTOKEN_PRIVILEGES; | |
3886 | ||
3887 | ||
3888 | ||
3889 | ||
3890 | ||
3891 | typedef struct _TOKEN_OWNER { | |
3892 | PSID Owner; | |
3893 | } TOKEN_OWNER, *PTOKEN_OWNER; | |
3894 | ||
3895 | ||
3896 | ||
3897 | ||
3898 | ||
3899 | typedef struct _TOKEN_PRIMARY_GROUP { | |
3900 | PSID PrimaryGroup; | |
3901 | } TOKEN_PRIMARY_GROUP, *PTOKEN_PRIMARY_GROUP; | |
3902 | ||
3903 | ||
3904 | ||
3905 | ||
3906 | ||
3907 | ||
3908 | typedef struct _TOKEN_DEFAULT_DACL { | |
3909 | PACL DefaultDacl; | |
3910 | } TOKEN_DEFAULT_DACL, *PTOKEN_DEFAULT_DACL; | |
3911 | ||
3912 | ||
3913 | ||
3914 | ||
3915 | ||
3916 | ||
3917 | ||
3918 | typedef struct _TOKEN_SOURCE { | |
3919 | char SourceName[8]; | |
3920 | LUID SourceIdentifier; | |
3921 | } TOKEN_SOURCE, *PTOKEN_SOURCE; | |
3922 | ||
3923 | ||
3924 | ||
3925 | ||
3926 | ||
3927 | typedef enum tagTOKEN_TYPE { | |
3928 | TokenPrimary = 1, | |
3929 | TokenImpersonation | |
3930 | } TOKEN_TYPE; | |
3931 | ||
3932 | ||
3933 | ||
3934 | ||
3935 | ||
3936 | typedef enum _SECURITY_IMPERSONATION_LEVEL { | |
3937 | SecurityAnonymous, | |
3938 | SecurityIdentification, | |
3939 | SecurityImpersonation, | |
3940 | SecurityDelegation | |
3941 | } SECURITY_IMPERSONATION_LEVEL, *PSECURITY_IMPERSONATION_LEVEL; | |
3942 | ||
3943 | ||
3944 | ||
3945 | ||
3946 | typedef BOOLEAN SECURITY_CONTEXT_TRACKING_MODE, | |
3947 | * PSECURITY_CONTEXT_TRACKING_MODE; | |
3948 | ||
3949 | ||
3950 | ||
3951 | ||
3952 | typedef struct _SECURITY_QUALITY_OF_SERVICE { | |
3953 | DWORD Length; | |
3954 | SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; | |
3955 | SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode; | |
3956 | BOOLEAN EffectiveOnly; | |
3957 | } SECURITY_QUALITY_OF_SERVICE, *PSECURITY_QUALITY_OF_SERVICE; | |
3958 | ||
3959 | ||
3960 | ||
3961 | ||
3962 | ||
3963 | # 1 "../../../include/pshpack4.h" 1 | |
3964 | # 105 "../../../include/pshpack4.h" | |
3965 | #pragma pack(4) | |
3966 | # 3652 "../../../include/winnt.h" 2 | |
3967 | typedef struct _TOKEN_STATISTICS { | |
3968 | LUID TokenId; | |
3969 | LUID AuthenticationId; | |
3970 | LARGE_INTEGER ExpirationTime; | |
3971 | TOKEN_TYPE TokenType; | |
3972 | SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; | |
3973 | DWORD DynamicCharged; | |
3974 | DWORD DynamicAvailable; | |
3975 | DWORD GroupCount; | |
3976 | DWORD PrivilegeCount; | |
3977 | LUID ModifiedId; | |
3978 | } TOKEN_STATISTICS; | |
3979 | # 1 "../../../include/poppack.h" 1 | |
3980 | # 253 "../../../include/poppack.h" | |
3981 | #pragma pack() | |
3982 | # 3665 "../../../include/winnt.h" 2 | |
3983 | # 3676 "../../../include/winnt.h" | |
3984 | typedef struct _ACE_HEADER { | |
3985 | BYTE AceType; | |
3986 | BYTE AceFlags; | |
3987 | WORD AceSize; | |
3988 | } ACE_HEADER,*PACE_HEADER; | |
3989 | # 3707 "../../../include/winnt.h" | |
3990 | typedef struct _ACCESS_ALLOWED_ACE { | |
3991 | ACE_HEADER Header; | |
3992 | DWORD Mask; | |
3993 | DWORD SidStart; | |
3994 | } ACCESS_ALLOWED_ACE,*PACCESS_ALLOWED_ACE; | |
3995 | ||
3996 | typedef struct _ACCESS_DENIED_ACE { | |
3997 | ACE_HEADER Header; | |
3998 | DWORD Mask; | |
3999 | DWORD SidStart; | |
4000 | } ACCESS_DENIED_ACE,*PACCESS_DENIED_ACE; | |
4001 | ||
4002 | typedef struct _SYSTEM_AUDIT_ACE { | |
4003 | ACE_HEADER Header; | |
4004 | DWORD Mask; | |
4005 | DWORD SidStart; | |
4006 | } SYSTEM_AUDIT_ACE,*PSYSTEM_AUDIT_ACE; | |
4007 | ||
4008 | typedef struct _SYSTEM_ALARM_ACE { | |
4009 | ACE_HEADER Header; | |
4010 | DWORD Mask; | |
4011 | DWORD SidStart; | |
4012 | } SYSTEM_ALARM_ACE,*PSYSTEM_ALARM_ACE; | |
4013 | ||
4014 | typedef enum tagSID_NAME_USE { | |
4015 | SidTypeUser = 1, | |
4016 | SidTypeGroup, | |
4017 | SidTypeDomain, | |
4018 | SidTypeAlias, | |
4019 | SidTypeWellKnownGroup, | |
4020 | SidTypeDeletedAccount, | |
4021 | SidTypeInvalid, | |
4022 | SidTypeUnknown | |
4023 | } SID_NAME_USE,*PSID_NAME_USE; | |
4024 | # 3814 "../../../include/winnt.h" | |
4025 | typedef struct _QUOTA_LIMITS { | |
4026 | SIZE_T PagedPoolLimit; | |
4027 | SIZE_T NonPagedPoolLimit; | |
4028 | SIZE_T MinimumWorkingSetSize; | |
4029 | SIZE_T MaximumWorkingSetSize; | |
4030 | SIZE_T PagefileLimit; | |
4031 | LARGE_INTEGER TimeLimit; | |
4032 | } QUOTA_LIMITS, *PQUOTA_LIMITS; | |
4033 | ||
4034 | ||
4035 | ||
4036 | ||
4037 | ||
4038 | ||
4039 | typedef struct _QUOTA_LIMITS_EX { | |
4040 | SIZE_T PagedPoolLimit; | |
4041 | SIZE_T NonPagedPoolLimit; | |
4042 | SIZE_T MinimumWorkingSetSize; | |
4043 | SIZE_T MaximumWorkingSetSize; | |
4044 | SIZE_T PagefileLimit; | |
4045 | LARGE_INTEGER TimeLimit; | |
4046 | SIZE_T Reserved1; | |
4047 | SIZE_T Reserved2; | |
4048 | SIZE_T Reserved3; | |
4049 | SIZE_T Reserved4; | |
4050 | DWORD Flags; | |
4051 | DWORD Reserved5; | |
4052 | } QUOTA_LIMITS_EX, *PQUOTA_LIMITS_EX; | |
4053 | # 3967 "../../../include/winnt.h" | |
4054 | typedef enum _LATENCY_TIME { | |
4055 | LT_DONT_CARE, | |
4056 | LT_LOWEST_LATENCY | |
4057 | } LATENCY_TIME, *PLATENCY_TIME; | |
4058 | # 3981 "../../../include/winnt.h" | |
4059 | typedef enum _POWER_ACTION { | |
4060 | PowerActionNone = 0, | |
4061 | PowerActionReserved, | |
4062 | PowerActionSleep, | |
4063 | PowerActionHibernate, | |
4064 | PowerActionShutdown, | |
4065 | PowerActionShutdownReset, | |
4066 | PowerActionShutdownOff, | |
4067 | PowerActionWarmEject | |
4068 | } POWER_ACTION, | |
4069 | *PPOWER_ACTION; | |
4070 | ||
4071 | typedef enum _SYSTEM_POWER_STATE { | |
4072 | PowerSystemUnspecified = 0, | |
4073 | PowerSystemWorking = 1, | |
4074 | PowerSystemSleeping1 = 2, | |
4075 | PowerSystemSleeping2 = 3, | |
4076 | PowerSystemSleeping3 = 4, | |
4077 | PowerSystemHibernate = 5, | |
4078 | PowerSystemShutdown = 6, | |
4079 | PowerSystemMaximum = 7 | |
4080 | } SYSTEM_POWER_STATE, | |
4081 | *PSYSTEM_POWER_STATE; | |
4082 | ||
4083 | typedef enum _DEVICE_POWER_STATE { | |
4084 | PowerDeviceUnspecified, | |
4085 | PowerDeviceD0, | |
4086 | PowerDeviceD1, | |
4087 | PowerDeviceD2, | |
4088 | PowerDeviceD3, | |
4089 | PowerDeviceMaximum | |
4090 | } DEVICE_POWER_STATE, *PDEVICE_POWER_STATE; | |
4091 | ||
4092 | typedef enum _POWER_INFORMATION_LEVEL { | |
4093 | SystemPowerPolicyAc, | |
4094 | SystemPowerPolicyDc, | |
4095 | VerifySystemPolicyAc, | |
4096 | VerifySystemPolicyDc, | |
4097 | SystemPowerCapabilities, | |
4098 | SystemBatteryState, | |
4099 | SystemPowerStateHandler, | |
4100 | ProcessorStateHandler, | |
4101 | SystemPowerPolicyCurrent, | |
4102 | AdministratorPowerPolicy, | |
4103 | SystemReserveHiberFile, | |
4104 | ProcessorInformation, | |
4105 | SystemPowerInformation, | |
4106 | ProcessorStateHandler2, | |
4107 | LastWakeTime, | |
4108 | LastSleepTime, | |
4109 | SystemExecutionState, | |
4110 | SystemPowerStateNotifyHandler, | |
4111 | ProcessorPowerPolicyAc, | |
4112 | ProcessorPowerPolicyDc, | |
4113 | VerifyProcessorPowerPolicyAc, | |
4114 | VerifyProcessorPowerPolicyDc, | |
4115 | ProcessorPowerPolicyCurrent | |
4116 | } POWER_INFORMATION_LEVEL; | |
4117 | ||
4118 | typedef struct _ADMINISTRATOR_POWER_POLICY { | |
4119 | SYSTEM_POWER_STATE MinSleep; | |
4120 | SYSTEM_POWER_STATE MaxSleep; | |
4121 | ULONG MinVideoTimeout; | |
4122 | ULONG MaxVideoTimeout; | |
4123 | ULONG MinSpindownTimeout; | |
4124 | ULONG MaxSpindownTimeout; | |
4125 | } ADMINISTRATOR_POWER_POLICY, *PADMINISTRATOR_POWER_POLICY; | |
4126 | ||
4127 | typedef struct { | |
4128 | ULONG Granularity; | |
4129 | ULONG Capacity; | |
4130 | } BATTERY_REPORTING_SCALE, | |
4131 | *PBATTERY_REPORTING_SCALE; | |
4132 | ||
4133 | typedef struct { | |
4134 | POWER_ACTION Action; | |
4135 | ULONG Flags; | |
4136 | ULONG EventCode; | |
4137 | } POWER_ACTION_POLICY, | |
4138 | *PPOWER_ACTION_POLICY; | |
4139 | ||
4140 | typedef struct _PROCESSOR_POWER_INFORMATION { | |
4141 | ULONG Number; | |
4142 | ULONG MaxMhz; | |
4143 | ULONG CurrentMhz; | |
4144 | ULONG MhzLimit; | |
4145 | ULONG MaxIdleState; | |
4146 | ULONG CurrentIdleState; | |
4147 | } PROCESSOR_POWER_INFORMATION, | |
4148 | *PPROCESSOR_POWER_INFORMATION; | |
4149 | ||
4150 | typedef struct _PROCESSOR_POWER_POLICY_INFO { | |
4151 | ULONG TimeCheck; | |
4152 | ULONG DemoteLimit; | |
4153 | ULONG PromoteLimit; | |
4154 | UCHAR DemotePercent; | |
4155 | UCHAR PromotePercent; | |
4156 | UCHAR Spare[2]; | |
4157 | ULONG AllowDemotion:1; | |
4158 | ULONG AllowPromotion:1; | |
4159 | ULONG Reserved:30; | |
4160 | } PROCESSOR_POWER_POLICY_INFO, | |
4161 | *PPROCESSOR_POWER_POLICY_INFO; | |
4162 | ||
4163 | typedef struct _PROCESSOR_POWER_POLICY { | |
4164 | DWORD Revision; | |
4165 | BYTE DynamicThrottle; | |
4166 | BYTE Spare[3]; | |
4167 | DWORD DisableCStates:1; | |
4168 | DWORD Reserved:31; | |
4169 | DWORD PolicyCount; | |
4170 | PROCESSOR_POWER_POLICY_INFO Policy[3]; | |
4171 | } PROCESSOR_POWER_POLICY, | |
4172 | *PPROCESSOR_POWER_POLICY; | |
4173 | ||
4174 | typedef struct { | |
4175 | BOOLEAN AcOnLine; | |
4176 | BOOLEAN BatteryPresent; | |
4177 | BOOLEAN Charging; | |
4178 | BOOLEAN Discharging; | |
4179 | BOOLEAN Spare1[4]; | |
4180 | ULONG MaxCapacity; | |
4181 | ULONG RemainingCapacity; | |
4182 | ULONG Rate; | |
4183 | ULONG EstimatedTime; | |
4184 | ULONG DefaultAlert1; | |
4185 | ULONG DefaultAlert2; | |
4186 | } SYSTEM_BATTERY_STATE, | |
4187 | *PSYSTEM_BATTERY_STATE; | |
4188 | ||
4189 | typedef struct { | |
4190 | BOOLEAN PowerButtonPresent; | |
4191 | BOOLEAN SleepButtonPresent; | |
4192 | BOOLEAN LidPresent; | |
4193 | BOOLEAN SystemS1; | |
4194 | BOOLEAN SystemS2; | |
4195 | BOOLEAN SystemS3; | |
4196 | BOOLEAN SystemS4; | |
4197 | BOOLEAN SystemS5; | |
4198 | BOOLEAN HiberFilePresent; | |
4199 | BOOLEAN FullWake; | |
4200 | BOOLEAN VideoDimPresent; | |
4201 | BOOLEAN ApmPresent; | |
4202 | BOOLEAN UpsPresent; | |
4203 | BOOLEAN ThermalControl; | |
4204 | BOOLEAN ProcessorThrottle; | |
4205 | UCHAR ProcessorMinThrottle; | |
4206 | UCHAR ProcessorMaxThrottle; | |
4207 | UCHAR spare2[4]; | |
4208 | BOOLEAN DiskSpinDown; | |
4209 | UCHAR spare3[8]; | |
4210 | BOOLEAN SystemBatteriesPresent; | |
4211 | BOOLEAN BatteriesAreShortTerm; | |
4212 | BATTERY_REPORTING_SCALE BatteryScale[3]; | |
4213 | SYSTEM_POWER_STATE AcOnLineWake; | |
4214 | SYSTEM_POWER_STATE SoftLidWake; | |
4215 | SYSTEM_POWER_STATE RtcWake; | |
4216 | SYSTEM_POWER_STATE MinDeviceWakeState; | |
4217 | SYSTEM_POWER_STATE DefaultLowLatencyWake; | |
4218 | } SYSTEM_POWER_CAPABILITIES, | |
4219 | *PSYSTEM_POWER_CAPABILITIES; | |
4220 | ||
4221 | typedef struct _SYSTEM_POWER_INFORMATION { | |
4222 | ULONG MaxIdlenessAllowed; | |
4223 | ULONG Idleness; | |
4224 | ULONG TimeRemaining; | |
4225 | UCHAR CoolingMode; | |
4226 | } SYSTEM_POWER_INFORMATION, | |
4227 | *PSYSTEM_POWER_INFORMATION; | |
4228 | ||
4229 | typedef struct _SYSTEM_POWER_LEVEL { | |
4230 | BOOLEAN Enable; | |
4231 | UCHAR Spare[3]; | |
4232 | ULONG BatteryLevel; | |
4233 | POWER_ACTION_POLICY PowerPolicy; | |
4234 | SYSTEM_POWER_STATE MinSystemState; | |
4235 | } SYSTEM_POWER_LEVEL, | |
4236 | *PSYSTEM_POWER_LEVEL; | |
4237 | ||
4238 | typedef struct _SYSTEM_POWER_POLICY { | |
4239 | ULONG Revision; | |
4240 | POWER_ACTION_POLICY PowerButton; | |
4241 | POWER_ACTION_POLICY SleepButton; | |
4242 | POWER_ACTION_POLICY LidClose; | |
4243 | SYSTEM_POWER_STATE LidOpenWake; | |
4244 | ULONG Reserved; | |
4245 | POWER_ACTION_POLICY Idle; | |
4246 | ULONG IdleTimeout; | |
4247 | UCHAR IdleSensitivity; | |
4248 | UCHAR DynamicThrottle; | |
4249 | UCHAR Spare2[2]; | |
4250 | SYSTEM_POWER_STATE MinSleep; | |
4251 | SYSTEM_POWER_STATE MaxSleep; | |
4252 | SYSTEM_POWER_STATE ReducedLatencySleep; | |
4253 | ULONG WinLogonFlags; | |
4254 | ULONG Spare3; | |
4255 | ULONG DozeS4Timeout; | |
4256 | ULONG BroadcastCapacityResolution; | |
4257 | SYSTEM_POWER_LEVEL DischargePolicy[4]; | |
4258 | ULONG VideoTimeout; | |
4259 | BOOLEAN VideoDimDisplay; | |
4260 | ULONG VideoReserved[3]; | |
4261 | ULONG SpindownTimeout; | |
4262 | BOOLEAN OptimizeForPower; | |
4263 | UCHAR FanThrottleTolerance; | |
4264 | UCHAR ForcedThrottle; | |
4265 | UCHAR MinThrottle; | |
4266 | POWER_ACTION_POLICY OverThrottled; | |
4267 | } SYSTEM_POWER_POLICY, | |
4268 | *PSYSTEM_POWER_POLICY; | |
4269 | ||
4270 | typedef union _FILE_SEGMENT_ELEMENT { | |
4271 | PVOID64 Buffer; | |
4272 | ULONGLONG Alignment; | |
4273 | } FILE_SEGMENT_ELEMENT, *PFILE_SEGMENT_ELEMENT; | |
4274 | ||
4275 | typedef struct _FILE_NOTIFY_INFORMATION { | |
4276 | DWORD NextEntryOffset; | |
4277 | DWORD Action; | |
4278 | DWORD FileNameLength; | |
4279 | WCHAR FileName[1]; | |
4280 | } FILE_NOTIFY_INFORMATION, *PFILE_NOTIFY_INFORMATION; | |
4281 | # 4232 "../../../include/winnt.h" | |
4282 | typedef struct _TAPE_CREATE_PARTITION { | |
4283 | DWORD Method; | |
4284 | DWORD Count; | |
4285 | DWORD Size; | |
4286 | } TAPE_CREATE_PARTITION, *PTAPE_CREATE_PARTITION; | |
4287 | ||
4288 | typedef struct _TAPE_ERASE { | |
4289 | DWORD Type; | |
4290 | BOOLEAN Immediate; | |
4291 | } TAPE_ERASE, *PTAPE_ERASE; | |
4292 | ||
4293 | typedef struct _TAPE_PREPARE { | |
4294 | DWORD Operation; | |
4295 | BOOLEAN Immediate; | |
4296 | } TAPE_PREPARE, *PTAPE_PREPARE; | |
4297 | ||
4298 | typedef struct _TAPE_SET_DRIVE_PARAMETERS { | |
4299 | BOOLEAN ECC; | |
4300 | BOOLEAN Compression; | |
4301 | BOOLEAN DataPadding; | |
4302 | BOOLEAN ReportSetmarks; | |
4303 | ULONG EOTWarningZoneSize; | |
4304 | } TAPE_SET_DRIVE_PARAMETERS, *PTAPE_SET_DRIVE_PARAMETERS; | |
4305 | ||
4306 | typedef struct _TAPE_SET_MEDIA_PARAMETERS { | |
4307 | ULONG BlockSize; | |
4308 | } TAPE_SET_MEDIA_PARAMETERS, *PTAPE_SET_MEDIA_PARAMETERS; | |
4309 | ||
4310 | typedef struct _TAPE_WRITE_MARKS { | |
4311 | DWORD Type; | |
4312 | DWORD Count; | |
4313 | BOOLEAN Immediate; | |
4314 | } TAPE_WRITE_MARKS, *PTAPE_WRITE_MARKS; | |
4315 | ||
4316 | typedef struct _TAPE_GET_POSITION { | |
4317 | ULONG Type; | |
4318 | ULONG Partition; | |
4319 | ULONG OffsetLow; | |
4320 | ULONG OffsetHigh; | |
4321 | } TAPE_GET_POSITION, *PTAPE_GET_POSITION; | |
4322 | ||
4323 | typedef struct _TAPE_SET_POSITION { | |
4324 | ULONG Method; | |
4325 | ULONG Partition; | |
4326 | LARGE_INTEGER Offset; | |
4327 | BOOLEAN Immediate; | |
4328 | } TAPE_SET_POSITION, *PTAPE_SET_POSITION; | |
4329 | ||
4330 | typedef struct _TAPE_GET_DRIVE_PARAMETERS { | |
4331 | BOOLEAN ECC; | |
4332 | BOOLEAN Compression; | |
4333 | BOOLEAN DataPadding; | |
4334 | BOOLEAN ReportSetmarks; | |
4335 | DWORD DefaultBlockSize; | |
4336 | DWORD MaximumBlockSize; | |
4337 | DWORD MinimumBlockSize; | |
4338 | DWORD MaximumPartitionCount; | |
4339 | DWORD FeaturesLow; | |
4340 | DWORD FeaturesHigh; | |
4341 | DWORD EOTWarningZoneSize; | |
4342 | } TAPE_GET_DRIVE_PARAMETERS, *PTAPE_GET_DRIVE_PARAMETERS; | |
4343 | ||
4344 | typedef struct _TAPE_GET_MEDIA_PARAMETERS { | |
4345 | LARGE_INTEGER Capacity; | |
4346 | LARGE_INTEGER Remaining; | |
4347 | DWORD BlockSize; | |
4348 | DWORD PartitionCount; | |
4349 | BOOLEAN WriteProtected; | |
4350 | } TAPE_GET_MEDIA_PARAMETERS, *PTAPE_GET_MEDIA_PARAMETERS; | |
4351 | # 4407 "../../../include/winnt.h" | |
4352 | typedef enum _CM_SERVICE_NODE_TYPE | |
4353 | { | |
4354 | DriverType = 0x00000001, | |
4355 | FileSystemType = 0x00000002, | |
4356 | Win32ServiceOwnProcess = 0x00000010, | |
4357 | Win32ServiceShareProcess = 0x00000020, | |
4358 | AdapterType = 0x00000004, | |
4359 | RecognizerType = 0x00000008 | |
4360 | } SERVICE_NODE_TYPE; | |
4361 | ||
4362 | typedef enum _CM_SERVICE_LOAD_TYPE | |
4363 | { | |
4364 | BootLoad = 0x00000000, | |
4365 | SystemLoad = 0x00000001, | |
4366 | AutoLoad = 0x00000002, | |
4367 | DemandLoad = 0x00000003, | |
4368 | DisableLoad = 0x00000004 | |
4369 | } SERVICE_LOAD_TYPE; | |
4370 | ||
4371 | typedef enum _CM_ERROR_CONTROL_TYPE | |
4372 | { | |
4373 | IgnoreError = 0x00000000, | |
4374 | NormalError = 0x00000001, | |
4375 | SevereError = 0x00000002, | |
4376 | CriticalError = 0x00000003 | |
4377 | } SERVICE_ERROR_TYPE; | |
4378 | # 4442 "../../../include/winnt.h" | |
4379 | # 1 "../../../include/guiddef.h" 1 | |
4380 | # 21 "../../../include/guiddef.h" | |
4381 | typedef struct _GUID | |
4382 | { | |
4383 | unsigned long Data1; | |
4384 | unsigned short Data2; | |
4385 | unsigned short Data3; | |
4386 | unsigned char Data4[ 8 ]; | |
4387 | } GUID; | |
4388 | # 57 "../../../include/guiddef.h" | |
4389 | typedef GUID *LPGUID; | |
4390 | ||
4391 | ||
4392 | ||
4393 | ||
4394 | typedef const GUID *LPCGUID; | |
4395 | ||
4396 | ||
4397 | ||
4398 | ||
4399 | ||
4400 | typedef GUID IID,*LPIID; | |
4401 | typedef GUID CLSID,*LPCLSID; | |
4402 | typedef GUID FMTID,*LPFMTID; | |
4403 | # 116 "../../../include/guiddef.h" | |
4404 | extern const IID GUID_NULL; | |
4405 | # 4443 "../../../include/winnt.h" 2 | |
4406 | ||
4407 | typedef struct _OBJECT_TYPE_LIST { | |
4408 | WORD Level; | |
4409 | WORD Sbz; | |
4410 | GUID *ObjectType; | |
4411 | } OBJECT_TYPE_LIST, *POBJECT_TYPE_LIST; | |
4412 | ||
4413 | typedef struct _RTL_CRITICAL_SECTION_DEBUG | |
4414 | { | |
4415 | WORD Type; | |
4416 | WORD CreatorBackTraceIndex; | |
4417 | struct _RTL_CRITICAL_SECTION *CriticalSection; | |
4418 | LIST_ENTRY ProcessLocksList; | |
4419 | DWORD EntryCount; | |
4420 | DWORD ContentionCount; | |
4421 | ||
4422 | ||
4423 | ||
4424 | DWORD Spare[ 2 ]; | |
4425 | ||
4426 | } RTL_CRITICAL_SECTION_DEBUG, *PRTL_CRITICAL_SECTION_DEBUG, RTL_RESOURCE_DEBUG, *PRTL_RESOURCE_DEBUG; | |
4427 | ||
4428 | typedef struct _RTL_CRITICAL_SECTION { | |
4429 | PRTL_CRITICAL_SECTION_DEBUG DebugInfo; | |
4430 | LONG LockCount; | |
4431 | LONG RecursionCount; | |
4432 | HANDLE OwningThread; | |
4433 | HANDLE LockSemaphore; | |
4434 | ULONG_PTR SpinCount; | |
4435 | } RTL_CRITICAL_SECTION, *PRTL_CRITICAL_SECTION; | |
4436 | ||
4437 | typedef void (__attribute__((__stdcall__)) * WAITORTIMERCALLBACKFUNC) (PVOID, BOOLEAN ); | |
4438 | ||
4439 | # 1 "../../../include/pshpack8.h" 1 | |
4440 | # 105 "../../../include/pshpack8.h" | |
4441 | #pragma pack(8) | |
4442 | # 4477 "../../../include/winnt.h" 2 | |
4443 | typedef struct _IO_COUNTERS { | |
4444 | ULONGLONG __attribute__((aligned(8))) ReadOperationCount; | |
4445 | ULONGLONG __attribute__((aligned(8))) WriteOperationCount; | |
4446 | ULONGLONG __attribute__((aligned(8))) OtherOperationCount; | |
4447 | ULONGLONG __attribute__((aligned(8))) ReadTransferCount; | |
4448 | ULONGLONG __attribute__((aligned(8))) WriteTransferCount; | |
4449 | ULONGLONG __attribute__((aligned(8))) OtherTransferCount; | |
4450 | } IO_COUNTERS, *PIO_COUNTERS; | |
4451 | # 1 "../../../include/poppack.h" 1 | |
4452 | # 253 "../../../include/poppack.h" | |
4453 | #pragma pack() | |
4454 | # 4486 "../../../include/winnt.h" 2 | |
4455 | ||
4456 | typedef struct { | |
4457 | DWORD dwOSVersionInfoSize; | |
4458 | DWORD dwMajorVersion; | |
4459 | DWORD dwMinorVersion; | |
4460 | DWORD dwBuildNumber; | |
4461 | DWORD dwPlatformId; | |
4462 | CHAR szCSDVersion[128]; | |
4463 | } OSVERSIONINFOA, *POSVERSIONINFOA, *LPOSVERSIONINFOA; | |
4464 | ||
4465 | typedef struct { | |
4466 | DWORD dwOSVersionInfoSize; | |
4467 | DWORD dwMajorVersion; | |
4468 | DWORD dwMinorVersion; | |
4469 | DWORD dwBuildNumber; | |
4470 | DWORD dwPlatformId; | |
4471 | WCHAR szCSDVersion[128]; | |
4472 | } OSVERSIONINFOW, *POSVERSIONINFOW, *LPOSVERSIONINFOW, RTL_OSVERSIONINFOW, *PRTL_OSVERSIONINFOW; | |
4473 | ||
4474 | typedef OSVERSIONINFOA OSVERSIONINFO; | |
4475 | typedef POSVERSIONINFOA POSVERSIONINFO; | |
4476 | typedef LPOSVERSIONINFOA LPOSVERSIONINFO; | |
4477 | ||
4478 | typedef struct { | |
4479 | DWORD dwOSVersionInfoSize; | |
4480 | DWORD dwMajorVersion; | |
4481 | DWORD dwMinorVersion; | |
4482 | DWORD dwBuildNumber; | |
4483 | DWORD dwPlatformId; | |
4484 | CHAR szCSDVersion[128]; | |
4485 | WORD wServicePackMajor; | |
4486 | WORD wServicePackMinor; | |
4487 | WORD wSuiteMask; | |
4488 | BYTE wProductType; | |
4489 | BYTE wReserved; | |
4490 | } OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA; | |
4491 | ||
4492 | typedef struct { | |
4493 | DWORD dwOSVersionInfoSize; | |
4494 | DWORD dwMajorVersion; | |
4495 | DWORD dwMinorVersion; | |
4496 | DWORD dwBuildNumber; | |
4497 | DWORD dwPlatformId; | |
4498 | WCHAR szCSDVersion[128]; | |
4499 | WORD wServicePackMajor; | |
4500 | WORD wServicePackMinor; | |
4501 | WORD wSuiteMask; | |
4502 | BYTE wProductType; | |
4503 | BYTE wReserved; | |
4504 | } OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW, RTL_OSVERSIONINFOEXW, *PRTL_OSVERSIONINFOEXW; | |
4505 | ||
4506 | typedef OSVERSIONINFOEXA OSVERSIONINFOEX; | |
4507 | typedef POSVERSIONINFOEXA POSVERSIONINFOEX; | |
4508 | typedef LPOSVERSIONINFOEXA LPOSVERSIONINFOEX; | |
4509 | ||
4510 | ULONGLONG __attribute__((__stdcall__)) VerSetConditionMask(ULONGLONG,DWORD,BYTE); | |
4511 | # 235 "../../../include/windef.h" 2 | |
4512 | ||
4513 | ||
4514 | ||
4515 | typedef UINT_PTR WPARAM; | |
4516 | typedef LONG_PTR LPARAM; | |
4517 | typedef LONG_PTR LRESULT; | |
4518 | ||
4519 | ||
4520 | ||
4521 | typedef WORD ATOM; | |
4522 | typedef DWORD COLORREF, *LPCOLORREF; | |
4523 | ||
4524 | ||
4525 | ||
4526 | ||
4527 | typedef int HFILE; | |
4528 | typedef struct HACCEL__ { int unused; } *HACCEL; | |
4529 | typedef struct HBITMAP__ { int unused; } *HBITMAP; | |
4530 | typedef struct HBRUSH__ { int unused; } *HBRUSH; | |
4531 | typedef struct HCOLORSPACE__ { int unused; } *HCOLORSPACE; | |
4532 | typedef struct HDC__ { int unused; } *HDC; | |
4533 | typedef struct HDESK__ { int unused; } *HDESK; | |
4534 | typedef struct HENHMETAFILE__ { int unused; } *HENHMETAFILE; | |
4535 | typedef struct HFONT__ { int unused; } *HFONT; | |
4536 | typedef struct HGLRC__ { int unused; } *HGLRC; | |
4537 | typedef struct HHOOK__ { int unused; } *HHOOK; | |
4538 | typedef struct HICON__ { int unused; } *HICON; | |
4539 | typedef struct HINSTANCE__ { int unused; } *HINSTANCE; | |
4540 | typedef struct HKEY__ { int unused; } *HKEY; | |
4541 | typedef HKEY *PHKEY; | |
4542 | typedef struct HKL__ { int unused; } *HKL; | |
4543 | typedef struct HMENU__ { int unused; } *HMENU; | |
4544 | typedef struct HMETAFILE__ { int unused; } *HMETAFILE; | |
4545 | typedef struct HMONITOR__ { int unused; } *HMONITOR; | |
4546 | typedef struct HPALETTE__ { int unused; } *HPALETTE; | |
4547 | typedef struct HPEN__ { int unused; } *HPEN; | |
4548 | typedef struct HRGN__ { int unused; } *HRGN; | |
4549 | typedef struct HRSRC__ { int unused; } *HRSRC; | |
4550 | typedef struct HTASK__ { int unused; } *HTASK; | |
4551 | typedef struct HWINEVENTHOOK__ { int unused; } *HWINEVENTHOOK; | |
4552 | typedef struct HWINSTA__ { int unused; } *HWINSTA; | |
4553 | typedef struct HWND__ { int unused; } *HWND; | |
4554 | ||
4555 | ||
4556 | ||
4557 | typedef HINSTANCE HMODULE; | |
4558 | typedef HANDLE HGDIOBJ; | |
4559 | typedef HANDLE HGLOBAL; | |
4560 | typedef HANDLE HLOCAL; | |
4561 | typedef HANDLE GLOBALHANDLE; | |
4562 | typedef HANDLE LOCALHANDLE; | |
4563 | typedef HICON HCURSOR; | |
4564 | ||
4565 | ||
4566 | ||
4567 | typedef INT_PTR (__attribute__((__stdcall__)) *FARPROC)(); | |
4568 | typedef INT_PTR (__attribute__((__stdcall__)) *NEARPROC)(); | |
4569 | typedef INT_PTR (__attribute__((__stdcall__)) *PROC)(); | |
4570 | # 324 "../../../include/windef.h" | |
4571 | typedef struct tagSIZE | |
4572 | { | |
4573 | LONG cx; | |
4574 | LONG cy; | |
4575 | } SIZE, *PSIZE, *LPSIZE; | |
4576 | ||
4577 | typedef SIZE SIZEL, *PSIZEL, *LPSIZEL; | |
4578 | ||
4579 | ||
4580 | typedef struct tagPOINT | |
4581 | { | |
4582 | LONG x; | |
4583 | LONG y; | |
4584 | } POINT, *PPOINT, *LPPOINT; | |
4585 | ||
4586 | typedef struct _POINTL | |
4587 | { | |
4588 | LONG x; | |
4589 | LONG y; | |
4590 | } POINTL, *PPOINTL; | |
4591 | ||
4592 | ||
4593 | ||
4594 | typedef struct tagPOINTS | |
4595 | { | |
4596 | ||
4597 | ||
4598 | ||
4599 | ||
4600 | SHORT x; | |
4601 | SHORT y; | |
4602 | ||
4603 | } POINTS, *PPOINTS, *LPPOINTS; | |
4604 | ||
4605 | typedef struct _FILETIME { | |
4606 | ||
4607 | ||
4608 | ||
4609 | ||
4610 | DWORD dwLowDateTime; | |
4611 | DWORD dwHighDateTime; | |
4612 | ||
4613 | } FILETIME, *PFILETIME, *LPFILETIME; | |
4614 | ||
4615 | ||
4616 | ||
4617 | typedef struct tagRECT | |
4618 | { | |
4619 | LONG left; | |
4620 | LONG top; | |
4621 | LONG right; | |
4622 | LONG bottom; | |
4623 | } RECT, *PRECT, *LPRECT; | |
4624 | typedef const RECT *LPCRECT; | |
4625 | ||
4626 | typedef struct _RECTL | |
4627 | { | |
4628 | LONG left; | |
4629 | LONG top; | |
4630 | LONG right; | |
4631 | LONG bottom; | |
4632 | } RECTL, *PRECTL, *LPRECTL; | |
4633 | ||
4634 | typedef const RECTL *LPCRECTL; | |
4635 | # 29 "vartest.c" 2 | |
4636 | # 1 "../../../include/winbase.h" 1 | |
4637 | # 22 "../../../include/winbase.h" | |
4638 | # 1 "../../../include/winerror.h" 1 | |
4639 | # 23 "../../../include/winbase.h" 2 | |
4640 | # 32 "../../../include/winbase.h" | |
4641 | typedef DWORD (__attribute__((__stdcall__)) *LPTHREAD_START_ROUTINE)(LPVOID); | |
4642 | ||
4643 | typedef void (__attribute__((__stdcall__)) *PFIBER_START_ROUTINE)( LPVOID lpFiberParameter ); | |
4644 | typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE; | |
4645 | ||
4646 | typedef RTL_CRITICAL_SECTION CRITICAL_SECTION; | |
4647 | typedef PRTL_CRITICAL_SECTION PCRITICAL_SECTION; | |
4648 | typedef PRTL_CRITICAL_SECTION LPCRITICAL_SECTION; | |
4649 | ||
4650 | typedef RTL_CRITICAL_SECTION_DEBUG CRITICAL_SECTION_DEBUG; | |
4651 | typedef PRTL_CRITICAL_SECTION_DEBUG PCRITICAL_SECTION_DEBUG; | |
4652 | typedef PRTL_CRITICAL_SECTION_DEBUG LPCRITICAL_SECTION_DEBUG; | |
4653 | ||
4654 | typedef WAITORTIMERCALLBACKFUNC WAITORTIMERCALLBACK; | |
4655 | # 57 "../../../include/winbase.h" | |
4656 | typedef struct _EXCEPTION_DEBUG_INFO { | |
4657 | EXCEPTION_RECORD ExceptionRecord; | |
4658 | DWORD dwFirstChance; | |
4659 | } EXCEPTION_DEBUG_INFO; | |
4660 | ||
4661 | typedef struct _CREATE_THREAD_DEBUG_INFO { | |
4662 | HANDLE hThread; | |
4663 | LPVOID lpThreadLocalBase; | |
4664 | LPTHREAD_START_ROUTINE lpStartAddress; | |
4665 | } CREATE_THREAD_DEBUG_INFO; | |
4666 | ||
4667 | typedef struct _CREATE_PROCESS_DEBUG_INFO { | |
4668 | HANDLE hFile; | |
4669 | HANDLE hProcess; | |
4670 | HANDLE hThread; | |
4671 | LPVOID lpBaseOfImage; | |
4672 | DWORD dwDebugInfoFileOffset; | |
4673 | DWORD nDebugInfoSize; | |
4674 | LPVOID lpThreadLocalBase; | |
4675 | LPTHREAD_START_ROUTINE lpStartAddress; | |
4676 | LPVOID lpImageName; | |
4677 | WORD fUnicode; | |
4678 | } CREATE_PROCESS_DEBUG_INFO; | |
4679 | ||
4680 | typedef struct _EXIT_THREAD_DEBUG_INFO { | |
4681 | DWORD dwExitCode; | |
4682 | } EXIT_THREAD_DEBUG_INFO; | |
4683 | ||
4684 | typedef struct _EXIT_PROCESS_DEBUG_INFO { | |
4685 | DWORD dwExitCode; | |
4686 | } EXIT_PROCESS_DEBUG_INFO; | |
4687 | ||
4688 | typedef struct _LOAD_DLL_DEBUG_INFO { | |
4689 | HANDLE hFile; | |
4690 | LPVOID lpBaseOfDll; | |
4691 | DWORD dwDebugInfoFileOffset; | |
4692 | DWORD nDebugInfoSize; | |
4693 | LPVOID lpImageName; | |
4694 | WORD fUnicode; | |
4695 | } LOAD_DLL_DEBUG_INFO; | |
4696 | ||
4697 | typedef struct _UNLOAD_DLL_DEBUG_INFO { | |
4698 | LPVOID lpBaseOfDll; | |
4699 | } UNLOAD_DLL_DEBUG_INFO; | |
4700 | ||
4701 | typedef struct _OUTPUT_DEBUG_STRING_INFO { | |
4702 | LPSTR lpDebugStringData; | |
4703 | WORD fUnicode; | |
4704 | WORD nDebugStringLength; | |
4705 | } OUTPUT_DEBUG_STRING_INFO; | |
4706 | ||
4707 | typedef struct _RIP_INFO { | |
4708 | DWORD dwError; | |
4709 | DWORD dwType; | |
4710 | } RIP_INFO; | |
4711 | ||
4712 | typedef struct _DEBUG_EVENT { | |
4713 | DWORD dwDebugEventCode; | |
4714 | DWORD dwProcessId; | |
4715 | DWORD dwThreadId; | |
4716 | union { | |
4717 | EXCEPTION_DEBUG_INFO Exception; | |
4718 | CREATE_THREAD_DEBUG_INFO CreateThread; | |
4719 | CREATE_PROCESS_DEBUG_INFO CreateProcessInfo; | |
4720 | EXIT_THREAD_DEBUG_INFO ExitThread; | |
4721 | EXIT_PROCESS_DEBUG_INFO ExitProcess; | |
4722 | LOAD_DLL_DEBUG_INFO LoadDll; | |
4723 | UNLOAD_DLL_DEBUG_INFO UnloadDll; | |
4724 | OUTPUT_DEBUG_STRING_INFO DebugString; | |
4725 | RIP_INFO RipInfo; | |
4726 | } u; | |
4727 | } DEBUG_EVENT, *LPDEBUG_EVENT; | |
4728 | ||
4729 | typedef PCONTEXT LPCONTEXT; | |
4730 | typedef PEXCEPTION_RECORD LPEXCEPTION_RECORD; | |
4731 | typedef PEXCEPTION_POINTERS LPEXCEPTION_POINTERS; | |
4732 | ||
4733 | ||
4734 | typedef struct _OFSTRUCT | |
4735 | { | |
4736 | BYTE cBytes; | |
4737 | BYTE fFixedDisk; | |
4738 | WORD nErrCode; | |
4739 | WORD Reserved1; | |
4740 | WORD Reserved2; | |
4741 | CHAR szPathName[128]; | |
4742 | } OFSTRUCT, *POFSTRUCT, *LPOFSTRUCT; | |
4743 | # 199 "../../../include/winbase.h" | |
4744 | typedef struct _SECURITY_ATTRIBUTES | |
4745 | { | |
4746 | DWORD nLength; | |
4747 | LPVOID lpSecurityDescriptor; | |
4748 | BOOL bInheritHandle; | |
4749 | } SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES; | |
4750 | # 222 "../../../include/winbase.h" | |
4751 | typedef struct _WIN32_FIND_DATAA | |
4752 | { | |
4753 | DWORD dwFileAttributes; | |
4754 | FILETIME ftCreationTime; | |
4755 | FILETIME ftLastAccessTime; | |
4756 | FILETIME ftLastWriteTime; | |
4757 | DWORD nFileSizeHigh; | |
4758 | DWORD nFileSizeLow; | |
4759 | DWORD dwReserved0; | |
4760 | DWORD dwReserved1; | |
4761 | CHAR cFileName[260]; | |
4762 | CHAR cAlternateFileName[14]; | |
4763 | } WIN32_FIND_DATAA, *PWIN32_FIND_DATAA, *LPWIN32_FIND_DATAA; | |
4764 | ||
4765 | typedef struct _WIN32_FIND_DATAW | |
4766 | { | |
4767 | DWORD dwFileAttributes; | |
4768 | FILETIME ftCreationTime; | |
4769 | FILETIME ftLastAccessTime; | |
4770 | FILETIME ftLastWriteTime; | |
4771 | DWORD nFileSizeHigh; | |
4772 | DWORD nFileSizeLow; | |
4773 | DWORD dwReserved0; | |
4774 | DWORD dwReserved1; | |
4775 | WCHAR cFileName[260]; | |
4776 | WCHAR cAlternateFileName[14]; | |
4777 | } WIN32_FIND_DATAW, *PWIN32_FIND_DATAW, *LPWIN32_FIND_DATAW; | |
4778 | ||
4779 | typedef WIN32_FIND_DATAA WIN32_FIND_DATA; | |
4780 | typedef PWIN32_FIND_DATAA PWIN32_FIND_DATA; | |
4781 | typedef LPWIN32_FIND_DATAA LPWIN32_FIND_DATA; | |
4782 | ||
4783 | typedef enum _FINDEX_INFO_LEVELS | |
4784 | { | |
4785 | FindExInfoStandard, | |
4786 | FindExInfoMaxInfoLevel | |
4787 | } FINDEX_INFO_LEVELS; | |
4788 | ||
4789 | typedef enum _FINDEX_SEARCH_OPS | |
4790 | { | |
4791 | FindExSearchNameMatch, | |
4792 | FindExSearchLimitToDirectories, | |
4793 | FindExSearchLimitToDevices, | |
4794 | FindExSearchMaxSearchOp | |
4795 | } FINDEX_SEARCH_OPS; | |
4796 | ||
4797 | typedef struct _PROCESS_HEAP_ENTRY | |
4798 | { | |
4799 | LPVOID lpData; | |
4800 | DWORD cbData; | |
4801 | BYTE cbOverhead; | |
4802 | BYTE iRegionIndex; | |
4803 | WORD wFlags; | |
4804 | union { | |
4805 | struct { | |
4806 | HANDLE hMem; | |
4807 | DWORD dwReserved[3]; | |
4808 | } Block; | |
4809 | struct { | |
4810 | DWORD dwCommittedSize; | |
4811 | DWORD dwUnCommittedSize; | |
4812 | LPVOID lpFirstBlock; | |
4813 | LPVOID lpLastBlock; | |
4814 | } Region; | |
4815 | } ; | |
4816 | } PROCESS_HEAP_ENTRY, *PPROCESS_HEAP_ENTRY, *LPPROCESS_HEAP_ENTRY; | |
4817 | # 458 "../../../include/winbase.h" | |
4818 | typedef struct tagMEMORYSTATUS | |
4819 | { | |
4820 | DWORD dwLength; | |
4821 | DWORD dwMemoryLoad; | |
4822 | SIZE_T dwTotalPhys; | |
4823 | SIZE_T dwAvailPhys; | |
4824 | SIZE_T dwTotalPageFile; | |
4825 | SIZE_T dwAvailPageFile; | |
4826 | SIZE_T dwTotalVirtual; | |
4827 | SIZE_T dwAvailVirtual; | |
4828 | } MEMORYSTATUS, *LPMEMORYSTATUS; | |
4829 | ||
4830 | # 1 "../../../include/pshpack8.h" 1 | |
4831 | # 105 "../../../include/pshpack8.h" | |
4832 | #pragma pack(8) | |
4833 | # 471 "../../../include/winbase.h" 2 | |
4834 | typedef struct tagMEMORYSTATUSEX { | |
4835 | DWORD dwLength; | |
4836 | DWORD dwMemoryLoad; | |
4837 | DWORDLONG __attribute__((aligned(8))) ullTotalPhys; | |
4838 | DWORDLONG __attribute__((aligned(8))) ullAvailPhys; | |
4839 | DWORDLONG __attribute__((aligned(8))) ullTotalPageFile; | |
4840 | DWORDLONG __attribute__((aligned(8))) ullAvailPageFile; | |
4841 | DWORDLONG __attribute__((aligned(8))) ullTotalVirtual; | |
4842 | DWORDLONG __attribute__((aligned(8))) ullAvailVirtual; | |
4843 | DWORDLONG __attribute__((aligned(8))) ullAvailExtendedVirtual; | |
4844 | } MEMORYSTATUSEX, *LPMEMORYSTATUSEX; | |
4845 | # 1 "../../../include/poppack.h" 1 | |
4846 | # 253 "../../../include/poppack.h" | |
4847 | #pragma pack() | |
4848 | # 483 "../../../include/winbase.h" 2 | |
4849 | ||
4850 | ||
4851 | typedef struct _SYSTEMTIME{ | |
4852 | WORD wYear; | |
4853 | WORD wMonth; | |
4854 | WORD wDayOfWeek; | |
4855 | WORD wDay; | |
4856 | WORD wHour; | |
4857 | WORD wMinute; | |
4858 | WORD wSecond; | |
4859 | WORD wMilliseconds; | |
4860 | } SYSTEMTIME, *PSYSTEMTIME, *LPSYSTEMTIME; | |
4861 | ||
4862 | ||
4863 | ||
4864 | typedef struct _OVERLAPPED { | |
4865 | ||
4866 | ||
4867 | ||
4868 | ||
4869 | ULONG_PTR Internal; | |
4870 | ULONG_PTR InternalHigh; | |
4871 | ||
4872 | union { | |
4873 | struct { | |
4874 | ||
4875 | ||
4876 | ||
4877 | ||
4878 | DWORD Offset; | |
4879 | DWORD OffsetHigh; | |
4880 | ||
4881 | } ; | |
4882 | PVOID Pointer; | |
4883 | } ; | |
4884 | HANDLE hEvent; | |
4885 | } OVERLAPPED, *LPOVERLAPPED; | |
4886 | ||
4887 | typedef void (__attribute__((__stdcall__)) *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED); | |
4888 | # 538 "../../../include/winbase.h" | |
4889 | typedef struct _STARTUPINFOA{ | |
4890 | DWORD cb; | |
4891 | LPSTR lpReserved; | |
4892 | LPSTR lpDesktop; | |
4893 | LPSTR lpTitle; | |
4894 | DWORD dwX; | |
4895 | DWORD dwY; | |
4896 | DWORD dwXSize; | |
4897 | DWORD dwYSize; | |
4898 | DWORD dwXCountChars; | |
4899 | DWORD dwYCountChars; | |
4900 | DWORD dwFillAttribute; | |
4901 | DWORD dwFlags; | |
4902 | WORD wShowWindow; | |
4903 | WORD cbReserved2; | |
4904 | BYTE *lpReserved2; | |
4905 | HANDLE hStdInput; | |
4906 | HANDLE hStdOutput; | |
4907 | HANDLE hStdError; | |
4908 | } STARTUPINFOA, *LPSTARTUPINFOA; | |
4909 | ||
4910 | typedef struct _STARTUPINFOW{ | |
4911 | DWORD cb; | |
4912 | LPWSTR lpReserved; | |
4913 | LPWSTR lpDesktop; | |
4914 | LPWSTR lpTitle; | |
4915 | DWORD dwX; | |
4916 | DWORD dwY; | |
4917 | DWORD dwXSize; | |
4918 | DWORD dwYSize; | |
4919 | DWORD dwXCountChars; | |
4920 | DWORD dwYCountChars; | |
4921 | DWORD dwFillAttribute; | |
4922 | DWORD dwFlags; | |
4923 | WORD wShowWindow; | |
4924 | WORD cbReserved2; | |
4925 | BYTE *lpReserved2; | |
4926 | HANDLE hStdInput; | |
4927 | HANDLE hStdOutput; | |
4928 | HANDLE hStdError; | |
4929 | } STARTUPINFOW, *LPSTARTUPINFOW; | |
4930 | ||
4931 | typedef STARTUPINFOA STARTUPINFO; | |
4932 | typedef LPSTARTUPINFOA LPSTARTUPINFO; | |
4933 | ||
4934 | typedef struct _PROCESS_INFORMATION{ | |
4935 | HANDLE hProcess; | |
4936 | HANDLE hThread; | |
4937 | DWORD dwProcessId; | |
4938 | DWORD dwThreadId; | |
4939 | } PROCESS_INFORMATION, *PPROCESS_INFORMATION, *LPPROCESS_INFORMATION; | |
4940 | ||
4941 | typedef struct _TIME_ZONE_INFORMATION{ | |
4942 | LONG Bias; | |
4943 | WCHAR StandardName[32]; | |
4944 | SYSTEMTIME StandardDate; | |
4945 | LONG StandardBias; | |
4946 | WCHAR DaylightName[32]; | |
4947 | SYSTEMTIME DaylightDate; | |
4948 | LONG DaylightBias; | |
4949 | } TIME_ZONE_INFORMATION, *PTIME_ZONE_INFORMATION, *LPTIME_ZONE_INFORMATION; | |
4950 | # 673 "../../../include/winbase.h" | |
4951 | typedef struct _BY_HANDLE_FILE_INFORMATION | |
4952 | { | |
4953 | DWORD dwFileAttributes; | |
4954 | FILETIME ftCreationTime; | |
4955 | FILETIME ftLastAccessTime; | |
4956 | FILETIME ftLastWriteTime; | |
4957 | DWORD dwVolumeSerialNumber; | |
4958 | DWORD nFileSizeHigh; | |
4959 | DWORD nFileSizeLow; | |
4960 | DWORD nNumberOfLinks; | |
4961 | DWORD nFileIndexHigh; | |
4962 | DWORD nFileIndexLow; | |
4963 | } BY_HANDLE_FILE_INFORMATION, *PBY_HANDLE_FILE_INFORMATION, *LPBY_HANDLE_FILE_INFORMATION ; | |
4964 | # 707 "../../../include/winbase.h" | |
4965 | typedef struct _SYSTEM_POWER_STATUS | |
4966 | { | |
4967 | BYTE ACLineStatus; | |
4968 | BYTE BatteryFlag; | |
4969 | BYTE BatteryLifePercent; | |
4970 | BYTE Reserved1; | |
4971 | DWORD BatteryLifeTime; | |
4972 | DWORD BatteryFullLifeTime; | |
4973 | } SYSTEM_POWER_STATUS, *LPSYSTEM_POWER_STATUS; | |
4974 | ||
4975 | ||
4976 | typedef struct _SYSTEM_INFO | |
4977 | { | |
4978 | union { | |
4979 | DWORD dwOemId; | |
4980 | struct { | |
4981 | WORD wProcessorArchitecture; | |
4982 | WORD wReserved; | |
4983 | } ; | |
4984 | } ; | |
4985 | DWORD dwPageSize; | |
4986 | LPVOID lpMinimumApplicationAddress; | |
4987 | LPVOID lpMaximumApplicationAddress; | |
4988 | DWORD dwActiveProcessorMask; | |
4989 | DWORD dwNumberOfProcessors; | |
4990 | DWORD dwProcessorType; | |
4991 | DWORD dwAllocationGranularity; | |
4992 | WORD wProcessorLevel; | |
4993 | WORD wProcessorRevision; | |
4994 | } SYSTEM_INFO, *LPSYSTEM_INFO; | |
4995 | ||
4996 | typedef BOOL (__attribute__((__stdcall__)) *ENUMRESTYPEPROCA)(HMODULE,LPSTR,LONG_PTR); | |
4997 | typedef BOOL (__attribute__((__stdcall__)) *ENUMRESTYPEPROCW)(HMODULE,LPWSTR,LONG_PTR); | |
4998 | typedef BOOL (__attribute__((__stdcall__)) *ENUMRESNAMEPROCA)(HMODULE,LPCSTR,LPSTR,LONG_PTR); | |
4999 | typedef BOOL (__attribute__((__stdcall__)) *ENUMRESNAMEPROCW)(HMODULE,LPCWSTR,LPWSTR,LONG_PTR); | |
5000 | typedef BOOL (__attribute__((__stdcall__)) *ENUMRESLANGPROCA)(HMODULE,LPCSTR,LPCSTR,WORD,LONG_PTR); | |
5001 | typedef BOOL (__attribute__((__stdcall__)) *ENUMRESLANGPROCW)(HMODULE,LPCWSTR,LPCWSTR,WORD,LONG_PTR); | |
5002 | ||
5003 | typedef ENUMRESTYPEPROCA ENUMRESTYPEPROC; | |
5004 | typedef ENUMRESNAMEPROCA ENUMRESNAMEPROC; | |
5005 | typedef ENUMRESLANGPROCA ENUMRESLANGPROC; | |
5006 | # 758 "../../../include/winbase.h" | |
5007 | typedef PLDT_ENTRY LPLDT_ENTRY; | |
5008 | ||
5009 | typedef enum _GET_FILEEX_INFO_LEVELS { | |
5010 | GetFileExInfoStandard | |
5011 | } GET_FILEEX_INFO_LEVELS; | |
5012 | ||
5013 | typedef struct _WIN32_FILE_ATTRIBUTES_DATA { | |
5014 | DWORD dwFileAttributes; | |
5015 | FILETIME ftCreationTime; | |
5016 | FILETIME ftLastAccessTime; | |
5017 | FILETIME ftLastWriteTime; | |
5018 | DWORD nFileSizeHigh; | |
5019 | DWORD nFileSizeLow; | |
5020 | } WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA; | |
5021 | ||
5022 | ||
5023 | ||
5024 | ||
5025 | ||
5026 | typedef DWORD (__attribute__((__stdcall__)) *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER, | |
5027 | LARGE_INTEGER, DWORD, DWORD, HANDLE, | |
5028 | HANDLE, LPVOID); | |
5029 | # 885 "../../../include/winbase.h" | |
5030 | typedef struct tagACTCTXA { | |
5031 | ULONG cbSize; | |
5032 | DWORD dwFlags; | |
5033 | LPCSTR lpSource; | |
5034 | USHORT wProcessorArchitecture; | |
5035 | LANGID wLangId; | |
5036 | LPCSTR lpAssemblyDirectory; | |
5037 | LPCSTR lpResourceName; | |
5038 | LPCSTR lpApplicationName; | |
5039 | HMODULE hModule; | |
5040 | } ACTCTXA, *PACTCTXA; | |
5041 | ||
5042 | typedef struct tagACTCTXW { | |
5043 | ULONG cbSize; | |
5044 | DWORD dwFlags; | |
5045 | LPCWSTR lpSource; | |
5046 | USHORT wProcessorArchitecture; | |
5047 | LANGID wLangId; | |
5048 | LPCWSTR lpAssemblyDirectory; | |
5049 | LPCWSTR lpResourceName; | |
5050 | LPCWSTR lpApplicationName; | |
5051 | HMODULE hModule; | |
5052 | } ACTCTXW, *PACTCTXW; | |
5053 | ||
5054 | typedef ACTCTXA ACTCTX; | |
5055 | typedef PACTCTXA PACTCTX; | |
5056 | ||
5057 | typedef const ACTCTXA *PCACTCTXA; | |
5058 | typedef const ACTCTXW *PCACTCTXW; | |
5059 | typedef PCACTCTXA PCACTCTX; | |
5060 | ||
5061 | typedef struct tagACTCTX_SECTION_KEYED_DATA_2600 { | |
5062 | ULONG cbSize; | |
5063 | ULONG ulDataFormatVersion; | |
5064 | PVOID lpData; | |
5065 | ULONG ulLength; | |
5066 | PVOID lpSectionGlobalData; | |
5067 | ULONG ulSectionGlobalDataLength; | |
5068 | PVOID lpSectionBase; | |
5069 | ULONG ulSectionTotalLength; | |
5070 | HANDLE hActCtx; | |
5071 | ULONG ulAssemblyRosterIndex; | |
5072 | } ACTCTX_SECTION_KEYED_DATA_2600, *PACTCTX_SECTION_KEYED_DATA_2600; | |
5073 | typedef const ACTCTX_SECTION_KEYED_DATA_2600 *PCACTCTX_SECTION_KEYED_DATA_2600; | |
5074 | ||
5075 | typedef struct tagACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA { | |
5076 | PVOID lpInformation; | |
5077 | PVOID lpSectionBase; | |
5078 | ULONG ulSectionLength; | |
5079 | PVOID lpSectionGlobalDataBase; | |
5080 | ULONG ulSectionGlobalDataLength; | |
5081 | } ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA, *PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA; | |
5082 | typedef const ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA *PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA; | |
5083 | ||
5084 | typedef struct tagACTCTX_SECTION_KEYED_DATA { | |
5085 | ULONG cbSize; | |
5086 | ULONG ulDataFormatVersion; | |
5087 | PVOID lpData; | |
5088 | ULONG ulLength; | |
5089 | PVOID lpSectionGlobalData; | |
5090 | ULONG ulSectionGlobalDataLength; | |
5091 | PVOID lpSectionBase; | |
5092 | ULONG ulSectionTotalLength; | |
5093 | HANDLE hActCtx; | |
5094 | ULONG ulAssemblyRosterIndex; | |
5095 | ||
5096 | ||
5097 | ULONG ulFlags; | |
5098 | ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA AssemblyMetadata; | |
5099 | } ACTCTX_SECTION_KEYED_DATA, *PACTCTX_SECTION_KEYED_DATA; | |
5100 | typedef const ACTCTX_SECTION_KEYED_DATA *PCACTCTX_SECTION_KEYED_DATA; | |
5101 | ||
5102 | typedef struct _ACTIVATION_CONTEXT_BASIC_INFORMATION { | |
5103 | HANDLE hActCtx; | |
5104 | DWORD dwFlags; | |
5105 | } ACTIVATION_CONTEXT_BASIC_INFORMATION, *PACTIVATION_CONTEXT_BASIC_INFORMATION; | |
5106 | ||
5107 | typedef BOOL (__attribute__((__stdcall__)) *PQUERYACTCTXW_FUNC)(DWORD,HANDLE,PVOID,ULONG,PVOID,SIZE_T,SIZE_T *); | |
5108 | ||
5109 | typedef struct tagCOMSTAT | |
5110 | { | |
5111 | DWORD fCtsHold : 1; | |
5112 | DWORD fDsrHold : 1; | |
5113 | DWORD fRlsdHold : 1; | |
5114 | DWORD fXoffHold : 1; | |
5115 | DWORD fXoffSent : 1; | |
5116 | DWORD fEof : 1; | |
5117 | DWORD fTxim : 1; | |
5118 | DWORD fReserved : 25; | |
5119 | DWORD cbInQue; | |
5120 | DWORD cbOutQue; | |
5121 | } COMSTAT, *LPCOMSTAT; | |
5122 | ||
5123 | typedef struct tagDCB | |
5124 | { | |
5125 | DWORD DCBlength; | |
5126 | DWORD BaudRate; | |
5127 | unsigned fBinary :1; | |
5128 | unsigned fParity :1; | |
5129 | unsigned fOutxCtsFlow :1; | |
5130 | unsigned fOutxDsrFlow :1; | |
5131 | unsigned fDtrControl :2; | |
5132 | unsigned fDsrSensitivity :1; | |
5133 | unsigned fTXContinueOnXoff :1; | |
5134 | unsigned fOutX :1; | |
5135 | unsigned fInX :1; | |
5136 | unsigned fErrorChar :1; | |
5137 | unsigned fNull :1; | |
5138 | unsigned fRtsControl :2; | |
5139 | unsigned fAbortOnError :1; | |
5140 | unsigned fDummy2 :17; | |
5141 | WORD wReserved; | |
5142 | WORD XonLim; | |
5143 | WORD XoffLim; | |
5144 | BYTE ByteSize; | |
5145 | BYTE Parity; | |
5146 | BYTE StopBits; | |
5147 | char XonChar; | |
5148 | char XoffChar; | |
5149 | char ErrorChar; | |
5150 | char EofChar; | |
5151 | char EvtChar; | |
5152 | WORD wReserved1; | |
5153 | } DCB, *LPDCB; | |
5154 | ||
5155 | typedef struct tagCOMMCONFIG { | |
5156 | DWORD dwSize; | |
5157 | WORD wVersion; | |
5158 | WORD wReserved; | |
5159 | DCB dcb; | |
5160 | DWORD dwProviderSubType; | |
5161 | DWORD dwProviderOffset; | |
5162 | DWORD dwProviderSize; | |
5163 | DWORD wcProviderData[1]; | |
5164 | } COMMCONFIG, *LPCOMMCONFIG; | |
5165 | ||
5166 | typedef struct tagCOMMPROP { | |
5167 | WORD wPacketLength; | |
5168 | WORD wPacketVersion; | |
5169 | DWORD dwServiceMask; | |
5170 | DWORD dwReserved1; | |
5171 | DWORD dwMaxTxQueue; | |
5172 | DWORD dwMaxRxQueue; | |
5173 | DWORD dwMaxBaud; | |
5174 | DWORD dwProvSubType; | |
5175 | DWORD dwProvCapabilities; | |
5176 | DWORD dwSettableParams; | |
5177 | DWORD dwSettableBaud; | |
5178 | WORD wSettableData; | |
5179 | WORD wSettableStopParity; | |
5180 | DWORD dwCurrentTxQueue; | |
5181 | DWORD dwCurrentRxQueue; | |
5182 | DWORD dwProvSpec1; | |
5183 | DWORD dwProvSpec2; | |
5184 | WCHAR wcProvChar[1]; | |
5185 | } COMMPROP, *LPCOMMPROP; | |
5186 | # 1115 "../../../include/winbase.h" | |
5187 | typedef struct tagCOMMTIMEOUTS { | |
5188 | DWORD ReadIntervalTimeout; | |
5189 | DWORD ReadTotalTimeoutMultiplier; | |
5190 | DWORD ReadTotalTimeoutConstant; | |
5191 | DWORD WriteTotalTimeoutMultiplier; | |
5192 | DWORD WriteTotalTimeoutConstant; | |
5193 | } COMMTIMEOUTS,*LPCOMMTIMEOUTS; | |
5194 | ||
5195 | ||
5196 | ||
5197 | ||
5198 | ||
5199 | ||
5200 | typedef void (__attribute__((__stdcall__)) *PAPCFUNC)(ULONG_PTR); | |
5201 | typedef void (__attribute__((__stdcall__)) *PTIMERAPCROUTINE)(LPVOID,DWORD,DWORD); | |
5202 | ||
5203 | typedef enum _COMPUTER_NAME_FORMAT | |
5204 | { | |
5205 | ComputerNameNetBIOS, | |
5206 | ComputerNameDnsHostname, | |
5207 | ComputerNameDnsDomain, | |
5208 | ComputerNameDnsFullyQualified, | |
5209 | ComputerNamePhysicalNetBIOS, | |
5210 | ComputerNamePhysicalDnsHostname, | |
5211 | ComputerNamePhysicalDnsDomain, | |
5212 | ComputerNamePhysicalDnsFullyQualified, | |
5213 | ComputerNameMax | |
5214 | } COMPUTER_NAME_FORMAT; | |
5215 | # 1153 "../../../include/winbase.h" | |
5216 | typedef struct tagHW_PROFILE_INFOA { | |
5217 | DWORD dwDockInfo; | |
5218 | CHAR szHwProfileGuid[39]; | |
5219 | CHAR szHwProfileName[80]; | |
5220 | } HW_PROFILE_INFOA, *LPHW_PROFILE_INFOA; | |
5221 | ||
5222 | typedef struct tagHW_PROFILE_INFOW { | |
5223 | DWORD dwDockInfo; | |
5224 | WCHAR szHwProfileGuid[39]; | |
5225 | WCHAR szHwProfileName[80]; | |
5226 | } HW_PROFILE_INFOW, *LPHW_PROFILE_INFOW; | |
5227 | ||
5228 | typedef HW_PROFILE_INFOA HW_PROFILE_INFO; | |
5229 | typedef LPHW_PROFILE_INFOA LPHW_PROFILE_INFO; | |
5230 | # 1188 "../../../include/winbase.h" | |
5231 | # 1 "../../../include/pshpack8.h" 1 | |
5232 | # 105 "../../../include/pshpack8.h" | |
5233 | #pragma pack(8) | |
5234 | # 1189 "../../../include/winbase.h" 2 | |
5235 | typedef struct _WIN32_STREAM_ID { | |
5236 | DWORD dwStreamId; | |
5237 | DWORD dwStreamAttributes; | |
5238 | LARGE_INTEGER __attribute__((aligned(8))) Size; | |
5239 | DWORD dwStreamNameSize; | |
5240 | WCHAR cStreamName[1]; | |
5241 | } WIN32_STREAM_ID, *LPWIN32_STREAM_ID; | |
5242 | # 1 "../../../include/poppack.h" 1 | |
5243 | # 253 "../../../include/poppack.h" | |
5244 | #pragma pack() | |
5245 | # 1197 "../../../include/winbase.h" 2 | |
5246 | # 1217 "../../../include/winbase.h" | |
5247 | BOOL __attribute__((__stdcall__)) ActivateActCtx(HANDLE,ULONG_PTR *); | |
5248 | BOOL __attribute__((__stdcall__)) AddAccessAllowedAce(PACL,DWORD,DWORD,PSID); | |
5249 | BOOL __attribute__((__stdcall__)) AddAccessAllowedAceEx(PACL,DWORD,DWORD,DWORD,PSID); | |
5250 | BOOL __attribute__((__stdcall__)) AddAccessDeniedAce(PACL,DWORD,DWORD,PSID); | |
5251 | BOOL __attribute__((__stdcall__)) AddAccessDeniedAceEx(PACL,DWORD,DWORD,DWORD,PSID); | |
5252 | BOOL __attribute__((__stdcall__)) AddAce(PACL,DWORD,DWORD,LPVOID,DWORD); | |
5253 | ATOM __attribute__((__stdcall__)) AddAtomA(LPCSTR); | |
5254 | ATOM __attribute__((__stdcall__)) AddAtomW(LPCWSTR); | |
5255 | ||
5256 | BOOL __attribute__((__stdcall__)) AddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL); | |
5257 | void __attribute__((__stdcall__)) AddRefActCtx(HANDLE); | |
5258 | PVOID __attribute__((__stdcall__)) AddVectoredExceptionHandler(ULONG,PVECTORED_EXCEPTION_HANDLER); | |
5259 | BOOL __attribute__((__stdcall__)) AdjustTokenGroups(HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD); | |
5260 | BOOL __attribute__((__stdcall__)) AttachThreadInput(DWORD,DWORD,BOOL); | |
5261 | BOOL __attribute__((__stdcall__)) AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL); | |
5262 | BOOL __attribute__((__stdcall__)) AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL); | |
5263 | BOOL __attribute__((__stdcall__)) AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL); | |
5264 | ||
5265 | BOOL __attribute__((__stdcall__)) AccessCheckByType(PSECURITY_DESCRIPTOR,PSID,HANDLE,DWORD,POBJECT_TYPE_LIST,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL); | |
5266 | BOOL __attribute__((__stdcall__)) AdjustTokenPrivileges(HANDLE,BOOL,LPVOID,DWORD,LPVOID,LPDWORD); | |
5267 | BOOL __attribute__((__stdcall__)) AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *); | |
5268 | BOOL __attribute__((__stdcall__)) AllocateLocallyUniqueId(PLUID); | |
5269 | BOOL __attribute__((__stdcall__)) AreAllAccessesGranted(DWORD,DWORD); | |
5270 | BOOL __attribute__((__stdcall__)) AreAnyAccessesGranted(DWORD,DWORD); | |
5271 | BOOL __attribute__((__stdcall__)) AreFileApisANSI(void); | |
5272 | BOOL __attribute__((__stdcall__)) AssignProcessToJobObject(HANDLE,HANDLE); | |
5273 | BOOL __attribute__((__stdcall__)) BackupEventLogA(HANDLE,LPCSTR); | |
5274 | BOOL __attribute__((__stdcall__)) BackupEventLogW(HANDLE,LPCWSTR); | |
5275 | ||
5276 | BOOL __attribute__((__stdcall__)) BackupRead(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*); | |
5277 | BOOL __attribute__((__stdcall__)) BackupSeek(HANDLE,DWORD,DWORD,LPDWORD,LPDWORD,LPVOID*); | |
5278 | BOOL __attribute__((__stdcall__)) BackupWrite(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*); | |
5279 | BOOL __attribute__((__stdcall__)) Beep(DWORD,DWORD); | |
5280 | HANDLE __attribute__((__stdcall__)) BeginUpdateResourceA(LPCSTR,BOOL); | |
5281 | HANDLE __attribute__((__stdcall__)) BeginUpdateResourceW(LPCWSTR,BOOL); | |
5282 | ||
5283 | BOOL __attribute__((__stdcall__)) BindIoCompletionCallback(HANDLE,LPOVERLAPPED_COMPLETION_ROUTINE,ULONG); | |
5284 | BOOL __attribute__((__stdcall__)) BuildCommDCBA(LPCSTR,LPDCB); | |
5285 | BOOL __attribute__((__stdcall__)) BuildCommDCBW(LPCWSTR,LPDCB); | |
5286 | ||
5287 | BOOL __attribute__((__stdcall__)) BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS); | |
5288 | BOOL __attribute__((__stdcall__)) BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS); | |
5289 | ||
5290 | BOOL __attribute__((__stdcall__)) CallNamedPipeA(LPCSTR,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,DWORD); | |
5291 | BOOL __attribute__((__stdcall__)) CallNamedPipeW(LPCWSTR,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,DWORD); | |
5292 | ||
5293 | BOOL __attribute__((__stdcall__)) CancelIo(HANDLE); | |
5294 | BOOL __attribute__((__stdcall__)) CancelWaitableTimer(HANDLE); | |
5295 | BOOL __attribute__((__stdcall__)) CheckTokenMembership(HANDLE,PSID,PBOOL); | |
5296 | BOOL __attribute__((__stdcall__)) ClearCommBreak(HANDLE); | |
5297 | BOOL __attribute__((__stdcall__)) ClearCommError(HANDLE,LPDWORD,LPCOMSTAT); | |
5298 | BOOL __attribute__((__stdcall__)) ClearEventLogA(HANDLE,LPCSTR); | |
5299 | BOOL __attribute__((__stdcall__)) ClearEventLogW(HANDLE,LPCWSTR); | |
5300 | ||
5301 | BOOL __attribute__((__stdcall__)) CloseEventLog(HANDLE); | |
5302 | BOOL __attribute__((__stdcall__)) CloseHandle(HANDLE); | |
5303 | BOOL __attribute__((__stdcall__)) CommConfigDialogA(LPCSTR,HWND,LPCOMMCONFIG); | |
5304 | BOOL __attribute__((__stdcall__)) CommConfigDialogW(LPCWSTR,HWND,LPCOMMCONFIG); | |
5305 | ||
5306 | BOOL __attribute__((__stdcall__)) ConnectNamedPipe(HANDLE,LPOVERLAPPED); | |
5307 | BOOL __attribute__((__stdcall__)) ContinueDebugEvent(DWORD,DWORD,DWORD); | |
5308 | HANDLE __attribute__((__stdcall__)) ConvertToGlobalHandle(HANDLE hSrc); | |
5309 | BOOL __attribute__((__stdcall__)) CopyFileA(LPCSTR,LPCSTR,BOOL); | |
5310 | BOOL __attribute__((__stdcall__)) CopyFileW(LPCWSTR,LPCWSTR,BOOL); | |
5311 | ||
5312 | BOOL __attribute__((__stdcall__)) CopyFileExA(LPCSTR, LPCSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD); | |
5313 | BOOL __attribute__((__stdcall__)) CopyFileExW(LPCWSTR, LPCWSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD); | |
5314 | ||
5315 | BOOL __attribute__((__stdcall__)) CopySid(DWORD,PSID,PSID); | |
5316 | INT __attribute__((__stdcall__)) CompareFileTime(const FILETIME*,const FILETIME*); | |
5317 | BOOL __attribute__((__stdcall__)) ConvertFiberToThread(void); | |
5318 | LPVOID __attribute__((__stdcall__)) ConvertThreadToFiber(LPVOID); | |
5319 | LPVOID __attribute__((__stdcall__)) ConvertThreadToFiberEx(LPVOID,DWORD); | |
5320 | HANDLE __attribute__((__stdcall__)) CreateActCtxA(PCACTCTXA); | |
5321 | HANDLE __attribute__((__stdcall__)) CreateActCtxW(PCACTCTXW); | |
5322 | ||
5323 | BOOL __attribute__((__stdcall__)) CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES); | |
5324 | BOOL __attribute__((__stdcall__)) CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES); | |
5325 | ||
5326 | BOOL __attribute__((__stdcall__)) CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES); | |
5327 | BOOL __attribute__((__stdcall__)) CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES); | |
5328 | ||
5329 | HANDLE __attribute__((__stdcall__)) CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR); | |
5330 | HANDLE __attribute__((__stdcall__)) CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR); | |
5331 | ||
5332 | LPVOID __attribute__((__stdcall__)) CreateFiber(SIZE_T,LPFIBER_START_ROUTINE,LPVOID); | |
5333 | LPVOID __attribute__((__stdcall__)) CreateFiberEx(SIZE_T,SIZE_T,DWORD,LPFIBER_START_ROUTINE,LPVOID); | |
5334 | HANDLE __attribute__((__stdcall__)) CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); | |
5335 | HANDLE __attribute__((__stdcall__)) CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); | |
5336 | ||
5337 | HANDLE __attribute__((__stdcall__)) CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR); | |
5338 | HANDLE __attribute__((__stdcall__)) CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR); | |
5339 | ||
5340 | HANDLE __attribute__((__stdcall__)) CreateIoCompletionPort(HANDLE,HANDLE,ULONG_PTR,DWORD); | |
5341 | HANDLE __attribute__((__stdcall__)) CreateJobObjectA(LPSECURITY_ATTRIBUTES,LPCSTR); | |
5342 | HANDLE __attribute__((__stdcall__)) CreateJobObjectW(LPSECURITY_ATTRIBUTES,LPCWSTR); | |
5343 | ||
5344 | HANDLE __attribute__((__stdcall__)) CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); | |
5345 | HANDLE __attribute__((__stdcall__)) CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); | |
5346 | ||
5347 | HANDLE __attribute__((__stdcall__)) CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); | |
5348 | HANDLE __attribute__((__stdcall__)) CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); | |
5349 | ||
5350 | HANDLE __attribute__((__stdcall__)) CreateNamedPipeA(LPCSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); | |
5351 | HANDLE __attribute__((__stdcall__)) CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); | |
5352 | ||
5353 | BOOL __attribute__((__stdcall__)) CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD); | |
5354 | BOOL __attribute__((__stdcall__)) CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR, | |
5355 | PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING); | |
5356 | BOOL __attribute__((__stdcall__)) CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES, | |
5357 | LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCSTR, | |
5358 | LPSTARTUPINFOA,LPPROCESS_INFORMATION); | |
5359 | BOOL __attribute__((__stdcall__)) CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES, | |
5360 | LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCWSTR, | |
5361 | LPSTARTUPINFOW,LPPROCESS_INFORMATION); | |
5362 | ||
5363 | BOOL __attribute__((__stdcall__)) CreateProcessAsUserA(HANDLE,LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES, | |
5364 | BOOL,DWORD,LPVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION); | |
5365 | BOOL __attribute__((__stdcall__)) CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES, | |
5366 | BOOL,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); | |
5367 | ||
5368 | HANDLE __attribute__((__stdcall__)) CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD); | |
5369 | HANDLE __attribute__((__stdcall__)) CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR); | |
5370 | HANDLE __attribute__((__stdcall__)) CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR); | |
5371 | ||
5372 | DWORD __attribute__((__stdcall__)) CreateTapePartition(HANDLE,DWORD,DWORD,DWORD); | |
5373 | HANDLE __attribute__((__stdcall__)) CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD); | |
5374 | HANDLE __attribute__((__stdcall__)) CreateTimerQueue(void); | |
5375 | BOOL __attribute__((__stdcall__)) CreateTimerQueueTimer(PHANDLE,HANDLE,WAITORTIMERCALLBACK,PVOID,DWORD,DWORD,ULONG); | |
5376 | HANDLE __attribute__((__stdcall__)) CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); | |
5377 | HANDLE __attribute__((__stdcall__)) CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); | |
5378 | ||
5379 | BOOL __attribute__((__stdcall__)) CreateWellKnownSid(WELL_KNOWN_SID_TYPE,PSID,PSID,DWORD*); | |
5380 | BOOL __attribute__((__stdcall__)) DeactivateActCtx(DWORD,ULONG_PTR); | |
5381 | BOOL __attribute__((__stdcall__)) DebugActiveProcess(DWORD); | |
5382 | BOOL __attribute__((__stdcall__)) DebugActiveProcessStop(DWORD); | |
5383 | void __attribute__((__stdcall__)) DebugBreak(void); | |
5384 | BOOL __attribute__((__stdcall__)) DebugBreakProcess(HANDLE); | |
5385 | BOOL __attribute__((__stdcall__)) DebugSetProcessKillOnExit(BOOL); | |
5386 | BOOL __attribute__((__stdcall__)) DecryptFileA(LPCSTR,DWORD); | |
5387 | BOOL __attribute__((__stdcall__)) DecryptFileW(LPCWSTR,DWORD); | |
5388 | ||
5389 | BOOL __attribute__((__stdcall__)) DefineDosDeviceA(DWORD,LPCSTR,LPCSTR); | |
5390 | BOOL __attribute__((__stdcall__)) DefineDosDeviceW(DWORD,LPCWSTR,LPCWSTR); | |
5391 | ||
5392 | ||
5393 | BOOL __attribute__((__stdcall__)) DeleteAce(PACL,DWORD); | |
5394 | ATOM __attribute__((__stdcall__)) DeleteAtom(ATOM); | |
5395 | void __attribute__((__stdcall__)) DeleteCriticalSection(CRITICAL_SECTION *lpCrit); | |
5396 | void __attribute__((__stdcall__)) DeleteFiber(LPVOID); | |
5397 | BOOL __attribute__((__stdcall__)) DeleteFileA(LPCSTR); | |
5398 | BOOL __attribute__((__stdcall__)) DeleteFileW(LPCWSTR); | |
5399 | ||
5400 | BOOL __attribute__((__stdcall__)) DeleteTimerQueueEx(HANDLE,HANDLE); | |
5401 | BOOL __attribute__((__stdcall__)) DeleteTimerQueueTimer(HANDLE,HANDLE,HANDLE); | |
5402 | BOOL __attribute__((__stdcall__)) DeleteVolumeMountPointA(LPCSTR); | |
5403 | BOOL __attribute__((__stdcall__)) DeleteVolumeMountPointW(LPCWSTR); | |
5404 | ||
5405 | BOOL __attribute__((__stdcall__)) DeregisterEventSource(HANDLE); | |
5406 | BOOL __attribute__((__stdcall__)) DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR*); | |
5407 | BOOL __attribute__((__stdcall__)) DeviceIoControl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED); | |
5408 | BOOL __attribute__((__stdcall__)) DisableThreadLibraryCalls(HMODULE); | |
5409 | BOOL __attribute__((__stdcall__)) DisconnectNamedPipe(HANDLE); | |
5410 | BOOL __attribute__((__stdcall__)) DnsHostnameToComputerNameA(LPCSTR,LPSTR,LPDWORD); | |
5411 | BOOL __attribute__((__stdcall__)) DnsHostnameToComputerNameW(LPCWSTR,LPWSTR,LPDWORD); | |
5412 | ||
5413 | BOOL __attribute__((__stdcall__)) DosDateTimeToFileTime(WORD,WORD,LPFILETIME); | |
5414 | BOOL __attribute__((__stdcall__)) DuplicateHandle(HANDLE,HANDLE,HANDLE,HANDLE*,DWORD,BOOL,DWORD); | |
5415 | BOOL __attribute__((__stdcall__)) DuplicateToken(HANDLE,SECURITY_IMPERSONATION_LEVEL,PHANDLE); | |
5416 | BOOL __attribute__((__stdcall__)) DuplicateTokenEx(HANDLE,DWORD,LPSECURITY_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL, | |
5417 | TOKEN_TYPE,PHANDLE); | |
5418 | BOOL __attribute__((__stdcall__)) EscapeCommFunction(HANDLE,UINT); | |
5419 | BOOL __attribute__((__stdcall__)) EncryptFileA(LPCSTR); | |
5420 | BOOL __attribute__((__stdcall__)) EncryptFileW(LPCWSTR); | |
5421 | ||
5422 | BOOL __attribute__((__stdcall__)) EndUpdateResourceA(HANDLE,BOOL); | |
5423 | BOOL __attribute__((__stdcall__)) EndUpdateResourceW(HANDLE,BOOL); | |
5424 | ||
5425 | void __attribute__((__stdcall__)) EnterCriticalSection(CRITICAL_SECTION *lpCrit); | |
5426 | BOOL __attribute__((__stdcall__)) EnumResourceLanguagesA(HMODULE,LPCSTR,LPCSTR,ENUMRESLANGPROCA,LONG_PTR); | |
5427 | BOOL __attribute__((__stdcall__)) EnumResourceLanguagesW(HMODULE,LPCWSTR,LPCWSTR,ENUMRESLANGPROCW,LONG_PTR); | |
5428 | ||
5429 | BOOL __attribute__((__stdcall__)) EnumResourceNamesA(HMODULE,LPCSTR,ENUMRESNAMEPROCA,LONG_PTR); | |
5430 | BOOL __attribute__((__stdcall__)) EnumResourceNamesW(HMODULE,LPCWSTR,ENUMRESNAMEPROCW,LONG_PTR); | |
5431 | ||
5432 | BOOL __attribute__((__stdcall__)) EnumResourceTypesA(HMODULE,ENUMRESTYPEPROCA,LONG_PTR); | |
5433 | BOOL __attribute__((__stdcall__)) EnumResourceTypesW(HMODULE,ENUMRESTYPEPROCW,LONG_PTR); | |
5434 | ||
5435 | BOOL __attribute__((__stdcall__)) EqualSid(PSID, PSID); | |
5436 | BOOL __attribute__((__stdcall__)) EqualPrefixSid(PSID,PSID); | |
5437 | DWORD __attribute__((__stdcall__)) EraseTape(HANDLE,DWORD,BOOL); | |
5438 | void __attribute__((noreturn)) __attribute__((__stdcall__)) ExitProcess(DWORD); | |
5439 | void __attribute__((noreturn)) __attribute__((__stdcall__)) ExitThread(DWORD); | |
5440 | DWORD __attribute__((__stdcall__)) ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD); | |
5441 | DWORD __attribute__((__stdcall__)) ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD); | |
5442 | ||
5443 | void __attribute__((__stdcall__)) FatalAppExitA(UINT,LPCSTR); | |
5444 | void __attribute__((__stdcall__)) FatalAppExitW(UINT,LPCWSTR); | |
5445 | void __attribute__((__stdcall__)) FatalExit(int); | |
5446 | ||
5447 | BOOL __attribute__((__stdcall__)) FileEncryptionStatusA(LPCSTR,LPDWORD); | |
5448 | BOOL __attribute__((__stdcall__)) FileEncryptionStatusW(LPCWSTR,LPDWORD); | |
5449 | ||
5450 | BOOL __attribute__((__stdcall__)) FileTimeToDosDateTime(const FILETIME*,LPWORD,LPWORD); | |
5451 | BOOL __attribute__((__stdcall__)) FileTimeToLocalFileTime(const FILETIME*,LPFILETIME); | |
5452 | BOOL __attribute__((__stdcall__)) FileTimeToSystemTime(const FILETIME*,LPSYSTEMTIME); | |
5453 | BOOL __attribute__((__stdcall__)) FindActCtxSectionStringA(DWORD,const GUID *,ULONG,LPCSTR,PACTCTX_SECTION_KEYED_DATA); | |
5454 | BOOL __attribute__((__stdcall__)) FindActCtxSectionStringW(DWORD,const GUID *,ULONG,LPCWSTR,PACTCTX_SECTION_KEYED_DATA); | |
5455 | ||
5456 | BOOL __attribute__((__stdcall__)) FindActCtxSectionGuid(DWORD,const GUID *,ULONG,const GUID *,PACTCTX_SECTION_KEYED_DATA); | |
5457 | ATOM __attribute__((__stdcall__)) FindAtomA(LPCSTR); | |
5458 | ATOM __attribute__((__stdcall__)) FindAtomW(LPCWSTR); | |
5459 | ||
5460 | BOOL __attribute__((__stdcall__)) FindClose(HANDLE); | |
5461 | HANDLE __attribute__((__stdcall__)) FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD); | |
5462 | HANDLE __attribute__((__stdcall__)) FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD); | |
5463 | ||
5464 | HANDLE __attribute__((__stdcall__)) FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA); | |
5465 | HANDLE __attribute__((__stdcall__)) FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW); | |
5466 | ||
5467 | HANDLE __attribute__((__stdcall__)) FindFirstFileExA(LPCSTR,FINDEX_INFO_LEVELS,LPVOID,FINDEX_SEARCH_OPS,LPVOID,DWORD); | |
5468 | HANDLE __attribute__((__stdcall__)) FindFirstFileExW(LPCWSTR,FINDEX_INFO_LEVELS,LPVOID,FINDEX_SEARCH_OPS,LPVOID,DWORD); | |
5469 | ||
5470 | BOOL __attribute__((__stdcall__)) FindFirstFreeAce(PACL,LPVOID*); | |
5471 | BOOL __attribute__((__stdcall__)) FindNextChangeNotification(HANDLE); | |
5472 | BOOL __attribute__((__stdcall__)) FindNextFileA(HANDLE,LPWIN32_FIND_DATAA); | |
5473 | BOOL __attribute__((__stdcall__)) FindNextFileW(HANDLE,LPWIN32_FIND_DATAW); | |
5474 | ||
5475 | BOOL __attribute__((__stdcall__)) FindCloseChangeNotification(HANDLE); | |
5476 | HRSRC __attribute__((__stdcall__)) FindResourceA(HMODULE,LPCSTR,LPCSTR); | |
5477 | HRSRC __attribute__((__stdcall__)) FindResourceW(HMODULE,LPCWSTR,LPCWSTR); | |
5478 | ||
5479 | HRSRC __attribute__((__stdcall__)) FindResourceExA(HMODULE,LPCSTR,LPCSTR,WORD); | |
5480 | HRSRC __attribute__((__stdcall__)) FindResourceExW(HMODULE,LPCWSTR,LPCWSTR,WORD); | |
5481 | ||
5482 | HANDLE __attribute__((__stdcall__)) FindFirstVolumeA(LPSTR,DWORD); | |
5483 | HANDLE __attribute__((__stdcall__)) FindFirstVolumeW(LPWSTR,DWORD); | |
5484 | ||
5485 | HANDLE __attribute__((__stdcall__)) FindFirstVolumeMountPointA(LPCSTR,LPSTR,DWORD); | |
5486 | HANDLE __attribute__((__stdcall__)) FindFirstVolumeMountPointW(LPCWSTR,LPWSTR,DWORD); | |
5487 | ||
5488 | BOOL __attribute__((__stdcall__)) FindNextVolumeA(HANDLE,LPSTR,DWORD); | |
5489 | BOOL __attribute__((__stdcall__)) FindNextVolumeW(HANDLE,LPWSTR,DWORD); | |
5490 | ||
5491 | BOOL __attribute__((__stdcall__)) FindNextVolumeMountPointA(HANDLE,LPSTR,DWORD); | |
5492 | BOOL __attribute__((__stdcall__)) FindNextVolumeMountPointW(HANDLE,LPWSTR,DWORD); | |
5493 | ||
5494 | BOOL __attribute__((__stdcall__)) FindVolumeClose(HANDLE); | |
5495 | BOOL __attribute__((__stdcall__)) FindVolumeMountPointClose(HANDLE); | |
5496 | BOOL __attribute__((__stdcall__)) FlushFileBuffers(HANDLE); | |
5497 | BOOL __attribute__((__stdcall__)) FlushInstructionCache(HANDLE,LPCVOID,SIZE_T); | |
5498 | BOOL __attribute__((__stdcall__)) FlushViewOfFile(LPCVOID,SIZE_T); | |
5499 | DWORD __attribute__((__stdcall__)) FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,DWORD,va_list*); | |
5500 | DWORD __attribute__((__stdcall__)) FormatMessageW(DWORD,LPCVOID,DWORD,DWORD,LPWSTR,DWORD,va_list*); | |
5501 | ||
5502 | BOOL __attribute__((__stdcall__)) FreeEnvironmentStringsA(LPSTR); | |
5503 | BOOL __attribute__((__stdcall__)) FreeEnvironmentStringsW(LPWSTR); | |
5504 | ||
5505 | BOOL __attribute__((__stdcall__)) FreeLibrary(HMODULE); | |
5506 | void __attribute__((__stdcall__)) FreeLibraryAndExitThread(HINSTANCE,DWORD); | |
5507 | ||
5508 | ||
5509 | BOOL __attribute__((__stdcall__)) FreeResource(HGLOBAL); | |
5510 | PVOID __attribute__((__stdcall__)) FreeSid(PSID); | |
5511 | BOOL __attribute__((__stdcall__)) GetAce(PACL,DWORD,LPVOID*); | |
5512 | BOOL __attribute__((__stdcall__)) GetAclInformation(PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS); | |
5513 | UINT __attribute__((__stdcall__)) GetAtomNameA(ATOM,LPSTR,INT); | |
5514 | UINT __attribute__((__stdcall__)) GetAtomNameW(ATOM,LPWSTR,INT); | |
5515 | ||
5516 | BOOL __attribute__((__stdcall__)) GetBinaryTypeA( LPCSTR lpApplicationName, LPDWORD lpBinaryType ); | |
5517 | BOOL __attribute__((__stdcall__)) GetBinaryTypeW( LPCWSTR lpApplicationName, LPDWORD lpBinaryType ); | |
5518 | ||
5519 | BOOL __attribute__((__stdcall__)) GetCurrentActCtx(HANDLE *); | |
5520 | BOOL __attribute__((__stdcall__)) GetCommConfig(HANDLE,LPCOMMCONFIG,LPDWORD); | |
5521 | BOOL __attribute__((__stdcall__)) GetCommMask(HANDLE,LPDWORD); | |
5522 | BOOL __attribute__((__stdcall__)) GetCommModemStatus(HANDLE,LPDWORD); | |
5523 | BOOL __attribute__((__stdcall__)) GetCommProperties(HANDLE,LPCOMMPROP); | |
5524 | BOOL __attribute__((__stdcall__)) GetCommState(HANDLE,LPDCB); | |
5525 | BOOL __attribute__((__stdcall__)) GetCommTimeouts(HANDLE,LPCOMMTIMEOUTS); | |
5526 | LPSTR __attribute__((__stdcall__)) GetCommandLineA(void); | |
5527 | LPWSTR __attribute__((__stdcall__)) GetCommandLineW(void); | |
5528 | ||
5529 | DWORD __attribute__((__stdcall__)) GetCompressedFileSizeA(LPCSTR,LPDWORD); | |
5530 | DWORD __attribute__((__stdcall__)) GetCompressedFileSizeW(LPCWSTR,LPDWORD); | |
5531 | ||
5532 | BOOL __attribute__((__stdcall__)) GetComputerNameA(LPSTR,LPDWORD); | |
5533 | BOOL __attribute__((__stdcall__)) GetComputerNameW(LPWSTR,LPDWORD); | |
5534 | ||
5535 | BOOL __attribute__((__stdcall__)) GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD); | |
5536 | BOOL __attribute__((__stdcall__)) GetComputerNameExW(COMPUTER_NAME_FORMAT,LPWSTR,LPDWORD); | |
5537 | ||
5538 | UINT __attribute__((__stdcall__)) GetCurrentDirectoryA(UINT,LPSTR); | |
5539 | UINT __attribute__((__stdcall__)) GetCurrentDirectoryW(UINT,LPWSTR); | |
5540 | ||
5541 | BOOL __attribute__((__stdcall__)) GetCurrentHwProfileA(LPHW_PROFILE_INFOA); | |
5542 | BOOL __attribute__((__stdcall__)) GetCurrentHwProfileW(LPHW_PROFILE_INFOW); | |
5543 | ||
5544 | HANDLE __attribute__((__stdcall__)) GetCurrentProcess(void); | |
5545 | HANDLE __attribute__((__stdcall__)) GetCurrentThread(void); | |
5546 | ||
5547 | BOOL __attribute__((__stdcall__)) GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,LPDWORD); | |
5548 | BOOL __attribute__((__stdcall__)) GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,LPDWORD); | |
5549 | ||
5550 | BOOL __attribute__((__stdcall__)) GetDevicePowerState(HANDLE,BOOL*); | |
5551 | BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceA(LPCSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD); | |
5552 | BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceW(LPCWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD); | |
5553 | ||
5554 | BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); | |
5555 | BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceExW(LPCWSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); | |
5556 | ||
5557 | DWORD __attribute__((__stdcall__)) GetDllDirectoryA(DWORD,LPSTR); | |
5558 | DWORD __attribute__((__stdcall__)) GetDllDirectoryW(DWORD,LPWSTR); | |
5559 | ||
5560 | UINT __attribute__((__stdcall__)) GetDriveTypeA(LPCSTR); | |
5561 | UINT __attribute__((__stdcall__)) GetDriveTypeW(LPCWSTR); | |
5562 | ||
5563 | LPSTR __attribute__((__stdcall__)) GetEnvironmentStringsA(void); | |
5564 | LPWSTR __attribute__((__stdcall__)) GetEnvironmentStringsW(void); | |
5565 | ||
5566 | DWORD __attribute__((__stdcall__)) GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD); | |
5567 | DWORD __attribute__((__stdcall__)) GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD); | |
5568 | ||
5569 | BOOL __attribute__((__stdcall__)) GetExitCodeProcess(HANDLE,LPDWORD); | |
5570 | BOOL __attribute__((__stdcall__)) GetExitCodeThread(HANDLE,LPDWORD); | |
5571 | DWORD __attribute__((__stdcall__)) GetFileAttributesA(LPCSTR); | |
5572 | DWORD __attribute__((__stdcall__)) GetFileAttributesW(LPCWSTR); | |
5573 | ||
5574 | BOOL __attribute__((__stdcall__)) GetFileAttributesExA(LPCSTR,GET_FILEEX_INFO_LEVELS,LPVOID); | |
5575 | BOOL __attribute__((__stdcall__)) GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,LPVOID); | |
5576 | ||
5577 | BOOL __attribute__((__stdcall__)) GetFileInformationByHandle(HANDLE,BY_HANDLE_FILE_INFORMATION*); | |
5578 | BOOL __attribute__((__stdcall__)) GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); | |
5579 | BOOL __attribute__((__stdcall__)) GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); | |
5580 | ||
5581 | DWORD __attribute__((__stdcall__)) GetFileSize(HANDLE,LPDWORD); | |
5582 | BOOL __attribute__((__stdcall__)) GetFileSizeEx(HANDLE,PLARGE_INTEGER); | |
5583 | BOOL __attribute__((__stdcall__)) GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME); | |
5584 | DWORD __attribute__((__stdcall__)) GetFileType(HANDLE); | |
5585 | ||
5586 | DWORD __attribute__((__stdcall__)) GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*); | |
5587 | DWORD __attribute__((__stdcall__)) GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*); | |
5588 | ||
5589 | BOOL __attribute__((__stdcall__)) GetHandleInformation(HANDLE,LPDWORD); | |
5590 | BOOL __attribute__((__stdcall__)) GetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); | |
5591 | DWORD __attribute__((__stdcall__)) GetLengthSid(PSID); | |
5592 | void __attribute__((__stdcall__)) GetLocalTime(LPSYSTEMTIME); | |
5593 | DWORD __attribute__((__stdcall__)) GetLogicalDrives(void); | |
5594 | UINT __attribute__((__stdcall__)) GetLogicalDriveStringsA(UINT,LPSTR); | |
5595 | UINT __attribute__((__stdcall__)) GetLogicalDriveStringsW(UINT,LPWSTR); | |
5596 | ||
5597 | DWORD __attribute__((__stdcall__)) GetLongPathNameA(LPCSTR,LPSTR,DWORD); | |
5598 | DWORD __attribute__((__stdcall__)) GetLongPathNameW(LPCWSTR,LPWSTR,DWORD); | |
5599 | ||
5600 | BOOL __attribute__((__stdcall__)) GetMailslotInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD); | |
5601 | DWORD __attribute__((__stdcall__)) GetModuleFileNameA(HMODULE,LPSTR,DWORD); | |
5602 | DWORD __attribute__((__stdcall__)) GetModuleFileNameW(HMODULE,LPWSTR,DWORD); | |
5603 | ||
5604 | HMODULE __attribute__((__stdcall__)) GetModuleHandleA(LPCSTR); | |
5605 | HMODULE __attribute__((__stdcall__)) GetModuleHandleW(LPCWSTR); | |
5606 | ||
5607 | BOOL __attribute__((__stdcall__)) GetModuleHandleExA(DWORD,LPCSTR,HMODULE*); | |
5608 | BOOL __attribute__((__stdcall__)) GetModuleHandleExW(DWORD,LPCWSTR,HMODULE*); | |
5609 | ||
5610 | BOOL __attribute__((__stdcall__)) GetNamedPipeHandleStateA(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD); | |
5611 | BOOL __attribute__((__stdcall__)) GetNamedPipeHandleStateW(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD); | |
5612 | ||
5613 | BOOL __attribute__((__stdcall__)) GetNamedPipeInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD); | |
5614 | void __attribute__((__stdcall__)) GetNativeSystemInfo(LPSYSTEM_INFO); | |
5615 | BOOL __attribute__((__stdcall__)) GetNumberOfEventLogRecords(HANDLE,PDWORD); | |
5616 | BOOL __attribute__((__stdcall__)) GetOldestEventLogRecord(HANDLE,PDWORD); | |
5617 | BOOL __attribute__((__stdcall__)) GetOverlappedResult(HANDLE,LPOVERLAPPED,LPDWORD,BOOL); | |
5618 | DWORD __attribute__((__stdcall__)) GetPriorityClass(HANDLE); | |
5619 | BOOL __attribute__((__stdcall__)) GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); | |
5620 | UINT __attribute__((__stdcall__)) GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR); | |
5621 | UINT __attribute__((__stdcall__)) GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR); | |
5622 | ||
5623 | INT __attribute__((__stdcall__)) GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR); | |
5624 | INT __attribute__((__stdcall__)) GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR); | |
5625 | ||
5626 | DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR); | |
5627 | DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR); | |
5628 | ||
5629 | INT __attribute__((__stdcall__)) GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT,LPCSTR); | |
5630 | INT __attribute__((__stdcall__)) GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT,LPCWSTR); | |
5631 | ||
5632 | BOOL __attribute__((__stdcall__)) GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR); | |
5633 | BOOL __attribute__((__stdcall__)) GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR); | |
5634 | ||
5635 | FARPROC __attribute__((__stdcall__)) GetProcAddress(HMODULE,LPCSTR); | |
5636 | BOOL __attribute__((__stdcall__)) GetProcessAffinityMask(HANDLE,PDWORD_PTR,PDWORD_PTR); | |
5637 | DWORD __attribute__((__stdcall__)) GetProcessHeaps(DWORD,PHANDLE); | |
5638 | DWORD __attribute__((__stdcall__)) GetProcessId(HANDLE); | |
5639 | BOOL __attribute__((__stdcall__)) GetProcessIoCounters(HANDLE,PIO_COUNTERS); | |
5640 | BOOL __attribute__((__stdcall__)) GetProcessPriorityBoost(HANDLE,PBOOL); | |
5641 | BOOL __attribute__((__stdcall__)) GetProcessShutdownParameters(LPDWORD,LPDWORD); | |
5642 | BOOL __attribute__((__stdcall__)) GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME); | |
5643 | DWORD __attribute__((__stdcall__)) GetProcessVersion(DWORD); | |
5644 | BOOL __attribute__((__stdcall__)) GetProcessWorkingSetSize(HANDLE,PSIZE_T,PSIZE_T); | |
5645 | UINT __attribute__((__stdcall__)) GetProfileIntA(LPCSTR,LPCSTR,INT); | |
5646 | UINT __attribute__((__stdcall__)) GetProfileIntW(LPCWSTR,LPCWSTR,INT); | |
5647 | ||
5648 | INT __attribute__((__stdcall__)) GetProfileSectionA(LPCSTR,LPSTR,DWORD); | |
5649 | INT __attribute__((__stdcall__)) GetProfileSectionW(LPCWSTR,LPWSTR,DWORD); | |
5650 | ||
5651 | INT __attribute__((__stdcall__)) GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT); | |
5652 | INT __attribute__((__stdcall__)) GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT); | |
5653 | ||
5654 | BOOL __attribute__((__stdcall__)) GetQueuedCompletionStatus(HANDLE,LPDWORD,PULONG_PTR,LPOVERLAPPED*,DWORD); | |
5655 | BOOL __attribute__((__stdcall__)) GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR_CONTROL,LPDWORD); | |
5656 | BOOL __attribute__((__stdcall__)) GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL *,LPBOOL); | |
5657 | BOOL __attribute__((__stdcall__)) GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID *,LPBOOL); | |
5658 | DWORD __attribute__((__stdcall__)) GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR); | |
5659 | BOOL __attribute__((__stdcall__)) GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID *,LPBOOL); | |
5660 | BOOL __attribute__((__stdcall__)) GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL *,LPBOOL); | |
5661 | PSID_IDENTIFIER_AUTHORITY __attribute__((__stdcall__)) GetSidIdentifierAuthority(PSID); | |
5662 | DWORD __attribute__((__stdcall__)) GetSidLengthRequired(BYTE); | |
5663 | PDWORD __attribute__((__stdcall__)) GetSidSubAuthority(PSID,DWORD); | |
5664 | PUCHAR __attribute__((__stdcall__)) GetSidSubAuthorityCount(PSID); | |
5665 | DWORD __attribute__((__stdcall__)) GetShortPathNameA(LPCSTR,LPSTR,DWORD); | |
5666 | DWORD __attribute__((__stdcall__)) GetShortPathNameW(LPCWSTR,LPWSTR,DWORD); | |
5667 | ||
5668 | void __attribute__((__stdcall__)) GetStartupInfoA(LPSTARTUPINFOA); | |
5669 | void __attribute__((__stdcall__)) GetStartupInfoW(LPSTARTUPINFOW); | |
5670 | ||
5671 | HANDLE __attribute__((__stdcall__)) GetStdHandle(DWORD); | |
5672 | UINT __attribute__((__stdcall__)) GetSystemDirectoryA(LPSTR,UINT); | |
5673 | UINT __attribute__((__stdcall__)) GetSystemDirectoryW(LPWSTR,UINT); | |
5674 | ||
5675 | void __attribute__((__stdcall__)) GetSystemInfo(LPSYSTEM_INFO); | |
5676 | BOOL __attribute__((__stdcall__)) GetSystemPowerStatus(LPSYSTEM_POWER_STATUS); | |
5677 | void __attribute__((__stdcall__)) GetSystemTime(LPSYSTEMTIME); | |
5678 | BOOL __attribute__((__stdcall__)) GetSystemTimeAdjustment(PDWORD,PDWORD,PBOOL); | |
5679 | void __attribute__((__stdcall__)) GetSystemTimeAsFileTime(LPFILETIME); | |
5680 | UINT __attribute__((__stdcall__)) GetSystemWindowsDirectoryA(LPSTR,UINT); | |
5681 | UINT __attribute__((__stdcall__)) GetSystemWindowsDirectoryW(LPWSTR,UINT); | |
5682 | ||
5683 | DWORD __attribute__((__stdcall__)) GetTapeParameters(HANDLE,DWORD,LPDWORD,LPVOID); | |
5684 | DWORD __attribute__((__stdcall__)) GetTapePosition(HANDLE,DWORD,LPDWORD,LPDWORD,LPDWORD); | |
5685 | DWORD __attribute__((__stdcall__)) GetTapeStatus(HANDLE); | |
5686 | UINT __attribute__((__stdcall__)) GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR); | |
5687 | UINT __attribute__((__stdcall__)) GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR); | |
5688 | ||
5689 | DWORD __attribute__((__stdcall__)) GetTempPathA(DWORD,LPSTR); | |
5690 | DWORD __attribute__((__stdcall__)) GetTempPathW(DWORD,LPWSTR); | |
5691 | ||
5692 | DWORD __attribute__((__stdcall__)) GetTickCount(void); | |
5693 | DWORD __attribute__((__stdcall__)) GetTimeZoneInformation(LPTIME_ZONE_INFORMATION); | |
5694 | BOOL __attribute__((__stdcall__)) GetThreadContext(HANDLE,CONTEXT *); | |
5695 | INT __attribute__((__stdcall__)) GetThreadPriority(HANDLE); | |
5696 | BOOL __attribute__((__stdcall__)) GetThreadPriorityBoost(HANDLE,PBOOL); | |
5697 | BOOL __attribute__((__stdcall__)) GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY); | |
5698 | BOOL __attribute__((__stdcall__)) GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME); | |
5699 | BOOL __attribute__((__stdcall__)) GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD,LPDWORD); | |
5700 | BOOL __attribute__((__stdcall__)) GetUserNameA(LPSTR,LPDWORD); | |
5701 | BOOL __attribute__((__stdcall__)) GetUserNameW(LPWSTR,LPDWORD); | |
5702 | ||
5703 | DWORD __attribute__((__stdcall__)) GetVersion(void); | |
5704 | BOOL __attribute__((__stdcall__)) GetVersionExA(OSVERSIONINFOA*); | |
5705 | BOOL __attribute__((__stdcall__)) GetVersionExW(OSVERSIONINFOW*); | |
5706 | ||
5707 | BOOL __attribute__((__stdcall__)) GetVolumeInformationA(LPCSTR,LPSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD); | |
5708 | BOOL __attribute__((__stdcall__)) GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD); | |
5709 | ||
5710 | BOOL __attribute__((__stdcall__)) GetVolumeNameForVolumeMountPointA(LPCSTR,LPSTR,DWORD); | |
5711 | BOOL __attribute__((__stdcall__)) GetVolumeNameForVolumeMountPointW(LPCWSTR,LPWSTR,DWORD); | |
5712 | ||
5713 | BOOL __attribute__((__stdcall__)) GetVolumePathNameA(LPCSTR,LPSTR,DWORD); | |
5714 | BOOL __attribute__((__stdcall__)) GetVolumePathNameW(LPCWSTR,LPWSTR,DWORD); | |
5715 | ||
5716 | BOOL __attribute__((__stdcall__)) GetVolumePathNamesForVolumeNameA(LPCSTR,LPSTR,DWORD,PDWORD); | |
5717 | BOOL __attribute__((__stdcall__)) GetVolumePathNamesForVolumeNameW(LPCWSTR,LPWSTR,DWORD,PDWORD); | |
5718 | ||
5719 | UINT __attribute__((__stdcall__)) GetWindowsDirectoryA(LPSTR,UINT); | |
5720 | UINT __attribute__((__stdcall__)) GetWindowsDirectoryW(LPWSTR,UINT); | |
5721 | ||
5722 | ATOM __attribute__((__stdcall__)) GlobalAddAtomA(LPCSTR); | |
5723 | ATOM __attribute__((__stdcall__)) GlobalAddAtomW(LPCWSTR); | |
5724 | ||
5725 | HGLOBAL __attribute__((__stdcall__)) GlobalAlloc(UINT,SIZE_T); | |
5726 | SIZE_T __attribute__((__stdcall__)) GlobalCompact(DWORD); | |
5727 | ATOM __attribute__((__stdcall__)) GlobalDeleteAtom(ATOM); | |
5728 | ATOM __attribute__((__stdcall__)) GlobalFindAtomA(LPCSTR); | |
5729 | ATOM __attribute__((__stdcall__)) GlobalFindAtomW(LPCWSTR); | |
5730 | ||
5731 | void __attribute__((__stdcall__)) GlobalFix(HGLOBAL); | |
5732 | UINT __attribute__((__stdcall__)) GlobalFlags(HGLOBAL); | |
5733 | HGLOBAL __attribute__((__stdcall__)) GlobalFree(HGLOBAL); | |
5734 | UINT __attribute__((__stdcall__)) GlobalGetAtomNameA(ATOM,LPSTR,INT); | |
5735 | UINT __attribute__((__stdcall__)) GlobalGetAtomNameW(ATOM,LPWSTR,INT); | |
5736 | ||
5737 | HGLOBAL __attribute__((__stdcall__)) GlobalHandle(LPCVOID); | |
5738 | LPVOID __attribute__((__stdcall__)) GlobalLock(HGLOBAL); | |
5739 | void __attribute__((__stdcall__)) GlobalMemoryStatus(LPMEMORYSTATUS); | |
5740 | BOOL __attribute__((__stdcall__)) GlobalMemoryStatusEx(LPMEMORYSTATUSEX); | |
5741 | HGLOBAL __attribute__((__stdcall__)) GlobalReAlloc(HGLOBAL,SIZE_T,UINT); | |
5742 | SIZE_T __attribute__((__stdcall__)) GlobalSize(HGLOBAL); | |
5743 | void __attribute__((__stdcall__)) GlobalUnfix(HGLOBAL); | |
5744 | BOOL __attribute__((__stdcall__)) GlobalUnlock(HGLOBAL); | |
5745 | BOOL __attribute__((__stdcall__)) GlobalUnWire(HGLOBAL); | |
5746 | LPVOID __attribute__((__stdcall__)) GlobalWire(HGLOBAL); | |
5747 | ||
5748 | LPVOID __attribute__((__stdcall__)) HeapAlloc(HANDLE,DWORD,SIZE_T); | |
5749 | SIZE_T __attribute__((__stdcall__)) HeapCompact(HANDLE,DWORD); | |
5750 | HANDLE __attribute__((__stdcall__)) HeapCreate(DWORD,SIZE_T,SIZE_T); | |
5751 | BOOL __attribute__((__stdcall__)) HeapDestroy(HANDLE); | |
5752 | BOOL __attribute__((__stdcall__)) HeapFree(HANDLE,DWORD,LPVOID); | |
5753 | BOOL __attribute__((__stdcall__)) HeapLock(HANDLE); | |
5754 | LPVOID __attribute__((__stdcall__)) HeapReAlloc(HANDLE,DWORD,LPVOID,SIZE_T); | |
5755 | SIZE_T __attribute__((__stdcall__)) HeapSize(HANDLE,DWORD,LPVOID); | |
5756 | BOOL __attribute__((__stdcall__)) HeapUnlock(HANDLE); | |
5757 | BOOL __attribute__((__stdcall__)) HeapValidate(HANDLE,DWORD,LPCVOID); | |
5758 | BOOL __attribute__((__stdcall__)) HeapWalk(HANDLE,LPPROCESS_HEAP_ENTRY); | |
5759 | BOOL __attribute__((__stdcall__)) InitAtomTable(DWORD); | |
5760 | BOOL __attribute__((__stdcall__)) InitializeAcl(PACL,DWORD,DWORD); | |
5761 | void __attribute__((__stdcall__)) InitializeCriticalSection(CRITICAL_SECTION *lpCrit); | |
5762 | BOOL __attribute__((__stdcall__)) InitializeCriticalSectionAndSpinCount(CRITICAL_SECTION *,DWORD); | |
5763 | BOOL __attribute__((__stdcall__)) InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD); | |
5764 | BOOL __attribute__((__stdcall__)) InitializeSid(PSID,PSID_IDENTIFIER_AUTHORITY,BYTE); | |
5765 | BOOL __attribute__((__stdcall__)) IsBadCodePtr(FARPROC); | |
5766 | BOOL __attribute__((__stdcall__)) IsBadHugeReadPtr(LPCVOID,UINT); | |
5767 | BOOL __attribute__((__stdcall__)) IsBadHugeWritePtr(LPVOID,UINT); | |
5768 | BOOL __attribute__((__stdcall__)) IsBadReadPtr(LPCVOID,UINT); | |
5769 | BOOL __attribute__((__stdcall__)) IsBadStringPtrA(LPCSTR,UINT); | |
5770 | BOOL __attribute__((__stdcall__)) IsBadStringPtrW(LPCWSTR,UINT); | |
5771 | ||
5772 | BOOL __attribute__((__stdcall__)) IsBadWritePtr(LPVOID,UINT); | |
5773 | BOOL __attribute__((__stdcall__)) IsDebuggerPresent(void); | |
5774 | BOOL __attribute__((__stdcall__)) IsSystemResumeAutomatic(void); | |
5775 | BOOL __attribute__((__stdcall__)) IsTextUnicode(LPCVOID,INT,LPINT); | |
5776 | BOOL __attribute__((__stdcall__)) IsTokenRestricted(HANDLE); | |
5777 | BOOL __attribute__((__stdcall__)) IsValidAcl(PACL); | |
5778 | BOOL __attribute__((__stdcall__)) IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR); | |
5779 | BOOL __attribute__((__stdcall__)) IsValidSid(PSID); | |
5780 | BOOL __attribute__((__stdcall__)) IsWellKnownSid(PSID,WELL_KNOWN_SID_TYPE); | |
5781 | BOOL __attribute__((__stdcall__)) IsWow64Process(HANDLE,PBOOL); | |
5782 | BOOL __attribute__((__stdcall__)) ImpersonateLoggedOnUser(HANDLE); | |
5783 | BOOL __attribute__((__stdcall__)) ImpersonateNamedPipeClient(HANDLE); | |
5784 | BOOL __attribute__((__stdcall__)) ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL); | |
5785 | BOOL __attribute__((__stdcall__)) IsProcessorFeaturePresent(DWORD); | |
5786 | void __attribute__((__stdcall__)) LeaveCriticalSection(CRITICAL_SECTION *lpCrit); | |
5787 | HMODULE __attribute__((__stdcall__)) LoadLibraryA(LPCSTR); | |
5788 | HMODULE __attribute__((__stdcall__)) LoadLibraryW(LPCWSTR); | |
5789 | ||
5790 | HMODULE __attribute__((__stdcall__)) LoadLibraryExA(LPCSTR,HANDLE,DWORD); | |
5791 | HMODULE __attribute__((__stdcall__)) LoadLibraryExW(LPCWSTR,HANDLE,DWORD); | |
5792 | ||
5793 | HINSTANCE __attribute__((__stdcall__)) LoadModule(LPCSTR,LPVOID); | |
5794 | HGLOBAL __attribute__((__stdcall__)) LoadResource(HMODULE,HRSRC); | |
5795 | HLOCAL __attribute__((__stdcall__)) LocalAlloc(UINT,SIZE_T); | |
5796 | SIZE_T __attribute__((__stdcall__)) LocalCompact(UINT); | |
5797 | UINT __attribute__((__stdcall__)) LocalFlags(HLOCAL); | |
5798 | HLOCAL __attribute__((__stdcall__)) LocalFree(HLOCAL); | |
5799 | HLOCAL __attribute__((__stdcall__)) LocalHandle(LPCVOID); | |
5800 | LPVOID __attribute__((__stdcall__)) LocalLock(HLOCAL); | |
5801 | HLOCAL __attribute__((__stdcall__)) LocalReAlloc(HLOCAL,SIZE_T,UINT); | |
5802 | SIZE_T __attribute__((__stdcall__)) LocalShrink(HGLOBAL,UINT); | |
5803 | SIZE_T __attribute__((__stdcall__)) LocalSize(HLOCAL); | |
5804 | BOOL __attribute__((__stdcall__)) LocalUnlock(HLOCAL); | |
5805 | LPVOID __attribute__((__stdcall__)) LockResource(HGLOBAL); | |
5806 | ||
5807 | BOOL __attribute__((__stdcall__)) LookupAccountNameA(LPCSTR,LPCSTR,PSID,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE); | |
5808 | BOOL __attribute__((__stdcall__)) LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE); | |
5809 | ||
5810 | BOOL __attribute__((__stdcall__)) LookupAccountSidA(LPCSTR,PSID,LPSTR,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE); | |
5811 | BOOL __attribute__((__stdcall__)) LookupAccountSidW(LPCWSTR,PSID,LPWSTR,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE); | |
5812 | ||
5813 | BOOL __attribute__((__stdcall__)) LocalFileTimeToFileTime(const FILETIME*,LPFILETIME); | |
5814 | BOOL __attribute__((__stdcall__)) LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); | |
5815 | BOOL __attribute__((__stdcall__)) LockFileEx(HANDLE, DWORD, DWORD, DWORD, DWORD, LPOVERLAPPED); | |
5816 | BOOL __attribute__((__stdcall__)) LogonUserA(LPCSTR,LPCSTR,LPCSTR,DWORD,DWORD,PHANDLE); | |
5817 | BOOL __attribute__((__stdcall__)) LogonUserW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,PHANDLE); | |
5818 | ||
5819 | BOOL __attribute__((__stdcall__)) LookupPrivilegeDisplayNameA(LPCSTR,LPCSTR,LPSTR,LPDWORD,LPDWORD); | |
5820 | BOOL __attribute__((__stdcall__)) LookupPrivilegeDisplayNameW(LPCWSTR,LPCWSTR,LPWSTR,LPDWORD,LPDWORD); | |
5821 | ||
5822 | BOOL __attribute__((__stdcall__)) LookupPrivilegeNameA(LPCSTR,PLUID,LPSTR,LPDWORD); | |
5823 | BOOL __attribute__((__stdcall__)) LookupPrivilegeNameW(LPCWSTR,PLUID,LPWSTR,LPDWORD); | |
5824 | ||
5825 | BOOL __attribute__((__stdcall__)) LookupPrivilegeValueA(LPCSTR,LPCSTR,PLUID); | |
5826 | BOOL __attribute__((__stdcall__)) LookupPrivilegeValueW(LPCWSTR,LPCWSTR,PLUID); | |
5827 | ||
5828 | BOOL __attribute__((__stdcall__)) MakeAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD, | |
5829 | PACL,LPDWORD,PACL,LPDWORD,PSID,LPDWORD,PSID,LPDWORD); | |
5830 | void __attribute__((__stdcall__)) MakeCriticalSectionGlobal(CRITICAL_SECTION *lpCrit); | |
5831 | ||
5832 | BOOL __attribute__((__stdcall__)) MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD); | |
5833 | void __attribute__((__stdcall__)) MapGenericMask(PDWORD,PGENERIC_MAPPING); | |
5834 | HMODULE __attribute__((__stdcall__)) MapHModuleSL(WORD); | |
5835 | WORD __attribute__((__stdcall__)) MapHModuleLS(HMODULE); | |
5836 | LPVOID __attribute__((__stdcall__)) MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,SIZE_T); | |
5837 | LPVOID __attribute__((__stdcall__)) MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,SIZE_T,LPVOID); | |
5838 | BOOL __attribute__((__stdcall__)) MoveFileA(LPCSTR,LPCSTR); | |
5839 | BOOL __attribute__((__stdcall__)) MoveFileW(LPCWSTR,LPCWSTR); | |
5840 | ||
5841 | BOOL __attribute__((__stdcall__)) MoveFileExA(LPCSTR,LPCSTR,DWORD); | |
5842 | BOOL __attribute__((__stdcall__)) MoveFileExW(LPCWSTR,LPCWSTR,DWORD); | |
5843 | ||
5844 | INT __attribute__((__stdcall__)) MulDiv(INT,INT,INT); | |
5845 | BOOL __attribute__((__stdcall__)) NotifyChangeEventLog(HANDLE,HANDLE); | |
5846 | BOOL __attribute__((__stdcall__)) ObjectCloseAuditAlarmA(LPCSTR,LPVOID,BOOL); | |
5847 | BOOL __attribute__((__stdcall__)) ObjectCloseAuditAlarmW(LPCWSTR,LPVOID,BOOL); | |
5848 | ||
5849 | BOOL __attribute__((__stdcall__)) ObjectOpenAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,HANDLE, | |
5850 | DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,LPBOOL); | |
5851 | BOOL __attribute__((__stdcall__)) ObjectOpenAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,HANDLE, | |
5852 | DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,LPBOOL); | |
5853 | ||
5854 | BOOL __attribute__((__stdcall__)) ObjectPrivilegeAuditAlarmA(LPCSTR,LPVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL); | |
5855 | BOOL __attribute__((__stdcall__)) ObjectPrivilegeAuditAlarmW(LPCWSTR,LPVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL); | |
5856 | ||
5857 | HANDLE __attribute__((__stdcall__)) OpenBackupEventLogA(LPCSTR,LPCSTR); | |
5858 | HANDLE __attribute__((__stdcall__)) OpenBackupEventLogW(LPCWSTR,LPCWSTR); | |
5859 | ||
5860 | HANDLE __attribute__((__stdcall__)) OpenEventA(DWORD,BOOL,LPCSTR); | |
5861 | HANDLE __attribute__((__stdcall__)) OpenEventW(DWORD,BOOL,LPCWSTR); | |
5862 | ||
5863 | HANDLE __attribute__((__stdcall__)) OpenEventLogA(LPCSTR,LPCSTR); | |
5864 | HANDLE __attribute__((__stdcall__)) OpenEventLogW(LPCWSTR,LPCWSTR); | |
5865 | ||
5866 | HFILE __attribute__((__stdcall__)) OpenFile(LPCSTR,OFSTRUCT*,UINT); | |
5867 | HANDLE __attribute__((__stdcall__)) OpenFileMappingA(DWORD,BOOL,LPCSTR); | |
5868 | HANDLE __attribute__((__stdcall__)) OpenFileMappingW(DWORD,BOOL,LPCWSTR); | |
5869 | ||
5870 | HANDLE __attribute__((__stdcall__)) OpenMutexA(DWORD,BOOL,LPCSTR); | |
5871 | HANDLE __attribute__((__stdcall__)) OpenMutexW(DWORD,BOOL,LPCWSTR); | |
5872 | ||
5873 | HANDLE __attribute__((__stdcall__)) OpenProcess(DWORD,BOOL,DWORD); | |
5874 | BOOL __attribute__((__stdcall__)) OpenProcessToken(HANDLE,DWORD,PHANDLE); | |
5875 | HANDLE __attribute__((__stdcall__)) OpenSemaphoreA(DWORD,BOOL,LPCSTR); | |
5876 | HANDLE __attribute__((__stdcall__)) OpenSemaphoreW(DWORD,BOOL,LPCWSTR); | |
5877 | ||
5878 | HANDLE __attribute__((__stdcall__)) OpenThread(DWORD,BOOL,DWORD); | |
5879 | BOOL __attribute__((__stdcall__)) OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE); | |
5880 | HANDLE __attribute__((__stdcall__)) OpenWaitableTimerA(DWORD,BOOL,LPCSTR); | |
5881 | HANDLE __attribute__((__stdcall__)) OpenWaitableTimerW(DWORD,BOOL,LPCWSTR); | |
5882 | ||
5883 | void __attribute__((__stdcall__)) OutputDebugStringA(LPCSTR); | |
5884 | void __attribute__((__stdcall__)) OutputDebugStringW(LPCWSTR); | |
5885 | ||
5886 | BOOL __attribute__((__stdcall__)) PeekNamedPipe(HANDLE,PVOID,DWORD,PDWORD,PDWORD,PDWORD); | |
5887 | BOOL __attribute__((__stdcall__)) PostQueuedCompletionStatus(HANDLE,DWORD,ULONG_PTR,LPOVERLAPPED); | |
5888 | DWORD __attribute__((__stdcall__)) PrepareTape(HANDLE,DWORD,BOOL); | |
5889 | BOOL __attribute__((__stdcall__)) ProcessIdToSessionId(DWORD,DWORD*); | |
5890 | BOOL __attribute__((__stdcall__)) PrivilegeCheck(HANDLE,PPRIVILEGE_SET,LPBOOL); | |
5891 | BOOL __attribute__((__stdcall__)) PrivilegedServiceAuditAlarmA(LPCSTR,LPCSTR,HANDLE,PPRIVILEGE_SET,BOOL); | |
5892 | BOOL __attribute__((__stdcall__)) PrivilegedServiceAuditAlarmW(LPCWSTR,LPCWSTR,HANDLE,PPRIVILEGE_SET,BOOL); | |
5893 | ||
5894 | BOOL __attribute__((__stdcall__)) PulseEvent(HANDLE); | |
5895 | BOOL __attribute__((__stdcall__)) PurgeComm(HANDLE,DWORD); | |
5896 | BOOL __attribute__((__stdcall__)) QueryActCtxW(DWORD,HANDLE,PVOID,ULONG,PVOID,SIZE_T,SIZE_T *); | |
5897 | DWORD __attribute__((__stdcall__)) QueryDosDeviceA(LPCSTR,LPSTR,DWORD); | |
5898 | DWORD __attribute__((__stdcall__)) QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD); | |
5899 | ||
5900 | BOOL __attribute__((__stdcall__)) QueryPerformanceCounter(LARGE_INTEGER*); | |
5901 | BOOL __attribute__((__stdcall__)) QueryPerformanceFrequency(LARGE_INTEGER*); | |
5902 | DWORD __attribute__((__stdcall__)) QueueUserAPC(PAPCFUNC,HANDLE,ULONG_PTR); | |
5903 | BOOL __attribute__((__stdcall__)) QueueUserWorkItem(LPTHREAD_START_ROUTINE,PVOID,ULONG); | |
5904 | void __attribute__((__stdcall__)) RaiseException(DWORD,DWORD,DWORD,const ULONG_PTR *); | |
5905 | BOOL __attribute__((__stdcall__)) ReadEventLogA(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *); | |
5906 | BOOL __attribute__((__stdcall__)) ReadEventLogW(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *); | |
5907 | ||
5908 | BOOL __attribute__((__stdcall__)) ReadDirectoryChangesW(HANDLE,LPVOID,DWORD,BOOL,DWORD,LPDWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); | |
5909 | BOOL __attribute__((__stdcall__)) ReadFile(HANDLE,LPVOID,DWORD,LPDWORD,LPOVERLAPPED); | |
5910 | BOOL __attribute__((__stdcall__)) ReadFileEx(HANDLE,LPVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); | |
5911 | BOOL __attribute__((__stdcall__)) ReadProcessMemory(HANDLE,LPCVOID,LPVOID,SIZE_T,SIZE_T*); | |
5912 | HANDLE __attribute__((__stdcall__)) RegisterEventSourceA(LPCSTR,LPCSTR); | |
5913 | HANDLE __attribute__((__stdcall__)) RegisterEventSourceW(LPCWSTR,LPCWSTR); | |
5914 | ||
5915 | BOOL __attribute__((__stdcall__)) RegisterWaitForSingleObject(PHANDLE,HANDLE,WAITORTIMERCALLBACK,PVOID,ULONG,ULONG); | |
5916 | HANDLE __attribute__((__stdcall__)) RegisterWaitForSingleObjectEx(HANDLE,WAITORTIMERCALLBACK,PVOID,ULONG,ULONG); | |
5917 | void __attribute__((__stdcall__)) ReleaseActCtx(HANDLE); | |
5918 | BOOL __attribute__((__stdcall__)) ReleaseMutex(HANDLE); | |
5919 | BOOL __attribute__((__stdcall__)) ReleaseSemaphore(HANDLE,LONG,LPLONG); | |
5920 | ULONG __attribute__((__stdcall__)) RemoveVectoredExceptionHandler(PVOID); | |
5921 | BOOL __attribute__((__stdcall__)) ReplaceFileA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPVOID,LPVOID); | |
5922 | BOOL __attribute__((__stdcall__)) ReplaceFileW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPVOID,LPVOID); | |
5923 | ||
5924 | BOOL __attribute__((__stdcall__)) RemoveDirectoryA(LPCSTR); | |
5925 | BOOL __attribute__((__stdcall__)) RemoveDirectoryW(LPCWSTR); | |
5926 | ||
5927 | BOOL __attribute__((__stdcall__)) ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR *,LPVOID); | |
5928 | BOOL __attribute__((__stdcall__)) ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR *,LPVOID); | |
5929 | BOOL __attribute__((__stdcall__)) RequestWakeupLatency(LATENCY_TIME latency); | |
5930 | ||
5931 | BOOL __attribute__((__stdcall__)) ResetEvent(HANDLE); | |
5932 | DWORD __attribute__((__stdcall__)) ResumeThread(HANDLE); | |
5933 | BOOL __attribute__((__stdcall__)) RevertToSelf(void); | |
5934 | DWORD __attribute__((__stdcall__)) SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*); | |
5935 | DWORD __attribute__((__stdcall__)) SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*); | |
5936 | ||
5937 | BOOL __attribute__((__stdcall__)) SetAclInformation(PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS); | |
5938 | BOOL __attribute__((__stdcall__)) SetCommConfig(HANDLE,LPCOMMCONFIG,DWORD); | |
5939 | BOOL __attribute__((__stdcall__)) SetCommBreak(HANDLE); | |
5940 | BOOL __attribute__((__stdcall__)) SetCommMask(HANDLE,DWORD); | |
5941 | BOOL __attribute__((__stdcall__)) SetCommState(HANDLE,LPDCB); | |
5942 | BOOL __attribute__((__stdcall__)) SetCommTimeouts(HANDLE,LPCOMMTIMEOUTS); | |
5943 | BOOL __attribute__((__stdcall__)) SetComputerNameA(LPCSTR); | |
5944 | BOOL __attribute__((__stdcall__)) SetComputerNameW(LPCWSTR); | |
5945 | ||
5946 | BOOL __attribute__((__stdcall__)) SetComputerNameExA(COMPUTER_NAME_FORMAT,LPCSTR); | |
5947 | BOOL __attribute__((__stdcall__)) SetComputerNameExW(COMPUTER_NAME_FORMAT,LPCWSTR); | |
5948 | ||
5949 | DWORD __attribute__((__stdcall__)) SetCriticalSectionSpinCount(LPCRITICAL_SECTION,DWORD); | |
5950 | BOOL __attribute__((__stdcall__)) SetCurrentDirectoryA(LPCSTR); | |
5951 | BOOL __attribute__((__stdcall__)) SetCurrentDirectoryW(LPCWSTR); | |
5952 | ||
5953 | BOOL __attribute__((__stdcall__)) SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD); | |
5954 | BOOL __attribute__((__stdcall__)) SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD); | |
5955 | ||
5956 | BOOL __attribute__((__stdcall__)) SetDllDirectoryA(LPCSTR); | |
5957 | BOOL __attribute__((__stdcall__)) SetDllDirectoryW(LPCWSTR); | |
5958 | ||
5959 | BOOL __attribute__((__stdcall__)) SetEndOfFile(HANDLE); | |
5960 | BOOL __attribute__((__stdcall__)) SetEnvironmentVariableA(LPCSTR,LPCSTR); | |
5961 | BOOL __attribute__((__stdcall__)) SetEnvironmentVariableW(LPCWSTR,LPCWSTR); | |
5962 | ||
5963 | UINT __attribute__((__stdcall__)) SetErrorMode(UINT); | |
5964 | BOOL __attribute__((__stdcall__)) SetEvent(HANDLE); | |
5965 | void __attribute__((__stdcall__)) SetFileApisToANSI(void); | |
5966 | void __attribute__((__stdcall__)) SetFileApisToOEM(void); | |
5967 | BOOL __attribute__((__stdcall__)) SetFileAttributesA(LPCSTR,DWORD); | |
5968 | BOOL __attribute__((__stdcall__)) SetFileAttributesW(LPCWSTR,DWORD); | |
5969 | ||
5970 | DWORD __attribute__((__stdcall__)) SetFilePointer(HANDLE,LONG,LPLONG,DWORD); | |
5971 | BOOL __attribute__((__stdcall__)) SetFilePointerEx(HANDLE,LARGE_INTEGER,LARGE_INTEGER*,DWORD); | |
5972 | BOOL __attribute__((__stdcall__)) SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); | |
5973 | BOOL __attribute__((__stdcall__)) SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); | |
5974 | ||
5975 | BOOL __attribute__((__stdcall__)) SetFileTime(HANDLE,const FILETIME*,const FILETIME*,const FILETIME*); | |
5976 | UINT __attribute__((__stdcall__)) SetHandleCount(UINT); | |
5977 | BOOL __attribute__((__stdcall__)) SetHandleInformation(HANDLE,DWORD,DWORD); | |
5978 | BOOL __attribute__((__stdcall__)) SetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); | |
5979 | BOOL __attribute__((__stdcall__)) SetLocalTime(const SYSTEMTIME*); | |
5980 | BOOL __attribute__((__stdcall__)) SetMailslotInfo(HANDLE,DWORD); | |
5981 | BOOL __attribute__((__stdcall__)) SetNamedPipeHandleState(HANDLE,LPDWORD,LPDWORD,LPDWORD); | |
5982 | BOOL __attribute__((__stdcall__)) SetPriorityClass(HANDLE,DWORD); | |
5983 | BOOL __attribute__((__stdcall__)) SetPrivateObjectSecurity(SECURITY_INFORMATION,PSECURITY_DESCRIPTOR, | |
5984 | PSECURITY_DESCRIPTOR*,PGENERIC_MAPPING,HANDLE); | |
5985 | BOOL __attribute__((__stdcall__)) SetProcessAffinityMask(HANDLE,DWORD_PTR); | |
5986 | BOOL __attribute__((__stdcall__)) SetProcessPriorityBoost(HANDLE,BOOL); | |
5987 | BOOL __attribute__((__stdcall__)) SetProcessShutdownParameters(DWORD,DWORD); | |
5988 | BOOL __attribute__((__stdcall__)) SetProcessWorkingSetSize(HANDLE,SIZE_T,SIZE_T); | |
5989 | BOOL __attribute__((__stdcall__)) SetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,SECURITY_DESCRIPTOR_CONTROL, | |
5990 | SECURITY_DESCRIPTOR_CONTROL); | |
5991 | BOOL __attribute__((__stdcall__)) SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); | |
5992 | BOOL __attribute__((__stdcall__)) SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL); | |
5993 | BOOL __attribute__((__stdcall__)) SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,BOOL); | |
5994 | BOOL __attribute__((__stdcall__)) SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); | |
5995 | BOOL __attribute__((__stdcall__)) SetStdHandle(DWORD,HANDLE); | |
5996 | ||
5997 | BOOL __attribute__((__stdcall__)) SetSystemPowerState(BOOL,BOOL); | |
5998 | BOOL __attribute__((__stdcall__)) SetSystemTime(const SYSTEMTIME*); | |
5999 | BOOL __attribute__((__stdcall__)) SetSystemTimeAdjustment(DWORD,BOOL); | |
6000 | DWORD __attribute__((__stdcall__)) SetTapeParameters(HANDLE,DWORD,LPVOID); | |
6001 | DWORD __attribute__((__stdcall__)) SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL); | |
6002 | DWORD __attribute__((__stdcall__)) SetThreadAffinityMask(HANDLE,DWORD); | |
6003 | BOOL __attribute__((__stdcall__)) SetThreadContext(HANDLE,const CONTEXT *); | |
6004 | DWORD __attribute__((__stdcall__)) SetThreadExecutionState(EXECUTION_STATE); | |
6005 | DWORD __attribute__((__stdcall__)) SetThreadIdealProcessor(HANDLE,DWORD); | |
6006 | BOOL __attribute__((__stdcall__)) SetThreadPriority(HANDLE,INT); | |
6007 | BOOL __attribute__((__stdcall__)) SetThreadPriorityBoost(HANDLE,BOOL); | |
6008 | BOOL __attribute__((__stdcall__)) SetThreadToken(PHANDLE,HANDLE); | |
6009 | BOOL __attribute__((__stdcall__)) SetTimeZoneInformation(const TIME_ZONE_INFORMATION *); | |
6010 | BOOL __attribute__((__stdcall__)) SetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD); | |
6011 | BOOL __attribute__((__stdcall__)) SetVolumeLabelA(LPCSTR,LPCSTR); | |
6012 | BOOL __attribute__((__stdcall__)) SetVolumeLabelW(LPCWSTR,LPCWSTR); | |
6013 | ||
6014 | BOOL __attribute__((__stdcall__)) SetVolumeMountPointA(LPCSTR,LPCSTR); | |
6015 | BOOL __attribute__((__stdcall__)) SetVolumeMountPointW(LPCSTR,LPCSTR); | |
6016 | ||
6017 | BOOL __attribute__((__stdcall__)) SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,BOOL); | |
6018 | BOOL __attribute__((__stdcall__)) SetupComm(HANDLE,DWORD,DWORD); | |
6019 | DWORD __attribute__((__stdcall__)) SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL); | |
6020 | DWORD __attribute__((__stdcall__)) SizeofResource(HMODULE,HRSRC); | |
6021 | void __attribute__((__stdcall__)) Sleep(DWORD); | |
6022 | DWORD __attribute__((__stdcall__)) SleepEx(DWORD,BOOL); | |
6023 | DWORD __attribute__((__stdcall__)) SuspendThread(HANDLE); | |
6024 | void __attribute__((__stdcall__)) SwitchToFiber(LPVOID); | |
6025 | BOOL __attribute__((__stdcall__)) SwitchToThread(void); | |
6026 | BOOL __attribute__((__stdcall__)) SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME); | |
6027 | BOOL __attribute__((__stdcall__)) SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION,LPSYSTEMTIME,LPSYSTEMTIME); | |
6028 | BOOL __attribute__((__stdcall__)) TerminateProcess(HANDLE,DWORD); | |
6029 | BOOL __attribute__((__stdcall__)) TerminateThread(HANDLE,DWORD); | |
6030 | DWORD __attribute__((__stdcall__)) TlsAlloc(void); | |
6031 | BOOL __attribute__((__stdcall__)) TlsFree(DWORD); | |
6032 | LPVOID __attribute__((__stdcall__)) TlsGetValue(DWORD); | |
6033 | BOOL __attribute__((__stdcall__)) TlsSetValue(DWORD,LPVOID); | |
6034 | BOOL __attribute__((__stdcall__)) TransactNamedPipe(HANDLE,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED); | |
6035 | BOOL __attribute__((__stdcall__)) TransmitCommChar(HANDLE,CHAR); | |
6036 | BOOL __attribute__((__stdcall__)) TryEnterCriticalSection(CRITICAL_SECTION *lpCrit); | |
6037 | BOOL __attribute__((__stdcall__)) TzSpecificLocalTimeToSystemTime(LPTIME_ZONE_INFORMATION,LPSYSTEMTIME,LPSYSTEMTIME); | |
6038 | BOOL __attribute__((__stdcall__)) UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); | |
6039 | BOOL __attribute__((__stdcall__)) UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED); | |
6040 | ||
6041 | BOOL __attribute__((__stdcall__)) UnmapViewOfFile(LPCVOID); | |
6042 | BOOL __attribute__((__stdcall__)) UnregisterWait(HANDLE); | |
6043 | BOOL __attribute__((__stdcall__)) UnregisterWaitEx(HANDLE,HANDLE); | |
6044 | BOOL __attribute__((__stdcall__)) UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,LPVOID,DWORD); | |
6045 | BOOL __attribute__((__stdcall__)) UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,LPVOID,DWORD); | |
6046 | ||
6047 | BOOL __attribute__((__stdcall__)) VerifyVersionInfoA(LPOSVERSIONINFOEXA,DWORD,DWORDLONG); | |
6048 | BOOL __attribute__((__stdcall__)) VerifyVersionInfoW(LPOSVERSIONINFOEXW,DWORD,DWORDLONG); | |
6049 | ||
6050 | LPVOID __attribute__((__stdcall__)) VirtualAlloc(LPVOID,SIZE_T,DWORD,DWORD); | |
6051 | LPVOID __attribute__((__stdcall__)) VirtualAllocEx(HANDLE,LPVOID,SIZE_T,DWORD,DWORD); | |
6052 | BOOL __attribute__((__stdcall__)) VirtualFree(LPVOID,SIZE_T,DWORD); | |
6053 | BOOL __attribute__((__stdcall__)) VirtualFreeEx(HANDLE,LPVOID,SIZE_T,DWORD); | |
6054 | BOOL __attribute__((__stdcall__)) VirtualLock(LPVOID,SIZE_T); | |
6055 | BOOL __attribute__((__stdcall__)) VirtualProtect(LPVOID,SIZE_T,DWORD,LPDWORD); | |
6056 | BOOL __attribute__((__stdcall__)) VirtualProtectEx(HANDLE,LPVOID,SIZE_T,DWORD,LPDWORD); | |
6057 | SIZE_T __attribute__((__stdcall__)) VirtualQuery(LPCVOID,PMEMORY_BASIC_INFORMATION,SIZE_T); | |
6058 | SIZE_T __attribute__((__stdcall__)) VirtualQueryEx(HANDLE,LPCVOID,PMEMORY_BASIC_INFORMATION,SIZE_T); | |
6059 | BOOL __attribute__((__stdcall__)) VirtualUnlock(LPVOID,SIZE_T); | |
6060 | BOOL __attribute__((__stdcall__)) WaitCommEvent(HANDLE,LPDWORD,LPOVERLAPPED); | |
6061 | BOOL __attribute__((__stdcall__)) WaitForDebugEvent(LPDEBUG_EVENT,DWORD); | |
6062 | DWORD __attribute__((__stdcall__)) WaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD); | |
6063 | DWORD __attribute__((__stdcall__)) WaitForMultipleObjectsEx(DWORD,const HANDLE*,BOOL,DWORD,BOOL); | |
6064 | DWORD __attribute__((__stdcall__)) WaitForSingleObject(HANDLE,DWORD); | |
6065 | DWORD __attribute__((__stdcall__)) WaitForSingleObjectEx(HANDLE,DWORD,BOOL); | |
6066 | BOOL __attribute__((__stdcall__)) WaitNamedPipeA(LPCSTR,DWORD); | |
6067 | BOOL __attribute__((__stdcall__)) WaitNamedPipeW(LPCWSTR,DWORD); | |
6068 | ||
6069 | UINT __attribute__((__stdcall__)) WinExec(LPCSTR,UINT); | |
6070 | BOOL __attribute__((__stdcall__)) WriteFile(HANDLE,LPCVOID,DWORD,LPDWORD,LPOVERLAPPED); | |
6071 | BOOL __attribute__((__stdcall__)) WriteFileEx(HANDLE,LPCVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); | |
6072 | BOOL __attribute__((__stdcall__)) WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR); | |
6073 | BOOL __attribute__((__stdcall__)) WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR); | |
6074 | ||
6075 | BOOL __attribute__((__stdcall__)) WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR); | |
6076 | BOOL __attribute__((__stdcall__)) WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); | |
6077 | ||
6078 | BOOL __attribute__((__stdcall__)) WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR); | |
6079 | BOOL __attribute__((__stdcall__)) WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR); | |
6080 | ||
6081 | BOOL __attribute__((__stdcall__)) WriteProcessMemory(HANDLE,LPVOID,LPCVOID,SIZE_T,SIZE_T*); | |
6082 | BOOL __attribute__((__stdcall__)) WriteProfileSectionA(LPCSTR,LPCSTR); | |
6083 | BOOL __attribute__((__stdcall__)) WriteProfileSectionW(LPCWSTR,LPCWSTR); | |
6084 | ||
6085 | BOOL __attribute__((__stdcall__)) WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR); | |
6086 | BOOL __attribute__((__stdcall__)) WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR); | |
6087 | ||
6088 | DWORD __attribute__((__stdcall__)) WriteTapemark(HANDLE,DWORD,DWORD,BOOL); | |
6089 | ||
6090 | BOOL __attribute__((__stdcall__)) ZombifyActCtx(HANDLE); | |
6091 | ||
6092 | LPSTR __attribute__((__stdcall__)) lstrcatA(LPSTR,LPCSTR); | |
6093 | LPWSTR __attribute__((__stdcall__)) lstrcatW(LPWSTR,LPCWSTR); | |
6094 | LPSTR __attribute__((__stdcall__)) lstrcpyA(LPSTR,LPCSTR); | |
6095 | LPWSTR __attribute__((__stdcall__)) lstrcpyW(LPWSTR,LPCWSTR); | |
6096 | LPSTR __attribute__((__stdcall__)) lstrcpynA(LPSTR,LPCSTR,INT); | |
6097 | LPWSTR __attribute__((__stdcall__)) lstrcpynW(LPWSTR,LPCWSTR,INT); | |
6098 | INT __attribute__((__stdcall__)) lstrlenA(LPCSTR); | |
6099 | INT __attribute__((__stdcall__)) lstrlenW(LPCWSTR); | |
6100 | # 2153 "../../../include/winbase.h" | |
6101 | LONG __attribute__((__stdcall__)) _hread(HFILE,LPVOID,LONG); | |
6102 | LONG __attribute__((__stdcall__)) _hwrite(HFILE,LPCSTR,LONG); | |
6103 | HFILE __attribute__((__stdcall__)) _lcreat(LPCSTR,INT); | |
6104 | HFILE __attribute__((__stdcall__)) _lclose(HFILE); | |
6105 | LONG __attribute__((__stdcall__)) _llseek(HFILE,LONG,INT); | |
6106 | HFILE __attribute__((__stdcall__)) _lopen(LPCSTR,INT); | |
6107 | UINT __attribute__((__stdcall__)) _lread(HFILE,LPVOID,UINT); | |
6108 | UINT __attribute__((__stdcall__)) _lwrite(HFILE,LPCSTR,UINT); | |
6109 | INT __attribute__((__stdcall__)) lstrcmpA(LPCSTR,LPCSTR); | |
6110 | INT __attribute__((__stdcall__)) lstrcmpW(LPCWSTR,LPCWSTR); | |
6111 | ||
6112 | INT __attribute__((__stdcall__)) lstrcmpiA(LPCSTR,LPCSTR); | |
6113 | INT __attribute__((__stdcall__)) lstrcmpiW(LPCWSTR,LPCWSTR); | |
6114 | # 2176 "../../../include/winbase.h" | |
6115 | typedef struct tagSYSLEVEL | |
6116 | { | |
6117 | CRITICAL_SECTION crst; | |
6118 | INT level; | |
6119 | } SYSLEVEL; | |
6120 | # 2199 "../../../include/winbase.h" | |
6121 | void __attribute__((__stdcall__)) DisposeLZ32Handle(HANDLE); | |
6122 | HANDLE __attribute__((__stdcall__)) DosFileHandleToWin32Handle(HFILE); | |
6123 | DWORD __attribute__((__stdcall__)) GetProcessDword(DWORD,INT); | |
6124 | void __attribute__((__stdcall__)) GetpWin16Lock(SYSLEVEL**); | |
6125 | DWORD __attribute__((__stdcall__)) MapLS(LPCVOID); | |
6126 | LPVOID __attribute__((__stdcall__)) MapSL(DWORD); | |
6127 | void __attribute__((__stdcall__)) ReleaseThunkLock(DWORD*); | |
6128 | void __attribute__((__stdcall__)) RestoreThunkLock(DWORD); | |
6129 | void __attribute__((__stdcall__)) UnMapLS(DWORD); | |
6130 | HFILE __attribute__((__stdcall__)) Win32HandleToDosFileHandle(HANDLE); | |
6131 | void __attribute__((__stdcall__)) _CheckNotSysLevel(SYSLEVEL *lock); | |
6132 | DWORD __attribute__((__stdcall__)) _ConfirmWin16Lock(void); | |
6133 | DWORD __attribute__((__stdcall__)) _ConfirmSysLevel(SYSLEVEL*); | |
6134 | void __attribute__((__stdcall__)) _EnterSysLevel(SYSLEVEL*); | |
6135 | void __attribute__((__stdcall__)) _LeaveSysLevel(SYSLEVEL*); | |
6136 | ||
6137 | ||
6138 | ||
6139 | ||
6140 | extern char *wine_get_unix_file_name( LPCWSTR dos ); | |
6141 | extern WCHAR *wine_get_dos_file_name( LPCSTR str ); | |
6142 | # 2305 "../../../include/winbase.h" | |
6143 | DWORD __attribute__((__stdcall__)) GetCurrentProcessId(void); | |
6144 | DWORD __attribute__((__stdcall__)) GetCurrentThreadId(void); | |
6145 | DWORD __attribute__((__stdcall__)) GetLastError(void); | |
6146 | HANDLE __attribute__((__stdcall__)) GetProcessHeap(void); | |
6147 | LONG __attribute__((__stdcall__)) InterlockedCompareExchange(LONG volatile*,LONG,LONG); | |
6148 | LONG __attribute__((__stdcall__)) InterlockedDecrement(LONG volatile*); | |
6149 | LONG __attribute__((__stdcall__)) InterlockedExchange(LONG volatile*,LONG); | |
6150 | LONG __attribute__((__stdcall__)) InterlockedExchangeAdd(LONG volatile*,LONG); | |
6151 | LONG __attribute__((__stdcall__)) InterlockedIncrement(LONG volatile*); | |
6152 | void __attribute__((__stdcall__)) SetLastError(DWORD); | |
6153 | ||
6154 | ||
6155 | ||
6156 | static inline PVOID __attribute__((__stdcall__)) InterlockedCompareExchangePointer( PVOID volatile *dest, PVOID xchg, PVOID compare ) | |
6157 | { | |
6158 | ||
6159 | ||
6160 | ||
6161 | ||
6162 | ||
6163 | ||
6164 | return (PVOID)InterlockedCompareExchange( (LONG volatile*)dest, (LONG)xchg, (LONG)compare ); | |
6165 | ||
6166 | } | |
6167 | ||
6168 | static inline PVOID __attribute__((__stdcall__)) InterlockedExchangePointer( PVOID volatile *dest, PVOID val ) | |
6169 | { | |
6170 | ||
6171 | ||
6172 | ||
6173 | ||
6174 | ||
6175 | ||
6176 | return (PVOID)InterlockedExchange( (LONG volatile*)dest, (LONG)val ); | |
6177 | ||
6178 | } | |
6179 | # 2349 "../../../include/winbase.h" | |
6180 | int __attribute__((__stdcall__)) WinMain(HINSTANCE,HINSTANCE,LPSTR,int); | |
6181 | # 30 "vartest.c" 2 | |
6182 | # 1 "../../../include/winsock.h" 1 | |
6183 | # 81 "../../../include/winsock.h" | |
6184 | # 1 "/usr/include/sys/types.h" 1 3 4 | |
6185 | ||
6186 | ||
6187 | ||
6188 | # 1 "/usr/include/gentoo-multilib/x86/sys/types.h" 1 3 4 | |
6189 | # 27 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4 | |
6190 | # 1 "/usr/include/features.h" 1 3 4 | |
6191 | # 28 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4 | |
6192 | ||
6193 | ||
6194 | ||
6195 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
6196 | # 32 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4 | |
6197 | ||
6198 | ||
6199 | ||
6200 | typedef __u_char u_char; | |
6201 | typedef __u_short u_short; | |
6202 | typedef __u_int u_int; | |
6203 | typedef __u_long u_long; | |
6204 | typedef __quad_t quad_t; | |
6205 | typedef __u_quad_t u_quad_t; | |
6206 | typedef __fsid_t fsid_t; | |
6207 | ||
6208 | ||
6209 | ||
6210 | ||
6211 | typedef __loff_t loff_t; | |
6212 | ||
6213 | ||
6214 | ||
6215 | typedef __ino_t ino_t; | |
6216 | # 62 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4 | |
6217 | typedef __dev_t dev_t; | |
6218 | ||
6219 | ||
6220 | ||
6221 | ||
6222 | typedef __gid_t gid_t; | |
6223 | ||
6224 | ||
6225 | ||
6226 | ||
6227 | typedef __mode_t mode_t; | |
6228 | ||
6229 | ||
6230 | ||
6231 | ||
6232 | typedef __nlink_t nlink_t; | |
6233 | ||
6234 | ||
6235 | ||
6236 | ||
6237 | typedef __uid_t uid_t; | |
6238 | ||
6239 | ||
6240 | ||
6241 | ||
6242 | ||
6243 | typedef __off_t off_t; | |
6244 | # 100 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4 | |
6245 | typedef __pid_t pid_t; | |
6246 | ||
6247 | ||
6248 | ||
6249 | ||
6250 | typedef __id_t id_t; | |
6251 | ||
6252 | ||
6253 | ||
6254 | ||
6255 | typedef __ssize_t ssize_t; | |
6256 | ||
6257 | ||
6258 | ||
6259 | ||
6260 | ||
6261 | typedef __daddr_t daddr_t; | |
6262 | typedef __caddr_t caddr_t; | |
6263 | ||
6264 | ||
6265 | ||
6266 | ||
6267 | ||
6268 | typedef __key_t key_t; | |
6269 | # 133 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4 | |
6270 | # 1 "/usr/include/time.h" 1 3 4 | |
6271 | # 134 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4 | |
6272 | # 147 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4 | |
6273 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
6274 | # 148 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4 | |
6275 | ||
6276 | ||
6277 | ||
6278 | typedef unsigned long int ulong; | |
6279 | typedef unsigned short int ushort; | |
6280 | typedef unsigned int uint; | |
6281 | # 191 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4 | |
6282 | typedef int int8_t __attribute__ ((__mode__ (__QI__))); | |
6283 | typedef int int16_t __attribute__ ((__mode__ (__HI__))); | |
6284 | typedef int int32_t __attribute__ ((__mode__ (__SI__))); | |
6285 | typedef int int64_t __attribute__ ((__mode__ (__DI__))); | |
6286 | ||
6287 | ||
6288 | typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); | |
6289 | typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); | |
6290 | typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); | |
6291 | typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); | |
6292 | ||
6293 | typedef int register_t __attribute__ ((__mode__ (__word__))); | |
6294 | # 213 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4 | |
6295 | # 1 "/usr/include/endian.h" 1 3 4 | |
6296 | # 214 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4 | |
6297 | ||
6298 | ||
6299 | # 1 "/usr/include/sys/select.h" 1 3 4 | |
6300 | ||
6301 | ||
6302 | ||
6303 | # 1 "/usr/include/gentoo-multilib/x86/sys/select.h" 1 3 4 | |
6304 | # 25 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4 | |
6305 | # 1 "/usr/include/features.h" 1 3 4 | |
6306 | # 26 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4 | |
6307 | ||
6308 | ||
6309 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
6310 | # 29 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4 | |
6311 | ||
6312 | ||
6313 | # 1 "/usr/include/bits/select.h" 1 3 4 | |
6314 | ||
6315 | ||
6316 | ||
6317 | # 1 "/usr/include/gentoo-multilib/x86/bits/select.h" 1 3 4 | |
6318 | # 5 "/usr/include/bits/select.h" 2 3 4 | |
6319 | # 32 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4 | |
6320 | ||
6321 | ||
6322 | # 1 "/usr/include/bits/sigset.h" 1 3 4 | |
6323 | ||
6324 | ||
6325 | ||
6326 | # 1 "/usr/include/gentoo-multilib/x86/bits/sigset.h" 1 3 4 | |
6327 | # 23 "/usr/include/gentoo-multilib/x86/bits/sigset.h" 3 4 | |
6328 | typedef int __sig_atomic_t; | |
6329 | ||
6330 | ||
6331 | ||
6332 | ||
6333 | typedef struct | |
6334 | { | |
6335 | unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; | |
6336 | } __sigset_t; | |
6337 | # 5 "/usr/include/bits/sigset.h" 2 3 4 | |
6338 | # 35 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4 | |
6339 | ||
6340 | ||
6341 | ||
6342 | typedef __sigset_t sigset_t; | |
6343 | ||
6344 | ||
6345 | ||
6346 | ||
6347 | ||
6348 | # 1 "/usr/include/time.h" 1 3 4 | |
6349 | # 45 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4 | |
6350 | ||
6351 | # 1 "/usr/include/bits/time.h" 1 3 4 | |
6352 | ||
6353 | ||
6354 | ||
6355 | # 1 "/usr/include/gentoo-multilib/x86/bits/time.h" 1 3 4 | |
6356 | # 65 "/usr/include/gentoo-multilib/x86/bits/time.h" 3 4 | |
6357 | # 1 "/usr/include/bits/types.h" 1 3 4 | |
6358 | # 66 "/usr/include/gentoo-multilib/x86/bits/time.h" 2 3 4 | |
6359 | ||
6360 | ||
6361 | ||
6362 | struct unix_timeval | |
6363 | { | |
6364 | __time_t tv_sec; | |
6365 | __suseconds_t tv_usec; | |
6366 | }; | |
6367 | # 5 "/usr/include/bits/time.h" 2 3 4 | |
6368 | # 47 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4 | |
6369 | ||
6370 | ||
6371 | typedef __suseconds_t suseconds_t; | |
6372 | ||
6373 | ||
6374 | ||
6375 | ||
6376 | ||
6377 | typedef long int __fd_mask; | |
6378 | # 67 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4 | |
6379 | typedef struct | |
6380 | { | |
6381 | ||
6382 | ||
6383 | ||
6384 | ||
6385 | ||
6386 | ||
6387 | __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; | |
6388 | ||
6389 | ||
6390 | } unix_fd_set; | |
6391 | ||
6392 | ||
6393 | ||
6394 | ||
6395 | ||
6396 | ||
6397 | typedef __fd_mask fd_mask; | |
6398 | # 99 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4 | |
6399 | ||
6400 | # 109 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4 | |
6401 | extern int unix_select (int __nfds, unix_fd_set *__restrict __readfds, | |
6402 | unix_fd_set *__restrict __writefds, | |
6403 | unix_fd_set *__restrict __exceptfds, | |
6404 | struct unix_timeval *__restrict __timeout); | |
6405 | # 128 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4 | |
6406 | ||
6407 | # 5 "/usr/include/sys/select.h" 2 3 4 | |
6408 | # 217 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4 | |
6409 | ||
6410 | ||
6411 | # 1 "/usr/include/sys/sysmacros.h" 1 3 4 | |
6412 | ||
6413 | ||
6414 | ||
6415 | # 1 "/usr/include/gentoo-multilib/x86/sys/sysmacros.h" 1 3 4 | |
6416 | # 23 "/usr/include/gentoo-multilib/x86/sys/sysmacros.h" 3 4 | |
6417 | # 1 "/usr/include/features.h" 1 3 4 | |
6418 | # 24 "/usr/include/gentoo-multilib/x86/sys/sysmacros.h" 2 3 4 | |
6419 | ||
6420 | ||
6421 | ||
6422 | ||
6423 | ||
6424 | __extension__ | |
6425 | extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) | |
6426 | __attribute__ ((__nothrow__)); | |
6427 | __extension__ | |
6428 | extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) | |
6429 | __attribute__ ((__nothrow__)); | |
6430 | __extension__ | |
6431 | extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, | |
6432 | unsigned int __minor) | |
6433 | __attribute__ ((__nothrow__)); | |
6434 | ||
6435 | ||
6436 | __extension__ extern __inline unsigned int | |
6437 | __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) | |
6438 | { | |
6439 | return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); | |
6440 | } | |
6441 | ||
6442 | __extension__ extern __inline unsigned int | |
6443 | __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) | |
6444 | { | |
6445 | return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); | |
6446 | } | |
6447 | ||
6448 | __extension__ extern __inline unsigned long long int | |
6449 | __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) | |
6450 | { | |
6451 | return ((__minor & 0xff) | ((__major & 0xfff) << 8) | |
6452 | | (((unsigned long long int) (__minor & ~0xff)) << 12) | |
6453 | | (((unsigned long long int) (__major & ~0xfff)) << 32)); | |
6454 | } | |
6455 | # 5 "/usr/include/sys/sysmacros.h" 2 3 4 | |
6456 | # 220 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4 | |
6457 | # 231 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4 | |
6458 | typedef __blkcnt_t blkcnt_t; | |
6459 | ||
6460 | ||
6461 | ||
6462 | typedef __fsblkcnt_t fsblkcnt_t; | |
6463 | ||
6464 | ||
6465 | ||
6466 | typedef __fsfilcnt_t fsfilcnt_t; | |
6467 | # 266 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4 | |
6468 | # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 | |
6469 | ||
6470 | ||
6471 | ||
6472 | # 1 "/usr/include/gentoo-multilib/x86/bits/pthreadtypes.h" 1 3 4 | |
6473 | # 36 "/usr/include/gentoo-multilib/x86/bits/pthreadtypes.h" 3 4 | |
6474 | typedef unsigned long int pthread_t; | |
6475 | ||
6476 | ||
6477 | typedef union | |
6478 | { | |
6479 | char __size[36]; | |
6480 | long int __align; | |
6481 | } pthread_attr_t; | |
6482 | ||
6483 | ||
6484 | ||
6485 | ||
6486 | typedef union | |
6487 | { | |
6488 | struct | |
6489 | { | |
6490 | int __lock; | |
6491 | unsigned int __count; | |
6492 | int __owner; | |
6493 | ||
6494 | ||
6495 | int __kind; | |
6496 | unsigned int __nusers; | |
6497 | int __spins; | |
6498 | } __data; | |
6499 | char __size[24]; | |
6500 | long int __align; | |
6501 | } pthread_mutex_t; | |
6502 | ||
6503 | typedef union | |
6504 | { | |
6505 | char __size[4]; | |
6506 | long int __align; | |
6507 | } pthread_mutexattr_t; | |
6508 | ||
6509 | ||
6510 | ||
6511 | ||
6512 | typedef union | |
6513 | { | |
6514 | struct | |
6515 | { | |
6516 | int __lock; | |
6517 | unsigned int __futex; | |
6518 | __extension__ unsigned long long int __total_seq; | |
6519 | __extension__ unsigned long long int __wakeup_seq; | |
6520 | __extension__ unsigned long long int __woken_seq; | |
6521 | void *__mutex; | |
6522 | unsigned int __nwaiters; | |
6523 | unsigned int __broadcast_seq; | |
6524 | } __data; | |
6525 | char __size[48]; | |
6526 | __extension__ long long int __align; | |
6527 | } pthread_cond_t; | |
6528 | ||
6529 | typedef union | |
6530 | { | |
6531 | char __size[4]; | |
6532 | long int __align; | |
6533 | } pthread_condattr_t; | |
6534 | ||
6535 | ||
6536 | ||
6537 | typedef unsigned int pthread_key_t; | |
6538 | ||
6539 | ||
6540 | ||
6541 | typedef int pthread_once_t; | |
6542 | # 5 "/usr/include/bits/pthreadtypes.h" 2 3 4 | |
6543 | # 267 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4 | |
6544 | ||
6545 | ||
6546 | ||
6547 | # 5 "/usr/include/sys/types.h" 2 3 4 | |
6548 | # 82 "../../../include/winsock.h" 2 | |
6549 | # 1 "/usr/include/time.h" 1 3 4 | |
6550 | # 83 "../../../include/winsock.h" 2 | |
6551 | # 1 "/usr/include/stdlib.h" 1 3 4 | |
6552 | ||
6553 | ||
6554 | ||
6555 | # 1 "/usr/include/gentoo-multilib/x86/stdlib.h" 1 3 4 | |
6556 | # 25 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
6557 | # 1 "/usr/include/features.h" 1 3 4 | |
6558 | # 26 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4 | |
6559 | ||
6560 | ||
6561 | ||
6562 | ||
6563 | ||
6564 | ||
6565 | ||
6566 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
6567 | # 34 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4 | |
6568 | ||
6569 | ||
6570 | # 96 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
6571 | ||
6572 | ||
6573 | typedef struct | |
6574 | { | |
6575 | int quot; | |
6576 | int rem; | |
6577 | } div_t; | |
6578 | ||
6579 | ||
6580 | ||
6581 | typedef struct | |
6582 | { | |
6583 | long int quot; | |
6584 | long int rem; | |
6585 | } ldiv_t; | |
6586 | ||
6587 | ||
6588 | ||
6589 | # 140 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
6590 | extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)); | |
6591 | ||
6592 | ||
6593 | ||
6594 | ||
6595 | extern double atof (__const char *__nptr) | |
6596 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
6597 | ||
6598 | extern int atoi (__const char *__nptr) | |
6599 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
6600 | ||
6601 | extern long int atol (__const char *__nptr) | |
6602 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
6603 | ||
6604 | ||
6605 | ||
6606 | ||
6607 | ||
6608 | __extension__ extern long long int atoll (__const char *__nptr) | |
6609 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
6610 | ||
6611 | ||
6612 | ||
6613 | ||
6614 | ||
6615 | extern double strtod (__const char *__restrict __nptr, | |
6616 | char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6617 | ||
6618 | # 181 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
6619 | ||
6620 | ||
6621 | extern long int strtol (__const char *__restrict __nptr, | |
6622 | char **__restrict __endptr, int __base) | |
6623 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6624 | ||
6625 | extern unsigned long int strtoul (__const char *__restrict __nptr, | |
6626 | char **__restrict __endptr, int __base) | |
6627 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6628 | ||
6629 | ||
6630 | ||
6631 | ||
6632 | __extension__ | |
6633 | extern long long int strtoq (__const char *__restrict __nptr, | |
6634 | char **__restrict __endptr, int __base) | |
6635 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6636 | ||
6637 | __extension__ | |
6638 | extern unsigned long long int strtouq (__const char *__restrict __nptr, | |
6639 | char **__restrict __endptr, int __base) | |
6640 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6641 | ||
6642 | ||
6643 | ||
6644 | ||
6645 | ||
6646 | __extension__ | |
6647 | extern long long int strtoll (__const char *__restrict __nptr, | |
6648 | char **__restrict __endptr, int __base) | |
6649 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6650 | ||
6651 | __extension__ | |
6652 | extern unsigned long long int strtoull (__const char *__restrict __nptr, | |
6653 | char **__restrict __endptr, int __base) | |
6654 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6655 | ||
6656 | # 277 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
6657 | extern double __strtod_internal (__const char *__restrict __nptr, | |
6658 | char **__restrict __endptr, int __group) | |
6659 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6660 | extern float __strtof_internal (__const char *__restrict __nptr, | |
6661 | char **__restrict __endptr, int __group) | |
6662 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6663 | extern long double __strtold_internal (__const char *__restrict __nptr, | |
6664 | char **__restrict __endptr, | |
6665 | int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6666 | ||
6667 | extern long int __strtol_internal (__const char *__restrict __nptr, | |
6668 | char **__restrict __endptr, | |
6669 | int __base, int __group) | |
6670 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6671 | ||
6672 | ||
6673 | ||
6674 | extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, | |
6675 | char **__restrict __endptr, | |
6676 | int __base, int __group) | |
6677 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6678 | ||
6679 | ||
6680 | ||
6681 | ||
6682 | __extension__ | |
6683 | extern long long int __strtoll_internal (__const char *__restrict __nptr, | |
6684 | char **__restrict __endptr, | |
6685 | int __base, int __group) | |
6686 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6687 | ||
6688 | ||
6689 | ||
6690 | __extension__ | |
6691 | extern unsigned long long int __strtoull_internal (__const char * | |
6692 | __restrict __nptr, | |
6693 | char **__restrict __endptr, | |
6694 | int __base, int __group) | |
6695 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6696 | ||
6697 | ||
6698 | ||
6699 | ||
6700 | ||
6701 | ||
6702 | ||
6703 | ||
6704 | extern __inline double | |
6705 | __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) | |
6706 | { | |
6707 | return __strtod_internal (__nptr, __endptr, 0); | |
6708 | } | |
6709 | extern __inline long int | |
6710 | __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
6711 | ||
6712 | { | |
6713 | return __strtol_internal (__nptr, __endptr, __base, 0); | |
6714 | } | |
6715 | extern __inline unsigned long int | |
6716 | __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
6717 | ||
6718 | { | |
6719 | return __strtoul_internal (__nptr, __endptr, __base, 0); | |
6720 | } | |
6721 | ||
6722 | # 359 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
6723 | __extension__ extern __inline long long int | |
6724 | __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
6725 | ||
6726 | { | |
6727 | return __strtoll_internal (__nptr, __endptr, __base, 0); | |
6728 | } | |
6729 | __extension__ extern __inline unsigned long long int | |
6730 | __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
6731 | ||
6732 | { | |
6733 | return __strtoull_internal (__nptr, __endptr, __base, 0); | |
6734 | } | |
6735 | ||
6736 | ||
6737 | ||
6738 | ||
6739 | __extension__ extern __inline long long int | |
6740 | __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) | |
6741 | ||
6742 | { | |
6743 | return __strtoll_internal (__nptr, __endptr, __base, 0); | |
6744 | } | |
6745 | __extension__ extern __inline unsigned long long int | |
6746 | __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) | |
6747 | ||
6748 | { | |
6749 | return __strtoull_internal (__nptr, __endptr, __base, 0); | |
6750 | } | |
6751 | ||
6752 | ||
6753 | ||
6754 | ||
6755 | extern __inline double | |
6756 | __attribute__ ((__nothrow__)) atof (__const char *__nptr) | |
6757 | { | |
6758 | return strtod (__nptr, (char **) ((void *)0)); | |
6759 | } | |
6760 | extern __inline int | |
6761 | __attribute__ ((__nothrow__)) atoi (__const char *__nptr) | |
6762 | { | |
6763 | return (int) strtol (__nptr, (char **) ((void *)0), 10); | |
6764 | } | |
6765 | extern __inline long int | |
6766 | __attribute__ ((__nothrow__)) atol (__const char *__nptr) | |
6767 | { | |
6768 | return strtol (__nptr, (char **) ((void *)0), 10); | |
6769 | } | |
6770 | ||
6771 | ||
6772 | ||
6773 | ||
6774 | __extension__ extern __inline long long int | |
6775 | __attribute__ ((__nothrow__)) atoll (__const char *__nptr) | |
6776 | { | |
6777 | return strtoll (__nptr, (char **) ((void *)0), 10); | |
6778 | } | |
6779 | ||
6780 | # 424 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
6781 | extern char *l64a (long int __n) __attribute__ ((__nothrow__)); | |
6782 | ||
6783 | ||
6784 | extern long int a64l (__const char *__s) | |
6785 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
6786 | ||
6787 | ||
6788 | ||
6789 | ||
6790 | # 1 "/usr/include/sys/types.h" 1 3 4 | |
6791 | # 434 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4 | |
6792 | ||
6793 | ||
6794 | ||
6795 | ||
6796 | ||
6797 | ||
6798 | extern long int random (void) __attribute__ ((__nothrow__)); | |
6799 | ||
6800 | ||
6801 | extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); | |
6802 | ||
6803 | ||
6804 | ||
6805 | ||
6806 | ||
6807 | extern char *initstate (unsigned int __seed, char *__statebuf, | |
6808 | size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
6809 | ||
6810 | ||
6811 | ||
6812 | extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6813 | ||
6814 | ||
6815 | ||
6816 | ||
6817 | ||
6818 | ||
6819 | ||
6820 | struct random_data | |
6821 | { | |
6822 | int32_t *fptr; | |
6823 | int32_t *rptr; | |
6824 | int32_t *state; | |
6825 | int rand_type; | |
6826 | int rand_deg; | |
6827 | int rand_sep; | |
6828 | int32_t *end_ptr; | |
6829 | }; | |
6830 | ||
6831 | extern int random_r (struct random_data *__restrict __buf, | |
6832 | int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6833 | ||
6834 | extern int srandom_r (unsigned int __seed, struct random_data *__buf) | |
6835 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
6836 | ||
6837 | extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, | |
6838 | size_t __statelen, | |
6839 | struct random_data *__restrict __buf) | |
6840 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); | |
6841 | ||
6842 | extern int setstate_r (char *__restrict __statebuf, | |
6843 | struct random_data *__restrict __buf) | |
6844 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6845 | ||
6846 | ||
6847 | ||
6848 | ||
6849 | ||
6850 | ||
6851 | extern int rand (void) __attribute__ ((__nothrow__)); | |
6852 | ||
6853 | extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); | |
6854 | ||
6855 | ||
6856 | ||
6857 | ||
6858 | extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); | |
6859 | ||
6860 | ||
6861 | ||
6862 | ||
6863 | ||
6864 | ||
6865 | ||
6866 | extern double drand48 (void) __attribute__ ((__nothrow__)); | |
6867 | extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6868 | ||
6869 | ||
6870 | extern long int lrand48 (void) __attribute__ ((__nothrow__)); | |
6871 | extern long int nrand48 (unsigned short int __xsubi[3]) | |
6872 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6873 | ||
6874 | ||
6875 | extern long int mrand48 (void) __attribute__ ((__nothrow__)); | |
6876 | extern long int jrand48 (unsigned short int __xsubi[3]) | |
6877 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6878 | ||
6879 | ||
6880 | extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); | |
6881 | extern unsigned short int *seed48 (unsigned short int __seed16v[3]) | |
6882 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6883 | extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6884 | ||
6885 | ||
6886 | ||
6887 | ||
6888 | ||
6889 | struct drand48_data | |
6890 | { | |
6891 | unsigned short int __x[3]; | |
6892 | unsigned short int __old_x[3]; | |
6893 | unsigned short int __c; | |
6894 | unsigned short int __init; | |
6895 | unsigned long long int __a; | |
6896 | }; | |
6897 | ||
6898 | ||
6899 | extern int drand48_r (struct drand48_data *__restrict __buffer, | |
6900 | double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6901 | extern int erand48_r (unsigned short int __xsubi[3], | |
6902 | struct drand48_data *__restrict __buffer, | |
6903 | double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6904 | ||
6905 | ||
6906 | extern int lrand48_r (struct drand48_data *__restrict __buffer, | |
6907 | long int *__restrict __result) | |
6908 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6909 | extern int nrand48_r (unsigned short int __xsubi[3], | |
6910 | struct drand48_data *__restrict __buffer, | |
6911 | long int *__restrict __result) | |
6912 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6913 | ||
6914 | ||
6915 | extern int mrand48_r (struct drand48_data *__restrict __buffer, | |
6916 | long int *__restrict __result) | |
6917 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6918 | extern int jrand48_r (unsigned short int __xsubi[3], | |
6919 | struct drand48_data *__restrict __buffer, | |
6920 | long int *__restrict __result) | |
6921 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6922 | ||
6923 | ||
6924 | extern int srand48_r (long int __seedval, struct drand48_data *__buffer) | |
6925 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
6926 | ||
6927 | extern int seed48_r (unsigned short int __seed16v[3], | |
6928 | struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6929 | ||
6930 | extern int lcong48_r (unsigned short int __param[7], | |
6931 | struct drand48_data *__buffer) | |
6932 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
6933 | # 592 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
6934 | ||
6935 | ||
6936 | ||
6937 | extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); | |
6938 | ||
6939 | extern void free (void *__ptr) __attribute__ ((__nothrow__)); | |
6940 | ||
6941 | ||
6942 | ||
6943 | ||
6944 | extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); | |
6945 | ||
6946 | ||
6947 | ||
6948 | # 1 "/usr/include/alloca.h" 1 3 4 | |
6949 | ||
6950 | ||
6951 | ||
6952 | # 1 "/usr/include/gentoo-multilib/x86/alloca.h" 1 3 4 | |
6953 | # 22 "/usr/include/gentoo-multilib/x86/alloca.h" 3 4 | |
6954 | # 1 "/usr/include/features.h" 1 3 4 | |
6955 | # 23 "/usr/include/gentoo-multilib/x86/alloca.h" 2 3 4 | |
6956 | ||
6957 | ||
6958 | # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 | |
6959 | # 26 "/usr/include/gentoo-multilib/x86/alloca.h" 2 3 4 | |
6960 | ||
6961 | ||
6962 | ||
6963 | ||
6964 | ||
6965 | ||
6966 | ||
6967 | extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); | |
6968 | ||
6969 | ||
6970 | ||
6971 | ||
6972 | ||
6973 | ||
6974 | # 5 "/usr/include/alloca.h" 2 3 4 | |
6975 | # 607 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4 | |
6976 | ||
6977 | ||
6978 | ||
6979 | ||
6980 | extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); | |
6981 | # 620 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
6982 | ||
6983 | ||
6984 | extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
6985 | ||
6986 | ||
6987 | ||
6988 | extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6989 | ||
6990 | ||
6991 | ||
6992 | ||
6993 | ||
6994 | extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) | |
6995 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
6996 | ||
6997 | ||
6998 | ||
6999 | ||
7000 | ||
7001 | ||
7002 | extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
7003 | ||
7004 | # 652 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
7005 | ||
7006 | ||
7007 | extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
7008 | ||
7009 | ||
7010 | ||
7011 | ||
7012 | extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
7013 | ||
7014 | ||
7015 | ||
7016 | ||
7017 | ||
7018 | extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
7019 | ||
7020 | ||
7021 | ||
7022 | ||
7023 | ||
7024 | extern int setenv (__const char *__name, __const char *__value, int __replace) | |
7025 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
7026 | ||
7027 | ||
7028 | extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); | |
7029 | ||
7030 | ||
7031 | ||
7032 | ||
7033 | ||
7034 | ||
7035 | extern int clearenv (void) __attribute__ ((__nothrow__)); | |
7036 | # 691 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
7037 | extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
7038 | # 702 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
7039 | extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))); | |
7040 | # 721 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
7041 | extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
7042 | ||
7043 | ||
7044 | ||
7045 | ||
7046 | ||
7047 | ||
7048 | ||
7049 | ||
7050 | extern int system (__const char *__command); | |
7051 | ||
7052 | # 749 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
7053 | extern char *realpath (__const char *__restrict __name, | |
7054 | char *__restrict __resolved) __attribute__ ((__nothrow__)); | |
7055 | ||
7056 | ||
7057 | ||
7058 | ||
7059 | ||
7060 | ||
7061 | typedef int (*__compar_fn_t) (__const void *, __const void *); | |
7062 | ||
7063 | ||
7064 | ||
7065 | ||
7066 | ||
7067 | ||
7068 | ||
7069 | ||
7070 | ||
7071 | extern void *bsearch (__const void *__key, __const void *__base, | |
7072 | size_t __nmemb, size_t __size, __compar_fn_t __compar) | |
7073 | __attribute__ ((__nonnull__ (1, 2, 5))); | |
7074 | ||
7075 | ||
7076 | ||
7077 | extern void qsort (void *__base, size_t __nmemb, size_t __size, | |
7078 | __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); | |
7079 | ||
7080 | ||
7081 | ||
7082 | extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
7083 | extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
7084 | ||
7085 | ||
7086 | ||
7087 | ||
7088 | ||
7089 | ||
7090 | ||
7091 | ||
7092 | ||
7093 | ||
7094 | ||
7095 | ||
7096 | extern div_t div (int __numer, int __denom) | |
7097 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
7098 | extern ldiv_t ldiv (long int __numer, long int __denom) | |
7099 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
7100 | ||
7101 | # 814 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
7102 | extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, | |
7103 | int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); | |
7104 | ||
7105 | ||
7106 | ||
7107 | ||
7108 | extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, | |
7109 | int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); | |
7110 | ||
7111 | ||
7112 | ||
7113 | ||
7114 | extern char *gcvt (double __value, int __ndigit, char *__buf) | |
7115 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); | |
7116 | ||
7117 | ||
7118 | ||
7119 | ||
7120 | extern char *qecvt (long double __value, int __ndigit, | |
7121 | int *__restrict __decpt, int *__restrict __sign) | |
7122 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); | |
7123 | extern char *qfcvt (long double __value, int __ndigit, | |
7124 | int *__restrict __decpt, int *__restrict __sign) | |
7125 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); | |
7126 | extern char *qgcvt (long double __value, int __ndigit, char *__buf) | |
7127 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); | |
7128 | ||
7129 | ||
7130 | ||
7131 | ||
7132 | extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
7133 | int *__restrict __sign, char *__restrict __buf, | |
7134 | size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
7135 | extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
7136 | int *__restrict __sign, char *__restrict __buf, | |
7137 | size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
7138 | ||
7139 | extern int qecvt_r (long double __value, int __ndigit, | |
7140 | int *__restrict __decpt, int *__restrict __sign, | |
7141 | char *__restrict __buf, size_t __len) | |
7142 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
7143 | extern int qfcvt_r (long double __value, int __ndigit, | |
7144 | int *__restrict __decpt, int *__restrict __sign, | |
7145 | char *__restrict __buf, size_t __len) | |
7146 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
7147 | ||
7148 | ||
7149 | ||
7150 | ||
7151 | ||
7152 | ||
7153 | ||
7154 | extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)); | |
7155 | ||
7156 | ||
7157 | extern int mbtowc (wchar_t *__restrict __pwc, | |
7158 | __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); | |
7159 | ||
7160 | ||
7161 | extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)); | |
7162 | ||
7163 | ||
7164 | ||
7165 | extern size_t mbstowcs (wchar_t *__restrict __pwcs, | |
7166 | __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); | |
7167 | ||
7168 | extern size_t wcstombs (char *__restrict __s, | |
7169 | __const wchar_t *__restrict __pwcs, size_t __n) | |
7170 | __attribute__ ((__nothrow__)); | |
7171 | ||
7172 | ||
7173 | ||
7174 | ||
7175 | ||
7176 | ||
7177 | ||
7178 | ||
7179 | extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
7180 | # 954 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4 | |
7181 | extern int getloadavg (double __loadavg[], int __nelem) | |
7182 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
7183 | ||
7184 | ||
7185 | ||
7186 | ||
7187 | ||
7188 | ||
7189 | # 5 "/usr/include/stdlib.h" 2 3 4 | |
7190 | # 84 "../../../include/winsock.h" 2 | |
7191 | # 105 "../../../include/winsock.h" | |
7192 | # 1 "../../../include/windows.h" 1 | |
7193 | # 36 "../../../include/windows.h" | |
7194 | # 1 "../../../include/excpt.h" 1 | |
7195 | # 25 "../../../include/excpt.h" | |
7196 | typedef enum _EXCEPTION_DISPOSITION | |
7197 | { | |
7198 | ExceptionContinueExecution, | |
7199 | ExceptionContinueSearch, | |
7200 | ExceptionNestedException, | |
7201 | ExceptionCollidedUnwind | |
7202 | } EXCEPTION_DISPOSITION; | |
7203 | # 37 "../../../include/windows.h" 2 | |
7204 | ||
7205 | # 1 "../../../include/windef.h" 1 | |
7206 | # 39 "../../../include/windows.h" 2 | |
7207 | # 1 "../../../include/winbase.h" 1 | |
7208 | # 40 "../../../include/windows.h" 2 | |
7209 | # 1 "../../../include/wingdi.h" 1 | |
7210 | # 27 "../../../include/wingdi.h" | |
7211 | typedef struct _ABCFLOAT { | |
7212 | FLOAT abcfA; | |
7213 | FLOAT abcfB; | |
7214 | FLOAT abcfC; | |
7215 | } ABCFLOAT, *PABCFLOAT, *LPABCFLOAT; | |
7216 | ||
7217 | ||
7218 | ||
7219 | typedef struct | |
7220 | { | |
7221 | WORD wFirst; | |
7222 | WORD wSecond; | |
7223 | INT iKernAmount; | |
7224 | } KERNINGPAIR, *LPKERNINGPAIR; | |
7225 | ||
7226 | typedef struct tagPIXELFORMATDESCRIPTOR { | |
7227 | WORD nSize; | |
7228 | WORD nVersion; | |
7229 | DWORD dwFlags; | |
7230 | BYTE iPixelType; | |
7231 | BYTE cColorBits; | |
7232 | BYTE cRedBits; | |
7233 | BYTE cRedShift; | |
7234 | BYTE cGreenBits; | |
7235 | BYTE cGreenShift; | |
7236 | BYTE cBlueBits; | |
7237 | BYTE cBlueShift; | |
7238 | BYTE cAlphaBits; | |
7239 | BYTE cAlphaShift; | |
7240 | BYTE cAccumBits; | |
7241 | BYTE cAccumRedBits; | |
7242 | BYTE cAccumGreenBits; | |
7243 | BYTE cAccumBlueBits; | |
7244 | BYTE cAccumAlphaBits; | |
7245 | BYTE cDepthBits; | |
7246 | BYTE cStencilBits; | |
7247 | BYTE cAuxBuffers; | |
7248 | BYTE iLayerType; | |
7249 | BYTE bReserved; | |
7250 | DWORD dwLayerMask; | |
7251 | DWORD dwVisibleMask; | |
7252 | DWORD dwDamageMask; | |
7253 | } PIXELFORMATDESCRIPTOR, *PPIXELFORMATDESCRIPTOR, *LPPIXELFORMATDESCRIPTOR; | |
7254 | # 96 "../../../include/wingdi.h" | |
7255 | typedef struct tagCOLORADJUSTMENT | |
7256 | { | |
7257 | WORD caSize; | |
7258 | WORD caFlags; | |
7259 | WORD caIlluminantIndex; | |
7260 | WORD caRedGamma; | |
7261 | WORD caGreenGamma; | |
7262 | WORD caBlueGamma; | |
7263 | WORD caReferenceBlack; | |
7264 | WORD caReferenceWhite; | |
7265 | SHORT caContrast; | |
7266 | SHORT caBrightness; | |
7267 | SHORT caColorfulness; | |
7268 | SHORT caRedGreenTint; | |
7269 | } COLORADJUSTMENT, *PCOLORADJUSTMENT, *LPCOLORADJUSTMENT; | |
7270 | # 142 "../../../include/wingdi.h" | |
7271 | typedef LONG FXPT16DOT16, *LPFXPT16DOT16; | |
7272 | typedef LONG FXPT2DOT30, *LPFXPT2DOT30; | |
7273 | typedef LONG LCSCSTYPE; | |
7274 | typedef LONG LCSGAMUTMATCH; | |
7275 | # 158 "../../../include/wingdi.h" | |
7276 | typedef struct tagCIEXYZ | |
7277 | { | |
7278 | FXPT2DOT30 ciexyzX; | |
7279 | FXPT2DOT30 ciexyzY; | |
7280 | FXPT2DOT30 ciexyzZ; | |
7281 | } CIEXYZ, *LPCIEXYZ; | |
7282 | ||
7283 | typedef struct tagCIEXYZTRIPLE | |
7284 | { | |
7285 | CIEXYZ ciexyzRed; | |
7286 | CIEXYZ ciexyzGreen; | |
7287 | CIEXYZ ciexyzBlue; | |
7288 | } CIEXYZTRIPLE, *LPCIEXYZTRIPLE; | |
7289 | ||
7290 | typedef struct tagLOGCOLORSPACEA | |
7291 | { | |
7292 | DWORD lcsSignature; | |
7293 | DWORD lcsVersion; | |
7294 | DWORD lcsSize; | |
7295 | LCSCSTYPE lcsCSType; | |
7296 | LCSGAMUTMATCH lcsIntent; | |
7297 | CIEXYZTRIPLE lcsEndpoints; | |
7298 | DWORD lcsGammaRed; | |
7299 | DWORD lcsGammaGreen; | |
7300 | DWORD lcsGammaBlue; | |
7301 | CHAR lcsFilename[260]; | |
7302 | } LOGCOLORSPACEA, *LPLOGCOLORSPACEA; | |
7303 | ||
7304 | typedef struct tagLOGCOLORSPACEW | |
7305 | { | |
7306 | DWORD lcsSignature; | |
7307 | DWORD lcsVersion; | |
7308 | DWORD lcsSize; | |
7309 | LCSCSTYPE lcsCSType; | |
7310 | LCSGAMUTMATCH lcsIntent; | |
7311 | CIEXYZTRIPLE lcsEndpoints; | |
7312 | DWORD lcsGammaRed; | |
7313 | DWORD lcsGammaGreen; | |
7314 | DWORD lcsGammaBlue; | |
7315 | WCHAR lcsFilename[260]; | |
7316 | } LOGCOLORSPACEW, *LPLOGCOLORSPACEW; | |
7317 | ||
7318 | typedef LPLOGCOLORSPACEA LPLOGCOLORSPACE; | |
7319 | typedef LOGCOLORSPACEA LOGCOLORSPACE; | |
7320 | # 437 "../../../include/wingdi.h" | |
7321 | typedef INT (__attribute__((__stdcall__)) *ICMENUMPROCA)(LPSTR lpszFilename,LPARAM lParam); | |
7322 | typedef INT (__attribute__((__stdcall__)) *ICMENUMPROCW)(LPWSTR lpszFilename,LPARAM lParam); | |
7323 | typedef ICMENUMPROCA ICMENUMPROC; | |
7324 | # 454 "../../../include/wingdi.h" | |
7325 | typedef struct | |
7326 | { | |
7327 | LONG paXCount; | |
7328 | LONG paYCount; | |
7329 | LONG paXExt; | |
7330 | LONG paYExt; | |
7331 | BYTE paRGBs; | |
7332 | } PELARRAY, *PPELARRAY, *LPPELARRAY; | |
7333 | ||
7334 | ||
7335 | ||
7336 | typedef struct | |
7337 | { | |
7338 | INT bmType; | |
7339 | INT bmWidth; | |
7340 | INT bmHeight; | |
7341 | INT bmWidthBytes; | |
7342 | WORD bmPlanes; | |
7343 | WORD bmBitsPixel; | |
7344 | LPVOID bmBits; | |
7345 | } BITMAP, *PBITMAP, *LPBITMAP; | |
7346 | ||
7347 | ||
7348 | ||
7349 | ||
7350 | typedef struct | |
7351 | { | |
7352 | UINT lbStyle; | |
7353 | COLORREF lbColor; | |
7354 | ULONG_PTR lbHatch; | |
7355 | } LOGBRUSH, *PLOGBRUSH, *LPLOGBRUSH; | |
7356 | ||
7357 | typedef struct | |
7358 | { | |
7359 | UINT lbStyle; | |
7360 | COLORREF lbColor; | |
7361 | ULONG lbHatch; | |
7362 | } LOGBRUSH32, *PLOGBRUSH32, *LPLOGBRUSH32; | |
7363 | ||
7364 | typedef LOGBRUSH PATTERN, *PPATTERN, *LPPATTERN; | |
7365 | # 526 "../../../include/wingdi.h" | |
7366 | typedef struct tagLOGFONTA | |
7367 | { | |
7368 | LONG lfHeight; | |
7369 | LONG lfWidth; | |
7370 | LONG lfEscapement; | |
7371 | LONG lfOrientation; | |
7372 | LONG lfWeight; | |
7373 | BYTE lfItalic; | |
7374 | BYTE lfUnderline; | |
7375 | BYTE lfStrikeOut; | |
7376 | BYTE lfCharSet; | |
7377 | BYTE lfOutPrecision; | |
7378 | BYTE lfClipPrecision; | |
7379 | BYTE lfQuality; | |
7380 | BYTE lfPitchAndFamily; | |
7381 | CHAR lfFaceName[32]; | |
7382 | } LOGFONTA, *PLOGFONTA, *LPLOGFONTA; | |
7383 | ||
7384 | typedef struct tagLOGFONTW | |
7385 | { | |
7386 | LONG lfHeight; | |
7387 | LONG lfWidth; | |
7388 | LONG lfEscapement; | |
7389 | LONG lfOrientation; | |
7390 | LONG lfWeight; | |
7391 | BYTE lfItalic; | |
7392 | BYTE lfUnderline; | |
7393 | BYTE lfStrikeOut; | |
7394 | BYTE lfCharSet; | |
7395 | BYTE lfOutPrecision; | |
7396 | BYTE lfClipPrecision; | |
7397 | BYTE lfQuality; | |
7398 | BYTE lfPitchAndFamily; | |
7399 | WCHAR lfFaceName[32]; | |
7400 | } LOGFONTW, *PLOGFONTW, *LPLOGFONTW; | |
7401 | ||
7402 | typedef LOGFONTA LOGFONT; | |
7403 | typedef PLOGFONTA PLOGFONT; | |
7404 | typedef LPLOGFONTA LPLOGFONT; | |
7405 | ||
7406 | typedef struct | |
7407 | { | |
7408 | LOGFONTA elfLogFont; | |
7409 | BYTE elfFullName[64]; | |
7410 | BYTE elfStyle[32]; | |
7411 | } ENUMLOGFONTA, *LPENUMLOGFONTA; | |
7412 | ||
7413 | typedef struct | |
7414 | { | |
7415 | LOGFONTW elfLogFont; | |
7416 | WCHAR elfFullName[64]; | |
7417 | WCHAR elfStyle[32]; | |
7418 | } ENUMLOGFONTW, *LPENUMLOGFONTW; | |
7419 | ||
7420 | typedef ENUMLOGFONTA ENUMLOGFONT; | |
7421 | typedef LPENUMLOGFONTA LPENUMLOGFONT; | |
7422 | ||
7423 | typedef struct | |
7424 | { | |
7425 | LOGFONTA elfLogFont; | |
7426 | BYTE elfFullName[64]; | |
7427 | BYTE elfStyle[32]; | |
7428 | BYTE elfScript[32]; | |
7429 | } ENUMLOGFONTEXA,*LPENUMLOGFONTEXA; | |
7430 | ||
7431 | typedef struct | |
7432 | { | |
7433 | LOGFONTW elfLogFont; | |
7434 | WCHAR elfFullName[64]; | |
7435 | WCHAR elfStyle[32]; | |
7436 | WCHAR elfScript[32]; | |
7437 | } ENUMLOGFONTEXW,*LPENUMLOGFONTEXW; | |
7438 | ||
7439 | typedef ENUMLOGFONTEXA ENUMLOGFONTEX; | |
7440 | typedef LPENUMLOGFONTEXA LPENUMLOGFONTEX; | |
7441 | # 614 "../../../include/wingdi.h" | |
7442 | typedef struct | |
7443 | { | |
7444 | DWORD fsUsb[4]; | |
7445 | DWORD fsCsb[2]; | |
7446 | } FONTSIGNATURE, *PFONTSIGNATURE, *LPFONTSIGNATURE; | |
7447 | ||
7448 | typedef struct | |
7449 | { | |
7450 | UINT ciCharset; | |
7451 | UINT ciACP; | |
7452 | FONTSIGNATURE fs; | |
7453 | } CHARSETINFO, *PCHARSETINFO, *LPCHARSETINFO; | |
7454 | ||
7455 | ||
7456 | ||
7457 | ||
7458 | ||
7459 | ||
7460 | typedef struct | |
7461 | { | |
7462 | DWORD lsUsb[4]; | |
7463 | DWORD lsCsbDefault[2]; | |
7464 | DWORD lsCsbSupported[2]; | |
7465 | } LOCALESIGNATURE, *PLOCALESIGNATURE, *LPLOCALESIGNATURE; | |
7466 | # 663 "../../../include/wingdi.h" | |
7467 | typedef struct tagXFORM | |
7468 | { | |
7469 | FLOAT eM11; | |
7470 | FLOAT eM12; | |
7471 | FLOAT eM21; | |
7472 | FLOAT eM22; | |
7473 | FLOAT eDx; | |
7474 | FLOAT eDy; | |
7475 | } XFORM, *PXFORM, *LPXFORM; | |
7476 | # 783 "../../../include/wingdi.h" | |
7477 | typedef struct tagTEXTMETRICA | |
7478 | { | |
7479 | LONG tmHeight; | |
7480 | LONG tmAscent; | |
7481 | LONG tmDescent; | |
7482 | LONG tmInternalLeading; | |
7483 | LONG tmExternalLeading; | |
7484 | LONG tmAveCharWidth; | |
7485 | LONG tmMaxCharWidth; | |
7486 | LONG tmWeight; | |
7487 | LONG tmOverhang; | |
7488 | LONG tmDigitizedAspectX; | |
7489 | LONG tmDigitizedAspectY; | |
7490 | BYTE tmFirstChar; | |
7491 | BYTE tmLastChar; | |
7492 | BYTE tmDefaultChar; | |
7493 | BYTE tmBreakChar; | |
7494 | BYTE tmItalic; | |
7495 | BYTE tmUnderlined; | |
7496 | BYTE tmStruckOut; | |
7497 | BYTE tmPitchAndFamily; | |
7498 | BYTE tmCharSet; | |
7499 | } TEXTMETRICA, *LPTEXTMETRICA, *PTEXTMETRICA; | |
7500 | ||
7501 | typedef struct tagTEXTMETRICW | |
7502 | { | |
7503 | LONG tmHeight; | |
7504 | LONG tmAscent; | |
7505 | LONG tmDescent; | |
7506 | LONG tmInternalLeading; | |
7507 | LONG tmExternalLeading; | |
7508 | LONG tmAveCharWidth; | |
7509 | LONG tmMaxCharWidth; | |
7510 | LONG tmWeight; | |
7511 | LONG tmOverhang; | |
7512 | LONG tmDigitizedAspectX; | |
7513 | LONG tmDigitizedAspectY; | |
7514 | WCHAR tmFirstChar; | |
7515 | WCHAR tmLastChar; | |
7516 | WCHAR tmDefaultChar; | |
7517 | WCHAR tmBreakChar; | |
7518 | BYTE tmItalic; | |
7519 | BYTE tmUnderlined; | |
7520 | BYTE tmStruckOut; | |
7521 | BYTE tmPitchAndFamily; | |
7522 | BYTE tmCharSet; | |
7523 | } TEXTMETRICW, *LPTEXTMETRICW, *PTEXTMETRICW; | |
7524 | ||
7525 | typedef TEXTMETRICA TEXTMETRIC; | |
7526 | typedef PTEXTMETRICA PTEXTMETRIC; | |
7527 | typedef LPTEXTMETRICA LPTEXTMETRIC; | |
7528 | ||
7529 | ||
7530 | ||
7531 | typedef struct tagPANOSE | |
7532 | { | |
7533 | BYTE bFamilyType; | |
7534 | BYTE bSerifStyle; | |
7535 | BYTE bWeight; | |
7536 | BYTE bProportion; | |
7537 | BYTE bContrast; | |
7538 | BYTE bStrokeVariation; | |
7539 | BYTE bArmStyle; | |
7540 | BYTE bLetterform; | |
7541 | BYTE bMidline; | |
7542 | BYTE bXHeight; | |
7543 | } PANOSE, *LPPANOSE; | |
7544 | # 973 "../../../include/wingdi.h" | |
7545 | typedef struct | |
7546 | { | |
7547 | LOGFONTA elfLogFont; | |
7548 | BYTE elfFullName[64]; | |
7549 | BYTE elfStyle[32]; | |
7550 | DWORD elfVersion; | |
7551 | DWORD elfStyleSize; | |
7552 | DWORD elfMatch; | |
7553 | DWORD elfReserved; | |
7554 | BYTE elfVendorId[4]; | |
7555 | DWORD elfCulture; | |
7556 | PANOSE elfPanose; | |
7557 | } EXTLOGFONTA, *PEXTLOGFONTA, *LPEXTLOGFONTA; | |
7558 | ||
7559 | typedef struct | |
7560 | { | |
7561 | LOGFONTW elfLogFont; | |
7562 | WCHAR elfFullName[64]; | |
7563 | WCHAR elfStyle[32]; | |
7564 | DWORD elfVersion; | |
7565 | DWORD elfStyleSize; | |
7566 | DWORD elfMatch; | |
7567 | DWORD elfReserved; | |
7568 | BYTE elfVendorId[4]; | |
7569 | DWORD elfCulture; | |
7570 | PANOSE elfPanose; | |
7571 | } EXTLOGFONTW, *PEXTLOGFONTW, *LPEXTLOGFONTW; | |
7572 | ||
7573 | typedef EXTLOGFONTA EXTLOGFONT; | |
7574 | typedef PEXTLOGFONTA PEXTLOGFONT; | |
7575 | typedef LPEXTLOGFONTA LPEXTLOGFONT; | |
7576 | ||
7577 | ||
7578 | ||
7579 | ||
7580 | typedef struct _OUTLINETEXTMETRICA | |
7581 | { | |
7582 | UINT otmSize; | |
7583 | TEXTMETRICA otmTextMetrics; | |
7584 | BYTE otmFiller; | |
7585 | PANOSE otmPanoseNumber; | |
7586 | UINT otmfsSelection; | |
7587 | UINT otmfsType; | |
7588 | INT otmsCharSlopeRise; | |
7589 | INT otmsCharSlopeRun; | |
7590 | INT otmItalicAngle; | |
7591 | UINT otmEMSquare; | |
7592 | INT otmAscent; | |
7593 | INT otmDescent; | |
7594 | UINT otmLineGap; | |
7595 | UINT otmsCapEmHeight; | |
7596 | UINT otmsXHeight; | |
7597 | RECT otmrcFontBox; | |
7598 | INT otmMacAscent; | |
7599 | INT otmMacDescent; | |
7600 | UINT otmMacLineGap; | |
7601 | UINT otmusMinimumPPEM; | |
7602 | POINT otmptSubscriptSize; | |
7603 | POINT otmptSubscriptOffset; | |
7604 | POINT otmptSuperscriptSize; | |
7605 | POINT otmptSuperscriptOffset; | |
7606 | UINT otmsStrikeoutSize; | |
7607 | INT otmsStrikeoutPosition; | |
7608 | INT otmsUnderscoreSize; | |
7609 | INT otmsUnderscorePosition; | |
7610 | LPSTR otmpFamilyName; | |
7611 | LPSTR otmpFaceName; | |
7612 | LPSTR otmpStyleName; | |
7613 | LPSTR otmpFullName; | |
7614 | } OUTLINETEXTMETRICA, *POUTLINETEXTMETRICA, *LPOUTLINETEXTMETRICA; | |
7615 | ||
7616 | typedef struct _OUTLINETEXTMETRICW | |
7617 | { | |
7618 | UINT otmSize; | |
7619 | TEXTMETRICW otmTextMetrics; | |
7620 | BYTE otmFiller; | |
7621 | PANOSE otmPanoseNumber; | |
7622 | UINT otmfsSelection; | |
7623 | UINT otmfsType; | |
7624 | INT otmsCharSlopeRise; | |
7625 | INT otmsCharSlopeRun; | |
7626 | INT otmItalicAngle; | |
7627 | UINT otmEMSquare; | |
7628 | INT otmAscent; | |
7629 | INT otmDescent; | |
7630 | UINT otmLineGap; | |
7631 | UINT otmsCapEmHeight; | |
7632 | UINT otmsXHeight; | |
7633 | RECT otmrcFontBox; | |
7634 | INT otmMacAscent; | |
7635 | INT otmMacDescent; | |
7636 | UINT otmMacLineGap; | |
7637 | UINT otmusMinimumPPEM; | |
7638 | POINT otmptSubscriptSize; | |
7639 | POINT otmptSubscriptOffset; | |
7640 | POINT otmptSuperscriptSize; | |
7641 | POINT otmptSuperscriptOffset; | |
7642 | UINT otmsStrikeoutSize; | |
7643 | INT otmsStrikeoutPosition; | |
7644 | INT otmsUnderscoreSize; | |
7645 | INT otmsUnderscorePosition; | |
7646 | LPSTR otmpFamilyName; | |
7647 | LPSTR otmpFaceName; | |
7648 | LPSTR otmpStyleName; | |
7649 | LPSTR otmpFullName; | |
7650 | } OUTLINETEXTMETRICW, *POUTLINETEXTMETRICW, *LPOUTLINETEXTMETRICW; | |
7651 | ||
7652 | typedef OUTLINETEXTMETRICA OUTLINETEXTMETRIC; | |
7653 | typedef POUTLINETEXTMETRICA POUTLINETEXTMETRIC; | |
7654 | typedef LPOUTLINETEXTMETRICA LPOUTLINETEXTMETRIC; | |
7655 | ||
7656 | typedef struct | |
7657 | { | |
7658 | INT x; | |
7659 | INT y; | |
7660 | UINT n; | |
7661 | LPCSTR lpstr; | |
7662 | UINT uiFlags; | |
7663 | RECT rcl; | |
7664 | INT *pdx; | |
7665 | } POLYTEXTA, *PPOLYTEXTA, *LPPOLYTEXTA; | |
7666 | ||
7667 | typedef struct | |
7668 | { | |
7669 | INT x; | |
7670 | INT y; | |
7671 | UINT n; | |
7672 | LPCWSTR lpstr; | |
7673 | UINT uiFlags; | |
7674 | RECT rcl; | |
7675 | INT *pdx; | |
7676 | } POLYTEXTW, *PPOLYTEXTW, *LPPOLYTEXTW; | |
7677 | ||
7678 | typedef POLYTEXTA POLYTEXT; | |
7679 | typedef PPOLYTEXTA PPOLYTEXT; | |
7680 | typedef LPPOLYTEXTA LPPOLYTEXT; | |
7681 | # 1124 "../../../include/wingdi.h" | |
7682 | typedef struct | |
7683 | { | |
7684 | LONG tmHeight; | |
7685 | LONG tmAscent; | |
7686 | LONG tmDescent; | |
7687 | LONG tmInternalLeading; | |
7688 | LONG tmExternalLeading; | |
7689 | LONG tmAveCharWidth; | |
7690 | LONG tmMaxCharWidth; | |
7691 | LONG tmWeight; | |
7692 | LONG tmOverhang; | |
7693 | LONG tmDigitizedAspectX; | |
7694 | LONG tmDigitizedAspectY; | |
7695 | BYTE tmFirstChar; | |
7696 | BYTE tmLastChar; | |
7697 | BYTE tmDefaultChar; | |
7698 | BYTE tmBreakChar; | |
7699 | BYTE tmItalic; | |
7700 | BYTE tmUnderlined; | |
7701 | BYTE tmStruckOut; | |
7702 | BYTE tmPitchAndFamily; | |
7703 | BYTE tmCharSet; | |
7704 | DWORD ntmFlags; | |
7705 | UINT ntmSizeEM; | |
7706 | UINT ntmCellHeight; | |
7707 | UINT ntmAvgWidth; | |
7708 | } NEWTEXTMETRICA, *PNEWTEXTMETRICA, *LPNEWTEXTMETRICA; | |
7709 | ||
7710 | typedef struct | |
7711 | { | |
7712 | LONG tmHeight; | |
7713 | LONG tmAscent; | |
7714 | LONG tmDescent; | |
7715 | LONG tmInternalLeading; | |
7716 | LONG tmExternalLeading; | |
7717 | LONG tmAveCharWidth; | |
7718 | LONG tmMaxCharWidth; | |
7719 | LONG tmWeight; | |
7720 | LONG tmOverhang; | |
7721 | LONG tmDigitizedAspectX; | |
7722 | LONG tmDigitizedAspectY; | |
7723 | WCHAR tmFirstChar; | |
7724 | WCHAR tmLastChar; | |
7725 | WCHAR tmDefaultChar; | |
7726 | WCHAR tmBreakChar; | |
7727 | BYTE tmItalic; | |
7728 | BYTE tmUnderlined; | |
7729 | BYTE tmStruckOut; | |
7730 | BYTE tmPitchAndFamily; | |
7731 | BYTE tmCharSet; | |
7732 | DWORD ntmFlags; | |
7733 | UINT ntmSizeEM; | |
7734 | UINT ntmCellHeight; | |
7735 | UINT ntmAvgWidth; | |
7736 | } NEWTEXTMETRICW, *PNEWTEXTMETRICW, *LPNEWTEXTMETRICW; | |
7737 | ||
7738 | typedef NEWTEXTMETRICA NEWTEXTMETRIC; | |
7739 | typedef PNEWTEXTMETRICA PNEWTEXTMETRIC; | |
7740 | typedef LPNEWTEXTMETRICA LPNEWTEXTMETRIC; | |
7741 | ||
7742 | typedef struct | |
7743 | { | |
7744 | NEWTEXTMETRICA ntmTm; | |
7745 | FONTSIGNATURE ntmFontSig; | |
7746 | } NEWTEXTMETRICEXA; | |
7747 | ||
7748 | typedef struct | |
7749 | { | |
7750 | NEWTEXTMETRICW ntmTm; | |
7751 | FONTSIGNATURE ntmFontSig; | |
7752 | } NEWTEXTMETRICEXW; | |
7753 | ||
7754 | typedef NEWTEXTMETRICEXA NEWTEXTMETRICEX; | |
7755 | ||
7756 | ||
7757 | ||
7758 | ||
7759 | typedef int (__attribute__((__stdcall__)) *OLDFONTENUMPROCA)(const LOGFONTA *, const TEXTMETRICA *, DWORD, LPARAM); | |
7760 | typedef int (__attribute__((__stdcall__)) *OLDFONTENUMPROCW)(const LOGFONTW *, const TEXTMETRICW *, DWORD, LPARAM); | |
7761 | ||
7762 | ||
7763 | ||
7764 | ||
7765 | typedef OLDFONTENUMPROCA OLDFONTENUMPROC; | |
7766 | ||
7767 | typedef OLDFONTENUMPROCA FONTENUMPROCA; | |
7768 | typedef OLDFONTENUMPROCW FONTENUMPROCW; | |
7769 | typedef FONTENUMPROCA FONTENUMPROC; | |
7770 | ||
7771 | typedef INT (__attribute__((__stdcall__)) *GOBJENUMPROC)(LPVOID, LPARAM); | |
7772 | typedef void (__attribute__((__stdcall__)) *LINEDDAPROC)(INT, INT, LPARAM); | |
7773 | # 1271 "../../../include/wingdi.h" | |
7774 | typedef struct | |
7775 | { | |
7776 | UINT gmBlackBoxX; | |
7777 | UINT gmBlackBoxY; | |
7778 | POINT gmptGlyphOrigin; | |
7779 | SHORT gmCellIncX; | |
7780 | SHORT gmCellIncY; | |
7781 | } GLYPHMETRICS, *LPGLYPHMETRICS; | |
7782 | # 1290 "../../../include/wingdi.h" | |
7783 | typedef struct | |
7784 | { | |
7785 | WORD fract; | |
7786 | SHORT value; | |
7787 | } FIXED; | |
7788 | ||
7789 | typedef struct tagPOINTFX | |
7790 | { | |
7791 | FIXED x; | |
7792 | FIXED y; | |
7793 | } POINTFX, *LPPOINTFX; | |
7794 | ||
7795 | typedef struct tagTTPOLYCURVE | |
7796 | { | |
7797 | WORD wType; | |
7798 | WORD cpfx; | |
7799 | POINTFX apfx[1]; | |
7800 | } TTPOLYCURVE, *LPTTPOLYCURVE; | |
7801 | ||
7802 | typedef struct tagTTPOLYGONHEADER | |
7803 | { | |
7804 | DWORD cb; | |
7805 | DWORD dwType; | |
7806 | POINTFX pfxStart; | |
7807 | } TTPOLYGONHEADER, *LPTTPOLYGONHEADER; | |
7808 | ||
7809 | typedef struct | |
7810 | { | |
7811 | FIXED eM11; | |
7812 | FIXED eM12; | |
7813 | FIXED eM21; | |
7814 | FIXED eM22; | |
7815 | } MAT2, *LPMAT2; | |
7816 | ||
7817 | ||
7818 | typedef struct | |
7819 | { | |
7820 | INT abcA; | |
7821 | UINT abcB; | |
7822 | INT abcC; | |
7823 | } ABC, *PABC, *LPABC; | |
7824 | # 1374 "../../../include/wingdi.h" | |
7825 | typedef struct tagGCP_RESULTSA{ | |
7826 | DWORD lStructSize; | |
7827 | LPSTR lpOutString; | |
7828 | UINT *lpOrder; | |
7829 | INT *lpDx; | |
7830 | INT *lpCaretPos; | |
7831 | LPSTR lpClass; | |
7832 | LPWSTR lpGlyphs; | |
7833 | UINT nGlyphs; | |
7834 | UINT nMaxFit; | |
7835 | } GCP_RESULTSA, *LPGCP_RESULTSA; | |
7836 | ||
7837 | typedef struct tagGCP_RESULTSW | |
7838 | { | |
7839 | DWORD lStructSize; | |
7840 | LPWSTR lpOutString; | |
7841 | UINT *lpOrder; | |
7842 | INT *lpDx; | |
7843 | INT *lpCaretPos; | |
7844 | LPSTR lpClass; | |
7845 | LPWSTR lpGlyphs; | |
7846 | UINT nGlyphs; | |
7847 | UINT nMaxFit; | |
7848 | } GCP_RESULTSW, *LPGCP_RESULTSW; | |
7849 | ||
7850 | typedef GCP_RESULTSA GCP_RESULTS; | |
7851 | typedef LPGCP_RESULTSA LPGCP_RESULTS; | |
7852 | ||
7853 | ||
7854 | typedef struct | |
7855 | { | |
7856 | SHORT nSize; | |
7857 | SHORT wFlags; | |
7858 | SHORT nLanguageID; | |
7859 | } RASTERIZER_STATUS, *LPRASTERIZER_STATUS; | |
7860 | # 1419 "../../../include/wingdi.h" | |
7861 | typedef struct { | |
7862 | FLOAT x; | |
7863 | FLOAT y; | |
7864 | } POINTFLOAT, *PPOINTFLOAT; | |
7865 | ||
7866 | typedef struct { | |
7867 | FLOAT gmfBlackBoxX; | |
7868 | FLOAT gmfBlackBoxY; | |
7869 | POINTFLOAT gmfptGlyphOrigin; | |
7870 | FLOAT gmfCellIncX; | |
7871 | FLOAT gmfCellIncY; | |
7872 | } GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT; | |
7873 | ||
7874 | typedef struct { | |
7875 | WORD nSize; | |
7876 | WORD nVersion; | |
7877 | DWORD dwFlags; | |
7878 | BYTE iPixelType; | |
7879 | BYTE cColorBits; | |
7880 | BYTE cRedBits; | |
7881 | BYTE cRedShift; | |
7882 | BYTE cGreenBits; | |
7883 | BYTE cGreenShift; | |
7884 | BYTE cBlueBits; | |
7885 | BYTE cBlueShift; | |
7886 | BYTE cAlphaBits; | |
7887 | BYTE cAlphaShift; | |
7888 | BYTE cAccumBits; | |
7889 | BYTE cAccumRedBits; | |
7890 | BYTE cAccumGreenBits; | |
7891 | BYTE cAccumBlueBits; | |
7892 | BYTE cAccumAlphaBits; | |
7893 | BYTE cDepthBits; | |
7894 | BYTE cStencilBits; | |
7895 | BYTE cAuxBuffers; | |
7896 | BYTE iLayerPlane; | |
7897 | BYTE bReserved; | |
7898 | COLORREF crTransparent; | |
7899 | } LAYERPLANEDESCRIPTOR, *PLAYERPLANEDESCRIPTOR, *LPLAYERPLANEDESCRIPTOR; | |
7900 | # 1467 "../../../include/wingdi.h" | |
7901 | typedef struct tagPALETTEENTRY | |
7902 | { | |
7903 | BYTE peRed, peGreen, peBlue, peFlags; | |
7904 | } PALETTEENTRY, *PPALETTEENTRY, *LPPALETTEENTRY; | |
7905 | # 1480 "../../../include/wingdi.h" | |
7906 | typedef struct tagLOGPALETTE | |
7907 | { | |
7908 | WORD palVersion; | |
7909 | WORD palNumEntries; | |
7910 | PALETTEENTRY palPalEntry[1]; | |
7911 | } LOGPALETTE, *PLOGPALETTE, *LPLOGPALETTE, *NPLOGPALETTE; | |
7912 | ||
7913 | ||
7914 | ||
7915 | ||
7916 | typedef struct | |
7917 | { | |
7918 | UINT lopnStyle; | |
7919 | POINT lopnWidth; | |
7920 | COLORREF lopnColor; | |
7921 | } LOGPEN, *LPLOGPEN; | |
7922 | ||
7923 | ||
7924 | typedef struct tagEXTLOGPEN | |
7925 | { | |
7926 | DWORD elpPenStyle; | |
7927 | DWORD elpWidth; | |
7928 | UINT elpBrushStyle; | |
7929 | COLORREF elpColor; | |
7930 | ULONG_PTR elpHatch; | |
7931 | DWORD elpNumEntries; | |
7932 | DWORD elpStyleEntry[1]; | |
7933 | } EXTLOGPEN, *PEXTLOGPEN, *NPEXTLOGPEN, *LPEXTLOGPEN; | |
7934 | # 1754 "../../../include/wingdi.h" | |
7935 | typedef struct { | |
7936 | BYTE rgbBlue; | |
7937 | BYTE rgbGreen; | |
7938 | BYTE rgbRed; | |
7939 | BYTE rgbReserved; | |
7940 | } RGBQUAD, *LPRGBQUAD; | |
7941 | ||
7942 | typedef struct { | |
7943 | BYTE rgbtBlue; | |
7944 | BYTE rgbtGreen; | |
7945 | BYTE rgbtRed; | |
7946 | } RGBTRIPLE; | |
7947 | ||
7948 | # 1 "../../../include/pshpack2.h" 1 | |
7949 | # 105 "../../../include/pshpack2.h" | |
7950 | #pragma pack(2) | |
7951 | # 1768 "../../../include/wingdi.h" 2 | |
7952 | typedef struct | |
7953 | { | |
7954 | WORD bfType; | |
7955 | DWORD bfSize; | |
7956 | WORD bfReserved1; | |
7957 | WORD bfReserved2; | |
7958 | DWORD bfOffBits; | |
7959 | } BITMAPFILEHEADER, *PBITMAPFILEHEADER, *LPBITMAPFILEHEADER; | |
7960 | # 1 "../../../include/poppack.h" 1 | |
7961 | # 253 "../../../include/poppack.h" | |
7962 | #pragma pack() | |
7963 | # 1777 "../../../include/wingdi.h" 2 | |
7964 | ||
7965 | ||
7966 | ||
7967 | typedef struct | |
7968 | { | |
7969 | DWORD biSize; | |
7970 | LONG biWidth; | |
7971 | LONG biHeight; | |
7972 | WORD biPlanes; | |
7973 | WORD biBitCount; | |
7974 | DWORD biCompression; | |
7975 | DWORD biSizeImage; | |
7976 | LONG biXPelsPerMeter; | |
7977 | LONG biYPelsPerMeter; | |
7978 | DWORD biClrUsed; | |
7979 | DWORD biClrImportant; | |
7980 | } BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER; | |
7981 | ||
7982 | typedef struct | |
7983 | { | |
7984 | DWORD bV4Size; | |
7985 | LONG bV4Width; | |
7986 | LONG bV4Height; | |
7987 | WORD bV4Planes; | |
7988 | WORD bV4BitCount; | |
7989 | DWORD bV4V4Compression; | |
7990 | DWORD bV4SizeImage; | |
7991 | LONG bV4XPelsPerMeter; | |
7992 | LONG bV4YPelsPerMeter; | |
7993 | DWORD bV4ClrUsed; | |
7994 | DWORD bV4ClrImportant; | |
7995 | DWORD bV4RedMask; | |
7996 | DWORD bV4GreenMask; | |
7997 | DWORD bV4BlueMask; | |
7998 | DWORD bV4AlphaMask; | |
7999 | DWORD bV4CSType; | |
8000 | CIEXYZTRIPLE bV4Endpoints; | |
8001 | DWORD bV4GammaRed; | |
8002 | DWORD bV4GammaGreen; | |
8003 | DWORD bV4GammaBlue; | |
8004 | } BITMAPV4HEADER, *PBITMAPV4HEADER; | |
8005 | ||
8006 | typedef struct { | |
8007 | DWORD bV5Size; | |
8008 | LONG bV5Width; | |
8009 | LONG bV5Height; | |
8010 | WORD bV5Planes; | |
8011 | WORD bV5BitCount; | |
8012 | DWORD bV5Compression; | |
8013 | DWORD bV5SizeImage; | |
8014 | LONG bV5XPelsPerMeter; | |
8015 | LONG bV5YPelsPerMeter; | |
8016 | DWORD bV5ClrUsed; | |
8017 | DWORD bV5ClrImportant; | |
8018 | DWORD bV5RedMask; | |
8019 | DWORD bV5GreenMask; | |
8020 | DWORD bV5BlueMask; | |
8021 | DWORD bV5AlphaMask; | |
8022 | DWORD bV5CSType; | |
8023 | CIEXYZTRIPLE bV5Endpoints; | |
8024 | DWORD bV5GammaRed; | |
8025 | DWORD bV5GammaGreen; | |
8026 | DWORD bV5GammaBlue; | |
8027 | DWORD bV5Intent; | |
8028 | DWORD bV5ProfileData; | |
8029 | DWORD bV5ProfileSize; | |
8030 | DWORD bV5Reserved; | |
8031 | } BITMAPV5HEADER, *LPBITMAPV5HEADER, *PBITMAPV5HEADER; | |
8032 | # 1856 "../../../include/wingdi.h" | |
8033 | typedef struct tagBITMAPINFO | |
8034 | { | |
8035 | BITMAPINFOHEADER bmiHeader; | |
8036 | RGBQUAD bmiColors[1]; | |
8037 | } BITMAPINFO, *PBITMAPINFO, *LPBITMAPINFO; | |
8038 | ||
8039 | typedef struct | |
8040 | { | |
8041 | DWORD bcSize; | |
8042 | WORD bcWidth; | |
8043 | WORD bcHeight; | |
8044 | WORD bcPlanes; | |
8045 | WORD bcBitCount; | |
8046 | } BITMAPCOREHEADER, *PBITMAPCOREHEADER, *LPBITMAPCOREHEADER; | |
8047 | ||
8048 | typedef struct | |
8049 | { | |
8050 | BITMAPCOREHEADER bmciHeader; | |
8051 | RGBTRIPLE bmciColors[1]; | |
8052 | } BITMAPCOREINFO, *PBITMAPCOREINFO, *LPBITMAPCOREINFO; | |
8053 | ||
8054 | ||
8055 | ||
8056 | ||
8057 | ||
8058 | typedef struct | |
8059 | { | |
8060 | BITMAP dsBm; | |
8061 | BITMAPINFOHEADER dsBmih; | |
8062 | DWORD dsBitfields[3]; | |
8063 | HANDLE dshSection; | |
8064 | DWORD dsOffset; | |
8065 | } DIBSECTION, *PDIBSECTION, *LPDIBSECTION; | |
8066 | # 1917 "../../../include/wingdi.h" | |
8067 | # 1 "../../../include/pshpack2.h" 1 | |
8068 | # 105 "../../../include/pshpack2.h" | |
8069 | #pragma pack(2) | |
8070 | # 1918 "../../../include/wingdi.h" 2 | |
8071 | typedef struct | |
8072 | { | |
8073 | WORD mtType; | |
8074 | WORD mtHeaderSize; | |
8075 | WORD mtVersion; | |
8076 | DWORD mtSize; | |
8077 | WORD mtNoObjects; | |
8078 | DWORD mtMaxRecord; | |
8079 | WORD mtNoParameters; | |
8080 | } METAHEADER, *PMETAHEADER, *LPMETAHEADER; | |
8081 | # 1 "../../../include/poppack.h" 1 | |
8082 | # 253 "../../../include/poppack.h" | |
8083 | #pragma pack() | |
8084 | # 1929 "../../../include/wingdi.h" 2 | |
8085 | ||
8086 | ||
8087 | typedef struct | |
8088 | { | |
8089 | DWORD rdSize; | |
8090 | WORD rdFunction; | |
8091 | WORD rdParm[1]; | |
8092 | } METARECORD, *PMETARECORD, *LPMETARECORD; | |
8093 | ||
8094 | ||
8095 | ||
8096 | typedef struct | |
8097 | { | |
8098 | HGDIOBJ objectHandle[1]; | |
8099 | } HANDLETABLE, *PHANDLETABLE, *LPHANDLETABLE; | |
8100 | ||
8101 | ||
8102 | ||
8103 | typedef struct | |
8104 | { | |
8105 | LONG mm; | |
8106 | LONG xExt; | |
8107 | LONG yExt; | |
8108 | HMETAFILE hMF; | |
8109 | } METAFILEPICT, *LPMETAFILEPICT; | |
8110 | # 2037 "../../../include/wingdi.h" | |
8111 | typedef INT (__attribute__((__stdcall__)) *MFENUMPROC)(HDC,HANDLETABLE*,METARECORD*, | |
8112 | INT,LPARAM); | |
8113 | ||
8114 | ||
8115 | ||
8116 | ||
8117 | ||
8118 | typedef struct { | |
8119 | DWORD iType; | |
8120 | DWORD nSize; | |
8121 | RECTL rclBounds; | |
8122 | RECTL rclFrame; | |
8123 | DWORD dSignature; | |
8124 | DWORD nVersion; | |
8125 | DWORD nBytes; | |
8126 | DWORD nRecords; | |
8127 | WORD nHandles; | |
8128 | WORD sReserved; | |
8129 | DWORD nDescription; | |
8130 | DWORD offDescription; | |
8131 | DWORD nPalEntries; | |
8132 | SIZEL szlDevice; | |
8133 | SIZEL szlMillimeters; | |
8134 | DWORD cbPixelFormat; | |
8135 | DWORD offPixelFormat; | |
8136 | DWORD bOpenGL; | |
8137 | SIZEL szlMicrometers; | |
8138 | } ENHMETAHEADER, *PENHMETAHEADER, *LPENHMETAHEADER; | |
8139 | ||
8140 | typedef struct { | |
8141 | DWORD iType; | |
8142 | DWORD nSize; | |
8143 | DWORD dParm[1]; | |
8144 | } ENHMETARECORD, *LPENHMETARECORD; | |
8145 | ||
8146 | typedef struct { | |
8147 | DWORD iType; | |
8148 | DWORD nSize; | |
8149 | } EMR, *PEMR; | |
8150 | ||
8151 | typedef struct { | |
8152 | POINTL ptlReference; | |
8153 | DWORD nChars; | |
8154 | DWORD offString; | |
8155 | DWORD fOptions; | |
8156 | RECTL rcl; | |
8157 | DWORD offDx; | |
8158 | } EMRTEXT, *PEMRTEXT; | |
8159 | ||
8160 | typedef struct { | |
8161 | EMR emr; | |
8162 | } EMRABORTPATH, *PEMRABORTPATH, | |
8163 | EMRBEGINPATH, *PEMRBEGINPATH, | |
8164 | EMRENDPATH, *PEMRENDPATH, | |
8165 | EMRCLOSEFIGURE, *PEMRCLOSEFIGURE, | |
8166 | EMRFLATTENPATH, *PEMRFLATTENPATH, | |
8167 | EMRWIDENPATH, *PEMRWIDENPATH, | |
8168 | EMRSETMETARGN, *PEMRSETMETARGN, | |
8169 | EMRSAVEDC, *PEMRSAVEDC, | |
8170 | EMRREALIZEPALETTE, *PEMRREALIZEPALETTE; | |
8171 | ||
8172 | typedef struct { | |
8173 | EMR emr; | |
8174 | POINTL ptlCenter; | |
8175 | DWORD nRadius; | |
8176 | FLOAT eStartAngle; | |
8177 | FLOAT eSweepAngle; | |
8178 | } EMRANGLEARC, *PEMRANGLEARC; | |
8179 | ||
8180 | typedef struct { | |
8181 | EMR emr; | |
8182 | RECTL rclBox; | |
8183 | POINTL ptlStart; | |
8184 | POINTL ptlEnd; | |
8185 | } EMRARC, *PEMRARC, | |
8186 | EMRARCTO, *PEMRARCTO, | |
8187 | EMRCHORD, *PEMRCHORD, | |
8188 | EMRPIE, *PEMRPIE; | |
8189 | ||
8190 | typedef struct { | |
8191 | EMR emr; | |
8192 | RECTL rclBounds; | |
8193 | LONG xDest; | |
8194 | LONG yDest; | |
8195 | LONG cxDest; | |
8196 | LONG cyDest; | |
8197 | DWORD dwRop; | |
8198 | LONG xSrc; | |
8199 | LONG ySrc; | |
8200 | XFORM xformSrc; | |
8201 | COLORREF crBkColorSrc; | |
8202 | DWORD iUsageSrc; | |
8203 | DWORD offBmiSrc; | |
8204 | DWORD cbBmiSrc; | |
8205 | DWORD offBitsSrc; | |
8206 | DWORD cbBitsSrc; | |
8207 | } EMRBITBLT, *PEMRBITBLT; | |
8208 | ||
8209 | typedef struct { | |
8210 | EMR emr; | |
8211 | DWORD ihBrush; | |
8212 | LOGBRUSH32 lb; | |
8213 | } EMRCREATEBRUSHINDIRECT, *PEMRCREATEBRUSHINDIRECT; | |
8214 | ||
8215 | typedef struct { | |
8216 | EMR emr; | |
8217 | DWORD ihCS; | |
8218 | LOGCOLORSPACEA lcs; | |
8219 | } EMRCREATECOLORSPACE, *PEMRCREATECOLORSPACE; | |
8220 | ||
8221 | typedef struct { | |
8222 | EMR emr; | |
8223 | DWORD ihCS; | |
8224 | LOGCOLORSPACEW lcs; | |
8225 | DWORD dwFlags; | |
8226 | DWORD cbData; | |
8227 | BYTE Data[1]; | |
8228 | } EMRCREATECOLORSPACEW, *PEMRCREATECOLORSPACEW; | |
8229 | ||
8230 | typedef struct { | |
8231 | EMR emr; | |
8232 | DWORD ihBrush; | |
8233 | DWORD iUsage; | |
8234 | DWORD offBmi; | |
8235 | DWORD cbBmi; | |
8236 | DWORD offBits; | |
8237 | DWORD cbBits; | |
8238 | } EMRCREATEDIBPATTERNBRUSHPT, *PEMRCREATEDIBPATTERNBRUSHPT; | |
8239 | ||
8240 | typedef struct { | |
8241 | EMR emr; | |
8242 | DWORD ihBrush; | |
8243 | DWORD iUsage; | |
8244 | DWORD offBmi; | |
8245 | DWORD cbBmi; | |
8246 | DWORD offBits; | |
8247 | DWORD cbBits; | |
8248 | } EMRCREATEMONOBRUSH, *PEMRCREATEMONOBRUSH; | |
8249 | ||
8250 | typedef struct { | |
8251 | EMR emr; | |
8252 | DWORD ihPal; | |
8253 | LOGPALETTE lgpl; | |
8254 | } EMRCREATEPALETTE, *PEMRCREATEPALETTE; | |
8255 | ||
8256 | typedef struct { | |
8257 | EMR emr; | |
8258 | DWORD ihPen; | |
8259 | LOGPEN lopn; | |
8260 | } EMRCREATEPEN, *PEMRCREATEPEN; | |
8261 | ||
8262 | typedef struct { | |
8263 | EMR emr; | |
8264 | DWORD ihCS; | |
8265 | } EMRDELETECOLORSPACE, *PEMRDELETECOLORSPACE, | |
8266 | EMRSELECTCOLORSPACE, *PEMRSELECTCOLORSPACE, | |
8267 | EMRSETCOLORSPACE, *PEMRSETCOLORSPACE; | |
8268 | ||
8269 | typedef struct { | |
8270 | EMR emr; | |
8271 | DWORD ihObject; | |
8272 | } EMRDELETEOBJECT, *PEMRDELETEOBJECT, | |
8273 | EMRSELECTOBJECT, *PEMRSELECTOBJECT; | |
8274 | ||
8275 | typedef struct { | |
8276 | EMR emr; | |
8277 | RECTL rclBox; | |
8278 | } EMRELLIPSE, *PEMRELLIPSE, | |
8279 | EMRRECTANGLE, *PEMRRECTANGLE; | |
8280 | ||
8281 | typedef struct { | |
8282 | EMR emr; | |
8283 | DWORD nPalEntries; | |
8284 | DWORD offPalEntries; | |
8285 | DWORD nSizeLast; | |
8286 | } EMREOF, *PEMREOF; | |
8287 | ||
8288 | typedef struct { | |
8289 | EMR emr; | |
8290 | RECTL rclClip; | |
8291 | } EMREXCLUDECLIPRECT, *PEMREXCLUDECLIPRECT, | |
8292 | EMRINTERSECTCLIPRECT, *PEMRINTERSECTCLIPRECT; | |
8293 | ||
8294 | typedef struct { | |
8295 | EMR emr; | |
8296 | DWORD ihFont; | |
8297 | EXTLOGFONTW elfw; | |
8298 | } EMREXTCREATEFONTINDIRECTW, *PEMREXTCREATEFONTINDIRECTW; | |
8299 | ||
8300 | typedef struct { | |
8301 | EMR emr; | |
8302 | DWORD ihPen; | |
8303 | DWORD offBmi; | |
8304 | DWORD cbBmi; | |
8305 | DWORD offBits; | |
8306 | DWORD cbBits; | |
8307 | EXTLOGPEN elp; | |
8308 | } EMREXTCREATEPEN, *PEMREXTCREATEPEN; | |
8309 | ||
8310 | typedef struct { | |
8311 | EMR emr; | |
8312 | POINTL ptlStart; | |
8313 | COLORREF crColor; | |
8314 | DWORD iMode; | |
8315 | } EMREXTFLOODFILL, *PEMREXTFLOODFILL; | |
8316 | ||
8317 | typedef struct { | |
8318 | EMR emr; | |
8319 | DWORD cbRgnData; | |
8320 | DWORD iMode; | |
8321 | BYTE RgnData[1]; | |
8322 | } EMREXTSELECTCLIPRGN, *PEMREXTSELECTCLIPRGN; | |
8323 | ||
8324 | typedef struct { | |
8325 | EMR emr; | |
8326 | RECTL rclBounds; | |
8327 | DWORD iGraphicsMode; | |
8328 | FLOAT exScale; | |
8329 | FLOAT eyScale; | |
8330 | EMRTEXT emrtext; | |
8331 | } EMREXTTEXTOUTA, *PEMREXTTEXTOUTA, | |
8332 | EMREXTTEXTOUTW, *PEMREXTTEXTOUTW; | |
8333 | ||
8334 | typedef struct { | |
8335 | EMR emr; | |
8336 | RECTL rclBounds; | |
8337 | } EMRFILLPATH, *PEMRFILLPATH, | |
8338 | EMRSTROKEANDFILLPATH, *PEMRSTROKEANDFILLPATH, | |
8339 | EMRSTROKEPATH, *PEMRSTROKEPATH; | |
8340 | ||
8341 | typedef struct { | |
8342 | EMR emr; | |
8343 | RECTL rclBounds; | |
8344 | DWORD cbRgnData; | |
8345 | DWORD ihBrush; | |
8346 | BYTE RgnData[1]; | |
8347 | } EMRFILLRGN, *PEMRFILLRGN; | |
8348 | ||
8349 | typedef struct { | |
8350 | DWORD dSignature; | |
8351 | DWORD nVersion; | |
8352 | DWORD cbData; | |
8353 | DWORD offData; | |
8354 | } EMRFORMAT, *PEMRFORMAT; | |
8355 | ||
8356 | typedef struct { | |
8357 | EMR emr; | |
8358 | RECTL rclBounds; | |
8359 | DWORD cbRgnData; | |
8360 | DWORD ihBrush; | |
8361 | SIZEL szlStroke; | |
8362 | BYTE RgnData[1]; | |
8363 | } EMRFRAMERGN, *PEMRFRAMERGN; | |
8364 | ||
8365 | typedef struct { | |
8366 | EMR emr; | |
8367 | DWORD cbData; | |
8368 | BYTE Data[1]; | |
8369 | } EMRGDICOMMENT, *PEMRGDICOMMENT; | |
8370 | # 2308 "../../../include/wingdi.h" | |
8371 | typedef struct { | |
8372 | EMR emr; | |
8373 | RECTL rclBounds; | |
8374 | DWORD cbRgnData; | |
8375 | BYTE RgnData[1]; | |
8376 | } EMRINVERTRGN, *PEMRINVERTRGN, | |
8377 | EMRPAINTRGN, *PEMRPAINTRGN; | |
8378 | ||
8379 | typedef struct { | |
8380 | EMR emr; | |
8381 | POINTL ptl; | |
8382 | } EMRLINETO, *PEMRLINETO, | |
8383 | EMRMOVETOEX, *PEMRMOVETOEX; | |
8384 | ||
8385 | typedef struct { | |
8386 | EMR emr; | |
8387 | RECTL rclBounds; | |
8388 | LONG xDest; | |
8389 | LONG yDest; | |
8390 | LONG cxDest; | |
8391 | LONG cyDest; | |
8392 | DWORD dwRop; | |
8393 | LONG xSrc; | |
8394 | LONG ySrc; | |
8395 | XFORM xformSrc; | |
8396 | COLORREF crBkColorSrc; | |
8397 | DWORD iUsageSrc; | |
8398 | DWORD offBmiSrc; | |
8399 | DWORD cbBmiSrc; | |
8400 | DWORD offBitsSrc; | |
8401 | DWORD cbBitsSrc; | |
8402 | LONG xMask; | |
8403 | LONG yMask; | |
8404 | DWORD iUsageMask; | |
8405 | DWORD offBmiMask; | |
8406 | DWORD cbBmiMask; | |
8407 | DWORD offBitsMask; | |
8408 | DWORD cbBitsMask; | |
8409 | } EMRMASKBLT, *PEMRMASKBLT; | |
8410 | ||
8411 | typedef struct { | |
8412 | EMR emr; | |
8413 | XFORM xform; | |
8414 | DWORD iMode; | |
8415 | } EMRMODIFYWORLDTRANSFORM, *PEMRMODIFYWORLDTRANSFORM; | |
8416 | ||
8417 | typedef struct { | |
8418 | EMR emr; | |
8419 | POINTL ptlOffset; | |
8420 | } EMROFFSETCLIPRGN, *PEMROFFSETCLIPRGN; | |
8421 | ||
8422 | typedef struct { | |
8423 | EMR emr; | |
8424 | RECTL rclBounds; | |
8425 | POINTL aptlDest[3]; | |
8426 | LONG xSrc; | |
8427 | LONG ySrc; | |
8428 | LONG cxSrc; | |
8429 | LONG cySrc; | |
8430 | XFORM xformSrc; | |
8431 | COLORREF crBkColorSrc; | |
8432 | DWORD iUsageSrc; | |
8433 | DWORD offBmiSrc; | |
8434 | DWORD cbBmiSrc; | |
8435 | DWORD offBitsSrc; | |
8436 | DWORD cbBitsSrc; | |
8437 | LONG xMask; | |
8438 | LONG yMask; | |
8439 | DWORD iUsageMask; | |
8440 | DWORD offBmiMask; | |
8441 | DWORD cbBmiMask; | |
8442 | DWORD offBitsMask; | |
8443 | DWORD cbBitsMask; | |
8444 | } EMRPLGBLT, *PEMRPLGBLT; | |
8445 | ||
8446 | typedef struct { | |
8447 | EMR emr; | |
8448 | RECTL rclBounds; | |
8449 | DWORD cptl; | |
8450 | POINTL aptl[1]; | |
8451 | } EMRPOLYLINE, *PEMRPOLYLINE, | |
8452 | EMRPOLYBEZIER, *PEMRPOLYBEZIER, | |
8453 | EMRPOLYGON, *PEMRPOLYGON, | |
8454 | EMRPOLYBEZIERTO, *PEMRPOLYBEZIERTO, | |
8455 | EMRPOLYLINETO, *PEMRPOLYLINETO; | |
8456 | ||
8457 | typedef struct { | |
8458 | EMR emr; | |
8459 | RECTL rclBounds; | |
8460 | DWORD cpts; | |
8461 | POINTS apts[1]; | |
8462 | } EMRPOLYLINE16, *PEMRPOLYLINE16, | |
8463 | EMRPOLYBEZIER16, *PEMRPOLYBEZIER16, | |
8464 | EMRPOLYGON16, *PEMRPOLYGON16, | |
8465 | EMRPOLYBEZIERTO16, *PEMRPOLYBEZIERTO16, | |
8466 | EMRPOLYLINETO16, *PEMRPOLYLINETO16; | |
8467 | ||
8468 | typedef struct { | |
8469 | EMR emr; | |
8470 | RECTL rclBounds; | |
8471 | DWORD cpts; | |
8472 | POINTS apts[1]; | |
8473 | BYTE abTypes[1]; | |
8474 | } EMRPOLYDRAW16, *PEMRPOLYDRAW16; | |
8475 | ||
8476 | typedef struct { | |
8477 | EMR emr; | |
8478 | RECTL rclBounds; | |
8479 | DWORD nPolys; | |
8480 | DWORD cpts; | |
8481 | DWORD aPolyCounts[1]; | |
8482 | POINTS apts[1]; | |
8483 | } EMRPOLYPOLYLINE16, *PEMRPOLYPOLYLINE16, | |
8484 | EMRPOLYPOLYGON16, *PEMRPOLYPOLYGON16; | |
8485 | ||
8486 | typedef struct { | |
8487 | EMR emr; | |
8488 | RECTL rclBounds; | |
8489 | DWORD cptl; | |
8490 | POINTL aptl[1]; | |
8491 | BYTE abTypes[1]; | |
8492 | } EMRPOLYDRAW, *PEMRPOLYDRAW; | |
8493 | ||
8494 | typedef struct { | |
8495 | EMR emr; | |
8496 | RECTL rclBounds; | |
8497 | DWORD nPolys; | |
8498 | DWORD cptl; | |
8499 | DWORD aPolyCounts[1]; | |
8500 | POINTL aptl[1]; | |
8501 | } EMRPOLYPOLYLINE, *PEMRPOLYPOLYLINE, | |
8502 | EMRPOLYPOLYGON, *PEMRPOLYPOLYGON; | |
8503 | ||
8504 | typedef struct { | |
8505 | EMR emr; | |
8506 | RECTL rclBounds; | |
8507 | DWORD iGraphicsMode; | |
8508 | FLOAT exScale; | |
8509 | FLOAT eyScale; | |
8510 | LONG cStrings; | |
8511 | EMRTEXT aemrtext[1]; | |
8512 | } EMRPOLYTEXTOUTA, *PEMRPOLYTEXTOUTA, | |
8513 | EMRPOLYTEXTOUTW, *PEMRPOLYTEXTOUTW; | |
8514 | ||
8515 | typedef struct { | |
8516 | EMR emr; | |
8517 | DWORD ihPal; | |
8518 | DWORD cEntries; | |
8519 | } EMRRESIZEPALETTE, *PEMRRESIZEPALETTE; | |
8520 | ||
8521 | typedef struct { | |
8522 | EMR emr; | |
8523 | LONG iRelative; | |
8524 | } EMRRESTOREDC, *PEMRRESTOREDC; | |
8525 | ||
8526 | typedef struct { | |
8527 | EMR emr; | |
8528 | RECTL rclBox; | |
8529 | SIZEL szlCorner; | |
8530 | } EMRROUNDRECT, *PEMRROUNDRECT; | |
8531 | ||
8532 | typedef struct { | |
8533 | EMR emr; | |
8534 | LONG xNum; | |
8535 | LONG xDenom; | |
8536 | LONG yNum; | |
8537 | LONG yDenom; | |
8538 | } EMRSCALEVIEWPORTEXTEX, *PEMRSCALEVIEWPORTEXTEX, | |
8539 | EMRSCALEWINDOWEXTEX, *PEMRSCALEWINDOWEXTEX; | |
8540 | ||
8541 | typedef struct { | |
8542 | EMR emr; | |
8543 | DWORD iMode; | |
8544 | } EMRSELECTCLIPPATH, *PEMRSELECTCLIPPATH, | |
8545 | EMRSETBKMODE, *PEMRSETBKMODE, | |
8546 | EMRSETMAPMODE, *PEMRSETMAPMODE, | |
8547 | EMRSETPOLYFILLMODE, *PEMRSETPOLYFILLMODE, | |
8548 | EMRSETROP2, *PEMRSETROP2, | |
8549 | EMRSETSTRETCHBLTMODE, *PEMRSETSTRETCHBLTMODE, | |
8550 | EMRSETTEXTALIGN, *PEMRSETTEXTALIGN, | |
8551 | EMRSETICMMODE, *PEMRSETICMMODE, | |
8552 | EMRSETLAYOUT, *PEMRSETLAYOUT; | |
8553 | ||
8554 | typedef struct { | |
8555 | EMR emr; | |
8556 | DWORD ihPal; | |
8557 | } EMRSELECTPALETTE, *PEMRSELECTPALETTE; | |
8558 | ||
8559 | typedef struct { | |
8560 | EMR emr; | |
8561 | DWORD iArcDirection; | |
8562 | } EMRSETARCDIRECTION, *PEMRSETARCDIRECTION; | |
8563 | ||
8564 | typedef struct { | |
8565 | EMR emr; | |
8566 | COLORREF crColor; | |
8567 | } EMRSETBKCOLOR, *PEMRSETBKCOLOR, | |
8568 | EMRSETTEXTCOLOR, *PEMRSETTEXTCOLOR; | |
8569 | ||
8570 | typedef struct { | |
8571 | EMR emr; | |
8572 | POINTL ptlOrigin; | |
8573 | } EMRSETBRUSHORGEX, *PEMRSETBRUSHORGEX, | |
8574 | EMRSETVIEWPORTORGEX, *PEMRSETVIEWPORTORGEX, | |
8575 | EMRSETWINDOWORGEX, *PEMRSETWINDOWORGEX; | |
8576 | ||
8577 | typedef struct { | |
8578 | EMR emr; | |
8579 | COLORADJUSTMENT ColorAdjustment; | |
8580 | } EMRSETCOLORADJUSTMENT, *PEMRSETCOLORADJUSTMENT; | |
8581 | ||
8582 | typedef struct { | |
8583 | EMR emr; | |
8584 | RECTL rclBounds; | |
8585 | LONG xDest; | |
8586 | LONG yDest; | |
8587 | LONG xSrc; | |
8588 | LONG ySrc; | |
8589 | LONG cxSrc; | |
8590 | LONG cySrc; | |
8591 | DWORD offBmiSrc; | |
8592 | DWORD cbBmiSrc; | |
8593 | DWORD offBitsSrc; | |
8594 | DWORD cbBitsSrc; | |
8595 | DWORD iUsageSrc; | |
8596 | DWORD iStartScan; | |
8597 | DWORD cScans; | |
8598 | } EMRSETDIBITSTODEVICE, *PEMRSETDIBITSTODEVICE; | |
8599 | ||
8600 | typedef struct { | |
8601 | EMR emr; | |
8602 | DWORD dwFlags; | |
8603 | } EMRSETMAPPERFLAGS, *PEMRSETMAPPERFLAGS; | |
8604 | ||
8605 | typedef struct { | |
8606 | EMR emr; | |
8607 | FLOAT eMiterLimit; | |
8608 | } EMRSETMITERLIMIT, *PEMRSETMITERLIMIT; | |
8609 | ||
8610 | typedef struct { | |
8611 | EMR emr; | |
8612 | DWORD ihPal; | |
8613 | DWORD iStart; | |
8614 | DWORD cEntries; | |
8615 | PALETTEENTRY aPalEntries[1]; | |
8616 | } EMRSETPALETTEENTRIES, *PEMRSETPALETTEENTRIES; | |
8617 | ||
8618 | typedef struct { | |
8619 | EMR emr; | |
8620 | POINTL ptlPixel; | |
8621 | COLORREF crColor; | |
8622 | } EMRSETPIXELV, *PEMRSETPIXELV; | |
8623 | ||
8624 | typedef struct { | |
8625 | EMR emr; | |
8626 | SIZEL szlExtent; | |
8627 | } EMRSETVIEWPORTEXTEX, *PEMRSETVIEWPORTEXTEX, | |
8628 | EMRSETWINDOWEXTEX, *PEMRSETWINDOWEXTEX; | |
8629 | ||
8630 | typedef struct { | |
8631 | EMR emr; | |
8632 | XFORM xform; | |
8633 | } EMRSETWORLDTRANSFORM, *PEMRSETWORLDTRANSFORM; | |
8634 | ||
8635 | typedef struct { | |
8636 | EMR emr; | |
8637 | RECTL rclBounds; | |
8638 | LONG xDest; | |
8639 | LONG yDest; | |
8640 | LONG cxDest; | |
8641 | LONG cyDest; | |
8642 | DWORD dwRop; | |
8643 | LONG xSrc; | |
8644 | LONG ySrc; | |
8645 | XFORM xformSrc; | |
8646 | COLORREF crBkColorSrc; | |
8647 | DWORD iUsageSrc; | |
8648 | DWORD offBmiSrc; | |
8649 | DWORD cbBmiSrc; | |
8650 | DWORD offBitsSrc; | |
8651 | DWORD cbBitsSrc; | |
8652 | LONG cxSrc; | |
8653 | LONG cySrc; | |
8654 | } EMRSTRETCHBLT, *PEMRSTRETCHBLT; | |
8655 | ||
8656 | typedef struct { | |
8657 | EMR emr; | |
8658 | RECTL rclBounds; | |
8659 | LONG xDest; | |
8660 | LONG yDest; | |
8661 | LONG cxDest; | |
8662 | LONG cyDest; | |
8663 | DWORD dwRop; | |
8664 | LONG xSrc; | |
8665 | LONG ySrc; | |
8666 | XFORM xformSrc; | |
8667 | COLORREF crBkColorSrc; | |
8668 | DWORD iUsageSrc; | |
8669 | DWORD offBmiSrc; | |
8670 | DWORD cbBmiSrc; | |
8671 | DWORD offBitsSrc; | |
8672 | DWORD cbBitsSrc; | |
8673 | LONG cxSrc; | |
8674 | LONG cySrc; | |
8675 | } EMRALPHABLEND, *PEMRALPHABLEND; | |
8676 | ||
8677 | typedef struct { | |
8678 | EMR emr; | |
8679 | RECTL rclBounds; | |
8680 | LONG xDest; | |
8681 | LONG yDest; | |
8682 | LONG xSrc; | |
8683 | LONG ySrc; | |
8684 | LONG cxSrc; | |
8685 | LONG cySrc; | |
8686 | DWORD offBmiSrc; | |
8687 | DWORD cbBmiSrc; | |
8688 | DWORD offBitsSrc; | |
8689 | DWORD cbBitsSrc; | |
8690 | DWORD iUsageSrc; | |
8691 | DWORD dwRop; | |
8692 | LONG cxDest; | |
8693 | LONG cyDest; | |
8694 | } EMRSTRETCHDIBITS, *PEMRSTRETCHDIBITS; | |
8695 | ||
8696 | typedef struct { | |
8697 | EMR emr; | |
8698 | PIXELFORMATDESCRIPTOR pfd; | |
8699 | } EMRPIXELFORMAT, *PEMRPIXELFORMAT; | |
8700 | ||
8701 | typedef struct tagEMRGLSRECORD { | |
8702 | EMR emr; | |
8703 | DWORD cbData; | |
8704 | BYTE Data[1]; | |
8705 | } EMRGLSRECORD, *PEMRGLSRECORD; | |
8706 | ||
8707 | typedef struct { | |
8708 | EMR emr; | |
8709 | RECTL rclBounds; | |
8710 | DWORD cbData; | |
8711 | BYTE Data[1]; | |
8712 | } EMRGLSBOUNDEDRECORD, *PEMRGLSBOUNDEDRECORD; | |
8713 | ||
8714 | typedef INT (__attribute__((__stdcall__)) *ENHMFENUMPROC)(HDC, HANDLETABLE *, | |
8715 | const ENHMETARECORD *, INT, LPARAM); | |
8716 | # 2794 "../../../include/wingdi.h" | |
8717 | typedef struct | |
8718 | { | |
8719 | BYTE dmDeviceName[32]; | |
8720 | WORD dmSpecVersion; | |
8721 | WORD dmDriverVersion; | |
8722 | WORD dmSize; | |
8723 | WORD dmDriverExtra; | |
8724 | DWORD dmFields; | |
8725 | union { | |
8726 | struct { | |
8727 | short dmOrientation; | |
8728 | short dmPaperSize; | |
8729 | short dmPaperLength; | |
8730 | short dmPaperWidth; | |
8731 | } ; | |
8732 | POINTL dmPosition; | |
8733 | } ; | |
8734 | short dmScale; | |
8735 | short dmCopies; | |
8736 | short dmDefaultSource; | |
8737 | short dmPrintQuality; | |
8738 | short dmColor; | |
8739 | short dmDuplex; | |
8740 | short dmYResolution; | |
8741 | short dmTTOption; | |
8742 | short dmCollate; | |
8743 | BYTE dmFormName[32]; | |
8744 | WORD dmLogPixels; | |
8745 | DWORD dmBitsPerPel; | |
8746 | DWORD dmPelsWidth; | |
8747 | DWORD dmPelsHeight; | |
8748 | DWORD dmDisplayFlags; | |
8749 | DWORD dmDisplayFrequency; | |
8750 | DWORD dmICMMethod; | |
8751 | DWORD dmICMIntent; | |
8752 | DWORD dmMediaType; | |
8753 | DWORD dmDitherType; | |
8754 | DWORD dmReserved1; | |
8755 | DWORD dmReserved2; | |
8756 | DWORD dmPanningWidth; | |
8757 | DWORD dmPanningHeight; | |
8758 | } DEVMODEA, *PDEVMODEA, *LPDEVMODEA; | |
8759 | ||
8760 | typedef struct | |
8761 | { | |
8762 | WCHAR dmDeviceName[32]; | |
8763 | WORD dmSpecVersion; | |
8764 | WORD dmDriverVersion; | |
8765 | WORD dmSize; | |
8766 | WORD dmDriverExtra; | |
8767 | DWORD dmFields; | |
8768 | union { | |
8769 | struct { | |
8770 | short dmOrientation; | |
8771 | short dmPaperSize; | |
8772 | short dmPaperLength; | |
8773 | short dmPaperWidth; | |
8774 | } ; | |
8775 | POINTL dmPosition; | |
8776 | } ; | |
8777 | short dmScale; | |
8778 | short dmCopies; | |
8779 | short dmDefaultSource; | |
8780 | short dmPrintQuality; | |
8781 | short dmColor; | |
8782 | short dmDuplex; | |
8783 | short dmYResolution; | |
8784 | short dmTTOption; | |
8785 | short dmCollate; | |
8786 | WCHAR dmFormName[32]; | |
8787 | WORD dmLogPixels; | |
8788 | DWORD dmBitsPerPel; | |
8789 | DWORD dmPelsWidth; | |
8790 | DWORD dmPelsHeight; | |
8791 | DWORD dmDisplayFlags; | |
8792 | DWORD dmDisplayFrequency; | |
8793 | DWORD dmICMMethod; | |
8794 | DWORD dmICMIntent; | |
8795 | DWORD dmMediaType; | |
8796 | DWORD dmDitherType; | |
8797 | DWORD dmReserved1; | |
8798 | DWORD dmReserved2; | |
8799 | DWORD dmPanningWidth; | |
8800 | DWORD dmPanningHeight; | |
8801 | } DEVMODEW, *PDEVMODEW, *LPDEVMODEW; | |
8802 | ||
8803 | typedef DEVMODEA DEVMODE; | |
8804 | typedef PDEVMODEA PDEVMODE; | |
8805 | typedef LPDEVMODEA LPDEVMODE; | |
8806 | # 3110 "../../../include/wingdi.h" | |
8807 | typedef struct | |
8808 | { | |
8809 | INT cbSize; | |
8810 | LPCSTR lpszDocName; | |
8811 | LPCSTR lpszOutput; | |
8812 | LPCSTR lpszDatatype; | |
8813 | DWORD fwType; | |
8814 | } DOCINFOA, *LPDOCINFOA; | |
8815 | ||
8816 | typedef struct | |
8817 | { | |
8818 | INT cbSize; | |
8819 | LPCWSTR lpszDocName; | |
8820 | LPCWSTR lpszOutput; | |
8821 | LPCWSTR lpszDatatype; | |
8822 | DWORD fwType; | |
8823 | } DOCINFOW, *LPDOCINFOW; | |
8824 | ||
8825 | typedef DOCINFOA DOCINFO; | |
8826 | typedef LPDOCINFOA LPDOCINFO; | |
8827 | # 3141 "../../../include/wingdi.h" | |
8828 | typedef struct _RGNDATAHEADER { | |
8829 | DWORD dwSize; | |
8830 | DWORD iType; | |
8831 | DWORD nCount; | |
8832 | DWORD nRgnSize; | |
8833 | RECT rcBound; | |
8834 | } RGNDATAHEADER,*PRGNDATAHEADER; | |
8835 | ||
8836 | typedef struct _RGNDATA { | |
8837 | RGNDATAHEADER rdh; | |
8838 | char Buffer[1]; | |
8839 | } RGNDATA,*PRGNDATA,*LPRGNDATA; | |
8840 | ||
8841 | typedef BOOL (__attribute__((__stdcall__)) *ABORTPROC)(HDC, INT); | |
8842 | ||
8843 | typedef struct { | |
8844 | DWORD cb; | |
8845 | CHAR DeviceName[32]; | |
8846 | CHAR DeviceString[128]; | |
8847 | DWORD StateFlags; | |
8848 | CHAR DeviceID[128]; | |
8849 | CHAR DeviceKey[128]; | |
8850 | } DISPLAY_DEVICEA,*PDISPLAY_DEVICEA,*LPDISPLAY_DEVICEA; | |
8851 | ||
8852 | typedef struct { | |
8853 | DWORD cb; | |
8854 | WCHAR DeviceName[32]; | |
8855 | WCHAR DeviceString[128]; | |
8856 | DWORD StateFlags; | |
8857 | WCHAR DeviceID[128]; | |
8858 | WCHAR DeviceKey[128]; | |
8859 | } DISPLAY_DEVICEW,*PDISPLAY_DEVICEW,*LPDISPLAY_DEVICEW; | |
8860 | typedef DISPLAY_DEVICEA DISPLAY_DEVICE; | |
8861 | typedef PDISPLAY_DEVICEA PDISPLAY_DEVICE; | |
8862 | typedef LPDISPLAY_DEVICEA LPDISPLAY_DEVICE; | |
8863 | # 3184 "../../../include/wingdi.h" | |
8864 | typedef USHORT COLOR16; | |
8865 | ||
8866 | typedef struct _TRIVERTEX | |
8867 | { | |
8868 | LONG x; | |
8869 | LONG y; | |
8870 | COLOR16 Red; | |
8871 | COLOR16 Green; | |
8872 | COLOR16 Blue; | |
8873 | COLOR16 Alpha; | |
8874 | } TRIVERTEX, *PTRIVERTEX, *LPTRIVERTEX; | |
8875 | ||
8876 | typedef struct _GRADIENT_TRIANGLE | |
8877 | { | |
8878 | ULONG Vertex1; | |
8879 | ULONG Vertex2; | |
8880 | ULONG Vertex3; | |
8881 | } GRADIENT_TRIANGLE, *PGRADIENT_TRIANGLE, *LPGRADIENT_TRIANGLE; | |
8882 | ||
8883 | typedef struct _GRADIENT_RECT | |
8884 | { | |
8885 | ULONG UpperLeft; | |
8886 | ULONG LowerRight; | |
8887 | } GRADIENT_RECT, *PGRADIENT_RECT, *LPGRADIENT_RECT; | |
8888 | ||
8889 | ||
8890 | ||
8891 | ||
8892 | typedef struct _BLENDFUNCTION | |
8893 | { | |
8894 | BYTE BlendOp; | |
8895 | BYTE BlendFlags; | |
8896 | BYTE SourceConstantAlpha; | |
8897 | BYTE AlphaFormat; | |
8898 | } BLENDFUNCTION, *PBLENDFUNCTION; | |
8899 | # 3239 "../../../include/wingdi.h" | |
8900 | typedef struct _DRAWPATRECT | |
8901 | { | |
8902 | POINT ptPosition; | |
8903 | POINT ptSize; | |
8904 | WORD wStyle; | |
8905 | WORD wPattern; | |
8906 | } DRAWPATRECT, *PDRAWPATRECT; | |
8907 | ||
8908 | typedef struct tagWCRANGE { | |
8909 | WCHAR wcLow; | |
8910 | USHORT cGlyphs; | |
8911 | } WCRANGE, *PWCRANGE, *LPWCRANGE; | |
8912 | ||
8913 | typedef struct tagGLYPHSET { | |
8914 | DWORD cbThis; | |
8915 | DWORD flAccel; | |
8916 | DWORD cGlyphsSupported; | |
8917 | DWORD cRanges; | |
8918 | WCRANGE ranges[1]; | |
8919 | } GLYPHSET, *PGLYPHSET, *LPGLYPHSET; | |
8920 | ||
8921 | INT __attribute__((__stdcall__)) AbortDoc(HDC); | |
8922 | BOOL __attribute__((__stdcall__)) AbortPath(HDC); | |
8923 | INT __attribute__((__stdcall__)) AddFontResourceA(LPCSTR); | |
8924 | INT __attribute__((__stdcall__)) AddFontResourceW(LPCWSTR); | |
8925 | ||
8926 | INT __attribute__((__stdcall__)) AddFontResourceExA(LPCSTR, DWORD, PVOID); | |
8927 | INT __attribute__((__stdcall__)) AddFontResourceExW(LPCWSTR, DWORD, PVOID); | |
8928 | ||
8929 | BOOL __attribute__((__stdcall__)) AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION); | |
8930 | BOOL __attribute__((__stdcall__)) AngleArc(HDC, INT, INT, DWORD, FLOAT, FLOAT); | |
8931 | BOOL __attribute__((__stdcall__)) AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*); | |
8932 | BOOL __attribute__((__stdcall__)) Arc(HDC,INT,INT,INT,INT,INT,INT,INT,INT); | |
8933 | BOOL __attribute__((__stdcall__)) ArcTo(HDC, INT, INT, INT, INT, INT, INT, INT, INT); | |
8934 | BOOL __attribute__((__stdcall__)) BeginPath(HDC); | |
8935 | BOOL __attribute__((__stdcall__)) BitBlt(HDC,INT,INT,INT,INT,HDC,INT,INT,DWORD); | |
8936 | INT __attribute__((__stdcall__)) ChoosePixelFormat(HDC,const PIXELFORMATDESCRIPTOR*); | |
8937 | BOOL __attribute__((__stdcall__)) Chord(HDC,INT,INT,INT,INT,INT,INT,INT,INT); | |
8938 | HENHMETAFILE __attribute__((__stdcall__)) CloseEnhMetaFile(HDC); | |
8939 | BOOL __attribute__((__stdcall__)) CloseFigure(HDC); | |
8940 | HMETAFILE __attribute__((__stdcall__)) CloseMetaFile(HDC); | |
8941 | INT __attribute__((__stdcall__)) CombineRgn(HRGN,HRGN,HRGN,INT); | |
8942 | BOOL __attribute__((__stdcall__)) CombineTransform(LPXFORM,const XFORM *,const XFORM *); | |
8943 | HENHMETAFILE __attribute__((__stdcall__)) CopyEnhMetaFileA(HENHMETAFILE,LPCSTR); | |
8944 | HENHMETAFILE __attribute__((__stdcall__)) CopyEnhMetaFileW(HENHMETAFILE,LPCWSTR); | |
8945 | ||
8946 | HMETAFILE __attribute__((__stdcall__)) CopyMetaFileA(HMETAFILE,LPCSTR); | |
8947 | HMETAFILE __attribute__((__stdcall__)) CopyMetaFileW(HMETAFILE,LPCWSTR); | |
8948 | ||
8949 | HBITMAP __attribute__((__stdcall__)) CreateBitmap(INT,INT,UINT,UINT,LPCVOID); | |
8950 | HBITMAP __attribute__((__stdcall__)) CreateBitmapIndirect(const BITMAP*); | |
8951 | HBRUSH __attribute__((__stdcall__)) CreateBrushIndirect(const LOGBRUSH*); | |
8952 | HCOLORSPACE __attribute__((__stdcall__)) CreateColorSpaceA(LPLOGCOLORSPACEA); | |
8953 | HCOLORSPACE __attribute__((__stdcall__)) CreateColorSpaceW(LPLOGCOLORSPACEW); | |
8954 | ||
8955 | HBITMAP __attribute__((__stdcall__)) CreateCompatibleBitmap(HDC,INT,INT); | |
8956 | HDC __attribute__((__stdcall__)) CreateCompatibleDC(HDC); | |
8957 | HDC __attribute__((__stdcall__)) CreateDCA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); | |
8958 | HDC __attribute__((__stdcall__)) CreateDCW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); | |
8959 | ||
8960 | HBITMAP __attribute__((__stdcall__)) CreateDIBitmap(HDC,const BITMAPINFOHEADER*,DWORD, | |
8961 | LPCVOID,const BITMAPINFO*,UINT); | |
8962 | HBRUSH __attribute__((__stdcall__)) CreateDIBPatternBrush(HGLOBAL,UINT); | |
8963 | HBRUSH __attribute__((__stdcall__)) CreateDIBPatternBrushPt(const void*,UINT); | |
8964 | HBITMAP __attribute__((__stdcall__)) CreateDIBSection(HDC, const BITMAPINFO *, UINT, | |
8965 | void **, HANDLE, DWORD offset); | |
8966 | HBITMAP __attribute__((__stdcall__)) CreateDiscardableBitmap(HDC,INT,INT); | |
8967 | HRGN __attribute__((__stdcall__)) CreateEllipticRgn(INT,INT,INT,INT); | |
8968 | HRGN __attribute__((__stdcall__)) CreateEllipticRgnIndirect(const RECT *); | |
8969 | HDC __attribute__((__stdcall__)) CreateEnhMetaFileA(HDC,LPCSTR,const RECT*,LPCSTR); | |
8970 | HDC __attribute__((__stdcall__)) CreateEnhMetaFileW(HDC,LPCWSTR,const RECT*,LPCWSTR); | |
8971 | ||
8972 | HFONT __attribute__((__stdcall__)) CreateFontA(INT,INT,INT,INT,INT,DWORD,DWORD, | |
8973 | DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCSTR); | |
8974 | HFONT __attribute__((__stdcall__)) CreateFontW(INT,INT,INT,INT,INT,DWORD,DWORD, | |
8975 | DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCWSTR); | |
8976 | ||
8977 | HFONT __attribute__((__stdcall__)) CreateFontIndirectA(const LOGFONTA*); | |
8978 | HFONT __attribute__((__stdcall__)) CreateFontIndirectW(const LOGFONTW*); | |
8979 | ||
8980 | HPALETTE __attribute__((__stdcall__)) CreateHalftonePalette(HDC); | |
8981 | HBRUSH __attribute__((__stdcall__)) CreateHatchBrush(INT,COLORREF); | |
8982 | HDC __attribute__((__stdcall__)) CreateICA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); | |
8983 | HDC __attribute__((__stdcall__)) CreateICW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); | |
8984 | ||
8985 | HDC __attribute__((__stdcall__)) CreateMetaFileA(LPCSTR); | |
8986 | HDC __attribute__((__stdcall__)) CreateMetaFileW(LPCWSTR); | |
8987 | ||
8988 | HPALETTE __attribute__((__stdcall__)) CreatePalette(const LOGPALETTE*); | |
8989 | HBRUSH __attribute__((__stdcall__)) CreatePatternBrush(HBITMAP); | |
8990 | HPEN __attribute__((__stdcall__)) CreatePen(INT,INT,COLORREF); | |
8991 | HPEN __attribute__((__stdcall__)) CreatePenIndirect(const LOGPEN*); | |
8992 | HRGN __attribute__((__stdcall__)) CreatePolyPolygonRgn(const POINT*,const INT*,INT,INT); | |
8993 | HRGN __attribute__((__stdcall__)) CreatePolygonRgn(const POINT*,INT,INT); | |
8994 | HRGN __attribute__((__stdcall__)) CreateRectRgn(INT,INT,INT,INT); | |
8995 | HRGN __attribute__((__stdcall__)) CreateRectRgnIndirect(const RECT*); | |
8996 | HRGN __attribute__((__stdcall__)) CreateRoundRectRgn(INT,INT,INT,INT,INT,INT); | |
8997 | BOOL __attribute__((__stdcall__)) CreateScalableFontResourceA(DWORD,LPCSTR,LPCSTR,LPCSTR); | |
8998 | BOOL __attribute__((__stdcall__)) CreateScalableFontResourceW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR); | |
8999 | ||
9000 | HBRUSH __attribute__((__stdcall__)) CreateSolidBrush(COLORREF); | |
9001 | BOOL __attribute__((__stdcall__)) DPtoLP(HDC,LPPOINT,INT); | |
9002 | BOOL __attribute__((__stdcall__)) DeleteColorSpace(HCOLORSPACE); | |
9003 | BOOL __attribute__((__stdcall__)) DeleteDC(HDC); | |
9004 | BOOL __attribute__((__stdcall__)) DeleteEnhMetaFile(HENHMETAFILE); | |
9005 | BOOL __attribute__((__stdcall__)) DeleteMetaFile(HMETAFILE); | |
9006 | BOOL __attribute__((__stdcall__)) DeleteObject(HGDIOBJ); | |
9007 | INT __attribute__((__stdcall__)) DescribePixelFormat(HDC,int,UINT, | |
9008 | LPPIXELFORMATDESCRIPTOR); | |
9009 | INT __attribute__((__stdcall__)) DrawEscape(HDC,INT,INT,LPCSTR); | |
9010 | BOOL __attribute__((__stdcall__)) Ellipse(HDC,INT,INT,INT,INT); | |
9011 | INT __attribute__((__stdcall__)) EndDoc(HDC); | |
9012 | BOOL __attribute__((__stdcall__)) EndPath(HDC); | |
9013 | BOOL __attribute__((__stdcall__)) EnumEnhMetaFile(HDC,HENHMETAFILE,ENHMFENUMPROC,LPVOID,const RECT*); | |
9014 | INT __attribute__((__stdcall__)) EnumFontFamiliesA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); | |
9015 | INT __attribute__((__stdcall__)) EnumFontFamiliesW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); | |
9016 | ||
9017 | INT __attribute__((__stdcall__)) EnumFontFamiliesExA(HDC,LPLOGFONTA,FONTENUMPROCA,LPARAM,DWORD); | |
9018 | INT __attribute__((__stdcall__)) EnumFontFamiliesExW(HDC,LPLOGFONTW,FONTENUMPROCW,LPARAM,DWORD); | |
9019 | ||
9020 | INT __attribute__((__stdcall__)) EnumFontsA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); | |
9021 | INT __attribute__((__stdcall__)) EnumFontsW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); | |
9022 | ||
9023 | INT __attribute__((__stdcall__)) EnumICMProfilesA(HDC,ICMENUMPROCA,LPARAM); | |
9024 | INT __attribute__((__stdcall__)) EnumICMProfilesW(HDC,ICMENUMPROCW,LPARAM); | |
9025 | ||
9026 | BOOL __attribute__((__stdcall__)) EnumMetaFile(HDC,HMETAFILE,MFENUMPROC,LPARAM); | |
9027 | INT __attribute__((__stdcall__)) EnumObjects(HDC,INT,GOBJENUMPROC,LPARAM); | |
9028 | BOOL __attribute__((__stdcall__)) EqualRgn(HRGN,HRGN); | |
9029 | INT __attribute__((__stdcall__)) Escape(HDC,INT,INT,LPCSTR,LPVOID); | |
9030 | INT __attribute__((__stdcall__)) ExcludeClipRect(HDC,INT,INT,INT,INT); | |
9031 | HPEN __attribute__((__stdcall__)) ExtCreatePen(DWORD,DWORD,const LOGBRUSH*,DWORD,const DWORD*); | |
9032 | HRGN __attribute__((__stdcall__)) ExtCreateRegion(const XFORM*,DWORD,const RGNDATA*); | |
9033 | INT __attribute__((__stdcall__)) ExtEscape(HDC,INT,INT,LPCSTR,INT,LPSTR); | |
9034 | BOOL __attribute__((__stdcall__)) ExtFloodFill(HDC,INT,INT,COLORREF,UINT); | |
9035 | INT __attribute__((__stdcall__)) ExtSelectClipRgn(HDC,HRGN,INT); | |
9036 | BOOL __attribute__((__stdcall__)) ExtTextOutA(HDC,INT,INT,UINT,const RECT*, | |
9037 | LPCSTR,UINT,const INT*); | |
9038 | BOOL __attribute__((__stdcall__)) ExtTextOutW(HDC,INT,INT,UINT,const RECT*, | |
9039 | LPCWSTR,UINT,const INT*); | |
9040 | ||
9041 | BOOL __attribute__((__stdcall__)) FillPath(HDC); | |
9042 | BOOL __attribute__((__stdcall__)) FillRgn(HDC,HRGN,HBRUSH); | |
9043 | BOOL __attribute__((__stdcall__)) FixBrushOrgEx(HDC,INT,INT,LPPOINT); | |
9044 | BOOL __attribute__((__stdcall__)) FlattenPath(HDC); | |
9045 | BOOL __attribute__((__stdcall__)) FloodFill(HDC,INT,INT,COLORREF); | |
9046 | BOOL __attribute__((__stdcall__)) FrameRgn(HDC,HRGN,HBRUSH,INT,INT); | |
9047 | BOOL __attribute__((__stdcall__)) GdiAlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION); | |
9048 | BOOL __attribute__((__stdcall__)) GdiComment(HDC,UINT,const BYTE *); | |
9049 | DEVMODEW * __attribute__((__stdcall__)) GdiConvertToDevmodeW(const DEVMODEA *); | |
9050 | BOOL __attribute__((__stdcall__)) GdiFlush(void); | |
9051 | LONG __attribute__((__stdcall__)) GdiGetCharDimensions(HDC, LPTEXTMETRICW, LONG *); | |
9052 | BOOL __attribute__((__stdcall__)) GdiGradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG); | |
9053 | BOOL __attribute__((__stdcall__)) GdiIsMetaFileDC(HDC); | |
9054 | BOOL __attribute__((__stdcall__)) GdiIsMetaPrintDC(HDC); | |
9055 | BOOL __attribute__((__stdcall__)) GdiIsPlayMetafileDC(HDC); | |
9056 | BOOL __attribute__((__stdcall__)) GdiTransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT); | |
9057 | INT __attribute__((__stdcall__)) GetArcDirection(HDC); | |
9058 | BOOL __attribute__((__stdcall__)) GetAspectRatioFilterEx(HDC,LPSIZE); | |
9059 | LONG __attribute__((__stdcall__)) GetBitmapBits(HBITMAP,LONG,LPVOID); | |
9060 | BOOL __attribute__((__stdcall__)) GetBitmapDimensionEx(HBITMAP,LPSIZE); | |
9061 | BOOL __attribute__((__stdcall__)) GetBrushOrgEx(HDC,LPPOINT); | |
9062 | COLORREF __attribute__((__stdcall__)) GetBkColor(HDC); | |
9063 | INT __attribute__((__stdcall__)) GetBkMode(HDC); | |
9064 | UINT __attribute__((__stdcall__)) GetBoundsRect(HDC,LPRECT,UINT); | |
9065 | BOOL __attribute__((__stdcall__)) GetCharABCWidthsA(HDC,UINT,UINT,LPABC); | |
9066 | BOOL __attribute__((__stdcall__)) GetCharABCWidthsW(HDC,UINT,UINT,LPABC); | |
9067 | ||
9068 | BOOL __attribute__((__stdcall__)) GetCharABCWidthsFloatA(HDC,UINT,UINT,LPABCFLOAT); | |
9069 | BOOL __attribute__((__stdcall__)) GetCharABCWidthsFloatW(HDC,UINT,UINT,LPABCFLOAT); | |
9070 | ||
9071 | BOOL __attribute__((__stdcall__)) GetCharABCWidthsI(HDC,UINT,UINT,LPWORD,LPABC); | |
9072 | DWORD __attribute__((__stdcall__)) GetCharacterPlacementA(HDC,LPCSTR,INT,INT,GCP_RESULTSA*,DWORD); | |
9073 | DWORD __attribute__((__stdcall__)) GetCharacterPlacementW(HDC,LPCWSTR,INT,INT,GCP_RESULTSW*,DWORD); | |
9074 | ||
9075 | BOOL __attribute__((__stdcall__)) GetCharWidth32A(HDC,UINT,UINT,LPINT); | |
9076 | BOOL __attribute__((__stdcall__)) GetCharWidth32W(HDC,UINT,UINT,LPINT); | |
9077 | ||
9078 | BOOL __attribute__((__stdcall__)) GetCharWidthA(HDC,UINT,UINT,LPINT); | |
9079 | BOOL __attribute__((__stdcall__)) GetCharWidthW(HDC,UINT,UINT,LPINT); | |
9080 | ||
9081 | BOOL __attribute__((__stdcall__)) GetCharWidthFloatA(HDC,UINT,UINT,PFLOAT); | |
9082 | BOOL __attribute__((__stdcall__)) GetCharWidthFloatW(HDC,UINT,UINT,PFLOAT); | |
9083 | ||
9084 | INT __attribute__((__stdcall__)) GetClipBox(HDC,LPRECT); | |
9085 | INT __attribute__((__stdcall__)) GetClipRgn(HDC,HRGN); | |
9086 | BOOL __attribute__((__stdcall__)) GetColorAdjustment(HDC, LPCOLORADJUSTMENT); | |
9087 | HCOLORSPACE __attribute__((__stdcall__)) GetColorSpace(HDC); | |
9088 | HGDIOBJ __attribute__((__stdcall__)) GetCurrentObject(HDC,UINT); | |
9089 | BOOL __attribute__((__stdcall__)) GetCurrentPositionEx(HDC,LPPOINT); | |
9090 | INT __attribute__((__stdcall__)) GetDeviceCaps(HDC,INT); | |
9091 | BOOL __attribute__((__stdcall__)) GetDeviceGammaRamp(HDC,LPVOID); | |
9092 | COLORREF __attribute__((__stdcall__)) GetDCBrushColor(HDC); | |
9093 | BOOL __attribute__((__stdcall__)) GetDCOrgEx(HDC,LPPOINT); | |
9094 | COLORREF __attribute__((__stdcall__)) GetDCPenColor(HDC); | |
9095 | UINT __attribute__((__stdcall__)) GetDIBColorTable(HDC,UINT,UINT,RGBQUAD*); | |
9096 | INT __attribute__((__stdcall__)) GetDIBits(HDC,HBITMAP,UINT,UINT,LPVOID,LPBITMAPINFO,UINT); | |
9097 | HENHMETAFILE __attribute__((__stdcall__)) GetEnhMetaFileA(LPCSTR); | |
9098 | HENHMETAFILE __attribute__((__stdcall__)) GetEnhMetaFileW(LPCWSTR); | |
9099 | ||
9100 | UINT __attribute__((__stdcall__)) GetEnhMetaFileBits(HENHMETAFILE,UINT,LPBYTE); | |
9101 | UINT __attribute__((__stdcall__)) GetEnhMetaFileDescriptionA(HENHMETAFILE,UINT,LPSTR); | |
9102 | UINT __attribute__((__stdcall__)) GetEnhMetaFileDescriptionW(HENHMETAFILE,UINT,LPWSTR); | |
9103 | ||
9104 | UINT __attribute__((__stdcall__)) GetEnhMetaFileHeader(HENHMETAFILE,UINT,LPENHMETAHEADER); | |
9105 | UINT __attribute__((__stdcall__)) GetEnhMetaFilePaletteEntries(HENHMETAFILE,UINT,LPPALETTEENTRY); | |
9106 | DWORD __attribute__((__stdcall__)) GetFontData(HDC,DWORD,DWORD,LPVOID,DWORD); | |
9107 | DWORD __attribute__((__stdcall__)) GetFontLanguageInfo(HDC); | |
9108 | DWORD __attribute__((__stdcall__)) GetGlyphIndicesA(HDC,LPCSTR,INT,LPWORD,DWORD); | |
9109 | DWORD __attribute__((__stdcall__)) GetGlyphIndicesW(HDC,LPCWSTR,INT,LPWORD,DWORD); | |
9110 | ||
9111 | DWORD __attribute__((__stdcall__)) GetGlyphOutlineA(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,const MAT2*); | |
9112 | DWORD __attribute__((__stdcall__)) GetGlyphOutlineW(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,const MAT2*); | |
9113 | ||
9114 | INT __attribute__((__stdcall__)) GetGraphicsMode(HDC); | |
9115 | BOOL __attribute__((__stdcall__)) GetICMProfileA(HDC,LPDWORD,LPSTR); | |
9116 | BOOL __attribute__((__stdcall__)) GetICMProfileW(HDC,LPDWORD,LPWSTR); | |
9117 | ||
9118 | DWORD __attribute__((__stdcall__)) GetKerningPairsA(HDC,DWORD,LPKERNINGPAIR); | |
9119 | DWORD __attribute__((__stdcall__)) GetKerningPairsW(HDC,DWORD,LPKERNINGPAIR); | |
9120 | ||
9121 | DWORD __attribute__((__stdcall__)) GetLayout(HDC); | |
9122 | BOOL __attribute__((__stdcall__)) GetLogColorSpaceA(HCOLORSPACE,LPLOGCOLORSPACEA,DWORD); | |
9123 | BOOL __attribute__((__stdcall__)) GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACEW,DWORD); | |
9124 | ||
9125 | INT __attribute__((__stdcall__)) GetMapMode(HDC); | |
9126 | HMETAFILE __attribute__((__stdcall__)) GetMetaFileA(LPCSTR); | |
9127 | HMETAFILE __attribute__((__stdcall__)) GetMetaFileW(LPCWSTR); | |
9128 | ||
9129 | UINT __attribute__((__stdcall__)) GetMetaFileBitsEx(HMETAFILE,UINT,LPVOID); | |
9130 | INT __attribute__((__stdcall__)) GetMetaRgn(HDC,HRGN); | |
9131 | BOOL __attribute__((__stdcall__)) GetMiterLimit(HDC, PFLOAT); | |
9132 | DWORD __attribute__((__stdcall__)) GetNearestColor(HDC,DWORD); | |
9133 | UINT __attribute__((__stdcall__)) GetNearestPaletteIndex(HPALETTE,COLORREF); | |
9134 | INT __attribute__((__stdcall__)) GetObjectA(HGDIOBJ,INT,LPVOID); | |
9135 | INT __attribute__((__stdcall__)) GetObjectW(HGDIOBJ,INT,LPVOID); | |
9136 | ||
9137 | DWORD __attribute__((__stdcall__)) GetObjectType(HGDIOBJ); | |
9138 | UINT __attribute__((__stdcall__)) GetOutlineTextMetricsA(HDC,UINT,LPOUTLINETEXTMETRICA); | |
9139 | UINT __attribute__((__stdcall__)) GetOutlineTextMetricsW(HDC,UINT,LPOUTLINETEXTMETRICW); | |
9140 | ||
9141 | UINT __attribute__((__stdcall__)) GetPaletteEntries(HPALETTE,UINT,UINT,LPPALETTEENTRY); | |
9142 | INT __attribute__((__stdcall__)) GetPath(HDC,LPPOINT,LPBYTE,INT); | |
9143 | COLORREF __attribute__((__stdcall__)) GetPixel(HDC,INT,INT); | |
9144 | INT __attribute__((__stdcall__)) GetPixelFormat(HDC); | |
9145 | INT __attribute__((__stdcall__)) GetPolyFillMode(HDC); | |
9146 | INT __attribute__((__stdcall__)) GetRandomRgn(HDC,HRGN,INT); | |
9147 | BOOL __attribute__((__stdcall__)) GetRasterizerCaps(LPRASTERIZER_STATUS,UINT); | |
9148 | DWORD __attribute__((__stdcall__)) GetRegionData(HRGN,DWORD,LPRGNDATA); | |
9149 | INT __attribute__((__stdcall__)) GetRelAbs(HDC,DWORD); | |
9150 | INT __attribute__((__stdcall__)) GetRgnBox(HRGN,LPRECT); | |
9151 | INT __attribute__((__stdcall__)) GetROP2(HDC); | |
9152 | HGDIOBJ __attribute__((__stdcall__)) GetStockObject(INT); | |
9153 | INT __attribute__((__stdcall__)) GetStretchBltMode(HDC); | |
9154 | UINT __attribute__((__stdcall__)) GetSystemPaletteEntries(HDC,UINT,UINT,LPPALETTEENTRY); | |
9155 | UINT __attribute__((__stdcall__)) GetSystemPaletteUse(HDC); | |
9156 | UINT __attribute__((__stdcall__)) GetTextAlign(HDC); | |
9157 | INT __attribute__((__stdcall__)) GetTextCharacterExtra(HDC); | |
9158 | UINT __attribute__((__stdcall__)) GetTextCharset(HDC); | |
9159 | UINT __attribute__((__stdcall__)) GetTextCharsetInfo(HDC,LPFONTSIGNATURE,DWORD); | |
9160 | COLORREF __attribute__((__stdcall__)) GetTextColor(HDC); | |
9161 | BOOL __attribute__((__stdcall__)) GetTextExtentExPointA(HDC,LPCSTR,INT,INT, | |
9162 | LPINT,LPINT,LPSIZE); | |
9163 | BOOL __attribute__((__stdcall__)) GetTextExtentExPointW(HDC,LPCWSTR,INT,INT, | |
9164 | LPINT,LPINT,LPSIZE); | |
9165 | ||
9166 | BOOL __attribute__((__stdcall__)) GetTextExtentPointA(HDC,LPCSTR,INT,LPSIZE); | |
9167 | BOOL __attribute__((__stdcall__)) GetTextExtentPointW(HDC,LPCWSTR,INT,LPSIZE); | |
9168 | ||
9169 | BOOL __attribute__((__stdcall__)) GetTextExtentPoint32A(HDC,LPCSTR,INT,LPSIZE); | |
9170 | BOOL __attribute__((__stdcall__)) GetTextExtentPoint32W(HDC,LPCWSTR,INT,LPSIZE); | |
9171 | ||
9172 | BOOL __attribute__((__stdcall__)) GetTextExtentExPointI(HDC,const WORD*,INT,INT,LPINT,LPINT,LPSIZE); | |
9173 | BOOL __attribute__((__stdcall__)) GetTextExtentPointI(HDC,const WORD*,INT,LPSIZE); | |
9174 | INT __attribute__((__stdcall__)) GetTextFaceA(HDC,INT,LPSTR); | |
9175 | INT __attribute__((__stdcall__)) GetTextFaceW(HDC,INT,LPWSTR); | |
9176 | ||
9177 | BOOL __attribute__((__stdcall__)) GetTextMetricsA(HDC,LPTEXTMETRICA); | |
9178 | BOOL __attribute__((__stdcall__)) GetTextMetricsW(HDC,LPTEXTMETRICW); | |
9179 | ||
9180 | BOOL __attribute__((__stdcall__)) GetViewportExtEx(HDC,LPSIZE); | |
9181 | BOOL __attribute__((__stdcall__)) GetViewportOrgEx(HDC,LPPOINT); | |
9182 | BOOL __attribute__((__stdcall__)) GetWindowExtEx(HDC,LPSIZE); | |
9183 | BOOL __attribute__((__stdcall__)) GetWindowOrgEx(HDC,LPPOINT); | |
9184 | UINT __attribute__((__stdcall__)) GetWinMetaFileBits(HENHMETAFILE,UINT,LPBYTE,INT,HDC); | |
9185 | BOOL __attribute__((__stdcall__)) GetWorldTransform(HDC,LPXFORM); | |
9186 | BOOL __attribute__((__stdcall__)) GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG); | |
9187 | INT __attribute__((__stdcall__)) IntersectClipRect(HDC,INT,INT,INT,INT); | |
9188 | BOOL __attribute__((__stdcall__)) InvertRgn(HDC,HRGN); | |
9189 | BOOL __attribute__((__stdcall__)) LineDDA(INT,INT,INT,INT,LINEDDAPROC,LPARAM); | |
9190 | BOOL __attribute__((__stdcall__)) LineTo(HDC,INT,INT); | |
9191 | BOOL __attribute__((__stdcall__)) LPtoDP(HDC,LPPOINT,INT); | |
9192 | BOOL __attribute__((__stdcall__)) MaskBlt(HDC,INT,INT,INT,INT,HDC,INT,INT,HBITMAP,INT,INT,DWORD); | |
9193 | BOOL __attribute__((__stdcall__)) ModifyWorldTransform(HDC,const XFORM *, DWORD); | |
9194 | BOOL __attribute__((__stdcall__)) MoveToEx(HDC,INT,INT,LPPOINT); | |
9195 | INT __attribute__((__stdcall__)) OffsetClipRgn(HDC,INT,INT); | |
9196 | INT __attribute__((__stdcall__)) OffsetRgn(HRGN,INT,INT); | |
9197 | BOOL __attribute__((__stdcall__)) OffsetViewportOrgEx(HDC,INT,INT,LPPOINT); | |
9198 | BOOL __attribute__((__stdcall__)) OffsetWindowOrgEx(HDC,INT,INT,LPPOINT); | |
9199 | BOOL __attribute__((__stdcall__)) PaintRgn(HDC,HRGN); | |
9200 | BOOL __attribute__((__stdcall__)) PatBlt(HDC,INT,INT,INT,INT,DWORD); | |
9201 | HRGN __attribute__((__stdcall__)) PathToRegion(HDC); | |
9202 | BOOL __attribute__((__stdcall__)) Pie(HDC,INT,INT,INT,INT,INT,INT,INT,INT); | |
9203 | BOOL __attribute__((__stdcall__)) PlayEnhMetaFile(HDC,HENHMETAFILE,const RECT*); | |
9204 | BOOL __attribute__((__stdcall__)) PlayEnhMetaFileRecord(HDC,LPHANDLETABLE,const ENHMETARECORD*,UINT); | |
9205 | BOOL __attribute__((__stdcall__)) PlayMetaFile(HDC,HMETAFILE); | |
9206 | BOOL __attribute__((__stdcall__)) PlayMetaFileRecord(HDC,LPHANDLETABLE,LPMETARECORD,UINT); | |
9207 | BOOL __attribute__((__stdcall__)) PlgBlt(HDC,const POINT*,HDC,INT,INT,INT,INT,HBITMAP,INT,INT); | |
9208 | BOOL __attribute__((__stdcall__)) PolyBezier(HDC,const POINT*,DWORD); | |
9209 | BOOL __attribute__((__stdcall__)) PolyBezierTo(HDC,const POINT*,DWORD); | |
9210 | BOOL __attribute__((__stdcall__)) PolyDraw(HDC,const POINT*,const BYTE*,DWORD); | |
9211 | BOOL __attribute__((__stdcall__)) PolyPolygon(HDC,const POINT*,const INT*,UINT); | |
9212 | BOOL __attribute__((__stdcall__)) PolyPolyline(HDC,const POINT*,const DWORD*,DWORD); | |
9213 | BOOL __attribute__((__stdcall__)) Polygon(HDC,const POINT*,INT); | |
9214 | BOOL __attribute__((__stdcall__)) Polyline(HDC,const POINT*,INT); | |
9215 | BOOL __attribute__((__stdcall__)) PolylineTo(HDC,const POINT*,DWORD); | |
9216 | BOOL __attribute__((__stdcall__)) PtInRegion(HRGN,INT,INT); | |
9217 | BOOL __attribute__((__stdcall__)) PtVisible(HDC,INT,INT); | |
9218 | UINT __attribute__((__stdcall__)) RealizePalette(HDC); | |
9219 | BOOL __attribute__((__stdcall__)) Rectangle(HDC,INT,INT,INT,INT); | |
9220 | BOOL __attribute__((__stdcall__)) RectInRegion(HRGN,const RECT *); | |
9221 | BOOL __attribute__((__stdcall__)) RectVisible(HDC,const RECT*); | |
9222 | BOOL __attribute__((__stdcall__)) RemoveFontResourceA(LPCSTR); | |
9223 | BOOL __attribute__((__stdcall__)) RemoveFontResourceW(LPCWSTR); | |
9224 | ||
9225 | BOOL __attribute__((__stdcall__)) RemoveFontResourceExA(LPCSTR, DWORD, PVOID); | |
9226 | BOOL __attribute__((__stdcall__)) RemoveFontResourceExW(LPCWSTR, DWORD, PVOID); | |
9227 | ||
9228 | HDC __attribute__((__stdcall__)) ResetDCA(HDC,const DEVMODEA *); | |
9229 | HDC __attribute__((__stdcall__)) ResetDCW(HDC,const DEVMODEW *); | |
9230 | ||
9231 | BOOL __attribute__((__stdcall__)) ResizePalette(HPALETTE,UINT); | |
9232 | BOOL __attribute__((__stdcall__)) RestoreDC(HDC,INT); | |
9233 | BOOL __attribute__((__stdcall__)) RoundRect(HDC,INT,INT,INT,INT,INT,INT); | |
9234 | INT __attribute__((__stdcall__)) SaveDC(HDC); | |
9235 | BOOL __attribute__((__stdcall__)) ScaleViewportExtEx(HDC,INT,INT,INT,INT,LPSIZE); | |
9236 | BOOL __attribute__((__stdcall__)) ScaleWindowExtEx(HDC,INT,INT,INT,INT,LPSIZE); | |
9237 | BOOL __attribute__((__stdcall__)) SelectClipPath(HDC,INT); | |
9238 | INT __attribute__((__stdcall__)) SelectClipRgn(HDC,HRGN); | |
9239 | HGDIOBJ __attribute__((__stdcall__)) SelectObject(HDC,HGDIOBJ); | |
9240 | HPALETTE __attribute__((__stdcall__)) SelectPalette(HDC,HPALETTE,BOOL); | |
9241 | INT __attribute__((__stdcall__)) SetAbortProc(HDC,ABORTPROC); | |
9242 | INT __attribute__((__stdcall__)) SetArcDirection(HDC,INT); | |
9243 | LONG __attribute__((__stdcall__)) SetBitmapBits(HBITMAP,LONG,LPCVOID); | |
9244 | BOOL __attribute__((__stdcall__)) SetBitmapDimensionEx(HBITMAP,INT,INT,LPSIZE); | |
9245 | COLORREF __attribute__((__stdcall__)) SetBkColor(HDC,COLORREF); | |
9246 | INT __attribute__((__stdcall__)) SetBkMode(HDC,INT); | |
9247 | UINT __attribute__((__stdcall__)) SetBoundsRect(HDC,const RECT*,UINT); | |
9248 | BOOL __attribute__((__stdcall__)) SetBrushOrgEx(HDC,INT,INT,LPPOINT); | |
9249 | BOOL __attribute__((__stdcall__)) SetColorAdjustment(HDC,const COLORADJUSTMENT*); | |
9250 | HCOLORSPACE __attribute__((__stdcall__)) SetColorSpace(HDC,HCOLORSPACE); | |
9251 | BOOL __attribute__((__stdcall__)) SetDeviceGammaRamp(HDC,LPVOID); | |
9252 | COLORREF __attribute__((__stdcall__)) SetDCBrushColor(HDC,COLORREF); | |
9253 | COLORREF __attribute__((__stdcall__)) SetDCPenColor(HDC, COLORREF); | |
9254 | UINT __attribute__((__stdcall__)) SetDIBColorTable(HDC,UINT,UINT,const RGBQUAD*); | |
9255 | INT __attribute__((__stdcall__)) SetDIBits(HDC,HBITMAP,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT); | |
9256 | INT __attribute__((__stdcall__)) SetDIBitsToDevice(HDC,INT,INT,DWORD,DWORD,INT, | |
9257 | INT,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT); | |
9258 | HENHMETAFILE __attribute__((__stdcall__)) SetEnhMetaFileBits(UINT,const BYTE *); | |
9259 | INT __attribute__((__stdcall__)) SetGraphicsMode(HDC,INT); | |
9260 | INT __attribute__((__stdcall__)) SetICMMode(HDC,INT); | |
9261 | BOOL __attribute__((__stdcall__)) SetICMProfileA(HDC,LPSTR); | |
9262 | BOOL __attribute__((__stdcall__)) SetICMProfileW(HDC,LPWSTR); | |
9263 | ||
9264 | DWORD __attribute__((__stdcall__)) SetLayout(HDC,DWORD); | |
9265 | INT __attribute__((__stdcall__)) SetMapMode(HDC,INT); | |
9266 | DWORD __attribute__((__stdcall__)) SetMapperFlags(HDC,DWORD); | |
9267 | HMETAFILE __attribute__((__stdcall__)) SetMetaFileBitsEx(UINT,const BYTE*); | |
9268 | INT __attribute__((__stdcall__)) SetMetaRgn(HDC); | |
9269 | BOOL __attribute__((__stdcall__)) SetMiterLimit(HDC, FLOAT, PFLOAT); | |
9270 | UINT __attribute__((__stdcall__)) SetPaletteEntries(HPALETTE,UINT,UINT,const PALETTEENTRY*); | |
9271 | COLORREF __attribute__((__stdcall__)) SetPixel(HDC,INT,INT,COLORREF); | |
9272 | BOOL __attribute__((__stdcall__)) SetPixelV(HDC,INT,INT,COLORREF); | |
9273 | BOOL __attribute__((__stdcall__)) SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR*); | |
9274 | INT __attribute__((__stdcall__)) SetPolyFillMode(HDC,INT); | |
9275 | BOOL __attribute__((__stdcall__)) SetRectRgn(HRGN,INT,INT,INT,INT); | |
9276 | INT __attribute__((__stdcall__)) SetRelAbs(HDC,INT); | |
9277 | INT __attribute__((__stdcall__)) SetROP2(HDC,INT); | |
9278 | INT __attribute__((__stdcall__)) SetStretchBltMode(HDC,INT); | |
9279 | UINT __attribute__((__stdcall__)) SetSystemPaletteUse(HDC,UINT); | |
9280 | UINT __attribute__((__stdcall__)) SetTextAlign(HDC,UINT); | |
9281 | INT __attribute__((__stdcall__)) SetTextCharacterExtra(HDC,INT); | |
9282 | COLORREF __attribute__((__stdcall__)) SetTextColor(HDC,COLORREF); | |
9283 | BOOL __attribute__((__stdcall__)) SetTextJustification(HDC,INT,INT); | |
9284 | BOOL __attribute__((__stdcall__)) SetViewportExtEx(HDC,INT,INT,LPSIZE); | |
9285 | BOOL __attribute__((__stdcall__)) SetViewportOrgEx(HDC,INT,INT,LPPOINT); | |
9286 | BOOL __attribute__((__stdcall__)) SetWindowExtEx(HDC,INT,INT,LPSIZE); | |
9287 | BOOL __attribute__((__stdcall__)) SetWindowOrgEx(HDC,INT,INT,LPPOINT); | |
9288 | HENHMETAFILE __attribute__((__stdcall__)) SetWinMetaFileBits(UINT,const BYTE*,HDC,const METAFILEPICT *); | |
9289 | BOOL __attribute__((__stdcall__)) SetWorldTransform(HDC,const XFORM*); | |
9290 | INT __attribute__((__stdcall__)) StartDocA(HDC,const DOCINFOA*); | |
9291 | INT __attribute__((__stdcall__)) StartDocW(HDC,const DOCINFOW*); | |
9292 | ||
9293 | INT __attribute__((__stdcall__)) StartPage(HDC); | |
9294 | INT __attribute__((__stdcall__)) EndPage(HDC); | |
9295 | BOOL __attribute__((__stdcall__)) StretchBlt(HDC,INT,INT,INT,INT,HDC,INT, | |
9296 | INT,INT,INT,DWORD); | |
9297 | INT __attribute__((__stdcall__)) StretchDIBits(HDC,INT,INT,INT,INT,INT,INT, | |
9298 | INT,INT,const void*,const BITMAPINFO*,UINT,DWORD); | |
9299 | BOOL __attribute__((__stdcall__)) StrokeAndFillPath(HDC); | |
9300 | BOOL __attribute__((__stdcall__)) StrokePath(HDC); | |
9301 | BOOL __attribute__((__stdcall__)) SwapBuffers(HDC); | |
9302 | BOOL __attribute__((__stdcall__)) TextOutA(HDC,INT,INT,LPCSTR,INT); | |
9303 | BOOL __attribute__((__stdcall__)) TextOutW(HDC,INT,INT,LPCWSTR,INT); | |
9304 | ||
9305 | BOOL __attribute__((__stdcall__)) TranslateCharsetInfo(LPDWORD,LPCHARSETINFO,DWORD); | |
9306 | BOOL __attribute__((__stdcall__)) TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT); | |
9307 | BOOL __attribute__((__stdcall__)) UnrealizeObject(HGDIOBJ); | |
9308 | BOOL __attribute__((__stdcall__)) UpdateColors(HDC); | |
9309 | BOOL __attribute__((__stdcall__)) UpdateICMRegKeyA(DWORD,LPSTR,LPSTR,UINT); | |
9310 | BOOL __attribute__((__stdcall__)) UpdateICMRegKeyW(DWORD,LPWSTR,LPWSTR,UINT); | |
9311 | ||
9312 | BOOL __attribute__((__stdcall__)) WidenPath(HDC); | |
9313 | BOOL __attribute__((__stdcall__)) PolyTextOutA(HDC,PPOLYTEXTA,INT); | |
9314 | BOOL __attribute__((__stdcall__)) PolyTextOutW(HDC,PPOLYTEXTW,INT); | |
9315 | # 3690 "../../../include/wingdi.h" | |
9316 | HGLRC __attribute__((__stdcall__)) wglCreateContext(HDC); | |
9317 | HGLRC __attribute__((__stdcall__)) wglCreateLayerContext(HDC,INT); | |
9318 | BOOL __attribute__((__stdcall__)) wglCopyContext(HGLRC,HGLRC,UINT); | |
9319 | BOOL __attribute__((__stdcall__)) wglDeleteContext(HGLRC); | |
9320 | BOOL __attribute__((__stdcall__)) wglDescribeLayerPlane(HDC,INT,INT,UINT,LPLAYERPLANEDESCRIPTOR); | |
9321 | HGLRC __attribute__((__stdcall__)) wglGetCurrentContext(void); | |
9322 | HDC __attribute__((__stdcall__)) wglGetCurrentDC(void); | |
9323 | INT __attribute__((__stdcall__)) wglGetLayerPaletteEntries(HDC,INT,INT,INT,const COLORREF *); | |
9324 | PROC __attribute__((__stdcall__)) wglGetProcAddress(LPCSTR); | |
9325 | BOOL __attribute__((__stdcall__)) wglMakeCurrent(HDC,HGLRC); | |
9326 | BOOL __attribute__((__stdcall__)) wglRealizeLayerPalette(HDC,INT,BOOL); | |
9327 | INT __attribute__((__stdcall__)) wglSetLayerPaletteEntries(HDC,INT,INT,INT,const COLORREF *); | |
9328 | BOOL __attribute__((__stdcall__)) wglShareLists(HGLRC,HGLRC); | |
9329 | BOOL __attribute__((__stdcall__)) wglSwapLayerBuffers(HDC,UINT); | |
9330 | BOOL __attribute__((__stdcall__)) wglUseFontBitmaps(HDC,DWORD,DWORD,DWORD); | |
9331 | BOOL __attribute__((__stdcall__)) wglUseFontOutlines(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,INT,LPGLYPHMETRICSFLOAT); | |
9332 | # 41 "../../../include/windows.h" 2 | |
9333 | # 1 "../../../include/winuser.h" 1 | |
9334 | # 39 "../../../include/winuser.h" | |
9335 | typedef INT_PTR (__attribute__((__stdcall__)) *DLGPROC)(HWND,UINT,WPARAM,LPARAM); | |
9336 | typedef BOOL (__attribute__((__stdcall__)) *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,int,int); | |
9337 | typedef INT (__attribute__((__stdcall__)) *EDITWORDBREAKPROCA)(LPSTR,INT,INT,INT); | |
9338 | typedef INT (__attribute__((__stdcall__)) *EDITWORDBREAKPROCW)(LPWSTR,INT,INT,INT); | |
9339 | typedef BOOL (__attribute__((__stdcall__)) *GRAYSTRINGPROC)(HDC,LPARAM,INT); | |
9340 | typedef LRESULT (__attribute__((__stdcall__)) *HOOKPROC)(INT,WPARAM,LPARAM); | |
9341 | typedef BOOL (__attribute__((__stdcall__)) *NAMEENUMPROCA)(LPSTR,LPARAM); | |
9342 | typedef BOOL (__attribute__((__stdcall__)) *NAMEENUMPROCW)(LPWSTR,LPARAM); | |
9343 | typedef BOOL (__attribute__((__stdcall__)) *PROPENUMPROCA)(HWND,LPCSTR,HANDLE); | |
9344 | typedef BOOL (__attribute__((__stdcall__)) *PROPENUMPROCW)(HWND,LPCWSTR,HANDLE); | |
9345 | typedef BOOL (__attribute__((__stdcall__)) *PROPENUMPROCEXA)(HWND,LPCSTR,HANDLE,ULONG_PTR); | |
9346 | typedef BOOL (__attribute__((__stdcall__)) *PROPENUMPROCEXW)(HWND,LPCWSTR,HANDLE,ULONG_PTR); | |
9347 | typedef void (__attribute__((__stdcall__)) *SENDASYNCPROC)(HWND,UINT,ULONG_PTR,LRESULT); | |
9348 | typedef void (__attribute__((__stdcall__)) *TIMERPROC)(HWND,UINT,UINT_PTR,DWORD); | |
9349 | typedef void (__attribute__((__stdcall__)) *WINEVENTPROC)(HWINEVENTHOOK,DWORD,HWND,LONG,LONG, | |
9350 | DWORD,DWORD); | |
9351 | typedef BOOL (__attribute__((__stdcall__)) *WNDENUMPROC)(HWND,LPARAM); | |
9352 | # 76 "../../../include/winuser.h" | |
9353 | typedef NAMEENUMPROCA WINSTAENUMPROCA; | |
9354 | typedef NAMEENUMPROCA DESKTOPENUMPROCA; | |
9355 | typedef NAMEENUMPROCW WINSTAENUMPROCW; | |
9356 | typedef NAMEENUMPROCW DESKTOPENUMPROCW; | |
9357 | ||
9358 | typedef LRESULT (__attribute__((__stdcall__)) *WNDPROC)(HWND,UINT,WPARAM,LPARAM); | |
9359 | ||
9360 | typedef DESKTOPENUMPROCA DESKTOPENUMPROC; | |
9361 | typedef EDITWORDBREAKPROCA EDITWORDBREAKPROC; | |
9362 | typedef NAMEENUMPROCA NAMEENUMPROC; | |
9363 | typedef PROPENUMPROCA PROPENUMPROC; | |
9364 | typedef PROPENUMPROCEXA PROPENUMPROCEX; | |
9365 | typedef WINSTAENUMPROCA WINSTAENUMPROC; | |
9366 | ||
9367 | ||
9368 | typedef HANDLE HDWP; | |
9369 | # 101 "../../../include/winuser.h" | |
9370 | typedef struct tagUSEROBJECTFLAGS { | |
9371 | BOOL fInherit; | |
9372 | BOOL fReserved; | |
9373 | DWORD dwFlags; | |
9374 | } USEROBJECTFLAGS, *PUSEROBJECTFLAGS; | |
9375 | # 140 "../../../include/winuser.h" | |
9376 | typedef struct tagFILTERKEYS | |
9377 | { | |
9378 | UINT cbSize; | |
9379 | DWORD dwFlags; | |
9380 | DWORD iWaitMSec; | |
9381 | DWORD iDelayMSec; | |
9382 | DWORD iRepeatMSec; | |
9383 | DWORD iBounceMSec; | |
9384 | } FILTERKEYS, *LPFILTERKEYS; | |
9385 | # 157 "../../../include/winuser.h" | |
9386 | typedef struct tagTOGGLEKEYS | |
9387 | { | |
9388 | DWORD cbSize; | |
9389 | DWORD dwFlags; | |
9390 | } TOGGLEKEYS, *LPTOGGLEKEYS; | |
9391 | # 173 "../../../include/winuser.h" | |
9392 | typedef struct tagMOUSEKEYS | |
9393 | { | |
9394 | UINT cbSize; | |
9395 | DWORD dwFlags; | |
9396 | DWORD iMaxSpeed; | |
9397 | DWORD iTimeToMaxSpeed; | |
9398 | DWORD iCtrlSpeed; | |
9399 | DWORD dwReserved1; | |
9400 | DWORD dwReserved2; | |
9401 | } MOUSEKEYS, *LPMOUSEKEYS; | |
9402 | # 195 "../../../include/winuser.h" | |
9403 | typedef struct tagSTICKYKEYS | |
9404 | { | |
9405 | DWORD cbSize; | |
9406 | DWORD dwFlags; | |
9407 | } STICKYKEYS, *LPSTICKYKEYS; | |
9408 | ||
9409 | ||
9410 | ||
9411 | ||
9412 | ||
9413 | ||
9414 | typedef struct tagACCESSTIMEOUT | |
9415 | { | |
9416 | UINT cbSize; | |
9417 | DWORD dwFlags; | |
9418 | DWORD iTimeOutMSec; | |
9419 | } ACCESSTIMEOUT, *LPACCESSTIMEOUT; | |
9420 | ||
9421 | ||
9422 | ||
9423 | ||
9424 | ||
9425 | ||
9426 | ||
9427 | typedef struct tagSERIALKEYSA | |
9428 | { | |
9429 | UINT cbSize; | |
9430 | DWORD dwFlags; | |
9431 | LPSTR lpszActivePort; | |
9432 | LPSTR lpszPort; | |
9433 | UINT iBaudRate; | |
9434 | UINT iPortState; | |
9435 | UINT iActive; | |
9436 | } SERIALKEYSA, *LPSERIALKEYSA; | |
9437 | ||
9438 | typedef struct tagSERIALKEYSW { | |
9439 | UINT cbSize; | |
9440 | DWORD dwFlags; | |
9441 | LPWSTR lpszActivePort; | |
9442 | LPWSTR lpszPort; | |
9443 | UINT iBaudRate; | |
9444 | UINT iPortState; | |
9445 | UINT iActive; | |
9446 | } SERIALKEYSW,*LPSERIALKEYSW; | |
9447 | ||
9448 | typedef SERIALKEYSA SERIALKEYS; | |
9449 | typedef LPSERIALKEYSA LPSERIALKEYS; | |
9450 | # 260 "../../../include/winuser.h" | |
9451 | typedef struct tagSOUNDSENTRYA | |
9452 | { | |
9453 | UINT cbSize; | |
9454 | DWORD dwFlags; | |
9455 | DWORD iFSTextEffect; | |
9456 | DWORD iFSTextEffectMSec; | |
9457 | DWORD iFSTextEffectColorBits; | |
9458 | DWORD iFSGrafEffect; | |
9459 | DWORD iFSGrafEffectMSec; | |
9460 | DWORD iFSGrafEffectColor; | |
9461 | DWORD iWindowsEffect; | |
9462 | DWORD iWindowsEffectMSec; | |
9463 | LPSTR lpszWindowsEffectDLL; | |
9464 | DWORD iWindowsEffectOrdinal; | |
9465 | } SOUNDSENTRYA, *LPSOUNDSENTRYA; | |
9466 | ||
9467 | typedef struct tagSOUNDSENTRYW | |
9468 | { | |
9469 | UINT cbSize; | |
9470 | DWORD dwFlags; | |
9471 | DWORD iFSTextEffect; | |
9472 | DWORD iFSTextEffectMSec; | |
9473 | DWORD iFSTextEffectColorBits; | |
9474 | DWORD iFSGrafEffect; | |
9475 | DWORD iFSGrafEffectMSec; | |
9476 | DWORD iFSGrafEffectColor; | |
9477 | DWORD iWindowsEffect; | |
9478 | DWORD iWindowsEffectMSec; | |
9479 | LPWSTR lpszWindowsEffectDLL; | |
9480 | DWORD iWindowsEffectOrdinal; | |
9481 | } SOUNDSENTRYW, *LPSOUNDSENTRYW; | |
9482 | ||
9483 | typedef SOUNDSENTRYA SOUNDSENTRY; | |
9484 | typedef LPSOUNDSENTRYA LPSOUNDSENTRY; | |
9485 | # 304 "../../../include/winuser.h" | |
9486 | typedef struct tagHIGHCONTRASTA | |
9487 | { | |
9488 | UINT cbSize; | |
9489 | DWORD dwFlags; | |
9490 | LPSTR lpszDefaultScheme; | |
9491 | } HIGHCONTRASTA, *LPHIGHCONTRASTA; | |
9492 | ||
9493 | typedef struct tagHIGHCONTRASTW | |
9494 | { | |
9495 | UINT cbSize; | |
9496 | DWORD dwFlags; | |
9497 | LPWSTR lpszDefaultScheme; | |
9498 | } HIGHCONTRASTW, *LPHIGHCONTRASTW; | |
9499 | ||
9500 | typedef HIGHCONTRASTA HIGHCONTRAST; | |
9501 | typedef LPHIGHCONTRASTA LPHIGHCONTRAST; | |
9502 | ||
9503 | typedef struct tagEVENTMSG | |
9504 | { | |
9505 | UINT message; | |
9506 | UINT paramL; | |
9507 | UINT paramH; | |
9508 | DWORD time; | |
9509 | HWND hwnd; | |
9510 | } EVENTMSG, *PEVENTMSG, *LPEVENTMSG; | |
9511 | ||
9512 | ||
9513 | typedef struct tagKBDLLHOOKSTRUCT | |
9514 | { | |
9515 | DWORD vkCode; | |
9516 | DWORD scanCode; | |
9517 | DWORD flags; | |
9518 | DWORD time; | |
9519 | ULONG_PTR dwExtraInfo; | |
9520 | } KBDLLHOOKSTRUCT, *LPKBDLLHOOKSTRUCT, *PKBDLLHOOKSTRUCT; | |
9521 | ||
9522 | ||
9523 | ||
9524 | ||
9525 | ||
9526 | ||
9527 | ||
9528 | typedef struct tagMSLLHOOKSTRUCT | |
9529 | { | |
9530 | POINT pt; | |
9531 | DWORD mouseData; | |
9532 | DWORD flags; | |
9533 | DWORD time; | |
9534 | ULONG_PTR dwExtraInfo; | |
9535 | } MSLLHOOKSTRUCT, *LPMSLLHOOKSTRUCT, *PMSLLHOOKSTRUCT; | |
9536 | ||
9537 | ||
9538 | ||
9539 | ||
9540 | ||
9541 | typedef struct | |
9542 | { | |
9543 | POINT pt; | |
9544 | HWND hwnd; | |
9545 | UINT wHitTestCode; | |
9546 | ULONG_PTR dwExtraInfo; | |
9547 | } MOUSEHOOKSTRUCT, *PMOUSEHOOKSTRUCT, *LPMOUSEHOOKSTRUCT; | |
9548 | ||
9549 | ||
9550 | ||
9551 | ||
9552 | typedef struct | |
9553 | { | |
9554 | HWND hwnd; | |
9555 | UINT message; | |
9556 | WPARAM wParam; | |
9557 | LPARAM lParam; | |
9558 | } HARDWAREHOOKSTRUCT, *PHARDWAREHOOKSTRUCT, *LPHARDWAREHOOKSTRUCT; | |
9559 | ||
9560 | ||
9561 | ||
9562 | ||
9563 | typedef struct tagDEBUGHOOKINFO | |
9564 | { | |
9565 | DWORD idThread; | |
9566 | DWORD idThreadInstaller; | |
9567 | LPARAM lParam; | |
9568 | WPARAM wParam; | |
9569 | INT code; | |
9570 | } DEBUGHOOKINFO, *PDEBUGHOOKINFO, *LPDEBUGHOOKINFO; | |
9571 | # 405 "../../../include/winuser.h" | |
9572 | typedef struct tagMOUSEINPUT | |
9573 | { | |
9574 | LONG dx; | |
9575 | LONG dy; | |
9576 | DWORD mouseData; | |
9577 | DWORD dwFlags; | |
9578 | DWORD time; | |
9579 | ULONG_PTR dwExtraInfo; | |
9580 | } MOUSEINPUT, *PMOUSEINPUT, *LPMOUSEINPUT; | |
9581 | ||
9582 | typedef struct tagKEYBDINPUT | |
9583 | { | |
9584 | WORD wVk; | |
9585 | WORD wScan; | |
9586 | DWORD dwFlags; | |
9587 | DWORD time; | |
9588 | ULONG_PTR dwExtraInfo; | |
9589 | } KEYBDINPUT, *PKEYBDINPUT, *LPKEYBDINPUT; | |
9590 | ||
9591 | typedef struct tagHARDWAREINPUT | |
9592 | { | |
9593 | DWORD uMsg; | |
9594 | WORD wParamL; | |
9595 | WORD wParamH; | |
9596 | } HARDWAREINPUT, *PHARDWAREINPUT, *LPHARDWAREINPUT; | |
9597 | ||
9598 | ||
9599 | ||
9600 | ||
9601 | ||
9602 | typedef struct tagINPUT | |
9603 | { | |
9604 | DWORD type; | |
9605 | union | |
9606 | { | |
9607 | MOUSEINPUT mi; | |
9608 | KEYBDINPUT ki; | |
9609 | HARDWAREINPUT hi; | |
9610 | } ; | |
9611 | } INPUT, *PINPUT, *LPINPUT; | |
9612 | ||
9613 | ||
9614 | typedef struct tagGUITHREADINFO | |
9615 | { | |
9616 | DWORD cbSize; | |
9617 | DWORD flags; | |
9618 | HWND hwndActive; | |
9619 | HWND hwndFocus; | |
9620 | HWND hwndCapture; | |
9621 | HWND hwndMenuOwner; | |
9622 | HWND hwndMoveSize; | |
9623 | HWND hwndCaret; | |
9624 | RECT rcCaret; | |
9625 | } GUITHREADINFO, *PGUITHREADINFO, *LPGUITHREADINFO; | |
9626 | # 480 "../../../include/winuser.h" | |
9627 | typedef struct tagANIMATIONINFO | |
9628 | { | |
9629 | UINT cbSize; | |
9630 | INT iMinAnimate; | |
9631 | } ANIMATIONINFO, *LPANIMATIONINFO; | |
9632 | ||
9633 | typedef struct tagNMHDR | |
9634 | { | |
9635 | HWND hwndFrom; | |
9636 | UINT_PTR idFrom; | |
9637 | UINT code; | |
9638 | } NMHDR, *LPNMHDR; | |
9639 | ||
9640 | typedef struct tagDRAWTEXTPARAMS | |
9641 | { | |
9642 | UINT cbSize; | |
9643 | INT iTabLength; | |
9644 | INT iLeftMargin; | |
9645 | INT iRightMargin; | |
9646 | UINT uiLengthDrawn; | |
9647 | } DRAWTEXTPARAMS,*LPDRAWTEXTPARAMS; | |
9648 | ||
9649 | ||
9650 | ||
9651 | typedef struct | |
9652 | { | |
9653 | LPARAM lParam; | |
9654 | WPARAM wParam; | |
9655 | UINT message; | |
9656 | HWND hwnd; | |
9657 | } CWPSTRUCT, *PCWPSTRUCT, *LPCWPSTRUCT; | |
9658 | ||
9659 | typedef struct | |
9660 | { | |
9661 | LRESULT lResult; | |
9662 | LPARAM lParam; | |
9663 | WPARAM wParam; | |
9664 | DWORD message; | |
9665 | HWND hwnd; | |
9666 | } CWPRETSTRUCT, *PCWPRETSTRUCT, *LPCWPRETSTRUCT; | |
9667 | ||
9668 | typedef struct tagWINDOWPLACEMENT | |
9669 | { | |
9670 | UINT length; | |
9671 | UINT flags; | |
9672 | UINT showCmd; | |
9673 | POINT ptMinPosition; | |
9674 | POINT ptMaxPosition; | |
9675 | RECT rcNormalPosition; | |
9676 | } WINDOWPLACEMENT, *PWINDOWPLACEMENT, *LPWINDOWPLACEMENT; | |
9677 | # 793 "../../../include/winuser.h" | |
9678 | COLORREF __attribute__((__stdcall__)) GetSysColor(INT); | |
9679 | BOOL __attribute__((__stdcall__)) SetSysColors(INT,const INT*,const COLORREF*); | |
9680 | # 1313 "../../../include/winuser.h" | |
9681 | typedef struct tagCREATESTRUCTA | |
9682 | { | |
9683 | LPVOID lpCreateParams; | |
9684 | HINSTANCE hInstance; | |
9685 | HMENU hMenu; | |
9686 | HWND hwndParent; | |
9687 | INT cy; | |
9688 | INT cx; | |
9689 | INT y; | |
9690 | INT x; | |
9691 | LONG style; | |
9692 | LPCSTR lpszName; | |
9693 | LPCSTR lpszClass; | |
9694 | DWORD dwExStyle; | |
9695 | } CREATESTRUCTA, *LPCREATESTRUCTA; | |
9696 | ||
9697 | typedef struct tagCREATESTRUCTW | |
9698 | { | |
9699 | LPVOID lpCreateParams; | |
9700 | HINSTANCE hInstance; | |
9701 | HMENU hMenu; | |
9702 | HWND hwndParent; | |
9703 | INT cy; | |
9704 | INT cx; | |
9705 | INT y; | |
9706 | INT x; | |
9707 | LONG style; | |
9708 | LPCWSTR lpszName; | |
9709 | LPCWSTR lpszClass; | |
9710 | DWORD dwExStyle; | |
9711 | } CREATESTRUCTW, *LPCREATESTRUCTW; | |
9712 | ||
9713 | typedef CREATESTRUCTA CREATESTRUCT; | |
9714 | typedef LPCREATESTRUCTA LPCREATESTRUCT; | |
9715 | ||
9716 | typedef struct tagPAINTSTRUCT | |
9717 | { | |
9718 | HDC hdc; | |
9719 | BOOL fErase; | |
9720 | RECT rcPaint; | |
9721 | BOOL fRestore; | |
9722 | BOOL fIncUpdate; | |
9723 | BYTE rgbReserved[32]; | |
9724 | } PAINTSTRUCT, *PPAINTSTRUCT, *LPPAINTSTRUCT; | |
9725 | ||
9726 | typedef struct tagCLIENTCREATESTRUCT | |
9727 | { | |
9728 | HMENU hWindowMenu; | |
9729 | UINT idFirstChild; | |
9730 | } CLIENTCREATESTRUCT, *LPCLIENTCREATESTRUCT; | |
9731 | ||
9732 | ||
9733 | typedef struct tagMDICREATESTRUCTA | |
9734 | { | |
9735 | LPCSTR szClass; | |
9736 | LPCSTR szTitle; | |
9737 | HINSTANCE hOwner; | |
9738 | INT x; | |
9739 | INT y; | |
9740 | INT cx; | |
9741 | INT cy; | |
9742 | DWORD style; | |
9743 | LPARAM lParam; | |
9744 | } MDICREATESTRUCTA, *LPMDICREATESTRUCTA; | |
9745 | ||
9746 | typedef struct tagMDICREATESTRUCTW | |
9747 | { | |
9748 | LPCWSTR szClass; | |
9749 | LPCWSTR szTitle; | |
9750 | HINSTANCE hOwner; | |
9751 | INT x; | |
9752 | INT y; | |
9753 | INT cx; | |
9754 | INT cy; | |
9755 | DWORD style; | |
9756 | LPARAM lParam; | |
9757 | } MDICREATESTRUCTW, *LPMDICREATESTRUCTW; | |
9758 | ||
9759 | typedef MDICREATESTRUCTA MDICREATESTRUCT; | |
9760 | typedef LPMDICREATESTRUCTA LPMDICREATESTRUCT; | |
9761 | # 1401 "../../../include/winuser.h" | |
9762 | typedef struct tagSTYLESTRUCT { | |
9763 | DWORD styleOld; | |
9764 | DWORD styleNew; | |
9765 | } STYLESTRUCT, *LPSTYLESTRUCT; | |
9766 | # 1448 "../../../include/winuser.h" | |
9767 | typedef struct tagMINMAXINFO | |
9768 | { | |
9769 | POINT ptReserved; | |
9770 | POINT ptMaxSize; | |
9771 | POINT ptMaxPosition; | |
9772 | POINT ptMinTrackSize; | |
9773 | POINT ptMaxTrackSize; | |
9774 | } MINMAXINFO, *PMINMAXINFO, *LPMINMAXINFO; | |
9775 | # 1479 "../../../include/winuser.h" | |
9776 | typedef struct tagWINDOWPOS | |
9777 | { | |
9778 | HWND hwnd; | |
9779 | HWND hwndInsertAfter; | |
9780 | INT x; | |
9781 | INT y; | |
9782 | INT cx; | |
9783 | INT cy; | |
9784 | UINT flags; | |
9785 | } WINDOWPOS, *PWINDOWPOS, *LPWINDOWPOS; | |
9786 | # 1508 "../../../include/winuser.h" | |
9787 | typedef struct | |
9788 | { | |
9789 | RECT rgrc[3]; | |
9790 | WINDOWPOS *lppos; | |
9791 | } NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS; | |
9792 | # 1706 "../../../include/winuser.h" | |
9793 | typedef struct tagWNDCLASSA | |
9794 | { | |
9795 | UINT style; | |
9796 | WNDPROC lpfnWndProc; | |
9797 | INT cbClsExtra; | |
9798 | INT cbWndExtra; | |
9799 | HINSTANCE hInstance; | |
9800 | HICON hIcon; | |
9801 | HCURSOR hCursor; | |
9802 | HBRUSH hbrBackground; | |
9803 | LPCSTR lpszMenuName; | |
9804 | LPCSTR lpszClassName; | |
9805 | } WNDCLASSA, *PWNDCLASSA, *LPWNDCLASSA; | |
9806 | ||
9807 | typedef struct tagWNDCLASSW | |
9808 | { | |
9809 | UINT style; | |
9810 | WNDPROC lpfnWndProc; | |
9811 | INT cbClsExtra; | |
9812 | INT cbWndExtra; | |
9813 | HINSTANCE hInstance; | |
9814 | HICON hIcon; | |
9815 | HCURSOR hCursor; | |
9816 | HBRUSH hbrBackground; | |
9817 | LPCWSTR lpszMenuName; | |
9818 | LPCWSTR lpszClassName; | |
9819 | } WNDCLASSW, *PWNDCLASSW, *LPWNDCLASSW; | |
9820 | ||
9821 | typedef WNDCLASSA WNDCLASS; | |
9822 | typedef PWNDCLASSA PWNDCLASS; | |
9823 | typedef LPWNDCLASSA LPWNDCLASS; | |
9824 | ||
9825 | typedef struct tagCOPYDATASTRUCT { | |
9826 | ULONG_PTR dwData; | |
9827 | DWORD cbData; | |
9828 | PVOID lpData; | |
9829 | } COPYDATASTRUCT, *PCOPYDATASTRUCT; | |
9830 | ||
9831 | typedef struct tagMDINEXTMENU { | |
9832 | HMENU hmenuIn; | |
9833 | HMENU hmenuNext; | |
9834 | HWND hwndNext; | |
9835 | } MDINEXTMENU, *PMDINEXTMENU, *LPMDINEXTMENU; | |
9836 | ||
9837 | typedef struct tagMULTIKEYHELPA | |
9838 | { | |
9839 | DWORD mkSize; | |
9840 | CHAR mkKeylist; | |
9841 | CHAR szKeyphrase[1]; | |
9842 | } MULTIKEYHELPA, *PMULTIKEYHELPA, *LPMULTIKEYHELPA; | |
9843 | ||
9844 | typedef struct tagMULTIKEYHELPW | |
9845 | { | |
9846 | DWORD mkSize; | |
9847 | WCHAR mkKeylist; | |
9848 | WCHAR szKeyphrase[1]; | |
9849 | } MULTIKEYHELPW, *PMULTIKEYHELPW, *LPMULTIKEYHELPW; | |
9850 | ||
9851 | typedef MULTIKEYHELPA MULTIKEYHELP; | |
9852 | typedef PMULTIKEYHELPA PMULTIKEYHELP; | |
9853 | typedef LPMULTIKEYHELPA LPMULTIKEYHELP; | |
9854 | ||
9855 | typedef struct tagHELPWININFOA { | |
9856 | int wStructSize; | |
9857 | int x; | |
9858 | int y; | |
9859 | int dx; | |
9860 | int dy; | |
9861 | int wMax; | |
9862 | CHAR rgchMember[2]; | |
9863 | } HELPWININFOA, *PHELPWININFOA, *LPHELPWININFOA; | |
9864 | ||
9865 | typedef struct tagHELPWININFOW { | |
9866 | int wStructSize; | |
9867 | int x; | |
9868 | int y; | |
9869 | int dx; | |
9870 | int dy; | |
9871 | int wMax; | |
9872 | WCHAR rgchMember[2]; | |
9873 | } HELPWININFOW, *PHELPWININFOW, *LPHELPWININFOW; | |
9874 | ||
9875 | typedef HELPWININFOA HELPWININFO; | |
9876 | typedef PHELPWININFOA PHELPWININFO; | |
9877 | typedef LPHELPWININFOA LPHELPWININFO; | |
9878 | # 1846 "../../../include/winuser.h" | |
9879 | typedef struct tagWNDCLASSEXA | |
9880 | { | |
9881 | UINT cbSize; | |
9882 | UINT style; | |
9883 | WNDPROC lpfnWndProc; | |
9884 | INT cbClsExtra; | |
9885 | INT cbWndExtra; | |
9886 | HINSTANCE hInstance; | |
9887 | HICON hIcon; | |
9888 | HCURSOR hCursor; | |
9889 | HBRUSH hbrBackground; | |
9890 | LPCSTR lpszMenuName; | |
9891 | LPCSTR lpszClassName; | |
9892 | HICON hIconSm; | |
9893 | } WNDCLASSEXA, *PWNDCLASSEXA, *LPWNDCLASSEXA; | |
9894 | ||
9895 | typedef struct tagWNDCLASSEXW | |
9896 | { | |
9897 | UINT cbSize; | |
9898 | UINT style; | |
9899 | WNDPROC lpfnWndProc; | |
9900 | INT cbClsExtra; | |
9901 | INT cbWndExtra; | |
9902 | HINSTANCE hInstance; | |
9903 | HICON hIcon; | |
9904 | HCURSOR hCursor; | |
9905 | HBRUSH hbrBackground; | |
9906 | LPCWSTR lpszMenuName; | |
9907 | LPCWSTR lpszClassName; | |
9908 | HICON hIconSm; | |
9909 | } WNDCLASSEXW, *PWNDCLASSEXW, *LPWNDCLASSEXW; | |
9910 | ||
9911 | typedef WNDCLASSEXA WNDCLASSEX; | |
9912 | typedef PWNDCLASSEXA PWNDCLASSEX; | |
9913 | typedef LPWNDCLASSEXA LPWNDCLASSEX; | |
9914 | ||
9915 | typedef struct tagMSG | |
9916 | { | |
9917 | HWND hwnd; | |
9918 | UINT message; | |
9919 | WPARAM wParam; | |
9920 | LPARAM lParam; | |
9921 | DWORD time; | |
9922 | POINT pt; | |
9923 | } MSG, *PMSG, *LPMSG; | |
9924 | # 1901 "../../../include/winuser.h" | |
9925 | typedef struct _ICONINFO { | |
9926 | BOOL fIcon; | |
9927 | DWORD xHotspot; | |
9928 | DWORD yHotspot; | |
9929 | HBITMAP hbmMask; | |
9930 | HBITMAP hbmColor; | |
9931 | } ICONINFO, *PICONINFO; | |
9932 | ||
9933 | ||
9934 | typedef struct tagCURSORINFO | |
9935 | { | |
9936 | DWORD cbSize; | |
9937 | DWORD flags; | |
9938 | HCURSOR hCursor; | |
9939 | POINT ptScreenPos; | |
9940 | } CURSORINFO, *PCURSORINFO, *LPCURSORINFO; | |
9941 | ||
9942 | ||
9943 | ||
9944 | ||
9945 | typedef struct tagACCEL | |
9946 | { | |
9947 | ||
9948 | ||
9949 | ||
9950 | ||
9951 | ||
9952 | BYTE fVirt; | |
9953 | WORD key; | |
9954 | WORD cmd; | |
9955 | ||
9956 | } ACCEL, *LPACCEL; | |
9957 | # 1956 "../../../include/winuser.h" | |
9958 | typedef struct tagTPMPARAMS | |
9959 | { | |
9960 | UINT cbSize; | |
9961 | RECT rcExclude; | |
9962 | } TPMPARAMS, *LPTPMPARAMS; | |
9963 | ||
9964 | ||
9965 | ||
9966 | ||
9967 | ||
9968 | typedef struct tagCOMBOBOXINFO | |
9969 | { | |
9970 | DWORD cbSize; | |
9971 | RECT rcItem; | |
9972 | RECT rcButton; | |
9973 | DWORD stateButton; | |
9974 | HWND hwndCombo; | |
9975 | HWND hwndItem; | |
9976 | HWND hwndList; | |
9977 | } COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO; | |
9978 | ||
9979 | typedef struct tagMENUITEMINFOA { | |
9980 | UINT cbSize; | |
9981 | UINT fMask; | |
9982 | UINT fType; | |
9983 | UINT fState; | |
9984 | UINT wID; | |
9985 | HMENU hSubMenu; | |
9986 | HBITMAP hbmpChecked; | |
9987 | HBITMAP hbmpUnchecked; | |
9988 | ULONG_PTR dwItemData; | |
9989 | LPSTR dwTypeData; | |
9990 | UINT cch; | |
9991 | HBITMAP hbmpItem; | |
9992 | } MENUITEMINFOA, *LPMENUITEMINFOA; | |
9993 | ||
9994 | typedef struct tagMENUITEMINFOW { | |
9995 | UINT cbSize; | |
9996 | UINT fMask; | |
9997 | UINT fType; | |
9998 | UINT fState; | |
9999 | UINT wID; | |
10000 | HMENU hSubMenu; | |
10001 | HBITMAP hbmpChecked; | |
10002 | HBITMAP hbmpUnchecked; | |
10003 | ULONG_PTR dwItemData; | |
10004 | LPWSTR dwTypeData; | |
10005 | UINT cch; | |
10006 | HBITMAP hbmpItem; | |
10007 | } MENUITEMINFOW, *LPMENUITEMINFOW; | |
10008 | ||
10009 | typedef MENUITEMINFOA MENUITEMINFO; | |
10010 | typedef LPMENUITEMINFOA LPMENUITEMINFO; | |
10011 | typedef const MENUITEMINFOA *LPCMENUITEMINFOA; | |
10012 | typedef const MENUITEMINFOW *LPCMENUITEMINFOW; | |
10013 | typedef LPCMENUITEMINFOA LPCMENUITEMINFO; | |
10014 | ||
10015 | typedef struct tagMENUBARINFO { | |
10016 | DWORD cbSize; | |
10017 | RECT rcBar; | |
10018 | HMENU hMenu; | |
10019 | HWND hwndMenu; | |
10020 | BOOL fBarFocused:1; | |
10021 | BOOL fFocused:1; | |
10022 | } MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO; | |
10023 | ||
10024 | typedef struct tagMENUINFO { | |
10025 | DWORD cbSize; | |
10026 | DWORD fMask; | |
10027 | DWORD dwStyle; | |
10028 | UINT cyMax; | |
10029 | HBRUSH hbrBack; | |
10030 | DWORD dwContextHelpID; | |
10031 | ULONG_PTR dwMenuData; | |
10032 | } MENUINFO, *LPMENUINFO; | |
10033 | ||
10034 | typedef const MENUINFO *LPCMENUINFO; | |
10035 | # 2048 "../../../include/winuser.h" | |
10036 | typedef struct { | |
10037 | WORD versionNumber; | |
10038 | WORD offset; | |
10039 | } MENUITEMTEMPLATEHEADER, *PMENUITEMTEMPLATEHEADER; | |
10040 | ||
10041 | ||
10042 | typedef struct { | |
10043 | WORD mtOption; | |
10044 | WORD mtID; | |
10045 | WCHAR mtString[1]; | |
10046 | } MENUITEMTEMPLATE, *PMENUITEMTEMPLATE; | |
10047 | ||
10048 | ||
10049 | typedef void MENUTEMPLATE; | |
10050 | typedef PVOID *LPMENUTEMPLATE; | |
10051 | # 2225 "../../../include/winuser.h" | |
10052 | typedef struct tagSCROLLINFO | |
10053 | { | |
10054 | UINT cbSize; | |
10055 | UINT fMask; | |
10056 | INT nMin; | |
10057 | INT nMax; | |
10058 | UINT nPage; | |
10059 | INT nPos; | |
10060 | INT nTrackPos; | |
10061 | } SCROLLINFO, *LPSCROLLINFO; | |
10062 | ||
10063 | typedef const SCROLLINFO *LPCSCROLLINFO; | |
10064 | ||
10065 | ||
10066 | ||
10067 | typedef struct tagSCROLLBARINFO | |
10068 | { | |
10069 | DWORD cbSize; | |
10070 | RECT rcScrollBar; | |
10071 | INT dxyLineButton; | |
10072 | INT xyThumbTop; | |
10073 | INT xyThumbBottom; | |
10074 | INT reserved; | |
10075 | DWORD rgstate[5 +1]; | |
10076 | } SCROLLBARINFO, *PSCROLLBARINFO, *LPSCROLLBARINFO; | |
10077 | # 2459 "../../../include/winuser.h" | |
10078 | typedef struct tagHELPINFO | |
10079 | { | |
10080 | UINT cbSize; | |
10081 | INT iContextType; | |
10082 | INT iCtrlId; | |
10083 | HANDLE hItemHandle; | |
10084 | DWORD_PTR dwContextId; | |
10085 | POINT MousePos; | |
10086 | } HELPINFO,*LPHELPINFO; | |
10087 | ||
10088 | typedef void (__attribute__((__stdcall__)) *MSGBOXCALLBACK)(LPHELPINFO lpHelpInfo); | |
10089 | ||
10090 | typedef struct tagMSGBOXPARAMSA | |
10091 | { | |
10092 | UINT cbSize; | |
10093 | HWND hwndOwner; | |
10094 | HINSTANCE hInstance; | |
10095 | LPCSTR lpszText; | |
10096 | LPCSTR lpszCaption; | |
10097 | DWORD dwStyle; | |
10098 | LPCSTR lpszIcon; | |
10099 | DWORD_PTR dwContextHelpId; | |
10100 | MSGBOXCALLBACK lpfnMsgBoxCallback; | |
10101 | DWORD dwLanguageId; | |
10102 | } MSGBOXPARAMSA, *PMSGBOXPARAMSA, *LPMSGBOXPARAMSA; | |
10103 | ||
10104 | typedef struct tagMSGBOXPARAMSW | |
10105 | { | |
10106 | UINT cbSize; | |
10107 | HWND hwndOwner; | |
10108 | HINSTANCE hInstance; | |
10109 | LPCWSTR lpszText; | |
10110 | LPCWSTR lpszCaption; | |
10111 | DWORD dwStyle; | |
10112 | LPCWSTR lpszIcon; | |
10113 | DWORD_PTR dwContextHelpId; | |
10114 | MSGBOXCALLBACK lpfnMsgBoxCallback; | |
10115 | DWORD dwLanguageId; | |
10116 | } MSGBOXPARAMSW, *PMSGBOXPARAMSW, *LPMSGBOXPARAMSW; | |
10117 | ||
10118 | typedef MSGBOXPARAMSA MSGBOXPARAMS; | |
10119 | typedef PMSGBOXPARAMSA PMSGBOXPARAMS; | |
10120 | typedef LPMSGBOXPARAMSA LPMSGBOXPARAMS; | |
10121 | # 2513 "../../../include/winuser.h" | |
10122 | typedef struct tagMONITORINFO | |
10123 | { | |
10124 | DWORD cbSize; | |
10125 | RECT rcMonitor; | |
10126 | RECT rcWork; | |
10127 | DWORD dwFlags; | |
10128 | } MONITORINFO, *LPMONITORINFO; | |
10129 | ||
10130 | typedef struct tagMONITORINFOEXA | |
10131 | { | |
10132 | DWORD cbSize; | |
10133 | RECT rcMonitor; | |
10134 | RECT rcWork; | |
10135 | DWORD dwFlags; | |
10136 | CHAR szDevice[32]; | |
10137 | } MONITORINFOEXA, *LPMONITORINFOEXA; | |
10138 | ||
10139 | typedef struct tagMONITORINFOEXW | |
10140 | { | |
10141 | DWORD cbSize; | |
10142 | RECT rcMonitor; | |
10143 | RECT rcWork; | |
10144 | DWORD dwFlags; | |
10145 | WCHAR szDevice[32]; | |
10146 | } MONITORINFOEXW, *LPMONITORINFOEXW; | |
10147 | ||
10148 | typedef MONITORINFOEXA MONITORINFOEX; | |
10149 | typedef LPMONITORINFOEXA LPMONITORINFOEX; | |
10150 | ||
10151 | typedef BOOL (__attribute__((__stdcall__)) *MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM); | |
10152 | ||
10153 | # 1 "../../../include/pshpack2.h" 1 | |
10154 | # 105 "../../../include/pshpack2.h" | |
10155 | #pragma pack(2) | |
10156 | # 2545 "../../../include/winuser.h" 2 | |
10157 | ||
10158 | typedef struct tagDLGTEMPLATE | |
10159 | { | |
10160 | DWORD style; | |
10161 | DWORD dwExtendedStyle; | |
10162 | WORD cdit; | |
10163 | short x; | |
10164 | short y; | |
10165 | short cx; | |
10166 | short cy; | |
10167 | } DLGTEMPLATE; | |
10168 | ||
10169 | typedef DLGTEMPLATE *LPDLGTEMPLATEA; | |
10170 | typedef DLGTEMPLATE *LPDLGTEMPLATEW; | |
10171 | typedef LPDLGTEMPLATEA LPDLGTEMPLATE; | |
10172 | typedef const DLGTEMPLATE *LPCDLGTEMPLATEA; | |
10173 | typedef const DLGTEMPLATE *LPCDLGTEMPLATEW; | |
10174 | typedef LPCDLGTEMPLATEA LPCDLGTEMPLATE; | |
10175 | ||
10176 | typedef struct tagDLGITEMTEMPLATE | |
10177 | { | |
10178 | DWORD style; | |
10179 | DWORD dwExtendedStyle; | |
10180 | short x; | |
10181 | short y; | |
10182 | short cx; | |
10183 | short cy; | |
10184 | WORD id; | |
10185 | } DLGITEMTEMPLATE; | |
10186 | ||
10187 | typedef DLGITEMTEMPLATE *PDLGITEMTEMPLATEA; | |
10188 | typedef DLGITEMTEMPLATE *PDLGITEMTEMPLATEW; | |
10189 | typedef PDLGITEMTEMPLATEA PDLGITEMTEMPLATE; | |
10190 | typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEA; | |
10191 | typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEW; | |
10192 | typedef LPDLGITEMTEMPLATEA LPDLGITEMTEMPLATE; | |
10193 | ||
10194 | # 1 "../../../include/poppack.h" 1 | |
10195 | # 253 "../../../include/poppack.h" | |
10196 | #pragma pack() | |
10197 | # 2583 "../../../include/winuser.h" 2 | |
10198 | # 2598 "../../../include/winuser.h" | |
10199 | typedef struct tagCBT_CREATEWNDA | |
10200 | { | |
10201 | CREATESTRUCTA *lpcs; | |
10202 | HWND hwndInsertAfter; | |
10203 | } CBT_CREATEWNDA, *LPCBT_CREATEWNDA; | |
10204 | ||
10205 | typedef struct tagCBT_CREATEWNDW | |
10206 | { | |
10207 | CREATESTRUCTW *lpcs; | |
10208 | HWND hwndInsertAfter; | |
10209 | } CBT_CREATEWNDW, *LPCBT_CREATEWNDW; | |
10210 | ||
10211 | typedef CBT_CREATEWNDA CBT_CREATEWND; | |
10212 | typedef LPCBT_CREATEWNDA LPCBT_CREATEWND; | |
10213 | ||
10214 | typedef struct tagCBTACTIVATESTRUCT | |
10215 | { | |
10216 | BOOL fMouse; | |
10217 | HWND hWndActive; | |
10218 | } CBTACTIVATESTRUCT, *LPCBTACTIVATESTRUCT; | |
10219 | # 2889 "../../../include/winuser.h" | |
10220 | typedef struct tagNONCLIENTMETRICSA { | |
10221 | UINT cbSize; | |
10222 | INT iBorderWidth; | |
10223 | INT iScrollWidth; | |
10224 | INT iScrollHeight; | |
10225 | INT iCaptionWidth; | |
10226 | INT iCaptionHeight; | |
10227 | LOGFONTA lfCaptionFont; | |
10228 | INT iSmCaptionWidth; | |
10229 | INT iSmCaptionHeight; | |
10230 | LOGFONTA lfSmCaptionFont; | |
10231 | INT iMenuWidth; | |
10232 | INT iMenuHeight; | |
10233 | LOGFONTA lfMenuFont; | |
10234 | LOGFONTA lfStatusFont; | |
10235 | LOGFONTA lfMessageFont; | |
10236 | } NONCLIENTMETRICSA, *PNONCLIENTMETRICSA, *LPNONCLIENTMETRICSA; | |
10237 | ||
10238 | typedef struct tagNONCLIENTMETRICSW { | |
10239 | UINT cbSize; | |
10240 | INT iBorderWidth; | |
10241 | INT iScrollWidth; | |
10242 | INT iScrollHeight; | |
10243 | INT iCaptionWidth; | |
10244 | INT iCaptionHeight; | |
10245 | LOGFONTW lfCaptionFont; | |
10246 | INT iSmCaptionWidth; | |
10247 | INT iSmCaptionHeight; | |
10248 | LOGFONTW lfSmCaptionFont; | |
10249 | INT iMenuWidth; | |
10250 | INT iMenuHeight; | |
10251 | LOGFONTW lfMenuFont; | |
10252 | LOGFONTW lfStatusFont; | |
10253 | LOGFONTW lfMessageFont; | |
10254 | } NONCLIENTMETRICSW, *PNONCLIENTMETRICSW, *LPNONCLIENTMETRICSW; | |
10255 | ||
10256 | typedef NONCLIENTMETRICSA NONCLIENTMETRICS; | |
10257 | typedef PNONCLIENTMETRICSA PNONCLIENTMETRICS; | |
10258 | typedef LPNONCLIENTMETRICSA LPNONCLIENTMETRICS; | |
10259 | ||
10260 | typedef struct tagICONMETRICSA { | |
10261 | UINT cbSize; | |
10262 | int iHorzSpacing; | |
10263 | int iVertSpacing; | |
10264 | int iTitleWrap; | |
10265 | LOGFONTA lfFont; | |
10266 | } ICONMETRICSA, *PICONMETRICSA, *LPICONMETRICSA; | |
10267 | ||
10268 | typedef struct tagICONMETRICSW { | |
10269 | UINT cbSize; | |
10270 | int iHorzSpacing; | |
10271 | int iVertSpacing; | |
10272 | int iTitleWrap; | |
10273 | LOGFONTW lfFont; | |
10274 | } ICONMETRICSW, *PICONMETRICSW, *LPICONMETRICSW; | |
10275 | ||
10276 | typedef ICONMETRICSA ICONMETRICS; | |
10277 | typedef PICONMETRICSA PICONMETRICS; | |
10278 | typedef LPICONMETRICSA LPICONMETRICS; | |
10279 | ||
10280 | typedef struct tagUPDATELAYEREDWINDOWINFO | |
10281 | { | |
10282 | DWORD cbSize; | |
10283 | HDC hdcDst; | |
10284 | POINT const* pptDst; | |
10285 | SIZE const* psize; | |
10286 | HDC hdcSrc; | |
10287 | POINT const* pptSrc; | |
10288 | COLORREF crKey; | |
10289 | BLENDFUNCTION const* pblend; | |
10290 | DWORD dwFlags; | |
10291 | RECT const* prcDirty; | |
10292 | } UPDATELAYEREDWINDOWINFO, *PUPDATELAYEREDWINDOWINFO; | |
10293 | # 2979 "../../../include/winuser.h" | |
10294 | typedef struct tagMINIMIZEDMETRICS { | |
10295 | UINT cbSize; | |
10296 | int iWidth; | |
10297 | int iHorzGap; | |
10298 | int iVertGap; | |
10299 | int iArrange; | |
10300 | } MINIMIZEDMETRICS, *PMINIMIZEDMETRICS, *LPMINIMIZEDMETRICS; | |
10301 | # 3091 "../../../include/winuser.h" | |
10302 | typedef struct { | |
10303 | UINT cbSize; | |
10304 | HWND hwnd; | |
10305 | DWORD dwFlags; | |
10306 | UINT uCount; | |
10307 | DWORD dwTimeout; | |
10308 | } FLASHWINFO, *PFLASHWINFO; | |
10309 | # 3396 "../../../include/winuser.h" | |
10310 | typedef struct tagDRAWITEMSTRUCT | |
10311 | { | |
10312 | UINT CtlType; | |
10313 | UINT CtlID; | |
10314 | UINT itemID; | |
10315 | UINT itemAction; | |
10316 | UINT itemState; | |
10317 | HWND hwndItem; | |
10318 | HDC hDC; | |
10319 | RECT rcItem; | |
10320 | ULONG_PTR itemData; | |
10321 | } DRAWITEMSTRUCT, *PDRAWITEMSTRUCT, *LPDRAWITEMSTRUCT; | |
10322 | ||
10323 | ||
10324 | typedef struct tagMEASUREITEMSTRUCT | |
10325 | { | |
10326 | UINT CtlType; | |
10327 | UINT CtlID; | |
10328 | UINT itemID; | |
10329 | UINT itemWidth; | |
10330 | UINT itemHeight; | |
10331 | ULONG_PTR itemData; | |
10332 | } MEASUREITEMSTRUCT, *PMEASUREITEMSTRUCT, *LPMEASUREITEMSTRUCT; | |
10333 | ||
10334 | ||
10335 | typedef struct tagDELETEITEMSTRUCT | |
10336 | { | |
10337 | UINT CtlType; | |
10338 | UINT CtlID; | |
10339 | UINT itemID; | |
10340 | HWND hwndItem; | |
10341 | ULONG_PTR itemData; | |
10342 | } DELETEITEMSTRUCT, *PDELETEITEMSTRUCT, *LPDELETEITEMSTRUCT; | |
10343 | ||
10344 | ||
10345 | typedef struct tagCOMPAREITEMSTRUCT | |
10346 | { | |
10347 | UINT CtlType; | |
10348 | UINT CtlID; | |
10349 | HWND hwndItem; | |
10350 | UINT itemID1; | |
10351 | ULONG_PTR itemData1; | |
10352 | UINT itemID2; | |
10353 | ULONG_PTR itemData2; | |
10354 | DWORD dwLocaleId; | |
10355 | } COMPAREITEMSTRUCT, *PCOMPAREITEMSTRUCT, *LPCOMPAREITEMSTRUCT; | |
10356 | # 3631 "../../../include/winuser.h" | |
10357 | typedef struct tagTRACKMOUSEEVENT { | |
10358 | DWORD cbSize; | |
10359 | DWORD dwFlags; | |
10360 | HWND hwndTrack; | |
10361 | DWORD dwHoverTime; | |
10362 | } TRACKMOUSEEVENT, *LPTRACKMOUSEEVENT; | |
10363 | # 3750 "../../../include/winuser.h" | |
10364 | typedef PVOID HDEVNOTIFY; | |
10365 | typedef HDEVNOTIFY *PHDEVNOTIFY; | |
10366 | ||
10367 | ||
10368 | ||
10369 | ||
10370 | ||
10371 | ||
10372 | ||
10373 | typedef struct tagWINDOWINFO { | |
10374 | DWORD cbSize; | |
10375 | RECT rcWindow; | |
10376 | RECT rcClient; | |
10377 | DWORD dwStyle; | |
10378 | DWORD dwExStyle; | |
10379 | DWORD dwWindowStatus; | |
10380 | UINT cxWindowBorders; | |
10381 | UINT cyWindowBorders; | |
10382 | ATOM atomWindowType; | |
10383 | WORD wCreatorVersion; | |
10384 | } WINDOWINFO, *PWINDOWINFO, *LPWINDOWINFO; | |
10385 | ||
10386 | ||
10387 | ||
10388 | ||
10389 | ||
10390 | typedef struct tagTITLEBARINFO { | |
10391 | DWORD cbSize; | |
10392 | RECT rcTitleBar; | |
10393 | DWORD rgstate[5 +1]; | |
10394 | } TITLEBARINFO, *PTITLEBARINFO, *LPTITLEBARINFO; | |
10395 | ||
10396 | ||
10397 | typedef struct tagLASTINPUTINFO { | |
10398 | UINT cbSize; | |
10399 | DWORD dwTime; | |
10400 | } LASTINPUTINFO, *PLASTINPUTINFO; | |
10401 | ||
10402 | ||
10403 | typedef struct | |
10404 | { | |
10405 | DWORD cbSize; | |
10406 | INT cItems; | |
10407 | INT cColumns; | |
10408 | INT cRows; | |
10409 | INT iColFocus; | |
10410 | INT iRowFocus; | |
10411 | INT cxItem; | |
10412 | INT cyItem; | |
10413 | POINT ptStart; | |
10414 | } ALTTABINFO, *PALTTABINFO, *LPALTTABINFO; | |
10415 | # 3971 "../../../include/winuser.h" | |
10416 | LONG __attribute__((__stdcall__)) ChangeDisplaySettingsA(LPDEVMODEA,DWORD); | |
10417 | LONG __attribute__((__stdcall__)) ChangeDisplaySettingsW(LPDEVMODEW,DWORD); | |
10418 | ||
10419 | LONG __attribute__((__stdcall__)) ChangeDisplaySettingsExA(LPCSTR,LPDEVMODEA,HWND,DWORD,LPVOID); | |
10420 | LONG __attribute__((__stdcall__)) ChangeDisplaySettingsExW(LPCWSTR,LPDEVMODEW,HWND,DWORD,LPVOID); | |
10421 | ||
10422 | HDESK __attribute__((__stdcall__)) CreateDesktopA(LPCSTR,LPCSTR,LPDEVMODEA,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); | |
10423 | HDESK __attribute__((__stdcall__)) CreateDesktopW(LPCWSTR,LPCWSTR,LPDEVMODEW,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); | |
10424 | ||
10425 | BOOL __attribute__((__stdcall__)) EnumDisplayDevicesA(LPCSTR,DWORD,LPDISPLAY_DEVICEA,DWORD); | |
10426 | BOOL __attribute__((__stdcall__)) EnumDisplayDevicesW(LPCWSTR,DWORD,LPDISPLAY_DEVICEW,DWORD); | |
10427 | ||
10428 | BOOL __attribute__((__stdcall__)) EnumDisplaySettingsA(LPCSTR,DWORD,LPDEVMODEA); | |
10429 | BOOL __attribute__((__stdcall__)) EnumDisplaySettingsW(LPCWSTR,DWORD,LPDEVMODEW); | |
10430 | ||
10431 | BOOL __attribute__((__stdcall__)) EnumDisplaySettingsExA(LPCSTR,DWORD,LPDEVMODEA,DWORD); | |
10432 | BOOL __attribute__((__stdcall__)) EnumDisplaySettingsExW(LPCWSTR,DWORD,LPDEVMODEW,DWORD); | |
10433 | ||
10434 | BOOL __attribute__((__stdcall__)) UpdateLayeredWindow(HWND,HDC,POINT*,SIZE*,HDC,POINT*,COLORREF,BLENDFUNCTION*,DWORD); | |
10435 | BOOL __attribute__((__stdcall__)) UpdateLayeredWindowIndirect(HWND,UPDATELAYEREDWINDOWINFO const*); | |
10436 | ||
10437 | ||
10438 | HKL __attribute__((__stdcall__)) ActivateKeyboardLayout(HKL,UINT); | |
10439 | WORD __attribute__((__stdcall__)) CascadeWindows(HWND, UINT, const LPRECT, UINT, const HWND *); | |
10440 | INT __attribute__((__stdcall__)) CopyAcceleratorTableA(HACCEL,LPACCEL,INT); | |
10441 | INT __attribute__((__stdcall__)) CopyAcceleratorTableW(HACCEL,LPACCEL,INT); | |
10442 | ||
10443 | HACCEL __attribute__((__stdcall__)) CreateAcceleratorTableA(LPACCEL,INT); | |
10444 | HACCEL __attribute__((__stdcall__)) CreateAcceleratorTableW(LPACCEL,INT); | |
10445 | ||
10446 | HICON __attribute__((__stdcall__)) CreateIconIndirect(PICONINFO); | |
10447 | BOOL __attribute__((__stdcall__)) DestroyAcceleratorTable(HACCEL); | |
10448 | BOOL __attribute__((__stdcall__)) EnumDesktopsA(HWINSTA,DESKTOPENUMPROCA,LPARAM); | |
10449 | BOOL __attribute__((__stdcall__)) EnumDesktopsW(HWINSTA,DESKTOPENUMPROCW,LPARAM); | |
10450 | ||
10451 | BOOL __attribute__((__stdcall__)) EnumDisplayMonitors(HDC,LPRECT,MONITORENUMPROC,LPARAM); | |
10452 | INT __attribute__((__stdcall__)) EnumPropsExA(HWND,PROPENUMPROCEXA,LPARAM); | |
10453 | INT __attribute__((__stdcall__)) EnumPropsExW(HWND,PROPENUMPROCEXW,LPARAM); | |
10454 | ||
10455 | BOOL __attribute__((__stdcall__)) EnumThreadWindows(DWORD,WNDENUMPROC,LPARAM); | |
10456 | BOOL __attribute__((__stdcall__)) ExitWindowsEx(UINT,DWORD); | |
10457 | BOOL __attribute__((__stdcall__)) GetAltTabInfoA(HWND,INT,PALTTABINFO,LPSTR,UINT); | |
10458 | BOOL __attribute__((__stdcall__)) GetAltTabInfoW(HWND,INT,PALTTABINFO,LPWSTR,UINT); | |
10459 | ||
10460 | BOOL __attribute__((__stdcall__)) GetIconInfo(HICON,PICONINFO); | |
10461 | HKL __attribute__((__stdcall__)) GetKeyboardLayout(DWORD); | |
10462 | UINT __attribute__((__stdcall__)) GetKeyboardLayoutList(INT,HKL *); | |
10463 | BOOL __attribute__((__stdcall__)) GetComboBoxInfo(HWND,PCOMBOBOXINFO); | |
10464 | BOOL __attribute__((__stdcall__)) GetMenuBarInfo(HWND,LONG,LONG,PMENUBARINFO); | |
10465 | DWORD __attribute__((__stdcall__)) GetMenuContextHelpId(HMENU); | |
10466 | UINT __attribute__((__stdcall__)) GetMenuDefaultItem(HMENU,UINT,UINT); | |
10467 | BOOL __attribute__((__stdcall__)) GetMenuInfo(HMENU,LPMENUINFO); | |
10468 | BOOL __attribute__((__stdcall__)) GetMenuItemInfoA(HMENU,UINT,BOOL,MENUITEMINFOA*); | |
10469 | BOOL __attribute__((__stdcall__)) GetMenuItemInfoW(HMENU,UINT,BOOL,MENUITEMINFOW*); | |
10470 | ||
10471 | BOOL __attribute__((__stdcall__)) GetMonitorInfoA(HMONITOR,LPMONITORINFO); | |
10472 | BOOL __attribute__((__stdcall__)) GetMonitorInfoW(HMONITOR,LPMONITORINFO); | |
10473 | ||
10474 | DWORD __attribute__((__stdcall__)) GetWindowContextHelpId(HWND); | |
10475 | DWORD __attribute__((__stdcall__)) GetWindowThreadProcessId(HWND,LPDWORD); | |
10476 | BOOL __attribute__((__stdcall__)) IsWinEventHookInstalled(DWORD); | |
10477 | BOOL __attribute__((__stdcall__)) IsWindowUnicode(HWND); | |
10478 | HKL __attribute__((__stdcall__)) LoadKeyboardLayoutA(LPCSTR,UINT); | |
10479 | HKL __attribute__((__stdcall__)) LoadKeyboardLayoutW(LPCWSTR,UINT); | |
10480 | ||
10481 | INT __attribute__((__stdcall__)) MessageBoxExA(HWND,LPCSTR,LPCSTR,UINT,WORD); | |
10482 | INT __attribute__((__stdcall__)) MessageBoxExW(HWND,LPCWSTR,LPCWSTR,UINT,WORD); | |
10483 | ||
10484 | HMONITOR __attribute__((__stdcall__)) MonitorFromPoint(POINT,DWORD); | |
10485 | HMONITOR __attribute__((__stdcall__)) MonitorFromRect(LPRECT,DWORD); | |
10486 | HMONITOR __attribute__((__stdcall__)) MonitorFromWindow(HWND,DWORD); | |
10487 | DWORD __attribute__((__stdcall__)) MsgWaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD,DWORD); | |
10488 | DWORD __attribute__((__stdcall__)) MsgWaitForMultipleObjectsEx(DWORD,const HANDLE*,DWORD,DWORD,DWORD); | |
10489 | void __attribute__((__stdcall__)) NotifyWinEvent(DWORD,HWND,LONG,LONG); | |
10490 | BOOL __attribute__((__stdcall__)) PaintDesktop(HDC); | |
10491 | BOOL __attribute__((__stdcall__)) PostThreadMessageA(DWORD,UINT,WPARAM,LPARAM); | |
10492 | BOOL __attribute__((__stdcall__)) PostThreadMessageW(DWORD,UINT,WPARAM,LPARAM); | |
10493 | ||
10494 | BOOL __attribute__((__stdcall__)) RegisterHotKey(HWND,INT,UINT,UINT); | |
10495 | HDEVNOTIFY __attribute__((__stdcall__)) RegisterDeviceNotificationA(HANDLE,LPVOID,DWORD); | |
10496 | HDEVNOTIFY __attribute__((__stdcall__)) RegisterDeviceNotificationW(HANDLE,LPVOID,DWORD); | |
10497 | ||
10498 | BOOL __attribute__((__stdcall__)) SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,ULONG_PTR); | |
10499 | BOOL __attribute__((__stdcall__)) SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,ULONG_PTR); | |
10500 | ||
10501 | BOOL __attribute__((__stdcall__)) SendNotifyMessageA(HWND,UINT,WPARAM,LPARAM); | |
10502 | BOOL __attribute__((__stdcall__)) SendNotifyMessageW(HWND,UINT,WPARAM,LPARAM); | |
10503 | ||
10504 | void __attribute__((__stdcall__)) SetDebugErrorLevel(DWORD); | |
10505 | void __attribute__((__stdcall__)) SetLastErrorEx(DWORD,DWORD); | |
10506 | BOOL __attribute__((__stdcall__)) SetMenuDefaultItem(HMENU,UINT,UINT); | |
10507 | BOOL __attribute__((__stdcall__)) SetMenuInfo(HMENU,LPCMENUINFO); | |
10508 | BOOL __attribute__((__stdcall__)) SetMenuItemInfoA(HMENU,UINT,BOOL,const MENUITEMINFOA*); | |
10509 | BOOL __attribute__((__stdcall__)) SetMenuItemInfoW(HMENU,UINT,BOOL,const MENUITEMINFOW*); | |
10510 | ||
10511 | BOOL __attribute__((__stdcall__)) SetWindowContextHelpId(HWND,DWORD); | |
10512 | HWINEVENTHOOK __attribute__((__stdcall__)) SetWinEventHook(DWORD,DWORD,HMODULE,WINEVENTPROC,DWORD,DWORD,DWORD); | |
10513 | WORD __attribute__((__stdcall__)) TileWindows (HWND, UINT, const LPRECT, | |
10514 | UINT, const HWND *); | |
10515 | INT __attribute__((__stdcall__)) ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT); | |
10516 | INT __attribute__((__stdcall__)) ToUnicodeEx(UINT,UINT,LPBYTE,LPWSTR,int,UINT,HKL); | |
10517 | BOOL __attribute__((__stdcall__)) TrackPopupMenuEx(HMENU,UINT,INT,INT,HWND, | |
10518 | LPTPMPARAMS); | |
10519 | BOOL __attribute__((__stdcall__)) UnhookWinEvent(HWINEVENTHOOK); | |
10520 | BOOL __attribute__((__stdcall__)) UnloadKeyboardLayout(HKL); | |
10521 | BOOL __attribute__((__stdcall__)) UnregisterDeviceNotification(HDEVNOTIFY); | |
10522 | BOOL __attribute__((__stdcall__)) UnregisterHotKey(HWND,INT); | |
10523 | DWORD __attribute__((__stdcall__)) WaitForInputIdle(HANDLE,DWORD); | |
10524 | void __attribute__((__stdcall__)) keybd_event(BYTE,BYTE,DWORD,ULONG_PTR); | |
10525 | void __attribute__((__stdcall__)) mouse_event(DWORD,DWORD,DWORD,DWORD,ULONG_PTR); | |
10526 | ||
10527 | ||
10528 | void __attribute__((__stdcall__)) EndMenu(void); | |
10529 | DWORD __attribute__((__stdcall__)) GetDialogBaseUnits(void); | |
10530 | BOOL __attribute__((__stdcall__)) GetKeyboardState(LPBYTE); | |
10531 | DWORD __attribute__((__stdcall__)) GetMenuCheckMarkDimensions(void); | |
10532 | LPARAM __attribute__((__stdcall__)) GetMessageExtraInfo(void); | |
10533 | DWORD __attribute__((__stdcall__)) GetMessagePos(void); | |
10534 | LONG __attribute__((__stdcall__)) GetMessageTime(void); | |
10535 | DWORD __attribute__((__stdcall__)) OemKeyScan(WORD); | |
10536 | BOOL __attribute__((__stdcall__)) ReleaseCapture(void); | |
10537 | BOOL __attribute__((__stdcall__)) SetKeyboardState(LPBYTE); | |
10538 | ||
10539 | ||
10540 | ||
10541 | BOOL __attribute__((__stdcall__)) AdjustWindowRect(LPRECT,DWORD,BOOL); | |
10542 | BOOL __attribute__((__stdcall__)) AdjustWindowRectEx(LPRECT,DWORD,BOOL,DWORD); | |
10543 | BOOL __attribute__((__stdcall__)) AllowSetForegroundWindow(DWORD); | |
10544 | BOOL __attribute__((__stdcall__)) AnimateWindow(HWND,DWORD,DWORD); | |
10545 | # 4118 "../../../include/winuser.h" | |
10546 | BOOL __attribute__((__stdcall__)) AnyPopup(void); | |
10547 | BOOL __attribute__((__stdcall__)) AppendMenuA(HMENU,UINT,UINT_PTR,LPCSTR); | |
10548 | BOOL __attribute__((__stdcall__)) AppendMenuW(HMENU,UINT,UINT_PTR,LPCWSTR); | |
10549 | ||
10550 | UINT __attribute__((__stdcall__)) ArrangeIconicWindows(HWND); | |
10551 | HDWP __attribute__((__stdcall__)) BeginDeferWindowPos(INT); | |
10552 | HDC __attribute__((__stdcall__)) BeginPaint(HWND,LPPAINTSTRUCT); | |
10553 | BOOL __attribute__((__stdcall__)) BringWindowToTop(HWND); | |
10554 | LONG __attribute__((__stdcall__)) BroadcastSystemMessageA(DWORD,LPDWORD,UINT,WPARAM,LPARAM); | |
10555 | LONG __attribute__((__stdcall__)) BroadcastSystemMessageW(DWORD,LPDWORD,UINT,WPARAM,LPARAM); | |
10556 | ||
10557 | void __attribute__((__stdcall__)) CalcChildScroll(HWND, INT); | |
10558 | BOOL __attribute__((__stdcall__)) CallMsgFilterA(LPMSG,INT); | |
10559 | BOOL __attribute__((__stdcall__)) CallMsgFilterW(LPMSG,INT); | |
10560 | ||
10561 | LRESULT __attribute__((__stdcall__)) CallNextHookEx(HHOOK,INT,WPARAM,LPARAM); | |
10562 | LRESULT __attribute__((__stdcall__)) CallWindowProcA(WNDPROC,HWND,UINT,WPARAM,LPARAM); | |
10563 | LRESULT __attribute__((__stdcall__)) CallWindowProcW(WNDPROC,HWND,UINT,WPARAM,LPARAM); | |
10564 | ||
10565 | BOOL __attribute__((__stdcall__)) ChangeClipboardChain(HWND,HWND); | |
10566 | BOOL __attribute__((__stdcall__)) ChangeMenuA(HMENU,UINT,LPCSTR,UINT,UINT); | |
10567 | BOOL __attribute__((__stdcall__)) ChangeMenuW(HMENU,UINT,LPCWSTR,UINT,UINT); | |
10568 | ||
10569 | LPSTR __attribute__((__stdcall__)) CharLowerA(LPSTR); | |
10570 | LPWSTR __attribute__((__stdcall__)) CharLowerW(LPWSTR); | |
10571 | ||
10572 | DWORD __attribute__((__stdcall__)) CharLowerBuffA(LPSTR,DWORD); | |
10573 | DWORD __attribute__((__stdcall__)) CharLowerBuffW(LPWSTR,DWORD); | |
10574 | ||
10575 | LPSTR __attribute__((__stdcall__)) CharNextA(LPCSTR); | |
10576 | LPWSTR __attribute__((__stdcall__)) CharNextW(LPCWSTR); | |
10577 | ||
10578 | LPSTR __attribute__((__stdcall__)) CharNextExA(WORD,LPCSTR,DWORD); | |
10579 | ||
10580 | LPSTR __attribute__((__stdcall__)) CharPrevA(LPCSTR,LPCSTR); | |
10581 | LPWSTR __attribute__((__stdcall__)) CharPrevW(LPCWSTR,LPCWSTR); | |
10582 | ||
10583 | LPSTR __attribute__((__stdcall__)) CharPrevExA(WORD,LPCSTR,LPCSTR,DWORD); | |
10584 | ||
10585 | LPSTR __attribute__((__stdcall__)) CharUpperA(LPSTR); | |
10586 | LPWSTR __attribute__((__stdcall__)) CharUpperW(LPWSTR); | |
10587 | ||
10588 | DWORD __attribute__((__stdcall__)) CharUpperBuffA(LPSTR,DWORD); | |
10589 | DWORD __attribute__((__stdcall__)) CharUpperBuffW(LPWSTR,DWORD); | |
10590 | ||
10591 | BOOL __attribute__((__stdcall__)) CharToOemA(LPCSTR,LPSTR); | |
10592 | BOOL __attribute__((__stdcall__)) CharToOemW(LPCWSTR,LPSTR); | |
10593 | ||
10594 | BOOL __attribute__((__stdcall__)) CharToOemBuffA(LPCSTR,LPSTR,DWORD); | |
10595 | BOOL __attribute__((__stdcall__)) CharToOemBuffW(LPCWSTR,LPSTR,DWORD); | |
10596 | ||
10597 | BOOL __attribute__((__stdcall__)) CheckDlgButton(HWND,INT,UINT); | |
10598 | DWORD __attribute__((__stdcall__)) CheckMenuItem(HMENU,UINT,UINT); | |
10599 | BOOL __attribute__((__stdcall__)) CheckMenuRadioItem(HMENU,UINT,UINT,UINT,UINT); | |
10600 | BOOL __attribute__((__stdcall__)) CheckRadioButton(HWND,int,int,int); | |
10601 | HWND __attribute__((__stdcall__)) ChildWindowFromPoint(HWND,POINT); | |
10602 | HWND __attribute__((__stdcall__)) ChildWindowFromPointEx(HWND,POINT,UINT); | |
10603 | BOOL __attribute__((__stdcall__)) ClientToScreen(HWND,LPPOINT); | |
10604 | BOOL __attribute__((__stdcall__)) ClipCursor(const RECT*); | |
10605 | BOOL __attribute__((__stdcall__)) CloseClipboard(void); | |
10606 | BOOL __attribute__((__stdcall__)) CloseDesktop(HDESK); | |
10607 | BOOL __attribute__((__stdcall__)) CloseWindow(HWND); | |
10608 | BOOL __attribute__((__stdcall__)) CloseWindowStation(HWINSTA); | |
10609 | ||
10610 | HICON __attribute__((__stdcall__)) CopyIcon(HICON); | |
10611 | HICON __attribute__((__stdcall__)) CopyImage(HANDLE,UINT,INT,INT,UINT); | |
10612 | BOOL __attribute__((__stdcall__)) CopyRect(RECT*,const RECT*); | |
10613 | INT __attribute__((__stdcall__)) CountClipboardFormats(void); | |
10614 | BOOL __attribute__((__stdcall__)) CreateCaret(HWND,HBITMAP,INT,INT); | |
10615 | HCURSOR __attribute__((__stdcall__)) CreateCursor(HINSTANCE,INT,INT,INT,INT,LPCVOID,LPCVOID); | |
10616 | # 4198 "../../../include/winuser.h" | |
10617 | HWND __attribute__((__stdcall__)) CreateDialogIndirectParamA(HINSTANCE,LPCDLGTEMPLATEA,HWND, | |
10618 | DLGPROC,LPARAM); | |
10619 | HWND __attribute__((__stdcall__)) CreateDialogIndirectParamW(HINSTANCE,LPCDLGTEMPLATEW,HWND, | |
10620 | DLGPROC,LPARAM); | |
10621 | ||
10622 | HWND __attribute__((__stdcall__)) CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); | |
10623 | HWND __attribute__((__stdcall__)) CreateDialogParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); | |
10624 | ||
10625 | HICON __attribute__((__stdcall__)) CreateIcon(HINSTANCE,INT,INT,BYTE,BYTE,LPCVOID,LPCVOID); | |
10626 | HICON __attribute__((__stdcall__)) CreateIconFromResource(LPBYTE,UINT,BOOL,DWORD); | |
10627 | HICON __attribute__((__stdcall__)) CreateIconFromResourceEx(LPBYTE,UINT,BOOL,DWORD,INT,INT,UINT); | |
10628 | HMENU __attribute__((__stdcall__)) CreateMenu(void); | |
10629 | HMENU __attribute__((__stdcall__)) CreatePopupMenu(void); | |
10630 | # 4220 "../../../include/winuser.h" | |
10631 | HWND __attribute__((__stdcall__)) CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,INT,INT, | |
10632 | INT,INT,HWND,HMENU,HINSTANCE,LPVOID); | |
10633 | HWND __attribute__((__stdcall__)) CreateWindowExW(DWORD,LPCWSTR,LPCWSTR,DWORD,INT,INT, | |
10634 | INT,INT,HWND,HMENU,HINSTANCE,LPVOID); | |
10635 | ||
10636 | HWINSTA __attribute__((__stdcall__)) CreateWindowStationA(LPCSTR,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); | |
10637 | HWINSTA __attribute__((__stdcall__)) CreateWindowStationW(LPCWSTR,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); | |
10638 | ||
10639 | HWND __attribute__((__stdcall__)) CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT, | |
10640 | INT,INT,HWND,HINSTANCE,LPARAM); | |
10641 | HWND __attribute__((__stdcall__)) CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT, | |
10642 | INT,INT,HWND,HINSTANCE,LPARAM); | |
10643 | ||
10644 | LRESULT __attribute__((__stdcall__)) DefDlgProcA(HWND,UINT,WPARAM,LPARAM); | |
10645 | LRESULT __attribute__((__stdcall__)) DefDlgProcW(HWND,UINT,WPARAM,LPARAM); | |
10646 | ||
10647 | HDWP __attribute__((__stdcall__)) DeferWindowPos(HDWP,HWND,HWND,INT,INT,INT,INT,UINT); | |
10648 | LRESULT __attribute__((__stdcall__)) DefFrameProcA(HWND,HWND,UINT,WPARAM,LPARAM); | |
10649 | LRESULT __attribute__((__stdcall__)) DefFrameProcW(HWND,HWND,UINT,WPARAM,LPARAM); | |
10650 | ||
10651 | ||
10652 | ||
10653 | LRESULT __attribute__((__stdcall__)) DefMDIChildProcA(HWND,UINT,WPARAM,LPARAM); | |
10654 | LRESULT __attribute__((__stdcall__)) DefMDIChildProcW(HWND,UINT,WPARAM,LPARAM); | |
10655 | ||
10656 | LRESULT __attribute__((__stdcall__)) DefWindowProcA(HWND,UINT,WPARAM,LPARAM); | |
10657 | LRESULT __attribute__((__stdcall__)) DefWindowProcW(HWND,UINT,WPARAM,LPARAM); | |
10658 | ||
10659 | BOOL __attribute__((__stdcall__)) DeleteMenu(HMENU,UINT,UINT); | |
10660 | BOOL __attribute__((__stdcall__)) DestroyCaret(void); | |
10661 | BOOL __attribute__((__stdcall__)) DestroyCursor(HCURSOR); | |
10662 | BOOL __attribute__((__stdcall__)) DestroyIcon(HICON); | |
10663 | BOOL __attribute__((__stdcall__)) DestroyMenu(HMENU); | |
10664 | BOOL __attribute__((__stdcall__)) DestroyWindow(HWND); | |
10665 | # 4264 "../../../include/winuser.h" | |
10666 | INT_PTR __attribute__((__stdcall__)) DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATEA,HWND,DLGPROC,LPARAM); | |
10667 | INT_PTR __attribute__((__stdcall__)) DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATEW,HWND,DLGPROC,LPARAM); | |
10668 | ||
10669 | INT_PTR __attribute__((__stdcall__)) DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); | |
10670 | INT_PTR __attribute__((__stdcall__)) DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); | |
10671 | ||
10672 | LONG __attribute__((__stdcall__)) DispatchMessageA(const MSG*); | |
10673 | LONG __attribute__((__stdcall__)) DispatchMessageW(const MSG*); | |
10674 | ||
10675 | INT __attribute__((__stdcall__)) DlgDirListA(HWND,LPSTR,INT,INT,UINT); | |
10676 | INT __attribute__((__stdcall__)) DlgDirListW(HWND,LPWSTR,INT,INT,UINT); | |
10677 | ||
10678 | INT __attribute__((__stdcall__)) DlgDirListComboBoxA(HWND,LPSTR,INT,INT,UINT); | |
10679 | INT __attribute__((__stdcall__)) DlgDirListComboBoxW(HWND,LPWSTR,INT,INT,UINT); | |
10680 | ||
10681 | BOOL __attribute__((__stdcall__)) DlgDirSelectComboBoxExA(HWND,LPSTR,INT,INT); | |
10682 | BOOL __attribute__((__stdcall__)) DlgDirSelectComboBoxExW(HWND,LPWSTR,INT,INT); | |
10683 | ||
10684 | BOOL __attribute__((__stdcall__)) DlgDirSelectExA(HWND,LPSTR,INT,INT); | |
10685 | BOOL __attribute__((__stdcall__)) DlgDirSelectExW(HWND,LPWSTR,INT,INT); | |
10686 | ||
10687 | BOOL __attribute__((__stdcall__)) DragDetect(HWND,POINT); | |
10688 | DWORD __attribute__((__stdcall__)) DragObject(HWND,HWND,UINT,ULONG_PTR,HCURSOR); | |
10689 | BOOL __attribute__((__stdcall__)) DrawAnimatedRects(HWND,int,const RECT*,const RECT*); | |
10690 | BOOL __attribute__((__stdcall__)) DrawCaption(HWND,HDC,const RECT*,UINT); | |
10691 | BOOL __attribute__((__stdcall__)) DrawCaptionTempA(HWND,HDC,const RECT*,HFONT,HICON,LPCSTR,UINT); | |
10692 | BOOL __attribute__((__stdcall__)) DrawCaptionTempW(HWND,HDC,const RECT*,HFONT,HICON,LPCWSTR,UINT); | |
10693 | ||
10694 | BOOL __attribute__((__stdcall__)) DrawEdge(HDC,LPRECT,UINT,UINT); | |
10695 | BOOL __attribute__((__stdcall__)) DrawFocusRect(HDC,const RECT*); | |
10696 | BOOL __attribute__((__stdcall__)) DrawFrameControl(HDC,LPRECT,UINT,UINT); | |
10697 | BOOL __attribute__((__stdcall__)) DrawIcon(HDC,INT,INT,HICON); | |
10698 | BOOL __attribute__((__stdcall__)) DrawIconEx(HDC,INT,INT,HICON,INT,INT,UINT,HBRUSH,UINT); | |
10699 | BOOL __attribute__((__stdcall__)) DrawMenuBar(HWND); | |
10700 | BOOL __attribute__((__stdcall__)) DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,INT,INT,INT,INT,UINT); | |
10701 | BOOL __attribute__((__stdcall__)) DrawStateW(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,INT,INT,INT,INT,UINT); | |
10702 | ||
10703 | INT __attribute__((__stdcall__)) DrawTextA(HDC,LPCSTR,INT,LPRECT,UINT); | |
10704 | INT __attribute__((__stdcall__)) DrawTextW(HDC,LPCWSTR,INT,LPRECT,UINT); | |
10705 | ||
10706 | INT __attribute__((__stdcall__)) DrawTextExA(HDC,LPSTR,INT,LPRECT,UINT,LPDRAWTEXTPARAMS); | |
10707 | INT __attribute__((__stdcall__)) DrawTextExW(HDC,LPWSTR,INT,LPRECT,UINT,LPDRAWTEXTPARAMS); | |
10708 | ||
10709 | BOOL __attribute__((__stdcall__)) EmptyClipboard(void); | |
10710 | BOOL __attribute__((__stdcall__)) EnableMenuItem(HMENU,UINT,UINT); | |
10711 | BOOL __attribute__((__stdcall__)) EnableScrollBar(HWND,UINT,UINT); | |
10712 | BOOL __attribute__((__stdcall__)) EnableWindow(HWND,BOOL); | |
10713 | BOOL __attribute__((__stdcall__)) EndDeferWindowPos(HDWP); | |
10714 | BOOL __attribute__((__stdcall__)) EndDialog(HWND,INT_PTR); | |
10715 | BOOL __attribute__((__stdcall__)) EndPaint(HWND,const PAINTSTRUCT*); | |
10716 | BOOL __attribute__((__stdcall__)) EnumChildWindows(HWND,WNDENUMPROC,LPARAM); | |
10717 | UINT __attribute__((__stdcall__)) EnumClipboardFormats(UINT); | |
10718 | BOOL __attribute__((__stdcall__)) EnumDesktopWindows(HDESK,WNDENUMPROC,LPARAM); | |
10719 | INT __attribute__((__stdcall__)) EnumPropsA(HWND,PROPENUMPROCA); | |
10720 | INT __attribute__((__stdcall__)) EnumPropsW(HWND,PROPENUMPROCW); | |
10721 | ||
10722 | BOOL __attribute__((__stdcall__)) EnumWindows(WNDENUMPROC,LPARAM); | |
10723 | BOOL __attribute__((__stdcall__)) EnumWindowStationsA(WINSTAENUMPROCA,LPARAM); | |
10724 | BOOL __attribute__((__stdcall__)) EnumWindowStationsW(WINSTAENUMPROCW,LPARAM); | |
10725 | ||
10726 | BOOL __attribute__((__stdcall__)) EqualRect(const RECT*,const RECT*); | |
10727 | INT __attribute__((__stdcall__)) ExcludeUpdateRgn(HDC,HWND); | |
10728 | ||
10729 | INT __attribute__((__stdcall__)) FillRect(HDC,const RECT*,HBRUSH); | |
10730 | HWND __attribute__((__stdcall__)) FindWindowA(LPCSTR,LPCSTR); | |
10731 | HWND __attribute__((__stdcall__)) FindWindowW(LPCWSTR,LPCWSTR); | |
10732 | ||
10733 | HWND __attribute__((__stdcall__)) FindWindowExA(HWND,HWND,LPCSTR,LPCSTR); | |
10734 | HWND __attribute__((__stdcall__)) FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR); | |
10735 | ||
10736 | BOOL __attribute__((__stdcall__)) FlashWindow(HWND,BOOL); | |
10737 | BOOL __attribute__((__stdcall__)) FlashWindowEx(PFLASHWINFO); | |
10738 | INT __attribute__((__stdcall__)) FrameRect(HDC,const RECT*,HBRUSH); | |
10739 | HWND __attribute__((__stdcall__)) GetActiveWindow(void); | |
10740 | HWND __attribute__((__stdcall__)) GetAncestor(HWND,UINT); | |
10741 | DWORD __attribute__((__stdcall__)) GetAppCompatFlags(HTASK); | |
10742 | SHORT __attribute__((__stdcall__)) GetAsyncKeyState(INT); | |
10743 | HWND __attribute__((__stdcall__)) GetCapture(void); | |
10744 | UINT __attribute__((__stdcall__)) GetCaretBlinkTime(void); | |
10745 | BOOL __attribute__((__stdcall__)) GetCaretPos(LPPOINT); | |
10746 | BOOL __attribute__((__stdcall__)) GetClassInfoA(HINSTANCE,LPCSTR,WNDCLASSA *); | |
10747 | BOOL __attribute__((__stdcall__)) GetClassInfoW(HINSTANCE,LPCWSTR,WNDCLASSW *); | |
10748 | ||
10749 | BOOL __attribute__((__stdcall__)) GetClassInfoExA(HINSTANCE,LPCSTR,WNDCLASSEXA *); | |
10750 | BOOL __attribute__((__stdcall__)) GetClassInfoExW(HINSTANCE,LPCWSTR,WNDCLASSEXW *); | |
10751 | ||
10752 | DWORD __attribute__((__stdcall__)) GetClassLongA(HWND,INT); | |
10753 | DWORD __attribute__((__stdcall__)) GetClassLongW(HWND,INT); | |
10754 | # 4361 "../../../include/winuser.h" | |
10755 | INT __attribute__((__stdcall__)) GetClassNameA(HWND,LPSTR,INT); | |
10756 | INT __attribute__((__stdcall__)) GetClassNameW(HWND,LPWSTR,INT); | |
10757 | ||
10758 | WORD __attribute__((__stdcall__)) GetClassWord(HWND,INT); | |
10759 | BOOL __attribute__((__stdcall__)) GetClientRect(HWND,LPRECT); | |
10760 | HANDLE __attribute__((__stdcall__)) GetClipboardData(UINT); | |
10761 | INT __attribute__((__stdcall__)) GetClipboardFormatNameA(UINT,LPSTR,INT); | |
10762 | INT __attribute__((__stdcall__)) GetClipboardFormatNameW(UINT,LPWSTR,INT); | |
10763 | ||
10764 | HWND __attribute__((__stdcall__)) GetClipboardOwner(void); | |
10765 | DWORD __attribute__((__stdcall__)) GetClipboardSequenceNumber(void); | |
10766 | HWND __attribute__((__stdcall__)) GetClipboardViewer(void); | |
10767 | BOOL __attribute__((__stdcall__)) GetClipCursor(LPRECT); | |
10768 | HCURSOR __attribute__((__stdcall__)) GetCursor(void); | |
10769 | BOOL __attribute__((__stdcall__)) GetCursorInfo(PCURSORINFO); | |
10770 | BOOL __attribute__((__stdcall__)) GetCursorPos(LPPOINT); | |
10771 | HDC __attribute__((__stdcall__)) GetDC(HWND); | |
10772 | HDC __attribute__((__stdcall__)) GetDCEx(HWND,HRGN,DWORD); | |
10773 | HWND __attribute__((__stdcall__)) GetDesktopWindow(void); | |
10774 | INT __attribute__((__stdcall__)) GetDlgCtrlID(HWND); | |
10775 | HWND __attribute__((__stdcall__)) GetDlgItem(HWND,INT); | |
10776 | UINT __attribute__((__stdcall__)) GetDlgItemInt(HWND,INT,BOOL*,BOOL); | |
10777 | UINT __attribute__((__stdcall__)) GetDlgItemTextA(HWND,INT,LPSTR,INT); | |
10778 | UINT __attribute__((__stdcall__)) GetDlgItemTextW(HWND,INT,LPWSTR,INT); | |
10779 | ||
10780 | UINT __attribute__((__stdcall__)) GetDoubleClickTime(void); | |
10781 | HWND __attribute__((__stdcall__)) GetFocus(void); | |
10782 | HWND __attribute__((__stdcall__)) GetForegroundWindow(void); | |
10783 | BOOL __attribute__((__stdcall__)) GetGUIThreadInfo(DWORD,GUITHREADINFO*); | |
10784 | BOOL __attribute__((__stdcall__)) GetInputState(void); | |
10785 | UINT __attribute__((__stdcall__)) GetInternalWindowPos(HWND,LPRECT,LPPOINT); | |
10786 | UINT __attribute__((__stdcall__)) GetKBCodePage(void); | |
10787 | INT __attribute__((__stdcall__)) GetKeyboardType(INT); | |
10788 | INT __attribute__((__stdcall__)) GetKeyNameTextA(LONG,LPSTR,INT); | |
10789 | INT __attribute__((__stdcall__)) GetKeyNameTextW(LONG,LPWSTR,INT); | |
10790 | ||
10791 | BOOL __attribute__((__stdcall__)) GetKeyboardLayoutNameA(LPSTR); | |
10792 | BOOL __attribute__((__stdcall__)) GetKeyboardLayoutNameW(LPWSTR); | |
10793 | ||
10794 | SHORT __attribute__((__stdcall__)) GetKeyState(INT); | |
10795 | HWND __attribute__((__stdcall__)) GetLastActivePopup(HWND); | |
10796 | BOOL __attribute__((__stdcall__)) GetLastInputInfo(PLASTINPUTINFO); | |
10797 | BOOL __attribute__((__stdcall__)) GetLayeredWindowAttributes(HWND,COLORREF*,BYTE*,DWORD*); | |
10798 | HMENU __attribute__((__stdcall__)) GetMenu(HWND); | |
10799 | INT __attribute__((__stdcall__)) GetMenuItemCount(HMENU); | |
10800 | UINT __attribute__((__stdcall__)) GetMenuItemID(HMENU,INT); | |
10801 | BOOL __attribute__((__stdcall__)) GetMenuItemRect(HWND,HMENU,UINT,LPRECT); | |
10802 | UINT __attribute__((__stdcall__)) GetMenuState(HMENU,UINT,UINT); | |
10803 | INT __attribute__((__stdcall__)) GetMenuStringA(HMENU,UINT,LPSTR,INT,UINT); | |
10804 | INT __attribute__((__stdcall__)) GetMenuStringW(HMENU,UINT,LPWSTR,INT,UINT); | |
10805 | ||
10806 | BOOL __attribute__((__stdcall__)) GetMessageA(LPMSG,HWND,UINT,UINT); | |
10807 | BOOL __attribute__((__stdcall__)) GetMessageW(LPMSG,HWND,UINT,UINT); | |
10808 | ||
10809 | HWND __attribute__((__stdcall__)) GetNextDlgGroupItem(HWND,HWND,BOOL); | |
10810 | HWND __attribute__((__stdcall__)) GetNextDlgTabItem(HWND,HWND,BOOL); | |
10811 | ||
10812 | HWND __attribute__((__stdcall__)) GetOpenClipboardWindow(void); | |
10813 | HWND __attribute__((__stdcall__)) GetParent(HWND); | |
10814 | INT __attribute__((__stdcall__)) GetPriorityClipboardFormat(UINT*,INT); | |
10815 | BOOL __attribute__((__stdcall__)) GetProcessDefaultLayout(DWORD*); | |
10816 | HANDLE __attribute__((__stdcall__)) GetPropA(HWND,LPCSTR); | |
10817 | HANDLE __attribute__((__stdcall__)) GetPropW(HWND,LPCWSTR); | |
10818 | ||
10819 | DWORD __attribute__((__stdcall__)) GetQueueStatus(UINT); | |
10820 | BOOL __attribute__((__stdcall__)) GetScrollInfo(HWND,INT,LPSCROLLINFO); | |
10821 | BOOL __attribute__((__stdcall__)) GetScrollBarInfo(HWND,LONG,LPSCROLLBARINFO); | |
10822 | INT __attribute__((__stdcall__)) GetScrollPos(HWND,INT); | |
10823 | BOOL __attribute__((__stdcall__)) GetScrollRange(HWND,INT,LPINT,LPINT); | |
10824 | HWND __attribute__((__stdcall__)) GetShellWindow(void); | |
10825 | HMENU __attribute__((__stdcall__)) GetSubMenu(HMENU,INT); | |
10826 | HBRUSH __attribute__((__stdcall__)) GetSysColorBrush(INT); | |
10827 | ||
10828 | HMENU __attribute__((__stdcall__)) GetSystemMenu(HWND,BOOL); | |
10829 | INT __attribute__((__stdcall__)) GetSystemMetrics(INT); | |
10830 | DWORD __attribute__((__stdcall__)) GetTabbedTextExtentA(HDC,LPCSTR,INT,INT,const INT*); | |
10831 | DWORD __attribute__((__stdcall__)) GetTabbedTextExtentW(HDC,LPCWSTR,INT,INT,const INT*); | |
10832 | ||
10833 | BOOL __attribute__((__stdcall__)) GetTitleBarInfo(HWND,PTITLEBARINFO); | |
10834 | HDESK __attribute__((__stdcall__)) GetThreadDesktop(DWORD); | |
10835 | HWND __attribute__((__stdcall__)) GetTopWindow(HWND); | |
10836 | BOOL __attribute__((__stdcall__)) GetUpdateRect(HWND,LPRECT,BOOL); | |
10837 | INT __attribute__((__stdcall__)) GetUpdateRgn(HWND,HRGN,BOOL); | |
10838 | BOOL __attribute__((__stdcall__)) GetUserObjectInformationA(HANDLE,INT,LPVOID,DWORD,LPDWORD); | |
10839 | BOOL __attribute__((__stdcall__)) GetUserObjectInformationW(HANDLE,INT,LPVOID,DWORD,LPDWORD); | |
10840 | ||
10841 | BOOL __attribute__((__stdcall__)) GetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); | |
10842 | HWND __attribute__((__stdcall__)) GetWindow(HWND,UINT); | |
10843 | HDC __attribute__((__stdcall__)) GetWindowDC(HWND); | |
10844 | BOOL __attribute__((__stdcall__)) GetWindowInfo(HWND, PWINDOWINFO); | |
10845 | LONG __attribute__((__stdcall__)) GetWindowLongA(HWND,INT); | |
10846 | LONG __attribute__((__stdcall__)) GetWindowLongW(HWND,INT); | |
10847 | # 4462 "../../../include/winuser.h" | |
10848 | UINT __attribute__((__stdcall__)) GetWindowModuleFileNameA(HWND,LPSTR,UINT); | |
10849 | UINT __attribute__((__stdcall__)) GetWindowModuleFileNameW(HWND,LPWSTR,UINT); | |
10850 | ||
10851 | BOOL __attribute__((__stdcall__)) GetWindowPlacement(HWND,LPWINDOWPLACEMENT); | |
10852 | BOOL __attribute__((__stdcall__)) GetWindowRect(HWND,LPRECT); | |
10853 | INT __attribute__((__stdcall__)) GetWindowRgn(HWND,HRGN); | |
10854 | HWINSTA __attribute__((__stdcall__)) GetProcessWindowStation(void); | |
10855 | ||
10856 | INT __attribute__((__stdcall__)) GetWindowTextA(HWND,LPSTR,INT); | |
10857 | INT __attribute__((__stdcall__)) GetWindowTextW(HWND,LPWSTR,INT); | |
10858 | ||
10859 | INT __attribute__((__stdcall__)) GetWindowTextLengthA(HWND); | |
10860 | INT __attribute__((__stdcall__)) GetWindowTextLengthW(HWND); | |
10861 | ||
10862 | WORD __attribute__((__stdcall__)) GetWindowWord(HWND,INT); | |
10863 | BOOL __attribute__((__stdcall__)) GrayStringA(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,INT,INT,INT,INT,INT); | |
10864 | BOOL __attribute__((__stdcall__)) GrayStringW(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,INT,INT,INT,INT,INT); | |
10865 | ||
10866 | BOOL __attribute__((__stdcall__)) HideCaret(HWND); | |
10867 | BOOL __attribute__((__stdcall__)) HiliteMenuItem(HWND,HMENU,UINT,UINT); | |
10868 | BOOL __attribute__((__stdcall__)) InflateRect(LPRECT,INT,INT); | |
10869 | BOOL __attribute__((__stdcall__)) InSendMessage(void); | |
10870 | DWORD __attribute__((__stdcall__)) InSendMessageEx(LPVOID); | |
10871 | BOOL __attribute__((__stdcall__)) InsertMenuA(HMENU,UINT,UINT,UINT_PTR,LPCSTR); | |
10872 | BOOL __attribute__((__stdcall__)) InsertMenuW(HMENU,UINT,UINT,UINT_PTR,LPCWSTR); | |
10873 | ||
10874 | BOOL __attribute__((__stdcall__)) InsertMenuItemA(HMENU,UINT,BOOL,const MENUITEMINFOA*); | |
10875 | BOOL __attribute__((__stdcall__)) InsertMenuItemW(HMENU,UINT,BOOL,const MENUITEMINFOW*); | |
10876 | ||
10877 | INT __attribute__((__stdcall__)) InternalGetWindowText(HWND,LPWSTR,INT); | |
10878 | BOOL __attribute__((__stdcall__)) IntersectRect(LPRECT,const RECT*,const RECT*); | |
10879 | BOOL __attribute__((__stdcall__)) InvalidateRect(HWND,const RECT*,BOOL); | |
10880 | BOOL __attribute__((__stdcall__)) InvalidateRgn(HWND,HRGN,BOOL); | |
10881 | BOOL __attribute__((__stdcall__)) InvertRect(HDC,const RECT*); | |
10882 | BOOL __attribute__((__stdcall__)) IsCharAlphaA(CHAR); | |
10883 | BOOL __attribute__((__stdcall__)) IsCharAlphaW(WCHAR); | |
10884 | ||
10885 | BOOL __attribute__((__stdcall__)) IsCharAlphaNumericA(CHAR); | |
10886 | BOOL __attribute__((__stdcall__)) IsCharAlphaNumericW(WCHAR); | |
10887 | ||
10888 | BOOL __attribute__((__stdcall__)) IsCharLowerA(CHAR); | |
10889 | BOOL __attribute__((__stdcall__)) IsCharLowerW(WCHAR); | |
10890 | ||
10891 | BOOL __attribute__((__stdcall__)) IsCharUpperA(CHAR); | |
10892 | BOOL __attribute__((__stdcall__)) IsCharUpperW(WCHAR); | |
10893 | ||
10894 | BOOL __attribute__((__stdcall__)) IsChild(HWND,HWND); | |
10895 | BOOL __attribute__((__stdcall__)) IsClipboardFormatAvailable(UINT); | |
10896 | BOOL __attribute__((__stdcall__)) IsDialogMessageA(HWND,LPMSG); | |
10897 | BOOL __attribute__((__stdcall__)) IsDialogMessageW(HWND,LPMSG); | |
10898 | ||
10899 | UINT __attribute__((__stdcall__)) IsDlgButtonChecked(HWND,int); | |
10900 | BOOL __attribute__((__stdcall__)) IsHungAppWindow(HWND); | |
10901 | BOOL __attribute__((__stdcall__)) IsIconic(HWND); | |
10902 | BOOL __attribute__((__stdcall__)) IsMenu(HMENU); | |
10903 | BOOL __attribute__((__stdcall__)) IsRectEmpty(const RECT*); | |
10904 | BOOL __attribute__((__stdcall__)) IsWindow(HWND); | |
10905 | BOOL __attribute__((__stdcall__)) IsWindowEnabled(HWND); | |
10906 | BOOL __attribute__((__stdcall__)) IsWindowVisible(HWND); | |
10907 | BOOL __attribute__((__stdcall__)) IsZoomed(HWND); | |
10908 | BOOL __attribute__((__stdcall__)) KillSystemTimer(HWND,UINT_PTR); | |
10909 | BOOL __attribute__((__stdcall__)) KillTimer(HWND,UINT_PTR); | |
10910 | HACCEL __attribute__((__stdcall__)) LoadAcceleratorsA(HINSTANCE,LPCSTR); | |
10911 | HACCEL __attribute__((__stdcall__)) LoadAcceleratorsW(HINSTANCE,LPCWSTR); | |
10912 | ||
10913 | HBITMAP __attribute__((__stdcall__)) LoadBitmapA(HINSTANCE,LPCSTR); | |
10914 | HBITMAP __attribute__((__stdcall__)) LoadBitmapW(HINSTANCE,LPCWSTR); | |
10915 | ||
10916 | HCURSOR __attribute__((__stdcall__)) LoadCursorA(HINSTANCE,LPCSTR); | |
10917 | HCURSOR __attribute__((__stdcall__)) LoadCursorW(HINSTANCE,LPCWSTR); | |
10918 | ||
10919 | HCURSOR __attribute__((__stdcall__)) LoadCursorFromFileA(LPCSTR); | |
10920 | HCURSOR __attribute__((__stdcall__)) LoadCursorFromFileW(LPCWSTR); | |
10921 | ||
10922 | HICON __attribute__((__stdcall__)) LoadIconA(HINSTANCE,LPCSTR); | |
10923 | HICON __attribute__((__stdcall__)) LoadIconW(HINSTANCE,LPCWSTR); | |
10924 | ||
10925 | HANDLE __attribute__((__stdcall__)) LoadImageA(HINSTANCE,LPCSTR,UINT,INT,INT,UINT); | |
10926 | HANDLE __attribute__((__stdcall__)) LoadImageW(HINSTANCE,LPCWSTR,UINT,INT,INT,UINT); | |
10927 | ||
10928 | HMENU __attribute__((__stdcall__)) LoadMenuA(HINSTANCE,LPCSTR); | |
10929 | HMENU __attribute__((__stdcall__)) LoadMenuW(HINSTANCE,LPCWSTR); | |
10930 | ||
10931 | HMENU __attribute__((__stdcall__)) LoadMenuIndirectA(LPCVOID); | |
10932 | HMENU __attribute__((__stdcall__)) LoadMenuIndirectW(LPCVOID); | |
10933 | ||
10934 | INT __attribute__((__stdcall__)) LoadStringA(HINSTANCE,UINT,LPSTR,INT); | |
10935 | INT __attribute__((__stdcall__)) LoadStringW(HINSTANCE,UINT,LPWSTR,INT); | |
10936 | ||
10937 | BOOL __attribute__((__stdcall__)) LockSetForegroundWindow(UINT); | |
10938 | BOOL __attribute__((__stdcall__)) LockWindowUpdate(HWND); | |
10939 | INT __attribute__((__stdcall__)) LookupIconIdFromDirectory(LPBYTE,BOOL); | |
10940 | INT __attribute__((__stdcall__)) LookupIconIdFromDirectoryEx(LPBYTE,BOOL,INT,INT,UINT); | |
10941 | UINT __attribute__((__stdcall__)) MapVirtualKeyA(UINT,UINT); | |
10942 | UINT __attribute__((__stdcall__)) MapVirtualKeyW(UINT,UINT); | |
10943 | ||
10944 | UINT __attribute__((__stdcall__)) MapVirtualKeyExA(UINT,UINT,HKL); | |
10945 | UINT __attribute__((__stdcall__)) MapVirtualKeyExW(UINT,UINT,HKL); | |
10946 | ||
10947 | BOOL __attribute__((__stdcall__)) MapDialogRect(HWND,LPRECT); | |
10948 | INT __attribute__((__stdcall__)) MapWindowPoints(HWND,HWND,LPPOINT,UINT); | |
10949 | INT __attribute__((__stdcall__)) MenuItemFromPoint(HWND,HMENU,POINT); | |
10950 | BOOL __attribute__((__stdcall__)) MessageBeep(UINT); | |
10951 | INT __attribute__((__stdcall__)) MessageBoxA(HWND,LPCSTR,LPCSTR,UINT); | |
10952 | INT __attribute__((__stdcall__)) MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT); | |
10953 | ||
10954 | INT __attribute__((__stdcall__)) MessageBoxIndirectA(LPMSGBOXPARAMSA); | |
10955 | INT __attribute__((__stdcall__)) MessageBoxIndirectW(LPMSGBOXPARAMSW); | |
10956 | ||
10957 | BOOL __attribute__((__stdcall__)) ModifyMenuA(HMENU,UINT,UINT,UINT_PTR,LPCSTR); | |
10958 | BOOL __attribute__((__stdcall__)) ModifyMenuW(HMENU,UINT,UINT,UINT_PTR,LPCWSTR); | |
10959 | ||
10960 | BOOL __attribute__((__stdcall__)) MoveWindow(HWND,INT,INT,INT,INT,BOOL); | |
10961 | BOOL __attribute__((__stdcall__)) OemToCharA(LPCSTR,LPSTR); | |
10962 | BOOL __attribute__((__stdcall__)) OemToCharW(LPCSTR,LPWSTR); | |
10963 | ||
10964 | BOOL __attribute__((__stdcall__)) OemToCharBuffA(LPCSTR,LPSTR,DWORD); | |
10965 | BOOL __attribute__((__stdcall__)) OemToCharBuffW(LPCSTR,LPWSTR,DWORD); | |
10966 | ||
10967 | BOOL __attribute__((__stdcall__)) OffsetRect(LPRECT,INT,INT); | |
10968 | BOOL __attribute__((__stdcall__)) OpenClipboard(HWND); | |
10969 | HDESK __attribute__((__stdcall__)) OpenDesktopA(LPCSTR,DWORD,BOOL,ACCESS_MASK); | |
10970 | HDESK __attribute__((__stdcall__)) OpenDesktopW(LPCWSTR,DWORD,BOOL,ACCESS_MASK); | |
10971 | ||
10972 | BOOL __attribute__((__stdcall__)) OpenIcon(HWND); | |
10973 | HDESK __attribute__((__stdcall__)) OpenInputDesktop(DWORD,BOOL,ACCESS_MASK); | |
10974 | HWINSTA __attribute__((__stdcall__)) OpenWindowStationA(LPCSTR,BOOL,ACCESS_MASK); | |
10975 | HWINSTA __attribute__((__stdcall__)) OpenWindowStationW(LPCWSTR,BOOL,ACCESS_MASK); | |
10976 | ||
10977 | BOOL __attribute__((__stdcall__)) PeekMessageA(LPMSG,HWND,UINT,UINT,UINT); | |
10978 | BOOL __attribute__((__stdcall__)) PeekMessageW(LPMSG,HWND,UINT,UINT,UINT); | |
10979 | ||
10980 | ||
10981 | ||
10982 | ||
10983 | ||
10984 | ||
10985 | BOOL __attribute__((__stdcall__)) PostMessageA(HWND,UINT,WPARAM,LPARAM); | |
10986 | BOOL __attribute__((__stdcall__)) PostMessageW(HWND,UINT,WPARAM,LPARAM); | |
10987 | ||
10988 | void __attribute__((__stdcall__)) PostQuitMessage(INT); | |
10989 | UINT __attribute__((__stdcall__)) PrivateExtractIconExA(LPCSTR,int,HICON*,HICON*,UINT); | |
10990 | UINT __attribute__((__stdcall__)) PrivateExtractIconExW(LPCWSTR,int,HICON*,HICON*,UINT); | |
10991 | UINT __attribute__((__stdcall__)) PrivateExtractIconsA(LPCSTR,int,int,int,HICON*,UINT*,UINT,UINT); | |
10992 | UINT __attribute__((__stdcall__)) PrivateExtractIconsW(LPCWSTR,int,int,int,HICON*,UINT*,UINT,UINT); | |
10993 | BOOL __attribute__((__stdcall__)) PtInRect(const RECT*,POINT); | |
10994 | UINT __attribute__((__stdcall__)) RealGetWindowClassA(HWND,LPSTR,UINT); | |
10995 | UINT __attribute__((__stdcall__)) RealGetWindowClassW(HWND,LPWSTR,UINT); | |
10996 | ||
10997 | BOOL __attribute__((__stdcall__)) RedrawWindow(HWND,const RECT*,HRGN,UINT); | |
10998 | ATOM __attribute__((__stdcall__)) RegisterClassA(const WNDCLASSA *); | |
10999 | ATOM __attribute__((__stdcall__)) RegisterClassW(const WNDCLASSW *); | |
11000 | ||
11001 | ATOM __attribute__((__stdcall__)) RegisterClassExA(const WNDCLASSEXA *); | |
11002 | ATOM __attribute__((__stdcall__)) RegisterClassExW(const WNDCLASSEXW *); | |
11003 | ||
11004 | UINT __attribute__((__stdcall__)) RegisterClipboardFormatA(LPCSTR); | |
11005 | UINT __attribute__((__stdcall__)) RegisterClipboardFormatW(LPCWSTR); | |
11006 | ||
11007 | UINT __attribute__((__stdcall__)) RegisterWindowMessageA(LPCSTR); | |
11008 | UINT __attribute__((__stdcall__)) RegisterWindowMessageW(LPCWSTR); | |
11009 | ||
11010 | INT __attribute__((__stdcall__)) ReleaseDC(HWND,HDC); | |
11011 | BOOL __attribute__((__stdcall__)) RemoveMenu(HMENU,UINT,UINT); | |
11012 | HANDLE __attribute__((__stdcall__)) RemovePropA(HWND,LPCSTR); | |
11013 | HANDLE __attribute__((__stdcall__)) RemovePropW(HWND,LPCWSTR); | |
11014 | ||
11015 | BOOL __attribute__((__stdcall__)) ReplyMessage(LRESULT); | |
11016 | BOOL __attribute__((__stdcall__)) ScreenToClient(HWND,LPPOINT); | |
11017 | void __attribute__((__stdcall__)) ScrollChildren(HWND,UINT,WPARAM,LPARAM); | |
11018 | BOOL __attribute__((__stdcall__)) ScrollDC(HDC,INT,INT,const RECT*,const RECT*,HRGN,LPRECT); | |
11019 | BOOL __attribute__((__stdcall__)) ScrollWindow(HWND,INT,INT,const RECT*,const RECT*); | |
11020 | INT __attribute__((__stdcall__)) ScrollWindowEx(HWND,INT,INT,const RECT*,const RECT*,HRGN,LPRECT,UINT); | |
11021 | LRESULT __attribute__((__stdcall__)) SendDlgItemMessageA(HWND,INT,UINT,WPARAM,LPARAM); | |
11022 | LRESULT __attribute__((__stdcall__)) SendDlgItemMessageW(HWND,INT,UINT,WPARAM,LPARAM); | |
11023 | ||
11024 | UINT __attribute__((__stdcall__)) SendInput(UINT,LPINPUT,int); | |
11025 | LRESULT __attribute__((__stdcall__)) SendMessageA(HWND,UINT,WPARAM,LPARAM); | |
11026 | LRESULT __attribute__((__stdcall__)) SendMessageW(HWND,UINT,WPARAM,LPARAM); | |
11027 | ||
11028 | LRESULT __attribute__((__stdcall__)) SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD_PTR); | |
11029 | LRESULT __attribute__((__stdcall__)) SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD_PTR); | |
11030 | ||
11031 | HWND __attribute__((__stdcall__)) SetActiveWindow(HWND); | |
11032 | HWND __attribute__((__stdcall__)) SetCapture(HWND); | |
11033 | BOOL __attribute__((__stdcall__)) SetCaretBlinkTime(UINT); | |
11034 | BOOL __attribute__((__stdcall__)) SetCaretPos(INT,INT); | |
11035 | DWORD __attribute__((__stdcall__)) SetClassLongA(HWND,INT,LONG); | |
11036 | DWORD __attribute__((__stdcall__)) SetClassLongW(HWND,INT,LONG); | |
11037 | # 4660 "../../../include/winuser.h" | |
11038 | WORD __attribute__((__stdcall__)) SetClassWord(HWND,INT,WORD); | |
11039 | HANDLE __attribute__((__stdcall__)) SetClipboardData(UINT,HANDLE); | |
11040 | HWND __attribute__((__stdcall__)) SetClipboardViewer(HWND); | |
11041 | HCURSOR __attribute__((__stdcall__)) SetCursor(HCURSOR); | |
11042 | BOOL __attribute__((__stdcall__)) SetCursorPos(INT,INT); | |
11043 | BOOL __attribute__((__stdcall__)) SetDeskWallPaper(LPCSTR); | |
11044 | BOOL __attribute__((__stdcall__)) SetDlgItemInt(HWND,INT,UINT,BOOL); | |
11045 | BOOL __attribute__((__stdcall__)) SetDlgItemTextA(HWND,INT,LPCSTR); | |
11046 | BOOL __attribute__((__stdcall__)) SetDlgItemTextW(HWND,INT,LPCWSTR); | |
11047 | ||
11048 | BOOL __attribute__((__stdcall__)) SetDoubleClickTime(UINT); | |
11049 | HWND __attribute__((__stdcall__)) SetFocus(HWND); | |
11050 | BOOL __attribute__((__stdcall__)) SetForegroundWindow(HWND); | |
11051 | void __attribute__((__stdcall__)) SetInternalWindowPos(HWND,UINT,LPRECT,LPPOINT); | |
11052 | BOOL __attribute__((__stdcall__)) SetLayeredWindowAttributes(HWND,COLORREF,BYTE,DWORD); | |
11053 | BOOL __attribute__((__stdcall__)) SetMenu(HWND,HMENU); | |
11054 | BOOL __attribute__((__stdcall__)) SetMenuContextHelpId(HMENU,DWORD); | |
11055 | BOOL __attribute__((__stdcall__)) SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP); | |
11056 | LPARAM __attribute__((__stdcall__)) SetMessageExtraInfo(LPARAM); | |
11057 | BOOL __attribute__((__stdcall__)) SetMessageQueue(INT); | |
11058 | BOOL __attribute__((__stdcall__)) SetProcessDefaultLayout(DWORD); | |
11059 | BOOL __attribute__((__stdcall__)) SetProcessWindowStation(HWINSTA); | |
11060 | HWND __attribute__((__stdcall__)) SetParent(HWND,HWND); | |
11061 | BOOL __attribute__((__stdcall__)) SetPropA(HWND,LPCSTR,HANDLE); | |
11062 | BOOL __attribute__((__stdcall__)) SetPropW(HWND,LPCWSTR,HANDLE); | |
11063 | ||
11064 | BOOL __attribute__((__stdcall__)) SetRect(LPRECT,INT,INT,INT,INT); | |
11065 | BOOL __attribute__((__stdcall__)) SetRectEmpty(LPRECT); | |
11066 | INT __attribute__((__stdcall__)) SetScrollInfo(HWND,INT,const SCROLLINFO*,BOOL); | |
11067 | INT __attribute__((__stdcall__)) SetScrollPos(HWND,INT,INT,BOOL); | |
11068 | BOOL __attribute__((__stdcall__)) SetScrollRange(HWND,INT,INT,INT,BOOL); | |
11069 | ||
11070 | BOOL __attribute__((__stdcall__)) SetSystemCursor(HCURSOR,DWORD); | |
11071 | BOOL __attribute__((__stdcall__)) SetSystemMenu(HWND,HMENU); | |
11072 | UINT_PTR __attribute__((__stdcall__)) SetSystemTimer(HWND,UINT_PTR,UINT,TIMERPROC); | |
11073 | BOOL __attribute__((__stdcall__)) SetThreadDesktop(HDESK); | |
11074 | UINT_PTR __attribute__((__stdcall__)) SetTimer(HWND,UINT_PTR,UINT,TIMERPROC); | |
11075 | BOOL __attribute__((__stdcall__)) SetUserObjectInformationA(HANDLE,INT,LPVOID,DWORD); | |
11076 | BOOL __attribute__((__stdcall__)) SetUserObjectInformationW(HANDLE,INT,LPVOID,DWORD); | |
11077 | ||
11078 | BOOL __attribute__((__stdcall__)) SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR); | |
11079 | LONG __attribute__((__stdcall__)) SetWindowLongA(HWND,INT,LONG); | |
11080 | LONG __attribute__((__stdcall__)) SetWindowLongW(HWND,INT,LONG); | |
11081 | # 4712 "../../../include/winuser.h" | |
11082 | BOOL __attribute__((__stdcall__)) SetWindowPlacement(HWND,const WINDOWPLACEMENT*); | |
11083 | HHOOK __attribute__((__stdcall__)) SetWindowsHookA(INT,HOOKPROC); | |
11084 | HHOOK __attribute__((__stdcall__)) SetWindowsHookW(INT,HOOKPROC); | |
11085 | ||
11086 | HHOOK __attribute__((__stdcall__)) SetWindowsHookExA(INT,HOOKPROC,HINSTANCE,DWORD); | |
11087 | HHOOK __attribute__((__stdcall__)) SetWindowsHookExW(INT,HOOKPROC,HINSTANCE,DWORD); | |
11088 | ||
11089 | BOOL __attribute__((__stdcall__)) SetWindowPos(HWND,HWND,INT,INT,INT,INT,UINT); | |
11090 | INT __attribute__((__stdcall__)) SetWindowRgn(HWND,HRGN,BOOL); | |
11091 | BOOL __attribute__((__stdcall__)) SetWindowTextA(HWND,LPCSTR); | |
11092 | BOOL __attribute__((__stdcall__)) SetWindowTextW(HWND,LPCWSTR); | |
11093 | ||
11094 | WORD __attribute__((__stdcall__)) SetWindowWord(HWND,INT,WORD); | |
11095 | BOOL __attribute__((__stdcall__)) ShowCaret(HWND); | |
11096 | INT __attribute__((__stdcall__)) ShowCursor(BOOL); | |
11097 | BOOL __attribute__((__stdcall__)) ShowScrollBar(HWND,INT,BOOL); | |
11098 | BOOL __attribute__((__stdcall__)) ShowOwnedPopups(HWND,BOOL); | |
11099 | BOOL __attribute__((__stdcall__)) ShowWindow(HWND,INT); | |
11100 | BOOL __attribute__((__stdcall__)) ShowWindowAsync(HWND,INT); | |
11101 | BOOL __attribute__((__stdcall__)) SubtractRect(LPRECT,const RECT*,const RECT*); | |
11102 | BOOL __attribute__((__stdcall__)) SwapMouseButton(BOOL); | |
11103 | BOOL __attribute__((__stdcall__)) SwitchDesktop(HDESK); | |
11104 | void __attribute__((__stdcall__)) SwitchToThisWindow(HWND,BOOL); | |
11105 | BOOL __attribute__((__stdcall__)) SystemParametersInfoA(UINT,UINT,LPVOID,UINT); | |
11106 | BOOL __attribute__((__stdcall__)) SystemParametersInfoW(UINT,UINT,LPVOID,UINT); | |
11107 | ||
11108 | LONG __attribute__((__stdcall__)) TabbedTextOutA(HDC,INT,INT,LPCSTR,INT,INT,const INT*,INT); | |
11109 | LONG __attribute__((__stdcall__)) TabbedTextOutW(HDC,INT,INT,LPCWSTR,INT,INT,const INT*,INT); | |
11110 | ||
11111 | INT __attribute__((__stdcall__)) ToAscii(UINT,UINT,LPBYTE,LPWORD,UINT); | |
11112 | INT __attribute__((__stdcall__)) ToAsciiEx(UINT,UINT,LPBYTE,LPWORD,UINT,HKL); | |
11113 | BOOL __attribute__((__stdcall__)) TrackMouseEvent(LPTRACKMOUSEEVENT); | |
11114 | BOOL __attribute__((__stdcall__)) TrackPopupMenu(HMENU,UINT,INT,INT,INT,HWND,const RECT*); | |
11115 | INT __attribute__((__stdcall__)) TranslateAcceleratorA(HWND,HACCEL,LPMSG); | |
11116 | INT __attribute__((__stdcall__)) TranslateAcceleratorW(HWND,HACCEL,LPMSG); | |
11117 | ||
11118 | BOOL __attribute__((__stdcall__)) TranslateMDISysAccel(HWND,LPMSG); | |
11119 | BOOL __attribute__((__stdcall__)) TranslateMessage(const MSG*); | |
11120 | BOOL __attribute__((__stdcall__)) UnhookWindowsHook(INT,HOOKPROC); | |
11121 | BOOL __attribute__((__stdcall__)) UnhookWindowsHookEx(HHOOK); | |
11122 | BOOL __attribute__((__stdcall__)) UnionRect(LPRECT,const RECT*,const RECT*); | |
11123 | BOOL __attribute__((__stdcall__)) UnregisterClassA(LPCSTR,HINSTANCE); | |
11124 | BOOL __attribute__((__stdcall__)) UnregisterClassW(LPCWSTR,HINSTANCE); | |
11125 | ||
11126 | BOOL __attribute__((__stdcall__)) UpdateWindow(HWND); | |
11127 | UINT __attribute__((__stdcall__)) UserRealizePalette(HDC); | |
11128 | BOOL __attribute__((__stdcall__)) ValidateRect(HWND,const RECT*); | |
11129 | BOOL __attribute__((__stdcall__)) ValidateRgn(HWND,HRGN); | |
11130 | SHORT __attribute__((__stdcall__)) VkKeyScanA(CHAR); | |
11131 | SHORT __attribute__((__stdcall__)) VkKeyScanW(WCHAR); | |
11132 | ||
11133 | WORD __attribute__((__stdcall__)) VkKeyScanExA(CHAR, HKL); | |
11134 | WORD __attribute__((__stdcall__)) VkKeyScanExW(WCHAR, HKL); | |
11135 | ||
11136 | BOOL __attribute__((__stdcall__)) WaitMessage(void); | |
11137 | HWND __attribute__((__stdcall__)) WindowFromDC(HDC); | |
11138 | HWND __attribute__((__stdcall__)) WindowFromPoint(POINT); | |
11139 | BOOL __attribute__((__stdcall__)) WinHelpA(HWND,LPCSTR,UINT,ULONG_PTR); | |
11140 | BOOL __attribute__((__stdcall__)) WinHelpW(HWND,LPCWSTR,UINT,ULONG_PTR); | |
11141 | ||
11142 | INT __attribute__((__cdecl__)) wsprintfA(LPSTR,LPCSTR,...); | |
11143 | INT __attribute__((__cdecl__)) wsprintfW(LPWSTR,LPCWSTR,...); | |
11144 | ||
11145 | INT __attribute__((__stdcall__)) wvsprintfA(LPSTR,LPCSTR,va_list); | |
11146 | INT __attribute__((__stdcall__)) wvsprintfW(LPWSTR,LPCWSTR,va_list); | |
11147 | ||
11148 | ||
11149 | ||
11150 | ||
11151 | ||
11152 | WORD __attribute__((__stdcall__)) SYSTEM_KillSystemTimer( WORD ); | |
11153 | # 42 "../../../include/windows.h" 2 | |
11154 | # 1 "../../../include/winnls.h" 1 | |
11155 | # 489 "../../../include/winnls.h" | |
11156 | typedef DWORD CALID; | |
11157 | typedef DWORD CALTYPE; | |
11158 | typedef LONG GEOID; | |
11159 | typedef DWORD GEOCLASS; | |
11160 | typedef DWORD GEOTYPE; | |
11161 | typedef DWORD LCTYPE; | |
11162 | typedef DWORD LGRPID; | |
11163 | ||
11164 | typedef struct | |
11165 | { | |
11166 | UINT MaxCharSize; | |
11167 | BYTE DefaultChar[2]; | |
11168 | BYTE LeadByte[12]; | |
11169 | } CPINFO, *LPCPINFO; | |
11170 | ||
11171 | typedef struct | |
11172 | { | |
11173 | UINT MaxCharSize; | |
11174 | BYTE DefaultChar[2]; | |
11175 | BYTE LeadByte[12]; | |
11176 | WCHAR UnicodeDefaultChar; | |
11177 | UINT CodePage; | |
11178 | CHAR CodePageName[260]; | |
11179 | } CPINFOEXA, *LPCPINFOEXA; | |
11180 | ||
11181 | typedef struct | |
11182 | { | |
11183 | UINT MaxCharSize; | |
11184 | BYTE DefaultChar[2]; | |
11185 | BYTE LeadByte[12]; | |
11186 | WCHAR UnicodeDefaultChar; | |
11187 | UINT CodePage; | |
11188 | WCHAR CodePageName[260]; | |
11189 | } CPINFOEXW, *LPCPINFOEXW; | |
11190 | ||
11191 | typedef CPINFOEXA CPINFOEX; | |
11192 | typedef LPCPINFOEXA LPCPINFOEX; | |
11193 | ||
11194 | typedef struct _numberfmtA { | |
11195 | UINT NumDigits; | |
11196 | UINT LeadingZero; | |
11197 | UINT Grouping; | |
11198 | LPSTR lpDecimalSep; | |
11199 | LPSTR lpThousandSep; | |
11200 | UINT NegativeOrder; | |
11201 | } NUMBERFMTA, *LPNUMBERFMTA; | |
11202 | ||
11203 | typedef struct _numberfmtW { | |
11204 | UINT NumDigits; | |
11205 | UINT LeadingZero; | |
11206 | UINT Grouping; | |
11207 | LPWSTR lpDecimalSep; | |
11208 | LPWSTR lpThousandSep; | |
11209 | UINT NegativeOrder; | |
11210 | } NUMBERFMTW, *LPNUMBERFMTW; | |
11211 | ||
11212 | typedef NUMBERFMTA NUMBERFMT; | |
11213 | typedef LPNUMBERFMTA LPNUMBERFMT; | |
11214 | ||
11215 | typedef struct _currencyfmtA | |
11216 | { | |
11217 | UINT NumDigits; | |
11218 | UINT LeadingZero; | |
11219 | UINT Grouping; | |
11220 | LPSTR lpDecimalSep; | |
11221 | LPSTR lpThousandSep; | |
11222 | UINT NegativeOrder; | |
11223 | UINT PositiveOrder; | |
11224 | LPSTR lpCurrencySymbol; | |
11225 | } CURRENCYFMTA, *LPCURRENCYFMTA; | |
11226 | ||
11227 | typedef struct _currencyfmtW | |
11228 | { | |
11229 | UINT NumDigits; | |
11230 | UINT LeadingZero; | |
11231 | UINT Grouping; | |
11232 | LPWSTR lpDecimalSep; | |
11233 | LPWSTR lpThousandSep; | |
11234 | UINT NegativeOrder; | |
11235 | UINT PositiveOrder; | |
11236 | LPWSTR lpCurrencySymbol; | |
11237 | } CURRENCYFMTW, *LPCURRENCYFMTW; | |
11238 | ||
11239 | typedef CURRENCYFMTA CURRENCYFMT; | |
11240 | typedef LPCURRENCYFMTA LPCURRENCYFMT; | |
11241 | ||
11242 | ||
11243 | ||
11244 | ||
11245 | ||
11246 | typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCA)(LPSTR); | |
11247 | typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCW)(LPWSTR); | |
11248 | typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCEXA)(LPSTR,CALID); | |
11249 | typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCEXW)(LPWSTR,CALID); | |
11250 | typedef BOOL (__attribute__((__stdcall__)) *CODEPAGE_ENUMPROCA)(LPSTR); | |
11251 | typedef BOOL (__attribute__((__stdcall__)) *CODEPAGE_ENUMPROCW)(LPWSTR); | |
11252 | typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCA)(LPSTR); | |
11253 | typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCW)(LPWSTR); | |
11254 | typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCEXA)(LPSTR,CALID); | |
11255 | typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCEXW)(LPWSTR,CALID); | |
11256 | typedef BOOL (__attribute__((__stdcall__)) *GEO_ENUMPROC)(GEOID); | |
11257 | typedef BOOL (__attribute__((__stdcall__)) *LANGGROUPLOCALE_ENUMPROCA)(LGRPID,LCID,LPSTR,LONG_PTR); | |
11258 | typedef BOOL (__attribute__((__stdcall__)) *LANGGROUPLOCALE_ENUMPROCW)(LGRPID,LCID,LPWSTR,LONG_PTR); | |
11259 | typedef BOOL (__attribute__((__stdcall__)) *LANGUAGEGROUP_ENUMPROCA)(LGRPID,LPSTR,LPSTR,DWORD,LONG_PTR); | |
11260 | typedef BOOL (__attribute__((__stdcall__)) *LANGUAGEGROUP_ENUMPROCW)(LGRPID,LPWSTR,LPWSTR,DWORD,LONG_PTR); | |
11261 | typedef BOOL (__attribute__((__stdcall__)) *LOCALE_ENUMPROCA)(LPSTR); | |
11262 | typedef BOOL (__attribute__((__stdcall__)) *LOCALE_ENUMPROCW)(LPWSTR); | |
11263 | typedef BOOL (__attribute__((__stdcall__)) *TIMEFMT_ENUMPROCA)(LPSTR); | |
11264 | typedef BOOL (__attribute__((__stdcall__)) *TIMEFMT_ENUMPROCW)(LPWSTR); | |
11265 | typedef BOOL (__attribute__((__stdcall__)) *UILANGUAGE_ENUMPROCA)(LPSTR,LONG_PTR); | |
11266 | typedef BOOL (__attribute__((__stdcall__)) *UILANGUAGE_ENUMPROCW)(LPWSTR,LONG_PTR); | |
11267 | # 624 "../../../include/winnls.h" | |
11268 | typedef CALINFO_ENUMPROCA CALINFO_ENUMPROC; | |
11269 | typedef CALINFO_ENUMPROCEXA CALINFO_ENUMPROCEX; | |
11270 | typedef CODEPAGE_ENUMPROCA CODEPAGE_ENUMPROC; | |
11271 | typedef DATEFMT_ENUMPROCA DATEFMT_ENUMPROC; | |
11272 | typedef DATEFMT_ENUMPROCEXA DATEFMT_ENUMPROCEX; | |
11273 | typedef LANGGROUPLOCALE_ENUMPROCA LANGGROUPLOCALE_ENUMPROC; | |
11274 | typedef LANGUAGEGROUP_ENUMPROCA LANGUAGEGROUP_ENUMPROC; | |
11275 | typedef LOCALE_ENUMPROCA LOCALE_ENUMPROC; | |
11276 | typedef TIMEFMT_ENUMPROCA TIMEFMT_ENUMPROC; | |
11277 | typedef UILANGUAGE_ENUMPROCA UILANGUAGE_ENUMPROC; | |
11278 | ||
11279 | ||
11280 | enum SYSGEOTYPE | |
11281 | { | |
11282 | GEO_NATION = 1, | |
11283 | GEO_LATITUDE, | |
11284 | GEO_LONGITUDE, | |
11285 | GEO_ISO2, | |
11286 | GEO_ISO3, | |
11287 | GEO_RFC1766, | |
11288 | GEO_LCID, | |
11289 | GEO_FRIENDLYNAME, | |
11290 | GEO_OFFICIALNAME, | |
11291 | GEO_TIMEZONES, | |
11292 | GEO_OFFICIALLANGUAGES | |
11293 | }; | |
11294 | ||
11295 | enum SYSGEOCLASS | |
11296 | { | |
11297 | GEOCLASS_REGION = 14, | |
11298 | GEOCLASS_NATION = 16 | |
11299 | }; | |
11300 | ||
11301 | ||
11302 | ||
11303 | ||
11304 | ||
11305 | ||
11306 | ||
11307 | INT __attribute__((__stdcall__)) CompareStringA(LCID,DWORD,LPCSTR,INT,LPCSTR,INT); | |
11308 | INT __attribute__((__stdcall__)) CompareStringW(LCID,DWORD,LPCWSTR,INT,LPCWSTR,INT); | |
11309 | ||
11310 | LCID __attribute__((__stdcall__)) ConvertDefaultLocale(LCID); | |
11311 | BOOL __attribute__((__stdcall__)) EnumCalendarInfoA(CALINFO_ENUMPROCA,LCID,CALID,CALTYPE); | |
11312 | BOOL __attribute__((__stdcall__)) EnumCalendarInfoW(CALINFO_ENUMPROCW,LCID,CALID,CALTYPE); | |
11313 | ||
11314 | BOOL __attribute__((__stdcall__)) EnumCalendarInfoExA(CALINFO_ENUMPROCEXA,LCID,CALID,CALTYPE); | |
11315 | BOOL __attribute__((__stdcall__)) EnumCalendarInfoExW(CALINFO_ENUMPROCEXW,LCID,CALID,CALTYPE); | |
11316 | ||
11317 | BOOL __attribute__((__stdcall__)) EnumDateFormatsA(DATEFMT_ENUMPROCA,LCID,DWORD); | |
11318 | BOOL __attribute__((__stdcall__)) EnumDateFormatsW(DATEFMT_ENUMPROCW,LCID,DWORD); | |
11319 | ||
11320 | BOOL __attribute__((__stdcall__)) EnumDateFormatsExA(DATEFMT_ENUMPROCEXA,LCID,DWORD); | |
11321 | BOOL __attribute__((__stdcall__)) EnumDateFormatsExW(DATEFMT_ENUMPROCEXW,LCID,DWORD); | |
11322 | ||
11323 | BOOL __attribute__((__stdcall__)) EnumSystemCodePagesA(CODEPAGE_ENUMPROCA,DWORD); | |
11324 | BOOL __attribute__((__stdcall__)) EnumSystemCodePagesW(CODEPAGE_ENUMPROCW,DWORD); | |
11325 | ||
11326 | BOOL __attribute__((__stdcall__)) EnumSystemGeoID(GEOCLASS,GEOID,GEO_ENUMPROC); | |
11327 | BOOL __attribute__((__stdcall__)) EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD); | |
11328 | BOOL __attribute__((__stdcall__)) EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD); | |
11329 | ||
11330 | BOOL __attribute__((__stdcall__)) EnumSystemLanguageGroupsA(LANGUAGEGROUP_ENUMPROCA,DWORD,LONG_PTR); | |
11331 | BOOL __attribute__((__stdcall__)) EnumSystemLanguageGroupsW(LANGUAGEGROUP_ENUMPROCW,DWORD,LONG_PTR); | |
11332 | ||
11333 | BOOL __attribute__((__stdcall__)) EnumLanguageGroupLocalesA(LANGGROUPLOCALE_ENUMPROCA,LGRPID,DWORD,LONG_PTR); | |
11334 | BOOL __attribute__((__stdcall__)) EnumLanguageGroupLocalesW(LANGGROUPLOCALE_ENUMPROCW,LGRPID,DWORD,LONG_PTR); | |
11335 | ||
11336 | BOOL __attribute__((__stdcall__)) EnumTimeFormatsA(TIMEFMT_ENUMPROCA,LCID,DWORD); | |
11337 | BOOL __attribute__((__stdcall__)) EnumTimeFormatsW(TIMEFMT_ENUMPROCW,LCID,DWORD); | |
11338 | ||
11339 | BOOL __attribute__((__stdcall__)) EnumUILanguagesA(UILANGUAGE_ENUMPROCA,DWORD,LONG_PTR); | |
11340 | BOOL __attribute__((__stdcall__)) EnumUILanguagesW(UILANGUAGE_ENUMPROCW,DWORD,LONG_PTR); | |
11341 | ||
11342 | INT __attribute__((__stdcall__)) FoldStringA(DWORD,LPCSTR,INT,LPSTR,INT); | |
11343 | INT __attribute__((__stdcall__)) FoldStringW(DWORD,LPCWSTR,INT,LPWSTR,INT); | |
11344 | ||
11345 | UINT __attribute__((__stdcall__)) GetACP(void); | |
11346 | BOOL __attribute__((__stdcall__)) GetCPInfo(UINT,LPCPINFO); | |
11347 | BOOL __attribute__((__stdcall__)) GetCPInfoExA(UINT,DWORD,LPCPINFOEXA); | |
11348 | BOOL __attribute__((__stdcall__)) GetCPInfoExW(UINT,DWORD,LPCPINFOEXW); | |
11349 | ||
11350 | INT __attribute__((__stdcall__)) GetCalendarInfoA(LCID,DWORD,DWORD,LPSTR,INT,LPDWORD); | |
11351 | INT __attribute__((__stdcall__)) GetCalendarInfoW(LCID,DWORD,DWORD,LPWSTR,INT,LPDWORD); | |
11352 | ||
11353 | INT __attribute__((__stdcall__)) GetCurrencyFormatA(LCID,DWORD,LPCSTR,const CURRENCYFMTA*,LPSTR,INT); | |
11354 | INT __attribute__((__stdcall__)) GetCurrencyFormatW(LCID,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,INT); | |
11355 | ||
11356 | INT __attribute__((__stdcall__)) GetDateFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT); | |
11357 | INT __attribute__((__stdcall__)) GetDateFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT); | |
11358 | ||
11359 | INT __attribute__((__stdcall__)) GetGeoInfoA(GEOID,GEOTYPE,LPSTR,INT,LANGID); | |
11360 | INT __attribute__((__stdcall__)) GetGeoInfoW(GEOID,GEOTYPE,LPWSTR,INT,LANGID); | |
11361 | ||
11362 | INT __attribute__((__stdcall__)) GetLocaleInfoA(LCID,LCTYPE,LPSTR,INT); | |
11363 | INT __attribute__((__stdcall__)) GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT); | |
11364 | ||
11365 | INT __attribute__((__stdcall__)) GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,INT); | |
11366 | INT __attribute__((__stdcall__)) GetNumberFormatW(LCID,DWORD,LPCWSTR,const NUMBERFMTW*,LPWSTR,INT); | |
11367 | ||
11368 | UINT __attribute__((__stdcall__)) GetOEMCP(void); | |
11369 | BOOL __attribute__((__stdcall__)) GetStringTypeA(LCID,DWORD,LPCSTR,INT,LPWORD); | |
11370 | BOOL __attribute__((__stdcall__)) GetStringTypeW(DWORD,LPCWSTR,INT,LPWORD); | |
11371 | BOOL __attribute__((__stdcall__)) GetStringTypeExA(LCID,DWORD,LPCSTR,INT,LPWORD); | |
11372 | BOOL __attribute__((__stdcall__)) GetStringTypeExW(LCID,DWORD,LPCWSTR,INT,LPWORD); | |
11373 | ||
11374 | LANGID __attribute__((__stdcall__)) GetSystemDefaultLangID(void); | |
11375 | LCID __attribute__((__stdcall__)) GetSystemDefaultLCID(void); | |
11376 | LANGID __attribute__((__stdcall__)) GetSystemDefaultUILanguage(void); | |
11377 | LCID __attribute__((__stdcall__)) GetThreadLocale(void); | |
11378 | INT __attribute__((__stdcall__)) GetTimeFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT); | |
11379 | INT __attribute__((__stdcall__)) GetTimeFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT); | |
11380 | ||
11381 | LANGID __attribute__((__stdcall__)) GetUserDefaultLangID(void); | |
11382 | LCID __attribute__((__stdcall__)) GetUserDefaultLCID(void); | |
11383 | LANGID __attribute__((__stdcall__)) GetUserDefaultUILanguage(void); | |
11384 | GEOID __attribute__((__stdcall__)) GetUserGeoID(GEOCLASS); | |
11385 | BOOL __attribute__((__stdcall__)) IsDBCSLeadByte(BYTE); | |
11386 | BOOL __attribute__((__stdcall__)) IsDBCSLeadByteEx(UINT,BYTE); | |
11387 | BOOL __attribute__((__stdcall__)) IsValidCodePage(UINT); | |
11388 | BOOL __attribute__((__stdcall__)) IsValidLocale(LCID,DWORD); | |
11389 | BOOL __attribute__((__stdcall__)) IsValidLanguageGroup(LGRPID,DWORD); | |
11390 | INT __attribute__((__stdcall__)) LCMapStringA(LCID,DWORD,LPCSTR,INT,LPSTR,INT); | |
11391 | INT __attribute__((__stdcall__)) LCMapStringW(LCID,DWORD,LPCWSTR,INT,LPWSTR,INT); | |
11392 | ||
11393 | INT __attribute__((__stdcall__)) MultiByteToWideChar(UINT,DWORD,LPCSTR,INT,LPWSTR,INT); | |
11394 | INT __attribute__((__stdcall__)) SetCalendarInfoA(LCID,CALID,CALTYPE,LPCSTR); | |
11395 | INT __attribute__((__stdcall__)) SetCalendarInfoW(LCID,CALID,CALTYPE,LPCWSTR); | |
11396 | ||
11397 | BOOL __attribute__((__stdcall__)) SetLocaleInfoA(LCID,LCTYPE,LPCSTR); | |
11398 | BOOL __attribute__((__stdcall__)) SetLocaleInfoW(LCID,LCTYPE,LPCWSTR); | |
11399 | ||
11400 | BOOL __attribute__((__stdcall__)) SetThreadLocale(LCID); | |
11401 | BOOL __attribute__((__stdcall__)) SetUserGeoID(GEOID); | |
11402 | INT __attribute__((__stdcall__)) WideCharToMultiByte(UINT,DWORD,LPCWSTR,INT,LPSTR,INT,LPCSTR,LPBOOL); | |
11403 | # 43 "../../../include/windows.h" 2 | |
11404 | # 1 "../../../include/wincon.h" 1 | |
11405 | # 43 "../../../include/wincon.h" | |
11406 | typedef BOOL (__attribute__((__stdcall__)) *PHANDLER_ROUTINE)(DWORD dwCtrlType); | |
11407 | # 56 "../../../include/wincon.h" | |
11408 | typedef struct _CONSOLE_CURSOR_INFO { | |
11409 | DWORD dwSize; | |
11410 | BOOL bVisible; | |
11411 | } CONSOLE_CURSOR_INFO, *LPCONSOLE_CURSOR_INFO; | |
11412 | ||
11413 | typedef struct tagCOORD | |
11414 | { | |
11415 | SHORT X; | |
11416 | SHORT Y; | |
11417 | } COORD, *LPCOORD; | |
11418 | ||
11419 | typedef struct tagSMALL_RECT | |
11420 | { | |
11421 | SHORT Left; | |
11422 | SHORT Top; | |
11423 | SHORT Right; | |
11424 | SHORT Bottom; | |
11425 | } SMALL_RECT,*LPSMALL_RECT; | |
11426 | ||
11427 | typedef struct tagCONSOLE_SCREEN_BUFFER_INFO | |
11428 | { | |
11429 | COORD dwSize; | |
11430 | COORD dwCursorPosition; | |
11431 | WORD wAttributes; | |
11432 | SMALL_RECT srWindow; | |
11433 | COORD dwMaximumWindowSize; | |
11434 | } CONSOLE_SCREEN_BUFFER_INFO,*LPCONSOLE_SCREEN_BUFFER_INFO; | |
11435 | ||
11436 | typedef struct tagCHAR_INFO | |
11437 | { | |
11438 | union | |
11439 | { | |
11440 | WCHAR UnicodeChar; | |
11441 | CHAR AsciiChar; | |
11442 | } Char; | |
11443 | WORD Attributes; | |
11444 | } CHAR_INFO,*LPCHAR_INFO; | |
11445 | ||
11446 | typedef struct tagKEY_EVENT_RECORD | |
11447 | { | |
11448 | BOOL bKeyDown; | |
11449 | WORD wRepeatCount; | |
11450 | WORD wVirtualKeyCode; | |
11451 | WORD wVirtualScanCode; | |
11452 | union | |
11453 | { | |
11454 | WCHAR UnicodeChar; | |
11455 | CHAR AsciiChar; | |
11456 | } uChar; | |
11457 | DWORD dwControlKeyState; | |
11458 | } KEY_EVENT_RECORD,*LPKEY_EVENT_RECORD; | |
11459 | # 119 "../../../include/wincon.h" | |
11460 | typedef struct tagMOUSE_EVENT_RECORD | |
11461 | { | |
11462 | COORD dwMousePosition; | |
11463 | DWORD dwButtonState; | |
11464 | DWORD dwControlKeyState; | |
11465 | DWORD dwEventFlags; | |
11466 | } MOUSE_EVENT_RECORD,*LPMOUSE_EVENT_RECORD; | |
11467 | # 137 "../../../include/wincon.h" | |
11468 | typedef struct tagWINDOW_BUFFER_SIZE_RECORD | |
11469 | { | |
11470 | COORD dwSize; | |
11471 | } WINDOW_BUFFER_SIZE_RECORD,*LPWINDOW_BUFFER_SIZE_RECORD; | |
11472 | ||
11473 | typedef struct tagMENU_EVENT_RECORD | |
11474 | { | |
11475 | UINT dwCommandId; | |
11476 | } MENU_EVENT_RECORD,*LPMENU_EVENT_RECORD; | |
11477 | ||
11478 | typedef struct tagFOCUS_EVENT_RECORD | |
11479 | { | |
11480 | BOOL bSetFocus; | |
11481 | } FOCUS_EVENT_RECORD,*LPFOCUS_EVENT_RECORD; | |
11482 | ||
11483 | typedef struct tagINPUT_RECORD | |
11484 | { | |
11485 | WORD EventType; | |
11486 | union | |
11487 | { | |
11488 | KEY_EVENT_RECORD KeyEvent; | |
11489 | MOUSE_EVENT_RECORD MouseEvent; | |
11490 | WINDOW_BUFFER_SIZE_RECORD WindowBufferSizeEvent; | |
11491 | MENU_EVENT_RECORD MenuEvent; | |
11492 | FOCUS_EVENT_RECORD FocusEvent; | |
11493 | } Event; | |
11494 | } INPUT_RECORD,*PINPUT_RECORD; | |
11495 | # 177 "../../../include/wincon.h" | |
11496 | DWORD __attribute__((__stdcall__)) GetLargestConsoleWindowSize(HANDLE); | |
11497 | ||
11498 | inline static COORD __wine_GetLargestConsoleWindowSize_wrapper(HANDLE h) | |
11499 | { | |
11500 | union { | |
11501 | COORD c; | |
11502 | DWORD dw; | |
11503 | } u; | |
11504 | u.dw = GetLargestConsoleWindowSize(h); | |
11505 | return u.c; | |
11506 | } | |
11507 | ||
11508 | ||
11509 | ||
11510 | ||
11511 | ||
11512 | ||
11513 | BOOL __attribute__((__stdcall__)) AllocConsole(void); | |
11514 | HANDLE __attribute__((__stdcall__)) CreateConsoleScreenBuffer( DWORD dwDesiredAccess, DWORD dwShareMode, | |
11515 | LPSECURITY_ATTRIBUTES sa, DWORD dwFlags, | |
11516 | LPVOID lpScreenBufferData); | |
11517 | BOOL __attribute__((__stdcall__)) FillConsoleOutputAttribute( HANDLE hConsoleOutput, WORD wAttribute, DWORD nLength, | |
11518 | COORD dwCoord, LPDWORD lpNumAttrsWritten); | |
11519 | BOOL __attribute__((__stdcall__)) FillConsoleOutputCharacterA(HANDLE,CHAR,DWORD,COORD,LPDWORD); | |
11520 | BOOL __attribute__((__stdcall__)) FillConsoleOutputCharacterW(HANDLE,WCHAR,DWORD,COORD,LPDWORD); | |
11521 | ||
11522 | BOOL __attribute__((__stdcall__)) FlushConsoleInputBuffer( HANDLE handle); | |
11523 | BOOL __attribute__((__stdcall__)) FreeConsole(void); | |
11524 | BOOL __attribute__((__stdcall__)) GenerateConsoleCtrlEvent( DWORD dwCtrlEvent, DWORD dwProcessGroupID); | |
11525 | UINT __attribute__((__stdcall__)) GetConsoleCP(void); | |
11526 | BOOL __attribute__((__stdcall__)) GetConsoleCursorInfo( HANDLE hcon, LPCONSOLE_CURSOR_INFO cinfo); | |
11527 | BOOL __attribute__((__stdcall__)) GetConsoleMode( HANDLE hcon,LPDWORD mode); | |
11528 | UINT __attribute__((__stdcall__)) GetConsoleOutputCP(void); | |
11529 | BOOL __attribute__((__stdcall__)) GetConsoleScreenBufferInfo(HANDLE hConsoleOutput, | |
11530 | LPCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo); | |
11531 | DWORD __attribute__((__stdcall__)) GetConsoleTitleA(LPSTR title,DWORD size); | |
11532 | DWORD __attribute__((__stdcall__)) GetConsoleTitleW(LPWSTR title, DWORD size); | |
11533 | ||
11534 | HWND __attribute__((__stdcall__)) GetConsoleWindow(void); | |
11535 | BOOL __attribute__((__stdcall__)) GetNumberOfConsoleInputEvents( HANDLE hcon,LPDWORD nrofevents); | |
11536 | BOOL __attribute__((__stdcall__)) GetNumberOfConsoleMouseButtons(LPDWORD nrofbuttons); | |
11537 | BOOL __attribute__((__stdcall__)) PeekConsoleInputA( HANDLE handle, PINPUT_RECORD buffer, DWORD count, LPDWORD read ); | |
11538 | BOOL __attribute__((__stdcall__)) PeekConsoleInputW( HANDLE handle, PINPUT_RECORD buffer, DWORD count, LPDWORD read ); | |
11539 | ||
11540 | BOOL __attribute__((__stdcall__)) ReadConsoleA(HANDLE hConsoleInput, LPVOID lpBuffer, DWORD nNumberOfCharsToRead, | |
11541 | LPDWORD lpNumberOfCharsRead, LPVOID lpReserved); | |
11542 | BOOL __attribute__((__stdcall__)) ReadConsoleW(HANDLE hConsoleInput, LPVOID lpBuffer, DWORD nNumberOfCharsToRead, | |
11543 | LPDWORD lpNumberOfCharsRead, LPVOID lpReserved); | |
11544 | ||
11545 | BOOL __attribute__((__stdcall__)) ReadConsoleInputA(HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, | |
11546 | LPDWORD lpNumberOfEventsRead); | |
11547 | BOOL __attribute__((__stdcall__)) ReadConsoleInputW(HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, | |
11548 | LPDWORD lpNumberOfEventsRead); | |
11549 | ||
11550 | BOOL __attribute__((__stdcall__)) ReadConsoleOutputA( HANDLE hConsoleOutput, LPCHAR_INFO lpBuffer, COORD dwBufferSize, | |
11551 | COORD dwBufferCoord, LPSMALL_RECT lpReadRegion ); | |
11552 | BOOL __attribute__((__stdcall__)) ReadConsoleOutputW( HANDLE hConsoleOutput, LPCHAR_INFO lpBuffer, COORD dwBufferSize, | |
11553 | COORD dwBufferCoord, LPSMALL_RECT lpReadRegion ); | |
11554 | ||
11555 | BOOL __attribute__((__stdcall__)) ReadConsoleOutputAttribute( HANDLE hConsoleOutput, LPWORD lpAttribute, DWORD nLength, | |
11556 | COORD dwReadCoord, LPDWORD lpNumberOfAttrsRead); | |
11557 | BOOL __attribute__((__stdcall__)) ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD,COORD,LPDWORD); | |
11558 | BOOL __attribute__((__stdcall__)) ReadConsoleOutputCharacterW(HANDLE,LPWSTR,DWORD,COORD,LPDWORD); | |
11559 | ||
11560 | BOOL __attribute__((__stdcall__)) ScrollConsoleScreenBufferA( HANDLE hConsoleOutput, LPSMALL_RECT lpScrollRect, | |
11561 | LPSMALL_RECT lpClipRect, COORD dwDestOrigin, | |
11562 | LPCHAR_INFO lpFill); | |
11563 | BOOL __attribute__((__stdcall__)) ScrollConsoleScreenBufferW( HANDLE hConsoleOutput, LPSMALL_RECT lpScrollRect, | |
11564 | LPSMALL_RECT lpClipRect, COORD dwDestOrigin, | |
11565 | LPCHAR_INFO lpFill); | |
11566 | ||
11567 | BOOL __attribute__((__stdcall__)) SetConsoleActiveScreenBuffer( HANDLE hConsoleOutput); | |
11568 | BOOL __attribute__((__stdcall__)) SetConsoleCP(UINT cp); | |
11569 | BOOL __attribute__((__stdcall__)) SetConsoleCtrlHandler( PHANDLER_ROUTINE func, BOOL add); | |
11570 | BOOL __attribute__((__stdcall__)) SetConsoleCursorInfo( HANDLE hcon, LPCONSOLE_CURSOR_INFO cinfo); | |
11571 | BOOL __attribute__((__stdcall__)) SetConsoleCursorPosition(HANDLE,COORD); | |
11572 | BOOL __attribute__((__stdcall__)) SetConsoleMode( HANDLE hcon, DWORD mode); | |
11573 | BOOL __attribute__((__stdcall__)) SetConsoleOutputCP(UINT cp); | |
11574 | BOOL __attribute__((__stdcall__)) SetConsoleScreenBufferSize(HANDLE hConsoleOutput, COORD dwSize); | |
11575 | BOOL __attribute__((__stdcall__)) SetConsoleTextAttribute( HANDLE hConsoleOutput,WORD wAttr); | |
11576 | BOOL __attribute__((__stdcall__)) SetConsoleTitleA(LPCSTR title); | |
11577 | BOOL __attribute__((__stdcall__)) SetConsoleTitleW(LPCWSTR title); | |
11578 | ||
11579 | BOOL __attribute__((__stdcall__)) SetConsoleWindowInfo( HANDLE hcon, BOOL bAbsolute, LPSMALL_RECT window); | |
11580 | BOOL __attribute__((__stdcall__)) WriteConsoleA(HANDLE,const void *,DWORD,LPDWORD,LPVOID); | |
11581 | BOOL __attribute__((__stdcall__)) WriteConsoleW(HANDLE, const void *lpBuffer, DWORD,LPDWORD,LPVOID); | |
11582 | ||
11583 | BOOL __attribute__((__stdcall__)) WriteConsoleInputA(HANDLE,const INPUT_RECORD *,DWORD,LPDWORD); | |
11584 | BOOL __attribute__((__stdcall__)) WriteConsoleInputW(HANDLE,const INPUT_RECORD *,DWORD,LPDWORD); | |
11585 | ||
11586 | BOOL __attribute__((__stdcall__)) WriteConsoleOutputA(HANDLE,const CHAR_INFO*,COORD,COORD,LPSMALL_RECT); | |
11587 | BOOL __attribute__((__stdcall__)) WriteConsoleOutputW(HANDLE,const CHAR_INFO*,COORD,COORD,LPSMALL_RECT); | |
11588 | ||
11589 | BOOL __attribute__((__stdcall__)) WriteConsoleOutputAttribute(HANDLE,const WORD *,DWORD,COORD,LPDWORD); | |
11590 | BOOL __attribute__((__stdcall__)) WriteConsoleOutputCharacterA(HANDLE,LPCSTR,DWORD,COORD,LPDWORD); | |
11591 | BOOL __attribute__((__stdcall__)) WriteConsoleOutputCharacterW(HANDLE,LPCWSTR,DWORD,COORD,LPDWORD); | |
11592 | # 44 "../../../include/windows.h" 2 | |
11593 | # 1 "../../../include/winver.h" 1 | |
11594 | # 132 "../../../include/winver.h" | |
11595 | typedef struct tagVS_FIXEDFILEINFO { | |
11596 | DWORD dwSignature; | |
11597 | DWORD dwStrucVersion; | |
11598 | DWORD dwFileVersionMS; | |
11599 | DWORD dwFileVersionLS; | |
11600 | DWORD dwProductVersionMS; | |
11601 | DWORD dwProductVersionLS; | |
11602 | DWORD dwFileFlagsMask; | |
11603 | DWORD dwFileFlags; | |
11604 | DWORD dwFileOS; | |
11605 | DWORD dwFileType; | |
11606 | DWORD dwFileSubtype; | |
11607 | DWORD dwFileDateMS; | |
11608 | DWORD dwFileDateLS; | |
11609 | } VS_FIXEDFILEINFO; | |
11610 | ||
11611 | ||
11612 | ||
11613 | ||
11614 | ||
11615 | ||
11616 | DWORD __attribute__((__stdcall__)) VerFindFileA(UINT,LPSTR,LPSTR,LPSTR,LPSTR,UINT*,LPSTR,UINT*); | |
11617 | DWORD __attribute__((__stdcall__)) VerFindFileW(UINT,LPWSTR,LPWSTR,LPWSTR,LPWSTR,UINT*,LPWSTR,UINT*); | |
11618 | ||
11619 | DWORD __attribute__((__stdcall__)) VerInstallFileA(UINT,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,UINT*); | |
11620 | DWORD __attribute__((__stdcall__)) VerInstallFileW(UINT,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,UINT*); | |
11621 | ||
11622 | DWORD __attribute__((__stdcall__)) VerLanguageNameA(UINT,LPSTR,UINT); | |
11623 | DWORD __attribute__((__stdcall__)) VerLanguageNameW(UINT,LPWSTR,UINT); | |
11624 | ||
11625 | BOOL __attribute__((__stdcall__)) VerQueryValueA(LPVOID,LPSTR,LPVOID*,UINT*); | |
11626 | BOOL __attribute__((__stdcall__)) VerQueryValueW(LPVOID,LPWSTR,LPVOID*,UINT*); | |
11627 | ||
11628 | DWORD __attribute__((__stdcall__)) GetFileVersionInfoSizeA(LPCSTR,LPDWORD); | |
11629 | DWORD __attribute__((__stdcall__)) GetFileVersionInfoSizeW(LPCWSTR,LPDWORD); | |
11630 | ||
11631 | BOOL __attribute__((__stdcall__)) GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID); | |
11632 | BOOL __attribute__((__stdcall__)) GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID); | |
11633 | # 45 "../../../include/windows.h" 2 | |
11634 | # 1 "../../../include/winreg.h" 1 | |
11635 | # 39 "../../../include/winreg.h" | |
11636 | typedef struct value_entA | |
11637 | { LPSTR ve_valuename; | |
11638 | DWORD ve_valuelen; | |
11639 | DWORD_PTR ve_valueptr; | |
11640 | DWORD ve_type; | |
11641 | } VALENTA, *PVALENTA; | |
11642 | ||
11643 | typedef struct value_entW { | |
11644 | LPWSTR ve_valuename; | |
11645 | DWORD ve_valuelen; | |
11646 | DWORD_PTR ve_valueptr; | |
11647 | DWORD ve_type; | |
11648 | } VALENTW, *PVALENTW; | |
11649 | ||
11650 | typedef ACCESS_MASK REGSAM; | |
11651 | ||
11652 | ||
11653 | ||
11654 | ||
11655 | # 1 "../../../include/reason.h" 1 | |
11656 | # 59 "../../../include/winreg.h" 2 | |
11657 | # 83 "../../../include/winreg.h" | |
11658 | BOOL __attribute__((__stdcall__)) AbortSystemShutdownA(LPSTR); | |
11659 | BOOL __attribute__((__stdcall__)) AbortSystemShutdownW(LPWSTR); | |
11660 | ||
11661 | BOOL __attribute__((__stdcall__)) InitiateSystemShutdownA(LPSTR,LPSTR,DWORD,BOOL,BOOL); | |
11662 | BOOL __attribute__((__stdcall__)) InitiateSystemShutdownW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL); | |
11663 | ||
11664 | BOOL __attribute__((__stdcall__)) InitiateSystemShutdownExA(LPSTR,LPSTR,DWORD,BOOL,BOOL,DWORD); | |
11665 | BOOL __attribute__((__stdcall__)) InitiateSystemShutdownExW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL,DWORD); | |
11666 | ||
11667 | LONG __attribute__((__stdcall__)) RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPSTR,DWORD,REGSAM, | |
11668 | LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD); | |
11669 | LONG __attribute__((__stdcall__)) RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM, | |
11670 | LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD); | |
11671 | ||
11672 | LONG __attribute__((__stdcall__)) RegSaveKeyA(HKEY,LPCSTR,LPSECURITY_ATTRIBUTES); | |
11673 | LONG __attribute__((__stdcall__)) RegSaveKeyW(HKEY,LPCWSTR,LPSECURITY_ATTRIBUTES); | |
11674 | ||
11675 | LONG __attribute__((__stdcall__)) RegSetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); | |
11676 | LONG __attribute__((__stdcall__)) RegConnectRegistryA(LPCSTR,HKEY,PHKEY); | |
11677 | LONG __attribute__((__stdcall__)) RegConnectRegistryW(LPCWSTR,HKEY,PHKEY); | |
11678 | ||
11679 | LONG __attribute__((__stdcall__)) RegEnumKeyExA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPSTR, | |
11680 | LPDWORD,LPFILETIME); | |
11681 | LONG __attribute__((__stdcall__)) RegEnumKeyExW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPWSTR, | |
11682 | LPDWORD,LPFILETIME); | |
11683 | ||
11684 | LONG __attribute__((__stdcall__)) RegGetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,LPDWORD); | |
11685 | LONG __attribute__((__stdcall__)) RegGetValueA(HKEY,LPCSTR,LPCSTR,DWORD,LPDWORD,PVOID,LPDWORD); | |
11686 | LONG __attribute__((__stdcall__)) RegGetValueW(HKEY,LPCWSTR,LPCWSTR,DWORD,LPDWORD,PVOID,LPDWORD); | |
11687 | ||
11688 | LONG __attribute__((__stdcall__)) RegLoadKeyA(HKEY,LPCSTR,LPCSTR); | |
11689 | LONG __attribute__((__stdcall__)) RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR); | |
11690 | ||
11691 | LONG __attribute__((__stdcall__)) RegLoadMUIStringA(HKEY,LPCSTR,LPSTR,DWORD,LPDWORD,DWORD,LPCSTR); | |
11692 | LONG __attribute__((__stdcall__)) RegLoadMUIStringW(HKEY,LPCWSTR,LPWSTR,DWORD,LPDWORD,DWORD,LPCWSTR); | |
11693 | ||
11694 | LONG __attribute__((__stdcall__)) RegNotifyChangeKeyValue(HKEY,BOOL,DWORD,HANDLE,BOOL); | |
11695 | LONG __attribute__((__stdcall__)) RegOpenCurrentUser(REGSAM,PHKEY); | |
11696 | LONG __attribute__((__stdcall__)) RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY); | |
11697 | LONG __attribute__((__stdcall__)) RegOpenKeyExA(HKEY,LPCSTR,DWORD,REGSAM,PHKEY); | |
11698 | ||
11699 | LONG __attribute__((__stdcall__)) RegOpenUserClassesRoot(HANDLE,DWORD,REGSAM,PHKEY); | |
11700 | LONG __attribute__((__stdcall__)) RegQueryInfoKeyW(HKEY,LPWSTR,LPDWORD,LPDWORD,LPDWORD, | |
11701 | LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD, | |
11702 | LPDWORD,LPFILETIME); | |
11703 | LONG __attribute__((__stdcall__)) RegQueryInfoKeyA(HKEY,LPSTR,LPDWORD,LPDWORD,LPDWORD, | |
11704 | LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD, | |
11705 | LPDWORD,LPFILETIME); | |
11706 | ||
11707 | LONG __attribute__((__stdcall__)) RegQueryMultipleValuesA(HKEY,PVALENTA,DWORD,LPSTR,LPDWORD); | |
11708 | LONG __attribute__((__stdcall__)) RegQueryMultipleValuesW(HKEY,PVALENTW,DWORD,LPWSTR,LPDWORD); | |
11709 | ||
11710 | LONG __attribute__((__stdcall__)) RegReplaceKeyA(HKEY,LPCSTR,LPCSTR,LPCSTR); | |
11711 | LONG __attribute__((__stdcall__)) RegReplaceKeyW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR); | |
11712 | ||
11713 | LONG __attribute__((__stdcall__)) RegRestoreKeyA(HKEY,LPCSTR,DWORD); | |
11714 | LONG __attribute__((__stdcall__)) RegRestoreKeyW(HKEY,LPCWSTR,DWORD); | |
11715 | ||
11716 | LONG __attribute__((__stdcall__)) RegUnLoadKeyA(HKEY,LPCSTR); | |
11717 | LONG __attribute__((__stdcall__)) RegUnLoadKeyW(HKEY,LPCWSTR); | |
11718 | ||
11719 | ||
11720 | ||
11721 | ||
11722 | LONG __attribute__((__stdcall__)) RegCloseKey(HKEY); | |
11723 | LONG __attribute__((__stdcall__)) RegFlushKey(HKEY); | |
11724 | ||
11725 | LONG __attribute__((__stdcall__)) RegCreateKeyA(HKEY,LPCSTR,PHKEY); | |
11726 | LONG __attribute__((__stdcall__)) RegCreateKeyW(HKEY,LPCWSTR,PHKEY); | |
11727 | ||
11728 | LONG __attribute__((__stdcall__)) RegDeleteKeyA(HKEY,LPCSTR); | |
11729 | LONG __attribute__((__stdcall__)) RegDeleteKeyW(HKEY,LPCWSTR); | |
11730 | ||
11731 | LONG __attribute__((__stdcall__)) RegDeleteValueA(HKEY,LPCSTR); | |
11732 | LONG __attribute__((__stdcall__)) RegDeleteValueW(HKEY,LPCWSTR); | |
11733 | ||
11734 | LONG __attribute__((__stdcall__)) RegEnumKeyA(HKEY,DWORD,LPSTR,DWORD); | |
11735 | LONG __attribute__((__stdcall__)) RegEnumKeyW(HKEY,DWORD,LPWSTR,DWORD); | |
11736 | ||
11737 | LONG __attribute__((__stdcall__)) RegEnumValueA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD); | |
11738 | LONG __attribute__((__stdcall__)) RegEnumValueW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD); | |
11739 | ||
11740 | LONG __attribute__((__stdcall__)) RegOpenKeyA(HKEY,LPCSTR,PHKEY); | |
11741 | LONG __attribute__((__stdcall__)) RegOpenKeyW(HKEY,LPCWSTR,PHKEY); | |
11742 | ||
11743 | LONG __attribute__((__stdcall__)) RegQueryValueA(HKEY,LPCSTR,LPSTR,LPLONG); | |
11744 | LONG __attribute__((__stdcall__)) RegQueryValueW(HKEY,LPCWSTR,LPWSTR,LPLONG); | |
11745 | ||
11746 | LONG __attribute__((__stdcall__)) RegQueryValueExA(HKEY,LPCSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); | |
11747 | LONG __attribute__((__stdcall__)) RegQueryValueExW(HKEY,LPCWSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); | |
11748 | ||
11749 | LONG __attribute__((__stdcall__)) RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD); | |
11750 | LONG __attribute__((__stdcall__)) RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD); | |
11751 | ||
11752 | LONG __attribute__((__stdcall__)) RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,const BYTE*,DWORD); | |
11753 | LONG __attribute__((__stdcall__)) RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,const BYTE*,DWORD); | |
11754 | # 46 "../../../include/windows.h" 2 | |
11755 | # 1 "../../../include/winnetwk.h" 1 | |
11756 | # 84 "../../../include/winnetwk.h" | |
11757 | typedef struct { | |
11758 | DWORD dwScope; | |
11759 | DWORD dwType; | |
11760 | DWORD dwDisplayType; | |
11761 | DWORD dwUsage; | |
11762 | LPSTR lpLocalName; | |
11763 | LPSTR lpRemoteName; | |
11764 | LPSTR lpComment ; | |
11765 | LPSTR lpProvider; | |
11766 | } NETRESOURCEA,*LPNETRESOURCEA; | |
11767 | ||
11768 | typedef struct { | |
11769 | DWORD dwScope; | |
11770 | DWORD dwType; | |
11771 | DWORD dwDisplayType; | |
11772 | DWORD dwUsage; | |
11773 | LPWSTR lpLocalName; | |
11774 | LPWSTR lpRemoteName; | |
11775 | LPWSTR lpComment ; | |
11776 | LPWSTR lpProvider; | |
11777 | } NETRESOURCEW,*LPNETRESOURCEW; | |
11778 | ||
11779 | typedef NETRESOURCEA NETRESOURCE; | |
11780 | typedef LPNETRESOURCEA LPNETRESOURCE; | |
11781 | # 127 "../../../include/winnetwk.h" | |
11782 | DWORD __attribute__((__stdcall__)) WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR); | |
11783 | DWORD __attribute__((__stdcall__)) WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR); | |
11784 | ||
11785 | DWORD __attribute__((__stdcall__)) WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); | |
11786 | DWORD __attribute__((__stdcall__)) WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); | |
11787 | ||
11788 | DWORD __attribute__((__stdcall__)) WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); | |
11789 | DWORD __attribute__((__stdcall__)) WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); | |
11790 | ||
11791 | DWORD __attribute__((__stdcall__)) WNetCancelConnectionA(LPCSTR,BOOL); | |
11792 | DWORD __attribute__((__stdcall__)) WNetCancelConnectionW(LPCWSTR,BOOL); | |
11793 | ||
11794 | DWORD __attribute__((__stdcall__)) WNetCancelConnection2A(LPCSTR,DWORD,BOOL); | |
11795 | DWORD __attribute__((__stdcall__)) WNetCancelConnection2W(LPCWSTR,DWORD,BOOL); | |
11796 | ||
11797 | DWORD __attribute__((__stdcall__)) WNetGetConnectionA(LPCSTR,LPSTR,LPDWORD); | |
11798 | DWORD __attribute__((__stdcall__)) WNetGetConnectionW(LPCWSTR,LPWSTR,LPDWORD); | |
11799 | ||
11800 | DWORD __attribute__((__stdcall__)) WNetUseConnectionA(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD,LPSTR,LPDWORD,LPDWORD); | |
11801 | DWORD __attribute__((__stdcall__)) WNetUseConnectionW(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPDWORD,LPDWORD); | |
11802 | ||
11803 | DWORD __attribute__((__stdcall__)) WNetSetConnectionA(LPCSTR,DWORD,LPVOID); | |
11804 | DWORD __attribute__((__stdcall__)) WNetSetConnectionW(LPCWSTR,DWORD,LPVOID); | |
11805 | ||
11806 | ||
11807 | ||
11808 | ||
11809 | ||
11810 | ||
11811 | typedef struct { | |
11812 | DWORD cbStructure; | |
11813 | HWND hwndOwner; | |
11814 | LPNETRESOURCEA lpConnRes; | |
11815 | DWORD dwFlags; | |
11816 | DWORD dwDevNum; | |
11817 | } CONNECTDLGSTRUCTA, *LPCONNECTDLGSTRUCTA; | |
11818 | typedef struct { | |
11819 | DWORD cbStructure; | |
11820 | HWND hwndOwner; | |
11821 | LPNETRESOURCEW lpConnRes; | |
11822 | DWORD dwFlags; | |
11823 | DWORD dwDevNum; | |
11824 | } CONNECTDLGSTRUCTW, *LPCONNECTDLGSTRUCTW; | |
11825 | ||
11826 | typedef CONNECTDLGSTRUCTA CONNECTDLGSTRUCT; | |
11827 | typedef LPCONNECTDLGSTRUCTA LPCONNECTDLGSTRUCT; | |
11828 | # 181 "../../../include/winnetwk.h" | |
11829 | typedef struct { | |
11830 | DWORD cbStructure; | |
11831 | HWND hwndOwner; | |
11832 | LPSTR lpLocalName; | |
11833 | LPSTR lpRemoteName; | |
11834 | DWORD dwFlags; | |
11835 | } DISCDLGSTRUCTA, *LPDISCDLGSTRUCTA; | |
11836 | typedef struct { | |
11837 | DWORD cbStructure; | |
11838 | HWND hwndOwner; | |
11839 | LPWSTR lpLocalName; | |
11840 | LPWSTR lpRemoteName; | |
11841 | DWORD dwFlags; | |
11842 | } DISCDLGSTRUCTW, *LPDISCDLGSTRUCTW; | |
11843 | ||
11844 | typedef DISCDLGSTRUCTA DISCDLGSTRUCT; | |
11845 | typedef LPDISCDLGSTRUCTA LPDISCDLGSTRUCT; | |
11846 | ||
11847 | ||
11848 | ||
11849 | ||
11850 | DWORD __attribute__((__stdcall__)) WNetConnectionDialog(HWND,DWORD); | |
11851 | DWORD __attribute__((__stdcall__)) WNetDisconnectDialog(HWND,DWORD); | |
11852 | DWORD __attribute__((__stdcall__)) WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA); | |
11853 | DWORD __attribute__((__stdcall__)) WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW); | |
11854 | ||
11855 | DWORD __attribute__((__stdcall__)) WNetDisconnectDialog1A(LPDISCDLGSTRUCTA); | |
11856 | DWORD __attribute__((__stdcall__)) WNetDisconnectDialog1W(LPDISCDLGSTRUCTW); | |
11857 | ||
11858 | ||
11859 | ||
11860 | ||
11861 | ||
11862 | ||
11863 | DWORD __attribute__((__stdcall__)) WNetOpenEnumA(DWORD,DWORD,DWORD,LPNETRESOURCEA,LPHANDLE); | |
11864 | DWORD __attribute__((__stdcall__)) WNetOpenEnumW(DWORD,DWORD,DWORD,LPNETRESOURCEW,LPHANDLE); | |
11865 | ||
11866 | DWORD __attribute__((__stdcall__)) WNetEnumResourceA(HANDLE,LPDWORD,LPVOID,LPDWORD); | |
11867 | DWORD __attribute__((__stdcall__)) WNetEnumResourceW(HANDLE,LPDWORD,LPVOID,LPDWORD); | |
11868 | ||
11869 | DWORD __attribute__((__stdcall__)) WNetGetResourceInformationA(LPNETRESOURCEA,LPVOID,LPDWORD,LPSTR*); | |
11870 | DWORD __attribute__((__stdcall__)) WNetGetResourceInformationW(LPNETRESOURCEW,LPVOID,LPDWORD,LPWSTR*); | |
11871 | ||
11872 | DWORD __attribute__((__stdcall__)) WNetGetResourceParentA(LPNETRESOURCEA,LPVOID,LPDWORD); | |
11873 | DWORD __attribute__((__stdcall__)) WNetGetResourceParentW(LPNETRESOURCEW,LPVOID,LPDWORD); | |
11874 | ||
11875 | DWORD __attribute__((__stdcall__)) WNetCloseEnum(HANDLE); | |
11876 | # 236 "../../../include/winnetwk.h" | |
11877 | typedef struct { | |
11878 | LPSTR lpUniversalName; | |
11879 | } UNIVERSAL_NAME_INFOA, *LPUNIVERSAL_NAME_INFOA; | |
11880 | typedef struct { | |
11881 | LPWSTR lpUniversalName; | |
11882 | } UNIVERSAL_NAME_INFOW, *LPUNIVERSAL_NAME_INFOW; | |
11883 | ||
11884 | typedef UNIVERSAL_NAME_INFOA UNIVERSAL_NAME_INFO; | |
11885 | typedef LPUNIVERSAL_NAME_INFOA LPUNIVERSAL_NAME_INFO; | |
11886 | ||
11887 | typedef struct { | |
11888 | LPSTR lpUniversalName; | |
11889 | LPSTR lpConnectionName; | |
11890 | LPSTR lpRemainingPath; | |
11891 | }REMOTE_NAME_INFOA, *LPREMOTE_NAME_INFOA; | |
11892 | typedef struct { | |
11893 | LPWSTR lpUniversalName; | |
11894 | LPWSTR lpConnectionName; | |
11895 | LPWSTR lpRemainingPath; | |
11896 | }REMOTE_NAME_INFOW, *LPREMOTE_NAME_INFOW; | |
11897 | ||
11898 | typedef REMOTE_NAME_INFOA REMOTE_NAME_INFO; | |
11899 | typedef LPREMOTE_NAME_INFOA LPREMOTE_NAME_INFO; | |
11900 | ||
11901 | DWORD __attribute__((__stdcall__)) WNetGetUniversalNameA(LPCSTR,DWORD,LPVOID,LPDWORD); | |
11902 | DWORD __attribute__((__stdcall__)) WNetGetUniversalNameW(LPCWSTR,DWORD,LPVOID,LPDWORD); | |
11903 | ||
11904 | ||
11905 | ||
11906 | ||
11907 | ||
11908 | ||
11909 | DWORD __attribute__((__stdcall__)) WNetGetUserA(LPCSTR,LPSTR,LPDWORD); | |
11910 | DWORD __attribute__((__stdcall__)) WNetGetUserW(LPCWSTR,LPWSTR,LPDWORD); | |
11911 | ||
11912 | ||
11913 | ||
11914 | ||
11915 | ||
11916 | ||
11917 | ||
11918 | DWORD __attribute__((__stdcall__)) WNetGetProviderNameA(DWORD,LPSTR,LPDWORD); | |
11919 | DWORD __attribute__((__stdcall__)) WNetGetProviderNameW(DWORD,LPWSTR,LPDWORD); | |
11920 | ||
11921 | ||
11922 | typedef struct { | |
11923 | DWORD cbStructure; | |
11924 | DWORD dwProviderVersion; | |
11925 | DWORD dwStatus; | |
11926 | DWORD dwCharacteristics; | |
11927 | DWORD dwHandle; | |
11928 | WORD wNetType; | |
11929 | DWORD dwPrinters; | |
11930 | DWORD dwDrives; | |
11931 | } NETINFOSTRUCT, *LPNETINFOSTRUCT; | |
11932 | ||
11933 | ||
11934 | ||
11935 | ||
11936 | ||
11937 | DWORD __attribute__((__stdcall__)) WNetGetNetworkInformationA(LPCSTR,LPNETINFOSTRUCT); | |
11938 | DWORD __attribute__((__stdcall__)) WNetGetNetworkInformationW(LPCWSTR,LPNETINFOSTRUCT); | |
11939 | ||
11940 | ||
11941 | ||
11942 | ||
11943 | ||
11944 | ||
11945 | ||
11946 | DWORD __attribute__((__stdcall__)) WNetGetLastErrorA(LPDWORD,LPSTR,DWORD,LPSTR,DWORD); | |
11947 | DWORD __attribute__((__stdcall__)) WNetGetLastErrorW(LPDWORD,LPWSTR,DWORD,LPWSTR,DWORD); | |
11948 | # 358 "../../../include/winnetwk.h" | |
11949 | typedef struct { | |
11950 | DWORD cbStructure; | |
11951 | DWORD dwFlags; | |
11952 | DWORD dwSpeed; | |
11953 | DWORD dwDelay; | |
11954 | DWORD dwOptDataSize; | |
11955 | } NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT; | |
11956 | ||
11957 | ||
11958 | ||
11959 | ||
11960 | ||
11961 | ||
11962 | DWORD __attribute__((__stdcall__)) MultinetGetConnectionPerformanceA(LPNETRESOURCEA,LPNETCONNECTINFOSTRUCT); | |
11963 | DWORD __attribute__((__stdcall__)) MultinetGetConnectionPerformanceW(LPNETRESOURCEW,LPNETCONNECTINFOSTRUCT); | |
11964 | ||
11965 | DWORD __attribute__((__stdcall__)) MultinetGetErrorTextA(DWORD,DWORD,DWORD); | |
11966 | DWORD __attribute__((__stdcall__)) MultinetGetErrorTextW(DWORD,DWORD,DWORD); | |
11967 | ||
11968 | ||
11969 | ||
11970 | ||
11971 | ||
11972 | ||
11973 | ||
11974 | typedef struct tagPASSWORD_CACHE_ENTRY | |
11975 | { | |
11976 | WORD cbEntry; | |
11977 | WORD cbResource; | |
11978 | WORD cbPassword; | |
11979 | BYTE iEntry; | |
11980 | BYTE nType; | |
11981 | BYTE abResource[1]; | |
11982 | } PASSWORD_CACHE_ENTRY; | |
11983 | ||
11984 | typedef BOOL (__attribute__((__stdcall__)) *ENUMPASSWORDPROC)(PASSWORD_CACHE_ENTRY *, DWORD); | |
11985 | UINT __attribute__((__stdcall__)) WNetEnumCachedPasswords( LPSTR, WORD, BYTE, ENUMPASSWORDPROC, DWORD); | |
11986 | DWORD __attribute__((__stdcall__)) WNetGetCachedPassword( LPSTR, WORD, LPSTR, LPWORD, BYTE ); | |
11987 | DWORD __attribute__((__stdcall__)) WNetCachePassword( LPSTR, WORD, LPSTR, WORD, BYTE, WORD ); | |
11988 | # 47 "../../../include/windows.h" 2 | |
11989 | ||
11990 | ||
11991 | ||
11992 | ||
11993 | # 1 "../../../include/cderr.h" 1 | |
11994 | # 52 "../../../include/windows.h" 2 | |
11995 | # 1 "../../../include/dde.h" 1 | |
11996 | # 44 "../../../include/dde.h" | |
11997 | typedef struct | |
11998 | { | |
11999 | unsigned short bAppReturnCode:8, reserved:6, fBusy:1, fAck:1; | |
12000 | } DDEACK; | |
12001 | ||
12002 | ||
12003 | typedef struct | |
12004 | { | |
12005 | unsigned short unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1; | |
12006 | short cfFormat; | |
12007 | BYTE Value[1]; | |
12008 | } DDEDATA; | |
12009 | ||
12010 | ||
12011 | typedef struct | |
12012 | { | |
12013 | unsigned short reserved:14, fDeferUpd:1, fAckReq:1; | |
12014 | short cfFormat; | |
12015 | } DDEADVISE; | |
12016 | ||
12017 | ||
12018 | typedef struct | |
12019 | { | |
12020 | unsigned short unused:13, fRelease:1, fReserved:2; | |
12021 | short cfFormat; | |
12022 | BYTE Value[1]; | |
12023 | } DDEPOKE; | |
12024 | ||
12025 | BOOL __attribute__((__stdcall__)) DdeSetQualityOfService(HWND hwndClient, | |
12026 | const SECURITY_QUALITY_OF_SERVICE *pqosNew, | |
12027 | PSECURITY_QUALITY_OF_SERVICE pqosPrev); | |
12028 | ||
12029 | BOOL __attribute__((__stdcall__)) ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer); | |
12030 | ||
12031 | ||
12032 | ||
12033 | LPARAM __attribute__((__stdcall__)) PackDDElParam(UINT,UINT_PTR,UINT_PTR); | |
12034 | BOOL __attribute__((__stdcall__)) UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR); | |
12035 | BOOL __attribute__((__stdcall__)) FreeDDElParam(UINT,LPARAM); | |
12036 | LPARAM __attribute__((__stdcall__)) ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR); | |
12037 | # 53 "../../../include/windows.h" 2 | |
12038 | # 1 "../../../include/ddeml.h" 1 | |
12039 | # 276 "../../../include/ddeml.h" | |
12040 | typedef struct HCONVLIST__ { int unused; } *HCONVLIST; | |
12041 | typedef struct HCONV__ { int unused; } *HCONV; | |
12042 | typedef struct HSZ__ { int unused; } *HSZ; | |
12043 | typedef struct HDDEDATA__ { int unused; } *HDDEDATA; | |
12044 | # 289 "../../../include/ddeml.h" | |
12045 | typedef HDDEDATA (__attribute__((__stdcall__)) *PFNCALLBACK)(UINT, UINT, HCONV, HSZ, HSZ, | |
12046 | HDDEDATA, ULONG_PTR, ULONG_PTR); | |
12047 | ||
12048 | ||
12049 | ||
12050 | ||
12051 | ||
12052 | ||
12053 | ||
12054 | typedef struct tagHSZPAIR | |
12055 | { | |
12056 | HSZ hszSvc; | |
12057 | HSZ hszTopic; | |
12058 | } HSZPAIR, *PHSZPAIR; | |
12059 | ||
12060 | typedef struct tagCONVCONTEXT | |
12061 | { | |
12062 | UINT cb; | |
12063 | UINT wFlags; | |
12064 | UINT wCountryID; | |
12065 | INT iCodePage; | |
12066 | DWORD dwLangID; | |
12067 | DWORD dwSecurity; | |
12068 | } CONVCONTEXT, *PCONVCONTEXT; | |
12069 | ||
12070 | typedef struct tagCONVINFO | |
12071 | { | |
12072 | DWORD cb; | |
12073 | DWORD hUser; | |
12074 | HCONV hConvPartner; | |
12075 | HSZ hszSvcPartner; | |
12076 | HSZ hszServiceReq; | |
12077 | HSZ hszTopic; | |
12078 | HSZ hszItem; | |
12079 | UINT wFmt; | |
12080 | UINT wType; | |
12081 | UINT wStatus; | |
12082 | UINT wConvst; | |
12083 | UINT wLastError; | |
12084 | HCONVLIST hConvList; | |
12085 | CONVCONTEXT ConvCtxt; | |
12086 | HWND hwnd; | |
12087 | HWND hwndPartner; | |
12088 | } CONVINFO, *PCONVINFO; | |
12089 | ||
12090 | ||
12091 | ||
12092 | ||
12093 | UINT __attribute__((__stdcall__)) DdeInitializeA(LPDWORD,PFNCALLBACK,DWORD,DWORD); | |
12094 | UINT __attribute__((__stdcall__)) DdeInitializeW(LPDWORD,PFNCALLBACK,DWORD,DWORD); | |
12095 | ||
12096 | BOOL __attribute__((__stdcall__)) DdeUninitialize(DWORD); | |
12097 | HCONVLIST __attribute__((__stdcall__)) DdeConnectList(DWORD,HSZ,HSZ,HCONVLIST,PCONVCONTEXT); | |
12098 | HCONV __attribute__((__stdcall__)) DdeQueryNextServer(HCONVLIST, HCONV); | |
12099 | DWORD __attribute__((__stdcall__)) DdeQueryStringA(DWORD, HSZ, LPSTR, DWORD, INT); | |
12100 | DWORD __attribute__((__stdcall__)) DdeQueryStringW(DWORD, HSZ, LPWSTR, DWORD, INT); | |
12101 | ||
12102 | BOOL __attribute__((__stdcall__)) DdeDisconnectList(HCONVLIST); | |
12103 | HCONV __attribute__((__stdcall__)) DdeConnect(DWORD,HSZ,HSZ,PCONVCONTEXT); | |
12104 | BOOL __attribute__((__stdcall__)) DdeDisconnect(HCONV); | |
12105 | HDDEDATA __attribute__((__stdcall__)) DdeCreateDataHandle(DWORD,LPBYTE,DWORD,DWORD,HSZ,UINT,UINT); | |
12106 | HCONV __attribute__((__stdcall__)) DdeReconnect(HCONV); | |
12107 | HSZ __attribute__((__stdcall__)) DdeCreateStringHandleA(DWORD,LPCSTR,INT); | |
12108 | HSZ __attribute__((__stdcall__)) DdeCreateStringHandleW(DWORD,LPCWSTR,INT); | |
12109 | ||
12110 | BOOL __attribute__((__stdcall__)) DdeFreeStringHandle(DWORD,HSZ); | |
12111 | BOOL __attribute__((__stdcall__)) DdeFreeDataHandle(HDDEDATA); | |
12112 | BOOL __attribute__((__stdcall__)) DdeKeepStringHandle(DWORD,HSZ); | |
12113 | HDDEDATA __attribute__((__stdcall__)) DdeClientTransaction(LPBYTE,DWORD,HCONV,HSZ,UINT,UINT,DWORD,LPDWORD); | |
12114 | BOOL __attribute__((__stdcall__)) DdeAbandonTransaction(DWORD idInst, HCONV hConv, DWORD idTransaction); | |
12115 | BOOL __attribute__((__stdcall__)) DdeImpersonateClient(HCONV); | |
12116 | BOOL __attribute__((__stdcall__)) DdePostAdvise(DWORD,HSZ,HSZ); | |
12117 | HDDEDATA __attribute__((__stdcall__)) DdeAddData(HDDEDATA,LPBYTE,DWORD,DWORD); | |
12118 | DWORD __attribute__((__stdcall__)) DdeGetData(HDDEDATA,LPBYTE,DWORD,DWORD); | |
12119 | LPBYTE __attribute__((__stdcall__)) DdeAccessData(HDDEDATA,LPDWORD); | |
12120 | BOOL __attribute__((__stdcall__)) DdeUnaccessData(HDDEDATA); | |
12121 | BOOL __attribute__((__stdcall__)) DdeEnableCallback(DWORD,HCONV,UINT); | |
12122 | INT __attribute__((__stdcall__)) DdeCmpStringHandles(HSZ,HSZ); | |
12123 | BOOL __attribute__((__stdcall__)) DdeSetUserHandle(HCONV,DWORD,DWORD); | |
12124 | ||
12125 | HDDEDATA __attribute__((__stdcall__)) DdeNameService(DWORD,HSZ,HSZ,UINT); | |
12126 | UINT __attribute__((__stdcall__)) DdeGetLastError(DWORD); | |
12127 | UINT __attribute__((__stdcall__)) DdeQueryConvInfo(HCONV,DWORD,PCONVINFO); | |
12128 | # 54 "../../../include/windows.h" 2 | |
12129 | # 1 "../../../include/dlgs.h" 1 | |
12130 | # 55 "../../../include/windows.h" 2 | |
12131 | # 1 "../../../include/lzexpand.h" 1 | |
12132 | # 36 "../../../include/lzexpand.h" | |
12133 | void __attribute__((__stdcall__)) LZDone(void); | |
12134 | LONG __attribute__((__stdcall__)) CopyLZFile(HFILE,HFILE); | |
12135 | HFILE __attribute__((__stdcall__)) LZOpenFileA(LPSTR,LPOFSTRUCT,WORD); | |
12136 | HFILE __attribute__((__stdcall__)) LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD); | |
12137 | ||
12138 | INT __attribute__((__stdcall__)) LZRead(INT,LPSTR,INT); | |
12139 | INT __attribute__((__stdcall__)) LZStart(void); | |
12140 | void __attribute__((__stdcall__)) LZClose(HFILE); | |
12141 | LONG __attribute__((__stdcall__)) LZCopy(HFILE,HFILE); | |
12142 | HFILE __attribute__((__stdcall__)) LZInit(HFILE); | |
12143 | LONG __attribute__((__stdcall__)) LZSeek(HFILE,LONG,INT); | |
12144 | INT __attribute__((__stdcall__)) GetExpandedNameA(LPSTR,LPSTR); | |
12145 | INT __attribute__((__stdcall__)) GetExpandedNameW(LPWSTR,LPWSTR); | |
12146 | # 56 "../../../include/windows.h" 2 | |
12147 | # 1 "../../../include/mmsystem.h" 1 | |
12148 | # 28 "../../../include/mmsystem.h" | |
12149 | typedef LPSTR HPSTR; | |
12150 | typedef LPCSTR HPCSTR; | |
12151 | typedef UINT* LPUINT; | |
12152 | ||
12153 | typedef struct HDRVR__ { int unused; } *HDRVR; | |
12154 | typedef struct HWAVE__ { int unused; } *HWAVE; | |
12155 | typedef struct HWAVEIN__ { int unused; } *HWAVEIN; | |
12156 | typedef struct HWAVEOUT__ { int unused; } *HWAVEOUT; | |
12157 | typedef struct HMIDI__ { int unused; } *HMIDI; | |
12158 | typedef struct HMIDIIN__ { int unused; } *HMIDIIN; | |
12159 | typedef struct HMIDIOUT__ { int unused; } *HMIDIOUT; | |
12160 | typedef struct HMIDISTRM__ { int unused; } *HMIDISTRM; | |
12161 | typedef struct HMIXER__ { int unused; } *HMIXER; | |
12162 | typedef struct HMIXEROBJ__ { int unused; } *HMIXEROBJ; | |
12163 | typedef struct HMMIO__ { int unused; } *HMMIO; | |
12164 | ||
12165 | typedef HMIDI *LPHMIDI; | |
12166 | typedef HMIDIIN *LPHMIDIIN; | |
12167 | typedef HMIDIOUT *LPHMIDIOUT; | |
12168 | typedef HMIDISTRM *LPHMIDISTRM; | |
12169 | typedef HMIXER *LPHMIXER; | |
12170 | typedef HMIXEROBJ *LPHMIXEROBJ; | |
12171 | typedef HWAVEIN *LPHWAVEIN; | |
12172 | typedef HWAVEOUT *LPHWAVEOUT; | |
12173 | ||
12174 | # 1 "../../../include/pshpack1.h" 1 | |
12175 | # 105 "../../../include/pshpack1.h" | |
12176 | #pragma pack(1) | |
12177 | # 54 "../../../include/mmsystem.h" 2 | |
12178 | ||
12179 | typedef LRESULT (__attribute__((__stdcall__)) *DRIVERPROC)(DWORD_PTR,HDRVR,UINT,LPARAM,LPARAM); | |
12180 | # 69 "../../../include/mmsystem.h" | |
12181 | typedef DWORD MCIERROR; | |
12182 | ||
12183 | typedef UINT MMVERSION; | |
12184 | ||
12185 | ||
12186 | typedef UINT MCIDEVICEID; | |
12187 | ||
12188 | typedef UINT MMRESULT; | |
12189 | ||
12190 | typedef struct mmtime_tag { | |
12191 | UINT wType; | |
12192 | union { | |
12193 | DWORD ms; | |
12194 | DWORD sample; | |
12195 | DWORD cb; | |
12196 | DWORD ticks; | |
12197 | struct { | |
12198 | BYTE hour; | |
12199 | BYTE min; | |
12200 | BYTE sec; | |
12201 | BYTE frame; | |
12202 | BYTE fps; | |
12203 | BYTE dummy; | |
12204 | BYTE pad[2]; | |
12205 | } smpte; | |
12206 | struct { | |
12207 | DWORD songptrpos; | |
12208 | } midi; | |
12209 | } u; | |
12210 | } MMTIME, *PMMTIME, *LPMMTIME; | |
12211 | # 220 "../../../include/mmsystem.h" | |
12212 | typedef struct tagDRVCONFIGINFO { | |
12213 | DWORD dwDCISize; | |
12214 | LPCWSTR lpszDCISectionName; | |
12215 | LPCWSTR lpszDCIAliasName; | |
12216 | } DRVCONFIGINFO, *LPDRVCONFIGINFO; | |
12217 | ||
12218 | ||
12219 | LRESULT __attribute__((__stdcall__)) DefDriverProc(DWORD_PTR,HDRVR,UINT,LPARAM,LPARAM); | |
12220 | ||
12221 | ||
12222 | ||
12223 | HDRVR __attribute__((__stdcall__)) OpenDriverA(LPCSTR szDriverName, LPCSTR szSectionName, | |
12224 | LPARAM lParam2); | |
12225 | HDRVR __attribute__((__stdcall__)) OpenDriver(LPCWSTR szDriverName, LPCWSTR szSectionName, | |
12226 | LPARAM lParam2); | |
12227 | LRESULT __attribute__((__stdcall__)) CloseDriver(HDRVR hDriver, LPARAM lParam1, LPARAM lParam2); | |
12228 | LRESULT __attribute__((__stdcall__)) SendDriverMessage(HDRVR hDriver, UINT message, | |
12229 | LPARAM lParam1, LPARAM lParam2); | |
12230 | HMODULE __attribute__((__stdcall__)) GetDriverModuleHandle(HDRVR hDriver); | |
12231 | ||
12232 | DWORD __attribute__((__stdcall__)) GetDriverFlags(HDRVR hDriver); | |
12233 | ||
12234 | typedef void (__attribute__((__stdcall__)) *LPDRVCALLBACK)(HDRVR,UINT,DWORD_PTR,DWORD_PTR,DWORD_PTR); | |
12235 | # 265 "../../../include/mmsystem.h" | |
12236 | UINT __attribute__((__stdcall__)) mmsystemGetVersion(void); | |
12237 | BOOL __attribute__((__stdcall__)) sndPlaySoundA(LPCSTR lpszSound, UINT fuSound); | |
12238 | BOOL __attribute__((__stdcall__)) sndPlaySoundW(LPCWSTR lpszSound, UINT fuSound); | |
12239 | ||
12240 | BOOL __attribute__((__stdcall__)) PlaySoundA(LPCSTR pszSound, HMODULE hmod, DWORD fdwSound); | |
12241 | BOOL __attribute__((__stdcall__)) PlaySoundW(LPCWSTR pszSound, HMODULE hmod, DWORD fdwSound); | |
12242 | # 295 "../../../include/mmsystem.h" | |
12243 | typedef LPDRVCALLBACK LPWAVECALLBACK; | |
12244 | # 312 "../../../include/mmsystem.h" | |
12245 | typedef struct wavehdr_tag { | |
12246 | LPSTR lpData; | |
12247 | DWORD dwBufferLength; | |
12248 | DWORD dwBytesRecorded; | |
12249 | DWORD dwUser; | |
12250 | DWORD dwFlags; | |
12251 | DWORD dwLoops; | |
12252 | struct wavehdr_tag *lpNext; | |
12253 | DWORD reserved; | |
12254 | } WAVEHDR, *PWAVEHDR, *NPWAVEHDR, *LPWAVEHDR; | |
12255 | ||
12256 | ||
12257 | ||
12258 | ||
12259 | ||
12260 | ||
12261 | ||
12262 | typedef struct tagWAVEOUTCAPSA { | |
12263 | WORD wMid; | |
12264 | WORD wPid; | |
12265 | MMVERSION vDriverVersion; | |
12266 | CHAR szPname[32]; | |
12267 | DWORD dwFormats; | |
12268 | WORD wChannels; | |
12269 | WORD wReserved1; | |
12270 | DWORD dwSupport; | |
12271 | } WAVEOUTCAPSA, *LPWAVEOUTCAPSA; | |
12272 | ||
12273 | typedef struct tagWAVEOUTCAPSW { | |
12274 | WORD wMid; | |
12275 | WORD wPid; | |
12276 | MMVERSION vDriverVersion; | |
12277 | WCHAR szPname[32]; | |
12278 | DWORD dwFormats; | |
12279 | WORD wChannels; | |
12280 | WORD wReserved1; | |
12281 | DWORD dwSupport; | |
12282 | } WAVEOUTCAPSW, *LPWAVEOUTCAPSW; | |
12283 | typedef WAVEOUTCAPSA WAVEOUTCAPS; | |
12284 | typedef LPWAVEOUTCAPSA LPWAVEOUTCAPS; | |
12285 | ||
12286 | typedef struct tagWAVEOUTCAPS2A { | |
12287 | WORD wMid; | |
12288 | WORD wPid; | |
12289 | MMVERSION vDriverVersion; | |
12290 | CHAR szPname[32]; | |
12291 | DWORD dwFormats; | |
12292 | WORD wChannels; | |
12293 | WORD wReserved1; | |
12294 | DWORD dwSupport; | |
12295 | GUID ManufacturerGuid; | |
12296 | GUID ProductGuid; | |
12297 | GUID NameGuid; | |
12298 | } WAVEOUTCAPS2A, *LPWAVEOUTCAPS2A; | |
12299 | ||
12300 | typedef struct tagWAVEOUTCAPS2W { | |
12301 | WORD wMid; | |
12302 | WORD wPid; | |
12303 | MMVERSION vDriverVersion; | |
12304 | WCHAR szPname[32]; | |
12305 | DWORD dwFormats; | |
12306 | WORD wChannels; | |
12307 | WORD wReserved1; | |
12308 | DWORD dwSupport; | |
12309 | GUID ManufacturerGuid; | |
12310 | GUID ProductGuid; | |
12311 | GUID NameGuid; | |
12312 | } WAVEOUTCAPS2W, *LPWAVEOUTCAPS2W; | |
12313 | typedef WAVEOUTCAPS2A WAVEOUTCAPS2; | |
12314 | typedef LPWAVEOUTCAPS2A LPWAVEOUTCAPS2; | |
12315 | # 391 "../../../include/mmsystem.h" | |
12316 | typedef struct tagWAVEINCAPSA { | |
12317 | WORD wMid; | |
12318 | WORD wPid; | |
12319 | MMVERSION vDriverVersion; | |
12320 | CHAR szPname[32]; | |
12321 | DWORD dwFormats; | |
12322 | WORD wChannels; | |
12323 | WORD wReserved1; | |
12324 | } WAVEINCAPSA, *LPWAVEINCAPSA; | |
12325 | typedef struct tagWAVEINCAPSW { | |
12326 | WORD wMid; | |
12327 | WORD wPid; | |
12328 | MMVERSION vDriverVersion; | |
12329 | WCHAR szPname[32]; | |
12330 | DWORD dwFormats; | |
12331 | WORD wChannels; | |
12332 | WORD wReserved1; | |
12333 | } WAVEINCAPSW, *LPWAVEINCAPSW; | |
12334 | typedef WAVEINCAPSA WAVEINCAPS; | |
12335 | typedef LPWAVEINCAPSA LPWAVEINCAPS; | |
12336 | ||
12337 | typedef struct tagWAVEINCAPS2A { | |
12338 | WORD wMid; | |
12339 | WORD wPid; | |
12340 | MMVERSION vDriverVersion; | |
12341 | CHAR szPname[32]; | |
12342 | DWORD dwFormats; | |
12343 | WORD wChannels; | |
12344 | WORD wReserved1; | |
12345 | GUID ManufacturerGuid; | |
12346 | GUID ProductGuid; | |
12347 | GUID NameGuid; | |
12348 | } WAVEINCAPS2A, *LPWAVEINCAPS2A; | |
12349 | typedef struct tagWAVEINCAPS2W { | |
12350 | WORD wMid; | |
12351 | WORD wPid; | |
12352 | MMVERSION vDriverVersion; | |
12353 | WCHAR szPname[32]; | |
12354 | DWORD dwFormats; | |
12355 | WORD wChannels; | |
12356 | WORD wReserved1; | |
12357 | GUID ManufacturerGuid; | |
12358 | GUID ProductGuid; | |
12359 | GUID NameGuid; | |
12360 | } WAVEINCAPS2W, *LPWAVEINCAPS2W; | |
12361 | typedef WAVEINCAPS2A WAVEINCAPS2; | |
12362 | typedef LPWAVEINCAPS2A LPWAVEINCAPS2; | |
12363 | # 462 "../../../include/mmsystem.h" | |
12364 | typedef struct waveformat_tag { | |
12365 | WORD wFormatTag; | |
12366 | WORD nChannels; | |
12367 | DWORD nSamplesPerSec; | |
12368 | DWORD nAvgBytesPerSec; | |
12369 | WORD nBlockAlign; | |
12370 | } WAVEFORMAT, *LPWAVEFORMAT; | |
12371 | ||
12372 | ||
12373 | ||
12374 | typedef struct pcmwaveformat_tag { | |
12375 | WAVEFORMAT wf; | |
12376 | WORD wBitsPerSample; | |
12377 | } PCMWAVEFORMAT, *LPPCMWAVEFORMAT; | |
12378 | ||
12379 | ||
12380 | ||
12381 | ||
12382 | typedef struct tWAVEFORMATEX { | |
12383 | WORD wFormatTag; | |
12384 | WORD nChannels; | |
12385 | DWORD nSamplesPerSec; | |
12386 | DWORD nAvgBytesPerSec; | |
12387 | WORD nBlockAlign; | |
12388 | WORD wBitsPerSample; | |
12389 | WORD cbSize; | |
12390 | } WAVEFORMATEX, *LPWAVEFORMATEX, *NPWAVEFORMATEX, *PWAVEFORMATEX; | |
12391 | ||
12392 | typedef const WAVEFORMATEX *LPCWAVEFORMATEX; | |
12393 | ||
12394 | UINT __attribute__((__stdcall__)) waveOutGetNumDevs(void); | |
12395 | UINT __attribute__((__stdcall__)) waveOutGetDevCapsA(UINT_PTR,LPWAVEOUTCAPSA,UINT); | |
12396 | UINT __attribute__((__stdcall__)) waveOutGetDevCapsW(UINT_PTR,LPWAVEOUTCAPSW,UINT); | |
12397 | ||
12398 | UINT __attribute__((__stdcall__)) waveOutGetVolume(HWAVEOUT,DWORD*); | |
12399 | UINT __attribute__((__stdcall__)) waveOutSetVolume(HWAVEOUT,DWORD); | |
12400 | UINT __attribute__((__stdcall__)) waveOutGetErrorTextA(UINT,LPSTR,UINT); | |
12401 | UINT __attribute__((__stdcall__)) waveOutGetErrorTextW(UINT,LPWSTR,UINT); | |
12402 | ||
12403 | MMRESULT __attribute__((__stdcall__)) waveOutOpen(HWAVEOUT*,UINT,LPCWAVEFORMATEX,DWORD_PTR,DWORD_PTR,DWORD); | |
12404 | UINT __attribute__((__stdcall__)) waveOutClose(HWAVEOUT); | |
12405 | UINT __attribute__((__stdcall__)) waveOutPrepareHeader(HWAVEOUT,WAVEHDR*,UINT); | |
12406 | UINT __attribute__((__stdcall__)) waveOutUnprepareHeader(HWAVEOUT,WAVEHDR*,UINT); | |
12407 | UINT __attribute__((__stdcall__)) waveOutWrite(HWAVEOUT,WAVEHDR*,UINT); | |
12408 | UINT __attribute__((__stdcall__)) waveOutPause(HWAVEOUT); | |
12409 | UINT __attribute__((__stdcall__)) waveOutRestart(HWAVEOUT); | |
12410 | UINT __attribute__((__stdcall__)) waveOutReset(HWAVEOUT); | |
12411 | UINT __attribute__((__stdcall__)) waveOutBreakLoop(HWAVEOUT); | |
12412 | UINT __attribute__((__stdcall__)) waveOutGetPosition(HWAVEOUT,LPMMTIME,UINT); | |
12413 | UINT __attribute__((__stdcall__)) waveOutGetPitch(HWAVEOUT,DWORD*); | |
12414 | UINT __attribute__((__stdcall__)) waveOutSetPitch(HWAVEOUT,DWORD); | |
12415 | UINT __attribute__((__stdcall__)) waveOutGetPlaybackRate(HWAVEOUT,DWORD*); | |
12416 | UINT __attribute__((__stdcall__)) waveOutSetPlaybackRate(HWAVEOUT,DWORD); | |
12417 | UINT __attribute__((__stdcall__)) waveOutGetID(HWAVEOUT,UINT*); | |
12418 | UINT __attribute__((__stdcall__)) waveOutMessage(HWAVEOUT,UINT,DWORD_PTR,DWORD_PTR); | |
12419 | UINT __attribute__((__stdcall__)) waveInGetNumDevs(void); | |
12420 | UINT __attribute__((__stdcall__)) waveInGetDevCapsA(UINT_PTR,LPWAVEINCAPSA,UINT); | |
12421 | UINT __attribute__((__stdcall__)) waveInGetDevCapsW(UINT_PTR,LPWAVEINCAPSW,UINT); | |
12422 | ||
12423 | UINT __attribute__((__stdcall__)) waveInGetErrorTextA(UINT,LPSTR,UINT); | |
12424 | UINT __attribute__((__stdcall__)) waveInGetErrorTextW(UINT,LPWSTR,UINT); | |
12425 | ||
12426 | MMRESULT __attribute__((__stdcall__)) waveInOpen(HWAVEIN*,UINT,LPCWAVEFORMATEX,DWORD_PTR,DWORD_PTR,DWORD); | |
12427 | UINT __attribute__((__stdcall__)) waveInClose(HWAVEIN); | |
12428 | UINT __attribute__((__stdcall__)) waveInPrepareHeader(HWAVEIN,WAVEHDR*,UINT); | |
12429 | UINT __attribute__((__stdcall__)) waveInUnprepareHeader(HWAVEIN,WAVEHDR*,UINT); | |
12430 | UINT __attribute__((__stdcall__)) waveInAddBuffer(HWAVEIN,WAVEHDR*,UINT); | |
12431 | UINT __attribute__((__stdcall__)) waveInStart(HWAVEIN); | |
12432 | UINT __attribute__((__stdcall__)) waveInStop(HWAVEIN); | |
12433 | UINT __attribute__((__stdcall__)) waveInReset(HWAVEIN); | |
12434 | UINT __attribute__((__stdcall__)) waveInGetPosition(HWAVEIN,LPMMTIME,UINT); | |
12435 | UINT __attribute__((__stdcall__)) waveInGetID(HWAVEIN,UINT*); | |
12436 | UINT __attribute__((__stdcall__)) waveInMessage(HWAVEIN,UINT,DWORD_PTR,DWORD_PTR); | |
12437 | # 546 "../../../include/mmsystem.h" | |
12438 | typedef LPDRVCALLBACK LPMIDICALLBACK; | |
12439 | ||
12440 | typedef WORD PATCHARRAY[128]; | |
12441 | typedef WORD *LPPATCHARRAY; | |
12442 | typedef WORD KEYARRAY[128]; | |
12443 | typedef WORD *LPKEYARRAY; | |
12444 | # 582 "../../../include/mmsystem.h" | |
12445 | typedef struct tagMIDIOUTCAPSA { | |
12446 | WORD wMid; | |
12447 | WORD wPid; | |
12448 | MMVERSION vDriverVersion; | |
12449 | CHAR szPname[32]; | |
12450 | WORD wTechnology; | |
12451 | WORD wVoices; | |
12452 | WORD wNotes; | |
12453 | WORD wChannelMask; | |
12454 | DWORD dwSupport; | |
12455 | } MIDIOUTCAPSA, *LPMIDIOUTCAPSA; | |
12456 | ||
12457 | typedef struct tagMIDIOUTCAPSW { | |
12458 | WORD wMid; | |
12459 | WORD wPid; | |
12460 | MMVERSION vDriverVersion; | |
12461 | WCHAR szPname[32]; | |
12462 | WORD wTechnology; | |
12463 | WORD wVoices; | |
12464 | WORD wNotes; | |
12465 | WORD wChannelMask; | |
12466 | DWORD dwSupport; | |
12467 | } MIDIOUTCAPSW, *LPMIDIOUTCAPSW; | |
12468 | ||
12469 | typedef MIDIOUTCAPSA MIDIOUTCAPS; | |
12470 | typedef LPMIDIOUTCAPSA LPMIDIOUTCAPS; | |
12471 | ||
12472 | typedef struct tagMIDIOUTCAPS2A { | |
12473 | WORD wMid; | |
12474 | WORD wPid; | |
12475 | MMVERSION vDriverVersion; | |
12476 | CHAR szPname[32]; | |
12477 | WORD wTechnology; | |
12478 | WORD wVoices; | |
12479 | WORD wNotes; | |
12480 | WORD wChannelMask; | |
12481 | DWORD dwSupport; | |
12482 | GUID ManufacturerGuid; | |
12483 | GUID ProductGuid; | |
12484 | GUID NameGuid; | |
12485 | } MIDIOUTCAPS2A, *LPMIDIOUTCAPS2A; | |
12486 | ||
12487 | typedef struct tagMIDIOUTCAPS2W { | |
12488 | WORD wMid; | |
12489 | WORD wPid; | |
12490 | MMVERSION vDriverVersion; | |
12491 | WCHAR szPname[32]; | |
12492 | WORD wTechnology; | |
12493 | WORD wVoices; | |
12494 | WORD wNotes; | |
12495 | WORD wChannelMask; | |
12496 | DWORD dwSupport; | |
12497 | GUID ManufacturerGuid; | |
12498 | GUID ProductGuid; | |
12499 | GUID NameGuid; | |
12500 | } MIDIOUTCAPS2W, *LPMIDIOUTCAPS2W; | |
12501 | ||
12502 | typedef MIDIOUTCAPS2A MIDIOUTCAPS2; | |
12503 | typedef LPMIDIOUTCAPS2A LPMIDIOUTCAPS2; | |
12504 | # 653 "../../../include/mmsystem.h" | |
12505 | typedef struct tagMIDIINCAPSA { | |
12506 | WORD wMid; | |
12507 | WORD wPid; | |
12508 | MMVERSION vDriverVersion; | |
12509 | CHAR szPname[32]; | |
12510 | DWORD dwSupport; | |
12511 | } MIDIINCAPSA, *LPMIDIINCAPSA; | |
12512 | ||
12513 | typedef struct tagMIDIINCAPSW { | |
12514 | WORD wMid; | |
12515 | WORD wPid; | |
12516 | MMVERSION vDriverVersion; | |
12517 | WCHAR szPname[32]; | |
12518 | DWORD dwSupport; | |
12519 | } MIDIINCAPSW, *LPMIDIINCAPSW; | |
12520 | ||
12521 | typedef MIDIINCAPSA MIDIINCAPS; | |
12522 | typedef LPMIDIINCAPSA LPMIDIINCAPS; | |
12523 | ||
12524 | typedef struct tagMIDIINCAPS2A { | |
12525 | WORD wMid; | |
12526 | WORD wPid; | |
12527 | MMVERSION vDriverVersion; | |
12528 | CHAR szPname[32]; | |
12529 | DWORD dwSupport; | |
12530 | GUID ManufacturerGuid; | |
12531 | GUID ProductGuid; | |
12532 | GUID NameGuid; | |
12533 | } MIDIINCAPS2A, *LPMIDIINCAPS2A; | |
12534 | ||
12535 | typedef struct tagMIDIINCAPS2W { | |
12536 | WORD wMid; | |
12537 | WORD wPid; | |
12538 | MMVERSION vDriverVersion; | |
12539 | WCHAR szPname[32]; | |
12540 | DWORD dwSupport; | |
12541 | GUID ManufacturerGuid; | |
12542 | GUID ProductGuid; | |
12543 | GUID NameGuid; | |
12544 | } MIDIINCAPS2W, *LPMIDIINCAPS2W; | |
12545 | ||
12546 | typedef MIDIINCAPS2A MIDIINCAPS2; | |
12547 | typedef LPMIDIINCAPS2A LPMIDIINCAPS2; | |
12548 | ||
12549 | ||
12550 | ||
12551 | ||
12552 | typedef struct midihdr_tag { | |
12553 | LPSTR lpData; | |
12554 | DWORD dwBufferLength; | |
12555 | DWORD dwBytesRecorded; | |
12556 | DWORD_PTR dwUser; | |
12557 | DWORD dwFlags; | |
12558 | struct midihdr_tag *lpNext; | |
12559 | DWORD reserved; | |
12560 | DWORD dwOffset; | |
12561 | DWORD_PTR dwReserved[8]; | |
12562 | } MIDIHDR, *LPMIDIHDR; | |
12563 | ||
12564 | ||
12565 | ||
12566 | ||
12567 | ||
12568 | ||
12569 | typedef struct midiproptempo_tag { | |
12570 | DWORD cbStruct; | |
12571 | DWORD dwTempo; | |
12572 | } MIDIPROPTEMPO, *LPMIDIPROPTEMPO; | |
12573 | ||
12574 | typedef struct midiproptimediv_tag { | |
12575 | DWORD cbStruct; | |
12576 | DWORD dwTimeDiv; | |
12577 | } MIDIPROPTIMEDIV, *LPMIDIPROPTIMEDIV; | |
12578 | ||
12579 | ||
12580 | ||
12581 | ||
12582 | ||
12583 | ||
12584 | typedef struct midievent_tag { | |
12585 | DWORD dwDeltaTime; | |
12586 | ||
12587 | DWORD dwStreamID; | |
12588 | DWORD dwEvent; | |
12589 | DWORD dwParms[1]; | |
12590 | } MIDIEVENT, *LPMIDIEVENT; | |
12591 | # 753 "../../../include/mmsystem.h" | |
12592 | UINT __attribute__((__stdcall__)) midiOutGetNumDevs(void); | |
12593 | UINT __attribute__((__stdcall__)) midiOutGetDevCapsA(UINT_PTR,LPMIDIOUTCAPSA,UINT); | |
12594 | UINT __attribute__((__stdcall__)) midiOutGetDevCapsW(UINT_PTR,LPMIDIOUTCAPSW,UINT); | |
12595 | ||
12596 | UINT __attribute__((__stdcall__)) midiOutGetVolume(HMIDIOUT,DWORD*); | |
12597 | UINT __attribute__((__stdcall__)) midiOutSetVolume(HMIDIOUT,DWORD); | |
12598 | UINT __attribute__((__stdcall__)) midiOutGetErrorTextA(UINT,LPSTR,UINT); | |
12599 | UINT __attribute__((__stdcall__)) midiOutGetErrorTextW(UINT,LPWSTR,UINT); | |
12600 | ||
12601 | UINT __attribute__((__stdcall__)) midiOutOpen(LPHMIDIOUT,UINT,DWORD_PTR,DWORD_PTR,DWORD); | |
12602 | UINT __attribute__((__stdcall__)) midiOutClose(HMIDIOUT); | |
12603 | UINT __attribute__((__stdcall__)) midiOutPrepareHeader(HMIDIOUT,MIDIHDR*,UINT); | |
12604 | UINT __attribute__((__stdcall__)) midiOutUnprepareHeader(HMIDIOUT,MIDIHDR*,UINT); | |
12605 | UINT __attribute__((__stdcall__)) midiOutShortMsg(HMIDIOUT,DWORD); | |
12606 | UINT __attribute__((__stdcall__)) midiOutLongMsg(HMIDIOUT,MIDIHDR*,UINT); | |
12607 | UINT __attribute__((__stdcall__)) midiOutReset(HMIDIOUT); | |
12608 | UINT __attribute__((__stdcall__)) midiOutCachePatches(HMIDIOUT,UINT,WORD*,UINT); | |
12609 | UINT __attribute__((__stdcall__)) midiOutCacheDrumPatches(HMIDIOUT,UINT,WORD*,UINT); | |
12610 | UINT __attribute__((__stdcall__)) midiOutGetID(HMIDIOUT,UINT*); | |
12611 | UINT __attribute__((__stdcall__)) midiOutMessage(HMIDIOUT,UINT,DWORD_PTR,DWORD_PTR); | |
12612 | ||
12613 | UINT __attribute__((__stdcall__)) midiInGetNumDevs(void); | |
12614 | UINT __attribute__((__stdcall__)) midiInGetDevCapsA(UINT_PTR,LPMIDIINCAPSA,UINT); | |
12615 | UINT __attribute__((__stdcall__)) midiInGetDevCapsW(UINT_PTR,LPMIDIINCAPSW,UINT); | |
12616 | ||
12617 | UINT __attribute__((__stdcall__)) midiInGetErrorTextA(UINT,LPSTR,UINT); | |
12618 | UINT __attribute__((__stdcall__)) midiInGetErrorTextW(UINT,LPWSTR,UINT); | |
12619 | ||
12620 | UINT __attribute__((__stdcall__)) midiInOpen(LPHMIDIIN,UINT,DWORD_PTR,DWORD_PTR,DWORD); | |
12621 | UINT __attribute__((__stdcall__)) midiInClose(HMIDIIN); | |
12622 | UINT __attribute__((__stdcall__)) midiInPrepareHeader(HMIDIIN,MIDIHDR*,UINT); | |
12623 | UINT __attribute__((__stdcall__)) midiInUnprepareHeader(HMIDIIN,MIDIHDR*,UINT); | |
12624 | UINT __attribute__((__stdcall__)) midiInAddBuffer(HMIDIIN,MIDIHDR*,UINT); | |
12625 | UINT __attribute__((__stdcall__)) midiInStart(HMIDIIN); | |
12626 | UINT __attribute__((__stdcall__)) midiInStop(HMIDIIN); | |
12627 | UINT __attribute__((__stdcall__)) midiInReset(HMIDIIN); | |
12628 | UINT __attribute__((__stdcall__)) midiInGetID(HMIDIIN,UINT*); | |
12629 | UINT __attribute__((__stdcall__)) midiInMessage(HMIDIIN,UINT,DWORD_PTR,DWORD_PTR); | |
12630 | MMRESULT __attribute__((__stdcall__)) midiStreamClose(HMIDISTRM hms); | |
12631 | MMRESULT __attribute__((__stdcall__)) midiStreamOpen(LPHMIDISTRM,LPUINT,DWORD,DWORD_PTR,DWORD_PTR,DWORD); | |
12632 | MMRESULT __attribute__((__stdcall__)) midiStreamOut(HMIDISTRM hms, LPMIDIHDR lpMidiHdr, UINT cbMidiHdr); | |
12633 | MMRESULT __attribute__((__stdcall__)) midiStreamPause(HMIDISTRM hms); | |
12634 | MMRESULT __attribute__((__stdcall__)) midiStreamPosition(HMIDISTRM hms, LPMMTIME lpmmt, UINT cbmmt); | |
12635 | MMRESULT __attribute__((__stdcall__)) midiStreamProperty(HMIDISTRM hms, LPBYTE lpPropData, DWORD dwProperty); | |
12636 | MMRESULT __attribute__((__stdcall__)) midiStreamRestart(HMIDISTRM hms); | |
12637 | MMRESULT __attribute__((__stdcall__)) midiStreamStop(HMIDISTRM hms); | |
12638 | ||
12639 | ||
12640 | ||
12641 | typedef struct tagAUXCAPSA { | |
12642 | WORD wMid; | |
12643 | WORD wPid; | |
12644 | MMVERSION vDriverVersion; | |
12645 | CHAR szPname[32]; | |
12646 | WORD wTechnology; | |
12647 | WORD wReserved1; | |
12648 | DWORD dwSupport; | |
12649 | } AUXCAPSA, *LPAUXCAPSA; | |
12650 | ||
12651 | typedef struct tagAUXCAPSW { | |
12652 | WORD wMid; | |
12653 | WORD wPid; | |
12654 | MMVERSION vDriverVersion; | |
12655 | WCHAR szPname[32]; | |
12656 | WORD wTechnology; | |
12657 | WORD wReserved1; | |
12658 | DWORD dwSupport; | |
12659 | } AUXCAPSW, *LPAUXCAPSW; | |
12660 | ||
12661 | typedef AUXCAPSA AUXCAPS; | |
12662 | typedef LPAUXCAPSA LPAUXCAPS; | |
12663 | ||
12664 | typedef struct tagAUXCAPS2A { | |
12665 | WORD wMid; | |
12666 | WORD wPid; | |
12667 | MMVERSION vDriverVersion; | |
12668 | CHAR szPname[32]; | |
12669 | WORD wTechnology; | |
12670 | WORD wReserved1; | |
12671 | DWORD dwSupport; | |
12672 | GUID ManufacturerGuid; | |
12673 | GUID ProductGuid; | |
12674 | GUID NameGuid; | |
12675 | } AUXCAPS2A, *LPAUXCAPS2A; | |
12676 | ||
12677 | typedef struct tagAUXCAPS2W { | |
12678 | WORD wMid; | |
12679 | WORD wPid; | |
12680 | MMVERSION vDriverVersion; | |
12681 | WCHAR szPname[32]; | |
12682 | WORD wTechnology; | |
12683 | WORD wReserved1; | |
12684 | DWORD dwSupport; | |
12685 | GUID ManufacturerGuid; | |
12686 | GUID ProductGuid; | |
12687 | GUID NameGuid; | |
12688 | } AUXCAPS2W, *LPAUXCAPS2W; | |
12689 | ||
12690 | typedef AUXCAPS2A AUXCAPS2; | |
12691 | typedef LPAUXCAPS2A LPAUXCAPS2; | |
12692 | ||
12693 | ||
12694 | ||
12695 | ||
12696 | ||
12697 | ||
12698 | ||
12699 | UINT __attribute__((__stdcall__)) auxGetNumDevs(void); | |
12700 | UINT __attribute__((__stdcall__)) auxGetDevCapsA(UINT_PTR,LPAUXCAPSA,UINT); | |
12701 | UINT __attribute__((__stdcall__)) auxGetDevCapsW(UINT_PTR,LPAUXCAPSW,UINT); | |
12702 | ||
12703 | UINT __attribute__((__stdcall__)) auxSetVolume(UINT,DWORD); | |
12704 | UINT __attribute__((__stdcall__)) auxGetVolume(UINT,LPDWORD); | |
12705 | UINT __attribute__((__stdcall__)) auxOutMessage(UINT,UINT,DWORD_PTR,DWORD_PTR); | |
12706 | ||
12707 | ||
12708 | ||
12709 | ||
12710 | ||
12711 | typedef void (__attribute__((__stdcall__)) *LPTIMECALLBACK)(UINT,UINT,DWORD_PTR,DWORD_PTR,DWORD_PTR); | |
12712 | # 881 "../../../include/mmsystem.h" | |
12713 | typedef struct timecaps_tag { | |
12714 | UINT wPeriodMin; | |
12715 | UINT wPeriodMax; | |
12716 | } TIMECAPS, *LPTIMECAPS; | |
12717 | ||
12718 | ||
12719 | MMRESULT __attribute__((__stdcall__)) timeGetSystemTime(LPMMTIME,UINT); | |
12720 | DWORD __attribute__((__stdcall__)) timeGetTime(void); | |
12721 | MMRESULT __attribute__((__stdcall__)) timeSetEvent(UINT,UINT,LPTIMECALLBACK,DWORD_PTR,UINT); | |
12722 | MMRESULT __attribute__((__stdcall__)) timeKillEvent(UINT); | |
12723 | MMRESULT __attribute__((__stdcall__)) timeGetDevCaps(LPTIMECAPS,UINT); | |
12724 | MMRESULT __attribute__((__stdcall__)) timeBeginPeriod(UINT); | |
12725 | MMRESULT __attribute__((__stdcall__)) timeEndPeriod(UINT); | |
12726 | # 957 "../../../include/mmsystem.h" | |
12727 | typedef struct tagJOYCAPSA { | |
12728 | WORD wMid; | |
12729 | WORD wPid; | |
12730 | CHAR szPname[32]; | |
12731 | UINT wXmin; | |
12732 | UINT wXmax; | |
12733 | UINT wYmin; | |
12734 | UINT wYmax; | |
12735 | UINT wZmin; | |
12736 | UINT wZmax; | |
12737 | UINT wNumButtons; | |
12738 | UINT wPeriodMin; | |
12739 | UINT wPeriodMax; | |
12740 | UINT wRmin; | |
12741 | UINT wRmax; | |
12742 | UINT wUmin; | |
12743 | UINT wUmax; | |
12744 | UINT wVmin; | |
12745 | UINT wVmax; | |
12746 | UINT wCaps; | |
12747 | UINT wMaxAxes; | |
12748 | UINT wNumAxes; | |
12749 | UINT wMaxButtons; | |
12750 | CHAR szRegKey[32]; | |
12751 | CHAR szOEMVxD[260]; | |
12752 | } JOYCAPSA, *LPJOYCAPSA; | |
12753 | ||
12754 | typedef struct tagJOYCAPSW { | |
12755 | WORD wMid; | |
12756 | WORD wPid; | |
12757 | WCHAR szPname[32]; | |
12758 | UINT wXmin; | |
12759 | UINT wXmax; | |
12760 | UINT wYmin; | |
12761 | UINT wYmax; | |
12762 | UINT wZmin; | |
12763 | UINT wZmax; | |
12764 | UINT wNumButtons; | |
12765 | UINT wPeriodMin; | |
12766 | UINT wPeriodMax; | |
12767 | UINT wRmin; | |
12768 | UINT wRmax; | |
12769 | UINT wUmin; | |
12770 | UINT wUmax; | |
12771 | UINT wVmin; | |
12772 | UINT wVmax; | |
12773 | UINT wCaps; | |
12774 | UINT wMaxAxes; | |
12775 | UINT wNumAxes; | |
12776 | UINT wMaxButtons; | |
12777 | WCHAR szRegKey[32]; | |
12778 | WCHAR szOEMVxD[260]; | |
12779 | } JOYCAPSW, *LPJOYCAPSW; | |
12780 | typedef JOYCAPSA JOYCAPS; | |
12781 | typedef LPJOYCAPSA LPJOYCAPS; | |
12782 | ||
12783 | typedef struct tagJOYCAPS2A { | |
12784 | WORD wMid; | |
12785 | WORD wPid; | |
12786 | CHAR szPname[32]; | |
12787 | UINT wXmin; | |
12788 | UINT wXmax; | |
12789 | UINT wYmin; | |
12790 | UINT wYmax; | |
12791 | UINT wZmin; | |
12792 | UINT wZmax; | |
12793 | UINT wNumButtons; | |
12794 | UINT wPeriodMin; | |
12795 | UINT wPeriodMax; | |
12796 | UINT wRmin; | |
12797 | UINT wRmax; | |
12798 | UINT wUmin; | |
12799 | UINT wUmax; | |
12800 | UINT wVmin; | |
12801 | UINT wVmax; | |
12802 | UINT wCaps; | |
12803 | UINT wMaxAxes; | |
12804 | UINT wNumAxes; | |
12805 | UINT wMaxButtons; | |
12806 | CHAR szRegKey[32]; | |
12807 | CHAR szOEMVxD[260]; | |
12808 | GUID ManufacturerGuid; | |
12809 | GUID ProductGuid; | |
12810 | GUID NameGuid; | |
12811 | } JOYCAPS2A, *LPJOYCAPS2A; | |
12812 | ||
12813 | typedef struct tagJOYCAPS2W { | |
12814 | WORD wMid; | |
12815 | WORD wPid; | |
12816 | WCHAR szPname[32]; | |
12817 | UINT wXmin; | |
12818 | UINT wXmax; | |
12819 | UINT wYmin; | |
12820 | UINT wYmax; | |
12821 | UINT wZmin; | |
12822 | UINT wZmax; | |
12823 | UINT wNumButtons; | |
12824 | UINT wPeriodMin; | |
12825 | UINT wPeriodMax; | |
12826 | UINT wRmin; | |
12827 | UINT wRmax; | |
12828 | UINT wUmin; | |
12829 | UINT wUmax; | |
12830 | UINT wVmin; | |
12831 | UINT wVmax; | |
12832 | UINT wCaps; | |
12833 | UINT wMaxAxes; | |
12834 | UINT wNumAxes; | |
12835 | UINT wMaxButtons; | |
12836 | WCHAR szRegKey[32]; | |
12837 | WCHAR szOEMVxD[260]; | |
12838 | GUID ManufacturerGuid; | |
12839 | GUID ProductGuid; | |
12840 | GUID NameGuid; | |
12841 | } JOYCAPS2W, *LPJOYCAPS2W; | |
12842 | typedef JOYCAPS2A JOYCAPS2; | |
12843 | typedef LPJOYCAPS2A LPJOYCAPS2; | |
12844 | ||
12845 | typedef struct joyinfo_tag { | |
12846 | UINT wXpos; | |
12847 | UINT wYpos; | |
12848 | UINT wZpos; | |
12849 | UINT wButtons; | |
12850 | } JOYINFO, *LPJOYINFO; | |
12851 | ||
12852 | typedef struct joyinfoex_tag { | |
12853 | DWORD dwSize; | |
12854 | DWORD dwFlags; | |
12855 | DWORD dwXpos; | |
12856 | DWORD dwYpos; | |
12857 | DWORD dwZpos; | |
12858 | DWORD dwRpos; | |
12859 | DWORD dwUpos; | |
12860 | DWORD dwVpos; | |
12861 | DWORD dwButtons; | |
12862 | DWORD dwButtonNumber; | |
12863 | DWORD dwPOV; | |
12864 | DWORD dwReserved1; | |
12865 | DWORD dwReserved2; | |
12866 | } JOYINFOEX,*LPJOYINFOEX; | |
12867 | ||
12868 | ||
12869 | MMRESULT __attribute__((__stdcall__)) joyGetDevCapsA(UINT_PTR,LPJOYCAPSA,UINT); | |
12870 | MMRESULT __attribute__((__stdcall__)) joyGetDevCapsW(UINT_PTR,LPJOYCAPSW,UINT); | |
12871 | ||
12872 | UINT __attribute__((__stdcall__)) joyGetNumDevs(void); | |
12873 | MMRESULT __attribute__((__stdcall__)) joyGetPos(UINT,LPJOYINFO); | |
12874 | MMRESULT __attribute__((__stdcall__)) joyGetPosEx(UINT,LPJOYINFOEX); | |
12875 | MMRESULT __attribute__((__stdcall__)) joyGetThreshold(UINT,UINT*); | |
12876 | MMRESULT __attribute__((__stdcall__)) joyReleaseCapture(UINT); | |
12877 | MMRESULT __attribute__((__stdcall__)) joySetCapture(HWND,UINT,UINT,BOOL); | |
12878 | MMRESULT __attribute__((__stdcall__)) joySetThreshold(UINT,UINT); | |
12879 | ||
12880 | ||
12881 | ||
12882 | ||
12883 | ||
12884 | ||
12885 | ||
12886 | typedef struct tagMIXERCAPSA { | |
12887 | WORD wMid; | |
12888 | WORD wPid; | |
12889 | MMVERSION vDriverVersion; | |
12890 | CHAR szPname[32]; | |
12891 | DWORD fdwSupport; | |
12892 | DWORD cDestinations; | |
12893 | } MIXERCAPSA,*LPMIXERCAPSA; | |
12894 | ||
12895 | typedef struct tagMIXERCAPSW { | |
12896 | WORD wMid; | |
12897 | WORD wPid; | |
12898 | MMVERSION vDriverVersion; | |
12899 | WCHAR szPname[32]; | |
12900 | DWORD fdwSupport; | |
12901 | DWORD cDestinations; | |
12902 | } MIXERCAPSW,*LPMIXERCAPSW; | |
12903 | ||
12904 | typedef MIXERCAPSA MIXERCAPS; | |
12905 | typedef LPMIXERCAPSA LPMIXERCAPS; | |
12906 | ||
12907 | typedef struct tagMIXERCAPS2A { | |
12908 | WORD wMid; | |
12909 | WORD wPid; | |
12910 | MMVERSION vDriverVersion; | |
12911 | CHAR szPname[32]; | |
12912 | DWORD fdwSupport; | |
12913 | DWORD cDestinations; | |
12914 | GUID ManufacturerGuid; | |
12915 | GUID ProductGuid; | |
12916 | GUID NameGuid; | |
12917 | } MIXERCAPS2A,*LPMIXERCAPS2A; | |
12918 | ||
12919 | typedef struct tagMIXERCAPS2W { | |
12920 | WORD wMid; | |
12921 | WORD wPid; | |
12922 | MMVERSION vDriverVersion; | |
12923 | WCHAR szPname[32]; | |
12924 | DWORD fdwSupport; | |
12925 | DWORD cDestinations; | |
12926 | GUID ManufacturerGuid; | |
12927 | GUID ProductGuid; | |
12928 | GUID NameGuid; | |
12929 | } MIXERCAPS2W,*LPMIXERCAPS2W; | |
12930 | ||
12931 | typedef MIXERCAPS2A MIXERCAPS2; | |
12932 | typedef LPMIXERCAPS2A LPMIXERCAPS2; | |
12933 | # 1222 "../../../include/mmsystem.h" | |
12934 | typedef struct tagMIXERLINEA { | |
12935 | DWORD cbStruct; | |
12936 | DWORD dwDestination; | |
12937 | DWORD dwSource; | |
12938 | DWORD dwLineID; | |
12939 | DWORD fdwLine; | |
12940 | DWORD dwUser; | |
12941 | DWORD dwComponentType; | |
12942 | DWORD cChannels; | |
12943 | DWORD cConnections; | |
12944 | DWORD cControls; | |
12945 | CHAR szShortName[16]; | |
12946 | CHAR szName[64]; | |
12947 | struct { | |
12948 | DWORD dwType; | |
12949 | DWORD dwDeviceID; | |
12950 | WORD wMid; | |
12951 | WORD wPid; | |
12952 | MMVERSION vDriverVersion; | |
12953 | CHAR szPname[32]; | |
12954 | } Target; | |
12955 | } MIXERLINEA, *LPMIXERLINEA; | |
12956 | ||
12957 | typedef struct tagMIXERLINEW { | |
12958 | DWORD cbStruct; | |
12959 | DWORD dwDestination; | |
12960 | DWORD dwSource; | |
12961 | DWORD dwLineID; | |
12962 | DWORD fdwLine; | |
12963 | DWORD dwUser; | |
12964 | DWORD dwComponentType; | |
12965 | DWORD cChannels; | |
12966 | DWORD cConnections; | |
12967 | DWORD cControls; | |
12968 | WCHAR szShortName[16]; | |
12969 | WCHAR szName[64]; | |
12970 | struct { | |
12971 | DWORD dwType; | |
12972 | DWORD dwDeviceID; | |
12973 | WORD wMid; | |
12974 | WORD wPid; | |
12975 | MMVERSION vDriverVersion; | |
12976 | WCHAR szPname[32]; | |
12977 | } Target; | |
12978 | } MIXERLINEW, *LPMIXERLINEW; | |
12979 | ||
12980 | typedef MIXERLINEA MIXERLINE; | |
12981 | typedef LPMIXERLINEA LPMIXERLINE; | |
12982 | # 1342 "../../../include/mmsystem.h" | |
12983 | typedef struct tagMIXERCONTROLA { | |
12984 | DWORD cbStruct; | |
12985 | DWORD dwControlID; | |
12986 | DWORD dwControlType; | |
12987 | DWORD fdwControl; | |
12988 | DWORD cMultipleItems; | |
12989 | CHAR szShortName[16]; | |
12990 | CHAR szName[64]; | |
12991 | union { | |
12992 | struct { | |
12993 | LONG lMinimum; | |
12994 | LONG lMaximum; | |
12995 | } ; | |
12996 | struct { | |
12997 | DWORD dwMinimum; | |
12998 | DWORD dwMaximum; | |
12999 | } ; | |
13000 | DWORD dwReserved[6]; | |
13001 | } Bounds; | |
13002 | union { | |
13003 | DWORD cSteps; | |
13004 | DWORD cbCustomData; | |
13005 | DWORD dwReserved[6]; | |
13006 | } Metrics; | |
13007 | } MIXERCONTROLA, *LPMIXERCONTROLA; | |
13008 | ||
13009 | typedef struct MIXERCONTROLW { | |
13010 | DWORD cbStruct; | |
13011 | DWORD dwControlID; | |
13012 | DWORD dwControlType; | |
13013 | DWORD fdwControl; | |
13014 | DWORD cMultipleItems; | |
13015 | WCHAR szShortName[16]; | |
13016 | WCHAR szName[64]; | |
13017 | union { | |
13018 | struct { | |
13019 | LONG lMinimum; | |
13020 | LONG lMaximum; | |
13021 | } ; | |
13022 | struct { | |
13023 | DWORD dwMinimum; | |
13024 | DWORD dwMaximum; | |
13025 | } ; | |
13026 | DWORD dwReserved[6]; | |
13027 | } Bounds; | |
13028 | union { | |
13029 | DWORD cSteps; | |
13030 | DWORD cbCustomData; | |
13031 | DWORD dwReserved[6]; | |
13032 | } Metrics; | |
13033 | } MIXERCONTROLW, *LPMIXERCONTROLW; | |
13034 | ||
13035 | typedef MIXERCONTROLA MIXERCONTROL; | |
13036 | typedef LPMIXERCONTROLA LPMIXERCONTROL; | |
13037 | ||
13038 | typedef struct tagMIXERLINECONTROLSA { | |
13039 | DWORD cbStruct; | |
13040 | DWORD dwLineID; | |
13041 | union { | |
13042 | DWORD dwControlID; | |
13043 | DWORD dwControlType; | |
13044 | } ; | |
13045 | DWORD cControls; | |
13046 | DWORD cbmxctrl; | |
13047 | LPMIXERCONTROLA pamxctrl; | |
13048 | } MIXERLINECONTROLSA, *LPMIXERLINECONTROLSA; | |
13049 | ||
13050 | typedef struct tagMIXERLINECONTROLSW { | |
13051 | DWORD cbStruct; | |
13052 | DWORD dwLineID; | |
13053 | union { | |
13054 | DWORD dwControlID; | |
13055 | DWORD dwControlType; | |
13056 | } ; | |
13057 | DWORD cControls; | |
13058 | DWORD cbmxctrl; | |
13059 | LPMIXERCONTROLW pamxctrl; | |
13060 | } MIXERLINECONTROLSW, *LPMIXERLINECONTROLSW; | |
13061 | ||
13062 | typedef MIXERLINECONTROLSA MIXERLINECONTROLS; | |
13063 | typedef LPMIXERLINECONTROLSA LPMIXERLINECONTROLS; | |
13064 | ||
13065 | typedef struct tMIXERCONTROLDETAILS { | |
13066 | DWORD cbStruct; | |
13067 | DWORD dwControlID; | |
13068 | DWORD cChannels; | |
13069 | union { | |
13070 | HWND hwndOwner; | |
13071 | DWORD cMultipleItems; | |
13072 | } ; | |
13073 | DWORD cbDetails; | |
13074 | LPVOID paDetails; | |
13075 | } MIXERCONTROLDETAILS,*LPMIXERCONTROLDETAILS; | |
13076 | ||
13077 | typedef struct tagMIXERCONTROLDETAILS_LISTTEXTA { | |
13078 | DWORD dwParam1; | |
13079 | DWORD dwParam2; | |
13080 | CHAR szName[64]; | |
13081 | } MIXERCONTROLDETAILS_LISTTEXTA,*LPMIXERCONTROLDETAILS_LISTTEXTA; | |
13082 | ||
13083 | typedef struct tagMIXERCONTROLDETAILS_LISTTEXTW { | |
13084 | DWORD dwParam1; | |
13085 | DWORD dwParam2; | |
13086 | WCHAR szName[64]; | |
13087 | } MIXERCONTROLDETAILS_LISTTEXTW,*LPMIXERCONTROLDETAILS_LISTTEXTW; | |
13088 | ||
13089 | typedef MIXERCONTROLDETAILS_LISTTEXTA MIXERCONTROLDETAILS_LISTTEXT; | |
13090 | typedef LPMIXERCONTROLDETAILS_LISTTEXTA LPMIXERCONTROLDETAILS_LISTTEXT; | |
13091 | ||
13092 | ||
13093 | typedef struct { | |
13094 | LONG fValue; | |
13095 | } MIXERCONTROLDETAILS_BOOLEAN,*LPMIXERCONTROLDETAILS_BOOLEAN; | |
13096 | ||
13097 | typedef struct { | |
13098 | LONG lValue; | |
13099 | } MIXERCONTROLDETAILS_SIGNED,*LPMIXERCONTROLDETAILS_SIGNED; | |
13100 | ||
13101 | typedef struct { | |
13102 | DWORD dwValue; | |
13103 | } MIXERCONTROLDETAILS_UNSIGNED,*LPMIXERCONTROLDETAILS_UNSIGNED; | |
13104 | # 1488 "../../../include/mmsystem.h" | |
13105 | UINT __attribute__((__stdcall__)) mixerGetNumDevs(void); | |
13106 | UINT __attribute__((__stdcall__)) mixerOpen(LPHMIXER,UINT,DWORD_PTR,DWORD_PTR,DWORD); | |
13107 | UINT __attribute__((__stdcall__)) mixerClose(HMIXER); | |
13108 | DWORD __attribute__((__stdcall__)) mixerMessage(HMIXER,UINT,DWORD_PTR,DWORD_PTR); | |
13109 | UINT __attribute__((__stdcall__)) mixerGetDevCapsA(UINT_PTR,LPMIXERCAPSA,UINT); | |
13110 | UINT __attribute__((__stdcall__)) mixerGetDevCapsW(UINT_PTR,LPMIXERCAPSW,UINT); | |
13111 | ||
13112 | UINT __attribute__((__stdcall__)) mixerGetLineInfoA(HMIXEROBJ,LPMIXERLINEA,DWORD); | |
13113 | UINT __attribute__((__stdcall__)) mixerGetLineInfoW(HMIXEROBJ,LPMIXERLINEW,DWORD); | |
13114 | ||
13115 | UINT __attribute__((__stdcall__)) mixerGetID(HMIXEROBJ,LPUINT,DWORD); | |
13116 | UINT __attribute__((__stdcall__)) mixerGetLineControlsA(HMIXEROBJ,LPMIXERLINECONTROLSA,DWORD); | |
13117 | UINT __attribute__((__stdcall__)) mixerGetLineControlsW(HMIXEROBJ,LPMIXERLINECONTROLSW,DWORD); | |
13118 | ||
13119 | UINT __attribute__((__stdcall__)) mixerGetControlDetailsA(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); | |
13120 | UINT __attribute__((__stdcall__)) mixerGetControlDetailsW(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); | |
13121 | ||
13122 | UINT __attribute__((__stdcall__)) mixerSetControlDetails(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); | |
13123 | # 1527 "../../../include/mmsystem.h" | |
13124 | typedef DWORD FOURCC; | |
13125 | typedef LRESULT (__attribute__((__stdcall__)) *LPMMIOPROC) (LPSTR lpmmioinfo, UINT uMessage, | |
13126 | LPARAM lParam1, LPARAM lParam2); | |
13127 | ||
13128 | typedef struct _MMIOINFO { | |
13129 | DWORD dwFlags; | |
13130 | FOURCC fccIOProc; | |
13131 | LPMMIOPROC pIOProc; | |
13132 | UINT wErrorRet; | |
13133 | HTASK hTask; | |
13134 | ||
13135 | LONG cchBuffer; | |
13136 | HPSTR pchBuffer; | |
13137 | HPSTR pchNext; | |
13138 | HPSTR pchEndRead; | |
13139 | HPSTR pchEndWrite; | |
13140 | LONG lBufOffset; | |
13141 | ||
13142 | LONG lDiskOffset; | |
13143 | DWORD adwInfo[3]; | |
13144 | ||
13145 | DWORD dwReserved1; | |
13146 | DWORD dwReserved2; | |
13147 | HMMIO hmmio; | |
13148 | } MMIOINFO, *PMMIOINFO, *LPMMIOINFO; | |
13149 | ||
13150 | ||
13151 | typedef struct _MMCKINFO | |
13152 | { | |
13153 | FOURCC ckid; | |
13154 | DWORD cksize; | |
13155 | FOURCC fccType; | |
13156 | DWORD dwDataOffset; | |
13157 | DWORD dwFlags; | |
13158 | } MMCKINFO, *LPMMCKINFO; | |
13159 | # 1627 "../../../include/mmsystem.h" | |
13160 | LPMMIOPROC __attribute__((__stdcall__)) mmioInstallIOProcA(FOURCC,LPMMIOPROC,DWORD); | |
13161 | LPMMIOPROC __attribute__((__stdcall__)) mmioInstallIOProcW(FOURCC,LPMMIOPROC,DWORD); | |
13162 | ||
13163 | ||
13164 | FOURCC __attribute__((__stdcall__)) mmioStringToFOURCCA(LPCSTR,UINT); | |
13165 | FOURCC __attribute__((__stdcall__)) mmioStringToFOURCCW(LPCWSTR,UINT); | |
13166 | ||
13167 | HMMIO __attribute__((__stdcall__)) mmioOpenA(LPSTR,MMIOINFO*,DWORD); | |
13168 | HMMIO __attribute__((__stdcall__)) mmioOpenW(LPWSTR,MMIOINFO*,DWORD); | |
13169 | ||
13170 | ||
13171 | MMRESULT __attribute__((__stdcall__)) mmioRenameA(LPCSTR szFileName, LPCSTR szNewFileName, | |
13172 | const MMIOINFO * lpmmioinfo, DWORD dwRenameFlags); | |
13173 | MMRESULT __attribute__((__stdcall__)) mmioRenameW(LPCWSTR szFileName, LPCWSTR szNewFileName, | |
13174 | const MMIOINFO * lpmmioinfo, DWORD dwRenameFlags); | |
13175 | ||
13176 | ||
13177 | MMRESULT __attribute__((__stdcall__)) mmioClose(HMMIO,UINT); | |
13178 | LONG __attribute__((__stdcall__)) mmioRead(HMMIO,HPSTR,LONG); | |
13179 | LONG __attribute__((__stdcall__)) mmioWrite(HMMIO,HPCSTR,LONG); | |
13180 | LONG __attribute__((__stdcall__)) mmioSeek(HMMIO,LONG,INT); | |
13181 | MMRESULT __attribute__((__stdcall__)) mmioGetInfo(HMMIO,MMIOINFO*,UINT); | |
13182 | MMRESULT __attribute__((__stdcall__)) mmioSetInfo(HMMIO,const MMIOINFO*,UINT); | |
13183 | MMRESULT __attribute__((__stdcall__)) mmioSetBuffer(HMMIO,LPSTR,LONG,UINT); | |
13184 | MMRESULT __attribute__((__stdcall__)) mmioFlush(HMMIO,UINT); | |
13185 | MMRESULT __attribute__((__stdcall__)) mmioAdvance(HMMIO,MMIOINFO*,UINT); | |
13186 | LRESULT __attribute__((__stdcall__)) mmioSendMessage(HMMIO,UINT,LPARAM,LPARAM); | |
13187 | MMRESULT __attribute__((__stdcall__)) mmioDescend(HMMIO,MMCKINFO*,const MMCKINFO*,UINT); | |
13188 | MMRESULT __attribute__((__stdcall__)) mmioAscend(HMMIO,MMCKINFO*,UINT); | |
13189 | MMRESULT __attribute__((__stdcall__)) mmioCreateChunk(HMMIO,MMCKINFO*,UINT); | |
13190 | ||
13191 | typedef UINT (__attribute__((__stdcall__)) *YIELDPROC)(MCIDEVICEID,DWORD); | |
13192 | ||
13193 | BOOL __attribute__((__stdcall__)) mciExecute(LPCSTR); | |
13194 | DWORD __attribute__((__stdcall__)) mciSendCommandA(MCIDEVICEID,UINT,DWORD_PTR,DWORD_PTR); | |
13195 | DWORD __attribute__((__stdcall__)) mciSendCommandW(MCIDEVICEID,UINT,DWORD_PTR,DWORD_PTR); | |
13196 | ||
13197 | DWORD __attribute__((__stdcall__)) mciSendStringA(LPCSTR,LPSTR,UINT,HWND); | |
13198 | DWORD __attribute__((__stdcall__)) mciSendStringW(LPCWSTR,LPWSTR,UINT,HWND); | |
13199 | ||
13200 | MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDA(LPCSTR); | |
13201 | MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDW(LPCWSTR); | |
13202 | ||
13203 | MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDFromElementIDA(DWORD,LPCSTR); | |
13204 | MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDFromElementIDW(DWORD,LPCWSTR); | |
13205 | ||
13206 | BOOL __attribute__((__stdcall__)) mciGetErrorStringA(MCIERROR,LPSTR,UINT); | |
13207 | BOOL __attribute__((__stdcall__)) mciGetErrorStringW(MCIERROR,LPWSTR,UINT); | |
13208 | ||
13209 | BOOL __attribute__((__stdcall__)) mciSetYieldProc(MCIDEVICEID,YIELDPROC,DWORD); | |
13210 | HTASK __attribute__((__stdcall__)) mciGetCreatorTask(MCIDEVICEID); | |
13211 | YIELDPROC __attribute__((__stdcall__)) mciGetYieldProc(MCIDEVICEID,DWORD*); | |
13212 | # 1944 "../../../include/mmsystem.h" | |
13213 | typedef struct tagMCI_GENERIC_PARMS { | |
13214 | DWORD_PTR dwCallback; | |
13215 | } MCI_GENERIC_PARMS, *LPMCI_GENERIC_PARMS; | |
13216 | ||
13217 | typedef struct tagMCI_OPEN_PARMSA { | |
13218 | DWORD_PTR dwCallback; | |
13219 | MCIDEVICEID wDeviceID; | |
13220 | LPCSTR lpstrDeviceType; | |
13221 | LPCSTR lpstrElementName; | |
13222 | LPCSTR lpstrAlias; | |
13223 | } MCI_OPEN_PARMSA, *LPMCI_OPEN_PARMSA; | |
13224 | ||
13225 | typedef struct tagMCI_OPEN_PARMSW { | |
13226 | DWORD_PTR dwCallback; | |
13227 | MCIDEVICEID wDeviceID; | |
13228 | LPCWSTR lpstrDeviceType; | |
13229 | LPCWSTR lpstrElementName; | |
13230 | LPCWSTR lpstrAlias; | |
13231 | } MCI_OPEN_PARMSW, *LPMCI_OPEN_PARMSW; | |
13232 | ||
13233 | typedef MCI_OPEN_PARMSA MCI_OPEN_PARMS; | |
13234 | typedef LPMCI_OPEN_PARMSA LPMCI_OPEN_PARMS; | |
13235 | ||
13236 | typedef struct tagMCI_PLAY_PARMS{ | |
13237 | DWORD_PTR dwCallback; | |
13238 | DWORD dwFrom; | |
13239 | DWORD dwTo; | |
13240 | } MCI_PLAY_PARMS, *LPMCI_PLAY_PARMS; | |
13241 | ||
13242 | typedef struct tagMCI_SEEK_PARMS { | |
13243 | DWORD_PTR dwCallback; | |
13244 | DWORD dwTo; | |
13245 | } MCI_SEEK_PARMS, *LPMCI_SEEK_PARMS; | |
13246 | ||
13247 | typedef struct tagMCI_STATUS_PARMS { | |
13248 | DWORD_PTR dwCallback; | |
13249 | DWORD dwReturn; | |
13250 | DWORD dwItem; | |
13251 | DWORD dwTrack; | |
13252 | } MCI_STATUS_PARMS, *LPMCI_STATUS_PARMS; | |
13253 | ||
13254 | typedef struct tagMCI_INFO_PARMSA { | |
13255 | DWORD_PTR dwCallback; | |
13256 | LPSTR lpstrReturn; | |
13257 | DWORD dwRetSize; | |
13258 | } MCI_INFO_PARMSA, *LPMCI_INFO_PARMSA; | |
13259 | ||
13260 | typedef struct tagMCI_INFO_PARMSW { | |
13261 | DWORD_PTR dwCallback; | |
13262 | LPWSTR lpstrReturn; | |
13263 | DWORD dwRetSize; | |
13264 | } MCI_INFO_PARMSW, *LPMCI_INFO_PARMSW; | |
13265 | ||
13266 | typedef MCI_INFO_PARMSA MCI_INFO_PARMS; | |
13267 | typedef LPMCI_INFO_PARMSA LPMCI_INFO_PARMS; | |
13268 | ||
13269 | typedef struct tagMCI_GETDEVCAPS_PARMS { | |
13270 | DWORD_PTR dwCallback; | |
13271 | DWORD dwReturn; | |
13272 | DWORD dwItem; | |
13273 | } MCI_GETDEVCAPS_PARMS, *LPMCI_GETDEVCAPS_PARMS; | |
13274 | ||
13275 | typedef struct tagMCI_SYSINFO_PARMSA { | |
13276 | DWORD_PTR dwCallback; | |
13277 | LPSTR lpstrReturn; | |
13278 | DWORD dwRetSize; | |
13279 | DWORD dwNumber; | |
13280 | UINT wDeviceType; | |
13281 | } MCI_SYSINFO_PARMSA, *LPMCI_SYSINFO_PARMSA; | |
13282 | ||
13283 | typedef struct tagMCI_SYSINFO_PARMSW { | |
13284 | DWORD_PTR dwCallback; | |
13285 | LPWSTR lpstrReturn; | |
13286 | DWORD dwRetSize; | |
13287 | DWORD dwNumber; | |
13288 | UINT wDeviceType; | |
13289 | } MCI_SYSINFO_PARMSW, *LPMCI_SYSINFO_PARMSW; | |
13290 | ||
13291 | typedef MCI_SYSINFO_PARMSA MCI_SYSINFO_PARMS; | |
13292 | typedef LPMCI_SYSINFO_PARMSA LPMCI_SYSINFO_PARMS; | |
13293 | ||
13294 | typedef struct tagMCI_SET_PARMS { | |
13295 | DWORD_PTR dwCallback; | |
13296 | DWORD dwTimeFormat; | |
13297 | DWORD dwAudio; | |
13298 | } MCI_SET_PARMS, *LPMCI_SET_PARMS; | |
13299 | ||
13300 | typedef struct tagMCI_BREAK_PARMS { | |
13301 | DWORD_PTR dwCallback; | |
13302 | INT nVirtKey; | |
13303 | HWND hwndBreak; | |
13304 | } MCI_BREAK_PARMS, *LPMCI_BREAK_PARMS; | |
13305 | ||
13306 | ||
13307 | typedef struct tagMCI_SOUND_PARMSA { | |
13308 | DWORD_PTR dwCallback; | |
13309 | LPCSTR lpstrSoundName; | |
13310 | } MCI_SOUND_PARMSA, *LPMCI_SOUND_PARMSA; | |
13311 | ||
13312 | typedef struct tagMCI_SOUND_PARMSW { | |
13313 | DWORD_PTR dwCallback; | |
13314 | LPCWSTR lpstrSoundName; | |
13315 | } MCI_SOUND_PARMSW, *LPMCI_SOUND_PARMSW; | |
13316 | ||
13317 | typedef MCI_SOUND_PARMSA MCI_SOUND_PARMS; | |
13318 | typedef LPMCI_SOUND_PARMSA LPMCI_SOUND_PARMS; | |
13319 | ||
13320 | typedef struct tagMCI_SAVE_PARMSA { | |
13321 | DWORD_PTR dwCallback; | |
13322 | LPCSTR lpfilename; | |
13323 | } MCI_SAVE_PARMSA, *LPMCI_SAVE_PARMSA; | |
13324 | ||
13325 | typedef struct tagMCI_SAVE_PARMSW { | |
13326 | DWORD_PTR dwCallback; | |
13327 | LPCWSTR lpfilename; | |
13328 | } MCI_SAVE_PARMSW, *LPMCI_SAVE_PARMSW; | |
13329 | ||
13330 | typedef MCI_SAVE_PARMSA MCI_SAVE_PARMS; | |
13331 | typedef LPMCI_SAVE_PARMSA LPMCI_SAVE_PARMS; | |
13332 | ||
13333 | typedef struct tagMCI_LOAD_PARMSA { | |
13334 | DWORD_PTR dwCallback; | |
13335 | LPCSTR lpfilename; | |
13336 | } MCI_LOAD_PARMSA, *LPMCI_LOAD_PARMSA; | |
13337 | ||
13338 | typedef struct tagMCI_LOAD_PARMSW { | |
13339 | DWORD_PTR dwCallback; | |
13340 | LPCWSTR lpfilename; | |
13341 | } MCI_LOAD_PARMSW, *LPMCI_LOAD_PARMSW; | |
13342 | ||
13343 | typedef MCI_LOAD_PARMSA MCI_LOAD_PARMS; | |
13344 | typedef LPMCI_LOAD_PARMSA LPMCI_LOAD_PARMS; | |
13345 | ||
13346 | typedef struct tagMCI_RECORD_PARMS { | |
13347 | DWORD_PTR dwCallback; | |
13348 | DWORD dwFrom; | |
13349 | DWORD dwTo; | |
13350 | } MCI_RECORD_PARMS, *LPMCI_RECORD_PARMS; | |
13351 | # 2126 "../../../include/mmsystem.h" | |
13352 | typedef struct tagMCI_VD_PLAY_PARMS { | |
13353 | DWORD_PTR dwCallback; | |
13354 | DWORD dwFrom; | |
13355 | DWORD dwTo; | |
13356 | DWORD dwSpeed; | |
13357 | } MCI_VD_PLAY_PARMS, *LPMCI_VD_PLAY_PARMS; | |
13358 | ||
13359 | typedef struct tagMCI_VD_STEP_PARMS { | |
13360 | DWORD_PTR dwCallback; | |
13361 | DWORD dwFrames; | |
13362 | } MCI_VD_STEP_PARMS, *LPMCI_VD_STEP_PARMS; | |
13363 | ||
13364 | typedef struct tagMCI_VD_ESCAPE_PARMSA { | |
13365 | DWORD_PTR dwCallback; | |
13366 | LPCSTR lpstrCommand; | |
13367 | } MCI_VD_ESCAPE_PARMSA, *LPMCI_VD_ESCAPE_PARMSA; | |
13368 | ||
13369 | typedef struct tagMCI_VD_ESCAPE_PARMSW { | |
13370 | DWORD_PTR dwCallback; | |
13371 | LPCWSTR lpstrCommand; | |
13372 | } MCI_VD_ESCAPE_PARMSW, *LPMCI_VD_ESCAPE_PARMSW; | |
13373 | ||
13374 | typedef MCI_VD_ESCAPE_PARMSA MCI_VD_ESCAPE_PARMS; | |
13375 | typedef LPMCI_VD_ESCAPE_PARMSA LPMCI_VD_ESCAPE_PARMS; | |
13376 | # 2177 "../../../include/mmsystem.h" | |
13377 | typedef struct tagMCI_WAVE_OPEN_PARMSA { | |
13378 | DWORD_PTR dwCallback; | |
13379 | MCIDEVICEID wDeviceID; | |
13380 | LPCSTR lpstrDeviceType; | |
13381 | LPCSTR lpstrElementName; | |
13382 | LPCSTR lpstrAlias; | |
13383 | DWORD dwBufferSeconds; | |
13384 | } MCI_WAVE_OPEN_PARMSA, *LPMCI_WAVE_OPEN_PARMSA; | |
13385 | ||
13386 | typedef struct tagMCI_WAVE_OPEN_PARMSW { | |
13387 | DWORD_PTR dwCallback; | |
13388 | MCIDEVICEID wDeviceID; | |
13389 | LPCWSTR lpstrDeviceType; | |
13390 | LPCWSTR lpstrElementName; | |
13391 | LPCWSTR lpstrAlias; | |
13392 | DWORD dwBufferSeconds; | |
13393 | } MCI_WAVE_OPEN_PARMSW, *LPMCI_WAVE_OPEN_PARMSW; | |
13394 | ||
13395 | typedef MCI_WAVE_OPEN_PARMSA MCI_WAVE_OPEN_PARMS; | |
13396 | typedef LPMCI_WAVE_OPEN_PARMSA LPMCI_WAVE_OPEN_PARMS; | |
13397 | ||
13398 | typedef struct tagMCI_WAVE_DELETE_PARMS { | |
13399 | DWORD_PTR dwCallback; | |
13400 | DWORD dwFrom; | |
13401 | DWORD dwTo; | |
13402 | } MCI_WAVE_DELETE_PARMS, *LPMCI_WAVE_DELETE_PARMS; | |
13403 | ||
13404 | typedef struct tagMCI_WAVE_SET_PARMS { | |
13405 | DWORD_PTR dwCallback; | |
13406 | DWORD dwTimeFormat; | |
13407 | DWORD dwAudio; | |
13408 | UINT wInput; | |
13409 | UINT wOutput; | |
13410 | UINT wFormatTag; | |
13411 | UINT nChannels; | |
13412 | DWORD nSamplesPerSec; | |
13413 | DWORD nAvgBytesPerSec; | |
13414 | UINT nBlockAlign; | |
13415 | UINT wBitsPerSample; | |
13416 | } MCI_WAVE_SET_PARMS, * LPMCI_WAVE_SET_PARMS; | |
13417 | # 2244 "../../../include/mmsystem.h" | |
13418 | typedef struct tagMCI_SEQ_SET_PARMS { | |
13419 | DWORD_PTR dwCallback; | |
13420 | DWORD dwTimeFormat; | |
13421 | DWORD dwAudio; | |
13422 | DWORD dwTempo; | |
13423 | DWORD dwPort; | |
13424 | DWORD dwSlave; | |
13425 | DWORD dwMaster; | |
13426 | DWORD dwOffset; | |
13427 | } MCI_SEQ_SET_PARMS, *LPMCI_SEQ_SET_PARMS; | |
13428 | # 2304 "../../../include/mmsystem.h" | |
13429 | typedef struct tagMCI_ANIM_OPEN_PARMSA { | |
13430 | DWORD_PTR dwCallback; | |
13431 | MCIDEVICEID wDeviceID; | |
13432 | LPCSTR lpstrDeviceType; | |
13433 | LPCSTR lpstrElementName; | |
13434 | LPCSTR lpstrAlias; | |
13435 | DWORD dwStyle; | |
13436 | HWND hWndParent; | |
13437 | } MCI_ANIM_OPEN_PARMSA, *LPMCI_ANIM_OPEN_PARMSA; | |
13438 | ||
13439 | typedef struct tagMCI_ANIM_OPEN_PARMSW { | |
13440 | DWORD_PTR dwCallback; | |
13441 | MCIDEVICEID wDeviceID; | |
13442 | LPCWSTR lpstrDeviceType; | |
13443 | LPCWSTR lpstrElementName; | |
13444 | LPCWSTR lpstrAlias; | |
13445 | DWORD dwStyle; | |
13446 | HWND hWndParent; | |
13447 | } MCI_ANIM_OPEN_PARMSW, *LPMCI_ANIM_OPEN_PARMSW; | |
13448 | ||
13449 | typedef MCI_ANIM_OPEN_PARMSA MCI_ANIM_OPEN_PARMS; | |
13450 | typedef LPMCI_ANIM_OPEN_PARMSA LPMCI_ANIM_OPEN_PARMS; | |
13451 | ||
13452 | typedef struct tagMCI_ANIM_PLAY_PARMS { | |
13453 | DWORD_PTR dwCallback; | |
13454 | DWORD dwFrom; | |
13455 | DWORD dwTo; | |
13456 | DWORD dwSpeed; | |
13457 | } MCI_ANIM_PLAY_PARMS, *LPMCI_ANIM_PLAY_PARMS; | |
13458 | ||
13459 | typedef struct tagMCI_ANIM_STEP_PARMS { | |
13460 | DWORD_PTR dwCallback; | |
13461 | DWORD dwFrames; | |
13462 | } MCI_ANIM_STEP_PARMS, *LPMCI_ANIM_STEP_PARMS; | |
13463 | ||
13464 | typedef struct tagMCI_ANIM_WINDOW_PARMSA { | |
13465 | DWORD_PTR dwCallback; | |
13466 | HWND hWnd; | |
13467 | UINT nCmdShow; | |
13468 | LPCSTR lpstrText; | |
13469 | } MCI_ANIM_WINDOW_PARMSA, *LPMCI_ANIM_WINDOW_PARMSA; | |
13470 | ||
13471 | typedef struct tagMCI_ANIM_WINDOW_PARMSW { | |
13472 | DWORD_PTR dwCallback; | |
13473 | HWND hWnd; | |
13474 | UINT nCmdShow; | |
13475 | LPCWSTR lpstrText; | |
13476 | } MCI_ANIM_WINDOW_PARMSW, *LPMCI_ANIM_WINDOW_PARMSW; | |
13477 | ||
13478 | typedef MCI_ANIM_WINDOW_PARMSA MCI_ANIM_WINDOW_PARMS; | |
13479 | typedef LPMCI_ANIM_WINDOW_PARMSA LPMCI_ANIM_WINDOW_PARMS; | |
13480 | ||
13481 | typedef struct tagMCI_ANIM_RECT_PARMS { | |
13482 | DWORD_PTR dwCallback; | |
13483 | ||
13484 | ||
13485 | ||
13486 | ||
13487 | RECT rc; | |
13488 | ||
13489 | } MCI_ANIM_RECT_PARMS, *LPMCI_ANIM_RECT_PARMS; | |
13490 | ||
13491 | ||
13492 | typedef struct tagMCI_ANIM_UPDATE_PARMS { | |
13493 | DWORD_PTR dwCallback; | |
13494 | RECT rc; | |
13495 | HDC hDC; | |
13496 | } MCI_ANIM_UPDATE_PARMS, *LPMCI_ANIM_UPDATE_PARMS; | |
13497 | # 2405 "../../../include/mmsystem.h" | |
13498 | typedef struct tagMCI_OVLY_OPEN_PARMSA { | |
13499 | DWORD_PTR dwCallback; | |
13500 | MCIDEVICEID wDeviceID; | |
13501 | LPCSTR lpstrDeviceType; | |
13502 | LPCSTR lpstrElementName; | |
13503 | LPCSTR lpstrAlias; | |
13504 | DWORD dwStyle; | |
13505 | HWND hWndParent; | |
13506 | } MCI_OVLY_OPEN_PARMSA, *LPMCI_OVLY_OPEN_PARMSA; | |
13507 | ||
13508 | typedef struct tagMCI_OVLY_OPEN_PARMSW { | |
13509 | DWORD_PTR dwCallback; | |
13510 | MCIDEVICEID wDeviceID; | |
13511 | LPCWSTR lpstrDeviceType; | |
13512 | LPCWSTR lpstrElementName; | |
13513 | LPCWSTR lpstrAlias; | |
13514 | DWORD dwStyle; | |
13515 | HWND hWndParent; | |
13516 | } MCI_OVLY_OPEN_PARMSW, *LPMCI_OVLY_OPEN_PARMSW; | |
13517 | ||
13518 | typedef MCI_OVLY_OPEN_PARMSA MCI_OVLY_OPEN_PARMS; | |
13519 | typedef LPMCI_OVLY_OPEN_PARMSA LPMCI_OVLY_OPEN_PARMS; | |
13520 | ||
13521 | typedef struct tagMCI_OVLY_WINDOW_PARMSA { | |
13522 | DWORD_PTR dwCallback; | |
13523 | HWND hWnd; | |
13524 | UINT nCmdShow; | |
13525 | LPCSTR lpstrText; | |
13526 | } MCI_OVLY_WINDOW_PARMSA, *LPMCI_OVLY_WINDOW_PARMSA; | |
13527 | ||
13528 | typedef struct tagMCI_OVLY_WINDOW_PARMSW { | |
13529 | DWORD_PTR dwCallback; | |
13530 | HWND hWnd; | |
13531 | UINT nCmdShow; | |
13532 | LPCWSTR lpstrText; | |
13533 | } MCI_OVLY_WINDOW_PARMSW, *LPMCI_OVLY_WINDOW_PARMSW; | |
13534 | ||
13535 | typedef MCI_OVLY_WINDOW_PARMSA MCI_OVLY_WINDOW_PARMS; | |
13536 | typedef LPMCI_OVLY_WINDOW_PARMSA LPMCI_OVLY_WINDOW_PARMS; | |
13537 | ||
13538 | typedef struct tagMCI_OVLY_RECT_PARMS { | |
13539 | DWORD_PTR dwCallback; | |
13540 | ||
13541 | ||
13542 | ||
13543 | ||
13544 | RECT rc; | |
13545 | ||
13546 | } MCI_OVLY_RECT_PARMS, *LPMCI_OVLY_RECT_PARMS; | |
13547 | ||
13548 | ||
13549 | typedef struct tagMCI_OVLY_SAVE_PARMSA { | |
13550 | DWORD_PTR dwCallback; | |
13551 | LPCSTR lpfilename; | |
13552 | RECT rc; | |
13553 | } MCI_OVLY_SAVE_PARMSA, *LPMCI_OVLY_SAVE_PARMSA; | |
13554 | ||
13555 | typedef struct tagMCI_OVLY_SAVE_PARMSW { | |
13556 | DWORD_PTR dwCallback; | |
13557 | LPCWSTR lpfilename; | |
13558 | RECT rc; | |
13559 | } MCI_OVLY_SAVE_PARMSW, *LPMCI_OVLY_SAVE_PARMSW; | |
13560 | ||
13561 | typedef MCI_OVLY_SAVE_PARMSA MCI_OVLY_SAVE_PARMS; | |
13562 | typedef LPMCI_OVLY_SAVE_PARMSA LPMCI_OVLY_SAVE_PARMS; | |
13563 | ||
13564 | typedef struct tagMCI_OVLY_LOAD_PARMSA { | |
13565 | DWORD_PTR dwCallback; | |
13566 | LPCSTR lpfilename; | |
13567 | RECT rc; | |
13568 | } MCI_OVLY_LOAD_PARMSA, *LPMCI_OVLY_LOAD_PARMSA; | |
13569 | ||
13570 | typedef struct tagMCI_OVLY_LOAD_PARMSW { | |
13571 | DWORD_PTR dwCallback; | |
13572 | LPCWSTR lpfilename; | |
13573 | RECT rc; | |
13574 | } MCI_OVLY_LOAD_PARMSW, *LPMCI_OVLY_LOAD_PARMSW; | |
13575 | ||
13576 | typedef MCI_OVLY_LOAD_PARMSA MCI_OVLY_LOAD_PARMS; | |
13577 | typedef LPMCI_OVLY_LOAD_PARMSA LPMCI_OVLY_LOAD_PARMS; | |
13578 | # 2498 "../../../include/mmsystem.h" | |
13579 | # 1 "../../../include/poppack.h" 1 | |
13580 | # 253 "../../../include/poppack.h" | |
13581 | #pragma pack() | |
13582 | # 2499 "../../../include/mmsystem.h" 2 | |
13583 | # 57 "../../../include/windows.h" 2 | |
13584 | # 1 "../../../include/nb30.h" 1 | |
13585 | # 58 "../../../include/nb30.h" | |
13586 | typedef struct _NCB | |
13587 | { | |
13588 | UCHAR ncb_command; | |
13589 | UCHAR ncb_retcode; | |
13590 | UCHAR ncb_lsn; | |
13591 | UCHAR ncb_num; | |
13592 | PUCHAR ncb_buffer; | |
13593 | WORD ncb_length; | |
13594 | UCHAR ncb_callname[16]; | |
13595 | UCHAR ncb_name[16]; | |
13596 | UCHAR ncb_rto; | |
13597 | UCHAR ncb_sto; | |
13598 | void (__attribute__((__stdcall__)) *ncb_post)(struct _NCB *); | |
13599 | UCHAR ncb_lana_num; | |
13600 | UCHAR ncb_cmd_cplt; | |
13601 | ||
13602 | ||
13603 | ||
13604 | UCHAR ncb_reserve[10]; | |
13605 | ||
13606 | HANDLE ncb_event; | |
13607 | } NCB, *PNCB; | |
13608 | ||
13609 | typedef struct _ADAPTER_STATUS | |
13610 | { | |
13611 | UCHAR adapter_address[6]; | |
13612 | UCHAR rev_major; | |
13613 | UCHAR reserved0; | |
13614 | UCHAR adapter_type; | |
13615 | UCHAR rev_minor; | |
13616 | WORD duration; | |
13617 | WORD frmr_recv; | |
13618 | WORD frmr_xmit; | |
13619 | WORD iframe_recv_error; | |
13620 | WORD xmit_aborts; | |
13621 | DWORD xmit_success; | |
13622 | DWORD recv_success; | |
13623 | WORD iframe_xmit_error; | |
13624 | WORD recv_buffer_unavail; | |
13625 | WORD t1_timeouts; | |
13626 | WORD ti_timeouts; | |
13627 | DWORD reserved1; | |
13628 | WORD free_ncbs; | |
13629 | WORD max_cfg_ncbs; | |
13630 | WORD max_ncbs; | |
13631 | WORD xmit_buf_unavail; | |
13632 | WORD max_dgram_size; | |
13633 | WORD pending_sess; | |
13634 | WORD max_cfg_sess; | |
13635 | WORD max_sess; | |
13636 | WORD max_sess_pkt_size; | |
13637 | WORD name_count; | |
13638 | } ADAPTER_STATUS, *PADAPTER_STATUS; | |
13639 | ||
13640 | typedef struct _NAME_BUFFER | |
13641 | { | |
13642 | UCHAR name[16]; | |
13643 | UCHAR name_num; | |
13644 | UCHAR name_flags; | |
13645 | } NAME_BUFFER, *PNAME_BUFFER; | |
13646 | # 128 "../../../include/nb30.h" | |
13647 | typedef struct _LANA_ENUM | |
13648 | { | |
13649 | UCHAR length; | |
13650 | UCHAR lana[0xfe +1]; | |
13651 | } LANA_ENUM, *PLANA_ENUM; | |
13652 | ||
13653 | typedef struct _FIND_NAME_HEADER | |
13654 | { | |
13655 | WORD node_count; | |
13656 | UCHAR reserved; | |
13657 | UCHAR unique_group; | |
13658 | } FIND_NAME_HEADER, *PFIND_NAME_HEADER; | |
13659 | ||
13660 | typedef struct _FIND_NAME_BUFFER | |
13661 | { | |
13662 | UCHAR length; | |
13663 | UCHAR access_control; | |
13664 | UCHAR frame_control; | |
13665 | UCHAR destination_addr[6]; | |
13666 | UCHAR source_addr[6]; | |
13667 | UCHAR routing_info[6]; | |
13668 | } FIND_NAME_BUFFER, *PFIND_NAME_BUFFER; | |
13669 | ||
13670 | typedef struct _SESSION_HEADER { | |
13671 | UCHAR sess_name; | |
13672 | UCHAR num_sess; | |
13673 | UCHAR rcv_dg_outstanding; | |
13674 | UCHAR rcv_any_outstanding; | |
13675 | } SESSION_HEADER, *PSESSION_HEADER; | |
13676 | ||
13677 | typedef struct _SESSION_BUFFER { | |
13678 | UCHAR lsn; | |
13679 | UCHAR state; | |
13680 | UCHAR local_name[16]; | |
13681 | UCHAR remote_name[16]; | |
13682 | UCHAR rcvs_outstanding; | |
13683 | UCHAR sends_outstanding; | |
13684 | } SESSION_BUFFER, *PSESSION_BUFFER; | |
13685 | # 216 "../../../include/nb30.h" | |
13686 | UCHAR __attribute__((__stdcall__)) Netbios(PNCB pncb); | |
13687 | # 58 "../../../include/windows.h" 2 | |
13688 | # 1 "../../../include/rpc.h" 1 | |
13689 | # 22 "../../../include/rpc.h" | |
13690 | # 1 "../../../include/windows.h" 1 | |
13691 | # 23 "../../../include/rpc.h" 2 | |
13692 | # 46 "../../../include/rpc.h" | |
13693 | typedef long RPC_STATUS; | |
13694 | ||
13695 | typedef void* I_RPC_HANDLE; | |
13696 | ||
13697 | # 1 "../../../include/rpcdce.h" 1 | |
13698 | # 42 "../../../include/rpcdce.h" | |
13699 | typedef GUID UUID; | |
13700 | ||
13701 | ||
13702 | typedef void* RPC_AUTH_IDENTITY_HANDLE; | |
13703 | typedef void* RPC_AUTHZ_HANDLE; | |
13704 | typedef void* RPC_IF_HANDLE; | |
13705 | typedef I_RPC_HANDLE RPC_BINDING_HANDLE; | |
13706 | typedef RPC_BINDING_HANDLE handle_t; | |
13707 | ||
13708 | ||
13709 | ||
13710 | typedef struct _RPC_BINDING_VECTOR | |
13711 | { | |
13712 | unsigned long Count; | |
13713 | RPC_BINDING_HANDLE BindingH[1]; | |
13714 | } RPC_BINDING_VECTOR; | |
13715 | ||
13716 | ||
13717 | typedef struct _UUID_VECTOR | |
13718 | { | |
13719 | unsigned long Count; | |
13720 | UUID *Uuid[1]; | |
13721 | } UUID_VECTOR; | |
13722 | ||
13723 | ||
13724 | typedef struct _RPC_IF_ID | |
13725 | { | |
13726 | UUID Uuid; | |
13727 | unsigned short VersMajor; | |
13728 | unsigned short VersMinor; | |
13729 | } RPC_IF_ID; | |
13730 | ||
13731 | typedef struct | |
13732 | { | |
13733 | unsigned long Count; | |
13734 | RPC_IF_ID *IfId[1]; | |
13735 | } RPC_IF_ID_VECTOR; | |
13736 | ||
13737 | typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE; | |
13738 | # 140 "../../../include/rpcdce.h" | |
13739 | typedef RPC_STATUS __attribute__((__stdcall__)) RPC_IF_CALLBACK_FN( RPC_IF_HANDLE InterfaceUuid, void *Context ); | |
13740 | typedef void (__attribute__((__stdcall__)) *RPC_AUTH_KEY_RETRIEVAL_FN)(); | |
13741 | ||
13742 | typedef struct _RPC_POLICY | |
13743 | { | |
13744 | unsigned int Length; | |
13745 | unsigned long EndpointFlags; | |
13746 | unsigned long NICFlags; | |
13747 | } RPC_POLICY, *PRPC_POLICY; | |
13748 | ||
13749 | typedef struct _SEC_WINNT_AUTH_IDENTITY_W | |
13750 | { | |
13751 | unsigned short* User; | |
13752 | unsigned long UserLength; | |
13753 | unsigned short* Domain; | |
13754 | unsigned long DomainLength; | |
13755 | unsigned short* Password; | |
13756 | unsigned long PasswordLength; | |
13757 | unsigned long Flags; | |
13758 | } SEC_WINNT_AUTH_IDENTITY_W, *PSEC_WINNT_AUTH_IDENTITY_W; | |
13759 | ||
13760 | typedef struct _SEC_WINNT_AUTH_IDENTITY_A | |
13761 | { | |
13762 | unsigned char* User; | |
13763 | unsigned long UserLength; | |
13764 | unsigned char* Domain; | |
13765 | unsigned long DomainLength; | |
13766 | unsigned char* Password; | |
13767 | unsigned long PasswordLength; | |
13768 | unsigned long Flags; | |
13769 | } SEC_WINNT_AUTH_IDENTITY_A, *PSEC_WINNT_AUTH_IDENTITY_A; | |
13770 | ||
13771 | typedef struct _RPC_SECURITY_QOS { | |
13772 | unsigned long Version; | |
13773 | unsigned long Capabilities; | |
13774 | unsigned long IdentityTracking; | |
13775 | unsigned long ImpersonationType; | |
13776 | } RPC_SECURITY_QOS, *PRPC_SECURITY_QOS; | |
13777 | # 193 "../../../include/rpcdce.h" | |
13778 | RPC_STATUS __attribute__((__stdcall__)) DceErrorInqTextA(RPC_STATUS e, unsigned char *buffer); | |
13779 | RPC_STATUS __attribute__((__stdcall__)) DceErrorInqTextW(RPC_STATUS e, unsigned short *buffer); | |
13780 | ||
13781 | ||
13782 | void __attribute__((__stdcall__)) | |
13783 | RpcRaiseException( RPC_STATUS exception ); | |
13784 | ||
13785 | RPC_STATUS __attribute__((__stdcall__)) | |
13786 | RpcBindingCopy( RPC_BINDING_HANDLE SourceBinding, RPC_BINDING_HANDLE* DestinationBinding ); | |
13787 | ||
13788 | RPC_STATUS __attribute__((__stdcall__)) | |
13789 | RpcBindingFree( RPC_BINDING_HANDLE* Binding ); | |
13790 | ||
13791 | RPC_STATUS __attribute__((__stdcall__)) | |
13792 | RpcBindingInqObject( RPC_BINDING_HANDLE Binding, UUID* ObjectUuid ); | |
13793 | RPC_STATUS __attribute__((__stdcall__)) | |
13794 | RpcBindingReset( RPC_BINDING_HANDLE Binding ); | |
13795 | RPC_STATUS __attribute__((__stdcall__)) | |
13796 | RpcBindingSetObject( RPC_BINDING_HANDLE Binding, UUID* ObjectUuid ); | |
13797 | RPC_STATUS __attribute__((__stdcall__)) | |
13798 | RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid ); | |
13799 | ||
13800 | RPC_STATUS __attribute__((__stdcall__)) | |
13801 | RpcBindingFromStringBindingA( unsigned char *StringBinding, RPC_BINDING_HANDLE* Binding ); | |
13802 | RPC_STATUS __attribute__((__stdcall__)) | |
13803 | RpcBindingFromStringBindingW( unsigned short *StringBinding, RPC_BINDING_HANDLE* Binding ); | |
13804 | ||
13805 | ||
13806 | RPC_STATUS __attribute__((__stdcall__)) | |
13807 | RpcBindingToStringBindingA( RPC_BINDING_HANDLE Binding, unsigned char **StringBinding ); | |
13808 | RPC_STATUS __attribute__((__stdcall__)) | |
13809 | RpcBindingToStringBindingW( RPC_BINDING_HANDLE Binding, unsigned short **StringBinding ); | |
13810 | ||
13811 | ||
13812 | RPC_STATUS __attribute__((__stdcall__)) | |
13813 | RpcBindingVectorFree( RPC_BINDING_VECTOR** BindingVector ); | |
13814 | ||
13815 | RPC_STATUS __attribute__((__stdcall__)) | |
13816 | RpcStringBindingComposeA( unsigned char *ObjUuid, unsigned char *Protseq, unsigned char *NetworkAddr, | |
13817 | unsigned char *Endpoint, unsigned char *Options, unsigned char **StringBinding ); | |
13818 | RPC_STATUS __attribute__((__stdcall__)) | |
13819 | RpcStringBindingComposeW( unsigned short *ObjUuid, unsigned short *Protseq, unsigned short *NetworkAddr, | |
13820 | unsigned short *Endpoint, unsigned short *Options, unsigned short **StringBinding ); | |
13821 | ||
13822 | ||
13823 | RPC_STATUS __attribute__((__stdcall__)) | |
13824 | RpcStringBindingParseA( unsigned char *StringBinding, unsigned char **ObjUuid, unsigned char **Protseq, | |
13825 | unsigned char **NetworkAddr, unsigned char **Endpoint, unsigned char **NetworkOptions ); | |
13826 | RPC_STATUS __attribute__((__stdcall__)) | |
13827 | RpcStringBindingParseW( unsigned short *StringBinding, unsigned short **ObjUuid, unsigned short **Protseq, | |
13828 | unsigned short **NetworkAddr, unsigned short **Endpoint, unsigned short **NetworkOptions ); | |
13829 | ||
13830 | ||
13831 | RPC_STATUS __attribute__((__stdcall__)) | |
13832 | RpcEpResolveBinding( RPC_BINDING_HANDLE Binding, RPC_IF_HANDLE IfSpec ); | |
13833 | ||
13834 | RPC_STATUS __attribute__((__stdcall__)) | |
13835 | RpcEpRegisterA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, | |
13836 | UUID_VECTOR* UuidVector, unsigned char *Annotation ); | |
13837 | RPC_STATUS __attribute__((__stdcall__)) | |
13838 | RpcEpRegisterW( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, | |
13839 | UUID_VECTOR* UuidVector, unsigned short *Annotation ); | |
13840 | ||
13841 | ||
13842 | RPC_STATUS __attribute__((__stdcall__)) | |
13843 | RpcEpRegisterNoReplaceA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, | |
13844 | UUID_VECTOR* UuidVector, unsigned char *Annotation ); | |
13845 | RPC_STATUS __attribute__((__stdcall__)) | |
13846 | RpcEpRegisterNoReplaceW( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, | |
13847 | UUID_VECTOR* UuidVector, unsigned short *Annotation ); | |
13848 | ||
13849 | ||
13850 | RPC_STATUS __attribute__((__stdcall__)) | |
13851 | RpcEpUnregister( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, | |
13852 | UUID_VECTOR* UuidVector ); | |
13853 | ||
13854 | RPC_STATUS __attribute__((__stdcall__)) | |
13855 | RpcServerInqBindings( RPC_BINDING_VECTOR** BindingVector ); | |
13856 | ||
13857 | RPC_STATUS __attribute__((__stdcall__)) | |
13858 | RpcServerListen( unsigned int MinimumCallThreads, unsigned int MaxCalls, unsigned int DontWait ); | |
13859 | ||
13860 | RPC_STATUS __attribute__((__stdcall__)) | |
13861 | RpcMgmtWaitServerListen( void ); | |
13862 | ||
13863 | RPC_STATUS __attribute__((__stdcall__)) | |
13864 | RpcMgmtStopServerListening( RPC_BINDING_HANDLE Binding ); | |
13865 | ||
13866 | RPC_STATUS __attribute__((__stdcall__)) | |
13867 | RpcMgmtInqIfIds( RPC_BINDING_HANDLE Binding, RPC_IF_ID_VECTOR** IfIdVector ); | |
13868 | ||
13869 | RPC_STATUS __attribute__((__stdcall__)) | |
13870 | RpcMgmtEpEltInqBegin( RPC_BINDING_HANDLE EpBinding, unsigned long InquiryType, RPC_IF_ID *IfId, | |
13871 | unsigned long VersOption, UUID *ObjectUuid, RPC_EP_INQ_HANDLE *InquiryContext); | |
13872 | ||
13873 | RPC_STATUS __attribute__((__stdcall__)) | |
13874 | RpcServerRegisterIf( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, void* MgrEpv ); | |
13875 | ||
13876 | RPC_STATUS __attribute__((__stdcall__)) | |
13877 | RpcServerRegisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, void* MgrEpv, | |
13878 | unsigned int Flags, unsigned int MaxCalls, RPC_IF_CALLBACK_FN* IfCallbackFn ); | |
13879 | ||
13880 | RPC_STATUS __attribute__((__stdcall__)) | |
13881 | RpcServerRegisterIf2( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, void* MgrEpv, | |
13882 | unsigned int Flags, unsigned int MaxCalls, unsigned int MaxRpcSize, RPC_IF_CALLBACK_FN* IfCallbackFn ); | |
13883 | ||
13884 | RPC_STATUS __attribute__((__stdcall__)) | |
13885 | RpcServerUnregisterIf( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, unsigned int WaitForCallsToComplete ); | |
13886 | ||
13887 | RPC_STATUS __attribute__((__stdcall__)) | |
13888 | RpcServerUnregisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, int RundownContextHandles ); | |
13889 | ||
13890 | ||
13891 | RPC_STATUS __attribute__((__stdcall__)) | |
13892 | RpcServerUseProtseqA(unsigned char *Protseq, unsigned int MaxCalls, void *SecurityDescriptor); | |
13893 | RPC_STATUS __attribute__((__stdcall__)) | |
13894 | RpcServerUseProtseqW(unsigned short *Protseq, unsigned int MaxCalls, void *SecurityDescriptor); | |
13895 | ||
13896 | ||
13897 | RPC_STATUS __attribute__((__stdcall__)) | |
13898 | RpcServerUseProtseqEpA( unsigned char *Protseq, unsigned int MaxCalls, unsigned char *Endpoint, void *SecurityDescriptor ); | |
13899 | RPC_STATUS __attribute__((__stdcall__)) | |
13900 | RpcServerUseProtseqEpW( unsigned short *Protseq, unsigned int MaxCalls, unsigned short *Endpoint, void *SecurityDescriptor ); | |
13901 | ||
13902 | ||
13903 | RPC_STATUS __attribute__((__stdcall__)) | |
13904 | RpcServerUseProtseqEpExA( unsigned char *Protseq, unsigned int MaxCalls, unsigned char *Endpoint, void *SecurityDescriptor, | |
13905 | PRPC_POLICY Policy ); | |
13906 | RPC_STATUS __attribute__((__stdcall__)) | |
13907 | RpcServerUseProtseqEpExW( unsigned short *Protseq, unsigned int MaxCalls, unsigned short *Endpoint, void *SecurityDescriptor, | |
13908 | PRPC_POLICY Policy ); | |
13909 | ||
13910 | ||
13911 | RPC_STATUS __attribute__((__stdcall__)) | |
13912 | RpcServerRegisterAuthInfoA( unsigned char *ServerPrincName, unsigned long AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn, | |
13913 | void *Arg ); | |
13914 | RPC_STATUS __attribute__((__stdcall__)) | |
13915 | RpcServerRegisterAuthInfoW( unsigned short *ServerPrincName, unsigned long AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn, | |
13916 | void *Arg ); | |
13917 | ||
13918 | ||
13919 | RPC_STATUS __attribute__((__stdcall__)) | |
13920 | RpcBindingSetAuthInfoExA( RPC_BINDING_HANDLE Binding, unsigned char *ServerPrincName, unsigned long AuthnLevel, | |
13921 | unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr, | |
13922 | RPC_SECURITY_QOS *SecurityQos ); | |
13923 | ||
13924 | RPC_STATUS __attribute__((__stdcall__)) | |
13925 | RpcBindingSetAuthInfoExW( RPC_BINDING_HANDLE Binding, unsigned short *ServerPrincName, unsigned long AuthnLevel, | |
13926 | unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr, | |
13927 | RPC_SECURITY_QOS *SecurityQos ); | |
13928 | ||
13929 | ||
13930 | RPC_STATUS __attribute__((__stdcall__)) | |
13931 | RpcBindingSetAuthInfoA( RPC_BINDING_HANDLE Binding, unsigned char *ServerPrincName, unsigned long AuthnLevel, | |
13932 | unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr ); | |
13933 | ||
13934 | RPC_STATUS __attribute__((__stdcall__)) | |
13935 | RpcBindingSetAuthInfoW( RPC_BINDING_HANDLE Binding, unsigned short *ServerPrincName, unsigned long AuthnLevel, | |
13936 | unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr ); | |
13937 | ||
13938 | ||
13939 | RPC_STATUS __attribute__((__stdcall__)) | |
13940 | RpcBindingInqAuthInfoExA( RPC_BINDING_HANDLE Binding, unsigned char ** ServerPrincName, unsigned long *AuthnLevel, | |
13941 | unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc, | |
13942 | unsigned long RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS ); | |
13943 | ||
13944 | RPC_STATUS __attribute__((__stdcall__)) | |
13945 | RpcBindingInqAuthInfoExW( RPC_BINDING_HANDLE Binding, unsigned short ** ServerPrincName, unsigned long *AuthnLevel, | |
13946 | unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc, | |
13947 | unsigned long RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS ); | |
13948 | ||
13949 | ||
13950 | RPC_STATUS __attribute__((__stdcall__)) | |
13951 | RpcBindingInqAuthInfoA( RPC_BINDING_HANDLE Binding, unsigned char ** ServerPrincName, unsigned long *AuthnLevel, | |
13952 | unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc ); | |
13953 | ||
13954 | RPC_STATUS __attribute__((__stdcall__)) | |
13955 | RpcBindingInqAuthInfoW( RPC_BINDING_HANDLE Binding, unsigned short ** ServerPrincName, unsigned long *AuthnLevel, | |
13956 | unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc ); | |
13957 | ||
13958 | ||
13959 | RPC_STATUS __attribute__((__stdcall__)) | |
13960 | RpcNetworkIsProtseqValidA( unsigned char *protseq ); | |
13961 | RPC_STATUS __attribute__((__stdcall__)) | |
13962 | RpcNetworkIsProtseqValidW( unsigned short *protseq ); | |
13963 | ||
13964 | ||
13965 | RPC_STATUS __attribute__((__stdcall__)) | |
13966 | RpcStringFreeA(unsigned char** String); | |
13967 | RPC_STATUS __attribute__((__stdcall__)) | |
13968 | RpcStringFreeW(unsigned short** String); | |
13969 | ||
13970 | ||
13971 | RPC_STATUS __attribute__((__stdcall__)) | |
13972 | UuidToStringA( UUID* Uuid, unsigned char** StringUuid ); | |
13973 | RPC_STATUS __attribute__((__stdcall__)) | |
13974 | UuidToStringW( UUID* Uuid, unsigned short** StringUuid ); | |
13975 | ||
13976 | ||
13977 | RPC_STATUS __attribute__((__stdcall__)) | |
13978 | UuidFromStringA( unsigned char* StringUuid, UUID* Uuid ); | |
13979 | RPC_STATUS __attribute__((__stdcall__)) | |
13980 | UuidFromStringW( unsigned short* StringUuid, UUID* Uuid ); | |
13981 | ||
13982 | ||
13983 | RPC_STATUS __attribute__((__stdcall__)) | |
13984 | UuidCreate( UUID* Uuid ); | |
13985 | RPC_STATUS __attribute__((__stdcall__)) | |
13986 | UuidCreateSequential( UUID* Uuid ); | |
13987 | RPC_STATUS __attribute__((__stdcall__)) | |
13988 | UuidCreateNil( UUID* Uuid ); | |
13989 | signed int __attribute__((__stdcall__)) | |
13990 | UuidCompare( UUID* Uuid1, UUID* Uuid2, RPC_STATUS* Status_ ); | |
13991 | int __attribute__((__stdcall__)) | |
13992 | UuidEqual( UUID* Uuid1, UUID* Uuid2, RPC_STATUS* Status_ ); | |
13993 | unsigned short __attribute__((__stdcall__)) | |
13994 | UuidHash(UUID* Uuid, RPC_STATUS* Status_ ); | |
13995 | int __attribute__((__stdcall__)) | |
13996 | UuidIsNil( UUID* Uuid, RPC_STATUS* Status_ ); | |
13997 | ||
13998 | ||
13999 | ||
14000 | ||
14001 | ||
14002 | # 1 "../../../include/rpcdcep.h" 1 | |
14003 | # 22 "../../../include/rpcdcep.h" | |
14004 | typedef struct _RPC_VERSION { | |
14005 | unsigned short MajorVersion; | |
14006 | unsigned short MinorVersion; | |
14007 | } RPC_VERSION; | |
14008 | ||
14009 | typedef struct _RPC_SYNTAX_IDENTIFIER { | |
14010 | GUID SyntaxGUID; | |
14011 | RPC_VERSION SyntaxVersion; | |
14012 | } RPC_SYNTAX_IDENTIFIER, *PRPC_SYNTAX_IDENTIFIER; | |
14013 | ||
14014 | typedef struct _RPC_MESSAGE | |
14015 | { | |
14016 | RPC_BINDING_HANDLE Handle; | |
14017 | unsigned long DataRepresentation; | |
14018 | void* Buffer; | |
14019 | unsigned int BufferLength; | |
14020 | unsigned int ProcNum; | |
14021 | PRPC_SYNTAX_IDENTIFIER TransferSyntax; | |
14022 | void* RpcInterfaceInformation; | |
14023 | void* ReservedForRuntime; | |
14024 | void* ManagerEpv; | |
14025 | void* ImportContext; | |
14026 | unsigned long RpcFlags; | |
14027 | } RPC_MESSAGE, *PRPC_MESSAGE; | |
14028 | ||
14029 | ||
14030 | ||
14031 | ||
14032 | ||
14033 | ||
14034 | typedef void (__attribute__((__stdcall__)) *RPC_DISPATCH_FUNCTION)(PRPC_MESSAGE Message); | |
14035 | ||
14036 | typedef struct | |
14037 | { | |
14038 | unsigned int DispatchTableCount; | |
14039 | RPC_DISPATCH_FUNCTION* DispatchTable; | |
14040 | LONG_PTR Reserved; | |
14041 | } RPC_DISPATCH_TABLE, *PRPC_DISPATCH_TABLE; | |
14042 | ||
14043 | typedef struct _RPC_PROTSEQ_ENDPOINT | |
14044 | { | |
14045 | unsigned char* RpcProtocolSequence; | |
14046 | unsigned char* Endpoint; | |
14047 | } RPC_PROTSEQ_ENDPOINT, *PRPC_PROTSEQ_ENDPOINT; | |
14048 | ||
14049 | ||
14050 | ||
14051 | ||
14052 | typedef struct _RPC_SERVER_INTERFACE | |
14053 | { | |
14054 | unsigned int Length; | |
14055 | RPC_SYNTAX_IDENTIFIER InterfaceId; | |
14056 | RPC_SYNTAX_IDENTIFIER TransferSyntax; | |
14057 | PRPC_DISPATCH_TABLE DispatchTable; | |
14058 | unsigned int RpcProtseqEndpointCount; | |
14059 | PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint; | |
14060 | void* DefaultManagerEpv; | |
14061 | void const* InterpreterInfo; | |
14062 | unsigned int Flags; | |
14063 | } RPC_SERVER_INTERFACE, *PRPC_SERVER_INTERFACE; | |
14064 | ||
14065 | typedef struct _RPC_CLIENT_INTERFACE | |
14066 | { | |
14067 | unsigned int Length; | |
14068 | RPC_SYNTAX_IDENTIFIER InterfaceId; | |
14069 | RPC_SYNTAX_IDENTIFIER TransferSyntax; | |
14070 | PRPC_DISPATCH_TABLE DispatchTable; | |
14071 | unsigned int RpcProtseqEndpointCount; | |
14072 | PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint; | |
14073 | ULONG_PTR Reserved; | |
14074 | void const* InterpreterInfo; | |
14075 | unsigned int Flags; | |
14076 | } RPC_CLIENT_INTERFACE, *PRPC_CLIENT_INTERFACE; | |
14077 | ||
14078 | ||
14079 | ||
14080 | ||
14081 | ||
14082 | ||
14083 | RPC_STATUS __attribute__((__stdcall__)) | |
14084 | I_RpcGetBuffer( RPC_MESSAGE* Message ); | |
14085 | RPC_STATUS __attribute__((__stdcall__)) | |
14086 | I_RpcGetBufferWithObject( RPC_MESSAGE* Message, UUID* ObjectUuid ); | |
14087 | RPC_STATUS __attribute__((__stdcall__)) | |
14088 | I_RpcSendReceive( RPC_MESSAGE* Message ); | |
14089 | RPC_STATUS __attribute__((__stdcall__)) | |
14090 | I_RpcFreeBuffer( RPC_MESSAGE* Message ); | |
14091 | RPC_STATUS __attribute__((__stdcall__)) | |
14092 | I_RpcSend( RPC_MESSAGE* Message ); | |
14093 | RPC_STATUS __attribute__((__stdcall__)) | |
14094 | I_RpcReceive( RPC_MESSAGE* Message ); | |
14095 | ||
14096 | void* __attribute__((__stdcall__)) | |
14097 | I_RpcAllocate( unsigned int Size ); | |
14098 | void __attribute__((__stdcall__)) | |
14099 | I_RpcFree( void* Object ); | |
14100 | ||
14101 | RPC_BINDING_HANDLE __attribute__((__stdcall__)) | |
14102 | I_RpcGetCurrentCallHandle( void ); | |
14103 | # 418 "../../../include/rpcdce.h" 2 | |
14104 | # 51 "../../../include/rpc.h" 2 | |
14105 | ||
14106 | # 1 "../../../include/rpcnterr.h" 1 | |
14107 | # 53 "../../../include/rpc.h" 2 | |
14108 | # 59 "../../../include/windows.h" 2 | |
14109 | # 1 "../../../include/shellapi.h" 1 | |
14110 | # 26 "../../../include/shellapi.h" | |
14111 | # 1 "../../../include/pshpack1.h" 1 | |
14112 | # 105 "../../../include/pshpack1.h" | |
14113 | #pragma pack(1) | |
14114 | # 27 "../../../include/shellapi.h" 2 | |
14115 | ||
14116 | typedef struct HDROP__ { int unused; } *HDROP; | |
14117 | ||
14118 | ||
14119 | ||
14120 | ||
14121 | ||
14122 | typedef struct _DRAGINFOA | |
14123 | { UINT uSize; | |
14124 | POINT pt; | |
14125 | BOOL fNC; | |
14126 | LPSTR lpFileList; | |
14127 | DWORD grfKeyState; | |
14128 | } DRAGINFOA, *LPDRAGINFOA; | |
14129 | ||
14130 | typedef struct _DRAGINFOW | |
14131 | { UINT uSize; | |
14132 | POINT pt; | |
14133 | BOOL fNC; | |
14134 | LPWSTR lpFileList; | |
14135 | DWORD grfKeyState; | |
14136 | } DRAGINFOW, *LPDRAGINFOW; | |
14137 | ||
14138 | typedef DRAGINFOA DRAGINFO; | |
14139 | typedef LPDRAGINFOA LPDRAGINFO; | |
14140 | ||
14141 | void __attribute__((__stdcall__)) DragAcceptFiles(HWND hWnd, BOOL b); | |
14142 | UINT __attribute__((__stdcall__)) DragQueryFileA(HDROP hDrop, UINT lFile, LPSTR lpszFile, UINT lLength); | |
14143 | UINT __attribute__((__stdcall__)) DragQueryFileW(HDROP hDrop, UINT lFile, LPWSTR lpszFile, UINT lLength); | |
14144 | ||
14145 | void __attribute__((__stdcall__)) DragFinish(HDROP h); | |
14146 | BOOL __attribute__((__stdcall__)) DragQueryPoint(HDROP hDrop, POINT *p); | |
14147 | # 100 "../../../include/shellapi.h" | |
14148 | typedef struct _AppBarData | |
14149 | { DWORD cbSize; | |
14150 | HWND hWnd; | |
14151 | UINT uCallbackMessage; | |
14152 | UINT uEdge; | |
14153 | RECT rc; | |
14154 | LPARAM lParam; | |
14155 | } APPBARDATA, *PAPPBARDATA; | |
14156 | ||
14157 | UINT __attribute__((__stdcall__)) SHAppBarMessage(DWORD,PAPPBARDATA); | |
14158 | # 134 "../../../include/shellapi.h" | |
14159 | typedef struct tagSHFILEINFOA | |
14160 | { HICON hIcon; | |
14161 | int iIcon; | |
14162 | DWORD dwAttributes; | |
14163 | CHAR szDisplayName[260]; | |
14164 | CHAR szTypeName[80]; | |
14165 | } SHFILEINFOA; | |
14166 | ||
14167 | typedef struct tagSHFILEINFOW | |
14168 | { HICON hIcon; | |
14169 | int iIcon; | |
14170 | DWORD dwAttributes; | |
14171 | WCHAR szDisplayName[260]; | |
14172 | WCHAR szTypeName[80]; | |
14173 | } SHFILEINFOW; | |
14174 | ||
14175 | typedef SHFILEINFOA SHFILEINFO; | |
14176 | ||
14177 | DWORD_PTR __attribute__((__stdcall__)) SHGetFileInfoA(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT); | |
14178 | DWORD_PTR __attribute__((__stdcall__)) SHGetFileInfoW(LPCWSTR,DWORD,SHFILEINFOW*,UINT,UINT); | |
14179 | # 186 "../../../include/shellapi.h" | |
14180 | typedef WORD FILEOP_FLAGS; | |
14181 | ||
14182 | ||
14183 | ||
14184 | ||
14185 | ||
14186 | ||
14187 | typedef WORD PRINTEROP_FLAGS; | |
14188 | ||
14189 | typedef struct _SHFILEOPSTRUCTA | |
14190 | { HWND hwnd; | |
14191 | UINT wFunc; | |
14192 | LPCSTR pFrom; | |
14193 | LPCSTR pTo; | |
14194 | FILEOP_FLAGS fFlags; | |
14195 | BOOL fAnyOperationsAborted; | |
14196 | LPVOID hNameMappings; | |
14197 | LPCSTR lpszProgressTitle; | |
14198 | } SHFILEOPSTRUCTA, *LPSHFILEOPSTRUCTA; | |
14199 | ||
14200 | typedef struct _SHFILEOPSTRUCTW | |
14201 | { HWND hwnd; | |
14202 | UINT wFunc; | |
14203 | LPCWSTR pFrom; | |
14204 | LPCWSTR pTo; | |
14205 | FILEOP_FLAGS fFlags; | |
14206 | BOOL fAnyOperationsAborted; | |
14207 | LPVOID hNameMappings; | |
14208 | LPCWSTR lpszProgressTitle; | |
14209 | } SHFILEOPSTRUCTW, *LPSHFILEOPSTRUCTW; | |
14210 | ||
14211 | ||
14212 | ||
14213 | ||
14214 | int __attribute__((__stdcall__)) SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp); | |
14215 | int __attribute__((__stdcall__)) SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp); | |
14216 | ||
14217 | ||
14218 | typedef struct _SHNAMEMAPPINGA | |
14219 | { | |
14220 | LPSTR pszOldPath; | |
14221 | LPSTR pszNewPath; | |
14222 | int cchOldPath; | |
14223 | int cchNewPath; | |
14224 | } SHNAMEMAPPINGA, *LPSHNAMEMAPPINGA; | |
14225 | ||
14226 | typedef struct _SHNAMEMAPPINGW | |
14227 | { | |
14228 | LPWSTR pszOldPath; | |
14229 | LPWSTR pszNewPath; | |
14230 | int cchOldPath; | |
14231 | int cchNewPath; | |
14232 | } SHNAMEMAPPINGW, *LPSHNAMEMAPPINGW; | |
14233 | ||
14234 | typedef SHNAMEMAPPINGA SHNAMEMAPPING; | |
14235 | typedef LPSHNAMEMAPPINGA LPSHNAMEMAPPING; | |
14236 | ||
14237 | void __attribute__((__stdcall__)) SHFreeNameMappings(HANDLE hNameMappings); | |
14238 | # 255 "../../../include/shellapi.h" | |
14239 | HINSTANCE __attribute__((__stdcall__)) ShellExecuteA(HWND,LPCSTR,LPCSTR,LPCSTR,LPCSTR,INT); | |
14240 | HINSTANCE __attribute__((__stdcall__)) ShellExecuteW(HWND,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,INT); | |
14241 | # 291 "../../../include/shellapi.h" | |
14242 | typedef struct _SHELLEXECUTEINFOA | |
14243 | { DWORD cbSize; | |
14244 | ULONG fMask; | |
14245 | HWND hwnd; | |
14246 | LPCSTR lpVerb; | |
14247 | LPCSTR lpFile; | |
14248 | LPCSTR lpParameters; | |
14249 | LPCSTR lpDirectory; | |
14250 | INT nShow; | |
14251 | HINSTANCE hInstApp; | |
14252 | ||
14253 | LPVOID lpIDList; | |
14254 | LPCSTR lpClass; | |
14255 | HKEY hkeyClass; | |
14256 | DWORD dwHotKey; | |
14257 | union | |
14258 | { HANDLE hIcon; | |
14259 | HANDLE hMonitor; | |
14260 | } ; | |
14261 | HANDLE hProcess; | |
14262 | } SHELLEXECUTEINFOA, *LPSHELLEXECUTEINFOA; | |
14263 | ||
14264 | typedef struct _SHELLEXECUTEINFOW | |
14265 | { DWORD cbSize; | |
14266 | ULONG fMask; | |
14267 | HWND hwnd; | |
14268 | LPCWSTR lpVerb; | |
14269 | LPCWSTR lpFile; | |
14270 | LPCWSTR lpParameters; | |
14271 | LPCWSTR lpDirectory; | |
14272 | INT nShow; | |
14273 | HINSTANCE hInstApp; | |
14274 | ||
14275 | LPVOID lpIDList; | |
14276 | LPCWSTR lpClass; | |
14277 | HKEY hkeyClass; | |
14278 | DWORD dwHotKey; | |
14279 | union | |
14280 | { HANDLE hIcon; | |
14281 | HANDLE hMonitor; | |
14282 | } ; | |
14283 | HANDLE hProcess; | |
14284 | } SHELLEXECUTEINFOW, *LPSHELLEXECUTEINFOW; | |
14285 | ||
14286 | ||
14287 | ||
14288 | ||
14289 | BOOL __attribute__((__stdcall__)) ShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo); | |
14290 | BOOL __attribute__((__stdcall__)) ShellExecuteExW(LPSHELLEXECUTEINFOW lpExecInfo); | |
14291 | ||
14292 | ||
14293 | void __attribute__((__stdcall__)) WinExecErrorA(HWND hwnd,INT error, LPCSTR lpstrFileName, LPCSTR lpstrTitle); | |
14294 | void __attribute__((__stdcall__)) WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lpstrTitle); | |
14295 | ||
14296 | ||
14297 | ||
14298 | ||
14299 | ||
14300 | typedef struct _NOTIFYICONDATAA | |
14301 | { DWORD cbSize; | |
14302 | HWND hWnd; | |
14303 | UINT uID; | |
14304 | UINT uFlags; | |
14305 | UINT uCallbackMessage; | |
14306 | HICON hIcon; | |
14307 | CHAR szTip[128]; | |
14308 | DWORD dwState; | |
14309 | DWORD dwStateMask; | |
14310 | CHAR szInfo[256]; | |
14311 | union { | |
14312 | UINT uTimeout; | |
14313 | UINT uVersion; | |
14314 | } ; | |
14315 | CHAR szInfoTitle[64]; | |
14316 | DWORD dwInfoFlags; | |
14317 | } NOTIFYICONDATAA, *PNOTIFYICONDATAA; | |
14318 | ||
14319 | typedef struct _NOTIFYICONDATAW | |
14320 | { DWORD cbSize; | |
14321 | HWND hWnd; | |
14322 | UINT uID; | |
14323 | UINT uFlags; | |
14324 | UINT uCallbackMessage; | |
14325 | HICON hIcon; | |
14326 | WCHAR szTip[128]; | |
14327 | DWORD dwState; | |
14328 | DWORD dwStateMask; | |
14329 | WCHAR szInfo[256]; | |
14330 | union { | |
14331 | UINT uTimeout; | |
14332 | UINT uVersion; | |
14333 | } ; | |
14334 | WCHAR szInfoTitle[64]; | |
14335 | DWORD dwInfoFlags; | |
14336 | } NOTIFYICONDATAW, *PNOTIFYICONDATAW; | |
14337 | ||
14338 | typedef NOTIFYICONDATAA NOTIFYICONDATA; | |
14339 | typedef PNOTIFYICONDATAA PNOTIFYICONDATA; | |
14340 | ||
14341 | BOOL __attribute__((__stdcall__)) Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA lpData); | |
14342 | BOOL __attribute__((__stdcall__)) Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData); | |
14343 | # 404 "../../../include/shellapi.h" | |
14344 | BOOL __attribute__((__stdcall__)) SHGetNewLinkInfoA(LPCSTR,LPCSTR,LPSTR,BOOL*,UINT); | |
14345 | BOOL __attribute__((__stdcall__)) SHGetNewLinkInfoW(LPCWSTR,LPCWSTR,LPWSTR,BOOL*,UINT); | |
14346 | ||
14347 | ||
14348 | ||
14349 | ||
14350 | ||
14351 | ||
14352 | typedef struct _SHQUERYRBINFO | |
14353 | { | |
14354 | DWORD cbSize; | |
14355 | DWORDLONG i64Size; | |
14356 | DWORDLONG i64NumItems; | |
14357 | } SHQUERYRBINFO, *LPSHQUERYRBINFO; | |
14358 | ||
14359 | HRESULT __attribute__((__stdcall__)) SHEmptyRecycleBinA(HWND,LPCSTR,DWORD); | |
14360 | HRESULT __attribute__((__stdcall__)) SHEmptyRecycleBinW(HWND,LPCWSTR,DWORD); | |
14361 | ||
14362 | HRESULT __attribute__((__stdcall__)) SHQueryRecycleBinA(LPCSTR,LPSHQUERYRBINFO); | |
14363 | HRESULT __attribute__((__stdcall__)) SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO); | |
14364 | ||
14365 | ||
14366 | ||
14367 | ||
14368 | ||
14369 | ||
14370 | LPWSTR* __attribute__((__stdcall__)) CommandLineToArgvW(LPCWSTR,int*); | |
14371 | HICON __attribute__((__stdcall__)) ExtractIconA(HINSTANCE,LPCSTR,UINT); | |
14372 | HICON __attribute__((__stdcall__)) ExtractIconW(HINSTANCE,LPCWSTR,UINT); | |
14373 | ||
14374 | HICON __attribute__((__stdcall__)) ExtractAssociatedIconA(HINSTANCE,LPSTR,LPWORD); | |
14375 | HICON __attribute__((__stdcall__)) ExtractAssociatedIconW(HINSTANCE,LPWSTR,LPWORD); | |
14376 | ||
14377 | HICON __attribute__((__stdcall__)) ExtractAssociatedIconExA(HINSTANCE,LPSTR,LPWORD,LPWORD); | |
14378 | HICON __attribute__((__stdcall__)) ExtractAssociatedIconExW(HINSTANCE,LPWSTR,LPWORD,LPWORD); | |
14379 | ||
14380 | UINT __attribute__((__stdcall__)) ExtractIconExA(LPCSTR,INT,HICON*,HICON*,UINT); | |
14381 | UINT __attribute__((__stdcall__)) ExtractIconExW(LPCWSTR,INT,HICON*,HICON*,UINT); | |
14382 | ||
14383 | HINSTANCE __attribute__((__stdcall__)) FindExecutableA(LPCSTR,LPCSTR,LPSTR); | |
14384 | HINSTANCE __attribute__((__stdcall__)) FindExecutableW(LPCWSTR,LPCWSTR,LPWSTR); | |
14385 | ||
14386 | BOOL __attribute__((__stdcall__)) ShellAboutA(HWND,LPCSTR,LPCSTR,HICON); | |
14387 | BOOL __attribute__((__stdcall__)) ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON); | |
14388 | ||
14389 | int __attribute__((__cdecl__)) ShellMessageBoxA(HINSTANCE,HWND,LPCSTR,LPCSTR,UINT,...); | |
14390 | int __attribute__((__cdecl__)) ShellMessageBoxW(HINSTANCE,HWND,LPCWSTR,LPCWSTR,UINT,...); | |
14391 | ||
14392 | DWORD __attribute__((__stdcall__)) DoEnvironmentSubstA(LPSTR, UINT); | |
14393 | DWORD __attribute__((__stdcall__)) DoEnvironmentSubstW(LPWSTR, UINT); | |
14394 | ||
14395 | ||
14396 | ||
14397 | ||
14398 | ||
14399 | ||
14400 | ||
14401 | # 1 "../../../include/poppack.h" 1 | |
14402 | # 253 "../../../include/poppack.h" | |
14403 | #pragma pack() | |
14404 | # 462 "../../../include/shellapi.h" 2 | |
14405 | # 60 "../../../include/windows.h" 2 | |
14406 | ||
14407 | ||
14408 | ||
14409 | # 1 "../../../include/winsock2.h" 1 | |
14410 | # 47 "../../../include/winsock2.h" | |
14411 | # 1 "../../../include/winsock.h" 1 | |
14412 | # 132 "../../../include/winsock.h" | |
14413 | # 1 "../../../include/pshpack4.h" 1 | |
14414 | # 105 "../../../include/pshpack4.h" | |
14415 | #pragma pack(4) | |
14416 | # 133 "../../../include/winsock.h" 2 | |
14417 | # 270 "../../../include/winsock.h" | |
14418 | typedef struct protoent | |
14419 | { | |
14420 | char* p_name; | |
14421 | char** p_aliases; | |
14422 | short p_proto; | |
14423 | } PROTOENT, *PPROTOENT, *LPPROTOENT; | |
14424 | ||
14425 | ||
14426 | ||
14427 | ||
14428 | ||
14429 | ||
14430 | struct netent | |
14431 | { | |
14432 | char* n_name; | |
14433 | char** n_aliases; | |
14434 | short n_addrtype; | |
14435 | u_long n_net; | |
14436 | }; | |
14437 | # 348 "../../../include/winsock.h" | |
14438 | typedef struct servent | |
14439 | { | |
14440 | char* s_name; | |
14441 | char** s_aliases; | |
14442 | short s_port; | |
14443 | char* s_proto; | |
14444 | } SERVENT, *PSERVENT, *LPSERVENT; | |
14445 | ||
14446 | ||
14447 | ||
14448 | ||
14449 | ||
14450 | ||
14451 | ||
14452 | typedef struct hostent | |
14453 | { | |
14454 | char* h_name; | |
14455 | char** h_aliases; | |
14456 | short h_addrtype; | |
14457 | short h_length; | |
14458 | char** h_addr_list; | |
14459 | ||
14460 | } HOSTENT, *PHOSTENT, *LPHOSTENT; | |
14461 | ||
14462 | ||
14463 | ||
14464 | ||
14465 | ||
14466 | ||
14467 | typedef UINT_PTR SOCKET; | |
14468 | # 386 "../../../include/winsock.h" | |
14469 | typedef struct sockaddr | |
14470 | { | |
14471 | u_short sa_family; | |
14472 | char sa_data[14]; | |
14473 | } SOCKADDR, *PSOCKADDR, *LPSOCKADDR; | |
14474 | ||
14475 | typedef struct linger | |
14476 | { | |
14477 | u_short l_onoff; | |
14478 | u_short l_linger; | |
14479 | } LINGER, *PLINGER, *LPLINGER; | |
14480 | # 415 "../../../include/winsock.h" | |
14481 | typedef struct fd_set | |
14482 | { | |
14483 | u_int fd_count; | |
14484 | ||
14485 | SOCKET fd_array[64]; | |
14486 | ||
14487 | ||
14488 | ||
14489 | } fd_set, FD_SET, *PFD_SET, *LPFD_SET; | |
14490 | ||
14491 | ||
14492 | ||
14493 | typedef struct timeval | |
14494 | { | |
14495 | long tv_sec; | |
14496 | long tv_usec; | |
14497 | } TIMEVAL, *PTIMEVAL, *LPTIMEVAL; | |
14498 | # 490 "../../../include/winsock.h" | |
14499 | int __attribute__((__stdcall__)) __WSAFDIsSet(SOCKET,fd_set*); | |
14500 | # 511 "../../../include/winsock.h" | |
14501 | inline static u_short __wine_ushort_swap(u_short s) | |
14502 | { | |
14503 | return (s >> 8) | (s << 8); | |
14504 | } | |
14505 | inline static u_long __wine_ulong_swap(u_long l) | |
14506 | { | |
14507 | return ((u_long)__wine_ushort_swap((u_short)l) << 16) | __wine_ushort_swap((u_short)(l >> 16)); | |
14508 | } | |
14509 | # 576 "../../../include/winsock.h" | |
14510 | typedef struct in_addr | |
14511 | { | |
14512 | union { | |
14513 | struct { | |
14514 | u_char s_b1,s_b2,s_b3,s_b4; | |
14515 | } S_un_b; | |
14516 | struct { | |
14517 | u_short s_w1,s_w2; | |
14518 | } S_un_w; | |
14519 | u_long S_addr; | |
14520 | } S_un; | |
14521 | # 602 "../../../include/winsock.h" | |
14522 | } IN_ADDR, *PIN_ADDR, *LPIN_ADDR; | |
14523 | ||
14524 | typedef struct sockaddr_in | |
14525 | { | |
14526 | short sin_family; | |
14527 | u_short sin_port; | |
14528 | struct in_addr sin_addr; | |
14529 | char sin_zero[8]; | |
14530 | } SOCKADDR_IN, *PSOCKADDR_IN, *LPSOCKADDR_IN; | |
14531 | # 630 "../../../include/winsock.h" | |
14532 | typedef struct WSAData | |
14533 | { | |
14534 | WORD wVersion; | |
14535 | WORD wHighVersion; | |
14536 | char szDescription[256 +1]; | |
14537 | char szSystemStatus[128 +1]; | |
14538 | WORD iMaxSockets; | |
14539 | WORD iMaxUdpDg; | |
14540 | char *lpVendorInfo; | |
14541 | } WSADATA, *LPWSADATA; | |
14542 | # 975 "../../../include/winsock.h" | |
14543 | HANDLE __attribute__((__stdcall__)) WSAAsyncGetHostByAddr(HWND,u_int,const char*,int,int,char*,int); | |
14544 | HANDLE __attribute__((__stdcall__)) WSAAsyncGetHostByName(HWND,u_int,const char*,char*,int); | |
14545 | HANDLE __attribute__((__stdcall__)) WSAAsyncGetProtoByName(HWND,u_int,const char*,char*,int); | |
14546 | HANDLE __attribute__((__stdcall__)) WSAAsyncGetProtoByNumber(HWND,u_int,int,char*,int); | |
14547 | HANDLE __attribute__((__stdcall__)) WSAAsyncGetServByName(HWND,u_int,const char*,const char*,char*,int); | |
14548 | HANDLE __attribute__((__stdcall__)) WSAAsyncGetServByPort(HWND,u_int,int,const char*,char*,int); | |
14549 | int __attribute__((__stdcall__)) WSAAsyncSelect(SOCKET,HWND,u_int,long); | |
14550 | int __attribute__((__stdcall__)) WSACancelAsyncRequest(HANDLE); | |
14551 | int __attribute__((__stdcall__)) WSACancelBlockingCall(void); | |
14552 | int __attribute__((__stdcall__)) WSACleanup(void); | |
14553 | int __attribute__((__stdcall__)) WSAGetLastError(void); | |
14554 | BOOL __attribute__((__stdcall__)) WSAIsBlocking(void); | |
14555 | FARPROC __attribute__((__stdcall__)) WSASetBlockingHook(FARPROC); | |
14556 | void __attribute__((__stdcall__)) WSASetLastError(int); | |
14557 | int __attribute__((__stdcall__)) WSAStartup(WORD,LPWSADATA); | |
14558 | int __attribute__((__stdcall__)) WSAUnhookBlockingHook(void); | |
14559 | ||
14560 | SOCKET __attribute__((__stdcall__)) accept(SOCKET,struct sockaddr*,int*); | |
14561 | int __attribute__((__stdcall__)) bind(SOCKET,const struct sockaddr*,int); | |
14562 | int __attribute__((__stdcall__)) closesocket(SOCKET); | |
14563 | int __attribute__((__stdcall__)) connect(SOCKET,const struct sockaddr*,int); | |
14564 | struct hostent* __attribute__((__stdcall__)) gethostbyaddr(const char*,int,int); | |
14565 | struct hostent* __attribute__((__stdcall__)) gethostbyname(const char*); | |
14566 | ||
14567 | int __attribute__((__stdcall__)) getpeername(SOCKET,struct sockaddr*,int*); | |
14568 | struct protoent* __attribute__((__stdcall__)) getprotobyname(const char*); | |
14569 | struct protoent* __attribute__((__stdcall__)) getprotobynumber(int); | |
14570 | ||
14571 | int __attribute__((__stdcall__)) select(int,fd_set*,fd_set*,fd_set*,const struct timeval*); | |
14572 | ||
14573 | struct servent* __attribute__((__stdcall__)) getservbyname(const char*,const char*); | |
14574 | struct servent* __attribute__((__stdcall__)) getservbyport(int,const char*); | |
14575 | int __attribute__((__stdcall__)) getsockname(SOCKET,struct sockaddr*,int*); | |
14576 | int __attribute__((__stdcall__)) getsockopt(SOCKET,int,int,char*,int*); | |
14577 | unsigned long __attribute__((__stdcall__)) inet_addr(const char*); | |
14578 | char* __attribute__((__stdcall__)) inet_ntoa(struct in_addr); | |
14579 | int __attribute__((__stdcall__)) ioctlsocket(SOCKET,long,u_long*); | |
14580 | int __attribute__((__stdcall__)) listen(SOCKET,int); | |
14581 | int __attribute__((__stdcall__)) recv(SOCKET,char*,int,int); | |
14582 | int __attribute__((__stdcall__)) recvfrom(SOCKET,char*,int,int,struct sockaddr*,int*); | |
14583 | int __attribute__((__stdcall__)) send(SOCKET,const char*,int,int); | |
14584 | int __attribute__((__stdcall__)) sendto(SOCKET,const char*,int,int,const struct sockaddr*,int); | |
14585 | int __attribute__((__stdcall__)) setsockopt(SOCKET,int,int,const char*,int); | |
14586 | int __attribute__((__stdcall__)) shutdown(SOCKET,int); | |
14587 | SOCKET __attribute__((__stdcall__)) socket(int,int,int); | |
14588 | ||
14589 | ||
14590 | ||
14591 | ||
14592 | # 1 "../../../include/poppack.h" 1 | |
14593 | # 253 "../../../include/poppack.h" | |
14594 | #pragma pack() | |
14595 | # 1025 "../../../include/winsock.h" 2 | |
14596 | # 48 "../../../include/winsock2.h" 2 | |
14597 | # 168 "../../../include/winsock2.h" | |
14598 | typedef struct _WSAPROTOCOLCHAIN | |
14599 | { | |
14600 | int ChainLen; | |
14601 | ||
14602 | ||
14603 | ||
14604 | DWORD ChainEntries[7]; | |
14605 | } WSAPROTOCOLCHAIN, * LPWSAPROTOCOLCHAIN; | |
14606 | # 203 "../../../include/winsock2.h" | |
14607 | typedef struct _WSAPROTOCOL_INFOA | |
14608 | { | |
14609 | DWORD dwServiceFlags1; | |
14610 | DWORD dwServiceFlags2; | |
14611 | DWORD dwServiceFlags3; | |
14612 | DWORD dwServiceFlags4; | |
14613 | DWORD dwProviderFlags; | |
14614 | GUID ProviderId; | |
14615 | DWORD dwCatalogEntryId; | |
14616 | WSAPROTOCOLCHAIN ProtocolChain; | |
14617 | int iVersion; | |
14618 | int iAddressFamily; | |
14619 | int iMaxSockAddr; | |
14620 | int iMinSockAddr; | |
14621 | int iSocketType; | |
14622 | int iProtocol; | |
14623 | int iProtocolMaxOffset; | |
14624 | int iNetworkByteOrder; | |
14625 | int iSecurityScheme; | |
14626 | DWORD dwMessageSize; | |
14627 | DWORD dwProviderReserved; | |
14628 | CHAR szProtocol[255 +1]; | |
14629 | } WSAPROTOCOL_INFOA, * LPWSAPROTOCOL_INFOA; | |
14630 | ||
14631 | typedef struct _WSAPROTOCOL_INFOW | |
14632 | { | |
14633 | DWORD dwServiceFlags1; | |
14634 | DWORD dwServiceFlags2; | |
14635 | DWORD dwServiceFlags3; | |
14636 | DWORD dwServiceFlags4; | |
14637 | DWORD dwProviderFlags; | |
14638 | GUID ProviderId; | |
14639 | DWORD dwCatalogEntryId; | |
14640 | WSAPROTOCOLCHAIN ProtocolChain; | |
14641 | int iVersion; | |
14642 | int iAddressFamily; | |
14643 | int iMaxSockAddr; | |
14644 | int iMinSockAddr; | |
14645 | int iSocketType; | |
14646 | int iProtocol; | |
14647 | int iProtocolMaxOffset; | |
14648 | int iNetworkByteOrder; | |
14649 | int iSecurityScheme; | |
14650 | DWORD dwMessageSize; | |
14651 | DWORD dwProviderReserved; | |
14652 | WCHAR szProtocol[255 +1]; | |
14653 | } WSAPROTOCOL_INFOW, *LPWSAPROTOCOL_INFOW; | |
14654 | ||
14655 | typedef WSAPROTOCOL_INFOA WSAPROTOCOL_INFO; | |
14656 | typedef LPWSAPROTOCOL_INFOA LPWSAPROTOCOL_INFO; | |
14657 | ||
14658 | typedef struct _WSANETWORKEVENTS | |
14659 | { | |
14660 | long lNetworkEvents; | |
14661 | int iErrorCode[10]; | |
14662 | } WSANETWORKEVENTS, *LPWSANETWORKEVENTS; | |
14663 | ||
14664 | typedef struct _WSANSClassInfoA | |
14665 | { | |
14666 | LPSTR lpszName; | |
14667 | DWORD dwNameSpace; | |
14668 | DWORD dwValueType; | |
14669 | DWORD dwValueSize; | |
14670 | LPVOID lpValue; | |
14671 | } WSANSCLASSINFOA, *PWSANSCLASSINFOA, *LPWSANSCLASSINFOA; | |
14672 | ||
14673 | typedef struct _WSANSClassInfoW | |
14674 | { | |
14675 | LPSTR lpszName; | |
14676 | DWORD dwNameSpace; | |
14677 | DWORD dwValueType; | |
14678 | DWORD dwValueSize; | |
14679 | LPVOID lpValue; | |
14680 | } WSANSCLASSINFOW, *PWSANSCLASSINFOW, *LPWSANSCLASSINFOW; | |
14681 | ||
14682 | typedef WSANSCLASSINFOA WSANSCLASSINFO; | |
14683 | typedef PWSANSCLASSINFOA PWSANSCLASSINFO; | |
14684 | typedef LPWSANSCLASSINFOA LPWSANSCLASSINFO; | |
14685 | ||
14686 | typedef struct _WSAServiceClassInfoA | |
14687 | { | |
14688 | LPGUID lpServiceClassId; | |
14689 | LPSTR lpszServiceClassName; | |
14690 | DWORD dwCount; | |
14691 | LPWSANSCLASSINFOA lpClassInfos; | |
14692 | } WSASERVICECLASSINFOA, *PWSASERVICECLASSINFOA, *LPWSASERVICECLASSINFOA; | |
14693 | ||
14694 | typedef struct _WSAServiceClassInfoW | |
14695 | { | |
14696 | LPGUID lpServiceClassId; | |
14697 | LPWSTR lpszServiceClassName; | |
14698 | DWORD dwCount; | |
14699 | LPWSANSCLASSINFOW lpClassInfos; | |
14700 | } WSASERVICECLASSINFOW, *PWSASERVICECLASSINFOW, *LPWSASERVICECLASSINFOW; | |
14701 | ||
14702 | ||
14703 | typedef WSASERVICECLASSINFOA WSASERVICECLASSINFO; | |
14704 | typedef PWSASERVICECLASSINFOA PWSASERVICECLASSINFO; | |
14705 | typedef LPWSASERVICECLASSINFOA LPWSASERVICECLASSINFO; | |
14706 | ||
14707 | typedef struct _WSABUF | |
14708 | { | |
14709 | ULONG len; | |
14710 | CHAR* buf; | |
14711 | } WSABUF, *LPWSABUF; | |
14712 | ||
14713 | ||
14714 | ||
14715 | ||
14716 | typedef struct _OVERLAPPED* LPWSAOVERLAPPED; | |
14717 | # 329 "../../../include/winsock2.h" | |
14718 | typedef unsigned int GROUP; | |
14719 | ||
14720 | ||
14721 | ||
14722 | ||
14723 | ||
14724 | ||
14725 | ||
14726 | typedef ULONG SERVICETYPE; | |
14727 | ||
14728 | typedef struct _FLOWSPEC { | |
14729 | unsigned int TokenRate; | |
14730 | unsigned int TokenBucketSize; | |
14731 | unsigned int PeakBandwidth; | |
14732 | unsigned int Latency; | |
14733 | unsigned int DelayVariation; | |
14734 | SERVICETYPE ServiceType; | |
14735 | unsigned int MaxSduSize; | |
14736 | unsigned int MinimumPolicedSize; | |
14737 | } FLOWSPEC, *PFLOWSPEC, *LPFLOWSPEC; | |
14738 | ||
14739 | typedef struct _QUALITYOFSERVICE { | |
14740 | FLOWSPEC SendingFlowspec; | |
14741 | FLOWSPEC ReceivingFlowspec; | |
14742 | WSABUF ProviderSpecific; | |
14743 | } QOS, *LPQOS; | |
14744 | ||
14745 | typedef int (__attribute__((__stdcall__)) *LPCONDITIONPROC) | |
14746 | ( | |
14747 | LPWSABUF lpCallerId, | |
14748 | LPWSABUF lpCallerData, | |
14749 | LPQOS lpSQOS, | |
14750 | LPQOS lpGQOS, | |
14751 | LPWSABUF lpCalleeId, | |
14752 | LPWSABUF lpCalleeData, | |
14753 | GROUP *g, | |
14754 | DWORD dwCallbackData | |
14755 | ); | |
14756 | ||
14757 | typedef void (__attribute__((__stdcall__)) *LPWSAOVERLAPPED_COMPLETION_ROUTINE) | |
14758 | ( | |
14759 | DWORD dwError, | |
14760 | DWORD cbTransferred, | |
14761 | LPWSAOVERLAPPED lpOverlapped, | |
14762 | DWORD dwFlags | |
14763 | ); | |
14764 | ||
14765 | ||
14766 | ||
14767 | ||
14768 | ||
14769 | typedef struct _BLOB { | |
14770 | ULONG cbSize; | |
14771 | BYTE *pBlobData; | |
14772 | } BLOB, *LPBLOB; | |
14773 | ||
14774 | ||
14775 | ||
14776 | ||
14777 | ||
14778 | typedef struct _SOCKET_ADDRESS { | |
14779 | LPSOCKADDR lpSockaddr; | |
14780 | INT iSockaddrLength; | |
14781 | } SOCKET_ADDRESS, *PSOCKET_ADDRESS, *LPSOCKET_ADDRESS; | |
14782 | ||
14783 | typedef struct _CSADDR_INFO { | |
14784 | SOCKET_ADDRESS LocalAddr; | |
14785 | SOCKET_ADDRESS RemoteAddr; | |
14786 | INT iSocketType; | |
14787 | INT iProtocol; | |
14788 | } CSADDR_INFO, *PCSADDR_INFO, *LPCSADDR_INFO; | |
14789 | ||
14790 | ||
14791 | ||
14792 | typedef struct _SOCKET_ADDRESS_LIST { | |
14793 | INT iAddressCount; | |
14794 | SOCKET_ADDRESS Address[1]; | |
14795 | } SOCKET_ADDRESS_LIST, *LPSOCKET_ADDRESS_LIST; | |
14796 | ||
14797 | ||
14798 | typedef struct _AFPROTOCOLS { | |
14799 | INT iAddressFamily; | |
14800 | INT iProtocol; | |
14801 | } AFPROTOCOLS, *PAFPROTOCOLS, *LPAFPROTOCOLS; | |
14802 | ||
14803 | ||
14804 | typedef enum _WSAEcomparator { | |
14805 | COMP_EQUAL = 0, | |
14806 | COMP_NOTLESS | |
14807 | } WSAECOMPARATOR, *PWSAECOMPARATOR, *LPWSAECOMPARATOR; | |
14808 | ||
14809 | typedef struct _WSAVersion { | |
14810 | DWORD dwVersion; | |
14811 | WSAECOMPARATOR ecHow; | |
14812 | } WSAVERSION, *PWSAVERSION, *LPWSAVERSION; | |
14813 | ||
14814 | ||
14815 | typedef struct _WSAQuerySetA { | |
14816 | DWORD dwSize; | |
14817 | LPSTR lpszServiceInstanceName; | |
14818 | LPGUID lpServiceClassId; | |
14819 | LPWSAVERSION lpVersion; | |
14820 | LPSTR lpszComment; | |
14821 | DWORD dwNameSpace; | |
14822 | LPGUID lpNSProviderId; | |
14823 | LPSTR lpszContext; | |
14824 | DWORD dwNumberOfProtocols; | |
14825 | LPAFPROTOCOLS lpafpProtocols; | |
14826 | LPSTR lpszQueryString; | |
14827 | DWORD dwNumberOfCsAddrs; | |
14828 | LPCSADDR_INFO lpcsaBuffer; | |
14829 | DWORD dwOutputFlags; | |
14830 | LPBLOB lpBlob; | |
14831 | } WSAQUERYSETA, *PWSAQUERYSETA, *LPWSAQUERYSETA; | |
14832 | ||
14833 | typedef struct _WSAQuerySetW { | |
14834 | DWORD dwSize; | |
14835 | LPWSTR lpszServiceInstanceName; | |
14836 | LPGUID lpServiceClassId; | |
14837 | LPWSAVERSION lpVersion; | |
14838 | LPWSTR lpszComment; | |
14839 | DWORD dwNameSpace; | |
14840 | LPGUID lpNSProviderId; | |
14841 | LPWSTR lpszContext; | |
14842 | DWORD dwNumberOfProtocols; | |
14843 | LPAFPROTOCOLS lpafpProtocols; | |
14844 | LPWSTR lpszQueryString; | |
14845 | DWORD dwNumberOfCsAddrs; | |
14846 | LPCSADDR_INFO lpcsaBuffer; | |
14847 | DWORD dwOutputFlags; | |
14848 | LPBLOB lpBlob; | |
14849 | } WSAQUERYSETW, *PWSAQUERYSETW, *LPWSAQUERYSETW; | |
14850 | ||
14851 | typedef WSAQUERYSETA WSAQUERYSET; | |
14852 | typedef PWSAQUERYSETA PWSAQUERYSET; | |
14853 | typedef LPWSAQUERYSETA LPWSAQUERYSET; | |
14854 | ||
14855 | typedef enum _WSAESETSERVICEOP { | |
14856 | RNRSERVICE_REGISTER = 0, | |
14857 | RNRSERVICE_DEREGISTER, | |
14858 | RNRSERVICE_DELETE | |
14859 | } WSAESETSERVICEOP, *PWSAESETSERVICEOP, *LPWSAESETSERVICEOP; | |
14860 | ||
14861 | typedef struct _WSANAMESPACE_INFOA { | |
14862 | GUID NSProviderId; | |
14863 | DWORD dwNameSpace; | |
14864 | BOOL fActive; | |
14865 | DWORD dwVersion; | |
14866 | LPSTR lpszIdentifier; | |
14867 | } WSANAMESPACE_INFOA, *PWSANAMESPACE_INFOA, *LPWSANAMESPACE_INFOA; | |
14868 | ||
14869 | typedef struct _WSANAMESPACE_INFOW { | |
14870 | GUID NSProviderId; | |
14871 | DWORD dwNameSpace; | |
14872 | BOOL fActive; | |
14873 | DWORD dwVersion; | |
14874 | LPWSTR lpszIdentifier; | |
14875 | } WSANAMESPACE_INFOW, *PWSANAMESPACE_INFOW, *LPWSANAMESPACE_INFOW; | |
14876 | ||
14877 | typedef WSANAMESPACE_INFOA WSANAMESPACE_INFO; | |
14878 | typedef PWSANAMESPACE_INFOA PWSANAMESPACE_INFO; | |
14879 | typedef LPWSANAMESPACE_INFOA LPWSANAMESPACE_INFO; | |
14880 | # 559 "../../../include/winsock2.h" | |
14881 | SOCKET __attribute__((__stdcall__)) WSAAccept(SOCKET,struct sockaddr*,LPINT,LPCONDITIONPROC,DWORD); | |
14882 | INT __attribute__((__stdcall__)) WSAAddressToStringA(LPSOCKADDR,DWORD,LPWSAPROTOCOL_INFOA,LPSTR,LPDWORD); | |
14883 | INT __attribute__((__stdcall__)) WSAAddressToStringW(LPSOCKADDR,DWORD,LPWSAPROTOCOL_INFOW,LPWSTR,LPDWORD); | |
14884 | ||
14885 | BOOL __attribute__((__stdcall__)) WSACloseEvent(HANDLE); | |
14886 | int __attribute__((__stdcall__)) WSAConnect(SOCKET,const struct sockaddr*,int,LPWSABUF,LPWSABUF,LPQOS,LPQOS); | |
14887 | HANDLE __attribute__((__stdcall__)) WSACreateEvent(void); | |
14888 | INT __attribute__((__stdcall__)) WSADuplicateSocketA(SOCKET,DWORD,LPWSAPROTOCOL_INFOA); | |
14889 | INT __attribute__((__stdcall__)) WSADuplicateSocketW(SOCKET,DWORD,LPWSAPROTOCOL_INFOW); | |
14890 | ||
14891 | INT __attribute__((__stdcall__)) WSAEnumNameSpaceProvidersA(LPDWORD,LPWSANAMESPACE_INFOA); | |
14892 | INT __attribute__((__stdcall__)) WSAEnumNameSpaceProvidersW(LPDWORD,LPWSANAMESPACE_INFOW); | |
14893 | ||
14894 | int __attribute__((__stdcall__)) WSAEnumNetworkEvents(SOCKET,HANDLE,LPWSANETWORKEVENTS); | |
14895 | int __attribute__((__stdcall__)) WSAEnumProtocolsA(LPINT,LPWSAPROTOCOL_INFOA,LPDWORD); | |
14896 | int __attribute__((__stdcall__)) WSAEnumProtocolsW(LPINT,LPWSAPROTOCOL_INFOW,LPDWORD); | |
14897 | ||
14898 | int __attribute__((__stdcall__)) WSAEventSelect(SOCKET,HANDLE,long); | |
14899 | BOOL __attribute__((__stdcall__)) WSAGetOverlappedResult(SOCKET,LPWSAOVERLAPPED,LPDWORD,BOOL,LPDWORD); | |
14900 | BOOL __attribute__((__stdcall__)) WSAGetQOSByName(SOCKET,LPWSABUF,LPQOS); | |
14901 | INT __attribute__((__stdcall__)) WSAGetServiceClassInfoA(LPGUID,LPGUID,LPDWORD,LPWSASERVICECLASSINFOA); | |
14902 | INT __attribute__((__stdcall__)) WSAGetServiceClassInfoW(LPGUID,LPGUID,LPDWORD,LPWSASERVICECLASSINFOW); | |
14903 | ||
14904 | INT __attribute__((__stdcall__)) WSAGetServiceClassNameByClassIdA(LPGUID,LPSTR,LPDWORD); | |
14905 | INT __attribute__((__stdcall__)) WSAGetServiceClassNameByClassIdW(LPGUID,LPWSTR,LPDWORD); | |
14906 | ||
14907 | int __attribute__((__stdcall__)) WSAHtonl(SOCKET,u_long,u_long*); | |
14908 | int __attribute__((__stdcall__)) WSAHtons(SOCKET,u_short,u_short*); | |
14909 | int __attribute__((__stdcall__)) WSAInstallServiceClassA(LPWSASERVICECLASSINFOA); | |
14910 | int __attribute__((__stdcall__)) WSAInstallServiceClassW(LPWSASERVICECLASSINFOW); | |
14911 | ||
14912 | int __attribute__((__stdcall__)) WSAIoctl(SOCKET,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); | |
14913 | SOCKET __attribute__((__stdcall__)) WSAJoinLeaf(SOCKET,const struct sockaddr*,int,LPWSABUF,LPWSABUF,LPQOS,LPQOS,DWORD); | |
14914 | INT __attribute__((__stdcall__)) WSALookupServiceBeginA(LPWSAQUERYSETA,DWORD,LPHANDLE); | |
14915 | INT __attribute__((__stdcall__)) WSALookupServiceBeginW(LPWSAQUERYSETW,DWORD,LPHANDLE); | |
14916 | ||
14917 | INT __attribute__((__stdcall__)) WSALookupServiceEnd(HANDLE); | |
14918 | INT __attribute__((__stdcall__)) WSALookupServiceNextA(HANDLE,DWORD,LPDWORD,LPWSAQUERYSETA); | |
14919 | INT __attribute__((__stdcall__)) WSALookupServiceNextW(HANDLE,DWORD,LPDWORD,LPWSAQUERYSETW); | |
14920 | ||
14921 | int __attribute__((__stdcall__)) WSANtohl(SOCKET,u_long,u_long*); | |
14922 | int __attribute__((__stdcall__)) WSANtohs(SOCKET,u_short,u_short*); | |
14923 | INT __attribute__((__stdcall__)) WSAProviderConfigChange(LPHANDLE,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); | |
14924 | int __attribute__((__stdcall__)) WSARecv(SOCKET,LPWSABUF,DWORD,LPDWORD,LPDWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); | |
14925 | int __attribute__((__stdcall__)) WSARecvDisconnect(SOCKET,LPWSABUF); | |
14926 | int __attribute__((__stdcall__)) WSARecvFrom(SOCKET,LPWSABUF,DWORD,LPDWORD,LPDWORD,struct sockaddr*,LPINT,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); | |
14927 | INT __attribute__((__stdcall__)) WSARemoveServiceClass(LPGUID); | |
14928 | BOOL __attribute__((__stdcall__)) WSAResetEvent(HANDLE); | |
14929 | int __attribute__((__stdcall__)) WSASend(SOCKET,LPWSABUF,DWORD,LPDWORD,DWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); | |
14930 | int __attribute__((__stdcall__)) WSASendDisconnect(SOCKET,LPWSABUF); | |
14931 | int __attribute__((__stdcall__)) WSASendTo(SOCKET,LPWSABUF,DWORD,LPDWORD,DWORD,const struct sockaddr*,int,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); | |
14932 | BOOL __attribute__((__stdcall__)) WSASetEvent(HANDLE); | |
14933 | INT __attribute__((__stdcall__)) WSASetServiceA(LPWSAQUERYSETA,WSAESETSERVICEOP,DWORD); | |
14934 | INT __attribute__((__stdcall__)) WSASetServiceW(LPWSAQUERYSETW,WSAESETSERVICEOP,DWORD); | |
14935 | ||
14936 | SOCKET __attribute__((__stdcall__)) WSASocketA(int,int,int,LPWSAPROTOCOL_INFOA,GROUP,DWORD); | |
14937 | SOCKET __attribute__((__stdcall__)) WSASocketW(int,int,int,LPWSAPROTOCOL_INFOW,GROUP,DWORD); | |
14938 | ||
14939 | INT __attribute__((__stdcall__)) WSAStringToAddressA(LPSTR,INT,LPWSAPROTOCOL_INFOA,LPSOCKADDR,LPINT); | |
14940 | INT __attribute__((__stdcall__)) WSAStringToAddressW(LPWSTR,INT,LPWSAPROTOCOL_INFOW,LPSOCKADDR,LPINT); | |
14941 | ||
14942 | DWORD __attribute__((__stdcall__)) WSAWaitForMultipleEvents(DWORD,const HANDLE*,BOOL,DWORD,BOOL); | |
14943 | # 64 "../../../include/windows.h" 2 | |
14944 | ||
14945 | ||
14946 | ||
14947 | # 1 "../../../include/wincrypt.h" 1 | |
14948 | # 28 "../../../include/wincrypt.h" | |
14949 | typedef unsigned int ALG_ID; | |
14950 | typedef unsigned long HCRYPTPROV; | |
14951 | typedef unsigned long HCRYPTKEY; | |
14952 | typedef unsigned long HCRYPTHASH; | |
14953 | typedef void *HCERTSTORE; | |
14954 | typedef void *HCRYPTMSG; | |
14955 | typedef void *HCERTSTOREPROV; | |
14956 | typedef void *HCRYPTOIDFUNCSET; | |
14957 | typedef void *HCRYPTOIDFUNCADDR; | |
14958 | ||
14959 | ||
14960 | ||
14961 | typedef struct _PROV_ENUMALGS { | |
14962 | ALG_ID aiAlgid; | |
14963 | DWORD dwBitLen; | |
14964 | DWORD dwNameLen; | |
14965 | CHAR szName[20]; | |
14966 | } PROV_ENUMALGS; | |
14967 | ||
14968 | typedef struct _PROV_ENUMALGS_EX { | |
14969 | ALG_ID aiAlgid; | |
14970 | DWORD dwDefaultLen; | |
14971 | DWORD dwMinLen; | |
14972 | DWORD dwMaxLen; | |
14973 | DWORD dwProtocols; | |
14974 | DWORD dwNameLen; | |
14975 | CHAR szName[20]; | |
14976 | DWORD dwLongNameLen; | |
14977 | CHAR szLongName[40]; | |
14978 | } PROV_ENUMALGS_EX; | |
14979 | ||
14980 | ||
14981 | ||
14982 | ||
14983 | typedef struct _SCHANNEL_ALG { | |
14984 | DWORD dwUse; | |
14985 | ALG_ID Algid; | |
14986 | DWORD cBits; | |
14987 | DWORD dwFlags; | |
14988 | DWORD dwReserved; | |
14989 | } SCHANNEL_ALG, *PSCHANNEL_ALG; | |
14990 | ||
14991 | typedef struct _HMAC_INFO { | |
14992 | ALG_ID HashAlgid; | |
14993 | BYTE* pbInnerString; | |
14994 | DWORD cbInnerString; | |
14995 | BYTE* pbOuterString; | |
14996 | DWORD cbOuterString; | |
14997 | } HMAC_INFO, *PHMAC_INFO; | |
14998 | ||
14999 | typedef struct _CRYPTOAPI_BLOB { | |
15000 | DWORD cbData; | |
15001 | BYTE* pbData; | |
15002 | } CRYPT_INTEGER_BLOB, *PCRYPT_INTEGER_BLOB, | |
15003 | CRYPT_UINT_BLOB, *PCRYPT_UINT_BLOB, | |
15004 | CRYPT_OBJID_BLOB, *PCRYPT_OBJID_BLOB, | |
15005 | CERT_NAME_BLOB, *PCERT_NAME_BLOB, | |
15006 | CERT_RDN_VALUE_BLOB, *PCERT_RDN_VALUE_BLOB, | |
15007 | CERT_BLOB, *PCERT_BLOB, | |
15008 | CRL_BLOB, *PCRL_BLOB, | |
15009 | DATA_BLOB, *PDATA_BLOB, | |
15010 | CRYPT_DATA_BLOB, *PCRYPT_DATA_BLOB, | |
15011 | CRYPT_HASH_BLOB, *PCRYPT_HASH_BLOB, | |
15012 | CRYPT_DIGEST_BLOB, *PCRYPT_DIGEST_BLOB, | |
15013 | CRYPT_DER_BLOB, *PCRYPT_DER_BLOB, | |
15014 | CRYPT_ATTR_BLOB, *PCRYPT_ATTR_BLOB; | |
15015 | ||
15016 | typedef struct _CRYPTPROTECT_PROMPTSTRUCT{ | |
15017 | DWORD cbSize; | |
15018 | DWORD dwPromptFlags; | |
15019 | HWND hwndApp; | |
15020 | LPCWSTR szPrompt; | |
15021 | } CRYPTPROTECT_PROMPTSTRUCT, *PCRYPTPROTECT_PROMPTSTRUCT; | |
15022 | ||
15023 | typedef struct _CRYPT_ALGORITHM_IDENTIFIER { | |
15024 | LPSTR pszObjId; | |
15025 | CRYPT_OBJID_BLOB Parameters; | |
15026 | } CRYPT_ALGORITHM_IDENTIFIER, *PCRYPT_ALGORITHM_IDENTIFIER; | |
15027 | ||
15028 | typedef struct _CRYPT_ATTRIBUTE_TYPE_VALUE { | |
15029 | LPSTR pszObjId; | |
15030 | CRYPT_OBJID_BLOB Value; | |
15031 | } CRYPT_ATTRIBUTE_TYPE_VALUE, *PCRYPT_ATTRIBUTE_TYPE_VALUE; | |
15032 | ||
15033 | typedef struct _PUBLICKEYSTRUC { | |
15034 | BYTE bType; | |
15035 | BYTE bVersion; | |
15036 | WORD reserved; | |
15037 | ALG_ID aiKeyAlg; | |
15038 | } BLOBHEADER, PUBLICKEYSTRUC; | |
15039 | ||
15040 | typedef struct _RSAPUBKEY { | |
15041 | DWORD magic; | |
15042 | DWORD bitlen; | |
15043 | DWORD pubexp; | |
15044 | } RSAPUBKEY; | |
15045 | ||
15046 | typedef struct _CRYPT_BIT_BLOB { | |
15047 | DWORD cbData; | |
15048 | BYTE *pbData; | |
15049 | DWORD cUnusedBits; | |
15050 | } CRYPT_BIT_BLOB, *PCRYPT_BIT_BLOB; | |
15051 | ||
15052 | typedef struct _CRYPT_KEY_PROV_PARAM { | |
15053 | DWORD dwParam; | |
15054 | BYTE *pbData; | |
15055 | DWORD cbData; | |
15056 | DWORD dwFlags; | |
15057 | } CRYPT_KEY_PROV_PARAM, *PCRYPT_KEY_PROV_PARAM; | |
15058 | ||
15059 | typedef struct _CRYPT_KEY_PROV_INFO { | |
15060 | LPWSTR pwszContainerName; | |
15061 | LPWSTR pwszProvName; | |
15062 | DWORD dwProvType; | |
15063 | DWORD dwFlags; | |
15064 | DWORD cProvParam; | |
15065 | PCRYPT_KEY_PROV_PARAM rgProvParam; | |
15066 | DWORD dwKeySpec; | |
15067 | } CRYPT_KEY_PROV_INFO, *PCRYPT_KEY_PROV_INFO; | |
15068 | ||
15069 | typedef struct _CERT_KEY_CONTEXT { | |
15070 | DWORD cbSize; | |
15071 | HCRYPTPROV hCryptProv; | |
15072 | DWORD dwKeySpec; | |
15073 | } CERT_KEY_CONTEXT, *PCERT_KEY_CONTEXT; | |
15074 | ||
15075 | typedef struct _CERT_PUBLIC_KEY_INFO { | |
15076 | CRYPT_ALGORITHM_IDENTIFIER Algorithm; | |
15077 | CRYPT_BIT_BLOB PublicKey; | |
15078 | } CERT_PUBLIC_KEY_INFO, *PCERT_PUBLIC_KEY_INFO; | |
15079 | ||
15080 | typedef struct _CERT_EXTENSION { | |
15081 | LPSTR pszObjId; | |
15082 | BOOL fCritical; | |
15083 | CRYPT_OBJID_BLOB Value; | |
15084 | } CERT_EXTENSION, *PCERT_EXTENSION; | |
15085 | ||
15086 | typedef struct _CERT_EXTENSIONS { | |
15087 | DWORD cExtension; | |
15088 | PCERT_EXTENSION rgExtension; | |
15089 | } CERT_EXTENSIONS, *PCERT_EXTENSIONS; | |
15090 | ||
15091 | typedef struct _CERT_INFO { | |
15092 | DWORD dwVersion; | |
15093 | CRYPT_INTEGER_BLOB SerialNumber; | |
15094 | CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm; | |
15095 | CERT_NAME_BLOB Issuer; | |
15096 | FILETIME NotBefore; | |
15097 | FILETIME NotAfter; | |
15098 | CERT_NAME_BLOB Subject; | |
15099 | CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo; | |
15100 | CRYPT_BIT_BLOB IssuerUniqueId; | |
15101 | CRYPT_BIT_BLOB SubjectUniqueId; | |
15102 | DWORD cExtension; | |
15103 | PCERT_EXTENSION rgExtension; | |
15104 | } CERT_INFO, *PCERT_INFO; | |
15105 | ||
15106 | typedef struct _CERT_RDN_ATTR { | |
15107 | LPSTR pszObjId; | |
15108 | DWORD dwValueType; | |
15109 | CERT_RDN_VALUE_BLOB Value; | |
15110 | } CERT_RDN_ATTR, *PCERT_RDN_ATTR; | |
15111 | ||
15112 | typedef struct _CERT_RDN { | |
15113 | DWORD cRDNAttr; | |
15114 | PCERT_RDN_ATTR rgRDNAttr; | |
15115 | } CERT_RDN, *PCERT_RDN; | |
15116 | ||
15117 | typedef struct _CERT_NAME_INFO { | |
15118 | DWORD cRDN; | |
15119 | PCERT_RDN rgRDN; | |
15120 | } CERT_NAME_INFO, *PCERT_NAME_INFO; | |
15121 | ||
15122 | typedef struct _CERT_NAME_VALUE { | |
15123 | DWORD dwValueType; | |
15124 | CERT_RDN_VALUE_BLOB Value; | |
15125 | } CERT_NAME_VALUE, *PCERT_NAME_VALUE; | |
15126 | ||
15127 | typedef struct _CERT_ENCRYPTED_PRIVATE_KEY_INFO { | |
15128 | CRYPT_ALGORITHM_IDENTIFIER EncryptionAlgorithm; | |
15129 | CRYPT_DATA_BLOB EncryptedPrivateKey; | |
15130 | } CERT_ENCRYPTED_PRIVATE_KEY_INFO, *PCERT_ENCRYPTED_PRIVATE_KEY_INFO; | |
15131 | ||
15132 | typedef struct _CERT_AUTHORITY_KEY_ID_INFO { | |
15133 | CRYPT_DATA_BLOB KeyId; | |
15134 | CERT_NAME_BLOB CertIssuer; | |
15135 | CRYPT_INTEGER_BLOB CertSerialNumber; | |
15136 | } CERT_AUTHORITY_KEY_ID_INFO, *PCERT_AUTHORITY_KEY_ID_INFO; | |
15137 | ||
15138 | typedef struct _CERT_PRIVATE_KEY_VALIDITY { | |
15139 | FILETIME NotBefore; | |
15140 | FILETIME NotAfter; | |
15141 | } CERT_PRIVATE_KEY_VALIDITY, *PCERT_PRIVATE_KEY_VALIDITY; | |
15142 | ||
15143 | typedef struct _CERT_KEY_ATTRIBUTES_INFO { | |
15144 | CRYPT_DATA_BLOB KeyId; | |
15145 | CRYPT_BIT_BLOB IntendedKeyUsage; | |
15146 | PCERT_PRIVATE_KEY_VALIDITY pPrivateKeyUsagePeriod; | |
15147 | } CERT_KEY_ATTRIBUTES_INFO, *PCERT_KEY_ATTRIBUTES_INFO; | |
15148 | # 241 "../../../include/wincrypt.h" | |
15149 | typedef struct _CERT_POLICY_ID { | |
15150 | DWORD cCertPolicyElementId; | |
15151 | LPSTR *rgbszCertPolicyElementId; | |
15152 | } CERT_POLICY_ID, *PCERT_POLICY_ID; | |
15153 | ||
15154 | typedef struct _CERT_KEY_USAGE_RESTRICTION_INFO { | |
15155 | DWORD cCertPolicyId; | |
15156 | PCERT_POLICY_ID rgCertPolicyId; | |
15157 | CRYPT_BIT_BLOB RestrictedKeyUsage; | |
15158 | } CERT_KEY_USAGE_RESTRICTION_INFO, *PCERT_KEY_USAGE_RESTRICTION_INFO; | |
15159 | ||
15160 | typedef struct _CERT_OTHER_NAME { | |
15161 | LPSTR pszObjId; | |
15162 | CRYPT_OBJID_BLOB Value; | |
15163 | } CERT_OTHER_NAME, *PCERT_OTHER_NAME; | |
15164 | ||
15165 | typedef struct _CERT_ALT_NAME_ENTRY { | |
15166 | DWORD dwAltNameChoice; | |
15167 | union { | |
15168 | PCERT_OTHER_NAME pOtherName; | |
15169 | LPWSTR pwszRfc822Name; | |
15170 | LPWSTR pwszDNSName; | |
15171 | CERT_NAME_BLOB DirectoryName; | |
15172 | LPWSTR pwszURL; | |
15173 | CRYPT_DATA_BLOB IPAddress; | |
15174 | LPSTR pszRegisteredID; | |
15175 | } ; | |
15176 | } CERT_ALT_NAME_ENTRY, *PCERT_ALT_NAME_ENTRY; | |
15177 | # 280 "../../../include/wincrypt.h" | |
15178 | typedef struct _CERT_ALT_NAME_INFO { | |
15179 | DWORD cAltEntry; | |
15180 | PCERT_ALT_NAME_ENTRY rgAltEntry; | |
15181 | } CERT_ALT_NAME_INFO, *PCERT_ALT_NAME_INFO; | |
15182 | # 295 "../../../include/wincrypt.h" | |
15183 | typedef struct _CERT_BASIC_CONSTRAINTS_INFO { | |
15184 | CRYPT_BIT_BLOB SubjectType; | |
15185 | BOOL fPathLenConstraint; | |
15186 | DWORD dwPathLenConstraint; | |
15187 | DWORD cSubtreesConstraint; | |
15188 | CERT_NAME_BLOB *rgSubtreesConstraint; | |
15189 | } CERT_BASIC_CONSTRAINTS_INFO, *PCERT_BASIC_CONSTRAINTS_INFO; | |
15190 | ||
15191 | ||
15192 | ||
15193 | ||
15194 | typedef struct _CERT_BASIC_CONSTRAINTS2_INFO { | |
15195 | BOOL fCA; | |
15196 | BOOL fPathLenConstraint; | |
15197 | DWORD dwPathLenConstraint; | |
15198 | } CERT_BASIC_CONSTRAINTS2_INFO, *PCERT_BASIC_CONSTRAINTS2_INFO; | |
15199 | ||
15200 | typedef struct _CERT_POLICY_QUALIFIER_INFO { | |
15201 | LPSTR pszPolicyQualifierId; | |
15202 | CRYPT_OBJID_BLOB Qualifier; | |
15203 | } CERT_POLICY_QUALIFIER_INFO, *PCERT_POLICY_QUALIFIER_INFO; | |
15204 | ||
15205 | typedef struct _CERT_POLICY_INFO { | |
15206 | LPSTR pszPolicyIdentifier; | |
15207 | DWORD cPolicyQualifier; | |
15208 | CERT_POLICY_QUALIFIER_INFO *rgPolicyQualifier; | |
15209 | } CERT_POLICY_INFO, *PCERT_POLICY_INFO; | |
15210 | ||
15211 | typedef struct _CERT_POLICIES_INFO { | |
15212 | DWORD cPolicyInfo; | |
15213 | CERT_POLICY_INFO *rgPolicyInfo; | |
15214 | } CERT_POLICIES_INFO, *PCERT_POLICIES_INFO; | |
15215 | ||
15216 | typedef struct _CERT_POLICY_QUALIFIER_NOTICE_REFERENCE { | |
15217 | LPSTR pszOrganization; | |
15218 | DWORD cNoticeNumbers; | |
15219 | int *rgNoticeNumbers; | |
15220 | } CERT_POLICY_QUALIFIER_NOTICE_REFERENCE, | |
15221 | *PCERT_POLICY_QUALIFIER_NOTICE_REFERENCE; | |
15222 | ||
15223 | typedef struct _CERT_POLICY_QUALIFIER_USER_NOTICE { | |
15224 | CERT_POLICY_QUALIFIER_NOTICE_REFERENCE *pNoticeReference; | |
15225 | LPWSTR pszDisplayText; | |
15226 | } CERT_POLICY_QUALIFIER_USER_NOTICE, *PCERT_POLICY_QUALIFIER_USER_NOTICE; | |
15227 | ||
15228 | typedef struct _CPS_URLS { | |
15229 | LPWSTR pszURL; | |
15230 | CRYPT_ALGORITHM_IDENTIFIER *pAlgorithm; | |
15231 | CRYPT_DATA_BLOB *pDigest; | |
15232 | } CPS_URLS, *PCPS_URLS; | |
15233 | ||
15234 | typedef struct _CERT_POLICY95_QUALIFIER1 { | |
15235 | LPWSTR pszPracticesReference; | |
15236 | LPSTR pszNoticeIdentifier; | |
15237 | LPSTR pszNSINoticeIdentifier; | |
15238 | DWORD cCPSURLs; | |
15239 | CPS_URLS *rgCPSURLs; | |
15240 | } CERT_POLICY95_QUALIFIER1, *PCERT_POLICY95_QUALIFIER1; | |
15241 | ||
15242 | typedef struct _CERT_POLICY_MAPPING { | |
15243 | LPSTR pszIssuerDomainPolicy; | |
15244 | LPSTR pszSubjectDomainPolicy; | |
15245 | } CERT_POLICY_MAPPING, *PCERT_POLICY_MAPPING; | |
15246 | ||
15247 | typedef struct _CERT_POLICY_MAPPINGS_INFO { | |
15248 | DWORD cPolicyMapping; | |
15249 | PCERT_POLICY_MAPPING rgPolicyMapping; | |
15250 | } CERT_POLICY_MAPPINGS_INFO, *PCERT_POLICY_MAPPINGS_INFO; | |
15251 | ||
15252 | typedef struct _CERT_POLICY_CONSTRAINTS_INFO { | |
15253 | BOOL fRequireExplicitPolicy; | |
15254 | DWORD dwRequireExplicitPolicySkipCerts; | |
15255 | BOOL fInhibitPolicyMapping; | |
15256 | DWORD dwInhibitPolicyMappingSkipCerts; | |
15257 | } CERT_POLICY_CONSTRAINTS_INFO, *PCERT_POLICY_CONSTRAINTS_INFO; | |
15258 | ||
15259 | typedef struct _CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY { | |
15260 | LPSTR pszObjId; | |
15261 | DWORD cValue; | |
15262 | PCRYPT_DER_BLOB rgValue; | |
15263 | } CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY, *PCRYPT_CONTENT_INFO_SEQUENCE_OF_ANY; | |
15264 | ||
15265 | typedef struct _CRYPT_CONTENT_INFO { | |
15266 | LPSTR pszObjId; | |
15267 | CRYPT_DER_BLOB Content; | |
15268 | } CRYPT_CONTENT_INFO, *PCRYPT_CONTENT_INFO; | |
15269 | ||
15270 | typedef struct _CRYPT_SEQUENCE_OF_ANY { | |
15271 | DWORD cValue; | |
15272 | PCRYPT_DER_BLOB rgValue; | |
15273 | } CRYPT_SEQUENCE_OF_ANY, *PCRYPT_SEQUENCE_OF_ANY; | |
15274 | ||
15275 | typedef struct _CERT_AUTHORITY_KEY_ID2_INFO { | |
15276 | CRYPT_DATA_BLOB KeyId; | |
15277 | CERT_ALT_NAME_INFO AuthorityCertIssuer; | |
15278 | CRYPT_INTEGER_BLOB AuthorityCertSerialNumber; | |
15279 | } CERT_AUTHORITY_KEY_ID2_INFO, *PCERT_AUTHORITY_KEY_ID2_INFO; | |
15280 | ||
15281 | typedef struct _CERT_ACCESS_DESCRIPTION { | |
15282 | LPSTR pszAccessMethod; | |
15283 | CERT_ALT_NAME_ENTRY AccessLocation; | |
15284 | } CERT_ACCESS_DESCRIPTION, *PCERT_ACCESS_DESCRIPTION; | |
15285 | ||
15286 | typedef struct _CERT_AUTHORITY_INFO_ACCESS { | |
15287 | DWORD cAccDescr; | |
15288 | PCERT_ACCESS_DESCRIPTION rgAccDescr; | |
15289 | } CERT_AUTHORITY_INFO_ACCESS, *PCERT_AUTHORITY_INFO_ACCESS; | |
15290 | ||
15291 | typedef struct _CERT_CONTEXT { | |
15292 | DWORD dwCertEncodingType; | |
15293 | BYTE *pbCertEncoded; | |
15294 | DWORD cbCertEncoded; | |
15295 | PCERT_INFO pCertInfo; | |
15296 | HCERTSTORE hCertStore; | |
15297 | } CERT_CONTEXT, *PCERT_CONTEXT; | |
15298 | typedef const CERT_CONTEXT *PCCERT_CONTEXT; | |
15299 | ||
15300 | typedef struct _CRL_ENTRY { | |
15301 | CRYPT_INTEGER_BLOB SerialNumber; | |
15302 | FILETIME RevocationDate; | |
15303 | DWORD cExtension; | |
15304 | PCERT_EXTENSION rgExtension; | |
15305 | } CRL_ENTRY, *PCRL_ENTRY; | |
15306 | ||
15307 | typedef struct _CRL_INFO { | |
15308 | DWORD dwVersion; | |
15309 | CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm; | |
15310 | CERT_NAME_BLOB Issuer; | |
15311 | FILETIME ThisUpdate; | |
15312 | FILETIME NextUpdate; | |
15313 | DWORD cCRLEntry; | |
15314 | PCRL_ENTRY rgCRLEntry; | |
15315 | DWORD cExtension; | |
15316 | PCERT_EXTENSION rgExtension; | |
15317 | } CRL_INFO, *PCRL_INFO; | |
15318 | ||
15319 | typedef struct _CRL_DIST_POINT_NAME { | |
15320 | DWORD dwDistPointNameChoice; | |
15321 | union { | |
15322 | CERT_ALT_NAME_INFO FullName; | |
15323 | } ; | |
15324 | } CRL_DIST_POINT_NAME, *PCRL_DIST_POINT_NAME; | |
15325 | ||
15326 | ||
15327 | ||
15328 | ||
15329 | ||
15330 | typedef struct _CRL_DIST_POINT { | |
15331 | CRL_DIST_POINT_NAME DistPointName; | |
15332 | CRYPT_BIT_BLOB ReasonFlags; | |
15333 | CERT_ALT_NAME_INFO CRLIssuer; | |
15334 | } CRL_DIST_POINT, *PCRL_DIST_POINT; | |
15335 | # 456 "../../../include/wincrypt.h" | |
15336 | typedef struct _CRL_DIST_POINTS_INFO { | |
15337 | DWORD cDistPoint; | |
15338 | PCRL_DIST_POINT rgDistPoint; | |
15339 | } CRL_DIST_POINTS_INFO, *PCRL_DIST_POINTS_INFO; | |
15340 | # 470 "../../../include/wincrypt.h" | |
15341 | typedef struct _CROSS_CERT_DIST_POINTS_INFO { | |
15342 | DWORD dwSyncDeltaTime; | |
15343 | DWORD cDistPoint; | |
15344 | PCERT_ALT_NAME_INFO rgDistPoint; | |
15345 | } CROSS_CERT_DIST_POINTS_INFO, *PCROSS_CERT_DIST_POINTS_INFO; | |
15346 | ||
15347 | ||
15348 | ||
15349 | ||
15350 | ||
15351 | ||
15352 | ||
15353 | typedef struct _CERT_PAIR { | |
15354 | CERT_BLOB Forward; | |
15355 | CERT_BLOB Reverse; | |
15356 | } CERT_PAIR, *PCERT_PAIR; | |
15357 | ||
15358 | typedef struct _CRL_ISSUING_DIST_POINT { | |
15359 | CRL_DIST_POINT_NAME DistPointName; | |
15360 | BOOL fOnlyContainsUserCerts; | |
15361 | BOOL fOnlyContainsCACerts; | |
15362 | CRYPT_BIT_BLOB OnlySomeReasonFlags; | |
15363 | BOOL fIndirectCRL; | |
15364 | } CRL_ISSUING_DIST_POINT, *PCRL_ISSUING_DIST_POINT; | |
15365 | ||
15366 | typedef struct _CERT_GENERAL_SUBTREE { | |
15367 | CERT_ALT_NAME_ENTRY Base; | |
15368 | DWORD dwMinimum; | |
15369 | BOOL fMaximum; | |
15370 | DWORD dwMaximum; | |
15371 | } CERT_GENERAL_SUBTREE, *PCERT_GENERAL_SUBTREE; | |
15372 | ||
15373 | typedef struct _CERT_NAME_CONSTRAINTS_INFO { | |
15374 | DWORD cPermittedSubtree; | |
15375 | PCERT_GENERAL_SUBTREE rgPermittedSubtree; | |
15376 | DWORD cExcludedSubtree; | |
15377 | PCERT_GENERAL_SUBTREE rgExcludedSubtree; | |
15378 | } CERT_NAME_CONSTRAINTS_INFO, *PCERT_NAME_CONSTRAINTS_INFO; | |
15379 | ||
15380 | ||
15381 | ||
15382 | ||
15383 | typedef struct _CRYPT_ATTRIBUTE { | |
15384 | LPSTR pszObjId; | |
15385 | DWORD cValue; | |
15386 | PCRYPT_DATA_BLOB rgValue; | |
15387 | } CRYPT_ATTRIBUTE, *PCRYPT_ATTRIBUTE; | |
15388 | ||
15389 | typedef struct _CRYPT_ATTRIBUTES { | |
15390 | DWORD cAttr; | |
15391 | PCRYPT_ATTRIBUTE rgAttr; | |
15392 | } CRYPT_ATTRIBUTES, *PCRYPT_ATTRIBUTES; | |
15393 | ||
15394 | typedef struct _CERT_REQUEST_INFO { | |
15395 | DWORD dwVersion; | |
15396 | CERT_NAME_BLOB Subject; | |
15397 | CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo; | |
15398 | DWORD cAttribute; | |
15399 | PCRYPT_ATTRIBUTE rgAttribute; | |
15400 | } CERT_REQUEST_INFO, *PCERT_REQUEST_INFO; | |
15401 | ||
15402 | typedef struct _CERT_KEYGEN_REQUEST_INFO { | |
15403 | DWORD dwVersion; | |
15404 | CERT_PUBLIC_KEY_INFO SubjectPubliceKeyInfo; | |
15405 | LPWSTR pwszChallengeString; | |
15406 | } CERT_KEYGEN_REQUEST_INFO, *PCERT_KEYGEN_REQUEST_INFO; | |
15407 | ||
15408 | typedef struct _CERT_SIGNED_CONTENT_INFO { | |
15409 | CRYPT_DER_BLOB ToBeSigned; | |
15410 | CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm; | |
15411 | CRYPT_BIT_BLOB Signature; | |
15412 | } CERT_SIGNED_CONTENT_INFO, *PCERT_SIGNED_CONTENT_INFO; | |
15413 | ||
15414 | typedef struct _CRL_CONTEXT { | |
15415 | DWORD dwCertEncodingType; | |
15416 | BYTE *pbCrlEncoded; | |
15417 | DWORD cbCrlEncoded; | |
15418 | PCRL_INFO pCrlInfo; | |
15419 | HCERTSTORE hCertStore; | |
15420 | } CRL_CONTEXT, *PCRL_CONTEXT; | |
15421 | typedef const CRL_CONTEXT *PCCRL_CONTEXT; | |
15422 | ||
15423 | typedef struct _VTableProvStruc { | |
15424 | DWORD Version; | |
15425 | FARPROC pFuncVerifyImage; | |
15426 | FARPROC pFuncReturnhWnd; | |
15427 | DWORD dwProvType; | |
15428 | BYTE *pbContextInfo; | |
15429 | DWORD cbContextInfo; | |
15430 | LPSTR pszProvName; | |
15431 | } VTableProvStruc, *PVTableProvStruc; | |
15432 | ||
15433 | typedef struct _CERT_PRIVATE_KEY_INFO { | |
15434 | DWORD Version; | |
15435 | CRYPT_ALGORITHM_IDENTIFIER Algorithm; | |
15436 | CRYPT_DER_BLOB PrivateKey; | |
15437 | PCRYPT_ATTRIBUTES pAttributes; | |
15438 | } CERT_PRIVATE_KEY_INFO, *PCERT_PRIVATE_KEY_INFO; | |
15439 | ||
15440 | typedef struct _CTL_USAGE { | |
15441 | DWORD cUsageIdentifier; | |
15442 | LPSTR *rgpszUsageIdentifier; | |
15443 | } CTL_USAGE, *PCTL_USAGE, CERT_ENHKEY_USAGE, *PCERT_ENHKEY_USAGE; | |
15444 | ||
15445 | typedef struct _CTL_ENTRY { | |
15446 | CRYPT_DATA_BLOB SubjectIdentifier; | |
15447 | DWORD cAttribute; | |
15448 | PCRYPT_ATTRIBUTE rgAttribute; | |
15449 | } CTL_ENTRY, *PCTL_ENTRY; | |
15450 | ||
15451 | typedef struct _CTL_INFO { | |
15452 | DWORD dwVersion; | |
15453 | CTL_USAGE SubjectUsage; | |
15454 | CRYPT_DATA_BLOB ListIdentifier; | |
15455 | CRYPT_INTEGER_BLOB SequenceNumber; | |
15456 | FILETIME ThisUpdate; | |
15457 | FILETIME NextUpdate; | |
15458 | CRYPT_ALGORITHM_IDENTIFIER SubjectAlgorithm; | |
15459 | DWORD cCTLEntry; | |
15460 | PCTL_ENTRY rgCTLEntry; | |
15461 | DWORD cExtension; | |
15462 | PCERT_EXTENSION rgExtension; | |
15463 | } CTL_INFO, *PCTL_INFO; | |
15464 | ||
15465 | typedef struct _CTL_CONTEXT { | |
15466 | DWORD dwMsgAndCertEncodingType; | |
15467 | BYTE *pbCtlEncoded; | |
15468 | DWORD cbCtlEncoded; | |
15469 | PCTL_INFO pCtlInfo; | |
15470 | HCERTSTORE hCertStore; | |
15471 | HCRYPTMSG hCryptMsg; | |
15472 | BYTE *pbCtlContext; | |
15473 | DWORD cbCtlContext; | |
15474 | } CTL_CONTEXT, *PCTL_CONTEXT; | |
15475 | typedef const CTL_CONTEXT *PCCTL_CONTEXT; | |
15476 | ||
15477 | typedef struct _CRYPT_TIME_STAMP_REQUEST_INFO { | |
15478 | LPSTR pszTimeStampAlgorithm; | |
15479 | LPSTR pszContentType; | |
15480 | CRYPT_OBJID_BLOB Content; | |
15481 | DWORD cAttribute; | |
15482 | PCRYPT_ATTRIBUTE rgAttribute; | |
15483 | } CRYPT_TIME_STAMP_REQUEST_INFO, *PCRYPT_TIME_STAMP_REQUEST_INFO; | |
15484 | ||
15485 | typedef struct _CRYPT_ENROLLMENT_NAME_VALUE_PAIR { | |
15486 | LPWSTR pwszName; | |
15487 | LPWSTR pwszValue; | |
15488 | } CRYPT_ENROLLMENT_NAME_VALUE_PAIR, *PCRYPT_ENROLLMENT_NAME_VALUE_PAIR; | |
15489 | ||
15490 | typedef struct _CMSG_SIGNER_INFO { | |
15491 | DWORD dwVersion; | |
15492 | CERT_NAME_BLOB Issuer; | |
15493 | CRYPT_INTEGER_BLOB SerialNumber; | |
15494 | CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; | |
15495 | CRYPT_ALGORITHM_IDENTIFIER HashEncryptionAlgorithm; | |
15496 | CRYPT_DATA_BLOB EncryptedHash; | |
15497 | CRYPT_ATTRIBUTES AuthAttrs; | |
15498 | CRYPT_ATTRIBUTES UnauthAttrs; | |
15499 | } CMSG_SIGNER_INFO, *PCMSG_SIGNER_INFO; | |
15500 | ||
15501 | typedef struct _CERT_REVOCATION_CRL_INFO { | |
15502 | DWORD cbSize; | |
15503 | PCCRL_CONTEXT pBaseCrlContext; | |
15504 | PCCRL_CONTEXT pDeltaCrlContext; | |
15505 | PCRL_ENTRY pCrlEntry; | |
15506 | BOOL fDeltaCrlEntry; | |
15507 | } CERT_REVOCATION_CRL_INFO, *PCERT_REVOCATION_CRL_INFO; | |
15508 | ||
15509 | typedef struct _CERT_REVOCATION_INFO { | |
15510 | DWORD cbSize; | |
15511 | DWORD dwRevocationResult; | |
15512 | LPCSTR pszRevocationOid; | |
15513 | LPVOID pvOidSpecificInfo; | |
15514 | BOOL fHasFreshnessTime; | |
15515 | DWORD dwFreshnessTime; | |
15516 | PCERT_REVOCATION_CRL_INFO pCrlInfo; | |
15517 | } CERT_REVOCATION_INFO, *PCERT_REVOCATION_INFO; | |
15518 | ||
15519 | typedef struct _CERT_REVOCATION_PARA { | |
15520 | DWORD cbSize; | |
15521 | PCCERT_CONTEXT pIssuerCert; | |
15522 | DWORD cCertStore; | |
15523 | HCERTSTORE *rgCertStore; | |
15524 | HCERTSTORE hCrlStore; | |
15525 | LPFILETIME pftTimeToUse; | |
15526 | ||
15527 | ||
15528 | ||
15529 | ||
15530 | ||
15531 | ||
15532 | ||
15533 | } CERT_REVOCATION_PARA, *PCERT_REVOCATION_PARA; | |
15534 | ||
15535 | ||
15536 | ||
15537 | ||
15538 | ||
15539 | ||
15540 | typedef struct _CTL_VERIFY_USAGE_PARA { | |
15541 | DWORD cbSize; | |
15542 | CRYPT_DATA_BLOB ListIdentifier; | |
15543 | DWORD cCtlStore; | |
15544 | HCERTSTORE *rghCtlStore; | |
15545 | DWORD cSignerStore; | |
15546 | HCERTSTORE *rghSignerStore; | |
15547 | } CTL_VERIFY_USAGE_PARA, *PCTL_VERIFY_USAGE_PARA; | |
15548 | ||
15549 | typedef struct _CTL_VERIFY_USAGE_STATUS { | |
15550 | DWORD cbSize; | |
15551 | DWORD dwError; | |
15552 | DWORD dwFlags; | |
15553 | PCCTL_CONTEXT *ppCtl; | |
15554 | DWORD dwCtlEntryIndex; | |
15555 | PCCERT_CONTEXT *ppSigner; | |
15556 | DWORD dwSignerIndex; | |
15557 | } CTL_VERIFY_USAGE_STATUS, *PCTL_VERIFY_USAGE_STATUS; | |
15558 | ||
15559 | ||
15560 | ||
15561 | ||
15562 | ||
15563 | ||
15564 | ||
15565 | typedef struct _CERT_REVOCATION_STATUS { | |
15566 | DWORD cbSize; | |
15567 | DWORD dwIndex; | |
15568 | DWORD dwError; | |
15569 | DWORD dwReason; | |
15570 | BOOL fHasFreshnessTime; | |
15571 | DWORD dwFreshnessTime; | |
15572 | } CERT_REVOCATION_STATUS, *PCERT_REVOCATION_STATUS; | |
15573 | ||
15574 | typedef struct _CERT_TRUST_LIST_INFO { | |
15575 | DWORD cbSize; | |
15576 | PCTL_ENTRY pCtlEntry; | |
15577 | PCCTL_CONTEXT pCtlContext; | |
15578 | } CERT_TRUST_LIST_INFO, *PCERT_TRUST_LIST_INFO; | |
15579 | # 745 "../../../include/wincrypt.h" | |
15580 | typedef struct _CERT_TRUST_STATUS { | |
15581 | DWORD dwErrorStatus; | |
15582 | DWORD dwInfoStatus; | |
15583 | } CERT_TRUST_STATUS, *PCERT_TRUST_STATUS; | |
15584 | ||
15585 | typedef struct _CERT_CHAIN_ELEMENT { | |
15586 | DWORD cbSize; | |
15587 | PCCERT_CONTEXT pCertContext; | |
15588 | CERT_TRUST_STATUS TrustStatus; | |
15589 | PCERT_REVOCATION_INFO pRevocationInfo; | |
15590 | PCERT_ENHKEY_USAGE pIssuanceUsage; | |
15591 | PCERT_ENHKEY_USAGE pApplicationUsage; | |
15592 | LPCWSTR pwszExtendedErrorInfo; | |
15593 | } CERT_CHAIN_ELEMENT, *PCERT_CHAIN_ELEMENT; | |
15594 | ||
15595 | typedef struct _CERT_SIMPLE_CHAIN { | |
15596 | DWORD cbSize; | |
15597 | CERT_TRUST_STATUS TrustStatus; | |
15598 | DWORD cElement; | |
15599 | PCERT_CHAIN_ELEMENT *rgpElement; | |
15600 | PCERT_TRUST_LIST_INFO pTrustListInfo; | |
15601 | BOOL fHasRevocationFreshnessTime; | |
15602 | DWORD dwRevocationFreshnessTime; | |
15603 | } CERT_SIMPLE_CHAIN, *PCERT_SIMPLE_CHAIN; | |
15604 | ||
15605 | typedef struct _CERT_CHAIN_CONTEXT CERT_CHAIN_CONTEXT, *PCERT_CHAIN_CONTEXT; | |
15606 | typedef const CERT_CHAIN_CONTEXT *PCCERT_CHAIN_CONTEXT; | |
15607 | ||
15608 | struct _CERT_CHAIN_CONTEXT { | |
15609 | DWORD cbSize; | |
15610 | CERT_TRUST_STATUS TrustStatus; | |
15611 | DWORD cChain; | |
15612 | PCERT_SIMPLE_CHAIN *rgpChain; | |
15613 | DWORD cLowerQualityChainContext; | |
15614 | PCCERT_CHAIN_CONTEXT *rgbLowerQualityChainContext; | |
15615 | BOOL fHasRevocationFreshnessTime; | |
15616 | DWORD dwRevocationFreshnessTime; | |
15617 | }; | |
15618 | ||
15619 | typedef struct _CERT_CHAIN_POLICY_PARA { | |
15620 | DWORD cbSize; | |
15621 | DWORD dwFlags; | |
15622 | void *pvExtraPolicyPara; | |
15623 | } CERT_CHAIN_POLICY_PARA, *PCERT_CHAIN_POLICY_PARA; | |
15624 | ||
15625 | typedef struct _CERT_CHAIN_POLICY_STATUS { | |
15626 | DWORD cbSize; | |
15627 | DWORD dwError; | |
15628 | LONG lChainIndex; | |
15629 | LONG lElementIndex; | |
15630 | void *pvExtraPolicyStatus; | |
15631 | } CERT_CHAIN_POLICY_STATUS, *PCERT_CHAIN_POLICY_STATUS; | |
15632 | # 806 "../../../include/wincrypt.h" | |
15633 | typedef struct _AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA { | |
15634 | DWORD cbSize; | |
15635 | DWORD dwRegPolicySettings; | |
15636 | PCMSG_SIGNER_INFO pSignerInfo; | |
15637 | } AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA, | |
15638 | *PAUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA; | |
15639 | ||
15640 | typedef struct _AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS { | |
15641 | DWORD cbSize; | |
15642 | BOOL fCommercial; | |
15643 | } AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS, | |
15644 | *PAUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS; | |
15645 | ||
15646 | typedef struct _AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA { | |
15647 | DWORD cbSize; | |
15648 | DWORD dwRegPolicySettings; | |
15649 | BOOL fCommercial; | |
15650 | } AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA, | |
15651 | *PAUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA; | |
15652 | ||
15653 | typedef struct _HTTPSPolicyCallbackData { | |
15654 | union { | |
15655 | DWORD cbStruct; | |
15656 | DWORD cbSize; | |
15657 | } ; | |
15658 | DWORD dwAuthType; | |
15659 | DWORD fdwChecks; | |
15660 | WCHAR *pwszServerName; | |
15661 | } HTTPSPolicyCallbackData, *PHTTPSPolicyCallbackData; | |
15662 | # 844 "../../../include/wincrypt.h" | |
15663 | typedef struct _CERT_USAGE_MATCH { | |
15664 | DWORD dwType; | |
15665 | CERT_ENHKEY_USAGE Usage; | |
15666 | } CERT_USAGE_MATCH, *PCERT_USAGE_MATCH; | |
15667 | ||
15668 | typedef struct _CTL_USAGE_MATCH { | |
15669 | DWORD dwType; | |
15670 | CTL_USAGE Usage; | |
15671 | } CTL_USAGE_MATCH, *PCTL_USAGE_MATCH; | |
15672 | # 866 "../../../include/wincrypt.h" | |
15673 | typedef struct _CERT_CHAIN_PARA { | |
15674 | DWORD cbSize; | |
15675 | CERT_USAGE_MATCH RequestedUsage; | |
15676 | ||
15677 | ||
15678 | ||
15679 | ||
15680 | ||
15681 | ||
15682 | } CERT_CHAIN_PARA, *PCERT_CHAIN_PARA; | |
15683 | ||
15684 | typedef struct _CERT_SYSTEM_STORE_INFO { | |
15685 | DWORD cbSize; | |
15686 | } CERT_SYSTEM_STORE_INFO, *PCERT_SYSTEM_STORE_INFO; | |
15687 | ||
15688 | typedef struct _CERT_PHYSICAL_STORE_INFO { | |
15689 | DWORD cbSize; | |
15690 | LPSTR pszOpenStoreProvider; | |
15691 | DWORD dwOpenEncodingType; | |
15692 | DWORD dwOpenFlags; | |
15693 | CRYPT_DATA_BLOB OpenParameters; | |
15694 | DWORD dwFlags; | |
15695 | DWORD dwPriority; | |
15696 | } CERT_PHYSICAL_STORE_INFO, *PCERT_PHYSICAL_STORE_INFO; | |
15697 | ||
15698 | typedef struct _CERT_SYSTEM_STORE_RELOCATE_PARA { | |
15699 | union { | |
15700 | HKEY hKeyBase; | |
15701 | void *pvBase; | |
15702 | } ; | |
15703 | union { | |
15704 | void *pvSystemStore; | |
15705 | LPCSTR pszSystemStore; | |
15706 | LPCWSTR pwszSystemStore; | |
15707 | } ; | |
15708 | } CERT_SYSTEM_STORE_RELOCATE_PARA, *PCERT_SYSTEM_STORE_RELOCATE_PARA; | |
15709 | ||
15710 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_ENUM_SYSTEM_STORE_LOCATION)( | |
15711 | LPCWSTR pwszStoreLocation, DWORD dwFlags, void *pvReserved, void *pvArg); | |
15712 | ||
15713 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_ENUM_SYSTEM_STORE)(const void *pvSystemStore, | |
15714 | DWORD dwFlags, PCERT_SYSTEM_STORE_INFO pStoreInfo, void *pvReserved, | |
15715 | void *pvArg); | |
15716 | ||
15717 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_ENUM_PHYSICAL_STORE)(const void *pvSystemStore, | |
15718 | DWORD dwFlags, LPCWSTR pwszStoreName, PCERT_PHYSICAL_STORE_INFO pStoreInfo, | |
15719 | void *pvReserved, void *pvArg); | |
15720 | ||
15721 | ||
15722 | typedef LPVOID (__attribute__((__stdcall__)) *PFN_CRYPT_ALLOC)(size_t cbsize); | |
15723 | typedef void (__attribute__((__stdcall__)) *PFN_CRYPT_FREE)(LPVOID pv); | |
15724 | ||
15725 | typedef struct _CRYPT_ENCODE_PARA { | |
15726 | DWORD cbSize; | |
15727 | PFN_CRYPT_ALLOC pfnAlloc; | |
15728 | PFN_CRYPT_FREE pfnFree; | |
15729 | } CRYPT_ENCODE_PARA, *PCRYPT_ENCODE_PARA; | |
15730 | ||
15731 | typedef struct _CRYPT_DECODE_PARA { | |
15732 | DWORD cbSize; | |
15733 | PFN_CRYPT_ALLOC pfnAlloc; | |
15734 | PFN_CRYPT_FREE pfnFree; | |
15735 | } CRYPT_DECODE_PARA, *PCRYPT_DECODE_PARA; | |
15736 | ||
15737 | typedef struct _CERT_STORE_PROV_INFO { | |
15738 | DWORD cbSize; | |
15739 | DWORD cStoreProvFunc; | |
15740 | void **rgpvStoreProvFunc; | |
15741 | HCERTSTOREPROV hStoreProv; | |
15742 | DWORD dwStoreProvFlags; | |
15743 | HCRYPTOIDFUNCADDR hStoreProvFuncAddr2; | |
15744 | } CERT_STORE_PROV_INFO, *PCERT_STORE_PROV_INFO; | |
15745 | ||
15746 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_DLL_OPEN_STORE_PROV_FUNC)( | |
15747 | LPCSTR lpszStoreProvider, DWORD dwEncodingType, HCRYPTPROV hCryptProv, | |
15748 | DWORD dwFlags, const void *pvPara, HCERTSTORE hCertStore, | |
15749 | PCERT_STORE_PROV_INFO pStoreProvInfo); | |
15750 | ||
15751 | typedef void (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_CLOSE)(HCERTSTOREPROV hStoreProv, | |
15752 | DWORD dwFlags); | |
15753 | ||
15754 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_READ_CERT)(HCERTSTOREPROV hStoreProv, | |
15755 | PCCERT_CONTEXT pStoreCertContext, DWORD dwFlags, | |
15756 | PCCERT_CONTEXT *ppProvCertContext); | |
15757 | ||
15758 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_WRITE_CERT)(HCERTSTOREPROV hStoreProv, | |
15759 | PCCERT_CONTEXT pCertContext, DWORD dwFlags); | |
15760 | ||
15761 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_DELETE_CERT)( | |
15762 | HCERTSTOREPROV hStoreProv, PCCERT_CONTEXT pCertContext, DWORD dwFlags); | |
15763 | ||
15764 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_SET_CERT_PROPERTY)( | |
15765 | HCERTSTOREPROV hStoreProv, PCCERT_CONTEXT pCertContext, DWORD dwPropId, | |
15766 | DWORD dwFlags, const void *pvData); | |
15767 | ||
15768 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_READ_CRL)(HCERTSTOREPROV hStoreProv, | |
15769 | PCCRL_CONTEXT pStoreCrlContext, DWORD dwFlags, | |
15770 | PCCRL_CONTEXT *ppProvCrlContext); | |
15771 | ||
15772 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_WRITE_CRL)(HCERTSTOREPROV hStoreProv, | |
15773 | PCCRL_CONTEXT pCrlContext, DWORD dwFlags); | |
15774 | ||
15775 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_DELETE_CRL)(HCERTSTOREPROV hStoreProv, | |
15776 | PCCRL_CONTEXT pCrlContext, DWORD dwFlags); | |
15777 | ||
15778 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_SET_CRL_PROPERTY)( | |
15779 | HCERTSTOREPROV hStoreProv, PCCRL_CONTEXT pCrlContext, DWORD dwPropId, | |
15780 | DWORD dwFlags, const void *pvData); | |
15781 | ||
15782 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_READ_CTL)(HCERTSTOREPROV hStoreProv, | |
15783 | PCCTL_CONTEXT pStoreCtlContext, DWORD dwFlags, | |
15784 | PCCTL_CONTEXT *ppProvCtlContext); | |
15785 | ||
15786 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_WRITE_CTL)(HCERTSTOREPROV hStoreProv, | |
15787 | PCCTL_CONTEXT pCtlContext, DWORD dwFlags); | |
15788 | ||
15789 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_DELETE_CTL)( | |
15790 | HCERTSTOREPROV hStoreProv, PCCTL_CONTEXT pCtlContext, DWORD dwFlags); | |
15791 | ||
15792 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_SET_CTL_PROPERTY)( | |
15793 | HCERTSTOREPROV hStoreProv, PCCTL_CONTEXT pCtlContext, DWORD dwPropId, | |
15794 | DWORD dwFlags, const void *pvData); | |
15795 | ||
15796 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_CONTROL)(HCERTSTOREPROV hStoreProv, | |
15797 | DWORD dwFlags, DWORD dwCtrlType, void const *pvCtrlPara); | |
15798 | ||
15799 | typedef struct _CERT_STORE_PROV_FIND_INFO { | |
15800 | DWORD cbSize; | |
15801 | DWORD dwMsgAndCertEncodingType; | |
15802 | DWORD dwFindFlags; | |
15803 | DWORD dwFindType; | |
15804 | const void *pvFindPara; | |
15805 | } CERT_STORE_PROV_FIND_INFO, *PCERT_STORE_PROV_FIND_INFO; | |
15806 | typedef const CERT_STORE_PROV_FIND_INFO CCERT_STORE_PROV_FIND_INFO, | |
15807 | *PCCERT_STORE_PROV_FIND_INFO; | |
15808 | ||
15809 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_FIND_CERT)(HCERTSTOREPROV hStoreProv, | |
15810 | PCCERT_STORE_PROV_FIND_INFO pFindInfo, PCCERT_CONTEXT pPrevCertContext, | |
15811 | DWORD dwFlags, void **ppvStoreProvFindInfo, PCCERT_CONTEXT *ppProvCertContext); | |
15812 | ||
15813 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_FREE_FIND_CERT)( | |
15814 | HCERTSTOREPROV hStoreProv, PCCERT_CONTEXT pCertContext, | |
15815 | void *pvStoreProvFindInfo, DWORD dwFlags); | |
15816 | ||
15817 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_GET_CERT_PROPERTY)( | |
15818 | HCERTSTOREPROV hStoreProv, PCCERT_CONTEXT pCertContext, DWORD dwPropId, | |
15819 | DWORD dwFlags, void *pvData, DWORD *pcbData); | |
15820 | ||
15821 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_FIND_CRL)(HCERTSTOREPROV hStoreProv, | |
15822 | PCCERT_STORE_PROV_FIND_INFO pFindInfo, PCCRL_CONTEXT pPrevCrlContext, | |
15823 | DWORD dwFlags, void **ppvStoreProvFindInfo, PCCRL_CONTEXT *ppProvCrlContext); | |
15824 | ||
15825 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_FREE_FIND_CRL)( | |
15826 | HCERTSTOREPROV hStoreProv, PCCRL_CONTEXT pCrlContext, | |
15827 | void *pvStoreProvFindInfo, DWORD dwFlags); | |
15828 | ||
15829 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_GET_CRL_PROPERTY)( | |
15830 | HCERTSTOREPROV hStoreProv, PCCRL_CONTEXT pCrlContext, DWORD dwPropId, | |
15831 | DWORD dwFlags, void *pvData, DWORD *pcbData); | |
15832 | ||
15833 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_FIND_CTL)(HCERTSTOREPROV hStoreProv, | |
15834 | PCCTL_CONTEXT pCtlContext, void *pvStoreProvFindInfo, DWORD dwFlags); | |
15835 | ||
15836 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CERT_STORE_PROV_GET_CTL_PROPERTY)( | |
15837 | HCERTSTOREPROV hStoreProv, PCCTL_CONTEXT pCtlContext, DWORD dwPropId, | |
15838 | DWORD dwFlags, void *pvData); | |
15839 | ||
15840 | typedef struct _CERT_CREATE_CONTEXT_PARA { | |
15841 | DWORD cbSize; | |
15842 | PFN_CRYPT_FREE pfnFree; | |
15843 | void *pvFree; | |
15844 | } CERT_CREATE_CONTEXT_PARA, *PCERT_CREATE_CONTEXT_PARA; | |
15845 | ||
15846 | typedef struct _CRYPT_OID_FUNC_ENTRY { | |
15847 | LPCSTR pszOID; | |
15848 | void *pvFuncAddr; | |
15849 | } CRYPT_OID_FUNC_ENTRY, *PCRYPT_OID_FUNC_ENTRY; | |
15850 | ||
15851 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType, | |
15852 | LPCSTR pszFuncName, LPCSTR pszOID, DWORD cValue, const DWORD rgdwValueType[], | |
15853 | LPCWSTR const rgpwszValueName[], const BYTE * const rgpbValueData[], | |
15854 | const DWORD rgcbValueData[], void *pvArg); | |
15855 | ||
15856 | ||
15857 | ||
15858 | typedef struct _CRYPT_OID_INFO { | |
15859 | DWORD cbSize; | |
15860 | LPCSTR pszOID; | |
15861 | LPCWSTR pwszName; | |
15862 | DWORD dwGroupId; | |
15863 | union { | |
15864 | DWORD dwValue; | |
15865 | ALG_ID Algid; | |
15866 | DWORD dwLength; | |
15867 | } ; | |
15868 | CRYPT_DATA_BLOB ExtraInfo; | |
15869 | } CRYPT_OID_INFO, *PCRYPT_OID_INFO; | |
15870 | typedef const CRYPT_OID_INFO CCRYPT_OID_INFO, *PCCRYPT_OID_INFO; | |
15871 | ||
15872 | typedef BOOL (__attribute__((__stdcall__)) *PFN_CRYPT_ENUM_OID_INFO)(PCCRYPT_OID_INFO pInfo, | |
15873 | void *pvArg); | |
15874 | ||
15875 | typedef struct _CRYPT_SIGN_MESSAGE_PARA { | |
15876 | DWORD cbSize; | |
15877 | DWORD dwMsgEncodingType; | |
15878 | PCCERT_CONTEXT pSigningCert; | |
15879 | CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; | |
15880 | void * pvHashAuxInfo; | |
15881 | DWORD cMsgCert; | |
15882 | PCCERT_CONTEXT *rgpMsgCert; | |
15883 | DWORD cMsgCrl; | |
15884 | PCCRL_CONTEXT *rgpMsgCrl; | |
15885 | DWORD cAuthAttr; | |
15886 | PCRYPT_ATTRIBUTE rgAuthAttr; | |
15887 | DWORD cUnauthAttr; | |
15888 | PCRYPT_ATTRIBUTE rgUnauthAttr; | |
15889 | DWORD dwFlags; | |
15890 | DWORD dwInnerContentType; | |
15891 | ||
15892 | ||
15893 | ||
15894 | ||
15895 | } CRYPT_SIGN_MESSAGE_PARA, *PCRYPT_SIGN_MESSAGE_PARA; | |
15896 | ||
15897 | ||
15898 | ||
15899 | ||
15900 | ||
15901 | ||
15902 | typedef PCCERT_CONTEXT (__attribute__((__stdcall__)) *PFN_CRYPT_GET_SIGNER_CERTIFICATE)(void *pvArg, | |
15903 | DWORD dwCertEncodingType, PCERT_INFO pSignerId, HCERTSTORE hMsgCertStore); | |
15904 | ||
15905 | typedef struct _CRYPT_VERIFY_MESSAGE_PARA { | |
15906 | DWORD cbSize; | |
15907 | DWORD dwMsgAndCertEncodingType; | |
15908 | HCRYPTPROV hCryptProv; | |
15909 | PFN_CRYPT_GET_SIGNER_CERTIFICATE pfnGetSignerCertificate; | |
15910 | void * pvGetArg; | |
15911 | } CRYPT_VERIFY_MESSAGE_PARA, *PCRYPT_VERIFY_MESSAGE_PARA; | |
15912 | ||
15913 | typedef struct _CRYPT_ENCRYPT_MESSAGE_PARA { | |
15914 | DWORD cbSize; | |
15915 | DWORD dwMsgEncodingType; | |
15916 | HCRYPTPROV hCryptProv; | |
15917 | CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm; | |
15918 | void * pvEncryptionAuxInfo; | |
15919 | DWORD dwFlags; | |
15920 | DWORD dwInnerContentType; | |
15921 | } CRYPT_ENCRYPT_MESSAGE_PARA, *PCRYPT_ENCRYPT_MESSAGE_PARA; | |
15922 | ||
15923 | ||
15924 | ||
15925 | typedef struct _CRYPT_DECRYPT_MESSAGE_PARA { | |
15926 | DWORD cbSize; | |
15927 | DWORD dwMsgAndCertEncodingType; | |
15928 | DWORD cCertStore; | |
15929 | HCERTSTORE *rghCertStore; | |
15930 | ||
15931 | ||
15932 | ||
15933 | } CRYPT_DECRYPT_MESSAGE_PARA, *PCRYPT_DECRYPT_MESSAGE_PARA; | |
15934 | ||
15935 | typedef struct _CRYPT_HASH_MESSAGE_PARA { | |
15936 | DWORD cbSize; | |
15937 | DWORD dwMsgEncodingType; | |
15938 | HCRYPTPROV hCryptProv; | |
15939 | CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; | |
15940 | void * pvHashAuxInfo; | |
15941 | } CRYPT_HASH_MESSAGE_PARA, *PCRYPT_HASH_MESSAGE_PARA; | |
15942 | ||
15943 | typedef struct _CRYPT_KEY_SIGN_MESSAGE_PARA { | |
15944 | DWORD cbSize; | |
15945 | DWORD dwMsgAndCertEncodingType; | |
15946 | HCRYPTPROV hCryptProv; | |
15947 | DWORD dwKeySpec; | |
15948 | CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm; | |
15949 | void * pvHashAuxInfo; | |
15950 | } CRYPT_KEY_SIGN_MESSAGE_PARA, *PCRYPT_KEY_SIGN_MESSAGE_PARA; | |
15951 | ||
15952 | typedef struct _CRYPT_KEY_VERIFY_MESSAGE_PARA { | |
15953 | DWORD cbSize; | |
15954 | DWORD dwMsgEncodingType; | |
15955 | HCRYPTPROV hCryptProv; | |
15956 | } CRYPT_KEY_VERIFY_MESSAGE_PARA, *PCRYPT_KEY_VERIFY_MESSAGE_PARA; | |
15957 | ||
15958 | typedef struct _CRYPT_URL_ARRAY { | |
15959 | DWORD cUrl; | |
15960 | LPWSTR *rgwszUrl; | |
15961 | } CRYPT_URL_ARRAY, *PCRYPT_URL_ARRAY; | |
15962 | ||
15963 | typedef struct _CRYPT_URL_INFO { | |
15964 | DWORD cbSize; | |
15965 | DWORD dwSyncDeltaTime; | |
15966 | DWORD cGroup; | |
15967 | DWORD *rgcGroupEntry; | |
15968 | } CRYPT_URL_INFO, *PCRYPT_URL_INFO; | |
15969 | # 2279 "../../../include/wincrypt.h" | |
15970 | typedef struct _CRL_FIND_ISSUED_FOR_PARA | |
15971 | { | |
15972 | PCCERT_CONTEXT pSubjectCert; | |
15973 | PCCERT_CONTEXT pIssuerCert; | |
15974 | } CRL_FIND_ISSUED_FOR_PARA, *PCRL_FIND_ISSUED_FOR_PARA; | |
15975 | # 2833 "../../../include/wincrypt.h" | |
15976 | typedef HANDLE HCERTCHAINENGINE; | |
15977 | # 2844 "../../../include/wincrypt.h" | |
15978 | typedef struct _CERT_CHAIN_ENGINE_CONFIG | |
15979 | { | |
15980 | DWORD cbSize; | |
15981 | HCERTSTORE hRestrictedRoot; | |
15982 | HCERTSTORE hRestrictedTrust; | |
15983 | HCERTSTORE hRestrictedOther; | |
15984 | DWORD cAdditionalStore; | |
15985 | HCERTSTORE *rghAdditionalStore; | |
15986 | DWORD dwFlags; | |
15987 | DWORD dwUrlRetrievalTimeout; | |
15988 | DWORD MaximumCachedCertificates; | |
15989 | DWORD CycleDetectionModulus; | |
15990 | } CERT_CHAIN_ENGINE_CONFIG, *PCERT_CHAIN_ENGINE_CONFIG; | |
15991 | ||
15992 | ||
15993 | ||
15994 | BOOL __attribute__((__stdcall__)) CryptAcquireContextA(HCRYPTPROV *phProv, LPCSTR pszContainer, | |
15995 | LPCSTR pszProvider, DWORD dwProvType, | |
15996 | DWORD dwFlags); | |
15997 | BOOL __attribute__((__stdcall__)) CryptAcquireContextW (HCRYPTPROV *phProv, LPCWSTR pszContainer, | |
15998 | LPCWSTR pszProvider, DWORD dwProvType, DWORD dwFlags); | |
15999 | ||
16000 | BOOL __attribute__((__stdcall__)) CryptGenRandom (HCRYPTPROV hProv, DWORD dwLen, BYTE *pbBuffer); | |
16001 | BOOL __attribute__((__stdcall__)) CryptContextAddRef (HCRYPTPROV hProv, DWORD *pdwReserved, DWORD dwFlags); | |
16002 | BOOL __attribute__((__stdcall__)) CryptCreateHash (HCRYPTPROV hProv, ALG_ID Algid, HCRYPTKEY hKey, | |
16003 | DWORD dwFlags, HCRYPTHASH *phHash); | |
16004 | BOOL __attribute__((__stdcall__)) CryptDecrypt (HCRYPTKEY hKey, HCRYPTHASH hHash, BOOL Final, | |
16005 | DWORD dwFlags, BYTE *pbData, DWORD *pdwDataLen); | |
16006 | BOOL __attribute__((__stdcall__)) CryptDeriveKey (HCRYPTPROV hProv, ALG_ID Algid, HCRYPTHASH hBaseData, | |
16007 | DWORD dwFlags, HCRYPTKEY *phKey); | |
16008 | BOOL __attribute__((__stdcall__)) CryptDestroyHash (HCRYPTHASH hHash); | |
16009 | BOOL __attribute__((__stdcall__)) CryptDestroyKey (HCRYPTKEY hKey); | |
16010 | BOOL __attribute__((__stdcall__)) CryptDuplicateKey (HCRYPTKEY hKey, DWORD *pdwReserved, DWORD dwFlags, HCRYPTKEY *phKey); | |
16011 | BOOL __attribute__((__stdcall__)) CryptDuplicateHash (HCRYPTHASH hHash, DWORD *pdwReserved, | |
16012 | DWORD dwFlags, HCRYPTHASH *phHash); | |
16013 | BOOL __attribute__((__stdcall__)) CryptEncrypt (HCRYPTKEY hKey, HCRYPTHASH hHash, BOOL Final, | |
16014 | DWORD dwFlags, BYTE *pbData, DWORD *pdwDataLen, DWORD dwBufLen); | |
16015 | BOOL __attribute__((__stdcall__)) CryptEnumProvidersA (DWORD dwIndex, DWORD *pdwReserved, | |
16016 | DWORD dwFlags, DWORD *pdwProvType, LPSTR pszProvName, DWORD *pcbProvName); | |
16017 | BOOL __attribute__((__stdcall__)) CryptEnumProvidersW (DWORD dwIndex, DWORD *pdwReserved, | |
16018 | DWORD dwFlags, DWORD *pdwProvType, LPWSTR pszProvName, DWORD *pcbProvName); | |
16019 | ||
16020 | BOOL __attribute__((__stdcall__)) CryptEnumProviderTypesA (DWORD dwIndex, DWORD *pdwReserved, | |
16021 | DWORD dwFlags, DWORD *pdwProvType, LPSTR pszTypeName, DWORD *pcbTypeName); | |
16022 | BOOL __attribute__((__stdcall__)) CryptEnumProviderTypesW (DWORD dwIndex, DWORD *pdwReserved, | |
16023 | DWORD dwFlags, DWORD *pdwProvType, LPWSTR pszTypeName, DWORD *pcbTypeName); | |
16024 | ||
16025 | BOOL __attribute__((__stdcall__)) CryptExportKey (HCRYPTKEY hKey, HCRYPTKEY hExpKey, DWORD dwBlobType, | |
16026 | DWORD dwFlags, BYTE *pbData, DWORD *pdwDataLen); | |
16027 | BOOL __attribute__((__stdcall__)) CryptGenKey (HCRYPTPROV hProv, ALG_ID Algid, DWORD dwFlags, HCRYPTKEY *phKey); | |
16028 | BOOL __attribute__((__stdcall__)) CryptGetKeyParam (HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData, | |
16029 | DWORD *pdwDataLen, DWORD dwFlags); | |
16030 | BOOL __attribute__((__stdcall__)) CryptGetHashParam (HCRYPTHASH hHash, DWORD dwParam, BYTE *pbData, | |
16031 | DWORD *pdwDataLen, DWORD dwFlags); | |
16032 | BOOL __attribute__((__stdcall__)) CryptGetProvParam (HCRYPTPROV hProv, DWORD dwParam, BYTE *pbData, | |
16033 | DWORD *pdwDataLen, DWORD dwFlags); | |
16034 | BOOL __attribute__((__stdcall__)) CryptGetDefaultProviderA (DWORD dwProvType, DWORD *pdwReserved, | |
16035 | DWORD dwFlags, LPSTR pszProvName, DWORD *pcbProvName); | |
16036 | BOOL __attribute__((__stdcall__)) CryptGetDefaultProviderW (DWORD dwProvType, DWORD *pdwReserved, | |
16037 | DWORD dwFlags, LPWSTR pszProvName, DWORD *pcbProvName); | |
16038 | ||
16039 | BOOL __attribute__((__stdcall__)) CryptGetUserKey (HCRYPTPROV hProv, DWORD dwKeySpec, HCRYPTKEY *phUserKey); | |
16040 | BOOL __attribute__((__stdcall__)) CryptHashData (HCRYPTHASH hHash, const BYTE *pbData, DWORD dwDataLen, DWORD dwFlags); | |
16041 | BOOL __attribute__((__stdcall__)) CryptHashSessionKey (HCRYPTHASH hHash, HCRYPTKEY hKey, DWORD dwFlags); | |
16042 | BOOL __attribute__((__stdcall__)) CryptImportKey (HCRYPTPROV hProv, BYTE *pbData, DWORD dwDataLen, | |
16043 | HCRYPTKEY hPubKey, DWORD dwFlags, HCRYPTKEY *phKey); | |
16044 | BOOL __attribute__((__stdcall__)) CryptReleaseContext (HCRYPTPROV hProv, DWORD dwFlags); | |
16045 | BOOL __attribute__((__stdcall__)) CryptSetHashParam (HCRYPTHASH hHash, DWORD dwParam, BYTE *pbData, DWORD dwFlags); | |
16046 | BOOL __attribute__((__stdcall__)) CryptSetKeyParam (HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData, DWORD dwFlags); | |
16047 | BOOL __attribute__((__stdcall__)) CryptSetProviderA (LPCSTR pszProvName, DWORD dwProvType); | |
16048 | BOOL __attribute__((__stdcall__)) CryptSetProviderW (LPCWSTR pszProvName, DWORD dwProvType); | |
16049 | ||
16050 | BOOL __attribute__((__stdcall__)) CryptSetProviderExA (LPCSTR pszProvName, DWORD dwProvType, DWORD *pdwReserved, DWORD dwFlags); | |
16051 | BOOL __attribute__((__stdcall__)) CryptSetProviderExW (LPCWSTR pszProvName, DWORD dwProvType, DWORD *pdwReserved, DWORD dwFlags); | |
16052 | ||
16053 | BOOL __attribute__((__stdcall__)) CryptSetProvParam (HCRYPTPROV hProv, DWORD dwParam, BYTE *pbData, DWORD dwFlags); | |
16054 | BOOL __attribute__((__stdcall__)) CryptSignHashA (HCRYPTHASH hHash, DWORD dwKeySpec, LPCSTR sDescription, | |
16055 | DWORD dwFlags, BYTE *pbSignature, DWORD *pdwSigLen); | |
16056 | BOOL __attribute__((__stdcall__)) CryptSignHashW (HCRYPTHASH hHash, DWORD dwKeySpec, LPCWSTR sDescription, | |
16057 | DWORD dwFlags, BYTE *pbSignature, DWORD *pdwSigLen); | |
16058 | ||
16059 | BOOL __attribute__((__stdcall__)) CryptVerifySignatureA (HCRYPTHASH hHash, BYTE *pbSignature, DWORD dwSigLen, | |
16060 | HCRYPTKEY hPubKey, LPCSTR sDescription, DWORD dwFlags); | |
16061 | BOOL __attribute__((__stdcall__)) CryptVerifySignatureW (HCRYPTHASH hHash, BYTE *pbSignature, DWORD dwSigLen, | |
16062 | HCRYPTKEY hPubKey, LPCWSTR sDescription, DWORD dwFlags); | |
16063 | ||
16064 | ||
16065 | ||
16066 | LPVOID __attribute__((__stdcall__)) CryptMemAlloc(ULONG cbSize); | |
16067 | LPVOID __attribute__((__stdcall__)) CryptMemRealloc(LPVOID pv, ULONG cbSize); | |
16068 | void __attribute__((__stdcall__)) CryptMemFree(LPVOID pv); | |
16069 | ||
16070 | BOOL __attribute__((__stdcall__)) CryptBinaryToStringA(const BYTE *pbBinary, | |
16071 | DWORD cbBinary, DWORD dwFlags, LPSTR pszString, DWORD *pcchString); | |
16072 | BOOL __attribute__((__stdcall__)) CryptBinaryToStringW(const BYTE *pbBinary, | |
16073 | DWORD cbBinary, DWORD dwFlags, LPWSTR pszString, DWORD *pcchString); | |
16074 | ||
16075 | ||
16076 | BOOL __attribute__((__stdcall__)) CryptStringToBinaryA(LPCSTR pszString, | |
16077 | DWORD cchString, DWORD dwFlags, BYTE *pbBinary, DWORD *pcbBinary, | |
16078 | DWORD *pdwSkip, DWORD *pdwFlags); | |
16079 | BOOL __attribute__((__stdcall__)) CryptStringToBinaryW(LPCWSTR pszString, | |
16080 | DWORD cchString, DWORD dwFlags, BYTE *pbBinary, DWORD *pcbBinary, | |
16081 | DWORD *pdwSkip, DWORD *pdwFlags); | |
16082 | ||
16083 | ||
16084 | BOOL __attribute__((__stdcall__)) CryptRegisterDefaultOIDFunction(DWORD,LPCSTR,DWORD,LPCWSTR); | |
16085 | BOOL __attribute__((__stdcall__)) CryptRegisterOIDFunction(DWORD,LPCSTR,LPCSTR,LPCWSTR,LPCSTR); | |
16086 | BOOL __attribute__((__stdcall__)) CryptGetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName, | |
16087 | LPCSTR pszOID, LPCWSTR szValueName, DWORD *pdwValueType, | |
16088 | BYTE *pbValueData, DWORD *pcbValueData); | |
16089 | BOOL __attribute__((__stdcall__)) CryptSetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName, | |
16090 | LPCSTR pszOID, LPCWSTR pwszValueName, DWORD dwValueType, | |
16091 | const BYTE *pbValueData, DWORD cbValueData); | |
16092 | BOOL __attribute__((__stdcall__)) CryptUnregisterDefaultOIDFunction(DWORD,LPCSTR,LPCWSTR); | |
16093 | BOOL __attribute__((__stdcall__)) CryptUnregisterOIDFunction(DWORD,LPCSTR,LPCSTR); | |
16094 | BOOL __attribute__((__stdcall__)) CryptEnumOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName, | |
16095 | LPCSTR pszOID, DWORD dwFlags, void *pvArg, | |
16096 | PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc); | |
16097 | HCRYPTOIDFUNCSET __attribute__((__stdcall__)) CryptInitOIDFunctionSet(LPCSTR,DWORD); | |
16098 | BOOL __attribute__((__stdcall__)) CryptGetDefaultOIDDllList(HCRYPTOIDFUNCSET hFuncSet, | |
16099 | DWORD dwEncodingType, LPWSTR pwszDllList, DWORD *pcchDllList); | |
16100 | BOOL __attribute__((__stdcall__)) CryptGetDefaultOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet, | |
16101 | DWORD dwEncodingType, LPCWSTR pwszDll, DWORD dwFlags, void *ppvFuncAddr, | |
16102 | HCRYPTOIDFUNCADDR *phFuncAddr); | |
16103 | BOOL __attribute__((__stdcall__)) CryptGetOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet, | |
16104 | DWORD dwEncodingType, LPCSTR pszOID, DWORD dwFlags, void **ppvFuncAddr, | |
16105 | HCRYPTOIDFUNCADDR *phFuncAddr); | |
16106 | BOOL __attribute__((__stdcall__)) CryptFreeOIDFunctionAddress(HCRYPTOIDFUNCADDR hFuncAddr, | |
16107 | DWORD dwFlags); | |
16108 | BOOL __attribute__((__stdcall__)) CryptInstallOIDFunctionAddress(HMODULE hModule, | |
16109 | DWORD dwEncodingType, LPCSTR pszFuncName, DWORD cFuncEntry, | |
16110 | const CRYPT_OID_FUNC_ENTRY rgFuncEntry[], DWORD dwFlags); | |
16111 | ||
16112 | BOOL __attribute__((__stdcall__)) CryptEnumOIDInfo(DWORD dwGroupId, DWORD dwFlags, void *pvArg, | |
16113 | PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo); | |
16114 | PCCRYPT_OID_INFO __attribute__((__stdcall__)) CryptFindOIDInfo(DWORD dwKeyType, void *pvKey, | |
16115 | DWORD dwGroupId); | |
16116 | BOOL __attribute__((__stdcall__)) CryptRegisterOIDInfo(PCCRYPT_OID_INFO pInfo, DWORD dwFlags); | |
16117 | BOOL __attribute__((__stdcall__)) CryptUnregisterOIDInfo(PCCRYPT_OID_INFO pInfo); | |
16118 | ||
16119 | LPCSTR __attribute__((__stdcall__)) CertAlgIdToOID(DWORD dwAlgId); | |
16120 | DWORD __attribute__((__stdcall__)) CertOIDToAlgId(LPCSTR pszObjId); | |
16121 | ||
16122 | ||
16123 | HCERTSTORE __attribute__((__stdcall__)) CertOpenStore(LPCSTR lpszStoreProvider, DWORD dwEncodingType, | |
16124 | HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara); | |
16125 | ||
16126 | HCERTSTORE __attribute__((__stdcall__)) CertOpenSystemStoreA(HCRYPTPROV hProv, | |
16127 | LPCSTR szSubSystemProtocol); | |
16128 | HCERTSTORE __attribute__((__stdcall__)) CertOpenSystemStoreW(HCRYPTPROV hProv, | |
16129 | LPCWSTR szSubSystemProtocol); | |
16130 | ||
16131 | ||
16132 | PCCERT_CONTEXT __attribute__((__stdcall__)) CertEnumCertificatesInStore(HCERTSTORE hCertStore, | |
16133 | PCCERT_CONTEXT pPrev); | |
16134 | ||
16135 | PCCRL_CONTEXT __attribute__((__stdcall__)) CertEnumCRLsInStore(HCERTSTORE hCertStore, | |
16136 | PCCRL_CONTEXT pPrev); | |
16137 | ||
16138 | PCCTL_CONTEXT __attribute__((__stdcall__)) CertEnumCTLsInStore(HCERTSTORE hCertStore, | |
16139 | PCCTL_CONTEXT pPrev); | |
16140 | ||
16141 | BOOL __attribute__((__stdcall__)) CertEnumSystemStoreLocation(DWORD dwFlags, void *pvArg, | |
16142 | PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum); | |
16143 | ||
16144 | BOOL __attribute__((__stdcall__)) CertEnumSystemStore(DWORD dwFlags, void *pvSystemStoreLocationPara, | |
16145 | void *pvArg, PFN_CERT_ENUM_SYSTEM_STORE pfnEnum); | |
16146 | ||
16147 | BOOL __attribute__((__stdcall__)) CertEnumPhysicalStore(const void *pvSystemStore, DWORD dwFlags, | |
16148 | void *pvArg, PFN_CERT_ENUM_PHYSICAL_STORE pfnEnum); | |
16149 | ||
16150 | BOOL __attribute__((__stdcall__)) CertSaveStore(HCERTSTORE hCertStore, DWORD dwMsgAndCertEncodingType, | |
16151 | DWORD dwSaveAs, DWORD dwSaveTo, void* pvSaveToPara, DWORD dwFlags); | |
16152 | ||
16153 | BOOL __attribute__((__stdcall__)) CertAddStoreToCollection(HCERTSTORE hCollectionStore, | |
16154 | HCERTSTORE hSiblingStore, DWORD dwUpdateFlags, DWORD dwPriority); | |
16155 | ||
16156 | void __attribute__((__stdcall__)) CertRemoveStoreFromCollection(HCERTSTORE hCollectionStore, | |
16157 | HCERTSTORE hSiblingStore); | |
16158 | ||
16159 | BOOL __attribute__((__stdcall__)) CertCreateCertificateChainEngine(PCERT_CHAIN_ENGINE_CONFIG pConfig, | |
16160 | HCERTCHAINENGINE *phChainEngine); | |
16161 | ||
16162 | BOOL __attribute__((__stdcall__)) CertResyncCertificateChainEngine(HCERTCHAINENGINE hChainEngine); | |
16163 | ||
16164 | void __attribute__((__stdcall__)) CertFreeCertificateChainEngine(HCERTCHAINENGINE hChainEngine); | |
16165 | ||
16166 | BOOL __attribute__((__stdcall__)) CertGetCertificateChain(HCERTCHAINENGINE hChainEngine, | |
16167 | PCCERT_CONTEXT pCertContext, LPFILETIME pTime, HCERTSTORE hAdditionalStore, | |
16168 | PCERT_CHAIN_PARA pChainPara, DWORD dwFlags, LPVOID pvReserved, | |
16169 | PCCERT_CHAIN_CONTEXT *ppChainContext); | |
16170 | ||
16171 | PCCERT_CHAIN_CONTEXT __attribute__((__stdcall__)) CertDuplicateCertificateChain( | |
16172 | PCCERT_CHAIN_CONTEXT pChainContext); | |
16173 | ||
16174 | void __attribute__((__stdcall__)) CertFreeCertificateChain(PCCERT_CHAIN_CONTEXT pChainContext); | |
16175 | ||
16176 | PCCERT_CHAIN_CONTEXT __attribute__((__stdcall__)) CertFindChainInStore(HCERTSTORE hCertStore, | |
16177 | DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, | |
16178 | const void *pvFindPara, PCCERT_CHAIN_CONTEXT pPrevChainContext); | |
16179 | ||
16180 | BOOL __attribute__((__stdcall__)) CertVerifyCertificateChainPolicy(LPCSTR szPolicyOID, | |
16181 | PCCERT_CHAIN_CONTEXT pChainContext, PCERT_CHAIN_POLICY_PARA pPolicyPara, | |
16182 | PCERT_CHAIN_POLICY_STATUS pPolicyStatus); | |
16183 | ||
16184 | DWORD __attribute__((__stdcall__)) CertEnumCertificateContextProperties(PCCERT_CONTEXT pCertContext, | |
16185 | DWORD dwPropId); | |
16186 | ||
16187 | BOOL __attribute__((__stdcall__)) CertGetCertificateContextProperty(PCCERT_CONTEXT pCertContext, | |
16188 | DWORD dwPropId, void *pvData, DWORD *pcbData); | |
16189 | ||
16190 | BOOL __attribute__((__stdcall__)) CertSetCertificateContextProperty(PCCERT_CONTEXT pCertContext, | |
16191 | DWORD dwPropId, DWORD dwFlags, const void *pvData); | |
16192 | ||
16193 | DWORD __attribute__((__stdcall__)) CertEnumCRLContextProperties(PCCRL_CONTEXT pCRLContext, | |
16194 | DWORD dwPropId); | |
16195 | ||
16196 | BOOL __attribute__((__stdcall__)) CertGetCRLContextProperty(PCCRL_CONTEXT pCRLContext, | |
16197 | DWORD dwPropId, void *pvData, DWORD *pcbData); | |
16198 | ||
16199 | BOOL __attribute__((__stdcall__)) CertSetCRLContextProperty(PCCRL_CONTEXT pCRLContext, | |
16200 | DWORD dwPropId, DWORD dwFlags, const void *pvData); | |
16201 | ||
16202 | DWORD __attribute__((__stdcall__)) CertEnumCTLContextProperties(PCCTL_CONTEXT pCTLContext, | |
16203 | DWORD dwPropId); | |
16204 | ||
16205 | BOOL __attribute__((__stdcall__)) CertGetCTLContextProperty(PCCTL_CONTEXT pCTLContext, | |
16206 | DWORD dwPropId, void *pvData, DWORD *pcbData); | |
16207 | ||
16208 | BOOL __attribute__((__stdcall__)) CertSetCTLContextProperty(PCCTL_CONTEXT pCTLContext, | |
16209 | DWORD dwPropId, DWORD dwFlags, const void *pvData); | |
16210 | ||
16211 | BOOL __attribute__((__stdcall__)) CertGetStoreProperty(HCERTSTORE hCertStore, DWORD dwPropId, | |
16212 | void *pvData, DWORD *pcbData); | |
16213 | ||
16214 | BOOL __attribute__((__stdcall__)) CertSetStoreProperty(HCERTSTORE hCertStore, DWORD dwPropId, | |
16215 | DWORD dwFlags, const void *pvData); | |
16216 | ||
16217 | BOOL __attribute__((__stdcall__)) CertControlStore(HCERTSTORE hCertStore, DWORD dwFlags, | |
16218 | DWORD dwCtrlType, void const *pvCtrlPara); | |
16219 | ||
16220 | HCERTSTORE __attribute__((__stdcall__)) CertDuplicateStore(HCERTSTORE hCertStore); | |
16221 | ||
16222 | BOOL __attribute__((__stdcall__)) CertCloseStore( HCERTSTORE hCertStore, DWORD dwFlags ); | |
16223 | ||
16224 | BOOL __attribute__((__stdcall__)) CertFreeCertificateContext( PCCERT_CONTEXT pCertContext ); | |
16225 | ||
16226 | BOOL __attribute__((__stdcall__)) CertFreeCRLContext( PCCRL_CONTEXT pCrlContext ); | |
16227 | ||
16228 | BOOL __attribute__((__stdcall__)) CertFreeCTLContext( PCCTL_CONTEXT pCtlContext ); | |
16229 | ||
16230 | BOOL __attribute__((__stdcall__)) CertAddCertificateContextToStore(HCERTSTORE hCertStore, | |
16231 | PCCERT_CONTEXT pCertContext, DWORD dwAddDisposition, | |
16232 | PCCERT_CONTEXT *ppStoreContext); | |
16233 | ||
16234 | BOOL __attribute__((__stdcall__)) CertAddCRLContextToStore( HCERTSTORE hCertStore, | |
16235 | PCCRL_CONTEXT pCrlContext, DWORD dwAddDisposition, | |
16236 | PCCRL_CONTEXT *ppStoreContext ); | |
16237 | ||
16238 | BOOL __attribute__((__stdcall__)) CertAddCTLContextToStore( HCERTSTORE hCertStore, | |
16239 | PCCTL_CONTEXT pCtlContext, DWORD dwAddDisposition, | |
16240 | PCCTL_CONTEXT *ppStoreContext ); | |
16241 | ||
16242 | BOOL __attribute__((__stdcall__)) CertAddCertificateLinkToStore(HCERTSTORE hCertStore, | |
16243 | PCCERT_CONTEXT pCertContext, DWORD dwAddDisposition, | |
16244 | PCCERT_CONTEXT *ppStoreContext); | |
16245 | ||
16246 | BOOL __attribute__((__stdcall__)) CertAddCRLLinkToStore(HCERTSTORE hCertStore, | |
16247 | PCCRL_CONTEXT pCrlContext, DWORD dwAddDisposition, | |
16248 | PCCRL_CONTEXT *ppStoreContext); | |
16249 | ||
16250 | BOOL __attribute__((__stdcall__)) CertAddCTLLinkToStore(HCERTSTORE hCertStore, | |
16251 | PCCTL_CONTEXT pCtlContext, DWORD dwAddDisposition, | |
16252 | PCCTL_CONTEXT *ppStoreContext); | |
16253 | ||
16254 | BOOL __attribute__((__stdcall__)) CertAddEncodedCertificateToStore(HCERTSTORE hCertStore, | |
16255 | DWORD dwCertEncodingType, const BYTE *pbCertEncoded, DWORD cbCertEncoded, | |
16256 | DWORD dwAddDisposition, PCCERT_CONTEXT *ppCertContext); | |
16257 | ||
16258 | BOOL __attribute__((__stdcall__)) CertAddEncodedCRLToStore(HCERTSTORE hCertStore, | |
16259 | DWORD dwCertEncodingType, const BYTE *pbCrlEncoded, DWORD cbCrlEncoded, | |
16260 | DWORD dwAddDisposition, PCCRL_CONTEXT *ppCrlContext); | |
16261 | ||
16262 | BOOL __attribute__((__stdcall__)) CertAddEncodedCTLToStore(HCERTSTORE hCertStore, | |
16263 | DWORD dwMsgAndCertEncodingType, const BYTE *pbCtlEncoded, DWORD cbCtlEncoded, | |
16264 | DWORD dwAddDisposition, PCCTL_CONTEXT *ppCtlContext); | |
16265 | ||
16266 | BOOL __attribute__((__stdcall__)) CertAddSerializedElementToStore(HCERTSTORE hCertStore, | |
16267 | const BYTE *pbElement, DWORD cbElement, DWORD dwAddDisposition, DWORD dwFlags, | |
16268 | DWORD dwContextTypeFlags, DWORD *pdwContentType, const void **ppvContext); | |
16269 | ||
16270 | BOOL __attribute__((__stdcall__)) CertCompareCertificate(DWORD dwCertEncodingType, | |
16271 | PCERT_INFO pCertId1, PCERT_INFO pCertId2); | |
16272 | BOOL __attribute__((__stdcall__)) CertCompareCertificateName(DWORD dwCertEncodingType, | |
16273 | PCERT_NAME_BLOB pCertName1, PCERT_NAME_BLOB pCertName2); | |
16274 | BOOL __attribute__((__stdcall__)) CertCompareIntegerBlob(PCRYPT_INTEGER_BLOB pInt1, | |
16275 | PCRYPT_INTEGER_BLOB pInt2); | |
16276 | BOOL __attribute__((__stdcall__)) CertComparePublicKeyInfo(DWORD dwCertEncodingType, | |
16277 | PCERT_PUBLIC_KEY_INFO pPublicKey1, PCERT_PUBLIC_KEY_INFO pPublicKey2); | |
16278 | DWORD __attribute__((__stdcall__)) CertGetPublicKeyLength(DWORD dwCertEncodingType, | |
16279 | PCERT_PUBLIC_KEY_INFO pPublicKey); | |
16280 | ||
16281 | const void *CertCreateContext(DWORD dwContextType, DWORD dwEncodingType, | |
16282 | const BYTE *pbEncoded, DWORD cbEncoded, DWORD dwFlags, | |
16283 | PCERT_CREATE_CONTEXT_PARA pCreatePara); | |
16284 | ||
16285 | PCCERT_CONTEXT __attribute__((__stdcall__)) CertCreateCertificateContext(DWORD dwCertEncodingType, | |
16286 | const BYTE *pbCertEncoded, DWORD cbCertEncoded); | |
16287 | ||
16288 | PCCRL_CONTEXT __attribute__((__stdcall__)) CertCreateCRLContext( DWORD dwCertEncodingType, | |
16289 | const BYTE* pbCrlEncoded, DWORD cbCrlEncoded); | |
16290 | ||
16291 | PCCTL_CONTEXT __attribute__((__stdcall__)) CertCreateCTLContext(DWORD dwMsgAndCertEncodingType, | |
16292 | const BYTE *pbCtlEncoded, DWORD cbCtlEncoded); | |
16293 | ||
16294 | PCCERT_CONTEXT __attribute__((__stdcall__)) CertCreateSelfSignCertificate(HCRYPTPROV hProv, | |
16295 | PCERT_NAME_BLOB pSubjectIssuerBlob, DWORD dwFlags, | |
16296 | PCRYPT_KEY_PROV_INFO pKeyProvInfo, | |
16297 | PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm, PSYSTEMTIME pStartTime, | |
16298 | PSYSTEMTIME pEndTime, PCERT_EXTENSIONS pExtensions); | |
16299 | ||
16300 | BOOL __attribute__((__stdcall__)) CertDeleteCertificateFromStore(PCCERT_CONTEXT pCertContext); | |
16301 | ||
16302 | BOOL __attribute__((__stdcall__)) CertDeleteCRLFromStore(PCCRL_CONTEXT pCrlContext); | |
16303 | ||
16304 | BOOL __attribute__((__stdcall__)) CertDeleteCTLFromStore(PCCTL_CONTEXT pCtlContext); | |
16305 | ||
16306 | PCCERT_CONTEXT __attribute__((__stdcall__)) CertDuplicateCertificateContext( | |
16307 | PCCERT_CONTEXT pCertContext); | |
16308 | ||
16309 | PCCRL_CONTEXT __attribute__((__stdcall__)) CertDuplicateCRLContext(PCCRL_CONTEXT pCrlContext); | |
16310 | ||
16311 | PCCTL_CONTEXT __attribute__((__stdcall__)) CertDuplicateCTLContext(PCCTL_CONTEXT pCtlContext); | |
16312 | ||
16313 | PCCERT_CONTEXT __attribute__((__stdcall__)) CertFindCertificateInStore( HCERTSTORE hCertStore, | |
16314 | DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, | |
16315 | const void *pvFindPara, PCCERT_CONTEXT pPrevCertContext ); | |
16316 | ||
16317 | PCCRL_CONTEXT __attribute__((__stdcall__)) CertFindCRLInStore(HCERTSTORE hCertStore, | |
16318 | DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, | |
16319 | const void *pvFindPara, PCCRL_CONTEXT pPrevCrlContext); | |
16320 | ||
16321 | PCCTL_CONTEXT __attribute__((__stdcall__)) CertFindCTLInStore(HCERTSTORE hCertStore, | |
16322 | DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, | |
16323 | const void *pvFindPara, PCCTL_CONTEXT pPrevCtlContext); | |
16324 | ||
16325 | PCCERT_CONTEXT __attribute__((__stdcall__)) CertGetIssuerCertificateFromStore(HCERTSTORE hCertStore, | |
16326 | PCCERT_CONTEXT pSubjectContext, PCCERT_CONTEXT pPrevIssuerContext, | |
16327 | DWORD *pdwFlags); | |
16328 | ||
16329 | PCCERT_CONTEXT __attribute__((__stdcall__)) CertGetSubjectCertificateFromStore(HCERTSTORE hCertStore, | |
16330 | DWORD dwCertEncodingType, PCERT_INFO pCertId); | |
16331 | ||
16332 | PCCRL_CONTEXT __attribute__((__stdcall__)) CertGetCRLFromStore(HCERTSTORE hCertStore, | |
16333 | PCCERT_CONTEXT pIssuerContext, PCCRL_CONTEXT pPrevCrlContext, DWORD *pdwFlags); | |
16334 | ||
16335 | BOOL __attribute__((__stdcall__)) CertSerializeCertificateStoreElement(PCCERT_CONTEXT pCertContext, | |
16336 | DWORD dwFlags, BYTE *pbElement, DWORD *pcbElement); | |
16337 | ||
16338 | BOOL __attribute__((__stdcall__)) CertSerializeCRLStoreElement(PCCRL_CONTEXT pCrlContext, | |
16339 | DWORD dwFlags, BYTE *pbElement, DWORD *pcbElement); | |
16340 | ||
16341 | BOOL __attribute__((__stdcall__)) CertSerializeCTLStoreElement(PCCTL_CONTEXT pCtlContext, | |
16342 | DWORD dwFlags, BYTE *pbElement, DWORD *pcbElement); | |
16343 | ||
16344 | BOOL __attribute__((__stdcall__)) CertGetEnhancedKeyUsage(PCCERT_CONTEXT pCertContext, DWORD dwFlags, | |
16345 | PCERT_ENHKEY_USAGE pUsage, DWORD *pcbUsage); | |
16346 | BOOL __attribute__((__stdcall__)) CertSetEnhancedKeyUsage(PCCERT_CONTEXT pCertContext, | |
16347 | PCERT_ENHKEY_USAGE pUsage); | |
16348 | BOOL __attribute__((__stdcall__)) CertAddEnhancedKeyUsageIdentifier(PCCERT_CONTEXT pCertContext, | |
16349 | LPCSTR pszUsageIdentifer); | |
16350 | BOOL __attribute__((__stdcall__)) CertRemoveEnhancedKeyUsageIdentifier(PCCERT_CONTEXT pCertContext, | |
16351 | LPCSTR pszUsageIdentifer); | |
16352 | BOOL __attribute__((__stdcall__)) CertGetValidUsages(DWORD cCerts, PCCERT_CONTEXT *rghCerts, | |
16353 | int *cNumOIDs, LPSTR *rghOIDs, DWORD *pcbOIDs); | |
16354 | ||
16355 | BOOL __attribute__((__stdcall__)) CryptEncodeObject(DWORD dwCertEncodingType, LPCSTR lpszStructType, | |
16356 | const void *pvStructInfo, BYTE *pbEncoded, DWORD *pcbEncoded); | |
16357 | BOOL __attribute__((__stdcall__)) CryptEncodeObjectEx(DWORD dwCertEncodingType, LPCSTR lpszStructType, | |
16358 | const void *pvStructInfo, DWORD dwFlags, PCRYPT_ENCODE_PARA pEncodePara, | |
16359 | void *pvEncoded, DWORD *pcbEncoded); | |
16360 | ||
16361 | BOOL __attribute__((__stdcall__)) CryptDecodeObject(DWORD dwCertEncodingType, LPCSTR lpszStructType, | |
16362 | const BYTE *pbEncoded, DWORD cbEncoded, DWORD dwFlags, void *pvStructInfo, | |
16363 | DWORD *pcbStructInfo); | |
16364 | BOOL __attribute__((__stdcall__)) CryptDecodeObjectEx(DWORD dwCertEncodingType, LPCSTR lpszStructType, | |
16365 | const BYTE *pbEncoded, DWORD cbEncoded, DWORD dwFlags, | |
16366 | PCRYPT_DECODE_PARA pDecodePara, void *pvStructInfo, DWORD *pcbStructInfo); | |
16367 | ||
16368 | BOOL __attribute__((__stdcall__)) CryptFormatObject(DWORD dwCertEncodingType, DWORD dwFormatType, | |
16369 | DWORD dwFormatStrType, void *pFormatStruct, LPCSTR lpszStructType, | |
16370 | const BYTE *pbEncoded, DWORD cbEncoded, void *pbFormat, DWORD *pcbFormat); | |
16371 | ||
16372 | BOOL __attribute__((__stdcall__)) CryptHashCertificate(HCRYPTPROV hCryptProv, ALG_ID Algid, | |
16373 | DWORD dwFlags, const BYTE *pbEncoded, DWORD cbEncoded, BYTE *pbComputedHash, | |
16374 | DWORD *pcbComputedHash); | |
16375 | ||
16376 | BOOL __attribute__((__stdcall__)) CryptHashPublicKeyInfo(HCRYPTPROV hCryptProv, ALG_ID Algid, | |
16377 | DWORD dwFlags, DWORD dwCertEncodingType, PCERT_PUBLIC_KEY_INFO pInfo, | |
16378 | BYTE *pbComputedHash, DWORD *pcbComputedHash); | |
16379 | ||
16380 | BOOL __attribute__((__stdcall__)) CryptHashToBeSigned(HCRYPTPROV hCryptProv, DWORD dwCertEncodingType, | |
16381 | const BYTE *pbEncoded, DWORD cbEncoded, BYTE *pbComputedHash, | |
16382 | DWORD *pcbComputedHash); | |
16383 | ||
16384 | BOOL __attribute__((__stdcall__)) CryptQueryObject(DWORD dwObjectType, const void* pvObject, | |
16385 | DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags, | |
16386 | DWORD dwFlags, DWORD* pdwMsgAndCertEncodingType, DWORD* pdwContentType, | |
16387 | DWORD* pdwFormatType, HCERTSTORE* phCertStore, HCRYPTMSG* phMsg, | |
16388 | const void** ppvContext); | |
16389 | ||
16390 | BOOL __attribute__((__stdcall__)) CryptSignCertificate(HCRYPTPROV hCryptProv, DWORD dwKeySpec, | |
16391 | DWORD dwCertEncodingType, const BYTE *pbEncodedToBeSigned, | |
16392 | DWORD cbEncodedToBeSigned, PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm, | |
16393 | const void *pvHashAuxInfo, BYTE *pbSignature, DWORD *pcbSignature); | |
16394 | ||
16395 | BOOL __attribute__((__stdcall__)) CryptSignAndEncodeCertificate(HCRYPTPROV hCryptProv, | |
16396 | DWORD dwKeySpec, DWORD dwCertEncodingType, LPCSTR lpszStructType, | |
16397 | const void *pvStructInfo, PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm, | |
16398 | const void *pvHashAuxInfo, PBYTE pbEncoded, DWORD *pcbEncoded); | |
16399 | ||
16400 | BOOL __attribute__((__stdcall__)) CryptVerifyCertificateSignature(HCRYPTPROV hCryptProv, | |
16401 | DWORD dwCertEncodingType, const BYTE *pbEncoded, DWORD cbEncoded, | |
16402 | PCERT_PUBLIC_KEY_INFO pPublicKey); | |
16403 | ||
16404 | BOOL __attribute__((__stdcall__)) CryptVerifyCertificateSignatureEx(HCRYPTPROV hCryptProv, | |
16405 | DWORD dwCertEncodingType, DWORD dwSubjectType, void *pvSubject, | |
16406 | DWORD dwIssuerType, void *pvIssuer, DWORD dwFlags, void *pvReserved); | |
16407 | ||
16408 | PCRYPT_ATTRIBUTE __attribute__((__stdcall__)) CertFindAttribute(LPCSTR pszObjId, DWORD cAttr, | |
16409 | CRYPT_ATTRIBUTE rgAttr[]); | |
16410 | PCERT_EXTENSION __attribute__((__stdcall__)) CertFindExtension(LPCSTR pszObjId, DWORD cExtensions, | |
16411 | CERT_EXTENSION rgExtensions[]); | |
16412 | PCERT_RDN_ATTR __attribute__((__stdcall__)) CertFindRDNAttr(LPCSTR pszObjId, PCERT_NAME_INFO pName); | |
16413 | ||
16414 | BOOL __attribute__((__stdcall__)) CertIsValidCRLForCertificate(PCCERT_CONTEXT pCert, | |
16415 | PCCRL_CONTEXT pCrl, DWORD dwFlags, void *pvReserved); | |
16416 | BOOL __attribute__((__stdcall__)) CertFindCertificateInCRL(PCCERT_CONTEXT pCert, | |
16417 | PCCRL_CONTEXT pCrlContext, DWORD dwFlags, void *pvReserved, | |
16418 | PCRL_ENTRY *ppCrlEntry); | |
16419 | BOOL __attribute__((__stdcall__)) CertVerifyCRLRevocation(DWORD dwCertEncodingType, | |
16420 | PCERT_INFO pCertId, DWORD cCrlInfo, PCRL_INFO rgpCrlInfo[]); | |
16421 | ||
16422 | BOOL __attribute__((__stdcall__)) CertVerifySubjectCertificateContext(PCCERT_CONTEXT pSubject, | |
16423 | PCCERT_CONTEXT pIssuer, DWORD *pdwFlags); | |
16424 | ||
16425 | LONG __attribute__((__stdcall__)) CertVerifyCRLTimeValidity(LPFILETIME pTimeToVerify, | |
16426 | PCRL_INFO pCrlInfo); | |
16427 | LONG __attribute__((__stdcall__)) CertVerifyTimeValidity(LPFILETIME pTimeToVerify, | |
16428 | PCERT_INFO pCertInfo); | |
16429 | ||
16430 | BOOL __attribute__((__stdcall__)) CertVerifyCTLUsage(DWORD dwEncodingType, DWORD dwSubjectType, | |
16431 | void *pvSubject, PCTL_USAGE pSubjectUsage, DWORD dwFlags, | |
16432 | PCTL_VERIFY_USAGE_PARA pVerifyUsagePara, | |
16433 | PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus); | |
16434 | ||
16435 | BOOL __attribute__((__stdcall__)) CertVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType, | |
16436 | DWORD cContext, void *rgpvContext[], DWORD dwFlags, | |
16437 | PCERT_REVOCATION_PARA pRevPara, PCERT_REVOCATION_STATUS pRevStatus); | |
16438 | ||
16439 | BOOL __attribute__((__stdcall__)) CryptExportPublicKeyInfo(HCRYPTPROV hCryptProv, DWORD dwKeySpec, | |
16440 | DWORD dwCertEncodingType, PCERT_PUBLIC_KEY_INFO pInfo, DWORD *pcbInfo); | |
16441 | BOOL __attribute__((__stdcall__)) CryptExportPublicKeyInfoEx(HCRYPTPROV hCryptProv, DWORD dwKeySpec, | |
16442 | DWORD dwCertEncodingType, LPSTR pszPublicKeyObjId, DWORD dwFlags, | |
16443 | void *pvAuxInfo, PCERT_PUBLIC_KEY_INFO pInfo, DWORD *pcbInfo); | |
16444 | BOOL __attribute__((__stdcall__)) CryptImportPublicKeyInfo(HCRYPTPROV hCryptProv, | |
16445 | DWORD dwCertEncodingType, PCERT_PUBLIC_KEY_INFO pInfo, HCRYPTKEY *phKey); | |
16446 | BOOL __attribute__((__stdcall__)) CryptImportPublicKeyInfoEx(HCRYPTPROV hCryptProv, | |
16447 | DWORD dwCertEncodingType, PCERT_PUBLIC_KEY_INFO pInfo, ALG_ID aiKeyAlg, | |
16448 | DWORD dwFlags, void *pvAuxInfo, HCRYPTKEY *phKey); | |
16449 | ||
16450 | BOOL __attribute__((__stdcall__)) CryptAcquireCertificatePrivateKey(PCCERT_CONTEXT pCert, | |
16451 | DWORD dwFlags, void *pvReserved, HCRYPTPROV *phCryptProv, DWORD *pdwKeySpec, | |
16452 | BOOL *pfCallerFreeProv); | |
16453 | ||
16454 | BOOL __attribute__((__stdcall__)) CryptProtectData( DATA_BLOB* pDataIn, LPCWSTR szDataDescr, | |
16455 | DATA_BLOB* pOptionalEntropy, PVOID pvReserved, | |
16456 | CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct, DWORD dwFlags, DATA_BLOB* pDataOut ); | |
16457 | ||
16458 | BOOL __attribute__((__stdcall__)) CryptUnprotectData( DATA_BLOB* pDataIn, LPWSTR* ppszDataDescr, | |
16459 | DATA_BLOB* pOptionalEntropy, PVOID pvReserved, | |
16460 | CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct, DWORD dwFlags, DATA_BLOB* pDataOut ); | |
16461 | ||
16462 | DWORD __attribute__((__stdcall__)) CertGetNameStringA(PCCERT_CONTEXT pCertContext, DWORD dwType, | |
16463 | DWORD dwFlags, void *pvTypePara, LPSTR pszNameString, DWORD cchNameString); | |
16464 | DWORD __attribute__((__stdcall__)) CertGetNameStringW(PCCERT_CONTEXT pCertContext, DWORD dwType, | |
16465 | DWORD dwFlags, void *pvTypePara, LPWSTR pszNameString, DWORD cchNameString); | |
16466 | ||
16467 | ||
16468 | DWORD __attribute__((__stdcall__)) CertRDNValueToStrA(DWORD dwValueType, PCERT_RDN_VALUE_BLOB pValue, | |
16469 | LPSTR psz, DWORD csz); | |
16470 | DWORD __attribute__((__stdcall__)) CertRDNValueToStrW(DWORD dwValueType, PCERT_RDN_VALUE_BLOB pValue, | |
16471 | LPWSTR psz, DWORD csz); | |
16472 | ||
16473 | ||
16474 | DWORD __attribute__((__stdcall__)) CertNameToStrA(DWORD dwCertEncodingType, PCERT_NAME_BLOB pName, | |
16475 | DWORD dwStrType, LPSTR psz, DWORD csz); | |
16476 | DWORD __attribute__((__stdcall__)) CertNameToStrW(DWORD dwCertEncodingType, PCERT_NAME_BLOB pName, | |
16477 | DWORD dwStrType, LPWSTR psz, DWORD csz); | |
16478 | ||
16479 | ||
16480 | BOOL __attribute__((__stdcall__)) CertStrToNameA(DWORD dwCertEncodingType, LPCSTR pszX500, | |
16481 | DWORD dwStrType, void *pvReserved, BYTE *pbEncoded, DWORD *pcbEncoded, | |
16482 | LPCSTR *ppszError); | |
16483 | BOOL __attribute__((__stdcall__)) CertStrToNameW(DWORD dwCertEncodingType, LPCWSTR pszX500, | |
16484 | DWORD dwStrType, void *pvReserved, BYTE *pbEncoded, DWORD *pcbEncoded, | |
16485 | LPCWSTR *ppszError); | |
16486 | ||
16487 | ||
16488 | BOOL __attribute__((__stdcall__)) CryptSignMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara, | |
16489 | BOOL fDetachedSignature, DWORD cToBeSigned, const BYTE *rgpbToBeSigned[], | |
16490 | DWORD rgcbToBeSigned[], BYTE *pbSignedBlob, DWORD *pcbSignedBlob); | |
16491 | BOOL __attribute__((__stdcall__)) CryptSignMessageWithKey(PCRYPT_KEY_SIGN_MESSAGE_PARA pSignPara, | |
16492 | const BYTE *pbToBeSigned, DWORD cbToBeSigned, BYTE *pbSignedBlob, | |
16493 | DWORD *pcbSignedBlob); | |
16494 | ||
16495 | BOOL __attribute__((__stdcall__)) CryptVerifyMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, | |
16496 | DWORD dwSignerIndex, const BYTE* pbSignedBlob, DWORD cbSignedBlob, | |
16497 | BYTE* pbDecoded, DWORD* pcbDecoded, PCCERT_CONTEXT* ppSignerCert); | |
16498 | BOOL __attribute__((__stdcall__)) CryptVerifyMessageSignatureWithKey( | |
16499 | PCRYPT_KEY_VERIFY_MESSAGE_PARA pVerifyPara, | |
16500 | PCERT_PUBLIC_KEY_INFO pPublicKeyInfo, const BYTE *pbSignedBlob, | |
16501 | DWORD cbSignedBlob, BYTE *pbDecoded, DWORD *pcbDecoded); | |
16502 | ||
16503 | BOOL __attribute__((__stdcall__)) CryptVerifyDetachedMessageSignature( | |
16504 | PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, DWORD dwSignerIndex, | |
16505 | const BYTE *pbDetachedSignBlob, DWORD cbDetachedSignBlob, DWORD cToBeSigned, | |
16506 | const BYTE *rgpbToBeSigned[], DWORD rgcbToBeSigned[], | |
16507 | PCCERT_CONTEXT *ppSignerCert); | |
16508 | LONG __attribute__((__stdcall__)) CryptGetMessageSignerCount(DWORD dwMsgEncodingType, | |
16509 | const BYTE *pbSignedBlob, DWORD cbSignedBlob); | |
16510 | ||
16511 | BOOL __attribute__((__stdcall__)) CryptEncryptMessage(PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara, | |
16512 | DWORD cRecipientCert, PCCERT_CONTEXT rgpRecipientCert[], | |
16513 | const BYTE *pbToBeEncrypted, DWORD cbToBeEncrypted, BYTE *pbEncryptedBlob, | |
16514 | DWORD *pcbEncryptedBlob); | |
16515 | BOOL __attribute__((__stdcall__)) CryptDecryptMessage(PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara, | |
16516 | const BYTE *pbEncryptedBlob, DWORD cbEncryptedBlob, BYTE *pbDecrypted, | |
16517 | DWORD *pcbDecrypted, PCCERT_CONTEXT *ppXchgCert); | |
16518 | ||
16519 | BOOL __attribute__((__stdcall__)) CryptSignAndEncryptMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara, | |
16520 | PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara, DWORD cRecipientCert, | |
16521 | PCCERT_CONTEXT rgpRecipientCert[], const BYTE *pbToBeSignedAndEncrypted, | |
16522 | DWORD cbToBeSignedAndEncrypted, BYTE *pbSignedAndEncryptedBlob, | |
16523 | DWORD *pcbSignedAndEncryptedBlob); | |
16524 | BOOL __attribute__((__stdcall__)) CryptDecryptAndVerifyMessageSignature( | |
16525 | PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara, | |
16526 | PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, DWORD dwSignerIndex, | |
16527 | const BYTE *pbEncryptedBlob, DWORD cbEncryptedBlob, BYTE *pbDecrypted, | |
16528 | DWORD *pcbDecrypted, PCCERT_CONTEXT *ppXchgCert, PCCERT_CONTEXT *ppSignerCert); | |
16529 | ||
16530 | HCERTSTORE __attribute__((__stdcall__)) CryptGetMessageCertificates(DWORD dwMsgAndCertEncodingType, | |
16531 | HCRYPTPROV hCryptProv, DWORD dwFlags, const BYTE *pbSignedBlob, | |
16532 | DWORD cbSignedBlob); | |
16533 | ||
16534 | BOOL __attribute__((__stdcall__)) CryptDecodeMessage(DWORD dwMsgTypeFlags, | |
16535 | PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara, | |
16536 | PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, DWORD dwSignerIndex, | |
16537 | const BYTE *pbEncodedBlob, DWORD cbEncodedBlob, DWORD dwPrevInnerContentType, | |
16538 | DWORD *pdwMsgType, DWORD *pdwInnerContentType, BYTE *pbDecoded, | |
16539 | DWORD *pcbDecoded, PCCERT_CONTEXT *ppXchgCert, PCCERT_CONTEXT *ppSignerCert); | |
16540 | ||
16541 | BOOL __attribute__((__stdcall__)) CryptHashMessage(PCRYPT_HASH_MESSAGE_PARA pHashPara, | |
16542 | BOOL fDetachedHash, DWORD cToBeHashed, const BYTE *rgpbToBeHashed[], | |
16543 | DWORD rgcbToBeHashed[], BYTE *pbHashedBlob, DWORD *pcbHashedBlob, | |
16544 | BYTE *pbComputedHash, DWORD *pcbComputedHash); | |
16545 | BOOL __attribute__((__stdcall__)) CryptVerifyMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara, | |
16546 | BYTE *pbHashedBlob, DWORD cbHashedBlob, BYTE *pbToBeHashed, | |
16547 | DWORD *pcbToBeHashed, BYTE *pbComputedHash, DWORD *pcbComputedHash); | |
16548 | BOOL __attribute__((__stdcall__)) CryptVerifyDetachedMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara, | |
16549 | BYTE *pbDetachedHashBlob, DWORD cbDetachedHashBlob, DWORD cToBeHashed, | |
16550 | const BYTE *rgpbToBeHashed[], DWORD rgcbToBeHashed[], BYTE *pbComputedHash, | |
16551 | DWORD *pcbComputedHash); | |
16552 | ||
16553 | ||
16554 | BOOL __attribute__((__stdcall__)) CryptGetObjectUrl(LPCSTR pszUrlOid, LPVOID pvPara, DWORD dwFlags, | |
16555 | PCRYPT_URL_ARRAY pUrlArray, DWORD *pcbUrlArray, PCRYPT_URL_INFO pUrlInfo, | |
16556 | DWORD *pcbUrlInfo, LPVOID pvReserved); | |
16557 | # 68 "../../../include/windows.h" 2 | |
16558 | ||
16559 | ||
16560 | ||
16561 | ||
16562 | ||
16563 | # 1 "../../../include/winspool.h" 1 | |
16564 | # 277 "../../../include/winspool.h" | |
16565 | typedef struct _PRINTER_DEFAULTSA { | |
16566 | LPSTR pDatatype; | |
16567 | LPDEVMODEA pDevMode; | |
16568 | ACCESS_MASK DesiredAccess; | |
16569 | } PRINTER_DEFAULTSA, *LPPRINTER_DEFAULTSA; | |
16570 | ||
16571 | typedef struct _PRINTER_DEFAULTSW { | |
16572 | LPWSTR pDatatype; | |
16573 | LPDEVMODEW pDevMode; | |
16574 | ACCESS_MASK DesiredAccess; | |
16575 | } PRINTER_DEFAULTSW, *LPPRINTER_DEFAULTSW; | |
16576 | ||
16577 | typedef PRINTER_DEFAULTSA PRINTER_DEFAULTS; | |
16578 | typedef LPPRINTER_DEFAULTSA LPPRINTER_DEFAULTS; | |
16579 | ||
16580 | typedef struct _DRIVER_INFO_1A { | |
16581 | LPSTR pName; | |
16582 | } DRIVER_INFO_1A, *PDRIVER_INFO_1A, *LPDRIVER_INFO_1A; | |
16583 | ||
16584 | typedef struct _DRIVER_INFO_1W { | |
16585 | LPWSTR pName; | |
16586 | } DRIVER_INFO_1W, *PDRIVER_INFO_1W, *LPDRIVER_INFO_1W; | |
16587 | ||
16588 | typedef DRIVER_INFO_1A DRIVER_INFO_1; | |
16589 | typedef PDRIVER_INFO_1A PDRIVER_INFO_1; | |
16590 | typedef LPDRIVER_INFO_1A LPDRIVER_INFO_1; | |
16591 | ||
16592 | typedef struct _DRIVER_INFO_2A { | |
16593 | DWORD cVersion; | |
16594 | LPSTR pName; | |
16595 | LPSTR pEnvironment; | |
16596 | LPSTR pDriverPath; | |
16597 | LPSTR pDataFile; | |
16598 | LPSTR pConfigFile; | |
16599 | } DRIVER_INFO_2A, *PDRIVER_INFO_2A, *LPDRIVER_INFO_2A; | |
16600 | ||
16601 | typedef struct _DRIVER_INFO_2W { | |
16602 | DWORD cVersion; | |
16603 | LPWSTR pName; | |
16604 | LPWSTR pEnvironment; | |
16605 | LPWSTR pDriverPath; | |
16606 | LPWSTR pDataFile; | |
16607 | LPWSTR pConfigFile; | |
16608 | } DRIVER_INFO_2W, *PDRIVER_INFO_2W, *LPDRIVER_INFO_2W; | |
16609 | ||
16610 | typedef DRIVER_INFO_2A DRIVER_INFO_2; | |
16611 | typedef PDRIVER_INFO_2A PDRIVER_INFO_2; | |
16612 | typedef LPDRIVER_INFO_2A LPDRIVER_INFO_2; | |
16613 | ||
16614 | typedef struct _DRIVER_INFO_3A { | |
16615 | DWORD cVersion; | |
16616 | LPSTR pName; | |
16617 | LPSTR pEnvironment; | |
16618 | LPSTR pDriverPath; | |
16619 | LPSTR pDataFile; | |
16620 | LPSTR pConfigFile; | |
16621 | LPSTR pHelpFile; | |
16622 | LPSTR pDependentFiles; | |
16623 | LPSTR pMonitorName; | |
16624 | LPSTR pDefaultDataType; | |
16625 | } DRIVER_INFO_3A, *PDRIVER_INFO_3A, *LPDRIVER_INFO_3A; | |
16626 | ||
16627 | typedef struct _DRIVER_INFO_3W { | |
16628 | DWORD cVersion; | |
16629 | LPWSTR pName; | |
16630 | LPWSTR pEnvironment; | |
16631 | LPWSTR pDriverPath; | |
16632 | LPWSTR pDataFile; | |
16633 | LPWSTR pConfigFile; | |
16634 | LPWSTR pHelpFile; | |
16635 | LPWSTR pDependentFiles; | |
16636 | LPWSTR pMonitorName; | |
16637 | LPWSTR pDefaultDataType; | |
16638 | } DRIVER_INFO_3W, *PDRIVER_INFO_3W, *LPDRIVER_INFO_3W; | |
16639 | ||
16640 | typedef DRIVER_INFO_3A DRIVER_INFO_3; | |
16641 | typedef PDRIVER_INFO_3A PDRIVER_INFO_3; | |
16642 | typedef LPDRIVER_INFO_3A LPDRIVER_INFO_3; | |
16643 | ||
16644 | typedef struct _DRIVER_INFO_4A { | |
16645 | DWORD cVersion; | |
16646 | LPSTR pName; | |
16647 | LPSTR pEnvironment; | |
16648 | LPSTR pDriverPath; | |
16649 | LPSTR pDataFile; | |
16650 | LPSTR pConfigFile; | |
16651 | LPSTR pHelpFile; | |
16652 | LPSTR pDependentFiles; | |
16653 | LPSTR pMonitorName; | |
16654 | LPSTR pDefaultDataType; | |
16655 | LPSTR pszzPreviousNames; | |
16656 | } DRIVER_INFO_4A, *PDRIVER_INFO_4A, *LPDRIVER_INFO_4A; | |
16657 | ||
16658 | typedef struct _DRIVER_INFO_4W { | |
16659 | DWORD cVersion; | |
16660 | LPWSTR pName; | |
16661 | LPWSTR pEnvironment; | |
16662 | LPWSTR pDriverPath; | |
16663 | LPWSTR pDataFile; | |
16664 | LPWSTR pConfigFile; | |
16665 | LPWSTR pHelpFile; | |
16666 | LPWSTR pDependentFiles; | |
16667 | LPWSTR pMonitorName; | |
16668 | LPWSTR pDefaultDataType; | |
16669 | LPWSTR pszzPreviousNames; | |
16670 | } DRIVER_INFO_4W, *PDRIVER_INFO_4W, *LPDRIVER_INFO_4W; | |
16671 | ||
16672 | typedef DRIVER_INFO_4A DRIVER_INFO_4; | |
16673 | typedef PDRIVER_INFO_4A PDRIVER_INFO_4; | |
16674 | typedef LPDRIVER_INFO_4A LPDRIVER_INFO_4; | |
16675 | ||
16676 | ||
16677 | typedef struct _DRIVER_INFO_5A { | |
16678 | DWORD cVersion; | |
16679 | LPSTR pName; | |
16680 | LPSTR pEnvironment; | |
16681 | LPSTR pDriverPath; | |
16682 | LPSTR pDataFile; | |
16683 | LPSTR pConfigFile; | |
16684 | DWORD dwDriverAttributes; | |
16685 | DWORD dwConfigVersion; | |
16686 | DWORD dwDriverVersion; | |
16687 | } DRIVER_INFO_5A, *PDRIVER_INFO_5A, *LPDRIVER_INFO_5A; | |
16688 | ||
16689 | typedef struct _DRIVER_INFO_5W { | |
16690 | DWORD cVersion; | |
16691 | LPWSTR pName; | |
16692 | LPWSTR pEnvironment; | |
16693 | LPWSTR pDriverPath; | |
16694 | LPWSTR pDataFile; | |
16695 | LPWSTR pConfigFile; | |
16696 | DWORD dwDriverAttributes; | |
16697 | DWORD dwConfigVersion; | |
16698 | DWORD dwDriverVersion; | |
16699 | } DRIVER_INFO_5W, *PDRIVER_INFO_5W, *LPDRIVER_INFO_5W; | |
16700 | ||
16701 | typedef DRIVER_INFO_5A DRIVER_INFO_5; | |
16702 | typedef PDRIVER_INFO_5A PDRIVER_INFO_5; | |
16703 | typedef LPDRIVER_INFO_5A LPDRIVER_INFO_5; | |
16704 | ||
16705 | typedef struct _DRIVER_INFO_6A { | |
16706 | DWORD cVersion; | |
16707 | LPSTR pName; | |
16708 | LPSTR pEnvironment; | |
16709 | LPSTR pDriverPath; | |
16710 | LPSTR pDataFile; | |
16711 | LPSTR pConfigFile; | |
16712 | LPSTR pHelpFile; | |
16713 | LPSTR pDependentFiles; | |
16714 | LPSTR pMonitorName; | |
16715 | LPSTR pDefaultDataType; | |
16716 | LPSTR pszzPreviousNames; | |
16717 | FILETIME ftDriverDate; | |
16718 | DWORDLONG dwlDriverVersion; | |
16719 | LPSTR pszMfgName; | |
16720 | LPSTR pszOEMUrl; | |
16721 | LPSTR pszHardwareID; | |
16722 | LPSTR pszProvider; | |
16723 | } DRIVER_INFO_6A, *PDRIVER_INFO_6A, *LPDRIVER_INFO_6A; | |
16724 | ||
16725 | typedef struct _DRIVER_INFO_6W { | |
16726 | DWORD cVersion; | |
16727 | LPWSTR pName; | |
16728 | LPWSTR pEnvironment; | |
16729 | LPWSTR pDriverPath; | |
16730 | LPWSTR pDataFile; | |
16731 | LPWSTR pConfigFile; | |
16732 | LPWSTR pHelpFile; | |
16733 | LPWSTR pDependentFiles; | |
16734 | LPWSTR pMonitorName; | |
16735 | LPWSTR pDefaultDataType; | |
16736 | LPWSTR pszzPreviousNames; | |
16737 | FILETIME ftDriverDate; | |
16738 | DWORDLONG dwlDriverVersion; | |
16739 | LPWSTR pszMfgName; | |
16740 | LPWSTR pszOEMUrl; | |
16741 | LPWSTR pszHardwareID; | |
16742 | LPWSTR pszProvider; | |
16743 | } DRIVER_INFO_6W, *PDRIVER_INFO_6W, *LPDRIVER_INFO_6W; | |
16744 | ||
16745 | typedef DRIVER_INFO_6A DRIVER_INFO_6; | |
16746 | typedef PDRIVER_INFO_6A PDRIVER_INFO_6; | |
16747 | typedef LPDRIVER_INFO_6A LPDRIVER_INFO_6; | |
16748 | ||
16749 | ||
16750 | typedef struct _PRINTER_INFO_1A { | |
16751 | DWORD Flags; | |
16752 | LPSTR pDescription; | |
16753 | LPSTR pName; | |
16754 | LPSTR pComment; | |
16755 | } PRINTER_INFO_1A, *PPRINTER_INFO_1A, *LPPRINTER_INFO_1A; | |
16756 | ||
16757 | typedef struct _PRINTER_INFO_1W { | |
16758 | DWORD Flags; | |
16759 | LPWSTR pDescription; | |
16760 | LPWSTR pName; | |
16761 | LPWSTR pComment; | |
16762 | } PRINTER_INFO_1W, *PPRINTER_INFO_1W, *LPPRINTER_INFO_1W; | |
16763 | ||
16764 | typedef PRINTER_INFO_1A PRINTER_INFO_1; | |
16765 | typedef PPRINTER_INFO_1A PPRINTER_INFO_1; | |
16766 | typedef LPPRINTER_INFO_1A LPPRINTER_INFO_1; | |
16767 | ||
16768 | ||
16769 | ||
16770 | ||
16771 | ||
16772 | ||
16773 | typedef struct _PRINTER_INFO_2A { | |
16774 | LPSTR pServerName; | |
16775 | LPSTR pPrinterName; | |
16776 | LPSTR pShareName; | |
16777 | LPSTR pPortName; | |
16778 | LPSTR pDriverName; | |
16779 | LPSTR pComment; | |
16780 | LPSTR pLocation; | |
16781 | LPDEVMODEA pDevMode; | |
16782 | LPSTR pSepFile; | |
16783 | LPSTR pPrintProcessor; | |
16784 | LPSTR pDatatype; | |
16785 | LPSTR pParameters; | |
16786 | PSECURITY_DESCRIPTOR pSecurityDescriptor; | |
16787 | DWORD Attributes; | |
16788 | DWORD Priority; | |
16789 | DWORD DefaultPriority; | |
16790 | DWORD StartTime; | |
16791 | DWORD UntilTime; | |
16792 | DWORD Status; | |
16793 | DWORD cJobs; | |
16794 | DWORD AveragePPM; | |
16795 | } PRINTER_INFO_2A, *PPRINTER_INFO_2A, *LPPRINTER_INFO_2A; | |
16796 | ||
16797 | typedef struct _PRINTER_INFO_2W { | |
16798 | LPWSTR pServerName; | |
16799 | LPWSTR pPrinterName; | |
16800 | LPWSTR pShareName; | |
16801 | LPWSTR pPortName; | |
16802 | LPWSTR pDriverName; | |
16803 | LPWSTR pComment; | |
16804 | LPWSTR pLocation; | |
16805 | LPDEVMODEW pDevMode; | |
16806 | LPWSTR pSepFile; | |
16807 | LPWSTR pPrintProcessor; | |
16808 | LPWSTR pDatatype; | |
16809 | LPWSTR pParameters; | |
16810 | PSECURITY_DESCRIPTOR pSecurityDescriptor; | |
16811 | DWORD Attributes; | |
16812 | DWORD Priority; | |
16813 | DWORD DefaultPriority; | |
16814 | DWORD StartTime; | |
16815 | DWORD UntilTime; | |
16816 | DWORD Status; | |
16817 | DWORD cJobs; | |
16818 | DWORD AveragePPM; | |
16819 | } PRINTER_INFO_2W, *PPRINTER_INFO_2W, *LPPRINTER_INFO_2W; | |
16820 | ||
16821 | typedef PRINTER_INFO_2A PRINTER_INFO_2; | |
16822 | typedef PPRINTER_INFO_2A PPRINTER_INFO_2; | |
16823 | typedef LPPRINTER_INFO_2A LPPRINTER_INFO_2; | |
16824 | ||
16825 | typedef struct _PRINTER_INFO_3 { | |
16826 | PSECURITY_DESCRIPTOR pSecurityDescriptor; | |
16827 | } PRINTER_INFO_3, *PPRINTER_INFO_3, *LPPRINTER_INFO_3; | |
16828 | ||
16829 | typedef struct _PRINTER_INFO_4A { | |
16830 | LPSTR pPrinterName; | |
16831 | LPSTR pServerName; | |
16832 | DWORD Attributes; | |
16833 | } PRINTER_INFO_4A, *PPRINTER_INFO_4A, *LPPRINTER_INFO_4A; | |
16834 | ||
16835 | typedef struct _PRINTER_INFO_4W { | |
16836 | LPWSTR pPrinterName; | |
16837 | LPWSTR pServerName; | |
16838 | DWORD Attributes; | |
16839 | } PRINTER_INFO_4W, *PPRINTER_INFO_4W, *LPPRINTER_INFO_4W; | |
16840 | ||
16841 | typedef PRINTER_INFO_4A PRINTER_INFO_4; | |
16842 | typedef PPRINTER_INFO_4A PPRINTER_INFO_4; | |
16843 | typedef LPPRINTER_INFO_4A LPPRINTER_INFO_4; | |
16844 | ||
16845 | typedef struct _PRINTER_INFO_5A { | |
16846 | LPSTR pPrinterName; | |
16847 | LPSTR pPortName; | |
16848 | DWORD Attributes; | |
16849 | DWORD DeviceNotSelectedTimeout; | |
16850 | DWORD TransmissionRetryTimeout; | |
16851 | } PRINTER_INFO_5A, *PPRINTER_INFO_5A, *LPPRINTER_INFO_5A; | |
16852 | ||
16853 | typedef struct _PRINTER_INFO_5W { | |
16854 | LPWSTR pPrinterName; | |
16855 | LPWSTR pPortName; | |
16856 | DWORD Attributes; | |
16857 | DWORD DeviceNotSelectedTimeout; | |
16858 | DWORD TransmissionRetryTimeout; | |
16859 | } PRINTER_INFO_5W, *PPRINTER_INFO_5W, *LPPRINTER_INFO_5W; | |
16860 | ||
16861 | typedef PRINTER_INFO_5A PRINTER_INFO_5; | |
16862 | typedef PPRINTER_INFO_5A PPRINTER_INFO_5; | |
16863 | typedef LPPRINTER_INFO_5A LPPRINTER_INFO_5; | |
16864 | ||
16865 | typedef struct _PRINTER_INFO_6 { | |
16866 | DWORD dwStatus; | |
16867 | } PRINTER_INFO_6, *PPRINTER_INFO_6, *LPPRINTER_INFO_6; | |
16868 | ||
16869 | typedef struct _PRINTER_INFO_7A { | |
16870 | LPSTR pszObjectGUID; | |
16871 | DWORD dwAction; | |
16872 | } PRINTER_INFO_7A, *PPRINTER_INFO_7A, *LPPRINTER_INFO_7A; | |
16873 | ||
16874 | typedef struct _PRINTER_INFO_7W { | |
16875 | LPWSTR pszObjectGUID; | |
16876 | DWORD dwAction; | |
16877 | } PRINTER_INFO_7W, *PPRINTER_INFO_7W, *LPPRINTER_INFO_7W; | |
16878 | ||
16879 | typedef PRINTER_INFO_7A PRINTER_INFO_7; | |
16880 | typedef PPRINTER_INFO_7A PPRINTER_INFO_7; | |
16881 | typedef LPPRINTER_INFO_7A LPPRINTER_INFO_7; | |
16882 | ||
16883 | typedef struct _PRINTER_INFO_8A { | |
16884 | LPDEVMODEA pDevMode; | |
16885 | } PRINTER_INFO_8A, *PPRINTER_INFO_8A, *LPPRINTER_INFO_8A; | |
16886 | ||
16887 | typedef struct _PRINTER_INFO_8W { | |
16888 | LPDEVMODEW pDevMode; | |
16889 | } PRINTER_INFO_8W, *PPRINTER_INFO_8W, *LPPRINTER_INFO_8W; | |
16890 | ||
16891 | typedef PRINTER_INFO_8A PRINTER_INFO_8; | |
16892 | typedef PPRINTER_INFO_8A PPRINTER_INFO_8; | |
16893 | typedef LPPRINTER_INFO_8A LPPRINTER_INFO_8; | |
16894 | ||
16895 | typedef struct _PRINTER_INFO_9A { | |
16896 | LPDEVMODEA pDevMode; | |
16897 | } PRINTER_INFO_9A, *PPRINTER_INFO_9A, *LPPRINTER_INFO_9A; | |
16898 | ||
16899 | typedef struct _PRINTER_INFO_9W { | |
16900 | LPDEVMODEW pDevMode; | |
16901 | } PRINTER_INFO_9W, *PPRINTER_INFO_9W, *LPPRINTER_INFO_9W; | |
16902 | ||
16903 | typedef PRINTER_INFO_9A PRINTER_INFO_9; | |
16904 | typedef PPRINTER_INFO_9A PPRINTER_INFO_9; | |
16905 | typedef LPPRINTER_INFO_9A LPPRINTER_INFO_9; | |
16906 | ||
16907 | ||
16908 | typedef struct _JOB_INFO_1A { | |
16909 | DWORD JobId; | |
16910 | LPSTR pPrinterName; | |
16911 | LPSTR pMachineName; | |
16912 | LPSTR pUserName; | |
16913 | LPSTR pDocument; | |
16914 | LPSTR pDatatype; | |
16915 | LPSTR pStatus; | |
16916 | DWORD Status; | |
16917 | DWORD Priority; | |
16918 | DWORD Position; | |
16919 | DWORD TotalPages; | |
16920 | DWORD PagesPrinted; | |
16921 | SYSTEMTIME Submitted; | |
16922 | } JOB_INFO_1A, *PJOB_INFO_1A, *LPJOB_INFO_1A; | |
16923 | ||
16924 | typedef struct _JOB_INFO_1W { | |
16925 | DWORD JobId; | |
16926 | LPWSTR pPrinterName; | |
16927 | LPWSTR pMachineName; | |
16928 | LPWSTR pUserName; | |
16929 | LPWSTR pDocument; | |
16930 | LPWSTR pDatatype; | |
16931 | LPWSTR pStatus; | |
16932 | DWORD Status; | |
16933 | DWORD Priority; | |
16934 | DWORD Position; | |
16935 | DWORD TotalPages; | |
16936 | DWORD PagesPrinted; | |
16937 | SYSTEMTIME Submitted; | |
16938 | } JOB_INFO_1W, *PJOB_INFO_1W, *LPJOB_INFO_1W; | |
16939 | ||
16940 | typedef JOB_INFO_1A JOB_INFO_1; | |
16941 | typedef PJOB_INFO_1A PJOB_INFO_1; | |
16942 | typedef LPJOB_INFO_1A LPJOB_INFO_1; | |
16943 | ||
16944 | typedef struct _JOB_INFO_2A { | |
16945 | DWORD JobId; | |
16946 | LPSTR pPrinterName; | |
16947 | LPSTR pMachineName; | |
16948 | LPSTR pUserName; | |
16949 | LPSTR pDocument; | |
16950 | LPSTR pNotifyName; | |
16951 | LPSTR pDatatype; | |
16952 | LPSTR pPrintProcessor; | |
16953 | LPSTR pParameters; | |
16954 | LPSTR pDriverName; | |
16955 | LPDEVMODEA pDevMode; | |
16956 | LPSTR pStatus; | |
16957 | PSECURITY_DESCRIPTOR pSecurityDescriptor; | |
16958 | DWORD Status; | |
16959 | DWORD Priority; | |
16960 | DWORD Position; | |
16961 | DWORD StartTime; | |
16962 | DWORD UntilTime; | |
16963 | DWORD TotalPages; | |
16964 | DWORD Size; | |
16965 | SYSTEMTIME Submitted; | |
16966 | DWORD Time; | |
16967 | DWORD PagesPrinted; | |
16968 | } JOB_INFO_2A, *PJOB_INFO_2A, *LPJOB_INFO_2A; | |
16969 | ||
16970 | typedef struct _JOB_INFO_2W { | |
16971 | DWORD JobId; | |
16972 | LPWSTR pPrinterName; | |
16973 | LPWSTR pMachineName; | |
16974 | LPWSTR pUserName; | |
16975 | LPWSTR pDocument; | |
16976 | LPWSTR pNotifyName; | |
16977 | LPWSTR pDatatype; | |
16978 | LPWSTR pPrintProcessor; | |
16979 | LPWSTR pParameters; | |
16980 | LPWSTR pDriverName; | |
16981 | LPDEVMODEW pDevMode; | |
16982 | LPWSTR pStatus; | |
16983 | PSECURITY_DESCRIPTOR pSecurityDescriptor; | |
16984 | DWORD Status; | |
16985 | DWORD Priority; | |
16986 | DWORD Position; | |
16987 | DWORD StartTime; | |
16988 | DWORD UntilTime; | |
16989 | DWORD TotalPages; | |
16990 | DWORD Size; | |
16991 | SYSTEMTIME Submitted; | |
16992 | DWORD Time; | |
16993 | DWORD PagesPrinted; | |
16994 | } JOB_INFO_2W, *PJOB_INFO_2W, *LPJOB_INFO_2W; | |
16995 | ||
16996 | typedef JOB_INFO_2A JOB_INFO_2; | |
16997 | typedef PJOB_INFO_2A PJOB_INFO_2; | |
16998 | typedef LPJOB_INFO_2A LPJOB_INFO_2; | |
16999 | ||
17000 | typedef struct _JOB_INFO_3 { | |
17001 | DWORD JobId; | |
17002 | DWORD NextJobId; | |
17003 | DWORD Reserved; | |
17004 | } JOB_INFO_3, *PJOB_INFO_3, *LPJOB_INFO_3; | |
17005 | ||
17006 | typedef struct _ADDJOB_INFO_1A { | |
17007 | LPSTR Path; | |
17008 | DWORD JobId; | |
17009 | } ADDJOB_INFO_1A, *PADDJOB_INFO_1A, *LPADDJOB_INFO_1A; | |
17010 | ||
17011 | typedef struct _ADDJOB_INFO_1W { | |
17012 | LPWSTR Path; | |
17013 | DWORD JobId; | |
17014 | } ADDJOB_INFO_1W, *PADDJOB_INFO_1W, *LPADDJOB_INFO_1W; | |
17015 | ||
17016 | typedef ADDJOB_INFO_1A ADDJOB_INFO_1; | |
17017 | typedef PADDJOB_INFO_1A PADDJOB_INFO_1; | |
17018 | typedef LPADDJOB_INFO_1A LPADDJOB_INFO_1; | |
17019 | ||
17020 | typedef struct _DOC_INFO_1A { | |
17021 | LPSTR pDocName; | |
17022 | LPSTR pOutputFile; | |
17023 | LPSTR pDatatype; | |
17024 | } DOC_INFO_1A, *PDOC_INFO_1A, *LPDOC_INFO_1A; | |
17025 | ||
17026 | typedef struct _DOC_INFO_1W { | |
17027 | LPWSTR pDocName; | |
17028 | LPWSTR pOutputFile; | |
17029 | LPWSTR pDatatype; | |
17030 | } DOC_INFO_1W, *PDOC_INFO_1W, *LPDOC_INFO_1W; | |
17031 | ||
17032 | typedef DOC_INFO_1A DOC_INFO_1; | |
17033 | typedef PDOC_INFO_1A PDOC_INFO_1; | |
17034 | typedef LPDOC_INFO_1A LPDOC_INFO_1; | |
17035 | ||
17036 | typedef struct _DOC_INFO_2A { | |
17037 | LPSTR pDocName; | |
17038 | LPSTR pOutputFile; | |
17039 | LPSTR pDatatype; | |
17040 | DWORD dwMode; | |
17041 | DWORD JobId; | |
17042 | } DOC_INFO_2A, *PDOC_INFO_2A, *LPDOC_INFO_2A; | |
17043 | ||
17044 | typedef struct _DOC_INFO_2W { | |
17045 | LPWSTR pDocName; | |
17046 | LPWSTR pOutputFile; | |
17047 | LPWSTR pDatatype; | |
17048 | DWORD dwMode; | |
17049 | DWORD JobId; | |
17050 | } DOC_INFO_2W, *PDOC_INFO_2W, *LPDOC_INFO_2W; | |
17051 | ||
17052 | typedef DOC_INFO_2A DOC_INFO_2; | |
17053 | typedef PDOC_INFO_2A PDOC_INFO_2; | |
17054 | typedef LPDOC_INFO_2A LPDOC_INFO_2; | |
17055 | ||
17056 | typedef struct _FORM_INFO_1A { | |
17057 | DWORD Flags; | |
17058 | LPSTR pName; | |
17059 | SIZEL Size; | |
17060 | RECTL ImageableArea; | |
17061 | } FORM_INFO_1A, *PFORM_INFO_1A, *LPFORM_INFO_1A; | |
17062 | ||
17063 | typedef struct _FORM_INFO_1W { | |
17064 | DWORD Flags; | |
17065 | LPWSTR pName; | |
17066 | SIZEL Size; | |
17067 | RECTL ImageableArea; | |
17068 | } FORM_INFO_1W, *PFORM_INFO_1W, *LPFORM_INFO_1W; | |
17069 | ||
17070 | typedef FORM_INFO_1A FORM_INFO_1; | |
17071 | typedef PFORM_INFO_1A PFORM_INFO_1; | |
17072 | typedef LPFORM_INFO_1A LPFORM_INFO_1; | |
17073 | ||
17074 | typedef struct _PRINTPROCESSOR_INFO_1A { | |
17075 | LPSTR pName; | |
17076 | } PRINTPROCESSOR_INFO_1A, *PPRINTPROCESSOR_INFO_1A, | |
17077 | *LPPRINTPROCESSOR_INFO_1A; | |
17078 | ||
17079 | typedef struct _PRINTPROCESSOR_INFO_1W { | |
17080 | LPWSTR pName; | |
17081 | } PRINTPROCESSOR_INFO_1W, *PPRINTPROCESSOR_INFO_1W, | |
17082 | *LPPRINTPROCESSOR_INFO_1W; | |
17083 | ||
17084 | typedef PRINTPROCESSOR_INFO_1A PRINTPROCESSOR_INFO_1; | |
17085 | typedef PPRINTPROCESSOR_INFO_1A PPRINTPROCESSOR_INFO_1; | |
17086 | typedef LPPRINTPROCESSOR_INFO_1A LPPRINTPROCESSOR_INFO_1; | |
17087 | ||
17088 | typedef struct _PORT_INFO_1A { | |
17089 | LPSTR pName; | |
17090 | } PORT_INFO_1A, *PPORT_INFO_1A, *LPPORT_INFO_1A; | |
17091 | ||
17092 | typedef struct _PORT_INFO_1W { | |
17093 | LPWSTR pName; | |
17094 | } PORT_INFO_1W, *PPORT_INFO_1W, *LPPORT_INFO_1W; | |
17095 | ||
17096 | typedef PORT_INFO_1A PORT_INFO_1; | |
17097 | typedef PPORT_INFO_1A PPORT_INFO_1; | |
17098 | typedef LPPORT_INFO_1A LPPORT_INFO_1; | |
17099 | ||
17100 | typedef struct _PORT_INFO_2A { | |
17101 | LPSTR pPortName; | |
17102 | LPSTR pMonitorName; | |
17103 | LPSTR pDescription; | |
17104 | DWORD fPortType; | |
17105 | DWORD Reserved; | |
17106 | } PORT_INFO_2A, *PPORT_INFO_2A, *LPPORT_INFO_2A; | |
17107 | ||
17108 | typedef struct _PORT_INFO_2W { | |
17109 | LPWSTR pPortName; | |
17110 | LPWSTR pMonitorName; | |
17111 | LPWSTR pDescription; | |
17112 | DWORD fPortType; | |
17113 | DWORD Reserved; | |
17114 | } PORT_INFO_2W, *PPORT_INFO_2W, *LPPORT_INFO_2W; | |
17115 | ||
17116 | typedef PORT_INFO_2A PORT_INFO_2; | |
17117 | typedef PPORT_INFO_2A PPORT_INFO_2; | |
17118 | typedef LPPORT_INFO_2A LPPORT_INFO_2; | |
17119 | ||
17120 | typedef struct _PORT_INFO_3A { | |
17121 | DWORD dwStatus; | |
17122 | LPSTR pszStatus; | |
17123 | DWORD dwSeverity; | |
17124 | } PORT_INFO_3A, *PPORT_INFO_3A, *LPPORT_INFO_3A; | |
17125 | ||
17126 | typedef struct _PORT_INFO_3W { | |
17127 | DWORD dwStatus; | |
17128 | LPWSTR pszStatus; | |
17129 | DWORD dwSeverity; | |
17130 | } PORT_INFO_3W, *PPORT_INFO_3W, *LPPORT_INFO_3W; | |
17131 | ||
17132 | typedef PORT_INFO_3A PORT_INFO_3; | |
17133 | typedef PPORT_INFO_3A PPORT_INFO_3; | |
17134 | typedef LPPORT_INFO_3A LPPORT_INFO_3; | |
17135 | ||
17136 | typedef struct _MONITOR_INFO_1A { | |
17137 | LPSTR pName; | |
17138 | } MONITOR_INFO_1A, *PMONITOR_INFO_1A, *LPMONITOR_INFO_1A; | |
17139 | ||
17140 | typedef struct _MONITOR_INFO_1W { | |
17141 | LPWSTR pName; | |
17142 | } MONITOR_INFO_1W, *PMONITOR_INFO_1W, *LPMONITOR_INFO_1W; | |
17143 | ||
17144 | typedef MONITOR_INFO_1A MONITOR_INFO_1; | |
17145 | typedef PMONITOR_INFO_1A PMONITOR_INFO_1; | |
17146 | typedef LPMONITOR_INFO_1A LPMONITOR_INFO_1; | |
17147 | ||
17148 | ||
17149 | ||
17150 | ||
17151 | typedef struct _MONITOR_INFO_2A { | |
17152 | LPSTR pName; | |
17153 | LPSTR pEnvironment; | |
17154 | LPSTR pDLLName; | |
17155 | } MONITOR_INFO_2A, *PMONITOR_INFO_2A, *LPMONITOR_INFO_2A; | |
17156 | ||
17157 | typedef struct _MONITOR_INFO_2W { | |
17158 | LPWSTR pName; | |
17159 | LPWSTR pEnvironment; | |
17160 | LPWSTR pDLLName; | |
17161 | } MONITOR_INFO_2W, *PMONITOR_INFO_2W, *LPMONITOR_INFO_2W; | |
17162 | ||
17163 | typedef MONITOR_INFO_2A MONITOR_INFO_2; | |
17164 | typedef PMONITOR_INFO_2A PMONITOR_INFO_2; | |
17165 | typedef LPMONITOR_INFO_2A LPMONITOR_INFO_2; | |
17166 | ||
17167 | typedef struct _DATATYPES_INFO_1A { | |
17168 | LPSTR pName; | |
17169 | } DATATYPES_INFO_1A, *PDATATYPES_INFO_1A, *LPDATATYPES_INFO_1A; | |
17170 | ||
17171 | typedef struct _DATATYPES_INFO_1W { | |
17172 | LPWSTR pName; | |
17173 | } DATATYPES_INFO_1W, *PDATATYPES_INFO_1W, *LPDATATYPES_INFO_1W; | |
17174 | ||
17175 | typedef DATATYPES_INFO_1A DATATYPES_INFO_1; | |
17176 | typedef PDATATYPES_INFO_1A PDATATYPES_INFO_1; | |
17177 | typedef LPDATATYPES_INFO_1A LPDATATYPES_INFO_1; | |
17178 | ||
17179 | typedef struct _PRINTER_NOTIFY_OPTIONS_TYPE { | |
17180 | WORD Type; | |
17181 | WORD Reserved0; | |
17182 | DWORD Reserved1; | |
17183 | DWORD Reserved2; | |
17184 | DWORD Count; | |
17185 | PWORD pFields; | |
17186 | } PRINTER_NOTIFY_OPTIONS_TYPE, *PPRINTER_NOTIFY_OPTIONS_TYPE, | |
17187 | *LPPRINTER_NOTIFY_OPTIONS_TYPE; | |
17188 | ||
17189 | typedef struct _PRINTER_NOTIFY_OPTIONS { | |
17190 | DWORD Version; | |
17191 | DWORD Flags; | |
17192 | DWORD Count; | |
17193 | PPRINTER_NOTIFY_OPTIONS_TYPE pTypes; | |
17194 | } PRINTER_NOTIFY_OPTIONS, *PPRINTER_NOTIFY_OPTIONS, *LPPRINTER_NOTIFY_OPTIONS; | |
17195 | ||
17196 | typedef struct _PRINTER_NOTIFY_INFO_DATA { | |
17197 | WORD Type; | |
17198 | WORD Field; | |
17199 | DWORD Reserved; | |
17200 | DWORD Id; | |
17201 | union { | |
17202 | DWORD adwData[2]; | |
17203 | struct { | |
17204 | DWORD cbBuf; | |
17205 | LPVOID pBuf; | |
17206 | } Data; | |
17207 | } NotifyData; | |
17208 | } PRINTER_NOTIFY_INFO_DATA, *PPRINTER_NOTIFY_INFO_DATA, | |
17209 | *LPPRINTER_NOTIFY_INFO_DATA; | |
17210 | ||
17211 | typedef struct _PRINTER_NOTIFY_INFO { | |
17212 | DWORD Version; | |
17213 | DWORD Flags; | |
17214 | DWORD Count; | |
17215 | PRINTER_NOTIFY_INFO_DATA aData[1]; | |
17216 | } PRINTER_NOTIFY_INFO, *PPRINTER_NOTIFY_INFO, *LPPRINTER_NOTIFY_INFO; | |
17217 | ||
17218 | typedef struct _PROVIDOR_INFO_1A { | |
17219 | LPSTR pName; | |
17220 | LPSTR pEnvironment; | |
17221 | LPSTR pDLLName; | |
17222 | } PROVIDOR_INFO_1A, *PPROVIDOR_INFO_1A, *LPPROVIDOR_INFO_1A; | |
17223 | ||
17224 | typedef struct _PROVIDOR_INFO_1W { | |
17225 | LPWSTR pName; | |
17226 | LPWSTR pEnvironment; | |
17227 | LPWSTR pDLLName; | |
17228 | } PROVIDOR_INFO_1W, *PPROVIDOR_INFO_1W, *LPPROVIDOR_INFO_1W; | |
17229 | ||
17230 | typedef PROVIDOR_INFO_1A PROVIDOR_INFO_1; | |
17231 | typedef PPROVIDOR_INFO_1A PPROVIDOR_INFO_1; | |
17232 | typedef LPPROVIDOR_INFO_1A LPPROVIDOR_INFO_1; | |
17233 | ||
17234 | typedef struct _PRINTER_ENUM_VALUESA { | |
17235 | LPSTR pValueName; | |
17236 | DWORD cbValueName; | |
17237 | DWORD dwType; | |
17238 | LPBYTE pData; | |
17239 | DWORD cbData; | |
17240 | } PRINTER_ENUM_VALUESA, *PPRINTER_ENUM_VALUESA; | |
17241 | ||
17242 | typedef struct _PRINTER_ENUM_VALUESW { | |
17243 | LPWSTR pValueName; | |
17244 | DWORD cbValueName; | |
17245 | DWORD dwType; | |
17246 | LPBYTE pData; | |
17247 | DWORD cbData; | |
17248 | } PRINTER_ENUM_VALUESW, *PPRINTER_ENUM_VALUESW; | |
17249 | ||
17250 | typedef PRINTER_ENUM_VALUESA PRINTER_ENUM_VALUES; | |
17251 | typedef PPRINTER_ENUM_VALUESA PPRINTER_ENUM_VALUES; | |
17252 | ||
17253 | typedef enum { | |
17254 | BIDI_NULL = 0, | |
17255 | BIDI_INT, | |
17256 | BIDI_FLOAT, | |
17257 | BIDI_BOOL, | |
17258 | BIDI_STRING, | |
17259 | BIDI_TEXT, | |
17260 | BIDI_ENUM, | |
17261 | BIDI_BLOB | |
17262 | } BIDI_TYPE; | |
17263 | ||
17264 | typedef struct _BINARY_CONTAINER { | |
17265 | DWORD cbBuf; | |
17266 | LPBYTE pData; | |
17267 | } BINARY_CONTAINER, *PBINARY_CONTAINER; | |
17268 | ||
17269 | typedef struct _BIDI_DATA { | |
17270 | DWORD dwBidiType; | |
17271 | union | |
17272 | { | |
17273 | BOOL bData; | |
17274 | INT iData; | |
17275 | LPWSTR sData; | |
17276 | FLOAT fData; | |
17277 | BINARY_CONTAINER biData; | |
17278 | } u; | |
17279 | } BIDI_DATA, *LPBIDI_DATA, *PBIDI_DATA; | |
17280 | ||
17281 | typedef struct _BIDI_REQUEST_DATA { | |
17282 | DWORD dwReqNumber; | |
17283 | LPWSTR pSchema; | |
17284 | BIDI_DATA data; | |
17285 | } BIDI_REQUEST_DATA, *LPBIDI_REQUEST_DATA, *PBIDI_REQUEST_DATA; | |
17286 | ||
17287 | typedef struct _BIDI_REQUEST_CONTAINER { | |
17288 | DWORD Version; | |
17289 | DWORD Flags; | |
17290 | DWORD Count; | |
17291 | BIDI_REQUEST_DATA aData[1]; | |
17292 | } BIDI_REQUEST_CONTAINER, *LPBIDI_REQUEST_CONTAINER, *PBIDI_REQUEST_CONTAINER; | |
17293 | ||
17294 | typedef struct _BIDI_RESPONSE_DATA { | |
17295 | DWORD dwResult; | |
17296 | DWORD dwReqNumber; | |
17297 | LPWSTR pSchema; | |
17298 | BIDI_DATA data; | |
17299 | } BIDI_RESPONSE_DATA, *LPBIDI_RESPONSE_DATA, *PBIDI_RESPONSE_DATA; | |
17300 | ||
17301 | typedef struct _BIDI_RESPONSE_CONTAINER { | |
17302 | DWORD Version; | |
17303 | DWORD Flags; | |
17304 | DWORD Count; | |
17305 | BIDI_RESPONSE_DATA aData[1]; | |
17306 | } BIDI_RESPONSE_CONTAINER, *LPBIDI_RESPONSE_CONTAINER, *PBIDI_RESPONSE_CONTAINER; | |
17307 | ||
17308 | ||
17309 | INT __attribute__((__stdcall__)) DeviceCapabilitiesA(LPCSTR pDevice,LPCSTR pPort,WORD fwCapability, | |
17310 | LPSTR pOutput, LPDEVMODEA pDevMode); | |
17311 | INT __attribute__((__stdcall__)) DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort, | |
17312 | WORD fwCapability, LPWSTR pOutput, | |
17313 | const DEVMODEW *pDevMode); | |
17314 | ||
17315 | ||
17316 | ||
17317 | LONG __attribute__((__stdcall__)) DocumentPropertiesA(HWND hWnd,HANDLE hPrinter, | |
17318 | LPSTR pDeviceName, LPDEVMODEA pDevModeOutput, | |
17319 | LPDEVMODEA pDevModeInput,DWORD fMode ); | |
17320 | LONG __attribute__((__stdcall__)) DocumentPropertiesW(HWND hWnd, HANDLE hPrinter, | |
17321 | LPWSTR pDeviceName, | |
17322 | LPDEVMODEW pDevModeOutput, | |
17323 | LPDEVMODEW pDevModeInput, DWORD fMode); | |
17324 | ||
17325 | ||
17326 | ||
17327 | BOOL __attribute__((__stdcall__)) OpenPrinterA(LPSTR lpPrinterName,HANDLE *phPrinter, | |
17328 | LPPRINTER_DEFAULTSA pDefault); | |
17329 | BOOL __attribute__((__stdcall__)) OpenPrinterW(LPWSTR lpPrinterName,HANDLE *phPrinter, | |
17330 | LPPRINTER_DEFAULTSW pDefault); | |
17331 | ||
17332 | ||
17333 | ||
17334 | BOOL __attribute__((__stdcall__)) ResetPrinterA(HANDLE hPrinter, LPPRINTER_DEFAULTSA pDefault); | |
17335 | BOOL __attribute__((__stdcall__)) ResetPrinterW(HANDLE hPrinter, LPPRINTER_DEFAULTSW pDefault); | |
17336 | ||
17337 | ||
17338 | BOOL __attribute__((__stdcall__)) ClosePrinter (HANDLE phPrinter); | |
17339 | ||
17340 | BOOL __attribute__((__stdcall__)) EnumJobsA(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, | |
17341 | DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded, | |
17342 | LPDWORD pcReturned); | |
17343 | BOOL __attribute__((__stdcall__)) EnumJobsW(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, | |
17344 | DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded, | |
17345 | LPDWORD pcReturned); | |
17346 | ||
17347 | ||
17348 | BOOL __attribute__((__stdcall__)) EnumPrintersA(DWORD dwType, LPSTR lpszName, | |
17349 | DWORD dwLevel, LPBYTE lpbPrinters, | |
17350 | DWORD cbBuf, LPDWORD lpdwNeeded, | |
17351 | LPDWORD lpdwReturned); | |
17352 | BOOL __attribute__((__stdcall__)) EnumPrintersW(DWORD dwType, LPWSTR lpszName, | |
17353 | DWORD dwLevel, LPBYTE lpbPrinters, | |
17354 | DWORD cbBuf, LPDWORD lpdwNeeded, | |
17355 | LPDWORD lpdwReturned); | |
17356 | ||
17357 | ||
17358 | BOOL __attribute__((__stdcall__)) PrinterProperties(HWND hWnd, HANDLE hPrinter); | |
17359 | ||
17360 | BOOL __attribute__((__stdcall__)) GetPrinterDriverDirectoryA(LPSTR,LPSTR,DWORD,LPBYTE,DWORD,LPDWORD); | |
17361 | BOOL __attribute__((__stdcall__)) GetPrinterDriverDirectoryW(LPWSTR,LPWSTR,DWORD,LPBYTE,DWORD,LPDWORD); | |
17362 | ||
17363 | ||
17364 | BOOL __attribute__((__stdcall__)) GetPrinterDriverA(HANDLE hPrinter, LPSTR pEnvironment, | |
17365 | DWORD Level, LPBYTE pDriverInfo, | |
17366 | DWORD cbBuf, LPDWORD pcbNeeded); | |
17367 | BOOL __attribute__((__stdcall__)) GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, | |
17368 | DWORD Level, LPBYTE pDriverInfo, | |
17369 | DWORD cbBuf, LPDWORD pcbNeeded); | |
17370 | ||
17371 | ||
17372 | BOOL __attribute__((__stdcall__)) SetJobA(HANDLE hPrinter, DWORD JobID, DWORD Level, LPBYTE pJob, | |
17373 | DWORD Command); | |
17374 | BOOL __attribute__((__stdcall__)) SetJobW(HANDLE hPrinter, DWORD JobID, DWORD Level, LPBYTE pJob, | |
17375 | DWORD Command); | |
17376 | ||
17377 | ||
17378 | BOOL __attribute__((__stdcall__)) GetJobA(HANDLE hPrinter, DWORD JobID, DWORD Level, LPBYTE pJob, | |
17379 | DWORD cbBuf, LPDWORD pcbNeeded); | |
17380 | BOOL __attribute__((__stdcall__)) GetJobW(HANDLE hPrinter, DWORD JobID, DWORD Level, LPBYTE pJob, | |
17381 | DWORD cbBuf, LPDWORD pcbNeeded); | |
17382 | ||
17383 | ||
17384 | HANDLE __attribute__((__stdcall__)) AddPrinterA(LPSTR pName, DWORD Level, LPBYTE pPrinter); | |
17385 | HANDLE __attribute__((__stdcall__)) AddPrinterW(LPWSTR pName, DWORD Level, LPBYTE pPrinter); | |
17386 | ||
17387 | ||
17388 | BOOL __attribute__((__stdcall__)) DeletePrinter(HANDLE hPrinter); | |
17389 | ||
17390 | BOOL __attribute__((__stdcall__)) SetPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, | |
17391 | DWORD Command); | |
17392 | BOOL __attribute__((__stdcall__)) SetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, | |
17393 | DWORD Command); | |
17394 | ||
17395 | ||
17396 | BOOL __attribute__((__stdcall__)) GetPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, | |
17397 | DWORD cbBuf, LPDWORD pcbNeeded); | |
17398 | BOOL __attribute__((__stdcall__)) GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, | |
17399 | DWORD cbBuf, LPDWORD pcbNeeded); | |
17400 | ||
17401 | ||
17402 | BOOL __attribute__((__stdcall__)) AddPrinterDriverA(LPSTR pName, DWORD Level, LPBYTE pDriverInfo); | |
17403 | BOOL __attribute__((__stdcall__)) AddPrinterDriverW(LPWSTR pName, DWORD Level, LPBYTE pDriverInfo); | |
17404 | ||
17405 | ||
17406 | BOOL __attribute__((__stdcall__)) AddPrinterDriverExA(LPSTR pName, DWORD Level, LPBYTE pDriverInfo, | |
17407 | DWORD dwFileCopyFlags); | |
17408 | BOOL __attribute__((__stdcall__)) AddPrinterDriverExW(LPWSTR pName, DWORD Level, LPBYTE pDriverInfo, | |
17409 | DWORD dwFileCopyFlags); | |
17410 | ||
17411 | ||
17412 | BOOL __attribute__((__stdcall__)) EnumPrinterDriversA(LPSTR pName, LPSTR pEnvironment, DWORD Level, | |
17413 | LPBYTE pDriverInfo, DWORD cbBuf, | |
17414 | LPDWORD pcbNeeded, LPDWORD pcbReturned); | |
17415 | BOOL __attribute__((__stdcall__)) EnumPrinterDriversW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, | |
17416 | LPBYTE pDriverInfo, DWORD cbBuf, | |
17417 | LPDWORD pcbNeeded, LPDWORD pcbReturned); | |
17418 | ||
17419 | ||
17420 | BOOL __attribute__((__stdcall__)) GetDefaultPrinterA(LPSTR pName, LPDWORD pcbNameSize); | |
17421 | BOOL __attribute__((__stdcall__)) GetDefaultPrinterW(LPWSTR pName, LPDWORD pcbNameSize); | |
17422 | ||
17423 | ||
17424 | BOOL __attribute__((__stdcall__)) DeletePrinterDriverA(LPSTR pName, LPSTR pEnvironment, | |
17425 | LPSTR pDriverName); | |
17426 | BOOL __attribute__((__stdcall__)) DeletePrinterDriverW(LPWSTR pName, LPWSTR pEnvironment, | |
17427 | LPWSTR pDriverName); | |
17428 | ||
17429 | ||
17430 | BOOL __attribute__((__stdcall__)) DeletePrinterDriverExA(LPSTR pName, LPSTR pEnvironment, | |
17431 | LPSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag); | |
17432 | BOOL __attribute__((__stdcall__)) DeletePrinterDriverExW(LPWSTR pName, LPWSTR pEnvironment, | |
17433 | LPWSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag); | |
17434 | ||
17435 | ||
17436 | BOOL __attribute__((__stdcall__)) AddPrintProcessorA(LPSTR pName, LPSTR pEnvironment, | |
17437 | LPSTR pPathName, LPSTR pPrintProcessorName); | |
17438 | BOOL __attribute__((__stdcall__)) AddPrintProcessorW(LPWSTR pName, LPWSTR pEnvironment, | |
17439 | LPWSTR pPathName, LPWSTR pPrintProcessorName); | |
17440 | ||
17441 | ||
17442 | BOOL __attribute__((__stdcall__)) EnumPrintProcessorsA(LPSTR pName, LPSTR pEnvironment, | |
17443 | DWORD Level, LPBYTE pPrintProcessorInfo, | |
17444 | DWORD cbBuf, LPDWORD pcbNeeded, | |
17445 | LPDWORD pcbReturned); | |
17446 | BOOL __attribute__((__stdcall__)) EnumPrintProcessorsW(LPWSTR pName, LPWSTR pEnvironment, | |
17447 | DWORD Level, LPBYTE pPrintProcessorInfo, | |
17448 | DWORD cbBuf, LPDWORD pcbNeeded, | |
17449 | LPDWORD pcbReturned); | |
17450 | ||
17451 | ||
17452 | BOOL __attribute__((__stdcall__)) GetPrintProcessorDirectoryA(LPSTR pName, LPSTR pEnvironment, | |
17453 | DWORD Level, | |
17454 | LPBYTE pPrintProcessorInfo, | |
17455 | DWORD cbBuf, LPDWORD pcbNeeded); | |
17456 | ||
17457 | BOOL __attribute__((__stdcall__)) GetPrintProcessorDirectoryW(LPWSTR pName, LPWSTR pEnvironment, | |
17458 | DWORD Level, | |
17459 | LPBYTE pPrintProcessorInfo, | |
17460 | DWORD cbBuf, LPDWORD pcbNeeded); | |
17461 | ||
17462 | ||
17463 | BOOL __attribute__((__stdcall__)) EnumPrintProcessorDatatypesA(LPSTR pName, | |
17464 | LPSTR pPrintProcessorName, | |
17465 | DWORD Level, LPBYTE pDatatypes, | |
17466 | DWORD cbBuf, LPDWORD pcbNeeded, | |
17467 | LPDWORD pcbReturned); | |
17468 | BOOL __attribute__((__stdcall__)) EnumPrintProcessorDatatypesW(LPWSTR pName, | |
17469 | LPWSTR pPrintProcessorName, | |
17470 | DWORD Level, LPBYTE pDatatypes, | |
17471 | DWORD cbBuf, LPDWORD pcbNeeded, | |
17472 | LPDWORD pcbReturned); | |
17473 | ||
17474 | ||
17475 | BOOL __attribute__((__stdcall__)) DeletePrintProcessorA(LPSTR pName, LPSTR pEnvironment, | |
17476 | LPSTR pPrintProcessorName); | |
17477 | BOOL __attribute__((__stdcall__)) DeletePrintProcessorW(LPWSTR pName, LPWSTR pEnvironment, | |
17478 | LPWSTR pPrintProcessorName); | |
17479 | ||
17480 | ||
17481 | DWORD __attribute__((__stdcall__)) StartDocPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo); | |
17482 | DWORD __attribute__((__stdcall__)) StartDocPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo); | |
17483 | ||
17484 | ||
17485 | BOOL __attribute__((__stdcall__)) StartPagePrinter(HANDLE hPrinter); | |
17486 | BOOL __attribute__((__stdcall__)) WritePrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, | |
17487 | LPDWORD pcWritten); | |
17488 | BOOL __attribute__((__stdcall__)) EndPagePrinter(HANDLE hPrinter); | |
17489 | BOOL __attribute__((__stdcall__)) AbortPrinter(HANDLE hPrinter); | |
17490 | BOOL __attribute__((__stdcall__)) ReadPrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, | |
17491 | LPDWORD pNoBytesRead); | |
17492 | BOOL __attribute__((__stdcall__)) EndDocPrinter(HANDLE hPrinter); | |
17493 | ||
17494 | BOOL __attribute__((__stdcall__)) AddJobA(HANDLE hPrinter, DWORD Level, LPBYTE pData, DWORD cbBuf, | |
17495 | LPDWORD pcbNeeded); | |
17496 | BOOL __attribute__((__stdcall__)) AddJobW(HANDLE hPrinter, DWORD Level, LPBYTE pData, DWORD cbBuf, | |
17497 | LPDWORD pcbNeeded); | |
17498 | ||
17499 | ||
17500 | BOOL __attribute__((__stdcall__)) ScheduleJob(HANDLE hPrinter, DWORD JobID); | |
17501 | ||
17502 | LONG __attribute__((__stdcall__)) AdvancedDocumentPropertiesA(HWND hWnd, HANDLE hPrinter, | |
17503 | LPSTR pDeviceName, | |
17504 | PDEVMODEA pDevModeOutput, | |
17505 | PDEVMODEA pDevModeInput); | |
17506 | LONG __attribute__((__stdcall__)) AdvancedDocumentPropertiesW(HWND hWnd, HANDLE hPrinter, | |
17507 | LPWSTR pDeviceName, | |
17508 | PDEVMODEW pDevModeOutput, | |
17509 | PDEVMODEW pDevModeInput); | |
17510 | ||
17511 | ||
17512 | DWORD __attribute__((__stdcall__)) GetPrinterDataA(HANDLE hPrinter, LPSTR pValueName, LPDWORD pType, | |
17513 | LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded); | |
17514 | DWORD __attribute__((__stdcall__)) GetPrinterDataW(HANDLE hPrinter, LPWSTR pValueName, LPDWORD pType, | |
17515 | LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded); | |
17516 | ||
17517 | ||
17518 | DWORD __attribute__((__stdcall__)) GetPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, | |
17519 | LPCSTR pValueName, LPDWORD pType, | |
17520 | LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded); | |
17521 | DWORD __attribute__((__stdcall__)) GetPrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, | |
17522 | LPCWSTR pValueName, LPDWORD pType, | |
17523 | LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded); | |
17524 | ||
17525 | ||
17526 | DWORD __attribute__((__stdcall__)) DeletePrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, | |
17527 | LPCSTR pValueName); | |
17528 | DWORD __attribute__((__stdcall__)) DeletePrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, | |
17529 | LPCWSTR pValueName); | |
17530 | ||
17531 | ||
17532 | DWORD __attribute__((__stdcall__)) SetPrinterDataA(HANDLE hPrinter, LPSTR pValueName, DWORD Type, | |
17533 | LPBYTE pData, DWORD cbData); | |
17534 | DWORD __attribute__((__stdcall__)) SetPrinterDataW(HANDLE hPrinter, LPWSTR pValueName, DWORD Type, | |
17535 | LPBYTE pData, DWORD cbData); | |
17536 | ||
17537 | ||
17538 | DWORD __attribute__((__stdcall__)) SetPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, | |
17539 | LPCSTR pValueName, DWORD Type, | |
17540 | LPBYTE pData, DWORD cbData); | |
17541 | DWORD __attribute__((__stdcall__)) SetPrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, | |
17542 | LPCWSTR pValueName, DWORD Type, | |
17543 | LPBYTE pData, DWORD cbData); | |
17544 | ||
17545 | ||
17546 | DWORD __attribute__((__stdcall__)) WaitForPrinterChange(HANDLE hPrinter, DWORD Flags); | |
17547 | HANDLE __attribute__((__stdcall__)) FindFirstPrinterChangeNotification(HANDLE hPrinter, | |
17548 | DWORD fdwFlags, | |
17549 | DWORD fdwOptions, | |
17550 | LPVOID pPrinterNotifyOptions); | |
17551 | BOOL __attribute__((__stdcall__)) FindNextPrinterChangeNotification(HANDLE hChange, | |
17552 | PDWORD pdwChange, | |
17553 | LPVOID pvReserved, | |
17554 | LPVOID *ppPrinterNotifyInfo); | |
17555 | BOOL __attribute__((__stdcall__)) FreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO pPrinterNotifyInfo); | |
17556 | BOOL __attribute__((__stdcall__)) FindClosePrinterChangeNotification(HANDLE hChange); | |
17557 | ||
17558 | DWORD __attribute__((__stdcall__)) PrinterMessageBoxA(HANDLE hPrinter, DWORD Error, HWND hWnd, | |
17559 | LPSTR pText, LPSTR pCaption, DWORD dwType); | |
17560 | DWORD __attribute__((__stdcall__)) PrinterMessageBoxW(HANDLE hPrinter, DWORD Error, HWND hWnd, | |
17561 | LPWSTR pText, LPWSTR pCaption, DWORD dwType); | |
17562 | ||
17563 | ||
17564 | BOOL __attribute__((__stdcall__)) AddFormA(HANDLE hPrinter, DWORD Level, LPBYTE pForm); | |
17565 | BOOL __attribute__((__stdcall__)) AddFormW(HANDLE hPrinter, DWORD Level, LPBYTE pForm); | |
17566 | ||
17567 | ||
17568 | BOOL __attribute__((__stdcall__)) DeleteFormA(HANDLE hPrinter, LPSTR pFormName); | |
17569 | BOOL __attribute__((__stdcall__)) DeleteFormW(HANDLE hPrinter, LPWSTR pFormName); | |
17570 | ||
17571 | ||
17572 | BOOL __attribute__((__stdcall__)) GetFormA(HANDLE hPrinter, LPSTR pFormName, DWORD Level, | |
17573 | LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded); | |
17574 | BOOL __attribute__((__stdcall__)) GetFormW(HANDLE hPrinter, LPWSTR pFormName, DWORD Level, | |
17575 | LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded); | |
17576 | ||
17577 | ||
17578 | BOOL __attribute__((__stdcall__)) SetFormA(HANDLE hPrinter, LPSTR pFormName, DWORD Level, | |
17579 | LPBYTE pForm); | |
17580 | BOOL __attribute__((__stdcall__)) SetFormW(HANDLE hPrinter, LPWSTR pFormName, DWORD Level, | |
17581 | LPBYTE pForm); | |
17582 | ||
17583 | ||
17584 | BOOL __attribute__((__stdcall__)) EnumFormsA(HANDLE hPrinter, DWORD Level, LPBYTE pForm, DWORD cbBuf, | |
17585 | LPDWORD pcbNeeded, LPDWORD pcReturned); | |
17586 | BOOL __attribute__((__stdcall__)) EnumFormsW(HANDLE hPrinter, DWORD Level, LPBYTE pForm, DWORD cbBuf, | |
17587 | LPDWORD pcbNeeded, LPDWORD pcReturned); | |
17588 | ||
17589 | ||
17590 | BOOL __attribute__((__stdcall__)) EnumMonitorsA(LPSTR pName, DWORD Level, LPBYTE pMonitors, | |
17591 | DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); | |
17592 | BOOL __attribute__((__stdcall__)) EnumMonitorsW(LPWSTR pName, DWORD Level, LPBYTE pMonitors, | |
17593 | DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); | |
17594 | ||
17595 | ||
17596 | DWORD __attribute__((__stdcall__)) EnumPrinterDataA( HANDLE hPrinter, DWORD dwIndex, LPSTR pValueName, | |
17597 | DWORD cbValueName, LPDWORD pcbValueName, LPDWORD pType, LPBYTE pData, | |
17598 | DWORD cbData, LPDWORD pcbData ); | |
17599 | DWORD __attribute__((__stdcall__)) EnumPrinterDataW( HANDLE hPrinter, DWORD dwIndex, LPWSTR pValueName, | |
17600 | DWORD cbValueName, LPDWORD pcbValueName, LPDWORD pType, LPBYTE pData, | |
17601 | DWORD cbData, LPDWORD pcbData ); | |
17602 | ||
17603 | ||
17604 | BOOL __attribute__((__stdcall__)) AddMonitorA(LPSTR pName, DWORD Level, LPBYTE pMonitors); | |
17605 | BOOL __attribute__((__stdcall__)) AddMonitorW(LPWSTR pName, DWORD Level, LPBYTE pMonitors); | |
17606 | ||
17607 | ||
17608 | BOOL __attribute__((__stdcall__)) DeleteMonitorA(LPSTR pName, LPSTR pEnvironment, | |
17609 | LPSTR pMonitorName); | |
17610 | BOOL __attribute__((__stdcall__)) DeleteMonitorW(LPWSTR pName, LPWSTR pEnvironment, | |
17611 | LPWSTR pMonitorName); | |
17612 | ||
17613 | ||
17614 | BOOL __attribute__((__stdcall__)) EnumPortsA(LPSTR pName, DWORD Level, LPBYTE pPorts, | |
17615 | DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); | |
17616 | BOOL __attribute__((__stdcall__)) EnumPortsW(LPWSTR pName, DWORD Level, LPBYTE pPorts, | |
17617 | DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); | |
17618 | ||
17619 | ||
17620 | BOOL __attribute__((__stdcall__)) AddPortA(LPSTR pName, HWND hWnd, LPSTR pMonitorName); | |
17621 | BOOL __attribute__((__stdcall__)) AddPortW(LPWSTR pName, HWND hWnd, LPWSTR pMonitorName); | |
17622 | ||
17623 | ||
17624 | BOOL __attribute__((__stdcall__)) AddPortExA(HANDLE hMonitor, LPSTR pName, DWORD Level, | |
17625 | LPBYTE lpBuffer, LPSTR lpMonitorName); | |
17626 | BOOL __attribute__((__stdcall__)) AddPortExW(HANDLE hMonitor, LPWSTR pName, DWORD Level, | |
17627 | LPBYTE lpBuffer, LPWSTR lpMonitorName); | |
17628 | ||
17629 | ||
17630 | BOOL __attribute__((__stdcall__)) ConfigurePortA(LPSTR pName, HWND hWnd, LPSTR pPortName); | |
17631 | BOOL __attribute__((__stdcall__)) ConfigurePortW(LPWSTR pName, HWND hWnd, LPWSTR pPortName); | |
17632 | ||
17633 | ||
17634 | BOOL __attribute__((__stdcall__)) DeletePortA(LPSTR pName, HWND hWnd, LPSTR pPortName); | |
17635 | BOOL __attribute__((__stdcall__)) DeletePortW(LPWSTR pName, HWND hWnd, LPWSTR pPortName); | |
17636 | ||
17637 | ||
17638 | BOOL __attribute__((__stdcall__)) SetPortA(LPSTR pName, LPSTR pPortName, DWORD dwLevel, | |
17639 | LPBYTE pPortInfo); | |
17640 | BOOL __attribute__((__stdcall__)) SetPortW(LPWSTR pName, LPWSTR pPortName, DWORD dwLevel, | |
17641 | LPBYTE pPortInfo); | |
17642 | ||
17643 | ||
17644 | BOOL __attribute__((__stdcall__)) AddPrinterConnectionA(LPSTR pName); | |
17645 | BOOL __attribute__((__stdcall__)) AddPrinterConnectionW(LPWSTR pName); | |
17646 | ||
17647 | ||
17648 | BOOL __attribute__((__stdcall__)) DeletePrinterConnectionA(LPSTR pName); | |
17649 | BOOL __attribute__((__stdcall__)) DeletePrinterConnectionW(LPWSTR pName); | |
17650 | ||
17651 | ||
17652 | HANDLE __attribute__((__stdcall__)) ConnectToPrinterDlg(HWND hwnd, DWORD Flags); | |
17653 | ||
17654 | BOOL __attribute__((__stdcall__)) AddPrintProvidorA(LPSTR pName, DWORD Level, LPBYTE pProvidorInfo); | |
17655 | BOOL __attribute__((__stdcall__)) AddPrintProvidorW(LPWSTR pName, DWORD Level, LPBYTE pProvidorInfo); | |
17656 | ||
17657 | ||
17658 | BOOL __attribute__((__stdcall__)) DeletePrintProvidorA(LPSTR pName, LPSTR pEnvironment, | |
17659 | LPSTR pPrintProvidorName); | |
17660 | BOOL __attribute__((__stdcall__)) DeletePrintProvidorW(LPWSTR pName, LPWSTR pEnvironment, | |
17661 | LPWSTR pPrintProvidorName); | |
17662 | ||
17663 | ||
17664 | DWORD __attribute__((__stdcall__)) EnumPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, | |
17665 | LPBYTE pEnumValues, DWORD cbEnumValues, | |
17666 | LPDWORD pcbEnumValues, LPDWORD pnEnumValues); | |
17667 | DWORD __attribute__((__stdcall__)) EnumPrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, | |
17668 | LPBYTE pEnumValues, DWORD cbEnumValues, | |
17669 | LPDWORD pcbEnumValues, LPDWORD pnEnumValues); | |
17670 | ||
17671 | ||
17672 | LONG __attribute__((__stdcall__)) ExtDeviceMode( HWND hWnd, HANDLE hInst, LPDEVMODEA pDevModeOutput, | |
17673 | LPSTR pDeviceName, LPSTR pPort, LPDEVMODEA pDevModeInput, LPSTR pProfile, | |
17674 | DWORD fMode); | |
17675 | ||
17676 | LPSTR __attribute__((__stdcall__)) StartDocDlgA(HANDLE hPrinter, DOCINFOA *doc); | |
17677 | LPWSTR __attribute__((__stdcall__)) StartDocDlgW(HANDLE hPrinter, DOCINFOW *doc); | |
17678 | # 74 "../../../include/windows.h" 2 | |
17679 | ||
17680 | ||
17681 | ||
17682 | # 1 "../../../include/ole2.h" 1 | |
17683 | # 25 "../../../include/ole2.h" | |
17684 | # 1 "../../../include/objbase.h" 1 | |
17685 | # 19 "../../../include/objbase.h" | |
17686 | # 1 "../../../include/rpc.h" 1 | |
17687 | # 20 "../../../include/objbase.h" 2 | |
17688 | # 1 "../../../include/rpcndr.h" 1 | |
17689 | # 92 "../../../include/rpcndr.h" | |
17690 | typedef unsigned char byte; | |
17691 | ||
17692 | ||
17693 | typedef unsigned char boolean; | |
17694 | # 111 "../../../include/rpcndr.h" | |
17695 | typedef struct | |
17696 | { | |
17697 | void *pad[2]; | |
17698 | void *userContext; | |
17699 | } *NDR_SCONTEXT; | |
17700 | ||
17701 | ||
17702 | ||
17703 | ||
17704 | typedef void (__attribute__((__stdcall__)) *NDR_RUNDOWN)(void *context); | |
17705 | typedef void (__attribute__((__stdcall__)) *NDR_NOTIFY_ROUTINE)(void); | |
17706 | typedef void (__attribute__((__stdcall__)) *NDR_NOTIFY2_ROUTINE)(boolean flag); | |
17707 | ||
17708 | ||
17709 | ||
17710 | ||
17711 | struct _MIDL_STUB_MESSAGE; | |
17712 | struct _MIDL_STUB_DESC; | |
17713 | struct _FULL_PTR_XLAT_TABLES; | |
17714 | struct NDR_ALLOC_ALL_NODES_CONTEXT; | |
17715 | struct NDR_POINTER_QUEUE_STATE; | |
17716 | ||
17717 | typedef void (__attribute__((__stdcall__)) *EXPR_EVAL)(struct _MIDL_STUB_MESSAGE *); | |
17718 | typedef const unsigned char *PFORMAT_STRING; | |
17719 | ||
17720 | typedef struct | |
17721 | { | |
17722 | long Dimension; | |
17723 | unsigned long *BufferConformanceMark; | |
17724 | unsigned long *BufferVarianceMark; | |
17725 | unsigned long *MaxCountArray; | |
17726 | unsigned long *OffsetArray; | |
17727 | unsigned long *ActualCountArray; | |
17728 | } ARRAY_INFO, *PARRAY_INFO; | |
17729 | ||
17730 | typedef struct | |
17731 | { | |
17732 | unsigned long WireCodeset; | |
17733 | unsigned long DesiredReceivingCodeset; | |
17734 | void *CSArrayInfo; | |
17735 | } CS_STUB_INFO; | |
17736 | ||
17737 | typedef struct _NDR_PIPE_DESC *PNDR_PIPE_DESC; | |
17738 | typedef struct _NDR_PIPE_MESSAGE *PNDR_PIPE_MESSAGE; | |
17739 | typedef struct _NDR_ASYNC_MESSAGE *PNDR_ASYNC_MESSAGE; | |
17740 | typedef struct _NDR_CORRELATION_INFO *PNDR_CORRELATION_INFO; | |
17741 | ||
17742 | # 1 "../../../include/pshpack4.h" 1 | |
17743 | # 105 "../../../include/pshpack4.h" | |
17744 | #pragma pack(4) | |
17745 | # 159 "../../../include/rpcndr.h" 2 | |
17746 | typedef struct _MIDL_STUB_MESSAGE | |
17747 | { | |
17748 | PRPC_MESSAGE RpcMsg; | |
17749 | unsigned char *Buffer; | |
17750 | unsigned char *BufferStart; | |
17751 | unsigned char *BufferEnd; | |
17752 | unsigned char *BufferMark; | |
17753 | unsigned long BufferLength; | |
17754 | unsigned long MemorySize; | |
17755 | unsigned char *Memory; | |
17756 | int IsClient; | |
17757 | int ReuseBuffer; | |
17758 | struct NDR_ALLOC_ALL_NODES_CONTEXT *pAllocAllNodesContext; | |
17759 | struct NDR_POINTER_QUEUE_STATE *pPointerQueueState; | |
17760 | int IgnoreEmbeddedPointers; | |
17761 | unsigned char *PointerBufferMark; | |
17762 | unsigned char fBufferValid; | |
17763 | unsigned char uFlags; | |
17764 | unsigned short UniquePtrCount; | |
17765 | ULONG_PTR MaxCount; | |
17766 | unsigned long Offset; | |
17767 | unsigned long ActualCount; | |
17768 | void * (__attribute__((__stdcall__)) *pfnAllocate)(size_t); | |
17769 | void (__attribute__((__stdcall__)) *pfnFree)(void *); | |
17770 | unsigned char *StackTop; | |
17771 | unsigned char *pPresentedType; | |
17772 | unsigned char *pTransmitType; | |
17773 | handle_t SavedHandle; | |
17774 | const struct _MIDL_STUB_DESC *StubDesc; | |
17775 | struct _FULL_PTR_XLAT_TABLES *FullPtrXlatTables; | |
17776 | unsigned long FullPtrRefId; | |
17777 | unsigned long PointerLength; | |
17778 | int fInDontFree:1; | |
17779 | int fDontCallFreeInst:1; | |
17780 | int fInOnlyParam:1; | |
17781 | int fHasReturn:1; | |
17782 | int fHasExtensions:1; | |
17783 | int fHasNewCorrDesc:1; | |
17784 | int fUnused:10; | |
17785 | int fUnused2:16; | |
17786 | unsigned long dwDestContext; | |
17787 | void *pvDestContext; | |
17788 | NDR_SCONTEXT *SavedContextHandles; | |
17789 | long ParamNumber; | |
17790 | struct IRpcChannelBuffer *pRpcChannelBuffer; | |
17791 | PARRAY_INFO pArrayInfo; | |
17792 | unsigned long *SizePtrCountArray; | |
17793 | unsigned long *SizePtrOffsetArray; | |
17794 | unsigned long *SizePtrLengthArray; | |
17795 | void *pArgQueue; | |
17796 | unsigned long dwStubPhase; | |
17797 | void *LowStackMark; | |
17798 | PNDR_ASYNC_MESSAGE pAsyncMsg; | |
17799 | PNDR_CORRELATION_INFO pCorrInfo; | |
17800 | unsigned char *pCorrMemory; | |
17801 | void *pMemoryList; | |
17802 | CS_STUB_INFO *pCSInfo; | |
17803 | unsigned char *ConformanceMark; | |
17804 | unsigned char *VarianceMark; | |
17805 | INT_PTR Unused; | |
17806 | struct _NDR_PROC_CONTEXT *pContext; | |
17807 | INT_PTR Reserved51_1; | |
17808 | INT_PTR Reserved51_2; | |
17809 | INT_PTR Reserved51_3; | |
17810 | INT_PTR Reserved51_4; | |
17811 | INT_PTR Reserved51_5; | |
17812 | } MIDL_STUB_MESSAGE, *PMIDL_STUB_MESSAGE; | |
17813 | # 1 "../../../include/poppack.h" 1 | |
17814 | # 253 "../../../include/poppack.h" | |
17815 | #pragma pack() | |
17816 | # 227 "../../../include/rpcndr.h" 2 | |
17817 | ||
17818 | typedef void * (__attribute__((__stdcall__)) * GENERIC_BINDING_ROUTINE)(void *); | |
17819 | typedef void (__attribute__((__stdcall__)) * GENERIC_UNBIND_ROUTINE)(void *, unsigned char *); | |
17820 | ||
17821 | typedef struct _GENERIC_BINDING_ROUTINE_PAIR | |
17822 | { | |
17823 | GENERIC_BINDING_ROUTINE pfnBind; | |
17824 | GENERIC_UNBIND_ROUTINE pfnUnbind; | |
17825 | } GENERIC_BINDING_ROUTINE_PAIR, *PGENERIC_BINDING_ROUTINE_PAIR; | |
17826 | ||
17827 | typedef struct __GENERIC_BINDING_INFO | |
17828 | { | |
17829 | void *pObj; | |
17830 | unsigned int Size; | |
17831 | GENERIC_BINDING_ROUTINE pfnBind; | |
17832 | GENERIC_UNBIND_ROUTINE pfnUnbind; | |
17833 | } GENERIC_BINDING_INFO, *PGENERIC_BINDING_INFO; | |
17834 | ||
17835 | typedef void (__attribute__((__stdcall__)) *XMIT_HELPER_ROUTINE)(PMIDL_STUB_MESSAGE); | |
17836 | ||
17837 | typedef struct _XMIT_ROUTINE_QUINTUPLE | |
17838 | { | |
17839 | XMIT_HELPER_ROUTINE pfnTranslateToXmit; | |
17840 | XMIT_HELPER_ROUTINE pfnTranslateFromXmit; | |
17841 | XMIT_HELPER_ROUTINE pfnFreeXmit; | |
17842 | XMIT_HELPER_ROUTINE pfnFreeInst; | |
17843 | } XMIT_ROUTINE_QUINTUPLE, *PXMIT_ROUTINE_QUINTUPLE; | |
17844 | ||
17845 | typedef unsigned long (__attribute__((__stdcall__)) *USER_MARSHAL_SIZING_ROUTINE)(unsigned long *, unsigned long, void *); | |
17846 | typedef unsigned char * (__attribute__((__stdcall__)) *USER_MARSHAL_MARSHALLING_ROUTINE)(unsigned long *, unsigned char *, void *); | |
17847 | typedef unsigned char * (__attribute__((__stdcall__)) *USER_MARSHAL_UNMARSHALLING_ROUTINE)(unsigned long *, unsigned char *, void *); | |
17848 | typedef void (__attribute__((__stdcall__)) *USER_MARSHAL_FREEING_ROUTINE)(unsigned long *, void *); | |
17849 | ||
17850 | typedef struct _USER_MARSHAL_ROUTINE_QUADRUPLE | |
17851 | { | |
17852 | USER_MARSHAL_SIZING_ROUTINE pfnBufferSize; | |
17853 | USER_MARSHAL_MARSHALLING_ROUTINE pfnMarshall; | |
17854 | USER_MARSHAL_UNMARSHALLING_ROUTINE pfnUnmarshall; | |
17855 | USER_MARSHAL_FREEING_ROUTINE pfnFree; | |
17856 | } USER_MARSHAL_ROUTINE_QUADRUPLE; | |
17857 | ||
17858 | ||
17859 | ||
17860 | ||
17861 | ||
17862 | ||
17863 | typedef enum | |
17864 | { | |
17865 | USER_MARSHAL_CB_BUFFER_SIZE, | |
17866 | USER_MARSHAL_CB_MARSHALL, | |
17867 | USER_MARSHAL_CB_UNMARSHALL, | |
17868 | USER_MARSHAL_CB_FREE | |
17869 | } USER_MARSHAL_CB_TYPE; | |
17870 | ||
17871 | typedef struct _USER_MARSHAL_CB | |
17872 | { | |
17873 | unsigned long Flags; | |
17874 | PMIDL_STUB_MESSAGE pStubMsg; | |
17875 | PFORMAT_STRING pReserve; | |
17876 | unsigned long Signature; | |
17877 | USER_MARSHAL_CB_TYPE CBType; | |
17878 | PFORMAT_STRING pFormat; | |
17879 | PFORMAT_STRING pTypeFormat; | |
17880 | } USER_MARSHAL_CB; | |
17881 | # 299 "../../../include/rpcndr.h" | |
17882 | typedef struct _MALLOC_FREE_STRUCT | |
17883 | { | |
17884 | void * (__attribute__((__stdcall__)) *pfnAllocate)(size_t); | |
17885 | void (__attribute__((__stdcall__)) *pfnFree)(void *); | |
17886 | } MALLOC_FREE_STRUCT; | |
17887 | ||
17888 | typedef struct _COMM_FAULT_OFFSETS | |
17889 | { | |
17890 | short CommOffset; | |
17891 | short FaultOffset; | |
17892 | } COMM_FAULT_OFFSETS; | |
17893 | ||
17894 | typedef struct _MIDL_STUB_DESC | |
17895 | { | |
17896 | void *RpcInterfaceInformation; | |
17897 | void * (__attribute__((__stdcall__)) *pfnAllocate)(size_t); | |
17898 | void (__attribute__((__stdcall__)) *pfnFree)(void *); | |
17899 | union { | |
17900 | handle_t *pAutoHandle; | |
17901 | handle_t *pPrimitiveHandle; | |
17902 | PGENERIC_BINDING_INFO pGenericBindingInfo; | |
17903 | } IMPLICIT_HANDLE_INFO; | |
17904 | const NDR_RUNDOWN *apfnNdrRundownRoutines; | |
17905 | const GENERIC_BINDING_ROUTINE_PAIR *aGenericBindingRoutinePairs; | |
17906 | const EXPR_EVAL *apfnExprEval; | |
17907 | const XMIT_ROUTINE_QUINTUPLE *aXmitQuintuple; | |
17908 | const unsigned char *pFormatTypes; | |
17909 | int fCheckBounds; | |
17910 | unsigned long Version; | |
17911 | MALLOC_FREE_STRUCT *pMallocFreeStruct; | |
17912 | long MIDLVersion; | |
17913 | const COMM_FAULT_OFFSETS *CommFaultOffsets; | |
17914 | const USER_MARSHAL_ROUTINE_QUADRUPLE *aUserMarshalQuadruple; | |
17915 | const NDR_NOTIFY_ROUTINE *NotifyRoutineTable; | |
17916 | ULONG_PTR mFlags; | |
17917 | ULONG_PTR Reserved3; | |
17918 | ULONG_PTR Reserved4; | |
17919 | ULONG_PTR Reserved5; | |
17920 | } MIDL_STUB_DESC; | |
17921 | typedef const MIDL_STUB_DESC *PMIDL_STUB_DESC; | |
17922 | ||
17923 | typedef struct _MIDL_FORMAT_STRING | |
17924 | { | |
17925 | short Pad; | |
17926 | ||
17927 | unsigned char Format[0]; | |
17928 | ||
17929 | ||
17930 | ||
17931 | } MIDL_FORMAT_STRING; | |
17932 | ||
17933 | typedef struct _MIDL_SYNTAX_INFO | |
17934 | { | |
17935 | RPC_SYNTAX_IDENTIFIER TransferSyntax; | |
17936 | RPC_DISPATCH_TABLE* DispatchTable; | |
17937 | PFORMAT_STRING ProcString; | |
17938 | const unsigned short* FmtStringOffset; | |
17939 | PFORMAT_STRING TypeString; | |
17940 | const void* aUserMarshalQuadruple; | |
17941 | ULONG_PTR pReserved1; | |
17942 | ULONG_PTR pReserved2; | |
17943 | } MIDL_SYNTAX_INFO, *PMIDL_SYNTAX_INFO; | |
17944 | ||
17945 | typedef void (__attribute__((__stdcall__)) *STUB_THUNK)( PMIDL_STUB_MESSAGE ); | |
17946 | ||
17947 | typedef long (__attribute__((__stdcall__)) *SERVER_ROUTINE)(); | |
17948 | ||
17949 | typedef struct _MIDL_SERVER_INFO_ | |
17950 | { | |
17951 | PMIDL_STUB_DESC pStubDesc; | |
17952 | const SERVER_ROUTINE *DispatchTable; | |
17953 | PFORMAT_STRING ProcString; | |
17954 | const unsigned short *FmtStringOffset; | |
17955 | const STUB_THUNK *ThunkTable; | |
17956 | PRPC_SYNTAX_IDENTIFIER pTransferSyntax; | |
17957 | ULONG_PTR nCount; | |
17958 | PMIDL_SYNTAX_INFO pSyntaxInfo; | |
17959 | } MIDL_SERVER_INFO, *PMIDL_SERVER_INFO; | |
17960 | ||
17961 | typedef struct _MIDL_STUBLESS_PROXY_INFO | |
17962 | { | |
17963 | PMIDL_STUB_DESC pStubDesc; | |
17964 | PFORMAT_STRING ProcFormatString; | |
17965 | const unsigned short *FormatStringOffset; | |
17966 | PRPC_SYNTAX_IDENTIFIER pTransferSyntax; | |
17967 | ULONG_PTR nCount; | |
17968 | PMIDL_SYNTAX_INFO pSyntaxInfo; | |
17969 | } MIDL_STUBLESS_PROXY_INFO, *PMIDL_STUBLESS_PROXY_INFO; | |
17970 | ||
17971 | typedef union _CLIENT_CALL_RETURN | |
17972 | { | |
17973 | void *Pointer; | |
17974 | LONG_PTR Simple; | |
17975 | } CLIENT_CALL_RETURN; | |
17976 | ||
17977 | typedef enum { | |
17978 | STUB_UNMARSHAL, | |
17979 | STUB_CALL_SERVER, | |
17980 | STUB_MARSHAL, | |
17981 | STUB_CALL_SERVER_NO_HRESULT | |
17982 | } STUB_PHASE; | |
17983 | ||
17984 | typedef enum { | |
17985 | PROXY_CALCSIZE, | |
17986 | PROXY_GETBUFFER, | |
17987 | PROXY_MARSHAL, | |
17988 | PROXY_SENDRECEIVE, | |
17989 | PROXY_UNMARSHAL | |
17990 | } PROXY_PHASE; | |
17991 | ||
17992 | typedef enum { | |
17993 | XLAT_SERVER = 1, | |
17994 | XLAT_CLIENT | |
17995 | } XLAT_SIDE; | |
17996 | ||
17997 | typedef struct _FULL_PTR_TO_REFID_ELEMENT { | |
17998 | struct _FULL_PTR_TO_REFID_ELEMENT *Next; | |
17999 | void *Pointer; | |
18000 | unsigned long RefId; | |
18001 | unsigned char State; | |
18002 | } FULL_PTR_TO_REFID_ELEMENT, *PFULL_PTR_TO_REFID_ELEMENT; | |
18003 | ||
18004 | ||
18005 | typedef struct _FULL_PTR_XLAT_TABLES { | |
18006 | struct { | |
18007 | void **XlatTable; | |
18008 | unsigned char *StateTable; | |
18009 | unsigned long NumberOfEntries; | |
18010 | } RefIdToPointer; | |
18011 | ||
18012 | struct { | |
18013 | PFULL_PTR_TO_REFID_ELEMENT *XlatTable; | |
18014 | unsigned long NumberOfBuckets; | |
18015 | unsigned long HashMask; | |
18016 | } PointerToRefId; | |
18017 | ||
18018 | unsigned long NextRefId; | |
18019 | XLAT_SIDE XlatSide; | |
18020 | } FULL_PTR_XLAT_TABLES, *PFULL_PTR_XLAT_TABLES; | |
18021 | ||
18022 | struct IRpcStubBuffer; | |
18023 | ||
18024 | typedef unsigned long error_status_t; | |
18025 | typedef void * NDR_CCONTEXT; | |
18026 | ||
18027 | typedef struct _SCONTEXT_QUEUE { | |
18028 | unsigned long NumberOfObjects; | |
18029 | NDR_SCONTEXT *ArrayOfObjects; | |
18030 | } SCONTEXT_QUEUE, *PSCONTEXT_QUEUE; | |
18031 | ||
18032 | ||
18033 | ||
18034 | RPC_BINDING_HANDLE __attribute__((__stdcall__)) | |
18035 | NDRCContextBinding( NDR_CCONTEXT CContext ); | |
18036 | ||
18037 | void __attribute__((__stdcall__)) | |
18038 | NDRCContextMarshall( NDR_CCONTEXT CContext, void *pBuff ); | |
18039 | ||
18040 | void __attribute__((__stdcall__)) | |
18041 | NDRCContextUnmarshall( NDR_CCONTEXT *pCContext, RPC_BINDING_HANDLE hBinding, | |
18042 | void *pBuff, unsigned long DataRepresentation ); | |
18043 | ||
18044 | void __attribute__((__stdcall__)) | |
18045 | NDRSContextMarshall( NDR_SCONTEXT CContext, void *pBuff, NDR_RUNDOWN userRunDownIn ); | |
18046 | ||
18047 | NDR_SCONTEXT __attribute__((__stdcall__)) | |
18048 | NDRSContextUnmarshall( void *pBuff, unsigned long DataRepresentation ); | |
18049 | ||
18050 | void __attribute__((__stdcall__)) | |
18051 | NDRSContextMarshallEx( RPC_BINDING_HANDLE BindingHandle, NDR_SCONTEXT CContext, | |
18052 | void *pBuff, NDR_RUNDOWN userRunDownIn ); | |
18053 | ||
18054 | void __attribute__((__stdcall__)) | |
18055 | NDRSContextMarshall2( RPC_BINDING_HANDLE BindingHandle, NDR_SCONTEXT CContext, | |
18056 | void *pBuff, NDR_RUNDOWN userRunDownIn, void * CtxGuard, | |
18057 | unsigned long Flags ); | |
18058 | ||
18059 | NDR_SCONTEXT __attribute__((__stdcall__)) | |
18060 | NDRSContextUnmarshallEx( RPC_BINDING_HANDLE BindingHandle, void *pBuff, | |
18061 | unsigned long DataRepresentation ); | |
18062 | ||
18063 | NDR_SCONTEXT __attribute__((__stdcall__)) | |
18064 | NDRSContextUnmarshall2( RPC_BINDING_HANDLE BindingHandle, void *pBuff, | |
18065 | unsigned long DataRepresentation, void *CtxGuard, | |
18066 | unsigned long Flags ); | |
18067 | ||
18068 | void __attribute__((__stdcall__)) | |
18069 | NdrClientContextMarshall ( PMIDL_STUB_MESSAGE pStubMsg, NDR_CCONTEXT ContextHandle, int fCheck ); | |
18070 | ||
18071 | void __attribute__((__stdcall__)) | |
18072 | NdrClientContextUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, NDR_CCONTEXT* pContextHandle, | |
18073 | RPC_BINDING_HANDLE BindHandle ); | |
18074 | ||
18075 | void __attribute__((__stdcall__)) | |
18076 | NdrServerContextMarshall ( PMIDL_STUB_MESSAGE pStubMsg, NDR_SCONTEXT ContextHandle, NDR_RUNDOWN RundownRoutine ); | |
18077 | ||
18078 | NDR_SCONTEXT __attribute__((__stdcall__)) | |
18079 | NdrServerContextUnmarshall( PMIDL_STUB_MESSAGE pStubMsg ); | |
18080 | ||
18081 | void __attribute__((__stdcall__)) | |
18082 | NdrContextHandleSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18083 | ||
18084 | NDR_SCONTEXT __attribute__((__stdcall__)) | |
18085 | NdrContextHandleInitialize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); | |
18086 | ||
18087 | void __attribute__((__stdcall__)) | |
18088 | NdrServerContextNewMarshall( PMIDL_STUB_MESSAGE pStubMsg, NDR_SCONTEXT ContextHandle, | |
18089 | NDR_RUNDOWN RundownRoutine, PFORMAT_STRING pFormat ); | |
18090 | ||
18091 | NDR_SCONTEXT __attribute__((__stdcall__)) | |
18092 | NdrServerContextNewUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); | |
18093 | ||
18094 | void __attribute__((__stdcall__)) | |
18095 | RpcSsDestroyClientContext( void **ContextHandle ); | |
18096 | ||
18097 | void __attribute__((__stdcall__)) | |
18098 | NdrSimpleTypeMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, unsigned char FormatChar ); | |
18099 | void __attribute__((__stdcall__)) | |
18100 | NdrSimpleTypeUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, unsigned char FormatChar ); | |
18101 | # 535 "../../../include/rpcndr.h" | |
18102 | unsigned char* __attribute__((__stdcall__)) NdrPointerMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrPointerUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrPointerBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrPointerMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrPointerFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18103 | unsigned char* __attribute__((__stdcall__)) NdrSimpleStructMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrSimpleStructUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrSimpleStructBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrSimpleStructMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrSimpleStructFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18104 | unsigned char* __attribute__((__stdcall__)) NdrConformantStructMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrConformantStructUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrConformantStructBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrConformantStructMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrConformantStructFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18105 | unsigned char* __attribute__((__stdcall__)) NdrConformantVaryingStructMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrConformantVaryingStructUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrConformantVaryingStructBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrConformantVaryingStructMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrConformantVaryingStructFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18106 | unsigned char* __attribute__((__stdcall__)) NdrComplexStructMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrComplexStructUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrComplexStructBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrComplexStructMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrComplexStructFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18107 | unsigned char* __attribute__((__stdcall__)) NdrFixedArrayMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrFixedArrayUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrFixedArrayBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrFixedArrayMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrFixedArrayFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18108 | unsigned char* __attribute__((__stdcall__)) NdrConformantArrayMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrConformantArrayUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrConformantArrayBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrConformantArrayMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrConformantArrayFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18109 | unsigned char* __attribute__((__stdcall__)) NdrConformantVaryingArrayMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrConformantVaryingArrayUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrConformantVaryingArrayBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrConformantVaryingArrayMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrConformantVaryingArrayFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18110 | unsigned char* __attribute__((__stdcall__)) NdrVaryingArrayMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrVaryingArrayUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrVaryingArrayBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrVaryingArrayMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrVaryingArrayFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18111 | unsigned char* __attribute__((__stdcall__)) NdrComplexArrayMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrComplexArrayUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrComplexArrayBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrComplexArrayMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrComplexArrayFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18112 | unsigned char* __attribute__((__stdcall__)) NdrEncapsulatedUnionMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrEncapsulatedUnionUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrEncapsulatedUnionBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrEncapsulatedUnionMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrEncapsulatedUnionFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18113 | unsigned char* __attribute__((__stdcall__)) NdrNonEncapsulatedUnionMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrNonEncapsulatedUnionUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrNonEncapsulatedUnionBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrNonEncapsulatedUnionMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrNonEncapsulatedUnionFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18114 | unsigned char* __attribute__((__stdcall__)) NdrByteCountPointerMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrByteCountPointerUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrByteCountPointerBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrByteCountPointerMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrByteCountPointerFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18115 | unsigned char* __attribute__((__stdcall__)) NdrXmitOrRepAsMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrXmitOrRepAsUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrXmitOrRepAsBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrXmitOrRepAsMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrXmitOrRepAsFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18116 | unsigned char* __attribute__((__stdcall__)) NdrUserMarshalMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrUserMarshalUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrUserMarshalBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrUserMarshalMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrUserMarshalFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18117 | unsigned char* __attribute__((__stdcall__)) NdrInterfacePointerMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrInterfacePointerUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrInterfacePointerBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrInterfacePointerMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrInterfacePointerFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18118 | unsigned char* __attribute__((__stdcall__)) NdrRangeMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrRangeUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrRangeBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrRangeMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); void __attribute__((__stdcall__)) NdrRangeFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); | |
18119 | ||
18120 | unsigned char* __attribute__((__stdcall__)) NdrConformantStringMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrConformantStringUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrConformantStringBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrConformantStringMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); | |
18121 | unsigned char* __attribute__((__stdcall__)) NdrNonConformantStringMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned char* __attribute__((__stdcall__)) NdrNonConformantStringUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); void __attribute__((__stdcall__)) NdrNonConformantStringBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); unsigned long __attribute__((__stdcall__)) NdrNonConformantStringMemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); | |
18122 | ||
18123 | ||
18124 | ||
18125 | ||
18126 | void __attribute__((__stdcall__)) | |
18127 | NdrConvert2( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat, long NumberParams ); | |
18128 | void __attribute__((__stdcall__)) | |
18129 | NdrConvert( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat ); | |
18130 | ||
18131 | ||
18132 | ||
18133 | LONG_PTR __attribute__((__cdecl__)) | |
18134 | NdrClientCall2( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... ); | |
18135 | LONG_PTR __attribute__((__cdecl__)) | |
18136 | NdrClientCall( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... ); | |
18137 | LONG_PTR __attribute__((__cdecl__)) | |
18138 | NdrAsyncClientCall( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... ); | |
18139 | ||
18140 | void __attribute__((__stdcall__)) | |
18141 | NdrServerCall2( PRPC_MESSAGE pRpcMsg ); | |
18142 | void __attribute__((__stdcall__)) | |
18143 | NdrServerCall( PRPC_MESSAGE pRpcMsg ); | |
18144 | ||
18145 | long __attribute__((__stdcall__)) | |
18146 | NdrStubCall2( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, unsigned long * pdwStubPhase ); | |
18147 | long __attribute__((__stdcall__)) | |
18148 | NdrStubCall( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, unsigned long * pdwStubPhase ); | |
18149 | long __attribute__((__stdcall__)) | |
18150 | NdrAsyncStubCall( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, unsigned long * pdwStubPhase ); | |
18151 | ||
18152 | void* __attribute__((__stdcall__)) | |
18153 | NdrAllocate( PMIDL_STUB_MESSAGE pStubMsg, size_t Len ); | |
18154 | ||
18155 | void __attribute__((__stdcall__)) | |
18156 | NdrClearOutParameters( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat, void *ArgAddr ); | |
18157 | ||
18158 | RPC_STATUS __attribute__((__stdcall__)) | |
18159 | NdrMapCommAndFaultStatus( PMIDL_STUB_MESSAGE pStubMsg, unsigned long *pCommStatus, | |
18160 | unsigned long *pFaultStatus, RPC_STATUS Status_ ); | |
18161 | ||
18162 | void* __attribute__((__stdcall__)) | |
18163 | NdrOleAllocate( size_t Size ); | |
18164 | void __attribute__((__stdcall__)) | |
18165 | NdrOleFree( void* NodeToFree ); | |
18166 | ||
18167 | void __attribute__((__stdcall__)) | |
18168 | NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, | |
18169 | PMIDL_STUB_DESC pStubDesc, unsigned int ProcNum ); | |
18170 | unsigned char* __attribute__((__stdcall__)) | |
18171 | NdrServerInitializeNew( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc ); | |
18172 | unsigned char* __attribute__((__stdcall__)) | |
18173 | NdrGetBuffer( MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle ); | |
18174 | void __attribute__((__stdcall__)) | |
18175 | NdrFreeBuffer( MIDL_STUB_MESSAGE *pStubMsg ); | |
18176 | unsigned char* __attribute__((__stdcall__)) | |
18177 | NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char *buffer ); | |
18178 | ||
18179 | unsigned char * __attribute__((__stdcall__)) | |
18180 | NdrNsGetBuffer( PMIDL_STUB_MESSAGE pStubMsg, unsigned long BufferLength, RPC_BINDING_HANDLE Handle ); | |
18181 | unsigned char * __attribute__((__stdcall__)) | |
18182 | NdrNsSendReceive( PMIDL_STUB_MESSAGE pStubMsg, unsigned char *pBufferEnd, RPC_BINDING_HANDLE *pAutoHandle ); | |
18183 | ||
18184 | PFULL_PTR_XLAT_TABLES __attribute__((__stdcall__)) | |
18185 | NdrFullPointerXlatInit( unsigned long NumberOfPointers, XLAT_SIDE XlatSide ); | |
18186 | void __attribute__((__stdcall__)) | |
18187 | NdrFullPointerXlatFree( PFULL_PTR_XLAT_TABLES pXlatTables ); | |
18188 | int __attribute__((__stdcall__)) | |
18189 | NdrFullPointerQueryPointer( PFULL_PTR_XLAT_TABLES pXlatTables, void *pPointer, | |
18190 | unsigned char QueryType, unsigned long *pRefId ); | |
18191 | int __attribute__((__stdcall__)) | |
18192 | NdrFullPointerQueryRefId( PFULL_PTR_XLAT_TABLES pXlatTables, unsigned long RefId, | |
18193 | unsigned char QueryType, void **ppPointer ); | |
18194 | void __attribute__((__stdcall__)) | |
18195 | NdrFullPointerInsertRefId( PFULL_PTR_XLAT_TABLES pXlatTables, unsigned long RefId, void *pPointer ); | |
18196 | int __attribute__((__stdcall__)) | |
18197 | NdrFullPointerFree( PFULL_PTR_XLAT_TABLES pXlatTables, void *Pointer ); | |
18198 | ||
18199 | void __attribute__((__stdcall__)) | |
18200 | NdrRpcSsEnableAllocate( PMIDL_STUB_MESSAGE pMessage ); | |
18201 | void __attribute__((__stdcall__)) | |
18202 | NdrRpcSsDisableAllocate( PMIDL_STUB_MESSAGE pMessage ); | |
18203 | void __attribute__((__stdcall__)) | |
18204 | NdrRpcSmSetClientToOsf( PMIDL_STUB_MESSAGE pMessage ); | |
18205 | void * __attribute__((__stdcall__)) | |
18206 | NdrRpcSmClientAllocate( size_t Size ); | |
18207 | void __attribute__((__stdcall__)) | |
18208 | NdrRpcSmClientFree( void *NodeToFree ); | |
18209 | void * __attribute__((__stdcall__)) | |
18210 | NdrRpcSsDefaultAllocate( size_t Size ); | |
18211 | void __attribute__((__stdcall__)) | |
18212 | NdrRpcSsDefaultFree( void *NodeToFree ); | |
18213 | # 21 "../../../include/objbase.h" 2 | |
18214 | # 277 "../../../include/objbase.h" | |
18215 | typedef struct IRpcStubBuffer IRpcStubBuffer; | |
18216 | ||
18217 | ||
18218 | ||
18219 | typedef struct IRpcChannelBuffer IRpcChannelBuffer; | |
18220 | ||
18221 | ||
18222 | # 1 "../../../include/objidl.h" 1 | |
18223 | ||
18224 | # 1 "../../../include/rpc.h" 1 | |
18225 | # 3 "../../../include/objidl.h" 2 | |
18226 | # 1 "../../../include/rpcndr.h" 1 | |
18227 | # 4 "../../../include/objidl.h" 2 | |
18228 | ||
18229 | ||
18230 | ||
18231 | ||
18232 | ||
18233 | ||
18234 | # 1 "../../../include/unknwn.h" 1 | |
18235 | ||
18236 | # 1 "../../../include/rpc.h" 1 | |
18237 | # 3 "../../../include/unknwn.h" 2 | |
18238 | # 1 "../../../include/rpcndr.h" 1 | |
18239 | # 4 "../../../include/unknwn.h" 2 | |
18240 | ||
18241 | ||
18242 | ||
18243 | ||
18244 | ||
18245 | ||
18246 | # 1 "../../../include/wtypes.h" 1 | |
18247 | ||
18248 | # 1 "../../../include/rpc.h" 1 | |
18249 | # 3 "../../../include/wtypes.h" 2 | |
18250 | # 1 "../../../include/rpcndr.h" 1 | |
18251 | # 4 "../../../include/wtypes.h" 2 | |
18252 | ||
18253 | ||
18254 | ||
18255 | ||
18256 | ||
18257 | ||
18258 | ||
18259 | # 1 "../../../include/guiddef.h" 1 | |
18260 | # 12 "../../../include/wtypes.h" 2 | |
18261 | # 146 "../../../include/wtypes.h" | |
18262 | typedef double __attribute__((aligned(8))) DOUBLE; | |
18263 | # 229 "../../../include/wtypes.h" | |
18264 | typedef WCHAR OLECHAR; | |
18265 | typedef OLECHAR *LPOLESTR; | |
18266 | typedef const OLECHAR *LPCOLESTR; | |
18267 | ||
18268 | ||
18269 | ||
18270 | typedef LONG SCODE; | |
18271 | typedef struct _COAUTHIDENTITY { | |
18272 | USHORT *User; | |
18273 | ULONG UserLength; | |
18274 | USHORT *Domain; | |
18275 | ULONG DomainLength; | |
18276 | USHORT *Password; | |
18277 | ULONG PasswordLength; | |
18278 | ULONG Flags; | |
18279 | } COAUTHIDENTITY; | |
18280 | typedef struct _COAUTHINFO { | |
18281 | DWORD dwAuthnSvc; | |
18282 | DWORD dwAuthzSvc; | |
18283 | LPWSTR pwszServerPrincName; | |
18284 | DWORD dwAuthnLevel; | |
18285 | DWORD dwImpersonationLevel; | |
18286 | COAUTHIDENTITY *pAuthIdentityData; | |
18287 | DWORD dwCapabilities; | |
18288 | } COAUTHINFO; | |
18289 | typedef enum tagMEMCTX { | |
18290 | MEMCTX_TASK = 1, | |
18291 | MEMCTX_SHARED = 2, | |
18292 | MEMCTX_MACSYSTEM = 3, | |
18293 | MEMCTX_UNKNOWN = -1, | |
18294 | MEMCTX_SAME = -2 | |
18295 | } MEMCTX; | |
18296 | # 270 "../../../include/wtypes.h" | |
18297 | typedef enum tagCLSCTX { | |
18298 | CLSCTX_INPROC_SERVER = 0x1, | |
18299 | CLSCTX_INPROC_HANDLER = 0x2, | |
18300 | CLSCTX_LOCAL_SERVER = 0x4, | |
18301 | CLSCTX_INPROC_SERVER16 = 0x8, | |
18302 | CLSCTX_REMOTE_SERVER = 0x10, | |
18303 | CLSCTX_INPROC_HANDLER16 = 0x20, | |
18304 | CLSCTX_INPROC_SERVERX86 = 0x40, | |
18305 | CLSCTX_INPROC_HANDLERX86 = 0x80, | |
18306 | CLSCTX_ESERVER_HANDLER = 0x100, | |
18307 | CLSCTX_NO_CODE_DOWNLOAD = 0x400, | |
18308 | CLSCTX_NO_CUSTOM_MARSHAL = 0x1000, | |
18309 | CLSCTX_ENABLE_CODE_DOWNLOAD = 0x2000, | |
18310 | CLSCTX_NO_FAILURE_LOG = 0x4000, | |
18311 | CLSCTX_DISABLE_AAA = 0x8000, | |
18312 | CLSCTX_ENABLE_AAA = 0x10000, | |
18313 | CLSCTX_FROM_DEFAULT_CONTEXT = 0x20000 | |
18314 | } CLSCTX; | |
18315 | ||
18316 | ||
18317 | ||
18318 | typedef enum tagMSHLFLAGS { | |
18319 | MSHLFLAGS_NORMAL = 0, | |
18320 | MSHLFLAGS_TABLESTRONG = 1, | |
18321 | MSHLFLAGS_TABLEWEAK = 2, | |
18322 | MSHLFLAGS_NOPING = 4 | |
18323 | } MSHLFLAGS; | |
18324 | typedef enum tagMSHCTX { | |
18325 | MSHCTX_LOCAL = 0, | |
18326 | MSHCTX_NOSHAREDMEM = 1, | |
18327 | MSHCTX_DIFFERENTMACHINE = 2, | |
18328 | MSHCTX_INPROC = 3, | |
18329 | MSHCTX_CROSSCTX = 4 | |
18330 | } MSHCTX; | |
18331 | typedef struct _BYTE_BLOB { | |
18332 | unsigned long clSize; | |
18333 | byte abData[1]; | |
18334 | } BYTE_BLOB; | |
18335 | typedef BYTE_BLOB *UP_BYTE_BLOB; | |
18336 | typedef struct _FLAGGED_BYTE_BLOB { | |
18337 | unsigned long fFlags; | |
18338 | unsigned long clSize; | |
18339 | byte abData[1]; | |
18340 | } FLAGGED_BYTE_BLOB; | |
18341 | typedef FLAGGED_BYTE_BLOB *UP_FLAGGED_BYTE_BLOB; | |
18342 | typedef struct _FLAGGED_WORD_BLOB { | |
18343 | unsigned long fFlags; | |
18344 | unsigned long clSize; | |
18345 | unsigned short asData[1]; | |
18346 | } FLAGGED_WORD_BLOB; | |
18347 | typedef FLAGGED_WORD_BLOB *UP_FLAGGED_WORD_BLOB; | |
18348 | typedef struct _BYTE_SIZEDARR { | |
18349 | unsigned long clSize; | |
18350 | byte *pData; | |
18351 | } BYTE_SIZEDARR; | |
18352 | typedef struct _SHORT_SIZEDARR { | |
18353 | unsigned long clSize; | |
18354 | unsigned short *pData; | |
18355 | } WORD_SIZEDARR; | |
18356 | typedef struct _LONG_SIZEDARR { | |
18357 | unsigned long clSize; | |
18358 | unsigned long *pData; | |
18359 | } DWORD_SIZEDARR; | |
18360 | typedef struct _HYPER_SIZEDARR { | |
18361 | unsigned long clSize; | |
18362 | long long *pData; | |
18363 | } HYPER_SIZEDARR; | |
18364 | ||
18365 | ||
18366 | ||
18367 | ||
18368 | ||
18369 | ||
18370 | typedef struct _userCLIPFORMAT { | |
18371 | long fContext; | |
18372 | union { | |
18373 | DWORD dwValue; | |
18374 | LPWSTR pwszName; | |
18375 | } u; | |
18376 | } userCLIPFORMAT; | |
18377 | typedef userCLIPFORMAT *wireCLIPFORMAT; | |
18378 | typedef WORD CLIPFORMAT; | |
18379 | typedef struct tagRemHGLOBAL { | |
18380 | long fNullHGlobal; | |
18381 | unsigned long cbData; | |
18382 | byte data[1]; | |
18383 | } RemHGLOBAL; | |
18384 | typedef struct _userHGLOBAL { | |
18385 | long fContext; | |
18386 | union { | |
18387 | long hInproc; | |
18388 | FLAGGED_BYTE_BLOB *hRemote; | |
18389 | long hGlobal; | |
18390 | } u; | |
18391 | } userHGLOBAL; | |
18392 | typedef userHGLOBAL *wireHGLOBAL; | |
18393 | typedef struct tagRemHMETAFILEPICT { | |
18394 | long mm; | |
18395 | long xExt; | |
18396 | long yExt; | |
18397 | unsigned long cbData; | |
18398 | byte data[1]; | |
18399 | } RemHMETAFILEPICT; | |
18400 | typedef struct _userHMETAFILE { | |
18401 | long fContext; | |
18402 | union { | |
18403 | long hInproc; | |
18404 | BYTE_BLOB *hRemote; | |
18405 | long hGlobal; | |
18406 | } u; | |
18407 | } userHMETAFILE; | |
18408 | typedef userHMETAFILE *wireHMETAFILE; | |
18409 | typedef struct _remoteMETAFILEPICT { | |
18410 | long mm; | |
18411 | long xExt; | |
18412 | long yExt; | |
18413 | userHMETAFILE *hMF; | |
18414 | } remoteMETAFILEPICT; | |
18415 | typedef struct _userHMETAFILEPICT { | |
18416 | long fContext; | |
18417 | union { | |
18418 | long hInproc; | |
18419 | remoteMETAFILEPICT *hRemote; | |
18420 | long hGlobal; | |
18421 | } u; | |
18422 | } userHMETAFILEPICT; | |
18423 | typedef userHMETAFILEPICT *wireHMETAFILEPICT; | |
18424 | typedef struct tagRemHENHMETAFILE { | |
18425 | unsigned long cbData; | |
18426 | byte data[1]; | |
18427 | } RemHENHMETAFILE; | |
18428 | typedef struct _userHENHMETAFILE { | |
18429 | long fContext; | |
18430 | union { | |
18431 | long hInproc; | |
18432 | BYTE_BLOB *hRemote; | |
18433 | long hGlobal; | |
18434 | } u; | |
18435 | } userHENHMETAFILE; | |
18436 | typedef userHENHMETAFILE *wireHENHMETAFILE; | |
18437 | typedef struct tagRemHBITMAP { | |
18438 | unsigned long cbData; | |
18439 | byte data[1]; | |
18440 | } RemHBITMAP; | |
18441 | typedef struct _userBITMAP { | |
18442 | LONG bmType; | |
18443 | LONG bmWidth; | |
18444 | LONG bmHeight; | |
18445 | LONG bmWidthBytes; | |
18446 | WORD bmPlanes; | |
18447 | WORD bmBitsPixel; | |
18448 | ULONG cbSize; | |
18449 | byte pBuffer[1]; | |
18450 | } userBITMAP; | |
18451 | typedef struct _userHBITMAP { | |
18452 | long fContext; | |
18453 | union { | |
18454 | long hInproc; | |
18455 | userBITMAP *hRemote; | |
18456 | long hGlobal; | |
18457 | } u; | |
18458 | } userHBITMAP; | |
18459 | typedef userHBITMAP *wireHBITMAP; | |
18460 | typedef struct tagRemHPALETTE { | |
18461 | unsigned long cbData; | |
18462 | byte data[1]; | |
18463 | } RemHPALETTE; | |
18464 | typedef struct tagrpcLOGPALETTE { | |
18465 | WORD palVersion; | |
18466 | WORD palNumEntries; | |
18467 | PALETTEENTRY palPalEntry[1]; | |
18468 | } rpcLOGPALETTE; | |
18469 | typedef struct _userHPALETTE { | |
18470 | long fContext; | |
18471 | union { | |
18472 | long hInproc; | |
18473 | rpcLOGPALETTE *hRemote; | |
18474 | long hGlobal; | |
18475 | } u; | |
18476 | } userHPALETTE; | |
18477 | typedef userHPALETTE *wireHPALETTE; | |
18478 | # 459 "../../../include/wtypes.h" | |
18479 | typedef void *HMETAFILEPICT; | |
18480 | typedef struct _RemotableHandle { | |
18481 | long fContext; | |
18482 | union { | |
18483 | long hInproc; | |
18484 | long hRemote; | |
18485 | } u; | |
18486 | } RemotableHandle; | |
18487 | typedef RemotableHandle *wireHACCEL; | |
18488 | typedef RemotableHandle *wireHBRUSH; | |
18489 | typedef RemotableHandle *wireHDC; | |
18490 | typedef RemotableHandle *wireHFONT; | |
18491 | typedef RemotableHandle *wireHICON; | |
18492 | typedef RemotableHandle *wireHMENU; | |
18493 | typedef RemotableHandle *wireHWND; | |
18494 | # 501 "../../../include/wtypes.h" | |
18495 | typedef enum tagDVASPECT { | |
18496 | DVASPECT_CONTENT = 1, | |
18497 | DVASPECT_THUMBNAIL = 2, | |
18498 | DVASPECT_ICON = 4, | |
18499 | DVASPECT_DOCPRINT = 8 | |
18500 | } DVASPECT; | |
18501 | typedef enum tagSTGC { | |
18502 | STGC_DEFAULT = 0, | |
18503 | STGC_OVERWRITE = 1, | |
18504 | STGC_ONLYIFCURRENT = 2, | |
18505 | STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE = 4, | |
18506 | STGC_CONSOLIDATE = 8 | |
18507 | } STGC; | |
18508 | typedef enum tagSTGMOVE { | |
18509 | STGMOVE_MOVE = 0, | |
18510 | STGMOVE_COPY = 1, | |
18511 | STGMOVE_SHALLOWCOPY = 2 | |
18512 | } STGMOVE; | |
18513 | typedef enum tagSTATFLAG { | |
18514 | STATFLAG_DEFAULT = 0, | |
18515 | STATFLAG_NONAME = 1, | |
18516 | STATFLAG_NOOPEN = 2 | |
18517 | } STATFLAG; | |
18518 | ||
18519 | ||
18520 | ||
18521 | typedef double __attribute__((aligned(8))) DATE; | |
18522 | # 536 "../../../include/wtypes.h" | |
18523 | typedef union tagCY { | |
18524 | struct { | |
18525 | ||
18526 | ||
18527 | ||
18528 | ||
18529 | ULONG Lo; | |
18530 | LONG Hi; | |
18531 | ||
18532 | } ; | |
18533 | LONGLONG int64; | |
18534 | } CY; | |
18535 | ||
18536 | ||
18537 | typedef CY *LPCY; | |
18538 | # 560 "../../../include/wtypes.h" | |
18539 | typedef struct tagDEC { | |
18540 | USHORT wReserved; | |
18541 | union { | |
18542 | struct { | |
18543 | BYTE scale; | |
18544 | BYTE sign; | |
18545 | } ; | |
18546 | USHORT signscale; | |
18547 | } ; | |
18548 | ULONG Hi32; | |
18549 | union { | |
18550 | struct { | |
18551 | ||
18552 | ||
18553 | ||
18554 | ||
18555 | ULONG Lo32; | |
18556 | ULONG Mid32; | |
18557 | ||
18558 | } ; | |
18559 | ULONGLONG Lo64; | |
18560 | } ; | |
18561 | } DECIMAL; | |
18562 | ||
18563 | ||
18564 | ||
18565 | typedef DECIMAL *LPDECIMAL; | |
18566 | typedef FLAGGED_WORD_BLOB *wireBSTR; | |
18567 | typedef OLECHAR *BSTR; | |
18568 | typedef BSTR *LPBSTR; | |
18569 | typedef short VARIANT_BOOL; | |
18570 | typedef VARIANT_BOOL _VARIANT_BOOL; | |
18571 | ||
18572 | ||
18573 | typedef struct tagBSTRBLOB { | |
18574 | ULONG cbSize; | |
18575 | BYTE *pData; | |
18576 | } BSTRBLOB; | |
18577 | typedef struct tagBSTRBLOB *LPBSTRBLOB; | |
18578 | # 609 "../../../include/wtypes.h" | |
18579 | typedef struct tagCLIPDATA { | |
18580 | ULONG cbSize; | |
18581 | long ulClipFmt; | |
18582 | BYTE *pClipData; | |
18583 | } CLIPDATA; | |
18584 | ||
18585 | typedef ULONG PROPID; | |
18586 | typedef unsigned short VARTYPE; | |
18587 | enum VARENUM { | |
18588 | VT_EMPTY = 0, | |
18589 | VT_NULL = 1, | |
18590 | VT_I2 = 2, | |
18591 | VT_I4 = 3, | |
18592 | VT_R4 = 4, | |
18593 | VT_R8 = 5, | |
18594 | VT_CY = 6, | |
18595 | VT_DATE = 7, | |
18596 | VT_BSTR = 8, | |
18597 | VT_DISPATCH = 9, | |
18598 | VT_ERROR = 10, | |
18599 | VT_BOOL = 11, | |
18600 | VT_VARIANT = 12, | |
18601 | VT_UNKNOWN = 13, | |
18602 | VT_DECIMAL = 14, | |
18603 | VT_I1 = 16, | |
18604 | VT_UI1 = 17, | |
18605 | VT_UI2 = 18, | |
18606 | VT_UI4 = 19, | |
18607 | VT_I8 = 20, | |
18608 | VT_UI8 = 21, | |
18609 | VT_INT = 22, | |
18610 | VT_UINT = 23, | |
18611 | VT_VOID = 24, | |
18612 | VT_HRESULT = 25, | |
18613 | VT_PTR = 26, | |
18614 | VT_SAFEARRAY = 27, | |
18615 | VT_CARRAY = 28, | |
18616 | VT_USERDEFINED = 29, | |
18617 | VT_LPSTR = 30, | |
18618 | VT_LPWSTR = 31, | |
18619 | VT_RECORD = 36, | |
18620 | VT_INT_PTR = 37, | |
18621 | VT_UINT_PTR = 38, | |
18622 | VT_FILETIME = 64, | |
18623 | VT_BLOB = 65, | |
18624 | VT_STREAM = 66, | |
18625 | VT_STORAGE = 67, | |
18626 | VT_STREAMED_OBJECT = 68, | |
18627 | VT_STORED_OBJECT = 69, | |
18628 | VT_BLOB_OBJECT = 70, | |
18629 | VT_CF = 71, | |
18630 | VT_CLSID = 72, | |
18631 | VT_VERSIONED_STREAM = 73, | |
18632 | VT_BSTR_BLOB = 0xfff, | |
18633 | VT_VECTOR = 0x1000, | |
18634 | VT_ARRAY = 0x2000, | |
18635 | VT_BYREF = 0x4000, | |
18636 | VT_RESERVED = 0x8000, | |
18637 | VT_ILLEGAL = 0xffff, | |
18638 | VT_ILLEGALMASKED = 0xfff, | |
18639 | VT_TYPEMASK = 0xfff | |
18640 | }; | |
18641 | ||
18642 | typedef struct tagCSPLATFORM { | |
18643 | DWORD dwPlatformId; | |
18644 | DWORD dwVersionHi; | |
18645 | DWORD dwVersionLo; | |
18646 | DWORD dwProcessorArch; | |
18647 | } CSPLATFORM; | |
18648 | typedef struct tagQUERYCONTEXT { | |
18649 | DWORD dwContext; | |
18650 | CSPLATFORM Platform; | |
18651 | LCID Locale; | |
18652 | DWORD dwVersionHi; | |
18653 | DWORD dwVersionLo; | |
18654 | } QUERYCONTEXT; | |
18655 | typedef enum tagTYSPEC { | |
18656 | TYSPEC_CLSID = 0, | |
18657 | TYSPEC_FILEEXT = 1, | |
18658 | TYSPEC_MIMETYPE = 2, | |
18659 | TYSPEC_PROGID = 3, | |
18660 | TYSPEC_FILENAME = 4, | |
18661 | TYSPEC_PACKAGENAME = 5, | |
18662 | TYSPEC_OBJECTID = 6 | |
18663 | } TYSPEC; | |
18664 | typedef struct __WIDL_wtypes_generated_name_00000000 { | |
18665 | DWORD tyspec; | |
18666 | union { | |
18667 | CLSID clsid; | |
18668 | LPOLESTR pFileExt; | |
18669 | LPOLESTR pMimeType; | |
18670 | LPOLESTR pProgId; | |
18671 | LPOLESTR pFileName; | |
18672 | struct { | |
18673 | LPOLESTR pPackageName; | |
18674 | GUID PolicyId; | |
18675 | } ByName; | |
18676 | struct { | |
18677 | GUID ObjectId; | |
18678 | GUID PolicyId; | |
18679 | } ByObjectId; | |
18680 | } tagged_union; | |
18681 | } uCLSSPEC; | |
18682 | void * __attribute__((__stdcall__)) MIDL_user_allocate(size_t); | |
18683 | void __attribute__((__stdcall__)) MIDL_user_free(void *); | |
18684 | # 11 "../../../include/unknwn.h" 2 | |
18685 | ||
18686 | ||
18687 | typedef struct IUnknown IUnknown; | |
18688 | ||
18689 | ||
18690 | typedef IUnknown *LPUNKNOWN; | |
18691 | ||
18692 | ||
18693 | ||
18694 | ||
18695 | ||
18696 | ||
18697 | extern const GUID IID_IUnknown __attribute__((visibility ("hidden"))); | |
18698 | # 42 "../../../include/unknwn.h" | |
18699 | typedef struct IUnknownVtbl { | |
18700 | ||
18701 | ||
18702 | ||
18703 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
18704 | IUnknown* This, | |
18705 | const IID* const riid, | |
18706 | void** ppvObject); | |
18707 | ||
18708 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
18709 | IUnknown* This); | |
18710 | ||
18711 | ULONG (__attribute__((__stdcall__)) *Release)( | |
18712 | IUnknown* This); | |
18713 | ||
18714 | ||
18715 | } IUnknownVtbl; | |
18716 | struct IUnknown { | |
18717 | const IUnknownVtbl* lpVtbl; | |
18718 | }; | |
18719 | # 72 "../../../include/unknwn.h" | |
18720 | HRESULT __attribute__((__stdcall__)) IUnknown_QueryInterface_Proxy( | |
18721 | IUnknown* This, | |
18722 | const IID* const riid, | |
18723 | void** ppvObject); | |
18724 | void __attribute__((__stdcall__)) IUnknown_QueryInterface_Stub( | |
18725 | IRpcStubBuffer* This, | |
18726 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18727 | PRPC_MESSAGE pRpcMessage, | |
18728 | DWORD* pdwStubPhase); | |
18729 | ULONG __attribute__((__stdcall__)) IUnknown_AddRef_Proxy( | |
18730 | IUnknown* This); | |
18731 | void __attribute__((__stdcall__)) IUnknown_AddRef_Stub( | |
18732 | IRpcStubBuffer* This, | |
18733 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18734 | PRPC_MESSAGE pRpcMessage, | |
18735 | DWORD* pdwStubPhase); | |
18736 | ULONG __attribute__((__stdcall__)) IUnknown_Release_Proxy( | |
18737 | IUnknown* This); | |
18738 | void __attribute__((__stdcall__)) IUnknown_Release_Stub( | |
18739 | IRpcStubBuffer* This, | |
18740 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18741 | PRPC_MESSAGE pRpcMessage, | |
18742 | DWORD* pdwStubPhase); | |
18743 | ||
18744 | ||
18745 | ||
18746 | ||
18747 | ||
18748 | typedef struct IClassFactory IClassFactory; | |
18749 | ||
18750 | ||
18751 | typedef IClassFactory *LPCLASSFACTORY; | |
18752 | ||
18753 | ||
18754 | ||
18755 | ||
18756 | ||
18757 | ||
18758 | extern const GUID IID_IClassFactory __attribute__((visibility ("hidden"))); | |
18759 | # 124 "../../../include/unknwn.h" | |
18760 | typedef struct IClassFactoryVtbl { | |
18761 | ||
18762 | ||
18763 | ||
18764 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
18765 | IClassFactory* This, | |
18766 | const IID* const riid, | |
18767 | void** ppvObject); | |
18768 | ||
18769 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
18770 | IClassFactory* This); | |
18771 | ||
18772 | ULONG (__attribute__((__stdcall__)) *Release)( | |
18773 | IClassFactory* This); | |
18774 | ||
18775 | ||
18776 | HRESULT (__attribute__((__stdcall__)) *CreateInstance)( | |
18777 | IClassFactory* This, | |
18778 | IUnknown* pUnkOuter, | |
18779 | const IID* const riid, | |
18780 | void** ppvObject); | |
18781 | ||
18782 | HRESULT (__attribute__((__stdcall__)) *LockServer)( | |
18783 | IClassFactory* This, | |
18784 | BOOL fLock); | |
18785 | ||
18786 | ||
18787 | } IClassFactoryVtbl; | |
18788 | struct IClassFactory { | |
18789 | const IClassFactoryVtbl* lpVtbl; | |
18790 | }; | |
18791 | # 168 "../../../include/unknwn.h" | |
18792 | HRESULT __attribute__((__stdcall__)) IClassFactory_RemoteCreateInstance_Proxy( | |
18793 | IClassFactory* This, | |
18794 | const IID* const riid, | |
18795 | IUnknown** ppvObject); | |
18796 | void __attribute__((__stdcall__)) IClassFactory_RemoteCreateInstance_Stub( | |
18797 | IRpcStubBuffer* This, | |
18798 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18799 | PRPC_MESSAGE pRpcMessage, | |
18800 | DWORD* pdwStubPhase); | |
18801 | HRESULT __attribute__((__stdcall__)) IClassFactory_CreateInstance_Proxy( | |
18802 | IClassFactory* This, | |
18803 | IUnknown* pUnkOuter, | |
18804 | const IID* const riid, | |
18805 | void** ppvObject); | |
18806 | HRESULT __attribute__((__stdcall__)) IClassFactory_CreateInstance_Stub( | |
18807 | IClassFactory* This, | |
18808 | const IID* const riid, | |
18809 | IUnknown** ppvObject); | |
18810 | HRESULT __attribute__((__stdcall__)) IClassFactory_RemoteLockServer_Proxy( | |
18811 | IClassFactory* This, | |
18812 | BOOL fLock); | |
18813 | void __attribute__((__stdcall__)) IClassFactory_RemoteLockServer_Stub( | |
18814 | IRpcStubBuffer* This, | |
18815 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18816 | PRPC_MESSAGE pRpcMessage, | |
18817 | DWORD* pdwStubPhase); | |
18818 | HRESULT __attribute__((__stdcall__)) IClassFactory_LockServer_Proxy( | |
18819 | IClassFactory* This, | |
18820 | BOOL fLock); | |
18821 | HRESULT __attribute__((__stdcall__)) IClassFactory_LockServer_Stub( | |
18822 | IClassFactory* This, | |
18823 | BOOL fLock); | |
18824 | # 11 "../../../include/objidl.h" 2 | |
18825 | ||
18826 | ||
18827 | typedef struct IStream IStream; | |
18828 | ||
18829 | ||
18830 | ||
18831 | ||
18832 | typedef struct IEnumString IEnumString; | |
18833 | ||
18834 | ||
18835 | ||
18836 | ||
18837 | typedef struct IRunningObjectTable IRunningObjectTable; | |
18838 | ||
18839 | ||
18840 | ||
18841 | ||
18842 | typedef struct IMoniker IMoniker; | |
18843 | ||
18844 | ||
18845 | ||
18846 | ||
18847 | typedef struct IAdviseSink IAdviseSink; | |
18848 | ||
18849 | ||
18850 | ||
18851 | ||
18852 | typedef struct IAsyncManager IAsyncManager; | |
18853 | ||
18854 | ||
18855 | ||
18856 | ||
18857 | typedef struct ISynchronize ISynchronize; | |
18858 | ||
18859 | ||
18860 | typedef struct _COSERVERINFO { | |
18861 | DWORD dwReserved1; | |
18862 | LPWSTR pwszName; | |
18863 | COAUTHINFO *pAuthInfo; | |
18864 | DWORD dwReserved2; | |
18865 | } COSERVERINFO; | |
18866 | ||
18867 | ||
18868 | typedef struct IMarshal IMarshal; | |
18869 | ||
18870 | ||
18871 | typedef IMarshal *LPMARSHAL; | |
18872 | ||
18873 | ||
18874 | ||
18875 | ||
18876 | ||
18877 | ||
18878 | extern const GUID IID_IMarshal __attribute__((visibility ("hidden"))); | |
18879 | # 105 "../../../include/objidl.h" | |
18880 | typedef struct IMarshalVtbl { | |
18881 | ||
18882 | ||
18883 | ||
18884 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
18885 | IMarshal* This, | |
18886 | const IID* const riid, | |
18887 | void** ppvObject); | |
18888 | ||
18889 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
18890 | IMarshal* This); | |
18891 | ||
18892 | ULONG (__attribute__((__stdcall__)) *Release)( | |
18893 | IMarshal* This); | |
18894 | ||
18895 | ||
18896 | HRESULT (__attribute__((__stdcall__)) *GetUnmarshalClass)( | |
18897 | IMarshal* This, | |
18898 | const IID* const riid, | |
18899 | void* pv, | |
18900 | DWORD dwDestContext, | |
18901 | void* pvDestContext, | |
18902 | DWORD mshlflags, | |
18903 | CLSID* pCid); | |
18904 | ||
18905 | HRESULT (__attribute__((__stdcall__)) *GetMarshalSizeMax)( | |
18906 | IMarshal* This, | |
18907 | const IID* const riid, | |
18908 | void* pv, | |
18909 | DWORD dwDestContext, | |
18910 | void* pvDestContext, | |
18911 | DWORD mshlflags, | |
18912 | DWORD* pSize); | |
18913 | ||
18914 | HRESULT (__attribute__((__stdcall__)) *MarshalInterface)( | |
18915 | IMarshal* This, | |
18916 | IStream* pStm, | |
18917 | const IID* const riid, | |
18918 | void* pv, | |
18919 | DWORD dwDestContext, | |
18920 | void* pvDestContext, | |
18921 | DWORD mshlflags); | |
18922 | ||
18923 | HRESULT (__attribute__((__stdcall__)) *UnmarshalInterface)( | |
18924 | IMarshal* This, | |
18925 | IStream* pStm, | |
18926 | const IID* const riid, | |
18927 | void** ppv); | |
18928 | ||
18929 | HRESULT (__attribute__((__stdcall__)) *ReleaseMarshalData)( | |
18930 | IMarshal* This, | |
18931 | IStream* pStm); | |
18932 | ||
18933 | HRESULT (__attribute__((__stdcall__)) *DisconnectObject)( | |
18934 | IMarshal* This, | |
18935 | DWORD dwReserved); | |
18936 | ||
18937 | ||
18938 | } IMarshalVtbl; | |
18939 | struct IMarshal { | |
18940 | const IMarshalVtbl* lpVtbl; | |
18941 | }; | |
18942 | # 184 "../../../include/objidl.h" | |
18943 | HRESULT __attribute__((__stdcall__)) IMarshal_GetUnmarshalClass_Proxy( | |
18944 | IMarshal* This, | |
18945 | const IID* const riid, | |
18946 | void* pv, | |
18947 | DWORD dwDestContext, | |
18948 | void* pvDestContext, | |
18949 | DWORD mshlflags, | |
18950 | CLSID* pCid); | |
18951 | void __attribute__((__stdcall__)) IMarshal_GetUnmarshalClass_Stub( | |
18952 | IRpcStubBuffer* This, | |
18953 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18954 | PRPC_MESSAGE pRpcMessage, | |
18955 | DWORD* pdwStubPhase); | |
18956 | HRESULT __attribute__((__stdcall__)) IMarshal_GetMarshalSizeMax_Proxy( | |
18957 | IMarshal* This, | |
18958 | const IID* const riid, | |
18959 | void* pv, | |
18960 | DWORD dwDestContext, | |
18961 | void* pvDestContext, | |
18962 | DWORD mshlflags, | |
18963 | DWORD* pSize); | |
18964 | void __attribute__((__stdcall__)) IMarshal_GetMarshalSizeMax_Stub( | |
18965 | IRpcStubBuffer* This, | |
18966 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18967 | PRPC_MESSAGE pRpcMessage, | |
18968 | DWORD* pdwStubPhase); | |
18969 | HRESULT __attribute__((__stdcall__)) IMarshal_MarshalInterface_Proxy( | |
18970 | IMarshal* This, | |
18971 | IStream* pStm, | |
18972 | const IID* const riid, | |
18973 | void* pv, | |
18974 | DWORD dwDestContext, | |
18975 | void* pvDestContext, | |
18976 | DWORD mshlflags); | |
18977 | void __attribute__((__stdcall__)) IMarshal_MarshalInterface_Stub( | |
18978 | IRpcStubBuffer* This, | |
18979 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18980 | PRPC_MESSAGE pRpcMessage, | |
18981 | DWORD* pdwStubPhase); | |
18982 | HRESULT __attribute__((__stdcall__)) IMarshal_UnmarshalInterface_Proxy( | |
18983 | IMarshal* This, | |
18984 | IStream* pStm, | |
18985 | const IID* const riid, | |
18986 | void** ppv); | |
18987 | void __attribute__((__stdcall__)) IMarshal_UnmarshalInterface_Stub( | |
18988 | IRpcStubBuffer* This, | |
18989 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18990 | PRPC_MESSAGE pRpcMessage, | |
18991 | DWORD* pdwStubPhase); | |
18992 | HRESULT __attribute__((__stdcall__)) IMarshal_ReleaseMarshalData_Proxy( | |
18993 | IMarshal* This, | |
18994 | IStream* pStm); | |
18995 | void __attribute__((__stdcall__)) IMarshal_ReleaseMarshalData_Stub( | |
18996 | IRpcStubBuffer* This, | |
18997 | IRpcChannelBuffer* pRpcChannelBuffer, | |
18998 | PRPC_MESSAGE pRpcMessage, | |
18999 | DWORD* pdwStubPhase); | |
19000 | HRESULT __attribute__((__stdcall__)) IMarshal_DisconnectObject_Proxy( | |
19001 | IMarshal* This, | |
19002 | DWORD dwReserved); | |
19003 | void __attribute__((__stdcall__)) IMarshal_DisconnectObject_Stub( | |
19004 | IRpcStubBuffer* This, | |
19005 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19006 | PRPC_MESSAGE pRpcMessage, | |
19007 | DWORD* pdwStubPhase); | |
19008 | ||
19009 | ||
19010 | ||
19011 | ||
19012 | ||
19013 | typedef struct IMarshal2 IMarshal2; | |
19014 | ||
19015 | ||
19016 | typedef IMarshal2 *LPMARSHAL2; | |
19017 | ||
19018 | ||
19019 | ||
19020 | ||
19021 | ||
19022 | ||
19023 | extern const GUID IID_IMarshal2 __attribute__((visibility ("hidden"))); | |
19024 | ||
19025 | ||
19026 | ||
19027 | ||
19028 | ||
19029 | typedef struct IMarshal2Vtbl { | |
19030 | ||
19031 | ||
19032 | ||
19033 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19034 | IMarshal2* This, | |
19035 | const IID* const riid, | |
19036 | void** ppvObject); | |
19037 | ||
19038 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19039 | IMarshal2* This); | |
19040 | ||
19041 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19042 | IMarshal2* This); | |
19043 | ||
19044 | ||
19045 | HRESULT (__attribute__((__stdcall__)) *GetUnmarshalClass)( | |
19046 | IMarshal2* This, | |
19047 | const IID* const riid, | |
19048 | void* pv, | |
19049 | DWORD dwDestContext, | |
19050 | void* pvDestContext, | |
19051 | DWORD mshlflags, | |
19052 | CLSID* pCid); | |
19053 | ||
19054 | HRESULT (__attribute__((__stdcall__)) *GetMarshalSizeMax)( | |
19055 | IMarshal2* This, | |
19056 | const IID* const riid, | |
19057 | void* pv, | |
19058 | DWORD dwDestContext, | |
19059 | void* pvDestContext, | |
19060 | DWORD mshlflags, | |
19061 | DWORD* pSize); | |
19062 | ||
19063 | HRESULT (__attribute__((__stdcall__)) *MarshalInterface)( | |
19064 | IMarshal2* This, | |
19065 | IStream* pStm, | |
19066 | const IID* const riid, | |
19067 | void* pv, | |
19068 | DWORD dwDestContext, | |
19069 | void* pvDestContext, | |
19070 | DWORD mshlflags); | |
19071 | ||
19072 | HRESULT (__attribute__((__stdcall__)) *UnmarshalInterface)( | |
19073 | IMarshal2* This, | |
19074 | IStream* pStm, | |
19075 | const IID* const riid, | |
19076 | void** ppv); | |
19077 | ||
19078 | HRESULT (__attribute__((__stdcall__)) *ReleaseMarshalData)( | |
19079 | IMarshal2* This, | |
19080 | IStream* pStm); | |
19081 | ||
19082 | HRESULT (__attribute__((__stdcall__)) *DisconnectObject)( | |
19083 | IMarshal2* This, | |
19084 | DWORD dwReserved); | |
19085 | ||
19086 | ||
19087 | } IMarshal2Vtbl; | |
19088 | struct IMarshal2 { | |
19089 | const IMarshal2Vtbl* lpVtbl; | |
19090 | }; | |
19091 | # 354 "../../../include/objidl.h" | |
19092 | typedef struct IStdMarshalInfo IStdMarshalInfo; | |
19093 | ||
19094 | ||
19095 | typedef IStdMarshalInfo *LPSTDMARSHALINFO; | |
19096 | ||
19097 | ||
19098 | ||
19099 | ||
19100 | ||
19101 | ||
19102 | extern const GUID IID_IStdMarshalInfo __attribute__((visibility ("hidden"))); | |
19103 | # 375 "../../../include/objidl.h" | |
19104 | typedef struct IStdMarshalInfoVtbl { | |
19105 | ||
19106 | ||
19107 | ||
19108 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19109 | IStdMarshalInfo* This, | |
19110 | const IID* const riid, | |
19111 | void** ppvObject); | |
19112 | ||
19113 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19114 | IStdMarshalInfo* This); | |
19115 | ||
19116 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19117 | IStdMarshalInfo* This); | |
19118 | ||
19119 | ||
19120 | HRESULT (__attribute__((__stdcall__)) *GetClassForHandler)( | |
19121 | IStdMarshalInfo* This, | |
19122 | DWORD dwDestContext, | |
19123 | void* pvDestContext, | |
19124 | CLSID* pClsid); | |
19125 | ||
19126 | ||
19127 | } IStdMarshalInfoVtbl; | |
19128 | struct IStdMarshalInfo { | |
19129 | const IStdMarshalInfoVtbl* lpVtbl; | |
19130 | }; | |
19131 | # 414 "../../../include/objidl.h" | |
19132 | HRESULT __attribute__((__stdcall__)) IStdMarshalInfo_GetClassForHandler_Proxy( | |
19133 | IStdMarshalInfo* This, | |
19134 | DWORD dwDestContext, | |
19135 | void* pvDestContext, | |
19136 | CLSID* pClsid); | |
19137 | void __attribute__((__stdcall__)) IStdMarshalInfo_GetClassForHandler_Stub( | |
19138 | IRpcStubBuffer* This, | |
19139 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19140 | PRPC_MESSAGE pRpcMessage, | |
19141 | DWORD* pdwStubPhase); | |
19142 | ||
19143 | ||
19144 | ||
19145 | ||
19146 | ||
19147 | typedef struct IExternalConnection IExternalConnection; | |
19148 | ||
19149 | ||
19150 | typedef IExternalConnection *LPEXTERNALCONNECTION; | |
19151 | typedef enum tagEXTCONN { | |
19152 | EXTCONN_STRONG = 0x1, | |
19153 | EXTCONN_WEAK = 0x2, | |
19154 | EXTCONN_CALLABLE = 0x4 | |
19155 | } EXTCONN; | |
19156 | ||
19157 | ||
19158 | ||
19159 | ||
19160 | ||
19161 | ||
19162 | extern const GUID IID_IExternalConnection __attribute__((visibility ("hidden"))); | |
19163 | # 459 "../../../include/objidl.h" | |
19164 | typedef struct IExternalConnectionVtbl { | |
19165 | ||
19166 | ||
19167 | ||
19168 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19169 | IExternalConnection* This, | |
19170 | const IID* const riid, | |
19171 | void** ppvObject); | |
19172 | ||
19173 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19174 | IExternalConnection* This); | |
19175 | ||
19176 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19177 | IExternalConnection* This); | |
19178 | ||
19179 | ||
19180 | DWORD (__attribute__((__stdcall__)) *AddConnection)( | |
19181 | IExternalConnection* This, | |
19182 | DWORD extconn, | |
19183 | DWORD reserved); | |
19184 | ||
19185 | DWORD (__attribute__((__stdcall__)) *ReleaseConnection)( | |
19186 | IExternalConnection* This, | |
19187 | DWORD extconn, | |
19188 | DWORD reserved, | |
19189 | BOOL fLastReleaseCloses); | |
19190 | ||
19191 | ||
19192 | } IExternalConnectionVtbl; | |
19193 | struct IExternalConnection { | |
19194 | const IExternalConnectionVtbl* lpVtbl; | |
19195 | }; | |
19196 | # 504 "../../../include/objidl.h" | |
19197 | DWORD __attribute__((__stdcall__)) IExternalConnection_AddConnection_Proxy( | |
19198 | IExternalConnection* This, | |
19199 | DWORD extconn, | |
19200 | DWORD reserved); | |
19201 | void __attribute__((__stdcall__)) IExternalConnection_AddConnection_Stub( | |
19202 | IRpcStubBuffer* This, | |
19203 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19204 | PRPC_MESSAGE pRpcMessage, | |
19205 | DWORD* pdwStubPhase); | |
19206 | DWORD __attribute__((__stdcall__)) IExternalConnection_ReleaseConnection_Proxy( | |
19207 | IExternalConnection* This, | |
19208 | DWORD extconn, | |
19209 | DWORD reserved, | |
19210 | BOOL fLastReleaseCloses); | |
19211 | void __attribute__((__stdcall__)) IExternalConnection_ReleaseConnection_Stub( | |
19212 | IRpcStubBuffer* This, | |
19213 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19214 | PRPC_MESSAGE pRpcMessage, | |
19215 | DWORD* pdwStubPhase); | |
19216 | ||
19217 | ||
19218 | ||
19219 | ||
19220 | ||
19221 | typedef struct IMultiQI IMultiQI; | |
19222 | ||
19223 | ||
19224 | typedef IMultiQI *LPMULTIQI; | |
19225 | typedef struct tagMULTI_QI { | |
19226 | const IID *pIID; | |
19227 | IUnknown *pItf; | |
19228 | HRESULT hr; | |
19229 | } MULTI_QI; | |
19230 | ||
19231 | ||
19232 | ||
19233 | ||
19234 | ||
19235 | ||
19236 | extern const GUID IID_IMultiQI __attribute__((visibility ("hidden"))); | |
19237 | # 553 "../../../include/objidl.h" | |
19238 | typedef struct IMultiQIVtbl { | |
19239 | ||
19240 | ||
19241 | ||
19242 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19243 | IMultiQI* This, | |
19244 | const IID* const riid, | |
19245 | void** ppvObject); | |
19246 | ||
19247 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19248 | IMultiQI* This); | |
19249 | ||
19250 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19251 | IMultiQI* This); | |
19252 | ||
19253 | ||
19254 | HRESULT (__attribute__((__stdcall__)) *QueryMultipleInterfaces)( | |
19255 | IMultiQI* This, | |
19256 | ULONG cMQIs, | |
19257 | MULTI_QI* pMQIs); | |
19258 | ||
19259 | ||
19260 | } IMultiQIVtbl; | |
19261 | struct IMultiQI { | |
19262 | const IMultiQIVtbl* lpVtbl; | |
19263 | }; | |
19264 | # 591 "../../../include/objidl.h" | |
19265 | HRESULT __attribute__((__stdcall__)) IMultiQI_QueryMultipleInterfaces_Proxy( | |
19266 | IMultiQI* This, | |
19267 | ULONG cMQIs, | |
19268 | MULTI_QI* pMQIs); | |
19269 | void __attribute__((__stdcall__)) IMultiQI_QueryMultipleInterfaces_Stub( | |
19270 | IRpcStubBuffer* This, | |
19271 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19272 | PRPC_MESSAGE pRpcMessage, | |
19273 | DWORD* pdwStubPhase); | |
19274 | ||
19275 | ||
19276 | ||
19277 | ||
19278 | ||
19279 | typedef struct IMalloc IMalloc; | |
19280 | ||
19281 | ||
19282 | typedef IMalloc *LPMALLOC; | |
19283 | ||
19284 | ||
19285 | ||
19286 | ||
19287 | ||
19288 | ||
19289 | extern const GUID IID_IMalloc __attribute__((visibility ("hidden"))); | |
19290 | # 640 "../../../include/objidl.h" | |
19291 | typedef struct IMallocVtbl { | |
19292 | ||
19293 | ||
19294 | ||
19295 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19296 | IMalloc* This, | |
19297 | const IID* const riid, | |
19298 | void** ppvObject); | |
19299 | ||
19300 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19301 | IMalloc* This); | |
19302 | ||
19303 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19304 | IMalloc* This); | |
19305 | ||
19306 | ||
19307 | LPVOID (__attribute__((__stdcall__)) *Alloc)( | |
19308 | IMalloc* This, | |
19309 | ULONG cb); | |
19310 | ||
19311 | LPVOID (__attribute__((__stdcall__)) *Realloc)( | |
19312 | IMalloc* This, | |
19313 | LPVOID pv, | |
19314 | ULONG cb); | |
19315 | ||
19316 | void (__attribute__((__stdcall__)) *Free)( | |
19317 | IMalloc* This, | |
19318 | LPVOID pv); | |
19319 | ||
19320 | ULONG (__attribute__((__stdcall__)) *GetSize)( | |
19321 | IMalloc* This, | |
19322 | LPVOID pv); | |
19323 | ||
19324 | int (__attribute__((__stdcall__)) *DidAlloc)( | |
19325 | IMalloc* This, | |
19326 | LPVOID pv); | |
19327 | ||
19328 | void (__attribute__((__stdcall__)) *HeapMinimize)( | |
19329 | IMalloc* This); | |
19330 | ||
19331 | ||
19332 | } IMallocVtbl; | |
19333 | struct IMalloc { | |
19334 | const IMallocVtbl* lpVtbl; | |
19335 | }; | |
19336 | # 702 "../../../include/objidl.h" | |
19337 | LPVOID __attribute__((__stdcall__)) IMalloc_Alloc_Proxy( | |
19338 | IMalloc* This, | |
19339 | ULONG cb); | |
19340 | void __attribute__((__stdcall__)) IMalloc_Alloc_Stub( | |
19341 | IRpcStubBuffer* This, | |
19342 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19343 | PRPC_MESSAGE pRpcMessage, | |
19344 | DWORD* pdwStubPhase); | |
19345 | LPVOID __attribute__((__stdcall__)) IMalloc_Realloc_Proxy( | |
19346 | IMalloc* This, | |
19347 | LPVOID pv, | |
19348 | ULONG cb); | |
19349 | void __attribute__((__stdcall__)) IMalloc_Realloc_Stub( | |
19350 | IRpcStubBuffer* This, | |
19351 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19352 | PRPC_MESSAGE pRpcMessage, | |
19353 | DWORD* pdwStubPhase); | |
19354 | void __attribute__((__stdcall__)) IMalloc_Free_Proxy( | |
19355 | IMalloc* This, | |
19356 | LPVOID pv); | |
19357 | void __attribute__((__stdcall__)) IMalloc_Free_Stub( | |
19358 | IRpcStubBuffer* This, | |
19359 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19360 | PRPC_MESSAGE pRpcMessage, | |
19361 | DWORD* pdwStubPhase); | |
19362 | ULONG __attribute__((__stdcall__)) IMalloc_GetSize_Proxy( | |
19363 | IMalloc* This, | |
19364 | LPVOID pv); | |
19365 | void __attribute__((__stdcall__)) IMalloc_GetSize_Stub( | |
19366 | IRpcStubBuffer* This, | |
19367 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19368 | PRPC_MESSAGE pRpcMessage, | |
19369 | DWORD* pdwStubPhase); | |
19370 | int __attribute__((__stdcall__)) IMalloc_DidAlloc_Proxy( | |
19371 | IMalloc* This, | |
19372 | LPVOID pv); | |
19373 | void __attribute__((__stdcall__)) IMalloc_DidAlloc_Stub( | |
19374 | IRpcStubBuffer* This, | |
19375 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19376 | PRPC_MESSAGE pRpcMessage, | |
19377 | DWORD* pdwStubPhase); | |
19378 | void __attribute__((__stdcall__)) IMalloc_HeapMinimize_Proxy( | |
19379 | IMalloc* This); | |
19380 | void __attribute__((__stdcall__)) IMalloc_HeapMinimize_Stub( | |
19381 | IRpcStubBuffer* This, | |
19382 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19383 | PRPC_MESSAGE pRpcMessage, | |
19384 | DWORD* pdwStubPhase); | |
19385 | ||
19386 | ||
19387 | ||
19388 | ||
19389 | ||
19390 | typedef struct IMallocSpy IMallocSpy; | |
19391 | ||
19392 | ||
19393 | typedef IMallocSpy *LPMALLOCSPY; | |
19394 | ||
19395 | ||
19396 | ||
19397 | ||
19398 | ||
19399 | ||
19400 | extern const GUID IID_IMallocSpy __attribute__((visibility ("hidden"))); | |
19401 | # 817 "../../../include/objidl.h" | |
19402 | typedef struct IMallocSpyVtbl { | |
19403 | ||
19404 | ||
19405 | ||
19406 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19407 | IMallocSpy* This, | |
19408 | const IID* const riid, | |
19409 | void** ppvObject); | |
19410 | ||
19411 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19412 | IMallocSpy* This); | |
19413 | ||
19414 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19415 | IMallocSpy* This); | |
19416 | ||
19417 | ||
19418 | ULONG (__attribute__((__stdcall__)) *PreAlloc)( | |
19419 | IMallocSpy* This, | |
19420 | ULONG cbRequest); | |
19421 | ||
19422 | LPVOID (__attribute__((__stdcall__)) *PostAlloc)( | |
19423 | IMallocSpy* This, | |
19424 | LPVOID pActual); | |
19425 | ||
19426 | LPVOID (__attribute__((__stdcall__)) *PreFree)( | |
19427 | IMallocSpy* This, | |
19428 | LPVOID pRequest, | |
19429 | BOOL fSpyed); | |
19430 | ||
19431 | void (__attribute__((__stdcall__)) *PostFree)( | |
19432 | IMallocSpy* This, | |
19433 | BOOL fSpyed); | |
19434 | ||
19435 | ULONG (__attribute__((__stdcall__)) *PreRealloc)( | |
19436 | IMallocSpy* This, | |
19437 | LPVOID pRequest, | |
19438 | ULONG cbRequest, | |
19439 | LPVOID* ppNewRequest, | |
19440 | BOOL fSpyed); | |
19441 | ||
19442 | LPVOID (__attribute__((__stdcall__)) *PostRealloc)( | |
19443 | IMallocSpy* This, | |
19444 | LPVOID pActual, | |
19445 | BOOL fSpyed); | |
19446 | ||
19447 | LPVOID (__attribute__((__stdcall__)) *PreGetSize)( | |
19448 | IMallocSpy* This, | |
19449 | LPVOID pRequest, | |
19450 | BOOL fSpyed); | |
19451 | ||
19452 | ULONG (__attribute__((__stdcall__)) *PostGetSize)( | |
19453 | IMallocSpy* This, | |
19454 | ULONG cbActual, | |
19455 | BOOL fSpyed); | |
19456 | ||
19457 | LPVOID (__attribute__((__stdcall__)) *PreDidAlloc)( | |
19458 | IMallocSpy* This, | |
19459 | LPVOID pRequest, | |
19460 | BOOL fSpyed); | |
19461 | ||
19462 | int (__attribute__((__stdcall__)) *PostDidAlloc)( | |
19463 | IMallocSpy* This, | |
19464 | LPVOID pRequest, | |
19465 | BOOL fSpyed, | |
19466 | int fActual); | |
19467 | ||
19468 | void (__attribute__((__stdcall__)) *PreHeapMinimize)( | |
19469 | IMallocSpy* This); | |
19470 | ||
19471 | void (__attribute__((__stdcall__)) *PostHeapMinimize)( | |
19472 | IMallocSpy* This); | |
19473 | ||
19474 | ||
19475 | } IMallocSpyVtbl; | |
19476 | struct IMallocSpy { | |
19477 | const IMallocSpyVtbl* lpVtbl; | |
19478 | }; | |
19479 | # 917 "../../../include/objidl.h" | |
19480 | ULONG __attribute__((__stdcall__)) IMallocSpy_PreAlloc_Proxy( | |
19481 | IMallocSpy* This, | |
19482 | ULONG cbRequest); | |
19483 | void __attribute__((__stdcall__)) IMallocSpy_PreAlloc_Stub( | |
19484 | IRpcStubBuffer* This, | |
19485 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19486 | PRPC_MESSAGE pRpcMessage, | |
19487 | DWORD* pdwStubPhase); | |
19488 | LPVOID __attribute__((__stdcall__)) IMallocSpy_PostAlloc_Proxy( | |
19489 | IMallocSpy* This, | |
19490 | LPVOID pActual); | |
19491 | void __attribute__((__stdcall__)) IMallocSpy_PostAlloc_Stub( | |
19492 | IRpcStubBuffer* This, | |
19493 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19494 | PRPC_MESSAGE pRpcMessage, | |
19495 | DWORD* pdwStubPhase); | |
19496 | LPVOID __attribute__((__stdcall__)) IMallocSpy_PreFree_Proxy( | |
19497 | IMallocSpy* This, | |
19498 | LPVOID pRequest, | |
19499 | BOOL fSpyed); | |
19500 | void __attribute__((__stdcall__)) IMallocSpy_PreFree_Stub( | |
19501 | IRpcStubBuffer* This, | |
19502 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19503 | PRPC_MESSAGE pRpcMessage, | |
19504 | DWORD* pdwStubPhase); | |
19505 | void __attribute__((__stdcall__)) IMallocSpy_PostFree_Proxy( | |
19506 | IMallocSpy* This, | |
19507 | BOOL fSpyed); | |
19508 | void __attribute__((__stdcall__)) IMallocSpy_PostFree_Stub( | |
19509 | IRpcStubBuffer* This, | |
19510 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19511 | PRPC_MESSAGE pRpcMessage, | |
19512 | DWORD* pdwStubPhase); | |
19513 | ULONG __attribute__((__stdcall__)) IMallocSpy_PreRealloc_Proxy( | |
19514 | IMallocSpy* This, | |
19515 | LPVOID pRequest, | |
19516 | ULONG cbRequest, | |
19517 | LPVOID* ppNewRequest, | |
19518 | BOOL fSpyed); | |
19519 | void __attribute__((__stdcall__)) IMallocSpy_PreRealloc_Stub( | |
19520 | IRpcStubBuffer* This, | |
19521 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19522 | PRPC_MESSAGE pRpcMessage, | |
19523 | DWORD* pdwStubPhase); | |
19524 | LPVOID __attribute__((__stdcall__)) IMallocSpy_PostRealloc_Proxy( | |
19525 | IMallocSpy* This, | |
19526 | LPVOID pActual, | |
19527 | BOOL fSpyed); | |
19528 | void __attribute__((__stdcall__)) IMallocSpy_PostRealloc_Stub( | |
19529 | IRpcStubBuffer* This, | |
19530 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19531 | PRPC_MESSAGE pRpcMessage, | |
19532 | DWORD* pdwStubPhase); | |
19533 | LPVOID __attribute__((__stdcall__)) IMallocSpy_PreGetSize_Proxy( | |
19534 | IMallocSpy* This, | |
19535 | LPVOID pRequest, | |
19536 | BOOL fSpyed); | |
19537 | void __attribute__((__stdcall__)) IMallocSpy_PreGetSize_Stub( | |
19538 | IRpcStubBuffer* This, | |
19539 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19540 | PRPC_MESSAGE pRpcMessage, | |
19541 | DWORD* pdwStubPhase); | |
19542 | ULONG __attribute__((__stdcall__)) IMallocSpy_PostGetSize_Proxy( | |
19543 | IMallocSpy* This, | |
19544 | ULONG cbActual, | |
19545 | BOOL fSpyed); | |
19546 | void __attribute__((__stdcall__)) IMallocSpy_PostGetSize_Stub( | |
19547 | IRpcStubBuffer* This, | |
19548 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19549 | PRPC_MESSAGE pRpcMessage, | |
19550 | DWORD* pdwStubPhase); | |
19551 | LPVOID __attribute__((__stdcall__)) IMallocSpy_PreDidAlloc_Proxy( | |
19552 | IMallocSpy* This, | |
19553 | LPVOID pRequest, | |
19554 | BOOL fSpyed); | |
19555 | void __attribute__((__stdcall__)) IMallocSpy_PreDidAlloc_Stub( | |
19556 | IRpcStubBuffer* This, | |
19557 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19558 | PRPC_MESSAGE pRpcMessage, | |
19559 | DWORD* pdwStubPhase); | |
19560 | int __attribute__((__stdcall__)) IMallocSpy_PostDidAlloc_Proxy( | |
19561 | IMallocSpy* This, | |
19562 | LPVOID pRequest, | |
19563 | BOOL fSpyed, | |
19564 | int fActual); | |
19565 | void __attribute__((__stdcall__)) IMallocSpy_PostDidAlloc_Stub( | |
19566 | IRpcStubBuffer* This, | |
19567 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19568 | PRPC_MESSAGE pRpcMessage, | |
19569 | DWORD* pdwStubPhase); | |
19570 | void __attribute__((__stdcall__)) IMallocSpy_PreHeapMinimize_Proxy( | |
19571 | IMallocSpy* This); | |
19572 | void __attribute__((__stdcall__)) IMallocSpy_PreHeapMinimize_Stub( | |
19573 | IRpcStubBuffer* This, | |
19574 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19575 | PRPC_MESSAGE pRpcMessage, | |
19576 | DWORD* pdwStubPhase); | |
19577 | void __attribute__((__stdcall__)) IMallocSpy_PostHeapMinimize_Proxy( | |
19578 | IMallocSpy* This); | |
19579 | void __attribute__((__stdcall__)) IMallocSpy_PostHeapMinimize_Stub( | |
19580 | IRpcStubBuffer* This, | |
19581 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19582 | PRPC_MESSAGE pRpcMessage, | |
19583 | DWORD* pdwStubPhase); | |
19584 | ||
19585 | ||
19586 | ||
19587 | ||
19588 | ||
19589 | typedef struct IInternalUnknown IInternalUnknown; | |
19590 | # 1035 "../../../include/objidl.h" | |
19591 | extern const GUID IID_IInternalUnknown __attribute__((visibility ("hidden"))); | |
19592 | # 1045 "../../../include/objidl.h" | |
19593 | typedef struct IInternalUnknownVtbl { | |
19594 | ||
19595 | ||
19596 | ||
19597 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19598 | IInternalUnknown* This, | |
19599 | const IID* const riid, | |
19600 | void** ppvObject); | |
19601 | ||
19602 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19603 | IInternalUnknown* This); | |
19604 | ||
19605 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19606 | IInternalUnknown* This); | |
19607 | ||
19608 | ||
19609 | HRESULT (__attribute__((__stdcall__)) *QueryInternalInterface)( | |
19610 | IInternalUnknown* This, | |
19611 | const IID* const riid, | |
19612 | void** ppv); | |
19613 | ||
19614 | ||
19615 | } IInternalUnknownVtbl; | |
19616 | struct IInternalUnknown { | |
19617 | const IInternalUnknownVtbl* lpVtbl; | |
19618 | }; | |
19619 | # 1083 "../../../include/objidl.h" | |
19620 | HRESULT __attribute__((__stdcall__)) IInternalUnknown_QueryInternalInterface_Proxy( | |
19621 | IInternalUnknown* This, | |
19622 | const IID* const riid, | |
19623 | void** ppv); | |
19624 | void __attribute__((__stdcall__)) IInternalUnknown_QueryInternalInterface_Stub( | |
19625 | IRpcStubBuffer* This, | |
19626 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19627 | PRPC_MESSAGE pRpcMessage, | |
19628 | DWORD* pdwStubPhase); | |
19629 | ||
19630 | ||
19631 | ||
19632 | ||
19633 | ||
19634 | typedef struct IEnumUnknown IEnumUnknown; | |
19635 | ||
19636 | ||
19637 | typedef IEnumUnknown *LPENUMUNKNOWN; | |
19638 | ||
19639 | ||
19640 | ||
19641 | ||
19642 | ||
19643 | ||
19644 | extern const GUID IID_IEnumUnknown __attribute__((visibility ("hidden"))); | |
19645 | # 1127 "../../../include/objidl.h" | |
19646 | typedef struct IEnumUnknownVtbl { | |
19647 | ||
19648 | ||
19649 | ||
19650 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19651 | IEnumUnknown* This, | |
19652 | const IID* const riid, | |
19653 | void** ppvObject); | |
19654 | ||
19655 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19656 | IEnumUnknown* This); | |
19657 | ||
19658 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19659 | IEnumUnknown* This); | |
19660 | ||
19661 | ||
19662 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
19663 | IEnumUnknown* This, | |
19664 | ULONG celt, | |
19665 | IUnknown** rgelt, | |
19666 | ULONG* pceltFetched); | |
19667 | ||
19668 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
19669 | IEnumUnknown* This, | |
19670 | ULONG celt); | |
19671 | ||
19672 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
19673 | IEnumUnknown* This); | |
19674 | ||
19675 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
19676 | IEnumUnknown* This, | |
19677 | IEnumUnknown** ppenum); | |
19678 | ||
19679 | ||
19680 | } IEnumUnknownVtbl; | |
19681 | struct IEnumUnknown { | |
19682 | const IEnumUnknownVtbl* lpVtbl; | |
19683 | }; | |
19684 | # 1180 "../../../include/objidl.h" | |
19685 | HRESULT __attribute__((__stdcall__)) IEnumUnknown_RemoteNext_Proxy( | |
19686 | IEnumUnknown* This, | |
19687 | ULONG celt, | |
19688 | IUnknown** rgelt, | |
19689 | ULONG* pceltFetched); | |
19690 | void __attribute__((__stdcall__)) IEnumUnknown_RemoteNext_Stub( | |
19691 | IRpcStubBuffer* This, | |
19692 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19693 | PRPC_MESSAGE pRpcMessage, | |
19694 | DWORD* pdwStubPhase); | |
19695 | HRESULT __attribute__((__stdcall__)) IEnumUnknown_Next_Proxy( | |
19696 | IEnumUnknown* This, | |
19697 | ULONG celt, | |
19698 | IUnknown** rgelt, | |
19699 | ULONG* pceltFetched); | |
19700 | HRESULT __attribute__((__stdcall__)) IEnumUnknown_Next_Stub( | |
19701 | IEnumUnknown* This, | |
19702 | ULONG celt, | |
19703 | IUnknown** rgelt, | |
19704 | ULONG* pceltFetched); | |
19705 | HRESULT __attribute__((__stdcall__)) IEnumUnknown_Skip_Proxy( | |
19706 | IEnumUnknown* This, | |
19707 | ULONG celt); | |
19708 | void __attribute__((__stdcall__)) IEnumUnknown_Skip_Stub( | |
19709 | IRpcStubBuffer* This, | |
19710 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19711 | PRPC_MESSAGE pRpcMessage, | |
19712 | DWORD* pdwStubPhase); | |
19713 | HRESULT __attribute__((__stdcall__)) IEnumUnknown_Reset_Proxy( | |
19714 | IEnumUnknown* This); | |
19715 | void __attribute__((__stdcall__)) IEnumUnknown_Reset_Stub( | |
19716 | IRpcStubBuffer* This, | |
19717 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19718 | PRPC_MESSAGE pRpcMessage, | |
19719 | DWORD* pdwStubPhase); | |
19720 | HRESULT __attribute__((__stdcall__)) IEnumUnknown_Clone_Proxy( | |
19721 | IEnumUnknown* This, | |
19722 | IEnumUnknown** ppenum); | |
19723 | void __attribute__((__stdcall__)) IEnumUnknown_Clone_Stub( | |
19724 | IRpcStubBuffer* This, | |
19725 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19726 | PRPC_MESSAGE pRpcMessage, | |
19727 | DWORD* pdwStubPhase); | |
19728 | ||
19729 | ||
19730 | ||
19731 | ||
19732 | ||
19733 | typedef struct ISurrogate ISurrogate; | |
19734 | ||
19735 | ||
19736 | typedef ISurrogate *LPSURROGATE; | |
19737 | ||
19738 | ||
19739 | ||
19740 | ||
19741 | ||
19742 | ||
19743 | extern const GUID IID_ISurrogate __attribute__((visibility ("hidden"))); | |
19744 | # 1250 "../../../include/objidl.h" | |
19745 | typedef struct ISurrogateVtbl { | |
19746 | ||
19747 | ||
19748 | ||
19749 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19750 | ISurrogate* This, | |
19751 | const IID* const riid, | |
19752 | void** ppvObject); | |
19753 | ||
19754 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19755 | ISurrogate* This); | |
19756 | ||
19757 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19758 | ISurrogate* This); | |
19759 | ||
19760 | ||
19761 | HRESULT (__attribute__((__stdcall__)) *LoadDllServer)( | |
19762 | ISurrogate* This, | |
19763 | const CLSID* const Clsid); | |
19764 | ||
19765 | HRESULT (__attribute__((__stdcall__)) *FreeSurrogate)( | |
19766 | ISurrogate* This); | |
19767 | ||
19768 | ||
19769 | } ISurrogateVtbl; | |
19770 | struct ISurrogate { | |
19771 | const ISurrogateVtbl* lpVtbl; | |
19772 | }; | |
19773 | # 1291 "../../../include/objidl.h" | |
19774 | HRESULT __attribute__((__stdcall__)) ISurrogate_LoadDllServer_Proxy( | |
19775 | ISurrogate* This, | |
19776 | const CLSID* const Clsid); | |
19777 | void __attribute__((__stdcall__)) ISurrogate_LoadDllServer_Stub( | |
19778 | IRpcStubBuffer* This, | |
19779 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19780 | PRPC_MESSAGE pRpcMessage, | |
19781 | DWORD* pdwStubPhase); | |
19782 | HRESULT __attribute__((__stdcall__)) ISurrogate_FreeSurrogate_Proxy( | |
19783 | ISurrogate* This); | |
19784 | void __attribute__((__stdcall__)) ISurrogate_FreeSurrogate_Stub( | |
19785 | IRpcStubBuffer* This, | |
19786 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19787 | PRPC_MESSAGE pRpcMessage, | |
19788 | DWORD* pdwStubPhase); | |
19789 | ||
19790 | ||
19791 | ||
19792 | ||
19793 | ||
19794 | typedef struct IGlobalInterfaceTable IGlobalInterfaceTable; | |
19795 | ||
19796 | ||
19797 | typedef IGlobalInterfaceTable *LPGLOBALINTERFACETABLE; | |
19798 | ||
19799 | ||
19800 | ||
19801 | ||
19802 | ||
19803 | ||
19804 | extern const GUID IID_IGlobalInterfaceTable __attribute__((visibility ("hidden"))); | |
19805 | # 1340 "../../../include/objidl.h" | |
19806 | typedef struct IGlobalInterfaceTableVtbl { | |
19807 | ||
19808 | ||
19809 | ||
19810 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19811 | IGlobalInterfaceTable* This, | |
19812 | const IID* const riid, | |
19813 | void** ppvObject); | |
19814 | ||
19815 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19816 | IGlobalInterfaceTable* This); | |
19817 | ||
19818 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19819 | IGlobalInterfaceTable* This); | |
19820 | ||
19821 | ||
19822 | HRESULT (__attribute__((__stdcall__)) *RegisterInterfaceInGlobal)( | |
19823 | IGlobalInterfaceTable* This, | |
19824 | IUnknown* pUnk, | |
19825 | const IID* const riid, | |
19826 | DWORD* pdwCookie); | |
19827 | ||
19828 | HRESULT (__attribute__((__stdcall__)) *RevokeInterfaceFromGlobal)( | |
19829 | IGlobalInterfaceTable* This, | |
19830 | DWORD dwCookie); | |
19831 | ||
19832 | HRESULT (__attribute__((__stdcall__)) *GetInterfaceFromGlobal)( | |
19833 | IGlobalInterfaceTable* This, | |
19834 | DWORD dwCookie, | |
19835 | const IID* const riid, | |
19836 | void** ppv); | |
19837 | ||
19838 | ||
19839 | } IGlobalInterfaceTableVtbl; | |
19840 | struct IGlobalInterfaceTable { | |
19841 | const IGlobalInterfaceTableVtbl* lpVtbl; | |
19842 | }; | |
19843 | # 1391 "../../../include/objidl.h" | |
19844 | HRESULT __attribute__((__stdcall__)) IGlobalInterfaceTable_RegisterInterfaceInGlobal_Proxy( | |
19845 | IGlobalInterfaceTable* This, | |
19846 | IUnknown* pUnk, | |
19847 | const IID* const riid, | |
19848 | DWORD* pdwCookie); | |
19849 | void __attribute__((__stdcall__)) IGlobalInterfaceTable_RegisterInterfaceInGlobal_Stub( | |
19850 | IRpcStubBuffer* This, | |
19851 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19852 | PRPC_MESSAGE pRpcMessage, | |
19853 | DWORD* pdwStubPhase); | |
19854 | HRESULT __attribute__((__stdcall__)) IGlobalInterfaceTable_RevokeInterfaceFromGlobal_Proxy( | |
19855 | IGlobalInterfaceTable* This, | |
19856 | DWORD dwCookie); | |
19857 | void __attribute__((__stdcall__)) IGlobalInterfaceTable_RevokeInterfaceFromGlobal_Stub( | |
19858 | IRpcStubBuffer* This, | |
19859 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19860 | PRPC_MESSAGE pRpcMessage, | |
19861 | DWORD* pdwStubPhase); | |
19862 | HRESULT __attribute__((__stdcall__)) IGlobalInterfaceTable_GetInterfaceFromGlobal_Proxy( | |
19863 | IGlobalInterfaceTable* This, | |
19864 | DWORD dwCookie, | |
19865 | const IID* const riid, | |
19866 | void** ppv); | |
19867 | void __attribute__((__stdcall__)) IGlobalInterfaceTable_GetInterfaceFromGlobal_Stub( | |
19868 | IRpcStubBuffer* This, | |
19869 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19870 | PRPC_MESSAGE pRpcMessage, | |
19871 | DWORD* pdwStubPhase); | |
19872 | ||
19873 | ||
19874 | ||
19875 | ||
19876 | ||
19877 | typedef struct IBindCtx IBindCtx; | |
19878 | ||
19879 | ||
19880 | typedef IBindCtx *LPBINDCTX; | |
19881 | typedef IBindCtx *LPBC; | |
19882 | typedef struct tagBIND_OPTS { | |
19883 | DWORD cbStruct; | |
19884 | DWORD grfFlags; | |
19885 | DWORD grfMode; | |
19886 | DWORD dwTickCountDeadline; | |
19887 | } BIND_OPTS; | |
19888 | typedef struct tagBIND_OPTS *LPBIND_OPTS; | |
19889 | typedef struct tagBIND_OPTS2 { | |
19890 | DWORD cbStruct; | |
19891 | DWORD grfFlags; | |
19892 | DWORD grfMode; | |
19893 | DWORD dwTickCountDeadline; | |
19894 | DWORD dwTrackFlags; | |
19895 | DWORD dwClassContext; | |
19896 | LCID locale; | |
19897 | COSERVERINFO *pServerInfo; | |
19898 | } BIND_OPTS2; | |
19899 | typedef struct tagBIND_OPTS2 *LPBIND_OPTS2; | |
19900 | typedef enum tagBIND_FLAGS { | |
19901 | BIND_MAYBOTHERUSER = 1, | |
19902 | BIND_JUSTTESTEXISTENCE = 2 | |
19903 | } BIND_FLAGS; | |
19904 | ||
19905 | ||
19906 | ||
19907 | ||
19908 | ||
19909 | ||
19910 | extern const GUID IID_IBindCtx __attribute__((visibility ("hidden"))); | |
19911 | # 1495 "../../../include/objidl.h" | |
19912 | typedef struct IBindCtxVtbl { | |
19913 | ||
19914 | ||
19915 | ||
19916 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
19917 | IBindCtx* This, | |
19918 | const IID* const riid, | |
19919 | void** ppvObject); | |
19920 | ||
19921 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
19922 | IBindCtx* This); | |
19923 | ||
19924 | ULONG (__attribute__((__stdcall__)) *Release)( | |
19925 | IBindCtx* This); | |
19926 | ||
19927 | ||
19928 | HRESULT (__attribute__((__stdcall__)) *RegisterObjectBound)( | |
19929 | IBindCtx* This, | |
19930 | IUnknown* punk); | |
19931 | ||
19932 | HRESULT (__attribute__((__stdcall__)) *RevokeObjectBound)( | |
19933 | IBindCtx* This, | |
19934 | IUnknown* punk); | |
19935 | ||
19936 | HRESULT (__attribute__((__stdcall__)) *ReleaseBoundObjects)( | |
19937 | IBindCtx* This); | |
19938 | ||
19939 | HRESULT (__attribute__((__stdcall__)) *SetBindOptions)( | |
19940 | IBindCtx* This, | |
19941 | BIND_OPTS* pbindopts); | |
19942 | ||
19943 | HRESULT (__attribute__((__stdcall__)) *GetBindOptions)( | |
19944 | IBindCtx* This, | |
19945 | BIND_OPTS* pbindopts); | |
19946 | ||
19947 | HRESULT (__attribute__((__stdcall__)) *GetRunningObjectTable)( | |
19948 | IBindCtx* This, | |
19949 | IRunningObjectTable** pprot); | |
19950 | ||
19951 | HRESULT (__attribute__((__stdcall__)) *RegisterObjectParam)( | |
19952 | IBindCtx* This, | |
19953 | LPOLESTR pszKey, | |
19954 | IUnknown* punk); | |
19955 | ||
19956 | HRESULT (__attribute__((__stdcall__)) *GetObjectParam)( | |
19957 | IBindCtx* This, | |
19958 | LPOLESTR pszKey, | |
19959 | IUnknown** ppunk); | |
19960 | ||
19961 | HRESULT (__attribute__((__stdcall__)) *EnumObjectParam)( | |
19962 | IBindCtx* This, | |
19963 | IEnumString** ppenum); | |
19964 | ||
19965 | HRESULT (__attribute__((__stdcall__)) *RevokeObjectParam)( | |
19966 | IBindCtx* This, | |
19967 | LPOLESTR pszKey); | |
19968 | ||
19969 | ||
19970 | } IBindCtxVtbl; | |
19971 | struct IBindCtx { | |
19972 | const IBindCtxVtbl* lpVtbl; | |
19973 | }; | |
19974 | # 1578 "../../../include/objidl.h" | |
19975 | HRESULT __attribute__((__stdcall__)) IBindCtx_RegisterObjectBound_Proxy( | |
19976 | IBindCtx* This, | |
19977 | IUnknown* punk); | |
19978 | void __attribute__((__stdcall__)) IBindCtx_RegisterObjectBound_Stub( | |
19979 | IRpcStubBuffer* This, | |
19980 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19981 | PRPC_MESSAGE pRpcMessage, | |
19982 | DWORD* pdwStubPhase); | |
19983 | HRESULT __attribute__((__stdcall__)) IBindCtx_RevokeObjectBound_Proxy( | |
19984 | IBindCtx* This, | |
19985 | IUnknown* punk); | |
19986 | void __attribute__((__stdcall__)) IBindCtx_RevokeObjectBound_Stub( | |
19987 | IRpcStubBuffer* This, | |
19988 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19989 | PRPC_MESSAGE pRpcMessage, | |
19990 | DWORD* pdwStubPhase); | |
19991 | HRESULT __attribute__((__stdcall__)) IBindCtx_ReleaseBoundObjects_Proxy( | |
19992 | IBindCtx* This); | |
19993 | void __attribute__((__stdcall__)) IBindCtx_ReleaseBoundObjects_Stub( | |
19994 | IRpcStubBuffer* This, | |
19995 | IRpcChannelBuffer* pRpcChannelBuffer, | |
19996 | PRPC_MESSAGE pRpcMessage, | |
19997 | DWORD* pdwStubPhase); | |
19998 | HRESULT __attribute__((__stdcall__)) IBindCtx_RemoteSetBindOptions_Proxy( | |
19999 | IBindCtx* This, | |
20000 | BIND_OPTS2* pbindopts); | |
20001 | void __attribute__((__stdcall__)) IBindCtx_RemoteSetBindOptions_Stub( | |
20002 | IRpcStubBuffer* This, | |
20003 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20004 | PRPC_MESSAGE pRpcMessage, | |
20005 | DWORD* pdwStubPhase); | |
20006 | HRESULT __attribute__((__stdcall__)) IBindCtx_SetBindOptions_Proxy( | |
20007 | IBindCtx* This, | |
20008 | BIND_OPTS* pbindopts); | |
20009 | HRESULT __attribute__((__stdcall__)) IBindCtx_SetBindOptions_Stub( | |
20010 | IBindCtx* This, | |
20011 | BIND_OPTS2* pbindopts); | |
20012 | HRESULT __attribute__((__stdcall__)) IBindCtx_RemoteGetBindOptions_Proxy( | |
20013 | IBindCtx* This, | |
20014 | BIND_OPTS2* pbindopts); | |
20015 | void __attribute__((__stdcall__)) IBindCtx_RemoteGetBindOptions_Stub( | |
20016 | IRpcStubBuffer* This, | |
20017 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20018 | PRPC_MESSAGE pRpcMessage, | |
20019 | DWORD* pdwStubPhase); | |
20020 | HRESULT __attribute__((__stdcall__)) IBindCtx_GetBindOptions_Proxy( | |
20021 | IBindCtx* This, | |
20022 | BIND_OPTS* pbindopts); | |
20023 | HRESULT __attribute__((__stdcall__)) IBindCtx_GetBindOptions_Stub( | |
20024 | IBindCtx* This, | |
20025 | BIND_OPTS2* pbindopts); | |
20026 | HRESULT __attribute__((__stdcall__)) IBindCtx_GetRunningObjectTable_Proxy( | |
20027 | IBindCtx* This, | |
20028 | IRunningObjectTable** pprot); | |
20029 | void __attribute__((__stdcall__)) IBindCtx_GetRunningObjectTable_Stub( | |
20030 | IRpcStubBuffer* This, | |
20031 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20032 | PRPC_MESSAGE pRpcMessage, | |
20033 | DWORD* pdwStubPhase); | |
20034 | HRESULT __attribute__((__stdcall__)) IBindCtx_RegisterObjectParam_Proxy( | |
20035 | IBindCtx* This, | |
20036 | LPOLESTR pszKey, | |
20037 | IUnknown* punk); | |
20038 | void __attribute__((__stdcall__)) IBindCtx_RegisterObjectParam_Stub( | |
20039 | IRpcStubBuffer* This, | |
20040 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20041 | PRPC_MESSAGE pRpcMessage, | |
20042 | DWORD* pdwStubPhase); | |
20043 | HRESULT __attribute__((__stdcall__)) IBindCtx_GetObjectParam_Proxy( | |
20044 | IBindCtx* This, | |
20045 | LPOLESTR pszKey, | |
20046 | IUnknown** ppunk); | |
20047 | void __attribute__((__stdcall__)) IBindCtx_GetObjectParam_Stub( | |
20048 | IRpcStubBuffer* This, | |
20049 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20050 | PRPC_MESSAGE pRpcMessage, | |
20051 | DWORD* pdwStubPhase); | |
20052 | HRESULT __attribute__((__stdcall__)) IBindCtx_EnumObjectParam_Proxy( | |
20053 | IBindCtx* This, | |
20054 | IEnumString** ppenum); | |
20055 | void __attribute__((__stdcall__)) IBindCtx_EnumObjectParam_Stub( | |
20056 | IRpcStubBuffer* This, | |
20057 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20058 | PRPC_MESSAGE pRpcMessage, | |
20059 | DWORD* pdwStubPhase); | |
20060 | HRESULT __attribute__((__stdcall__)) IBindCtx_RevokeObjectParam_Proxy( | |
20061 | IBindCtx* This, | |
20062 | LPOLESTR pszKey); | |
20063 | void __attribute__((__stdcall__)) IBindCtx_RevokeObjectParam_Stub( | |
20064 | IRpcStubBuffer* This, | |
20065 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20066 | PRPC_MESSAGE pRpcMessage, | |
20067 | DWORD* pdwStubPhase); | |
20068 | ||
20069 | ||
20070 | ||
20071 | ||
20072 | ||
20073 | typedef struct IEnumMoniker IEnumMoniker; | |
20074 | ||
20075 | ||
20076 | typedef IEnumMoniker *LPENUMMONIKER; | |
20077 | ||
20078 | ||
20079 | ||
20080 | ||
20081 | ||
20082 | ||
20083 | extern const GUID IID_IEnumMoniker __attribute__((visibility ("hidden"))); | |
20084 | # 1706 "../../../include/objidl.h" | |
20085 | typedef struct IEnumMonikerVtbl { | |
20086 | ||
20087 | ||
20088 | ||
20089 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
20090 | IEnumMoniker* This, | |
20091 | const IID* const riid, | |
20092 | void** ppvObject); | |
20093 | ||
20094 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
20095 | IEnumMoniker* This); | |
20096 | ||
20097 | ULONG (__attribute__((__stdcall__)) *Release)( | |
20098 | IEnumMoniker* This); | |
20099 | ||
20100 | ||
20101 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
20102 | IEnumMoniker* This, | |
20103 | ULONG celt, | |
20104 | IMoniker** rgelt, | |
20105 | ULONG* pceltFetched); | |
20106 | ||
20107 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
20108 | IEnumMoniker* This, | |
20109 | ULONG celt); | |
20110 | ||
20111 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
20112 | IEnumMoniker* This); | |
20113 | ||
20114 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
20115 | IEnumMoniker* This, | |
20116 | IEnumMoniker** ppenum); | |
20117 | ||
20118 | ||
20119 | } IEnumMonikerVtbl; | |
20120 | struct IEnumMoniker { | |
20121 | const IEnumMonikerVtbl* lpVtbl; | |
20122 | }; | |
20123 | # 1759 "../../../include/objidl.h" | |
20124 | HRESULT __attribute__((__stdcall__)) IEnumMoniker_RemoteNext_Proxy( | |
20125 | IEnumMoniker* This, | |
20126 | ULONG celt, | |
20127 | IMoniker** rgelt, | |
20128 | ULONG* pceltFetched); | |
20129 | void __attribute__((__stdcall__)) IEnumMoniker_RemoteNext_Stub( | |
20130 | IRpcStubBuffer* This, | |
20131 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20132 | PRPC_MESSAGE pRpcMessage, | |
20133 | DWORD* pdwStubPhase); | |
20134 | HRESULT __attribute__((__stdcall__)) IEnumMoniker_Next_Proxy( | |
20135 | IEnumMoniker* This, | |
20136 | ULONG celt, | |
20137 | IMoniker** rgelt, | |
20138 | ULONG* pceltFetched); | |
20139 | HRESULT __attribute__((__stdcall__)) IEnumMoniker_Next_Stub( | |
20140 | IEnumMoniker* This, | |
20141 | ULONG celt, | |
20142 | IMoniker** rgelt, | |
20143 | ULONG* pceltFetched); | |
20144 | HRESULT __attribute__((__stdcall__)) IEnumMoniker_Skip_Proxy( | |
20145 | IEnumMoniker* This, | |
20146 | ULONG celt); | |
20147 | void __attribute__((__stdcall__)) IEnumMoniker_Skip_Stub( | |
20148 | IRpcStubBuffer* This, | |
20149 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20150 | PRPC_MESSAGE pRpcMessage, | |
20151 | DWORD* pdwStubPhase); | |
20152 | HRESULT __attribute__((__stdcall__)) IEnumMoniker_Reset_Proxy( | |
20153 | IEnumMoniker* This); | |
20154 | void __attribute__((__stdcall__)) IEnumMoniker_Reset_Stub( | |
20155 | IRpcStubBuffer* This, | |
20156 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20157 | PRPC_MESSAGE pRpcMessage, | |
20158 | DWORD* pdwStubPhase); | |
20159 | HRESULT __attribute__((__stdcall__)) IEnumMoniker_Clone_Proxy( | |
20160 | IEnumMoniker* This, | |
20161 | IEnumMoniker** ppenum); | |
20162 | void __attribute__((__stdcall__)) IEnumMoniker_Clone_Stub( | |
20163 | IRpcStubBuffer* This, | |
20164 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20165 | PRPC_MESSAGE pRpcMessage, | |
20166 | DWORD* pdwStubPhase); | |
20167 | ||
20168 | ||
20169 | ||
20170 | ||
20171 | ||
20172 | typedef struct IRunnableObject IRunnableObject; | |
20173 | ||
20174 | ||
20175 | typedef IRunnableObject *LPRUNNABLEOBJECT; | |
20176 | ||
20177 | ||
20178 | ||
20179 | ||
20180 | ||
20181 | ||
20182 | extern const GUID IID_IRunnableObject __attribute__((visibility ("hidden"))); | |
20183 | # 1839 "../../../include/objidl.h" | |
20184 | typedef struct IRunnableObjectVtbl { | |
20185 | ||
20186 | ||
20187 | ||
20188 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
20189 | IRunnableObject* This, | |
20190 | const IID* const riid, | |
20191 | void** ppvObject); | |
20192 | ||
20193 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
20194 | IRunnableObject* This); | |
20195 | ||
20196 | ULONG (__attribute__((__stdcall__)) *Release)( | |
20197 | IRunnableObject* This); | |
20198 | ||
20199 | ||
20200 | HRESULT (__attribute__((__stdcall__)) *GetRunningClass)( | |
20201 | IRunnableObject* This, | |
20202 | LPCLSID lpClsid); | |
20203 | ||
20204 | HRESULT (__attribute__((__stdcall__)) *Run)( | |
20205 | IRunnableObject* This, | |
20206 | LPBINDCTX pbc); | |
20207 | ||
20208 | BOOL (__attribute__((__stdcall__)) *IsRunning)( | |
20209 | IRunnableObject* This); | |
20210 | ||
20211 | HRESULT (__attribute__((__stdcall__)) *LockRunning)( | |
20212 | IRunnableObject* This, | |
20213 | BOOL fLock, | |
20214 | BOOL fLastUnlockCloses); | |
20215 | ||
20216 | HRESULT (__attribute__((__stdcall__)) *SetContainedObject)( | |
20217 | IRunnableObject* This, | |
20218 | BOOL fContained); | |
20219 | ||
20220 | ||
20221 | } IRunnableObjectVtbl; | |
20222 | struct IRunnableObject { | |
20223 | const IRunnableObjectVtbl* lpVtbl; | |
20224 | }; | |
20225 | # 1896 "../../../include/objidl.h" | |
20226 | HRESULT __attribute__((__stdcall__)) IRunnableObject_GetRunningClass_Proxy( | |
20227 | IRunnableObject* This, | |
20228 | LPCLSID lpClsid); | |
20229 | void __attribute__((__stdcall__)) IRunnableObject_GetRunningClass_Stub( | |
20230 | IRpcStubBuffer* This, | |
20231 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20232 | PRPC_MESSAGE pRpcMessage, | |
20233 | DWORD* pdwStubPhase); | |
20234 | HRESULT __attribute__((__stdcall__)) IRunnableObject_Run_Proxy( | |
20235 | IRunnableObject* This, | |
20236 | LPBINDCTX pbc); | |
20237 | void __attribute__((__stdcall__)) IRunnableObject_Run_Stub( | |
20238 | IRpcStubBuffer* This, | |
20239 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20240 | PRPC_MESSAGE pRpcMessage, | |
20241 | DWORD* pdwStubPhase); | |
20242 | HRESULT __attribute__((__stdcall__)) IRunnableObject_RemoteIsRunning_Proxy( | |
20243 | IRunnableObject* This); | |
20244 | void __attribute__((__stdcall__)) IRunnableObject_RemoteIsRunning_Stub( | |
20245 | IRpcStubBuffer* This, | |
20246 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20247 | PRPC_MESSAGE pRpcMessage, | |
20248 | DWORD* pdwStubPhase); | |
20249 | BOOL __attribute__((__stdcall__)) IRunnableObject_IsRunning_Proxy( | |
20250 | IRunnableObject* This); | |
20251 | HRESULT __attribute__((__stdcall__)) IRunnableObject_IsRunning_Stub( | |
20252 | IRunnableObject* This); | |
20253 | HRESULT __attribute__((__stdcall__)) IRunnableObject_LockRunning_Proxy( | |
20254 | IRunnableObject* This, | |
20255 | BOOL fLock, | |
20256 | BOOL fLastUnlockCloses); | |
20257 | void __attribute__((__stdcall__)) IRunnableObject_LockRunning_Stub( | |
20258 | IRpcStubBuffer* This, | |
20259 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20260 | PRPC_MESSAGE pRpcMessage, | |
20261 | DWORD* pdwStubPhase); | |
20262 | HRESULT __attribute__((__stdcall__)) IRunnableObject_SetContainedObject_Proxy( | |
20263 | IRunnableObject* This, | |
20264 | BOOL fContained); | |
20265 | void __attribute__((__stdcall__)) IRunnableObject_SetContainedObject_Stub( | |
20266 | IRpcStubBuffer* This, | |
20267 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20268 | PRPC_MESSAGE pRpcMessage, | |
20269 | DWORD* pdwStubPhase); | |
20270 | ||
20271 | ||
20272 | ||
20273 | ||
20274 | ||
20275 | ||
20276 | typedef IRunningObjectTable *LPRUNNINGOBJECTTABLE; | |
20277 | ||
20278 | ||
20279 | ||
20280 | ||
20281 | ||
20282 | ||
20283 | extern const GUID IID_IRunningObjectTable __attribute__((visibility ("hidden"))); | |
20284 | # 1986 "../../../include/objidl.h" | |
20285 | typedef struct IRunningObjectTableVtbl { | |
20286 | ||
20287 | ||
20288 | ||
20289 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
20290 | IRunningObjectTable* This, | |
20291 | const IID* const riid, | |
20292 | void** ppvObject); | |
20293 | ||
20294 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
20295 | IRunningObjectTable* This); | |
20296 | ||
20297 | ULONG (__attribute__((__stdcall__)) *Release)( | |
20298 | IRunningObjectTable* This); | |
20299 | ||
20300 | ||
20301 | HRESULT (__attribute__((__stdcall__)) *Register)( | |
20302 | IRunningObjectTable* This, | |
20303 | DWORD grfFlags, | |
20304 | IUnknown* punkObject, | |
20305 | IMoniker* pmkObjectName, | |
20306 | DWORD* pdwRegister); | |
20307 | ||
20308 | HRESULT (__attribute__((__stdcall__)) *Revoke)( | |
20309 | IRunningObjectTable* This, | |
20310 | DWORD dwRegister); | |
20311 | ||
20312 | HRESULT (__attribute__((__stdcall__)) *IsRunning)( | |
20313 | IRunningObjectTable* This, | |
20314 | IMoniker* pmkObjectName); | |
20315 | ||
20316 | HRESULT (__attribute__((__stdcall__)) *GetObjectA)( | |
20317 | IRunningObjectTable* This, | |
20318 | IMoniker* pmkObjectName, | |
20319 | IUnknown** ppunkObject); | |
20320 | ||
20321 | HRESULT (__attribute__((__stdcall__)) *NoteChangeTime)( | |
20322 | IRunningObjectTable* This, | |
20323 | DWORD dwRegister, | |
20324 | FILETIME* pfiletime); | |
20325 | ||
20326 | HRESULT (__attribute__((__stdcall__)) *GetTimeOfLastChange)( | |
20327 | IRunningObjectTable* This, | |
20328 | IMoniker* pmkObjectName, | |
20329 | FILETIME* pfiletime); | |
20330 | ||
20331 | HRESULT (__attribute__((__stdcall__)) *EnumRunning)( | |
20332 | IRunningObjectTable* This, | |
20333 | IEnumMoniker** ppenumMoniker); | |
20334 | ||
20335 | ||
20336 | } IRunningObjectTableVtbl; | |
20337 | struct IRunningObjectTable { | |
20338 | const IRunningObjectTableVtbl* lpVtbl; | |
20339 | }; | |
20340 | # 2059 "../../../include/objidl.h" | |
20341 | HRESULT __attribute__((__stdcall__)) IRunningObjectTable_Register_Proxy( | |
20342 | IRunningObjectTable* This, | |
20343 | DWORD grfFlags, | |
20344 | IUnknown* punkObject, | |
20345 | IMoniker* pmkObjectName, | |
20346 | DWORD* pdwRegister); | |
20347 | void __attribute__((__stdcall__)) IRunningObjectTable_Register_Stub( | |
20348 | IRpcStubBuffer* This, | |
20349 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20350 | PRPC_MESSAGE pRpcMessage, | |
20351 | DWORD* pdwStubPhase); | |
20352 | HRESULT __attribute__((__stdcall__)) IRunningObjectTable_Revoke_Proxy( | |
20353 | IRunningObjectTable* This, | |
20354 | DWORD dwRegister); | |
20355 | void __attribute__((__stdcall__)) IRunningObjectTable_Revoke_Stub( | |
20356 | IRpcStubBuffer* This, | |
20357 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20358 | PRPC_MESSAGE pRpcMessage, | |
20359 | DWORD* pdwStubPhase); | |
20360 | HRESULT __attribute__((__stdcall__)) IRunningObjectTable_IsRunning_Proxy( | |
20361 | IRunningObjectTable* This, | |
20362 | IMoniker* pmkObjectName); | |
20363 | void __attribute__((__stdcall__)) IRunningObjectTable_IsRunning_Stub( | |
20364 | IRpcStubBuffer* This, | |
20365 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20366 | PRPC_MESSAGE pRpcMessage, | |
20367 | DWORD* pdwStubPhase); | |
20368 | HRESULT __attribute__((__stdcall__)) IRunningObjectTable_GetObject_Proxy( | |
20369 | IRunningObjectTable* This, | |
20370 | IMoniker* pmkObjectName, | |
20371 | IUnknown** ppunkObject); | |
20372 | void __attribute__((__stdcall__)) IRunningObjectTable_GetObject_Stub( | |
20373 | IRpcStubBuffer* This, | |
20374 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20375 | PRPC_MESSAGE pRpcMessage, | |
20376 | DWORD* pdwStubPhase); | |
20377 | HRESULT __attribute__((__stdcall__)) IRunningObjectTable_NoteChangeTime_Proxy( | |
20378 | IRunningObjectTable* This, | |
20379 | DWORD dwRegister, | |
20380 | FILETIME* pfiletime); | |
20381 | void __attribute__((__stdcall__)) IRunningObjectTable_NoteChangeTime_Stub( | |
20382 | IRpcStubBuffer* This, | |
20383 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20384 | PRPC_MESSAGE pRpcMessage, | |
20385 | DWORD* pdwStubPhase); | |
20386 | HRESULT __attribute__((__stdcall__)) IRunningObjectTable_GetTimeOfLastChange_Proxy( | |
20387 | IRunningObjectTable* This, | |
20388 | IMoniker* pmkObjectName, | |
20389 | FILETIME* pfiletime); | |
20390 | void __attribute__((__stdcall__)) IRunningObjectTable_GetTimeOfLastChange_Stub( | |
20391 | IRpcStubBuffer* This, | |
20392 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20393 | PRPC_MESSAGE pRpcMessage, | |
20394 | DWORD* pdwStubPhase); | |
20395 | HRESULT __attribute__((__stdcall__)) IRunningObjectTable_EnumRunning_Proxy( | |
20396 | IRunningObjectTable* This, | |
20397 | IEnumMoniker** ppenumMoniker); | |
20398 | void __attribute__((__stdcall__)) IRunningObjectTable_EnumRunning_Stub( | |
20399 | IRpcStubBuffer* This, | |
20400 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20401 | PRPC_MESSAGE pRpcMessage, | |
20402 | DWORD* pdwStubPhase); | |
20403 | ||
20404 | ||
20405 | ||
20406 | ||
20407 | ||
20408 | typedef struct IPersist IPersist; | |
20409 | ||
20410 | ||
20411 | typedef IPersist *LPPERSIST; | |
20412 | ||
20413 | ||
20414 | ||
20415 | ||
20416 | ||
20417 | ||
20418 | extern const GUID IID_IPersist __attribute__((visibility ("hidden"))); | |
20419 | # 2145 "../../../include/objidl.h" | |
20420 | typedef struct IPersistVtbl { | |
20421 | ||
20422 | ||
20423 | ||
20424 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
20425 | IPersist* This, | |
20426 | const IID* const riid, | |
20427 | void** ppvObject); | |
20428 | ||
20429 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
20430 | IPersist* This); | |
20431 | ||
20432 | ULONG (__attribute__((__stdcall__)) *Release)( | |
20433 | IPersist* This); | |
20434 | ||
20435 | ||
20436 | HRESULT (__attribute__((__stdcall__)) *GetClassID)( | |
20437 | IPersist* This, | |
20438 | CLSID* pClassID); | |
20439 | ||
20440 | ||
20441 | } IPersistVtbl; | |
20442 | struct IPersist { | |
20443 | const IPersistVtbl* lpVtbl; | |
20444 | }; | |
20445 | # 2182 "../../../include/objidl.h" | |
20446 | HRESULT __attribute__((__stdcall__)) IPersist_GetClassID_Proxy( | |
20447 | IPersist* This, | |
20448 | CLSID* pClassID); | |
20449 | void __attribute__((__stdcall__)) IPersist_GetClassID_Stub( | |
20450 | IRpcStubBuffer* This, | |
20451 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20452 | PRPC_MESSAGE pRpcMessage, | |
20453 | DWORD* pdwStubPhase); | |
20454 | ||
20455 | ||
20456 | ||
20457 | ||
20458 | ||
20459 | typedef struct IPersistStream IPersistStream; | |
20460 | ||
20461 | ||
20462 | typedef IPersistStream *LPPERSISTSTREAM; | |
20463 | ||
20464 | ||
20465 | ||
20466 | ||
20467 | ||
20468 | ||
20469 | extern const GUID IID_IPersistStream __attribute__((visibility ("hidden"))); | |
20470 | # 2224 "../../../include/objidl.h" | |
20471 | typedef struct IPersistStreamVtbl { | |
20472 | ||
20473 | ||
20474 | ||
20475 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
20476 | IPersistStream* This, | |
20477 | const IID* const riid, | |
20478 | void** ppvObject); | |
20479 | ||
20480 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
20481 | IPersistStream* This); | |
20482 | ||
20483 | ULONG (__attribute__((__stdcall__)) *Release)( | |
20484 | IPersistStream* This); | |
20485 | ||
20486 | ||
20487 | HRESULT (__attribute__((__stdcall__)) *GetClassID)( | |
20488 | IPersistStream* This, | |
20489 | CLSID* pClassID); | |
20490 | ||
20491 | ||
20492 | HRESULT (__attribute__((__stdcall__)) *IsDirty)( | |
20493 | IPersistStream* This); | |
20494 | ||
20495 | HRESULT (__attribute__((__stdcall__)) *Load)( | |
20496 | IPersistStream* This, | |
20497 | IStream* pStm); | |
20498 | ||
20499 | HRESULT (__attribute__((__stdcall__)) *Save)( | |
20500 | IPersistStream* This, | |
20501 | IStream* pStm, | |
20502 | BOOL fClearDirty); | |
20503 | ||
20504 | HRESULT (__attribute__((__stdcall__)) *GetSizeMax)( | |
20505 | IPersistStream* This, | |
20506 | ULARGE_INTEGER* pcbSize); | |
20507 | ||
20508 | ||
20509 | } IPersistStreamVtbl; | |
20510 | struct IPersistStream { | |
20511 | const IPersistStreamVtbl* lpVtbl; | |
20512 | }; | |
20513 | # 2283 "../../../include/objidl.h" | |
20514 | HRESULT __attribute__((__stdcall__)) IPersistStream_IsDirty_Proxy( | |
20515 | IPersistStream* This); | |
20516 | void __attribute__((__stdcall__)) IPersistStream_IsDirty_Stub( | |
20517 | IRpcStubBuffer* This, | |
20518 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20519 | PRPC_MESSAGE pRpcMessage, | |
20520 | DWORD* pdwStubPhase); | |
20521 | HRESULT __attribute__((__stdcall__)) IPersistStream_Load_Proxy( | |
20522 | IPersistStream* This, | |
20523 | IStream* pStm); | |
20524 | void __attribute__((__stdcall__)) IPersistStream_Load_Stub( | |
20525 | IRpcStubBuffer* This, | |
20526 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20527 | PRPC_MESSAGE pRpcMessage, | |
20528 | DWORD* pdwStubPhase); | |
20529 | HRESULT __attribute__((__stdcall__)) IPersistStream_Save_Proxy( | |
20530 | IPersistStream* This, | |
20531 | IStream* pStm, | |
20532 | BOOL fClearDirty); | |
20533 | void __attribute__((__stdcall__)) IPersistStream_Save_Stub( | |
20534 | IRpcStubBuffer* This, | |
20535 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20536 | PRPC_MESSAGE pRpcMessage, | |
20537 | DWORD* pdwStubPhase); | |
20538 | HRESULT __attribute__((__stdcall__)) IPersistStream_GetSizeMax_Proxy( | |
20539 | IPersistStream* This, | |
20540 | ULARGE_INTEGER* pcbSize); | |
20541 | void __attribute__((__stdcall__)) IPersistStream_GetSizeMax_Stub( | |
20542 | IRpcStubBuffer* This, | |
20543 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20544 | PRPC_MESSAGE pRpcMessage, | |
20545 | DWORD* pdwStubPhase); | |
20546 | ||
20547 | ||
20548 | ||
20549 | typedef IMoniker *LPMONIKER; | |
20550 | typedef enum tagMKSYS { | |
20551 | MKSYS_NONE = 0, | |
20552 | MKSYS_GENERICCOMPOSITE = 1, | |
20553 | MKSYS_FILEMONIKER = 2, | |
20554 | MKSYS_ANTIMONIKER = 3, | |
20555 | MKSYS_ITEMMONIKER = 4, | |
20556 | MKSYS_POINTERMONIKER = 5, | |
20557 | MKSYS_CLASSMONIKER = 7 | |
20558 | } MKSYS; | |
20559 | typedef enum tagMKREDUCE { | |
20560 | MKRREDUCE_ONE = 3 << 16, | |
20561 | MKRREDUCE_TOUSER = 2 << 16, | |
20562 | MKRREDUCE_THROUGHUSER = 1 << 16, | |
20563 | MKRREDUCE_ALL = 0 | |
20564 | } MKRREDUCE; | |
20565 | ||
20566 | ||
20567 | ||
20568 | ||
20569 | ||
20570 | ||
20571 | extern const GUID IID_IMoniker __attribute__((visibility ("hidden"))); | |
20572 | # 2415 "../../../include/objidl.h" | |
20573 | typedef struct IMonikerVtbl { | |
20574 | ||
20575 | ||
20576 | ||
20577 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
20578 | IMoniker* This, | |
20579 | const IID* const riid, | |
20580 | void** ppvObject); | |
20581 | ||
20582 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
20583 | IMoniker* This); | |
20584 | ||
20585 | ULONG (__attribute__((__stdcall__)) *Release)( | |
20586 | IMoniker* This); | |
20587 | ||
20588 | ||
20589 | HRESULT (__attribute__((__stdcall__)) *GetClassID)( | |
20590 | IMoniker* This, | |
20591 | CLSID* pClassID); | |
20592 | ||
20593 | ||
20594 | HRESULT (__attribute__((__stdcall__)) *IsDirty)( | |
20595 | IMoniker* This); | |
20596 | ||
20597 | HRESULT (__attribute__((__stdcall__)) *Load)( | |
20598 | IMoniker* This, | |
20599 | IStream* pStm); | |
20600 | ||
20601 | HRESULT (__attribute__((__stdcall__)) *Save)( | |
20602 | IMoniker* This, | |
20603 | IStream* pStm, | |
20604 | BOOL fClearDirty); | |
20605 | ||
20606 | HRESULT (__attribute__((__stdcall__)) *GetSizeMax)( | |
20607 | IMoniker* This, | |
20608 | ULARGE_INTEGER* pcbSize); | |
20609 | ||
20610 | ||
20611 | HRESULT (__attribute__((__stdcall__)) *BindToObject)( | |
20612 | IMoniker* This, | |
20613 | IBindCtx* pbc, | |
20614 | IMoniker* pmkToLeft, | |
20615 | const IID* const riidResult, | |
20616 | void** ppvResult); | |
20617 | ||
20618 | HRESULT (__attribute__((__stdcall__)) *BindToStorage)( | |
20619 | IMoniker* This, | |
20620 | IBindCtx* pbc, | |
20621 | IMoniker* pmkToLeft, | |
20622 | const IID* const riid, | |
20623 | void** ppvObj); | |
20624 | ||
20625 | HRESULT (__attribute__((__stdcall__)) *Reduce)( | |
20626 | IMoniker* This, | |
20627 | IBindCtx* pbc, | |
20628 | DWORD dwReduceHowFar, | |
20629 | IMoniker** ppmkToLeft, | |
20630 | IMoniker** ppmkReduced); | |
20631 | ||
20632 | HRESULT (__attribute__((__stdcall__)) *ComposeWith)( | |
20633 | IMoniker* This, | |
20634 | IMoniker* pmkRight, | |
20635 | BOOL fOnlyIfNotGeneric, | |
20636 | IMoniker** ppmkComposite); | |
20637 | ||
20638 | HRESULT (__attribute__((__stdcall__)) *Enum)( | |
20639 | IMoniker* This, | |
20640 | BOOL fForward, | |
20641 | IEnumMoniker** ppenumMoniker); | |
20642 | ||
20643 | HRESULT (__attribute__((__stdcall__)) *IsEqual)( | |
20644 | IMoniker* This, | |
20645 | IMoniker* pmkOtherMoniker); | |
20646 | ||
20647 | HRESULT (__attribute__((__stdcall__)) *Hash)( | |
20648 | IMoniker* This, | |
20649 | DWORD* pdwHash); | |
20650 | ||
20651 | HRESULT (__attribute__((__stdcall__)) *IsRunning)( | |
20652 | IMoniker* This, | |
20653 | IBindCtx* pbc, | |
20654 | IMoniker* pmkToLeft, | |
20655 | IMoniker* pmkNewlyRunning); | |
20656 | ||
20657 | HRESULT (__attribute__((__stdcall__)) *GetTimeOfLastChange)( | |
20658 | IMoniker* This, | |
20659 | IBindCtx* pbc, | |
20660 | IMoniker* pmkToLeft, | |
20661 | FILETIME* pFileTime); | |
20662 | ||
20663 | HRESULT (__attribute__((__stdcall__)) *Inverse)( | |
20664 | IMoniker* This, | |
20665 | IMoniker** ppmk); | |
20666 | ||
20667 | HRESULT (__attribute__((__stdcall__)) *CommonPrefixWith)( | |
20668 | IMoniker* This, | |
20669 | IMoniker* pmkOther, | |
20670 | IMoniker** ppmkPrefix); | |
20671 | ||
20672 | HRESULT (__attribute__((__stdcall__)) *RelativePathTo)( | |
20673 | IMoniker* This, | |
20674 | IMoniker* pmkOther, | |
20675 | IMoniker** ppmkRelPath); | |
20676 | ||
20677 | HRESULT (__attribute__((__stdcall__)) *GetDisplayName)( | |
20678 | IMoniker* This, | |
20679 | IBindCtx* pbc, | |
20680 | IMoniker* pmkToLeft, | |
20681 | LPOLESTR* ppszDisplayName); | |
20682 | ||
20683 | HRESULT (__attribute__((__stdcall__)) *ParseDisplayName)( | |
20684 | IMoniker* This, | |
20685 | IBindCtx* pbc, | |
20686 | IMoniker* pmkToLeft, | |
20687 | LPOLESTR pszDisplayName, | |
20688 | ULONG* pchEaten, | |
20689 | IMoniker** ppmkOut); | |
20690 | ||
20691 | HRESULT (__attribute__((__stdcall__)) *IsSystemMoniker)( | |
20692 | IMoniker* This, | |
20693 | DWORD* pdwMksys); | |
20694 | ||
20695 | ||
20696 | } IMonikerVtbl; | |
20697 | struct IMoniker { | |
20698 | const IMonikerVtbl* lpVtbl; | |
20699 | }; | |
20700 | # 2575 "../../../include/objidl.h" | |
20701 | HRESULT __attribute__((__stdcall__)) IMoniker_RemoteBindToObject_Proxy( | |
20702 | IMoniker* This, | |
20703 | IBindCtx* pbc, | |
20704 | IMoniker* pmkToLeft, | |
20705 | const IID* const riidResult, | |
20706 | IUnknown** ppvResult); | |
20707 | void __attribute__((__stdcall__)) IMoniker_RemoteBindToObject_Stub( | |
20708 | IRpcStubBuffer* This, | |
20709 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20710 | PRPC_MESSAGE pRpcMessage, | |
20711 | DWORD* pdwStubPhase); | |
20712 | HRESULT __attribute__((__stdcall__)) IMoniker_BindToObject_Proxy( | |
20713 | IMoniker* This, | |
20714 | IBindCtx* pbc, | |
20715 | IMoniker* pmkToLeft, | |
20716 | const IID* const riidResult, | |
20717 | void** ppvResult); | |
20718 | HRESULT __attribute__((__stdcall__)) IMoniker_BindToObject_Stub( | |
20719 | IMoniker* This, | |
20720 | IBindCtx* pbc, | |
20721 | IMoniker* pmkToLeft, | |
20722 | const IID* const riidResult, | |
20723 | IUnknown** ppvResult); | |
20724 | HRESULT __attribute__((__stdcall__)) IMoniker_RemoteBindToStorage_Proxy( | |
20725 | IMoniker* This, | |
20726 | IBindCtx* pbc, | |
20727 | IMoniker* pmkToLeft, | |
20728 | const IID* const riid, | |
20729 | IUnknown** ppvObj); | |
20730 | void __attribute__((__stdcall__)) IMoniker_RemoteBindToStorage_Stub( | |
20731 | IRpcStubBuffer* This, | |
20732 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20733 | PRPC_MESSAGE pRpcMessage, | |
20734 | DWORD* pdwStubPhase); | |
20735 | HRESULT __attribute__((__stdcall__)) IMoniker_BindToStorage_Proxy( | |
20736 | IMoniker* This, | |
20737 | IBindCtx* pbc, | |
20738 | IMoniker* pmkToLeft, | |
20739 | const IID* const riid, | |
20740 | void** ppvObj); | |
20741 | HRESULT __attribute__((__stdcall__)) IMoniker_BindToStorage_Stub( | |
20742 | IMoniker* This, | |
20743 | IBindCtx* pbc, | |
20744 | IMoniker* pmkToLeft, | |
20745 | const IID* const riid, | |
20746 | IUnknown** ppvObj); | |
20747 | HRESULT __attribute__((__stdcall__)) IMoniker_Reduce_Proxy( | |
20748 | IMoniker* This, | |
20749 | IBindCtx* pbc, | |
20750 | DWORD dwReduceHowFar, | |
20751 | IMoniker** ppmkToLeft, | |
20752 | IMoniker** ppmkReduced); | |
20753 | void __attribute__((__stdcall__)) IMoniker_Reduce_Stub( | |
20754 | IRpcStubBuffer* This, | |
20755 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20756 | PRPC_MESSAGE pRpcMessage, | |
20757 | DWORD* pdwStubPhase); | |
20758 | HRESULT __attribute__((__stdcall__)) IMoniker_ComposeWith_Proxy( | |
20759 | IMoniker* This, | |
20760 | IMoniker* pmkRight, | |
20761 | BOOL fOnlyIfNotGeneric, | |
20762 | IMoniker** ppmkComposite); | |
20763 | void __attribute__((__stdcall__)) IMoniker_ComposeWith_Stub( | |
20764 | IRpcStubBuffer* This, | |
20765 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20766 | PRPC_MESSAGE pRpcMessage, | |
20767 | DWORD* pdwStubPhase); | |
20768 | HRESULT __attribute__((__stdcall__)) IMoniker_Enum_Proxy( | |
20769 | IMoniker* This, | |
20770 | BOOL fForward, | |
20771 | IEnumMoniker** ppenumMoniker); | |
20772 | void __attribute__((__stdcall__)) IMoniker_Enum_Stub( | |
20773 | IRpcStubBuffer* This, | |
20774 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20775 | PRPC_MESSAGE pRpcMessage, | |
20776 | DWORD* pdwStubPhase); | |
20777 | HRESULT __attribute__((__stdcall__)) IMoniker_IsEqual_Proxy( | |
20778 | IMoniker* This, | |
20779 | IMoniker* pmkOtherMoniker); | |
20780 | void __attribute__((__stdcall__)) IMoniker_IsEqual_Stub( | |
20781 | IRpcStubBuffer* This, | |
20782 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20783 | PRPC_MESSAGE pRpcMessage, | |
20784 | DWORD* pdwStubPhase); | |
20785 | HRESULT __attribute__((__stdcall__)) IMoniker_Hash_Proxy( | |
20786 | IMoniker* This, | |
20787 | DWORD* pdwHash); | |
20788 | void __attribute__((__stdcall__)) IMoniker_Hash_Stub( | |
20789 | IRpcStubBuffer* This, | |
20790 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20791 | PRPC_MESSAGE pRpcMessage, | |
20792 | DWORD* pdwStubPhase); | |
20793 | HRESULT __attribute__((__stdcall__)) IMoniker_IsRunning_Proxy( | |
20794 | IMoniker* This, | |
20795 | IBindCtx* pbc, | |
20796 | IMoniker* pmkToLeft, | |
20797 | IMoniker* pmkNewlyRunning); | |
20798 | void __attribute__((__stdcall__)) IMoniker_IsRunning_Stub( | |
20799 | IRpcStubBuffer* This, | |
20800 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20801 | PRPC_MESSAGE pRpcMessage, | |
20802 | DWORD* pdwStubPhase); | |
20803 | HRESULT __attribute__((__stdcall__)) IMoniker_GetTimeOfLastChange_Proxy( | |
20804 | IMoniker* This, | |
20805 | IBindCtx* pbc, | |
20806 | IMoniker* pmkToLeft, | |
20807 | FILETIME* pFileTime); | |
20808 | void __attribute__((__stdcall__)) IMoniker_GetTimeOfLastChange_Stub( | |
20809 | IRpcStubBuffer* This, | |
20810 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20811 | PRPC_MESSAGE pRpcMessage, | |
20812 | DWORD* pdwStubPhase); | |
20813 | HRESULT __attribute__((__stdcall__)) IMoniker_Inverse_Proxy( | |
20814 | IMoniker* This, | |
20815 | IMoniker** ppmk); | |
20816 | void __attribute__((__stdcall__)) IMoniker_Inverse_Stub( | |
20817 | IRpcStubBuffer* This, | |
20818 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20819 | PRPC_MESSAGE pRpcMessage, | |
20820 | DWORD* pdwStubPhase); | |
20821 | HRESULT __attribute__((__stdcall__)) IMoniker_CommonPrefixWith_Proxy( | |
20822 | IMoniker* This, | |
20823 | IMoniker* pmkOther, | |
20824 | IMoniker** ppmkPrefix); | |
20825 | void __attribute__((__stdcall__)) IMoniker_CommonPrefixWith_Stub( | |
20826 | IRpcStubBuffer* This, | |
20827 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20828 | PRPC_MESSAGE pRpcMessage, | |
20829 | DWORD* pdwStubPhase); | |
20830 | HRESULT __attribute__((__stdcall__)) IMoniker_RelativePathTo_Proxy( | |
20831 | IMoniker* This, | |
20832 | IMoniker* pmkOther, | |
20833 | IMoniker** ppmkRelPath); | |
20834 | void __attribute__((__stdcall__)) IMoniker_RelativePathTo_Stub( | |
20835 | IRpcStubBuffer* This, | |
20836 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20837 | PRPC_MESSAGE pRpcMessage, | |
20838 | DWORD* pdwStubPhase); | |
20839 | HRESULT __attribute__((__stdcall__)) IMoniker_GetDisplayName_Proxy( | |
20840 | IMoniker* This, | |
20841 | IBindCtx* pbc, | |
20842 | IMoniker* pmkToLeft, | |
20843 | LPOLESTR* ppszDisplayName); | |
20844 | void __attribute__((__stdcall__)) IMoniker_GetDisplayName_Stub( | |
20845 | IRpcStubBuffer* This, | |
20846 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20847 | PRPC_MESSAGE pRpcMessage, | |
20848 | DWORD* pdwStubPhase); | |
20849 | HRESULT __attribute__((__stdcall__)) IMoniker_ParseDisplayName_Proxy( | |
20850 | IMoniker* This, | |
20851 | IBindCtx* pbc, | |
20852 | IMoniker* pmkToLeft, | |
20853 | LPOLESTR pszDisplayName, | |
20854 | ULONG* pchEaten, | |
20855 | IMoniker** ppmkOut); | |
20856 | void __attribute__((__stdcall__)) IMoniker_ParseDisplayName_Stub( | |
20857 | IRpcStubBuffer* This, | |
20858 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20859 | PRPC_MESSAGE pRpcMessage, | |
20860 | DWORD* pdwStubPhase); | |
20861 | HRESULT __attribute__((__stdcall__)) IMoniker_IsSystemMoniker_Proxy( | |
20862 | IMoniker* This, | |
20863 | DWORD* pdwMksys); | |
20864 | void __attribute__((__stdcall__)) IMoniker_IsSystemMoniker_Stub( | |
20865 | IRpcStubBuffer* This, | |
20866 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20867 | PRPC_MESSAGE pRpcMessage, | |
20868 | DWORD* pdwStubPhase); | |
20869 | ||
20870 | ||
20871 | ||
20872 | ||
20873 | ||
20874 | typedef struct IROTData IROTData; | |
20875 | # 2757 "../../../include/objidl.h" | |
20876 | extern const GUID IID_IROTData __attribute__((visibility ("hidden"))); | |
20877 | # 2768 "../../../include/objidl.h" | |
20878 | typedef struct IROTDataVtbl { | |
20879 | ||
20880 | ||
20881 | ||
20882 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
20883 | IROTData* This, | |
20884 | const IID* const riid, | |
20885 | void** ppvObject); | |
20886 | ||
20887 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
20888 | IROTData* This); | |
20889 | ||
20890 | ULONG (__attribute__((__stdcall__)) *Release)( | |
20891 | IROTData* This); | |
20892 | ||
20893 | ||
20894 | HRESULT (__attribute__((__stdcall__)) *GetComparisonData)( | |
20895 | IROTData* This, | |
20896 | byte* pbData, | |
20897 | ULONG cbMax, | |
20898 | ULONG* pcbData); | |
20899 | ||
20900 | ||
20901 | } IROTDataVtbl; | |
20902 | struct IROTData { | |
20903 | const IROTDataVtbl* lpVtbl; | |
20904 | }; | |
20905 | # 2807 "../../../include/objidl.h" | |
20906 | HRESULT __attribute__((__stdcall__)) IROTData_GetComparisonData_Proxy( | |
20907 | IROTData* This, | |
20908 | byte* pbData, | |
20909 | ULONG cbMax, | |
20910 | ULONG* pcbData); | |
20911 | void __attribute__((__stdcall__)) IROTData_GetComparisonData_Stub( | |
20912 | IRpcStubBuffer* This, | |
20913 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20914 | PRPC_MESSAGE pRpcMessage, | |
20915 | DWORD* pdwStubPhase); | |
20916 | ||
20917 | ||
20918 | ||
20919 | typedef IEnumString *LPENUMSTRING; | |
20920 | ||
20921 | ||
20922 | ||
20923 | ||
20924 | ||
20925 | ||
20926 | extern const GUID IID_IEnumString __attribute__((visibility ("hidden"))); | |
20927 | # 2847 "../../../include/objidl.h" | |
20928 | typedef struct IEnumStringVtbl { | |
20929 | ||
20930 | ||
20931 | ||
20932 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
20933 | IEnumString* This, | |
20934 | const IID* const riid, | |
20935 | void** ppvObject); | |
20936 | ||
20937 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
20938 | IEnumString* This); | |
20939 | ||
20940 | ULONG (__attribute__((__stdcall__)) *Release)( | |
20941 | IEnumString* This); | |
20942 | ||
20943 | ||
20944 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
20945 | IEnumString* This, | |
20946 | ULONG celt, | |
20947 | LPOLESTR* rgelt, | |
20948 | ULONG* pceltFetched); | |
20949 | ||
20950 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
20951 | IEnumString* This, | |
20952 | ULONG celt); | |
20953 | ||
20954 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
20955 | IEnumString* This); | |
20956 | ||
20957 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
20958 | IEnumString* This, | |
20959 | IEnumString** ppenum); | |
20960 | ||
20961 | ||
20962 | } IEnumStringVtbl; | |
20963 | struct IEnumString { | |
20964 | const IEnumStringVtbl* lpVtbl; | |
20965 | }; | |
20966 | # 2900 "../../../include/objidl.h" | |
20967 | HRESULT __attribute__((__stdcall__)) IEnumString_RemoteNext_Proxy( | |
20968 | IEnumString* This, | |
20969 | ULONG celt, | |
20970 | LPOLESTR* rgelt, | |
20971 | ULONG* pceltFetched); | |
20972 | void __attribute__((__stdcall__)) IEnumString_RemoteNext_Stub( | |
20973 | IRpcStubBuffer* This, | |
20974 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20975 | PRPC_MESSAGE pRpcMessage, | |
20976 | DWORD* pdwStubPhase); | |
20977 | HRESULT __attribute__((__stdcall__)) IEnumString_Next_Proxy( | |
20978 | IEnumString* This, | |
20979 | ULONG celt, | |
20980 | LPOLESTR* rgelt, | |
20981 | ULONG* pceltFetched); | |
20982 | HRESULT __attribute__((__stdcall__)) IEnumString_Next_Stub( | |
20983 | IEnumString* This, | |
20984 | ULONG celt, | |
20985 | LPOLESTR* rgelt, | |
20986 | ULONG* pceltFetched); | |
20987 | HRESULT __attribute__((__stdcall__)) IEnumString_Skip_Proxy( | |
20988 | IEnumString* This, | |
20989 | ULONG celt); | |
20990 | void __attribute__((__stdcall__)) IEnumString_Skip_Stub( | |
20991 | IRpcStubBuffer* This, | |
20992 | IRpcChannelBuffer* pRpcChannelBuffer, | |
20993 | PRPC_MESSAGE pRpcMessage, | |
20994 | DWORD* pdwStubPhase); | |
20995 | HRESULT __attribute__((__stdcall__)) IEnumString_Reset_Proxy( | |
20996 | IEnumString* This); | |
20997 | void __attribute__((__stdcall__)) IEnumString_Reset_Stub( | |
20998 | IRpcStubBuffer* This, | |
20999 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21000 | PRPC_MESSAGE pRpcMessage, | |
21001 | DWORD* pdwStubPhase); | |
21002 | HRESULT __attribute__((__stdcall__)) IEnumString_Clone_Proxy( | |
21003 | IEnumString* This, | |
21004 | IEnumString** ppenum); | |
21005 | void __attribute__((__stdcall__)) IEnumString_Clone_Stub( | |
21006 | IRpcStubBuffer* This, | |
21007 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21008 | PRPC_MESSAGE pRpcMessage, | |
21009 | DWORD* pdwStubPhase); | |
21010 | ||
21011 | ||
21012 | ||
21013 | ||
21014 | ||
21015 | typedef struct IClassActivator IClassActivator; | |
21016 | # 2957 "../../../include/objidl.h" | |
21017 | extern const GUID IID_IClassActivator __attribute__((visibility ("hidden"))); | |
21018 | # 2970 "../../../include/objidl.h" | |
21019 | typedef struct IClassActivatorVtbl { | |
21020 | ||
21021 | ||
21022 | ||
21023 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
21024 | IClassActivator* This, | |
21025 | const IID* const riid, | |
21026 | void** ppvObject); | |
21027 | ||
21028 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
21029 | IClassActivator* This); | |
21030 | ||
21031 | ULONG (__attribute__((__stdcall__)) *Release)( | |
21032 | IClassActivator* This); | |
21033 | ||
21034 | ||
21035 | HRESULT (__attribute__((__stdcall__)) *GetClassObject)( | |
21036 | IClassActivator* This, | |
21037 | const CLSID* const rclsid, | |
21038 | DWORD dwClassContext, | |
21039 | LCID locale, | |
21040 | const IID* const riid, | |
21041 | void** ppv); | |
21042 | ||
21043 | ||
21044 | } IClassActivatorVtbl; | |
21045 | struct IClassActivator { | |
21046 | const IClassActivatorVtbl* lpVtbl; | |
21047 | }; | |
21048 | # 3011 "../../../include/objidl.h" | |
21049 | HRESULT __attribute__((__stdcall__)) IClassActivator_GetClassObject_Proxy( | |
21050 | IClassActivator* This, | |
21051 | const CLSID* const rclsid, | |
21052 | DWORD dwClassContext, | |
21053 | LCID locale, | |
21054 | const IID* const riid, | |
21055 | void** ppv); | |
21056 | void __attribute__((__stdcall__)) IClassActivator_GetClassObject_Stub( | |
21057 | IRpcStubBuffer* This, | |
21058 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21059 | PRPC_MESSAGE pRpcMessage, | |
21060 | DWORD* pdwStubPhase); | |
21061 | ||
21062 | ||
21063 | ||
21064 | ||
21065 | ||
21066 | typedef struct ISequentialStream ISequentialStream; | |
21067 | # 3037 "../../../include/objidl.h" | |
21068 | extern const GUID IID_ISequentialStream __attribute__((visibility ("hidden"))); | |
21069 | # 3053 "../../../include/objidl.h" | |
21070 | typedef struct ISequentialStreamVtbl { | |
21071 | ||
21072 | ||
21073 | ||
21074 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
21075 | ISequentialStream* This, | |
21076 | const IID* const riid, | |
21077 | void** ppvObject); | |
21078 | ||
21079 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
21080 | ISequentialStream* This); | |
21081 | ||
21082 | ULONG (__attribute__((__stdcall__)) *Release)( | |
21083 | ISequentialStream* This); | |
21084 | ||
21085 | ||
21086 | HRESULT (__attribute__((__stdcall__)) *Read)( | |
21087 | ISequentialStream* This, | |
21088 | void* pv, | |
21089 | ULONG cb, | |
21090 | ULONG* pcbRead); | |
21091 | ||
21092 | HRESULT (__attribute__((__stdcall__)) *Write)( | |
21093 | ISequentialStream* This, | |
21094 | const void* pv, | |
21095 | ULONG cb, | |
21096 | ULONG* pcbWritten); | |
21097 | ||
21098 | ||
21099 | } ISequentialStreamVtbl; | |
21100 | struct ISequentialStream { | |
21101 | const ISequentialStreamVtbl* lpVtbl; | |
21102 | }; | |
21103 | # 3099 "../../../include/objidl.h" | |
21104 | HRESULT __attribute__((__stdcall__)) ISequentialStream_RemoteRead_Proxy( | |
21105 | ISequentialStream* This, | |
21106 | byte* pv, | |
21107 | ULONG cb, | |
21108 | ULONG* pcbRead); | |
21109 | void __attribute__((__stdcall__)) ISequentialStream_RemoteRead_Stub( | |
21110 | IRpcStubBuffer* This, | |
21111 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21112 | PRPC_MESSAGE pRpcMessage, | |
21113 | DWORD* pdwStubPhase); | |
21114 | HRESULT __attribute__((__stdcall__)) ISequentialStream_Read_Proxy( | |
21115 | ISequentialStream* This, | |
21116 | void* pv, | |
21117 | ULONG cb, | |
21118 | ULONG* pcbRead); | |
21119 | HRESULT __attribute__((__stdcall__)) ISequentialStream_Read_Stub( | |
21120 | ISequentialStream* This, | |
21121 | byte* pv, | |
21122 | ULONG cb, | |
21123 | ULONG* pcbRead); | |
21124 | HRESULT __attribute__((__stdcall__)) ISequentialStream_RemoteWrite_Proxy( | |
21125 | ISequentialStream* This, | |
21126 | const byte* pv, | |
21127 | ULONG cb, | |
21128 | ULONG* pcbWritten); | |
21129 | void __attribute__((__stdcall__)) ISequentialStream_RemoteWrite_Stub( | |
21130 | IRpcStubBuffer* This, | |
21131 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21132 | PRPC_MESSAGE pRpcMessage, | |
21133 | DWORD* pdwStubPhase); | |
21134 | HRESULT __attribute__((__stdcall__)) ISequentialStream_Write_Proxy( | |
21135 | ISequentialStream* This, | |
21136 | const void* pv, | |
21137 | ULONG cb, | |
21138 | ULONG* pcbWritten); | |
21139 | HRESULT __attribute__((__stdcall__)) ISequentialStream_Write_Stub( | |
21140 | ISequentialStream* This, | |
21141 | const byte* pv, | |
21142 | ULONG cb, | |
21143 | ULONG* pcbWritten); | |
21144 | ||
21145 | ||
21146 | ||
21147 | typedef IStream *LPSTREAM; | |
21148 | typedef struct tagSTATSTG { | |
21149 | LPOLESTR pwcsName; | |
21150 | DWORD type; | |
21151 | ULARGE_INTEGER cbSize; | |
21152 | FILETIME mtime; | |
21153 | FILETIME ctime; | |
21154 | FILETIME atime; | |
21155 | DWORD grfMode; | |
21156 | DWORD grfLocksSupported; | |
21157 | CLSID clsid; | |
21158 | DWORD grfStateBits; | |
21159 | DWORD reserved; | |
21160 | } STATSTG; | |
21161 | typedef enum tagSTGTY { | |
21162 | STGTY_STORAGE = 1, | |
21163 | STGTY_STREAM = 2, | |
21164 | STGTY_LOCKBYTES = 3, | |
21165 | STGTY_PROPERTY = 4 | |
21166 | } STGTY; | |
21167 | typedef enum tagSTREAM_SEEK { | |
21168 | STREAM_SEEK_SET = 0, | |
21169 | STREAM_SEEK_CUR = 1, | |
21170 | STREAM_SEEK_END = 2 | |
21171 | } STREAM_SEEK; | |
21172 | ||
21173 | ||
21174 | ||
21175 | ||
21176 | typedef enum tagLOCKTYPE { | |
21177 | LOCK_WRITE = 1, | |
21178 | LOCK_EXCLUSIVE = 2, | |
21179 | LOCK_ONLYONCE = 4 | |
21180 | } LOCKTYPE; | |
21181 | ||
21182 | ||
21183 | ||
21184 | ||
21185 | ||
21186 | ||
21187 | extern const GUID IID_IStream __attribute__((visibility ("hidden"))); | |
21188 | # 3225 "../../../include/objidl.h" | |
21189 | typedef struct IStreamVtbl { | |
21190 | ||
21191 | ||
21192 | ||
21193 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
21194 | IStream* This, | |
21195 | const IID* const riid, | |
21196 | void** ppvObject); | |
21197 | ||
21198 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
21199 | IStream* This); | |
21200 | ||
21201 | ULONG (__attribute__((__stdcall__)) *Release)( | |
21202 | IStream* This); | |
21203 | ||
21204 | ||
21205 | HRESULT (__attribute__((__stdcall__)) *Read)( | |
21206 | IStream* This, | |
21207 | void* pv, | |
21208 | ULONG cb, | |
21209 | ULONG* pcbRead); | |
21210 | ||
21211 | HRESULT (__attribute__((__stdcall__)) *Write)( | |
21212 | IStream* This, | |
21213 | const void* pv, | |
21214 | ULONG cb, | |
21215 | ULONG* pcbWritten); | |
21216 | ||
21217 | ||
21218 | HRESULT (__attribute__((__stdcall__)) *Seek)( | |
21219 | IStream* This, | |
21220 | LARGE_INTEGER dlibMove, | |
21221 | DWORD dwOrigin, | |
21222 | ULARGE_INTEGER* plibNewPosition); | |
21223 | ||
21224 | HRESULT (__attribute__((__stdcall__)) *SetSize)( | |
21225 | IStream* This, | |
21226 | ULARGE_INTEGER libNewSize); | |
21227 | ||
21228 | HRESULT (__attribute__((__stdcall__)) *CopyTo)( | |
21229 | IStream* This, | |
21230 | IStream* pstm, | |
21231 | ULARGE_INTEGER cb, | |
21232 | ULARGE_INTEGER* pcbRead, | |
21233 | ULARGE_INTEGER* pcbWritten); | |
21234 | ||
21235 | HRESULT (__attribute__((__stdcall__)) *Commit)( | |
21236 | IStream* This, | |
21237 | DWORD grfCommitFlags); | |
21238 | ||
21239 | HRESULT (__attribute__((__stdcall__)) *Revert)( | |
21240 | IStream* This); | |
21241 | ||
21242 | HRESULT (__attribute__((__stdcall__)) *LockRegion)( | |
21243 | IStream* This, | |
21244 | ULARGE_INTEGER libOffset, | |
21245 | ULARGE_INTEGER cb, | |
21246 | DWORD dwLockType); | |
21247 | ||
21248 | HRESULT (__attribute__((__stdcall__)) *UnlockRegion)( | |
21249 | IStream* This, | |
21250 | ULARGE_INTEGER libOffset, | |
21251 | ULARGE_INTEGER cb, | |
21252 | DWORD dwLockType); | |
21253 | ||
21254 | HRESULT (__attribute__((__stdcall__)) *Stat)( | |
21255 | IStream* This, | |
21256 | STATSTG* pstatstg, | |
21257 | DWORD grfStatFlag); | |
21258 | ||
21259 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
21260 | IStream* This, | |
21261 | IStream** ppstm); | |
21262 | ||
21263 | ||
21264 | } IStreamVtbl; | |
21265 | struct IStream { | |
21266 | const IStreamVtbl* lpVtbl; | |
21267 | }; | |
21268 | # 3327 "../../../include/objidl.h" | |
21269 | HRESULT __attribute__((__stdcall__)) IStream_RemoteSeek_Proxy( | |
21270 | IStream* This, | |
21271 | LARGE_INTEGER dlibMove, | |
21272 | DWORD dwOrigin, | |
21273 | ULARGE_INTEGER* plibNewPosition); | |
21274 | void __attribute__((__stdcall__)) IStream_RemoteSeek_Stub( | |
21275 | IRpcStubBuffer* This, | |
21276 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21277 | PRPC_MESSAGE pRpcMessage, | |
21278 | DWORD* pdwStubPhase); | |
21279 | HRESULT __attribute__((__stdcall__)) IStream_Seek_Proxy( | |
21280 | IStream* This, | |
21281 | LARGE_INTEGER dlibMove, | |
21282 | DWORD dwOrigin, | |
21283 | ULARGE_INTEGER* plibNewPosition); | |
21284 | HRESULT __attribute__((__stdcall__)) IStream_Seek_Stub( | |
21285 | IStream* This, | |
21286 | LARGE_INTEGER dlibMove, | |
21287 | DWORD dwOrigin, | |
21288 | ULARGE_INTEGER* plibNewPosition); | |
21289 | HRESULT __attribute__((__stdcall__)) IStream_SetSize_Proxy( | |
21290 | IStream* This, | |
21291 | ULARGE_INTEGER libNewSize); | |
21292 | void __attribute__((__stdcall__)) IStream_SetSize_Stub( | |
21293 | IRpcStubBuffer* This, | |
21294 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21295 | PRPC_MESSAGE pRpcMessage, | |
21296 | DWORD* pdwStubPhase); | |
21297 | HRESULT __attribute__((__stdcall__)) IStream_RemoteCopyTo_Proxy( | |
21298 | IStream* This, | |
21299 | IStream* pstm, | |
21300 | ULARGE_INTEGER cb, | |
21301 | ULARGE_INTEGER* pcbRead, | |
21302 | ULARGE_INTEGER* pcbWritten); | |
21303 | void __attribute__((__stdcall__)) IStream_RemoteCopyTo_Stub( | |
21304 | IRpcStubBuffer* This, | |
21305 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21306 | PRPC_MESSAGE pRpcMessage, | |
21307 | DWORD* pdwStubPhase); | |
21308 | HRESULT __attribute__((__stdcall__)) IStream_CopyTo_Proxy( | |
21309 | IStream* This, | |
21310 | IStream* pstm, | |
21311 | ULARGE_INTEGER cb, | |
21312 | ULARGE_INTEGER* pcbRead, | |
21313 | ULARGE_INTEGER* pcbWritten); | |
21314 | HRESULT __attribute__((__stdcall__)) IStream_CopyTo_Stub( | |
21315 | IStream* This, | |
21316 | IStream* pstm, | |
21317 | ULARGE_INTEGER cb, | |
21318 | ULARGE_INTEGER* pcbRead, | |
21319 | ULARGE_INTEGER* pcbWritten); | |
21320 | HRESULT __attribute__((__stdcall__)) IStream_Commit_Proxy( | |
21321 | IStream* This, | |
21322 | DWORD grfCommitFlags); | |
21323 | void __attribute__((__stdcall__)) IStream_Commit_Stub( | |
21324 | IRpcStubBuffer* This, | |
21325 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21326 | PRPC_MESSAGE pRpcMessage, | |
21327 | DWORD* pdwStubPhase); | |
21328 | HRESULT __attribute__((__stdcall__)) IStream_Revert_Proxy( | |
21329 | IStream* This); | |
21330 | void __attribute__((__stdcall__)) IStream_Revert_Stub( | |
21331 | IRpcStubBuffer* This, | |
21332 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21333 | PRPC_MESSAGE pRpcMessage, | |
21334 | DWORD* pdwStubPhase); | |
21335 | HRESULT __attribute__((__stdcall__)) IStream_LockRegion_Proxy( | |
21336 | IStream* This, | |
21337 | ULARGE_INTEGER libOffset, | |
21338 | ULARGE_INTEGER cb, | |
21339 | DWORD dwLockType); | |
21340 | void __attribute__((__stdcall__)) IStream_LockRegion_Stub( | |
21341 | IRpcStubBuffer* This, | |
21342 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21343 | PRPC_MESSAGE pRpcMessage, | |
21344 | DWORD* pdwStubPhase); | |
21345 | HRESULT __attribute__((__stdcall__)) IStream_UnlockRegion_Proxy( | |
21346 | IStream* This, | |
21347 | ULARGE_INTEGER libOffset, | |
21348 | ULARGE_INTEGER cb, | |
21349 | DWORD dwLockType); | |
21350 | void __attribute__((__stdcall__)) IStream_UnlockRegion_Stub( | |
21351 | IRpcStubBuffer* This, | |
21352 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21353 | PRPC_MESSAGE pRpcMessage, | |
21354 | DWORD* pdwStubPhase); | |
21355 | HRESULT __attribute__((__stdcall__)) IStream_Stat_Proxy( | |
21356 | IStream* This, | |
21357 | STATSTG* pstatstg, | |
21358 | DWORD grfStatFlag); | |
21359 | void __attribute__((__stdcall__)) IStream_Stat_Stub( | |
21360 | IRpcStubBuffer* This, | |
21361 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21362 | PRPC_MESSAGE pRpcMessage, | |
21363 | DWORD* pdwStubPhase); | |
21364 | HRESULT __attribute__((__stdcall__)) IStream_Clone_Proxy( | |
21365 | IStream* This, | |
21366 | IStream** ppstm); | |
21367 | void __attribute__((__stdcall__)) IStream_Clone_Stub( | |
21368 | IRpcStubBuffer* This, | |
21369 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21370 | PRPC_MESSAGE pRpcMessage, | |
21371 | DWORD* pdwStubPhase); | |
21372 | ||
21373 | ||
21374 | ||
21375 | ||
21376 | ||
21377 | typedef struct IEnumSTATSTG IEnumSTATSTG; | |
21378 | ||
21379 | ||
21380 | typedef IEnumSTATSTG *LPENUMSTATSTG; | |
21381 | ||
21382 | ||
21383 | ||
21384 | ||
21385 | ||
21386 | ||
21387 | extern const GUID IID_IEnumSTATSTG __attribute__((visibility ("hidden"))); | |
21388 | # 3465 "../../../include/objidl.h" | |
21389 | typedef struct IEnumSTATSTGVtbl { | |
21390 | ||
21391 | ||
21392 | ||
21393 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
21394 | IEnumSTATSTG* This, | |
21395 | const IID* const riid, | |
21396 | void** ppvObject); | |
21397 | ||
21398 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
21399 | IEnumSTATSTG* This); | |
21400 | ||
21401 | ULONG (__attribute__((__stdcall__)) *Release)( | |
21402 | IEnumSTATSTG* This); | |
21403 | ||
21404 | ||
21405 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
21406 | IEnumSTATSTG* This, | |
21407 | ULONG celt, | |
21408 | STATSTG* rgelt, | |
21409 | ULONG* pceltFetched); | |
21410 | ||
21411 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
21412 | IEnumSTATSTG* This, | |
21413 | ULONG celt); | |
21414 | ||
21415 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
21416 | IEnumSTATSTG* This); | |
21417 | ||
21418 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
21419 | IEnumSTATSTG* This, | |
21420 | IEnumSTATSTG** ppenum); | |
21421 | ||
21422 | ||
21423 | } IEnumSTATSTGVtbl; | |
21424 | struct IEnumSTATSTG { | |
21425 | const IEnumSTATSTGVtbl* lpVtbl; | |
21426 | }; | |
21427 | # 3518 "../../../include/objidl.h" | |
21428 | HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_RemoteNext_Proxy( | |
21429 | IEnumSTATSTG* This, | |
21430 | ULONG celt, | |
21431 | STATSTG* rgelt, | |
21432 | ULONG* pceltFetched); | |
21433 | void __attribute__((__stdcall__)) IEnumSTATSTG_RemoteNext_Stub( | |
21434 | IRpcStubBuffer* This, | |
21435 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21436 | PRPC_MESSAGE pRpcMessage, | |
21437 | DWORD* pdwStubPhase); | |
21438 | HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Next_Proxy( | |
21439 | IEnumSTATSTG* This, | |
21440 | ULONG celt, | |
21441 | STATSTG* rgelt, | |
21442 | ULONG* pceltFetched); | |
21443 | HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Next_Stub( | |
21444 | IEnumSTATSTG* This, | |
21445 | ULONG celt, | |
21446 | STATSTG* rgelt, | |
21447 | ULONG* pceltFetched); | |
21448 | HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Skip_Proxy( | |
21449 | IEnumSTATSTG* This, | |
21450 | ULONG celt); | |
21451 | void __attribute__((__stdcall__)) IEnumSTATSTG_Skip_Stub( | |
21452 | IRpcStubBuffer* This, | |
21453 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21454 | PRPC_MESSAGE pRpcMessage, | |
21455 | DWORD* pdwStubPhase); | |
21456 | HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Reset_Proxy( | |
21457 | IEnumSTATSTG* This); | |
21458 | void __attribute__((__stdcall__)) IEnumSTATSTG_Reset_Stub( | |
21459 | IRpcStubBuffer* This, | |
21460 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21461 | PRPC_MESSAGE pRpcMessage, | |
21462 | DWORD* pdwStubPhase); | |
21463 | HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Clone_Proxy( | |
21464 | IEnumSTATSTG* This, | |
21465 | IEnumSTATSTG** ppenum); | |
21466 | void __attribute__((__stdcall__)) IEnumSTATSTG_Clone_Stub( | |
21467 | IRpcStubBuffer* This, | |
21468 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21469 | PRPC_MESSAGE pRpcMessage, | |
21470 | DWORD* pdwStubPhase); | |
21471 | ||
21472 | ||
21473 | ||
21474 | ||
21475 | ||
21476 | typedef struct IStorage IStorage; | |
21477 | ||
21478 | ||
21479 | typedef IStorage *LPSTORAGE; | |
21480 | typedef struct tagRemSNB { | |
21481 | unsigned long ulCntStr; | |
21482 | unsigned long ulCntChar; | |
21483 | OLECHAR rgString[1]; | |
21484 | } RemSNB; | |
21485 | typedef RemSNB *wireSNB; | |
21486 | typedef OLECHAR **SNB; | |
21487 | ||
21488 | ||
21489 | ||
21490 | ||
21491 | ||
21492 | ||
21493 | extern const GUID IID_IStorage __attribute__((visibility ("hidden"))); | |
21494 | # 3666 "../../../include/objidl.h" | |
21495 | typedef struct IStorageVtbl { | |
21496 | ||
21497 | ||
21498 | ||
21499 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
21500 | IStorage* This, | |
21501 | const IID* const riid, | |
21502 | void** ppvObject); | |
21503 | ||
21504 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
21505 | IStorage* This); | |
21506 | ||
21507 | ULONG (__attribute__((__stdcall__)) *Release)( | |
21508 | IStorage* This); | |
21509 | ||
21510 | ||
21511 | HRESULT (__attribute__((__stdcall__)) *CreateStream)( | |
21512 | IStorage* This, | |
21513 | LPCOLESTR pwcsName, | |
21514 | DWORD grfMode, | |
21515 | DWORD reserved1, | |
21516 | DWORD reserved2, | |
21517 | IStream** ppstm); | |
21518 | ||
21519 | HRESULT (__attribute__((__stdcall__)) *OpenStream)( | |
21520 | IStorage* This, | |
21521 | LPCOLESTR pwcsName, | |
21522 | void* reserved1, | |
21523 | DWORD grfMode, | |
21524 | DWORD reserved2, | |
21525 | IStream** ppstm); | |
21526 | ||
21527 | HRESULT (__attribute__((__stdcall__)) *CreateStorage)( | |
21528 | IStorage* This, | |
21529 | LPCOLESTR pwcsName, | |
21530 | DWORD grfMode, | |
21531 | DWORD dwStgFmt, | |
21532 | DWORD reserved2, | |
21533 | IStorage** ppstg); | |
21534 | ||
21535 | HRESULT (__attribute__((__stdcall__)) *OpenStorage)( | |
21536 | IStorage* This, | |
21537 | LPCOLESTR pwcsName, | |
21538 | IStorage* pstgPriority, | |
21539 | DWORD grfMode, | |
21540 | SNB snbExclude, | |
21541 | DWORD reserved, | |
21542 | IStorage** ppstg); | |
21543 | ||
21544 | HRESULT (__attribute__((__stdcall__)) *CopyTo)( | |
21545 | IStorage* This, | |
21546 | DWORD ciidExclude, | |
21547 | const IID* rgiidExclude, | |
21548 | SNB snbExclude, | |
21549 | IStorage* pstgDest); | |
21550 | ||
21551 | HRESULT (__attribute__((__stdcall__)) *MoveElementTo)( | |
21552 | IStorage* This, | |
21553 | LPCOLESTR pwcsName, | |
21554 | IStorage* pstgDest, | |
21555 | LPCOLESTR pwcsNewName, | |
21556 | DWORD grfFlags); | |
21557 | ||
21558 | HRESULT (__attribute__((__stdcall__)) *Commit)( | |
21559 | IStorage* This, | |
21560 | DWORD grfCommitFlags); | |
21561 | ||
21562 | HRESULT (__attribute__((__stdcall__)) *Revert)( | |
21563 | IStorage* This); | |
21564 | ||
21565 | HRESULT (__attribute__((__stdcall__)) *EnumElements)( | |
21566 | IStorage* This, | |
21567 | DWORD reserved1, | |
21568 | void* reserved2, | |
21569 | DWORD reserved3, | |
21570 | IEnumSTATSTG** ppenum); | |
21571 | ||
21572 | HRESULT (__attribute__((__stdcall__)) *DestroyElement)( | |
21573 | IStorage* This, | |
21574 | LPCOLESTR pwcsName); | |
21575 | ||
21576 | HRESULT (__attribute__((__stdcall__)) *RenameElement)( | |
21577 | IStorage* This, | |
21578 | LPCOLESTR pwcsOldName, | |
21579 | LPCOLESTR pwcsNewName); | |
21580 | ||
21581 | HRESULT (__attribute__((__stdcall__)) *SetElementTimes)( | |
21582 | IStorage* This, | |
21583 | LPCOLESTR pwcsName, | |
21584 | const FILETIME* pctime, | |
21585 | const FILETIME* patime, | |
21586 | const FILETIME* pmtime); | |
21587 | ||
21588 | HRESULT (__attribute__((__stdcall__)) *SetClass)( | |
21589 | IStorage* This, | |
21590 | const CLSID* const clsid); | |
21591 | ||
21592 | HRESULT (__attribute__((__stdcall__)) *SetStateBits)( | |
21593 | IStorage* This, | |
21594 | DWORD grfStateBits, | |
21595 | DWORD grfMask); | |
21596 | ||
21597 | HRESULT (__attribute__((__stdcall__)) *Stat)( | |
21598 | IStorage* This, | |
21599 | STATSTG* pstatstg, | |
21600 | DWORD grfStatFlag); | |
21601 | ||
21602 | ||
21603 | } IStorageVtbl; | |
21604 | struct IStorage { | |
21605 | const IStorageVtbl* lpVtbl; | |
21606 | }; | |
21607 | # 3804 "../../../include/objidl.h" | |
21608 | HRESULT __attribute__((__stdcall__)) IStorage_CreateStream_Proxy( | |
21609 | IStorage* This, | |
21610 | LPCOLESTR pwcsName, | |
21611 | DWORD grfMode, | |
21612 | DWORD reserved1, | |
21613 | DWORD reserved2, | |
21614 | IStream** ppstm); | |
21615 | void __attribute__((__stdcall__)) IStorage_CreateStream_Stub( | |
21616 | IRpcStubBuffer* This, | |
21617 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21618 | PRPC_MESSAGE pRpcMessage, | |
21619 | DWORD* pdwStubPhase); | |
21620 | HRESULT __attribute__((__stdcall__)) IStorage_RemoteOpenStream_Proxy( | |
21621 | IStorage* This, | |
21622 | LPCOLESTR pwcsName, | |
21623 | unsigned long cbReserved1, | |
21624 | byte* reserved1, | |
21625 | DWORD grfMode, | |
21626 | DWORD reserved2, | |
21627 | IStream** ppstm); | |
21628 | void __attribute__((__stdcall__)) IStorage_RemoteOpenStream_Stub( | |
21629 | IRpcStubBuffer* This, | |
21630 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21631 | PRPC_MESSAGE pRpcMessage, | |
21632 | DWORD* pdwStubPhase); | |
21633 | HRESULT __attribute__((__stdcall__)) IStorage_OpenStream_Proxy( | |
21634 | IStorage* This, | |
21635 | LPCOLESTR pwcsName, | |
21636 | void* reserved1, | |
21637 | DWORD grfMode, | |
21638 | DWORD reserved2, | |
21639 | IStream** ppstm); | |
21640 | HRESULT __attribute__((__stdcall__)) IStorage_OpenStream_Stub( | |
21641 | IStorage* This, | |
21642 | LPCOLESTR pwcsName, | |
21643 | unsigned long cbReserved1, | |
21644 | byte* reserved1, | |
21645 | DWORD grfMode, | |
21646 | DWORD reserved2, | |
21647 | IStream** ppstm); | |
21648 | HRESULT __attribute__((__stdcall__)) IStorage_CreateStorage_Proxy( | |
21649 | IStorage* This, | |
21650 | LPCOLESTR pwcsName, | |
21651 | DWORD grfMode, | |
21652 | DWORD dwStgFmt, | |
21653 | DWORD reserved2, | |
21654 | IStorage** ppstg); | |
21655 | void __attribute__((__stdcall__)) IStorage_CreateStorage_Stub( | |
21656 | IRpcStubBuffer* This, | |
21657 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21658 | PRPC_MESSAGE pRpcMessage, | |
21659 | DWORD* pdwStubPhase); | |
21660 | HRESULT __attribute__((__stdcall__)) IStorage_OpenStorage_Proxy( | |
21661 | IStorage* This, | |
21662 | LPCOLESTR pwcsName, | |
21663 | IStorage* pstgPriority, | |
21664 | DWORD grfMode, | |
21665 | SNB snbExclude, | |
21666 | DWORD reserved, | |
21667 | IStorage** ppstg); | |
21668 | void __attribute__((__stdcall__)) IStorage_OpenStorage_Stub( | |
21669 | IRpcStubBuffer* This, | |
21670 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21671 | PRPC_MESSAGE pRpcMessage, | |
21672 | DWORD* pdwStubPhase); | |
21673 | HRESULT __attribute__((__stdcall__)) IStorage_CopyTo_Proxy( | |
21674 | IStorage* This, | |
21675 | DWORD ciidExclude, | |
21676 | const IID* rgiidExclude, | |
21677 | SNB snbExclude, | |
21678 | IStorage* pstgDest); | |
21679 | void __attribute__((__stdcall__)) IStorage_CopyTo_Stub( | |
21680 | IRpcStubBuffer* This, | |
21681 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21682 | PRPC_MESSAGE pRpcMessage, | |
21683 | DWORD* pdwStubPhase); | |
21684 | HRESULT __attribute__((__stdcall__)) IStorage_MoveElementTo_Proxy( | |
21685 | IStorage* This, | |
21686 | LPCOLESTR pwcsName, | |
21687 | IStorage* pstgDest, | |
21688 | LPCOLESTR pwcsNewName, | |
21689 | DWORD grfFlags); | |
21690 | void __attribute__((__stdcall__)) IStorage_MoveElementTo_Stub( | |
21691 | IRpcStubBuffer* This, | |
21692 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21693 | PRPC_MESSAGE pRpcMessage, | |
21694 | DWORD* pdwStubPhase); | |
21695 | HRESULT __attribute__((__stdcall__)) IStorage_Commit_Proxy( | |
21696 | IStorage* This, | |
21697 | DWORD grfCommitFlags); | |
21698 | void __attribute__((__stdcall__)) IStorage_Commit_Stub( | |
21699 | IRpcStubBuffer* This, | |
21700 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21701 | PRPC_MESSAGE pRpcMessage, | |
21702 | DWORD* pdwStubPhase); | |
21703 | HRESULT __attribute__((__stdcall__)) IStorage_Revert_Proxy( | |
21704 | IStorage* This); | |
21705 | void __attribute__((__stdcall__)) IStorage_Revert_Stub( | |
21706 | IRpcStubBuffer* This, | |
21707 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21708 | PRPC_MESSAGE pRpcMessage, | |
21709 | DWORD* pdwStubPhase); | |
21710 | HRESULT __attribute__((__stdcall__)) IStorage_RemoteEnumElements_Proxy( | |
21711 | IStorage* This, | |
21712 | DWORD reserved1, | |
21713 | unsigned long cbReserved2, | |
21714 | byte* reserved2, | |
21715 | DWORD reserved3, | |
21716 | IEnumSTATSTG** ppenum); | |
21717 | void __attribute__((__stdcall__)) IStorage_RemoteEnumElements_Stub( | |
21718 | IRpcStubBuffer* This, | |
21719 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21720 | PRPC_MESSAGE pRpcMessage, | |
21721 | DWORD* pdwStubPhase); | |
21722 | HRESULT __attribute__((__stdcall__)) IStorage_EnumElements_Proxy( | |
21723 | IStorage* This, | |
21724 | DWORD reserved1, | |
21725 | void* reserved2, | |
21726 | DWORD reserved3, | |
21727 | IEnumSTATSTG** ppenum); | |
21728 | HRESULT __attribute__((__stdcall__)) IStorage_EnumElements_Stub( | |
21729 | IStorage* This, | |
21730 | DWORD reserved1, | |
21731 | unsigned long cbReserved2, | |
21732 | byte* reserved2, | |
21733 | DWORD reserved3, | |
21734 | IEnumSTATSTG** ppenum); | |
21735 | HRESULT __attribute__((__stdcall__)) IStorage_DestroyElement_Proxy( | |
21736 | IStorage* This, | |
21737 | LPCOLESTR pwcsName); | |
21738 | void __attribute__((__stdcall__)) IStorage_DestroyElement_Stub( | |
21739 | IRpcStubBuffer* This, | |
21740 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21741 | PRPC_MESSAGE pRpcMessage, | |
21742 | DWORD* pdwStubPhase); | |
21743 | HRESULT __attribute__((__stdcall__)) IStorage_RenameElement_Proxy( | |
21744 | IStorage* This, | |
21745 | LPCOLESTR pwcsOldName, | |
21746 | LPCOLESTR pwcsNewName); | |
21747 | void __attribute__((__stdcall__)) IStorage_RenameElement_Stub( | |
21748 | IRpcStubBuffer* This, | |
21749 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21750 | PRPC_MESSAGE pRpcMessage, | |
21751 | DWORD* pdwStubPhase); | |
21752 | HRESULT __attribute__((__stdcall__)) IStorage_SetElementTimes_Proxy( | |
21753 | IStorage* This, | |
21754 | LPCOLESTR pwcsName, | |
21755 | const FILETIME* pctime, | |
21756 | const FILETIME* patime, | |
21757 | const FILETIME* pmtime); | |
21758 | void __attribute__((__stdcall__)) IStorage_SetElementTimes_Stub( | |
21759 | IRpcStubBuffer* This, | |
21760 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21761 | PRPC_MESSAGE pRpcMessage, | |
21762 | DWORD* pdwStubPhase); | |
21763 | HRESULT __attribute__((__stdcall__)) IStorage_SetClass_Proxy( | |
21764 | IStorage* This, | |
21765 | const CLSID* const clsid); | |
21766 | void __attribute__((__stdcall__)) IStorage_SetClass_Stub( | |
21767 | IRpcStubBuffer* This, | |
21768 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21769 | PRPC_MESSAGE pRpcMessage, | |
21770 | DWORD* pdwStubPhase); | |
21771 | HRESULT __attribute__((__stdcall__)) IStorage_SetStateBits_Proxy( | |
21772 | IStorage* This, | |
21773 | DWORD grfStateBits, | |
21774 | DWORD grfMask); | |
21775 | void __attribute__((__stdcall__)) IStorage_SetStateBits_Stub( | |
21776 | IRpcStubBuffer* This, | |
21777 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21778 | PRPC_MESSAGE pRpcMessage, | |
21779 | DWORD* pdwStubPhase); | |
21780 | HRESULT __attribute__((__stdcall__)) IStorage_Stat_Proxy( | |
21781 | IStorage* This, | |
21782 | STATSTG* pstatstg, | |
21783 | DWORD grfStatFlag); | |
21784 | void __attribute__((__stdcall__)) IStorage_Stat_Stub( | |
21785 | IRpcStubBuffer* This, | |
21786 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21787 | PRPC_MESSAGE pRpcMessage, | |
21788 | DWORD* pdwStubPhase); | |
21789 | ||
21790 | ||
21791 | ||
21792 | ||
21793 | ||
21794 | typedef struct IPersistFile IPersistFile; | |
21795 | ||
21796 | ||
21797 | typedef IPersistFile *LPPERSISTFILE; | |
21798 | ||
21799 | ||
21800 | ||
21801 | ||
21802 | ||
21803 | ||
21804 | extern const GUID IID_IPersistFile __attribute__((visibility ("hidden"))); | |
21805 | # 4023 "../../../include/objidl.h" | |
21806 | typedef struct IPersistFileVtbl { | |
21807 | ||
21808 | ||
21809 | ||
21810 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
21811 | IPersistFile* This, | |
21812 | const IID* const riid, | |
21813 | void** ppvObject); | |
21814 | ||
21815 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
21816 | IPersistFile* This); | |
21817 | ||
21818 | ULONG (__attribute__((__stdcall__)) *Release)( | |
21819 | IPersistFile* This); | |
21820 | ||
21821 | ||
21822 | HRESULT (__attribute__((__stdcall__)) *GetClassID)( | |
21823 | IPersistFile* This, | |
21824 | CLSID* pClassID); | |
21825 | ||
21826 | ||
21827 | HRESULT (__attribute__((__stdcall__)) *IsDirty)( | |
21828 | IPersistFile* This); | |
21829 | ||
21830 | HRESULT (__attribute__((__stdcall__)) *Load)( | |
21831 | IPersistFile* This, | |
21832 | LPCOLESTR pszFileName, | |
21833 | DWORD dwMode); | |
21834 | ||
21835 | HRESULT (__attribute__((__stdcall__)) *Save)( | |
21836 | IPersistFile* This, | |
21837 | LPCOLESTR pszFileName, | |
21838 | BOOL fRemember); | |
21839 | ||
21840 | HRESULT (__attribute__((__stdcall__)) *SaveCompleted)( | |
21841 | IPersistFile* This, | |
21842 | LPCOLESTR pszFileName); | |
21843 | ||
21844 | HRESULT (__attribute__((__stdcall__)) *GetCurFile)( | |
21845 | IPersistFile* This, | |
21846 | LPOLESTR* ppszFileName); | |
21847 | ||
21848 | ||
21849 | } IPersistFileVtbl; | |
21850 | struct IPersistFile { | |
21851 | const IPersistFileVtbl* lpVtbl; | |
21852 | }; | |
21853 | # 4088 "../../../include/objidl.h" | |
21854 | HRESULT __attribute__((__stdcall__)) IPersistFile_IsDirty_Proxy( | |
21855 | IPersistFile* This); | |
21856 | void __attribute__((__stdcall__)) IPersistFile_IsDirty_Stub( | |
21857 | IRpcStubBuffer* This, | |
21858 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21859 | PRPC_MESSAGE pRpcMessage, | |
21860 | DWORD* pdwStubPhase); | |
21861 | HRESULT __attribute__((__stdcall__)) IPersistFile_Load_Proxy( | |
21862 | IPersistFile* This, | |
21863 | LPCOLESTR pszFileName, | |
21864 | DWORD dwMode); | |
21865 | void __attribute__((__stdcall__)) IPersistFile_Load_Stub( | |
21866 | IRpcStubBuffer* This, | |
21867 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21868 | PRPC_MESSAGE pRpcMessage, | |
21869 | DWORD* pdwStubPhase); | |
21870 | HRESULT __attribute__((__stdcall__)) IPersistFile_Save_Proxy( | |
21871 | IPersistFile* This, | |
21872 | LPCOLESTR pszFileName, | |
21873 | BOOL fRemember); | |
21874 | void __attribute__((__stdcall__)) IPersistFile_Save_Stub( | |
21875 | IRpcStubBuffer* This, | |
21876 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21877 | PRPC_MESSAGE pRpcMessage, | |
21878 | DWORD* pdwStubPhase); | |
21879 | HRESULT __attribute__((__stdcall__)) IPersistFile_SaveCompleted_Proxy( | |
21880 | IPersistFile* This, | |
21881 | LPCOLESTR pszFileName); | |
21882 | void __attribute__((__stdcall__)) IPersistFile_SaveCompleted_Stub( | |
21883 | IRpcStubBuffer* This, | |
21884 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21885 | PRPC_MESSAGE pRpcMessage, | |
21886 | DWORD* pdwStubPhase); | |
21887 | HRESULT __attribute__((__stdcall__)) IPersistFile_GetCurFile_Proxy( | |
21888 | IPersistFile* This, | |
21889 | LPOLESTR* ppszFileName); | |
21890 | void __attribute__((__stdcall__)) IPersistFile_GetCurFile_Stub( | |
21891 | IRpcStubBuffer* This, | |
21892 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21893 | PRPC_MESSAGE pRpcMessage, | |
21894 | DWORD* pdwStubPhase); | |
21895 | ||
21896 | ||
21897 | ||
21898 | ||
21899 | ||
21900 | typedef struct IPersistStorage IPersistStorage; | |
21901 | ||
21902 | ||
21903 | typedef IPersistStorage *LPPERSISTSTORAGE; | |
21904 | ||
21905 | ||
21906 | ||
21907 | ||
21908 | ||
21909 | ||
21910 | extern const GUID IID_IPersistStorage __attribute__((visibility ("hidden"))); | |
21911 | # 4169 "../../../include/objidl.h" | |
21912 | typedef struct IPersistStorageVtbl { | |
21913 | ||
21914 | ||
21915 | ||
21916 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
21917 | IPersistStorage* This, | |
21918 | const IID* const riid, | |
21919 | void** ppvObject); | |
21920 | ||
21921 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
21922 | IPersistStorage* This); | |
21923 | ||
21924 | ULONG (__attribute__((__stdcall__)) *Release)( | |
21925 | IPersistStorage* This); | |
21926 | ||
21927 | ||
21928 | HRESULT (__attribute__((__stdcall__)) *GetClassID)( | |
21929 | IPersistStorage* This, | |
21930 | CLSID* pClassID); | |
21931 | ||
21932 | ||
21933 | HRESULT (__attribute__((__stdcall__)) *IsDirty)( | |
21934 | IPersistStorage* This); | |
21935 | ||
21936 | HRESULT (__attribute__((__stdcall__)) *InitNew)( | |
21937 | IPersistStorage* This, | |
21938 | IStorage* pStg); | |
21939 | ||
21940 | HRESULT (__attribute__((__stdcall__)) *Load)( | |
21941 | IPersistStorage* This, | |
21942 | IStorage* pStg); | |
21943 | ||
21944 | HRESULT (__attribute__((__stdcall__)) *Save)( | |
21945 | IPersistStorage* This, | |
21946 | IStorage* pStgSave, | |
21947 | BOOL fSameAsLoad); | |
21948 | ||
21949 | HRESULT (__attribute__((__stdcall__)) *SaveCompleted)( | |
21950 | IPersistStorage* This, | |
21951 | IStorage* pStgNew); | |
21952 | ||
21953 | HRESULT (__attribute__((__stdcall__)) *HandsOffStorage)( | |
21954 | IPersistStorage* This); | |
21955 | ||
21956 | ||
21957 | } IPersistStorageVtbl; | |
21958 | struct IPersistStorage { | |
21959 | const IPersistStorageVtbl* lpVtbl; | |
21960 | }; | |
21961 | # 4237 "../../../include/objidl.h" | |
21962 | HRESULT __attribute__((__stdcall__)) IPersistStorage_IsDirty_Proxy( | |
21963 | IPersistStorage* This); | |
21964 | void __attribute__((__stdcall__)) IPersistStorage_IsDirty_Stub( | |
21965 | IRpcStubBuffer* This, | |
21966 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21967 | PRPC_MESSAGE pRpcMessage, | |
21968 | DWORD* pdwStubPhase); | |
21969 | HRESULT __attribute__((__stdcall__)) IPersistStorage_InitNew_Proxy( | |
21970 | IPersistStorage* This, | |
21971 | IStorage* pStg); | |
21972 | void __attribute__((__stdcall__)) IPersistStorage_InitNew_Stub( | |
21973 | IRpcStubBuffer* This, | |
21974 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21975 | PRPC_MESSAGE pRpcMessage, | |
21976 | DWORD* pdwStubPhase); | |
21977 | HRESULT __attribute__((__stdcall__)) IPersistStorage_Load_Proxy( | |
21978 | IPersistStorage* This, | |
21979 | IStorage* pStg); | |
21980 | void __attribute__((__stdcall__)) IPersistStorage_Load_Stub( | |
21981 | IRpcStubBuffer* This, | |
21982 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21983 | PRPC_MESSAGE pRpcMessage, | |
21984 | DWORD* pdwStubPhase); | |
21985 | HRESULT __attribute__((__stdcall__)) IPersistStorage_Save_Proxy( | |
21986 | IPersistStorage* This, | |
21987 | IStorage* pStgSave, | |
21988 | BOOL fSameAsLoad); | |
21989 | void __attribute__((__stdcall__)) IPersistStorage_Save_Stub( | |
21990 | IRpcStubBuffer* This, | |
21991 | IRpcChannelBuffer* pRpcChannelBuffer, | |
21992 | PRPC_MESSAGE pRpcMessage, | |
21993 | DWORD* pdwStubPhase); | |
21994 | HRESULT __attribute__((__stdcall__)) IPersistStorage_SaveCompleted_Proxy( | |
21995 | IPersistStorage* This, | |
21996 | IStorage* pStgNew); | |
21997 | void __attribute__((__stdcall__)) IPersistStorage_SaveCompleted_Stub( | |
21998 | IRpcStubBuffer* This, | |
21999 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22000 | PRPC_MESSAGE pRpcMessage, | |
22001 | DWORD* pdwStubPhase); | |
22002 | HRESULT __attribute__((__stdcall__)) IPersistStorage_HandsOffStorage_Proxy( | |
22003 | IPersistStorage* This); | |
22004 | void __attribute__((__stdcall__)) IPersistStorage_HandsOffStorage_Stub( | |
22005 | IRpcStubBuffer* This, | |
22006 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22007 | PRPC_MESSAGE pRpcMessage, | |
22008 | DWORD* pdwStubPhase); | |
22009 | ||
22010 | ||
22011 | ||
22012 | ||
22013 | ||
22014 | typedef struct IRootStorage IRootStorage; | |
22015 | ||
22016 | ||
22017 | typedef IRootStorage *LPROOTSTORAGE; | |
22018 | ||
22019 | ||
22020 | ||
22021 | ||
22022 | ||
22023 | ||
22024 | extern const GUID IID_IRootStorage __attribute__((visibility ("hidden"))); | |
22025 | # 4308 "../../../include/objidl.h" | |
22026 | typedef struct IRootStorageVtbl { | |
22027 | ||
22028 | ||
22029 | ||
22030 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22031 | IRootStorage* This, | |
22032 | const IID* const riid, | |
22033 | void** ppvObject); | |
22034 | ||
22035 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22036 | IRootStorage* This); | |
22037 | ||
22038 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22039 | IRootStorage* This); | |
22040 | ||
22041 | ||
22042 | HRESULT (__attribute__((__stdcall__)) *SwitchToFile)( | |
22043 | IRootStorage* This, | |
22044 | LPOLESTR pszFile); | |
22045 | ||
22046 | ||
22047 | } IRootStorageVtbl; | |
22048 | struct IRootStorage { | |
22049 | const IRootStorageVtbl* lpVtbl; | |
22050 | }; | |
22051 | # 4345 "../../../include/objidl.h" | |
22052 | HRESULT __attribute__((__stdcall__)) IRootStorage_SwitchToFile_Proxy( | |
22053 | IRootStorage* This, | |
22054 | LPOLESTR pszFile); | |
22055 | void __attribute__((__stdcall__)) IRootStorage_SwitchToFile_Stub( | |
22056 | IRpcStubBuffer* This, | |
22057 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22058 | PRPC_MESSAGE pRpcMessage, | |
22059 | DWORD* pdwStubPhase); | |
22060 | ||
22061 | ||
22062 | ||
22063 | ||
22064 | ||
22065 | typedef struct ILockBytes ILockBytes; | |
22066 | ||
22067 | ||
22068 | typedef ILockBytes *LPLOCKBYTES; | |
22069 | ||
22070 | ||
22071 | ||
22072 | ||
22073 | ||
22074 | ||
22075 | extern const GUID IID_ILockBytes __attribute__((visibility ("hidden"))); | |
22076 | # 4406 "../../../include/objidl.h" | |
22077 | typedef struct ILockBytesVtbl { | |
22078 | ||
22079 | ||
22080 | ||
22081 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22082 | ILockBytes* This, | |
22083 | const IID* const riid, | |
22084 | void** ppvObject); | |
22085 | ||
22086 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22087 | ILockBytes* This); | |
22088 | ||
22089 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22090 | ILockBytes* This); | |
22091 | ||
22092 | ||
22093 | HRESULT (__attribute__((__stdcall__)) *ReadAt)( | |
22094 | ILockBytes* This, | |
22095 | ULARGE_INTEGER ulOffset, | |
22096 | void* pv, | |
22097 | ULONG cb, | |
22098 | ULONG* pcbRead); | |
22099 | ||
22100 | HRESULT (__attribute__((__stdcall__)) *WriteAt)( | |
22101 | ILockBytes* This, | |
22102 | ULARGE_INTEGER ulOffset, | |
22103 | const void* pv, | |
22104 | ULONG cb, | |
22105 | ULONG* pcbWritten); | |
22106 | ||
22107 | HRESULT (__attribute__((__stdcall__)) *Flush)( | |
22108 | ILockBytes* This); | |
22109 | ||
22110 | HRESULT (__attribute__((__stdcall__)) *SetSize)( | |
22111 | ILockBytes* This, | |
22112 | ULARGE_INTEGER cb); | |
22113 | ||
22114 | HRESULT (__attribute__((__stdcall__)) *LockRegion)( | |
22115 | ILockBytes* This, | |
22116 | ULARGE_INTEGER libOffset, | |
22117 | ULARGE_INTEGER cb, | |
22118 | DWORD dwLockType); | |
22119 | ||
22120 | HRESULT (__attribute__((__stdcall__)) *UnlockRegion)( | |
22121 | ILockBytes* This, | |
22122 | ULARGE_INTEGER libOffset, | |
22123 | ULARGE_INTEGER cb, | |
22124 | DWORD dwLockType); | |
22125 | ||
22126 | HRESULT (__attribute__((__stdcall__)) *Stat)( | |
22127 | ILockBytes* This, | |
22128 | STATSTG* pstatstg, | |
22129 | DWORD grfStatFlag); | |
22130 | ||
22131 | ||
22132 | } ILockBytesVtbl; | |
22133 | struct ILockBytes { | |
22134 | const ILockBytesVtbl* lpVtbl; | |
22135 | }; | |
22136 | # 4483 "../../../include/objidl.h" | |
22137 | HRESULT __attribute__((__stdcall__)) ILockBytes_RemoteReadAt_Proxy( | |
22138 | ILockBytes* This, | |
22139 | ULARGE_INTEGER ulOffset, | |
22140 | byte* pv, | |
22141 | ULONG cb, | |
22142 | ULONG* pcbRead); | |
22143 | void __attribute__((__stdcall__)) ILockBytes_RemoteReadAt_Stub( | |
22144 | IRpcStubBuffer* This, | |
22145 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22146 | PRPC_MESSAGE pRpcMessage, | |
22147 | DWORD* pdwStubPhase); | |
22148 | HRESULT __attribute__((__stdcall__)) ILockBytes_ReadAt_Proxy( | |
22149 | ILockBytes* This, | |
22150 | ULARGE_INTEGER ulOffset, | |
22151 | void* pv, | |
22152 | ULONG cb, | |
22153 | ULONG* pcbRead); | |
22154 | HRESULT __attribute__((__stdcall__)) ILockBytes_ReadAt_Stub( | |
22155 | ILockBytes* This, | |
22156 | ULARGE_INTEGER ulOffset, | |
22157 | byte* pv, | |
22158 | ULONG cb, | |
22159 | ULONG* pcbRead); | |
22160 | HRESULT __attribute__((__stdcall__)) ILockBytes_RemoteWriteAt_Proxy( | |
22161 | ILockBytes* This, | |
22162 | ULARGE_INTEGER ulOffset, | |
22163 | const byte* pv, | |
22164 | ULONG cb, | |
22165 | ULONG* pcbWritten); | |
22166 | void __attribute__((__stdcall__)) ILockBytes_RemoteWriteAt_Stub( | |
22167 | IRpcStubBuffer* This, | |
22168 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22169 | PRPC_MESSAGE pRpcMessage, | |
22170 | DWORD* pdwStubPhase); | |
22171 | HRESULT __attribute__((__stdcall__)) ILockBytes_WriteAt_Proxy( | |
22172 | ILockBytes* This, | |
22173 | ULARGE_INTEGER ulOffset, | |
22174 | const void* pv, | |
22175 | ULONG cb, | |
22176 | ULONG* pcbWritten); | |
22177 | HRESULT __attribute__((__stdcall__)) ILockBytes_WriteAt_Stub( | |
22178 | ILockBytes* This, | |
22179 | ULARGE_INTEGER ulOffset, | |
22180 | const byte* pv, | |
22181 | ULONG cb, | |
22182 | ULONG* pcbWritten); | |
22183 | HRESULT __attribute__((__stdcall__)) ILockBytes_Flush_Proxy( | |
22184 | ILockBytes* This); | |
22185 | void __attribute__((__stdcall__)) ILockBytes_Flush_Stub( | |
22186 | IRpcStubBuffer* This, | |
22187 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22188 | PRPC_MESSAGE pRpcMessage, | |
22189 | DWORD* pdwStubPhase); | |
22190 | HRESULT __attribute__((__stdcall__)) ILockBytes_SetSize_Proxy( | |
22191 | ILockBytes* This, | |
22192 | ULARGE_INTEGER cb); | |
22193 | void __attribute__((__stdcall__)) ILockBytes_SetSize_Stub( | |
22194 | IRpcStubBuffer* This, | |
22195 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22196 | PRPC_MESSAGE pRpcMessage, | |
22197 | DWORD* pdwStubPhase); | |
22198 | HRESULT __attribute__((__stdcall__)) ILockBytes_LockRegion_Proxy( | |
22199 | ILockBytes* This, | |
22200 | ULARGE_INTEGER libOffset, | |
22201 | ULARGE_INTEGER cb, | |
22202 | DWORD dwLockType); | |
22203 | void __attribute__((__stdcall__)) ILockBytes_LockRegion_Stub( | |
22204 | IRpcStubBuffer* This, | |
22205 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22206 | PRPC_MESSAGE pRpcMessage, | |
22207 | DWORD* pdwStubPhase); | |
22208 | HRESULT __attribute__((__stdcall__)) ILockBytes_UnlockRegion_Proxy( | |
22209 | ILockBytes* This, | |
22210 | ULARGE_INTEGER libOffset, | |
22211 | ULARGE_INTEGER cb, | |
22212 | DWORD dwLockType); | |
22213 | void __attribute__((__stdcall__)) ILockBytes_UnlockRegion_Stub( | |
22214 | IRpcStubBuffer* This, | |
22215 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22216 | PRPC_MESSAGE pRpcMessage, | |
22217 | DWORD* pdwStubPhase); | |
22218 | HRESULT __attribute__((__stdcall__)) ILockBytes_Stat_Proxy( | |
22219 | ILockBytes* This, | |
22220 | STATSTG* pstatstg, | |
22221 | DWORD grfStatFlag); | |
22222 | void __attribute__((__stdcall__)) ILockBytes_Stat_Stub( | |
22223 | IRpcStubBuffer* This, | |
22224 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22225 | PRPC_MESSAGE pRpcMessage, | |
22226 | DWORD* pdwStubPhase); | |
22227 | ||
22228 | ||
22229 | ||
22230 | ||
22231 | ||
22232 | typedef struct IFillLockBytes IFillLockBytes; | |
22233 | # 4587 "../../../include/objidl.h" | |
22234 | extern const GUID IID_IFillLockBytes __attribute__((visibility ("hidden"))); | |
22235 | # 4610 "../../../include/objidl.h" | |
22236 | typedef struct IFillLockBytesVtbl { | |
22237 | ||
22238 | ||
22239 | ||
22240 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22241 | IFillLockBytes* This, | |
22242 | const IID* const riid, | |
22243 | void** ppvObject); | |
22244 | ||
22245 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22246 | IFillLockBytes* This); | |
22247 | ||
22248 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22249 | IFillLockBytes* This); | |
22250 | ||
22251 | ||
22252 | HRESULT (__attribute__((__stdcall__)) *FillAppend)( | |
22253 | IFillLockBytes* This, | |
22254 | const void* pv, | |
22255 | ULONG cb, | |
22256 | ULONG* pcbWritten); | |
22257 | ||
22258 | HRESULT (__attribute__((__stdcall__)) *FillAt)( | |
22259 | IFillLockBytes* This, | |
22260 | ULARGE_INTEGER ulOffset, | |
22261 | const void* pv, | |
22262 | ULONG cb, | |
22263 | ULONG* pcbWritten); | |
22264 | ||
22265 | HRESULT (__attribute__((__stdcall__)) *SetFillSize)( | |
22266 | IFillLockBytes* This, | |
22267 | ULARGE_INTEGER ulSize); | |
22268 | ||
22269 | HRESULT (__attribute__((__stdcall__)) *Terminate)( | |
22270 | IFillLockBytes* This, | |
22271 | BOOL bCanceled); | |
22272 | ||
22273 | ||
22274 | } IFillLockBytesVtbl; | |
22275 | struct IFillLockBytes { | |
22276 | const IFillLockBytesVtbl* lpVtbl; | |
22277 | }; | |
22278 | # 4667 "../../../include/objidl.h" | |
22279 | HRESULT __attribute__((__stdcall__)) IFillLockBytes_RemoteFillAppend_Proxy( | |
22280 | IFillLockBytes* This, | |
22281 | const byte* pv, | |
22282 | ULONG cb, | |
22283 | ULONG* pcbWritten); | |
22284 | void __attribute__((__stdcall__)) IFillLockBytes_RemoteFillAppend_Stub( | |
22285 | IRpcStubBuffer* This, | |
22286 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22287 | PRPC_MESSAGE pRpcMessage, | |
22288 | DWORD* pdwStubPhase); | |
22289 | HRESULT __attribute__((__stdcall__)) IFillLockBytes_FillAppend_Proxy( | |
22290 | IFillLockBytes* This, | |
22291 | const void* pv, | |
22292 | ULONG cb, | |
22293 | ULONG* pcbWritten); | |
22294 | HRESULT __attribute__((__stdcall__)) IFillLockBytes_FillAppend_Stub( | |
22295 | IFillLockBytes* This, | |
22296 | const byte* pv, | |
22297 | ULONG cb, | |
22298 | ULONG* pcbWritten); | |
22299 | HRESULT __attribute__((__stdcall__)) IFillLockBytes_RemoteFillAt_Proxy( | |
22300 | IFillLockBytes* This, | |
22301 | ULARGE_INTEGER ulOffset, | |
22302 | const byte* pv, | |
22303 | ULONG cb, | |
22304 | ULONG* pcbWritten); | |
22305 | void __attribute__((__stdcall__)) IFillLockBytes_RemoteFillAt_Stub( | |
22306 | IRpcStubBuffer* This, | |
22307 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22308 | PRPC_MESSAGE pRpcMessage, | |
22309 | DWORD* pdwStubPhase); | |
22310 | HRESULT __attribute__((__stdcall__)) IFillLockBytes_FillAt_Proxy( | |
22311 | IFillLockBytes* This, | |
22312 | ULARGE_INTEGER ulOffset, | |
22313 | const void* pv, | |
22314 | ULONG cb, | |
22315 | ULONG* pcbWritten); | |
22316 | HRESULT __attribute__((__stdcall__)) IFillLockBytes_FillAt_Stub( | |
22317 | IFillLockBytes* This, | |
22318 | ULARGE_INTEGER ulOffset, | |
22319 | const byte* pv, | |
22320 | ULONG cb, | |
22321 | ULONG* pcbWritten); | |
22322 | HRESULT __attribute__((__stdcall__)) IFillLockBytes_SetFillSize_Proxy( | |
22323 | IFillLockBytes* This, | |
22324 | ULARGE_INTEGER ulSize); | |
22325 | void __attribute__((__stdcall__)) IFillLockBytes_SetFillSize_Stub( | |
22326 | IRpcStubBuffer* This, | |
22327 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22328 | PRPC_MESSAGE pRpcMessage, | |
22329 | DWORD* pdwStubPhase); | |
22330 | HRESULT __attribute__((__stdcall__)) IFillLockBytes_Terminate_Proxy( | |
22331 | IFillLockBytes* This, | |
22332 | BOOL bCanceled); | |
22333 | void __attribute__((__stdcall__)) IFillLockBytes_Terminate_Stub( | |
22334 | IRpcStubBuffer* This, | |
22335 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22336 | PRPC_MESSAGE pRpcMessage, | |
22337 | DWORD* pdwStubPhase); | |
22338 | ||
22339 | ||
22340 | ||
22341 | ||
22342 | ||
22343 | typedef struct IProgressNotify IProgressNotify; | |
22344 | # 4740 "../../../include/objidl.h" | |
22345 | extern const GUID IID_IProgressNotify __attribute__((visibility ("hidden"))); | |
22346 | # 4752 "../../../include/objidl.h" | |
22347 | typedef struct IProgressNotifyVtbl { | |
22348 | ||
22349 | ||
22350 | ||
22351 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22352 | IProgressNotify* This, | |
22353 | const IID* const riid, | |
22354 | void** ppvObject); | |
22355 | ||
22356 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22357 | IProgressNotify* This); | |
22358 | ||
22359 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22360 | IProgressNotify* This); | |
22361 | ||
22362 | ||
22363 | HRESULT (__attribute__((__stdcall__)) *OnProgress)( | |
22364 | IProgressNotify* This, | |
22365 | DWORD dwProgressCurrent, | |
22366 | DWORD dwProgressMaximum, | |
22367 | BOOL fAccurate, | |
22368 | BOOL fOwner); | |
22369 | ||
22370 | ||
22371 | } IProgressNotifyVtbl; | |
22372 | struct IProgressNotify { | |
22373 | const IProgressNotifyVtbl* lpVtbl; | |
22374 | }; | |
22375 | # 4792 "../../../include/objidl.h" | |
22376 | HRESULT __attribute__((__stdcall__)) IProgressNotify_OnProgress_Proxy( | |
22377 | IProgressNotify* This, | |
22378 | DWORD dwProgressCurrent, | |
22379 | DWORD dwProgressMaximum, | |
22380 | BOOL fAccurate, | |
22381 | BOOL fOwner); | |
22382 | void __attribute__((__stdcall__)) IProgressNotify_OnProgress_Stub( | |
22383 | IRpcStubBuffer* This, | |
22384 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22385 | PRPC_MESSAGE pRpcMessage, | |
22386 | DWORD* pdwStubPhase); | |
22387 | ||
22388 | ||
22389 | ||
22390 | ||
22391 | ||
22392 | typedef struct ILayoutStorage ILayoutStorage; | |
22393 | ||
22394 | ||
22395 | typedef struct tagStorageLayout { | |
22396 | DWORD LayoutType; | |
22397 | OLECHAR *pwcsElementName; | |
22398 | LARGE_INTEGER cOffset; | |
22399 | LARGE_INTEGER cBytes; | |
22400 | } StorageLayout; | |
22401 | ||
22402 | ||
22403 | ||
22404 | ||
22405 | ||
22406 | ||
22407 | extern const GUID IID_ILayoutStorage __attribute__((visibility ("hidden"))); | |
22408 | # 4846 "../../../include/objidl.h" | |
22409 | typedef struct ILayoutStorageVtbl { | |
22410 | ||
22411 | ||
22412 | ||
22413 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22414 | ILayoutStorage* This, | |
22415 | const IID* const riid, | |
22416 | void** ppvObject); | |
22417 | ||
22418 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22419 | ILayoutStorage* This); | |
22420 | ||
22421 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22422 | ILayoutStorage* This); | |
22423 | ||
22424 | ||
22425 | HRESULT (__attribute__((__stdcall__)) *LayoutScript)( | |
22426 | ILayoutStorage* This, | |
22427 | StorageLayout* pStorageLayout, | |
22428 | DWORD nEntries, | |
22429 | DWORD glfInterleavedFlag); | |
22430 | ||
22431 | HRESULT (__attribute__((__stdcall__)) *BeginMonitor)( | |
22432 | ILayoutStorage* This); | |
22433 | ||
22434 | HRESULT (__attribute__((__stdcall__)) *EndMonitor)( | |
22435 | ILayoutStorage* This); | |
22436 | ||
22437 | HRESULT (__attribute__((__stdcall__)) *ReLayoutDocfile)( | |
22438 | ILayoutStorage* This, | |
22439 | OLECHAR* pwcsNewDfName); | |
22440 | ||
22441 | HRESULT (__attribute__((__stdcall__)) *ReLayoutDocfileOnILockBytes)( | |
22442 | ILayoutStorage* This, | |
22443 | ILockBytes* pILockBytes); | |
22444 | ||
22445 | ||
22446 | } ILayoutStorageVtbl; | |
22447 | struct ILayoutStorage { | |
22448 | const ILayoutStorageVtbl* lpVtbl; | |
22449 | }; | |
22450 | # 4903 "../../../include/objidl.h" | |
22451 | HRESULT __attribute__((__stdcall__)) ILayoutStorage_LayoutScript_Proxy( | |
22452 | ILayoutStorage* This, | |
22453 | StorageLayout* pStorageLayout, | |
22454 | DWORD nEntries, | |
22455 | DWORD glfInterleavedFlag); | |
22456 | void __attribute__((__stdcall__)) ILayoutStorage_LayoutScript_Stub( | |
22457 | IRpcStubBuffer* This, | |
22458 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22459 | PRPC_MESSAGE pRpcMessage, | |
22460 | DWORD* pdwStubPhase); | |
22461 | HRESULT __attribute__((__stdcall__)) ILayoutStorage_BeginMonitor_Proxy( | |
22462 | ILayoutStorage* This); | |
22463 | void __attribute__((__stdcall__)) ILayoutStorage_BeginMonitor_Stub( | |
22464 | IRpcStubBuffer* This, | |
22465 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22466 | PRPC_MESSAGE pRpcMessage, | |
22467 | DWORD* pdwStubPhase); | |
22468 | HRESULT __attribute__((__stdcall__)) ILayoutStorage_EndMonitor_Proxy( | |
22469 | ILayoutStorage* This); | |
22470 | void __attribute__((__stdcall__)) ILayoutStorage_EndMonitor_Stub( | |
22471 | IRpcStubBuffer* This, | |
22472 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22473 | PRPC_MESSAGE pRpcMessage, | |
22474 | DWORD* pdwStubPhase); | |
22475 | HRESULT __attribute__((__stdcall__)) ILayoutStorage_ReLayoutDocfile_Proxy( | |
22476 | ILayoutStorage* This, | |
22477 | OLECHAR* pwcsNewDfName); | |
22478 | void __attribute__((__stdcall__)) ILayoutStorage_ReLayoutDocfile_Stub( | |
22479 | IRpcStubBuffer* This, | |
22480 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22481 | PRPC_MESSAGE pRpcMessage, | |
22482 | DWORD* pdwStubPhase); | |
22483 | HRESULT __attribute__((__stdcall__)) ILayoutStorage_ReLayoutDocfileOnILockBytes_Proxy( | |
22484 | ILayoutStorage* This, | |
22485 | ILockBytes* pILockBytes); | |
22486 | void __attribute__((__stdcall__)) ILayoutStorage_ReLayoutDocfileOnILockBytes_Stub( | |
22487 | IRpcStubBuffer* This, | |
22488 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22489 | PRPC_MESSAGE pRpcMessage, | |
22490 | DWORD* pdwStubPhase); | |
22491 | ||
22492 | ||
22493 | ||
22494 | ||
22495 | ||
22496 | typedef struct IBlockingLock IBlockingLock; | |
22497 | # 4957 "../../../include/objidl.h" | |
22498 | extern const GUID IID_IBlockingLock __attribute__((visibility ("hidden"))); | |
22499 | # 4969 "../../../include/objidl.h" | |
22500 | typedef struct IBlockingLockVtbl { | |
22501 | ||
22502 | ||
22503 | ||
22504 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22505 | IBlockingLock* This, | |
22506 | const IID* const riid, | |
22507 | void** ppvObject); | |
22508 | ||
22509 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22510 | IBlockingLock* This); | |
22511 | ||
22512 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22513 | IBlockingLock* This); | |
22514 | ||
22515 | ||
22516 | HRESULT (__attribute__((__stdcall__)) *Lock)( | |
22517 | IBlockingLock* This, | |
22518 | DWORD dwTimeout); | |
22519 | ||
22520 | HRESULT (__attribute__((__stdcall__)) *Unlock)( | |
22521 | IBlockingLock* This); | |
22522 | ||
22523 | ||
22524 | } IBlockingLockVtbl; | |
22525 | struct IBlockingLock { | |
22526 | const IBlockingLockVtbl* lpVtbl; | |
22527 | }; | |
22528 | # 5010 "../../../include/objidl.h" | |
22529 | HRESULT __attribute__((__stdcall__)) IBlockingLock_Lock_Proxy( | |
22530 | IBlockingLock* This, | |
22531 | DWORD dwTimeout); | |
22532 | void __attribute__((__stdcall__)) IBlockingLock_Lock_Stub( | |
22533 | IRpcStubBuffer* This, | |
22534 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22535 | PRPC_MESSAGE pRpcMessage, | |
22536 | DWORD* pdwStubPhase); | |
22537 | HRESULT __attribute__((__stdcall__)) IBlockingLock_Unlock_Proxy( | |
22538 | IBlockingLock* This); | |
22539 | void __attribute__((__stdcall__)) IBlockingLock_Unlock_Stub( | |
22540 | IRpcStubBuffer* This, | |
22541 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22542 | PRPC_MESSAGE pRpcMessage, | |
22543 | DWORD* pdwStubPhase); | |
22544 | ||
22545 | ||
22546 | ||
22547 | ||
22548 | ||
22549 | typedef struct ITimeAndNoticeControl ITimeAndNoticeControl; | |
22550 | # 5039 "../../../include/objidl.h" | |
22551 | extern const GUID IID_ITimeAndNoticeControl __attribute__((visibility ("hidden"))); | |
22552 | # 5049 "../../../include/objidl.h" | |
22553 | typedef struct ITimeAndNoticeControlVtbl { | |
22554 | ||
22555 | ||
22556 | ||
22557 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22558 | ITimeAndNoticeControl* This, | |
22559 | const IID* const riid, | |
22560 | void** ppvObject); | |
22561 | ||
22562 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22563 | ITimeAndNoticeControl* This); | |
22564 | ||
22565 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22566 | ITimeAndNoticeControl* This); | |
22567 | ||
22568 | ||
22569 | HRESULT (__attribute__((__stdcall__)) *SuppressChanges)( | |
22570 | ITimeAndNoticeControl* This, | |
22571 | DWORD res1, | |
22572 | DWORD res2); | |
22573 | ||
22574 | ||
22575 | } ITimeAndNoticeControlVtbl; | |
22576 | struct ITimeAndNoticeControl { | |
22577 | const ITimeAndNoticeControlVtbl* lpVtbl; | |
22578 | }; | |
22579 | # 5087 "../../../include/objidl.h" | |
22580 | HRESULT __attribute__((__stdcall__)) ITimeAndNoticeControl_SuppressChanges_Proxy( | |
22581 | ITimeAndNoticeControl* This, | |
22582 | DWORD res1, | |
22583 | DWORD res2); | |
22584 | void __attribute__((__stdcall__)) ITimeAndNoticeControl_SuppressChanges_Stub( | |
22585 | IRpcStubBuffer* This, | |
22586 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22587 | PRPC_MESSAGE pRpcMessage, | |
22588 | DWORD* pdwStubPhase); | |
22589 | ||
22590 | ||
22591 | ||
22592 | ||
22593 | ||
22594 | typedef struct IOplockStorage IOplockStorage; | |
22595 | # 5110 "../../../include/objidl.h" | |
22596 | extern const GUID IID_IOplockStorage __attribute__((visibility ("hidden"))); | |
22597 | # 5132 "../../../include/objidl.h" | |
22598 | typedef struct IOplockStorageVtbl { | |
22599 | ||
22600 | ||
22601 | ||
22602 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22603 | IOplockStorage* This, | |
22604 | const IID* const riid, | |
22605 | void** ppvObject); | |
22606 | ||
22607 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22608 | IOplockStorage* This); | |
22609 | ||
22610 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22611 | IOplockStorage* This); | |
22612 | ||
22613 | ||
22614 | HRESULT (__attribute__((__stdcall__)) *CreateStorageEx)( | |
22615 | IOplockStorage* This, | |
22616 | LPCWSTR pwcsName, | |
22617 | DWORD grfMode, | |
22618 | DWORD stgfmt, | |
22619 | DWORD grfAttrs, | |
22620 | const IID* const riid, | |
22621 | void** ppstgOpen); | |
22622 | ||
22623 | HRESULT (__attribute__((__stdcall__)) *OpenStorageEx)( | |
22624 | IOplockStorage* This, | |
22625 | LPCWSTR pwcsName, | |
22626 | DWORD grfMode, | |
22627 | DWORD stgfmt, | |
22628 | DWORD grfAttrs, | |
22629 | const IID* const riid, | |
22630 | void** ppstgOpen); | |
22631 | ||
22632 | ||
22633 | } IOplockStorageVtbl; | |
22634 | struct IOplockStorage { | |
22635 | const IOplockStorageVtbl* lpVtbl; | |
22636 | }; | |
22637 | # 5184 "../../../include/objidl.h" | |
22638 | HRESULT __attribute__((__stdcall__)) IOplockStorage_CreateStorageEx_Proxy( | |
22639 | IOplockStorage* This, | |
22640 | LPCWSTR pwcsName, | |
22641 | DWORD grfMode, | |
22642 | DWORD stgfmt, | |
22643 | DWORD grfAttrs, | |
22644 | const IID* const riid, | |
22645 | void** ppstgOpen); | |
22646 | void __attribute__((__stdcall__)) IOplockStorage_CreateStorageEx_Stub( | |
22647 | IRpcStubBuffer* This, | |
22648 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22649 | PRPC_MESSAGE pRpcMessage, | |
22650 | DWORD* pdwStubPhase); | |
22651 | HRESULT __attribute__((__stdcall__)) IOplockStorage_OpenStorageEx_Proxy( | |
22652 | IOplockStorage* This, | |
22653 | LPCWSTR pwcsName, | |
22654 | DWORD grfMode, | |
22655 | DWORD stgfmt, | |
22656 | DWORD grfAttrs, | |
22657 | const IID* const riid, | |
22658 | void** ppstgOpen); | |
22659 | void __attribute__((__stdcall__)) IOplockStorage_OpenStorageEx_Stub( | |
22660 | IRpcStubBuffer* This, | |
22661 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22662 | PRPC_MESSAGE pRpcMessage, | |
22663 | DWORD* pdwStubPhase); | |
22664 | ||
22665 | ||
22666 | ||
22667 | ||
22668 | ||
22669 | typedef struct IEnumFORMATETC IEnumFORMATETC; | |
22670 | ||
22671 | ||
22672 | typedef IEnumFORMATETC *LPENUMFORMATETC; | |
22673 | typedef struct tagDVTARGETDEVICE { | |
22674 | DWORD tdSize; | |
22675 | WORD tdDriverNameOffset; | |
22676 | WORD tdDeviceNameOffset; | |
22677 | WORD tdPortNameOffset; | |
22678 | WORD tdExtDevmodeOffset; | |
22679 | BYTE tdData[1]; | |
22680 | } DVTARGETDEVICE; | |
22681 | typedef CLIPFORMAT *LPCLIPFORMAT; | |
22682 | typedef struct tagFORMATETC { | |
22683 | CLIPFORMAT cfFormat; | |
22684 | DVTARGETDEVICE *ptd; | |
22685 | DWORD dwAspect; | |
22686 | LONG lindex; | |
22687 | DWORD tymed; | |
22688 | } FORMATETC; | |
22689 | typedef struct tagFORMATETC *LPFORMATETC; | |
22690 | ||
22691 | ||
22692 | ||
22693 | ||
22694 | ||
22695 | ||
22696 | extern const GUID IID_IEnumFORMATETC __attribute__((visibility ("hidden"))); | |
22697 | # 5262 "../../../include/objidl.h" | |
22698 | typedef struct IEnumFORMATETCVtbl { | |
22699 | ||
22700 | ||
22701 | ||
22702 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22703 | IEnumFORMATETC* This, | |
22704 | const IID* const riid, | |
22705 | void** ppvObject); | |
22706 | ||
22707 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22708 | IEnumFORMATETC* This); | |
22709 | ||
22710 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22711 | IEnumFORMATETC* This); | |
22712 | ||
22713 | ||
22714 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
22715 | IEnumFORMATETC* This, | |
22716 | ULONG celt, | |
22717 | FORMATETC* rgelt, | |
22718 | ULONG* pceltFetched); | |
22719 | ||
22720 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
22721 | IEnumFORMATETC* This, | |
22722 | ULONG celt); | |
22723 | ||
22724 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
22725 | IEnumFORMATETC* This); | |
22726 | ||
22727 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
22728 | IEnumFORMATETC* This, | |
22729 | IEnumFORMATETC** ppenum); | |
22730 | ||
22731 | ||
22732 | } IEnumFORMATETCVtbl; | |
22733 | struct IEnumFORMATETC { | |
22734 | const IEnumFORMATETCVtbl* lpVtbl; | |
22735 | }; | |
22736 | # 5315 "../../../include/objidl.h" | |
22737 | HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_RemoteNext_Proxy( | |
22738 | IEnumFORMATETC* This, | |
22739 | ULONG celt, | |
22740 | FORMATETC* rgelt, | |
22741 | ULONG* pceltFetched); | |
22742 | void __attribute__((__stdcall__)) IEnumFORMATETC_RemoteNext_Stub( | |
22743 | IRpcStubBuffer* This, | |
22744 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22745 | PRPC_MESSAGE pRpcMessage, | |
22746 | DWORD* pdwStubPhase); | |
22747 | HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Next_Proxy( | |
22748 | IEnumFORMATETC* This, | |
22749 | ULONG celt, | |
22750 | FORMATETC* rgelt, | |
22751 | ULONG* pceltFetched); | |
22752 | HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Next_Stub( | |
22753 | IEnumFORMATETC* This, | |
22754 | ULONG celt, | |
22755 | FORMATETC* rgelt, | |
22756 | ULONG* pceltFetched); | |
22757 | HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Skip_Proxy( | |
22758 | IEnumFORMATETC* This, | |
22759 | ULONG celt); | |
22760 | void __attribute__((__stdcall__)) IEnumFORMATETC_Skip_Stub( | |
22761 | IRpcStubBuffer* This, | |
22762 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22763 | PRPC_MESSAGE pRpcMessage, | |
22764 | DWORD* pdwStubPhase); | |
22765 | HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Reset_Proxy( | |
22766 | IEnumFORMATETC* This); | |
22767 | void __attribute__((__stdcall__)) IEnumFORMATETC_Reset_Stub( | |
22768 | IRpcStubBuffer* This, | |
22769 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22770 | PRPC_MESSAGE pRpcMessage, | |
22771 | DWORD* pdwStubPhase); | |
22772 | HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Clone_Proxy( | |
22773 | IEnumFORMATETC* This, | |
22774 | IEnumFORMATETC** ppenum); | |
22775 | void __attribute__((__stdcall__)) IEnumFORMATETC_Clone_Stub( | |
22776 | IRpcStubBuffer* This, | |
22777 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22778 | PRPC_MESSAGE pRpcMessage, | |
22779 | DWORD* pdwStubPhase); | |
22780 | ||
22781 | ||
22782 | ||
22783 | ||
22784 | ||
22785 | typedef struct IEnumSTATDATA IEnumSTATDATA; | |
22786 | ||
22787 | ||
22788 | typedef IEnumSTATDATA *LPENUMSTATDATA; | |
22789 | typedef enum tagADVF { | |
22790 | ADVF_NODATA = 1, | |
22791 | ADVF_PRIMEFIRST = 2, | |
22792 | ADVF_ONLYONCE = 4, | |
22793 | ADVF_DATAONSTOP = 64, | |
22794 | ADVFCACHE_NOHANDLER = 8, | |
22795 | ADVFCACHE_FORCEBUILTIN = 16, | |
22796 | ADVFCACHE_ONSAVE = 32 | |
22797 | } ADVF; | |
22798 | typedef struct tagSTATDATA { | |
22799 | FORMATETC formatetc; | |
22800 | DWORD advf; | |
22801 | IAdviseSink *pAdvSink; | |
22802 | DWORD dwConnection; | |
22803 | } STATDATA; | |
22804 | typedef struct tagSTATDATA *LPSTATDATA; | |
22805 | ||
22806 | ||
22807 | ||
22808 | ||
22809 | ||
22810 | ||
22811 | extern const GUID IID_IEnumSTATDATA __attribute__((visibility ("hidden"))); | |
22812 | # 5409 "../../../include/objidl.h" | |
22813 | typedef struct IEnumSTATDATAVtbl { | |
22814 | ||
22815 | ||
22816 | ||
22817 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22818 | IEnumSTATDATA* This, | |
22819 | const IID* const riid, | |
22820 | void** ppvObject); | |
22821 | ||
22822 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22823 | IEnumSTATDATA* This); | |
22824 | ||
22825 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22826 | IEnumSTATDATA* This); | |
22827 | ||
22828 | ||
22829 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
22830 | IEnumSTATDATA* This, | |
22831 | ULONG celt, | |
22832 | STATDATA* rgelt, | |
22833 | ULONG* pceltFetched); | |
22834 | ||
22835 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
22836 | IEnumSTATDATA* This, | |
22837 | ULONG celt); | |
22838 | ||
22839 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
22840 | IEnumSTATDATA* This); | |
22841 | ||
22842 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
22843 | IEnumSTATDATA* This, | |
22844 | IEnumSTATDATA** ppenum); | |
22845 | ||
22846 | ||
22847 | } IEnumSTATDATAVtbl; | |
22848 | struct IEnumSTATDATA { | |
22849 | const IEnumSTATDATAVtbl* lpVtbl; | |
22850 | }; | |
22851 | # 5462 "../../../include/objidl.h" | |
22852 | HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_RemoteNext_Proxy( | |
22853 | IEnumSTATDATA* This, | |
22854 | ULONG celt, | |
22855 | STATDATA* rgelt, | |
22856 | ULONG* pceltFetched); | |
22857 | void __attribute__((__stdcall__)) IEnumSTATDATA_RemoteNext_Stub( | |
22858 | IRpcStubBuffer* This, | |
22859 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22860 | PRPC_MESSAGE pRpcMessage, | |
22861 | DWORD* pdwStubPhase); | |
22862 | HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Next_Proxy( | |
22863 | IEnumSTATDATA* This, | |
22864 | ULONG celt, | |
22865 | STATDATA* rgelt, | |
22866 | ULONG* pceltFetched); | |
22867 | HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Next_Stub( | |
22868 | IEnumSTATDATA* This, | |
22869 | ULONG celt, | |
22870 | STATDATA* rgelt, | |
22871 | ULONG* pceltFetched); | |
22872 | HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Skip_Proxy( | |
22873 | IEnumSTATDATA* This, | |
22874 | ULONG celt); | |
22875 | void __attribute__((__stdcall__)) IEnumSTATDATA_Skip_Stub( | |
22876 | IRpcStubBuffer* This, | |
22877 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22878 | PRPC_MESSAGE pRpcMessage, | |
22879 | DWORD* pdwStubPhase); | |
22880 | HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Reset_Proxy( | |
22881 | IEnumSTATDATA* This); | |
22882 | void __attribute__((__stdcall__)) IEnumSTATDATA_Reset_Stub( | |
22883 | IRpcStubBuffer* This, | |
22884 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22885 | PRPC_MESSAGE pRpcMessage, | |
22886 | DWORD* pdwStubPhase); | |
22887 | HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Clone_Proxy( | |
22888 | IEnumSTATDATA* This, | |
22889 | IEnumSTATDATA** ppenum); | |
22890 | void __attribute__((__stdcall__)) IEnumSTATDATA_Clone_Stub( | |
22891 | IRpcStubBuffer* This, | |
22892 | IRpcChannelBuffer* pRpcChannelBuffer, | |
22893 | PRPC_MESSAGE pRpcMessage, | |
22894 | DWORD* pdwStubPhase); | |
22895 | ||
22896 | ||
22897 | ||
22898 | typedef IAdviseSink *LPADVISESINK; | |
22899 | typedef enum tagTYMED { | |
22900 | TYMED_HGLOBAL = 1, | |
22901 | TYMED_FILE = 2, | |
22902 | TYMED_ISTREAM = 4, | |
22903 | TYMED_ISTORAGE = 8, | |
22904 | TYMED_GDI = 16, | |
22905 | TYMED_MFPICT = 32, | |
22906 | TYMED_ENHMF = 64, | |
22907 | TYMED_NULL = 0 | |
22908 | } TYMED; | |
22909 | typedef struct tagRemSTGMEDIUM { | |
22910 | DWORD tymed; | |
22911 | DWORD dwHandleType; | |
22912 | unsigned long pData; | |
22913 | unsigned long pUnkForRelease; | |
22914 | unsigned long cbData; | |
22915 | byte data[1]; | |
22916 | } RemSTGMEDIUM; | |
22917 | typedef struct tagSTGMEDIUM { | |
22918 | DWORD tymed; | |
22919 | union { | |
22920 | HBITMAP hBitmap; | |
22921 | HMETAFILEPICT hMetaFilePict; | |
22922 | HENHMETAFILE hEnhMetaFile; | |
22923 | HGLOBAL hGlobal; | |
22924 | LPOLESTR lpszFileName; | |
22925 | IStream *pstm; | |
22926 | IStorage *pstg; | |
22927 | } ; | |
22928 | IUnknown *pUnkForRelease; | |
22929 | } uSTGMEDIUM; | |
22930 | typedef struct _GDI_OBJECT { | |
22931 | DWORD ObjectType; | |
22932 | union { | |
22933 | wireHBITMAP hBitmap; | |
22934 | wireHPALETTE hPalette; | |
22935 | wireHGLOBAL hGeneric; | |
22936 | } u; | |
22937 | } GDI_OBJECT; | |
22938 | typedef struct _userSTGMEDIUM { | |
22939 | struct { | |
22940 | DWORD tymed; | |
22941 | union { | |
22942 | wireHMETAFILEPICT hMetaFilePict; | |
22943 | wireHENHMETAFILE hHEnhMetaFile; | |
22944 | GDI_OBJECT *hGdiHandle; | |
22945 | wireHGLOBAL hGlobal; | |
22946 | LPOLESTR lpszFileName; | |
22947 | BYTE_BLOB *pstm; | |
22948 | BYTE_BLOB *pstg; | |
22949 | } u; | |
22950 | } ; | |
22951 | IUnknown *pUnkForRelease; | |
22952 | } userSTGMEDIUM; | |
22953 | typedef userSTGMEDIUM *wireSTGMEDIUM; | |
22954 | typedef uSTGMEDIUM STGMEDIUM; | |
22955 | typedef userSTGMEDIUM *wireASYNC_STGMEDIUM; | |
22956 | typedef STGMEDIUM ASYNC_STGMEDIUM; | |
22957 | typedef STGMEDIUM *LPSTGMEDIUM; | |
22958 | typedef struct _userFLAG_STGMEDIUM { | |
22959 | long ContextFlags; | |
22960 | long fPassOwnership; | |
22961 | userSTGMEDIUM Stgmed; | |
22962 | } userFLAG_STGMEDIUM; | |
22963 | typedef userFLAG_STGMEDIUM *wireFLAG_STGMEDIUM; | |
22964 | typedef struct _FLAG_STGMEDIUM { | |
22965 | long ContextFlags; | |
22966 | long fPassOwnership; | |
22967 | STGMEDIUM Stgmed; | |
22968 | } FLAG_STGMEDIUM; | |
22969 | ||
22970 | ||
22971 | ||
22972 | ||
22973 | ||
22974 | ||
22975 | extern const GUID IID_IAdviseSink __attribute__((visibility ("hidden"))); | |
22976 | # 5608 "../../../include/objidl.h" | |
22977 | typedef struct IAdviseSinkVtbl { | |
22978 | ||
22979 | ||
22980 | ||
22981 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
22982 | IAdviseSink* This, | |
22983 | const IID* const riid, | |
22984 | void** ppvObject); | |
22985 | ||
22986 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
22987 | IAdviseSink* This); | |
22988 | ||
22989 | ULONG (__attribute__((__stdcall__)) *Release)( | |
22990 | IAdviseSink* This); | |
22991 | ||
22992 | ||
22993 | void (__attribute__((__stdcall__)) *OnDataChange)( | |
22994 | IAdviseSink* This, | |
22995 | FORMATETC* pFormatetc, | |
22996 | STGMEDIUM* pStgmed); | |
22997 | ||
22998 | void (__attribute__((__stdcall__)) *OnViewChange)( | |
22999 | IAdviseSink* This, | |
23000 | DWORD dwAspect, | |
23001 | LONG lindex); | |
23002 | ||
23003 | void (__attribute__((__stdcall__)) *OnRename)( | |
23004 | IAdviseSink* This, | |
23005 | IMoniker* pmk); | |
23006 | ||
23007 | void (__attribute__((__stdcall__)) *OnSave)( | |
23008 | IAdviseSink* This); | |
23009 | ||
23010 | void (__attribute__((__stdcall__)) *OnClose)( | |
23011 | IAdviseSink* This); | |
23012 | ||
23013 | ||
23014 | } IAdviseSinkVtbl; | |
23015 | struct IAdviseSink { | |
23016 | const IAdviseSinkVtbl* lpVtbl; | |
23017 | }; | |
23018 | # 5665 "../../../include/objidl.h" | |
23019 | HRESULT __attribute__((__stdcall__)) IAdviseSink_RemoteOnDataChange_Proxy( | |
23020 | IAdviseSink* This, | |
23021 | FORMATETC* pFormatetc, | |
23022 | ASYNC_STGMEDIUM* pStgmed); | |
23023 | void __attribute__((__stdcall__)) IAdviseSink_RemoteOnDataChange_Stub( | |
23024 | IRpcStubBuffer* This, | |
23025 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23026 | PRPC_MESSAGE pRpcMessage, | |
23027 | DWORD* pdwStubPhase); | |
23028 | void __attribute__((__stdcall__)) IAdviseSink_OnDataChange_Proxy( | |
23029 | IAdviseSink* This, | |
23030 | FORMATETC* pFormatetc, | |
23031 | STGMEDIUM* pStgmed); | |
23032 | HRESULT __attribute__((__stdcall__)) IAdviseSink_OnDataChange_Stub( | |
23033 | IAdviseSink* This, | |
23034 | FORMATETC* pFormatetc, | |
23035 | ASYNC_STGMEDIUM* pStgmed); | |
23036 | HRESULT __attribute__((__stdcall__)) IAdviseSink_RemoteOnViewChange_Proxy( | |
23037 | IAdviseSink* This, | |
23038 | DWORD dwAspect, | |
23039 | LONG lindex); | |
23040 | void __attribute__((__stdcall__)) IAdviseSink_RemoteOnViewChange_Stub( | |
23041 | IRpcStubBuffer* This, | |
23042 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23043 | PRPC_MESSAGE pRpcMessage, | |
23044 | DWORD* pdwStubPhase); | |
23045 | void __attribute__((__stdcall__)) IAdviseSink_OnViewChange_Proxy( | |
23046 | IAdviseSink* This, | |
23047 | DWORD dwAspect, | |
23048 | LONG lindex); | |
23049 | HRESULT __attribute__((__stdcall__)) IAdviseSink_OnViewChange_Stub( | |
23050 | IAdviseSink* This, | |
23051 | DWORD dwAspect, | |
23052 | LONG lindex); | |
23053 | HRESULT __attribute__((__stdcall__)) IAdviseSink_RemoteOnRename_Proxy( | |
23054 | IAdviseSink* This, | |
23055 | IMoniker* pmk); | |
23056 | void __attribute__((__stdcall__)) IAdviseSink_RemoteOnRename_Stub( | |
23057 | IRpcStubBuffer* This, | |
23058 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23059 | PRPC_MESSAGE pRpcMessage, | |
23060 | DWORD* pdwStubPhase); | |
23061 | void __attribute__((__stdcall__)) IAdviseSink_OnRename_Proxy( | |
23062 | IAdviseSink* This, | |
23063 | IMoniker* pmk); | |
23064 | HRESULT __attribute__((__stdcall__)) IAdviseSink_OnRename_Stub( | |
23065 | IAdviseSink* This, | |
23066 | IMoniker* pmk); | |
23067 | HRESULT __attribute__((__stdcall__)) IAdviseSink_RemoteOnSave_Proxy( | |
23068 | IAdviseSink* This); | |
23069 | void __attribute__((__stdcall__)) IAdviseSink_RemoteOnSave_Stub( | |
23070 | IRpcStubBuffer* This, | |
23071 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23072 | PRPC_MESSAGE pRpcMessage, | |
23073 | DWORD* pdwStubPhase); | |
23074 | void __attribute__((__stdcall__)) IAdviseSink_OnSave_Proxy( | |
23075 | IAdviseSink* This); | |
23076 | HRESULT __attribute__((__stdcall__)) IAdviseSink_OnSave_Stub( | |
23077 | IAdviseSink* This); | |
23078 | HRESULT __attribute__((__stdcall__)) IAdviseSink_RemoteOnClose_Proxy( | |
23079 | IAdviseSink* This); | |
23080 | void __attribute__((__stdcall__)) IAdviseSink_RemoteOnClose_Stub( | |
23081 | IRpcStubBuffer* This, | |
23082 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23083 | PRPC_MESSAGE pRpcMessage, | |
23084 | DWORD* pdwStubPhase); | |
23085 | void __attribute__((__stdcall__)) IAdviseSink_OnClose_Proxy( | |
23086 | IAdviseSink* This); | |
23087 | HRESULT __attribute__((__stdcall__)) IAdviseSink_OnClose_Stub( | |
23088 | IAdviseSink* This); | |
23089 | ||
23090 | ||
23091 | ||
23092 | ||
23093 | ||
23094 | typedef struct IAdviseSink2 IAdviseSink2; | |
23095 | ||
23096 | ||
23097 | typedef IAdviseSink2 *LPADVISESINK2; | |
23098 | ||
23099 | ||
23100 | ||
23101 | ||
23102 | ||
23103 | ||
23104 | extern const GUID IID_IAdviseSink2 __attribute__((visibility ("hidden"))); | |
23105 | # 5759 "../../../include/objidl.h" | |
23106 | typedef struct IAdviseSink2Vtbl { | |
23107 | ||
23108 | ||
23109 | ||
23110 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
23111 | IAdviseSink2* This, | |
23112 | const IID* const riid, | |
23113 | void** ppvObject); | |
23114 | ||
23115 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
23116 | IAdviseSink2* This); | |
23117 | ||
23118 | ULONG (__attribute__((__stdcall__)) *Release)( | |
23119 | IAdviseSink2* This); | |
23120 | ||
23121 | ||
23122 | void (__attribute__((__stdcall__)) *OnDataChange)( | |
23123 | IAdviseSink2* This, | |
23124 | FORMATETC* pFormatetc, | |
23125 | STGMEDIUM* pStgmed); | |
23126 | ||
23127 | void (__attribute__((__stdcall__)) *OnViewChange)( | |
23128 | IAdviseSink2* This, | |
23129 | DWORD dwAspect, | |
23130 | LONG lindex); | |
23131 | ||
23132 | void (__attribute__((__stdcall__)) *OnRename)( | |
23133 | IAdviseSink2* This, | |
23134 | IMoniker* pmk); | |
23135 | ||
23136 | void (__attribute__((__stdcall__)) *OnSave)( | |
23137 | IAdviseSink2* This); | |
23138 | ||
23139 | void (__attribute__((__stdcall__)) *OnClose)( | |
23140 | IAdviseSink2* This); | |
23141 | ||
23142 | ||
23143 | void (__attribute__((__stdcall__)) *OnLinkSrcChange)( | |
23144 | IAdviseSink2* This, | |
23145 | IMoniker* pmk); | |
23146 | ||
23147 | ||
23148 | } IAdviseSink2Vtbl; | |
23149 | struct IAdviseSink2 { | |
23150 | const IAdviseSink2Vtbl* lpVtbl; | |
23151 | }; | |
23152 | # 5823 "../../../include/objidl.h" | |
23153 | HRESULT __attribute__((__stdcall__)) IAdviseSink2_RemoteOnLinkSrcChange_Proxy( | |
23154 | IAdviseSink2* This, | |
23155 | IMoniker* pmk); | |
23156 | void __attribute__((__stdcall__)) IAdviseSink2_RemoteOnLinkSrcChange_Stub( | |
23157 | IRpcStubBuffer* This, | |
23158 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23159 | PRPC_MESSAGE pRpcMessage, | |
23160 | DWORD* pdwStubPhase); | |
23161 | void __attribute__((__stdcall__)) IAdviseSink2_OnLinkSrcChange_Proxy( | |
23162 | IAdviseSink2* This, | |
23163 | IMoniker* pmk); | |
23164 | HRESULT __attribute__((__stdcall__)) IAdviseSink2_OnLinkSrcChange_Stub( | |
23165 | IAdviseSink2* This, | |
23166 | IMoniker* pmk); | |
23167 | ||
23168 | ||
23169 | ||
23170 | ||
23171 | ||
23172 | typedef struct IDataObject IDataObject; | |
23173 | ||
23174 | ||
23175 | typedef IDataObject *LPDATAOBJECT; | |
23176 | typedef enum tagDATADIR { | |
23177 | DATADIR_GET = 1, | |
23178 | DATADIR_SET = 2 | |
23179 | } DATADIR; | |
23180 | ||
23181 | ||
23182 | ||
23183 | ||
23184 | ||
23185 | ||
23186 | extern const GUID IID_IDataObject __attribute__((visibility ("hidden"))); | |
23187 | # 5898 "../../../include/objidl.h" | |
23188 | typedef struct IDataObjectVtbl { | |
23189 | ||
23190 | ||
23191 | ||
23192 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
23193 | IDataObject* This, | |
23194 | const IID* const riid, | |
23195 | void** ppvObject); | |
23196 | ||
23197 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
23198 | IDataObject* This); | |
23199 | ||
23200 | ULONG (__attribute__((__stdcall__)) *Release)( | |
23201 | IDataObject* This); | |
23202 | ||
23203 | ||
23204 | HRESULT (__attribute__((__stdcall__)) *GetData)( | |
23205 | IDataObject* This, | |
23206 | FORMATETC* pformatetcIn, | |
23207 | STGMEDIUM* pmedium); | |
23208 | ||
23209 | HRESULT (__attribute__((__stdcall__)) *GetDataHere)( | |
23210 | IDataObject* This, | |
23211 | FORMATETC* pformatetc, | |
23212 | STGMEDIUM* pmedium); | |
23213 | ||
23214 | HRESULT (__attribute__((__stdcall__)) *QueryGetData)( | |
23215 | IDataObject* This, | |
23216 | FORMATETC* pformatetc); | |
23217 | ||
23218 | HRESULT (__attribute__((__stdcall__)) *GetCanonicalFormatEtc)( | |
23219 | IDataObject* This, | |
23220 | FORMATETC* pformatectIn, | |
23221 | FORMATETC* pformatetcOut); | |
23222 | ||
23223 | HRESULT (__attribute__((__stdcall__)) *SetData)( | |
23224 | IDataObject* This, | |
23225 | FORMATETC* pformatetc, | |
23226 | STGMEDIUM* pmedium, | |
23227 | BOOL fRelease); | |
23228 | ||
23229 | HRESULT (__attribute__((__stdcall__)) *EnumFormatEtc)( | |
23230 | IDataObject* This, | |
23231 | DWORD dwDirection, | |
23232 | IEnumFORMATETC** ppenumFormatEtc); | |
23233 | ||
23234 | HRESULT (__attribute__((__stdcall__)) *DAdvise)( | |
23235 | IDataObject* This, | |
23236 | FORMATETC* pformatetc, | |
23237 | DWORD advf, | |
23238 | IAdviseSink* pAdvSink, | |
23239 | DWORD* pdwConnection); | |
23240 | ||
23241 | HRESULT (__attribute__((__stdcall__)) *DUnadvise)( | |
23242 | IDataObject* This, | |
23243 | DWORD dwConnection); | |
23244 | ||
23245 | HRESULT (__attribute__((__stdcall__)) *EnumDAdvise)( | |
23246 | IDataObject* This, | |
23247 | IEnumSTATDATA** ppenumAdvise); | |
23248 | ||
23249 | ||
23250 | } IDataObjectVtbl; | |
23251 | struct IDataObject { | |
23252 | const IDataObjectVtbl* lpVtbl; | |
23253 | }; | |
23254 | # 5984 "../../../include/objidl.h" | |
23255 | HRESULT __attribute__((__stdcall__)) IDataObject_RemoteGetData_Proxy( | |
23256 | IDataObject* This, | |
23257 | FORMATETC* pformatetcIn, | |
23258 | STGMEDIUM* pRemoteMedium); | |
23259 | void __attribute__((__stdcall__)) IDataObject_RemoteGetData_Stub( | |
23260 | IRpcStubBuffer* This, | |
23261 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23262 | PRPC_MESSAGE pRpcMessage, | |
23263 | DWORD* pdwStubPhase); | |
23264 | HRESULT __attribute__((__stdcall__)) IDataObject_GetData_Proxy( | |
23265 | IDataObject* This, | |
23266 | FORMATETC* pformatetcIn, | |
23267 | STGMEDIUM* pmedium); | |
23268 | HRESULT __attribute__((__stdcall__)) IDataObject_GetData_Stub( | |
23269 | IDataObject* This, | |
23270 | FORMATETC* pformatetcIn, | |
23271 | STGMEDIUM* pRemoteMedium); | |
23272 | HRESULT __attribute__((__stdcall__)) IDataObject_RemoteGetDataHere_Proxy( | |
23273 | IDataObject* This, | |
23274 | FORMATETC* pformatetc, | |
23275 | STGMEDIUM* pRemoteMedium); | |
23276 | void __attribute__((__stdcall__)) IDataObject_RemoteGetDataHere_Stub( | |
23277 | IRpcStubBuffer* This, | |
23278 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23279 | PRPC_MESSAGE pRpcMessage, | |
23280 | DWORD* pdwStubPhase); | |
23281 | HRESULT __attribute__((__stdcall__)) IDataObject_GetDataHere_Proxy( | |
23282 | IDataObject* This, | |
23283 | FORMATETC* pformatetc, | |
23284 | STGMEDIUM* pmedium); | |
23285 | HRESULT __attribute__((__stdcall__)) IDataObject_GetDataHere_Stub( | |
23286 | IDataObject* This, | |
23287 | FORMATETC* pformatetc, | |
23288 | STGMEDIUM* pRemoteMedium); | |
23289 | HRESULT __attribute__((__stdcall__)) IDataObject_QueryGetData_Proxy( | |
23290 | IDataObject* This, | |
23291 | FORMATETC* pformatetc); | |
23292 | void __attribute__((__stdcall__)) IDataObject_QueryGetData_Stub( | |
23293 | IRpcStubBuffer* This, | |
23294 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23295 | PRPC_MESSAGE pRpcMessage, | |
23296 | DWORD* pdwStubPhase); | |
23297 | HRESULT __attribute__((__stdcall__)) IDataObject_GetCanonicalFormatEtc_Proxy( | |
23298 | IDataObject* This, | |
23299 | FORMATETC* pformatectIn, | |
23300 | FORMATETC* pformatetcOut); | |
23301 | void __attribute__((__stdcall__)) IDataObject_GetCanonicalFormatEtc_Stub( | |
23302 | IRpcStubBuffer* This, | |
23303 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23304 | PRPC_MESSAGE pRpcMessage, | |
23305 | DWORD* pdwStubPhase); | |
23306 | HRESULT __attribute__((__stdcall__)) IDataObject_RemoteSetData_Proxy( | |
23307 | IDataObject* This, | |
23308 | FORMATETC* pformatetc, | |
23309 | FLAG_STGMEDIUM* pmedium, | |
23310 | BOOL fRelease); | |
23311 | void __attribute__((__stdcall__)) IDataObject_RemoteSetData_Stub( | |
23312 | IRpcStubBuffer* This, | |
23313 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23314 | PRPC_MESSAGE pRpcMessage, | |
23315 | DWORD* pdwStubPhase); | |
23316 | HRESULT __attribute__((__stdcall__)) IDataObject_SetData_Proxy( | |
23317 | IDataObject* This, | |
23318 | FORMATETC* pformatetc, | |
23319 | STGMEDIUM* pmedium, | |
23320 | BOOL fRelease); | |
23321 | HRESULT __attribute__((__stdcall__)) IDataObject_SetData_Stub( | |
23322 | IDataObject* This, | |
23323 | FORMATETC* pformatetc, | |
23324 | FLAG_STGMEDIUM* pmedium, | |
23325 | BOOL fRelease); | |
23326 | HRESULT __attribute__((__stdcall__)) IDataObject_EnumFormatEtc_Proxy( | |
23327 | IDataObject* This, | |
23328 | DWORD dwDirection, | |
23329 | IEnumFORMATETC** ppenumFormatEtc); | |
23330 | void __attribute__((__stdcall__)) IDataObject_EnumFormatEtc_Stub( | |
23331 | IRpcStubBuffer* This, | |
23332 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23333 | PRPC_MESSAGE pRpcMessage, | |
23334 | DWORD* pdwStubPhase); | |
23335 | HRESULT __attribute__((__stdcall__)) IDataObject_DAdvise_Proxy( | |
23336 | IDataObject* This, | |
23337 | FORMATETC* pformatetc, | |
23338 | DWORD advf, | |
23339 | IAdviseSink* pAdvSink, | |
23340 | DWORD* pdwConnection); | |
23341 | void __attribute__((__stdcall__)) IDataObject_DAdvise_Stub( | |
23342 | IRpcStubBuffer* This, | |
23343 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23344 | PRPC_MESSAGE pRpcMessage, | |
23345 | DWORD* pdwStubPhase); | |
23346 | HRESULT __attribute__((__stdcall__)) IDataObject_DUnadvise_Proxy( | |
23347 | IDataObject* This, | |
23348 | DWORD dwConnection); | |
23349 | void __attribute__((__stdcall__)) IDataObject_DUnadvise_Stub( | |
23350 | IRpcStubBuffer* This, | |
23351 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23352 | PRPC_MESSAGE pRpcMessage, | |
23353 | DWORD* pdwStubPhase); | |
23354 | HRESULT __attribute__((__stdcall__)) IDataObject_EnumDAdvise_Proxy( | |
23355 | IDataObject* This, | |
23356 | IEnumSTATDATA** ppenumAdvise); | |
23357 | void __attribute__((__stdcall__)) IDataObject_EnumDAdvise_Stub( | |
23358 | IRpcStubBuffer* This, | |
23359 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23360 | PRPC_MESSAGE pRpcMessage, | |
23361 | DWORD* pdwStubPhase); | |
23362 | ||
23363 | ||
23364 | ||
23365 | ||
23366 | ||
23367 | typedef struct IDataAdviseHolder IDataAdviseHolder; | |
23368 | ||
23369 | ||
23370 | typedef IDataAdviseHolder *LPDATAADVISEHOLDER; | |
23371 | ||
23372 | ||
23373 | ||
23374 | ||
23375 | ||
23376 | ||
23377 | extern const GUID IID_IDataAdviseHolder __attribute__((visibility ("hidden"))); | |
23378 | # 6130 "../../../include/objidl.h" | |
23379 | typedef struct IDataAdviseHolderVtbl { | |
23380 | ||
23381 | ||
23382 | ||
23383 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
23384 | IDataAdviseHolder* This, | |
23385 | const IID* const riid, | |
23386 | void** ppvObject); | |
23387 | ||
23388 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
23389 | IDataAdviseHolder* This); | |
23390 | ||
23391 | ULONG (__attribute__((__stdcall__)) *Release)( | |
23392 | IDataAdviseHolder* This); | |
23393 | ||
23394 | ||
23395 | HRESULT (__attribute__((__stdcall__)) *Advise)( | |
23396 | IDataAdviseHolder* This, | |
23397 | IDataObject* pDataObject, | |
23398 | FORMATETC* pFetc, | |
23399 | DWORD advf, | |
23400 | IAdviseSink* pAdvise, | |
23401 | DWORD* pdwConnection); | |
23402 | ||
23403 | HRESULT (__attribute__((__stdcall__)) *Unadvise)( | |
23404 | IDataAdviseHolder* This, | |
23405 | DWORD dwConnection); | |
23406 | ||
23407 | HRESULT (__attribute__((__stdcall__)) *EnumAdvise)( | |
23408 | IDataAdviseHolder* This, | |
23409 | IEnumSTATDATA** ppenumAdvise); | |
23410 | ||
23411 | HRESULT (__attribute__((__stdcall__)) *SendOnDataChange)( | |
23412 | IDataAdviseHolder* This, | |
23413 | IDataObject* pDataObject, | |
23414 | DWORD dwReserved, | |
23415 | DWORD advf); | |
23416 | ||
23417 | ||
23418 | } IDataAdviseHolderVtbl; | |
23419 | struct IDataAdviseHolder { | |
23420 | const IDataAdviseHolderVtbl* lpVtbl; | |
23421 | }; | |
23422 | # 6188 "../../../include/objidl.h" | |
23423 | HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_Advise_Proxy( | |
23424 | IDataAdviseHolder* This, | |
23425 | IDataObject* pDataObject, | |
23426 | FORMATETC* pFetc, | |
23427 | DWORD advf, | |
23428 | IAdviseSink* pAdvise, | |
23429 | DWORD* pdwConnection); | |
23430 | void __attribute__((__stdcall__)) IDataAdviseHolder_Advise_Stub( | |
23431 | IRpcStubBuffer* This, | |
23432 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23433 | PRPC_MESSAGE pRpcMessage, | |
23434 | DWORD* pdwStubPhase); | |
23435 | HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_Unadvise_Proxy( | |
23436 | IDataAdviseHolder* This, | |
23437 | DWORD dwConnection); | |
23438 | void __attribute__((__stdcall__)) IDataAdviseHolder_Unadvise_Stub( | |
23439 | IRpcStubBuffer* This, | |
23440 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23441 | PRPC_MESSAGE pRpcMessage, | |
23442 | DWORD* pdwStubPhase); | |
23443 | HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_EnumAdvise_Proxy( | |
23444 | IDataAdviseHolder* This, | |
23445 | IEnumSTATDATA** ppenumAdvise); | |
23446 | void __attribute__((__stdcall__)) IDataAdviseHolder_EnumAdvise_Stub( | |
23447 | IRpcStubBuffer* This, | |
23448 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23449 | PRPC_MESSAGE pRpcMessage, | |
23450 | DWORD* pdwStubPhase); | |
23451 | HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_SendOnDataChange_Proxy( | |
23452 | IDataAdviseHolder* This, | |
23453 | IDataObject* pDataObject, | |
23454 | DWORD dwReserved, | |
23455 | DWORD advf); | |
23456 | void __attribute__((__stdcall__)) IDataAdviseHolder_SendOnDataChange_Stub( | |
23457 | IRpcStubBuffer* This, | |
23458 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23459 | PRPC_MESSAGE pRpcMessage, | |
23460 | DWORD* pdwStubPhase); | |
23461 | ||
23462 | ||
23463 | ||
23464 | ||
23465 | ||
23466 | typedef struct IMessageFilter IMessageFilter; | |
23467 | ||
23468 | ||
23469 | typedef IMessageFilter *LPMESSAGEFILTER; | |
23470 | typedef enum tagCALLTYPE { | |
23471 | CALLTYPE_TOPLEVEL = 1, | |
23472 | CALLTYPE_NESTED = 2, | |
23473 | CALLTYPE_ASYNC = 3, | |
23474 | CALLTYPE_TOPLEVEL_CALLPENDING = 4, | |
23475 | CALLTYPE_ASYNC_CALLPENDING = 5 | |
23476 | } CALLTYPE; | |
23477 | typedef enum tagSERVERCALL { | |
23478 | SERVERCALL_ISHANDLED = 0, | |
23479 | SERVERCALL_REJECTED = 1, | |
23480 | SERVERCALL_RETRYLATER = 2 | |
23481 | } SERVERCALL; | |
23482 | typedef enum tagPENDINGTYPE { | |
23483 | PENDINGTYPE_TOPLEVEL = 1, | |
23484 | PENDINGTYPE_NESTED = 2 | |
23485 | } PENDINGTYPE; | |
23486 | typedef enum tagPENDINGMSG { | |
23487 | PENDINGMSG_CANCELCALL = 0, | |
23488 | PENDINGMSG_WAITNOPROCESS = 1, | |
23489 | PENDINGMSG_WAITDEFPROCESS = 2 | |
23490 | } PENDINGMSG; | |
23491 | typedef struct tagINTERFACEINFO { | |
23492 | IUnknown *pUnk; | |
23493 | IID iid; | |
23494 | WORD wMethod; | |
23495 | } INTERFACEINFO; | |
23496 | typedef struct tagINTERFACEINFO *LPINTERFACEINFO; | |
23497 | ||
23498 | ||
23499 | ||
23500 | ||
23501 | ||
23502 | ||
23503 | extern const GUID IID_IMessageFilter __attribute__((visibility ("hidden"))); | |
23504 | # 6290 "../../../include/objidl.h" | |
23505 | typedef struct IMessageFilterVtbl { | |
23506 | ||
23507 | ||
23508 | ||
23509 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
23510 | IMessageFilter* This, | |
23511 | const IID* const riid, | |
23512 | void** ppvObject); | |
23513 | ||
23514 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
23515 | IMessageFilter* This); | |
23516 | ||
23517 | ULONG (__attribute__((__stdcall__)) *Release)( | |
23518 | IMessageFilter* This); | |
23519 | ||
23520 | ||
23521 | DWORD (__attribute__((__stdcall__)) *HandleInComingCall)( | |
23522 | IMessageFilter* This, | |
23523 | DWORD dwCallType, | |
23524 | HTASK htaskCaller, | |
23525 | DWORD dwTickCount, | |
23526 | LPINTERFACEINFO lpInterfaceInfo); | |
23527 | ||
23528 | DWORD (__attribute__((__stdcall__)) *RetryRejectedCall)( | |
23529 | IMessageFilter* This, | |
23530 | HTASK htaskCallee, | |
23531 | DWORD dwTickCount, | |
23532 | DWORD dwRejectType); | |
23533 | ||
23534 | DWORD (__attribute__((__stdcall__)) *MessagePending)( | |
23535 | IMessageFilter* This, | |
23536 | HTASK htaskCallee, | |
23537 | DWORD dwTickCount, | |
23538 | DWORD dwPendingType); | |
23539 | ||
23540 | ||
23541 | } IMessageFilterVtbl; | |
23542 | struct IMessageFilter { | |
23543 | const IMessageFilterVtbl* lpVtbl; | |
23544 | }; | |
23545 | # 6344 "../../../include/objidl.h" | |
23546 | DWORD __attribute__((__stdcall__)) IMessageFilter_HandleInComingCall_Proxy( | |
23547 | IMessageFilter* This, | |
23548 | DWORD dwCallType, | |
23549 | HTASK htaskCaller, | |
23550 | DWORD dwTickCount, | |
23551 | LPINTERFACEINFO lpInterfaceInfo); | |
23552 | void __attribute__((__stdcall__)) IMessageFilter_HandleInComingCall_Stub( | |
23553 | IRpcStubBuffer* This, | |
23554 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23555 | PRPC_MESSAGE pRpcMessage, | |
23556 | DWORD* pdwStubPhase); | |
23557 | DWORD __attribute__((__stdcall__)) IMessageFilter_RetryRejectedCall_Proxy( | |
23558 | IMessageFilter* This, | |
23559 | HTASK htaskCallee, | |
23560 | DWORD dwTickCount, | |
23561 | DWORD dwRejectType); | |
23562 | void __attribute__((__stdcall__)) IMessageFilter_RetryRejectedCall_Stub( | |
23563 | IRpcStubBuffer* This, | |
23564 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23565 | PRPC_MESSAGE pRpcMessage, | |
23566 | DWORD* pdwStubPhase); | |
23567 | DWORD __attribute__((__stdcall__)) IMessageFilter_MessagePending_Proxy( | |
23568 | IMessageFilter* This, | |
23569 | HTASK htaskCallee, | |
23570 | DWORD dwTickCount, | |
23571 | DWORD dwPendingType); | |
23572 | void __attribute__((__stdcall__)) IMessageFilter_MessagePending_Stub( | |
23573 | IRpcStubBuffer* This, | |
23574 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23575 | PRPC_MESSAGE pRpcMessage, | |
23576 | DWORD* pdwStubPhase); | |
23577 | # 6383 "../../../include/objidl.h" | |
23578 | typedef IRpcChannelBuffer *LPRPCCHANNELBUFFER; | |
23579 | typedef unsigned long RPCOLEDATAREP; | |
23580 | typedef struct tagRPCOLEMESSAGE { | |
23581 | void *reserved1; | |
23582 | RPCOLEDATAREP dataRepresentation; | |
23583 | void *Buffer; | |
23584 | ULONG cbBuffer; | |
23585 | ULONG iMethod; | |
23586 | void *reserved2[5]; | |
23587 | ULONG rpcFlags; | |
23588 | } RPCOLEMESSAGE; | |
23589 | typedef RPCOLEMESSAGE *PRPCOLEMESSAGE; | |
23590 | ||
23591 | ||
23592 | ||
23593 | ||
23594 | ||
23595 | ||
23596 | extern const GUID IID_IRpcChannelBuffer __attribute__((visibility ("hidden"))); | |
23597 | # 6425 "../../../include/objidl.h" | |
23598 | typedef struct IRpcChannelBufferVtbl { | |
23599 | ||
23600 | ||
23601 | ||
23602 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
23603 | IRpcChannelBuffer* This, | |
23604 | const IID* const riid, | |
23605 | void** ppvObject); | |
23606 | ||
23607 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
23608 | IRpcChannelBuffer* This); | |
23609 | ||
23610 | ULONG (__attribute__((__stdcall__)) *Release)( | |
23611 | IRpcChannelBuffer* This); | |
23612 | ||
23613 | ||
23614 | HRESULT (__attribute__((__stdcall__)) *GetBuffer)( | |
23615 | IRpcChannelBuffer* This, | |
23616 | RPCOLEMESSAGE* pMessage, | |
23617 | const IID* const riid); | |
23618 | ||
23619 | HRESULT (__attribute__((__stdcall__)) *SendReceive)( | |
23620 | IRpcChannelBuffer* This, | |
23621 | RPCOLEMESSAGE* pMessage, | |
23622 | ULONG* pStatus); | |
23623 | ||
23624 | HRESULT (__attribute__((__stdcall__)) *FreeBuffer)( | |
23625 | IRpcChannelBuffer* This, | |
23626 | RPCOLEMESSAGE* pMessage); | |
23627 | ||
23628 | HRESULT (__attribute__((__stdcall__)) *GetDestCtx)( | |
23629 | IRpcChannelBuffer* This, | |
23630 | DWORD* pdwDestContext, | |
23631 | void** ppvDestContext); | |
23632 | ||
23633 | HRESULT (__attribute__((__stdcall__)) *IsConnected)( | |
23634 | IRpcChannelBuffer* This); | |
23635 | ||
23636 | ||
23637 | } IRpcChannelBufferVtbl; | |
23638 | struct IRpcChannelBuffer { | |
23639 | const IRpcChannelBufferVtbl* lpVtbl; | |
23640 | }; | |
23641 | # 6484 "../../../include/objidl.h" | |
23642 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_GetBuffer_Proxy( | |
23643 | IRpcChannelBuffer* This, | |
23644 | RPCOLEMESSAGE* pMessage, | |
23645 | const IID* const riid); | |
23646 | void __attribute__((__stdcall__)) IRpcChannelBuffer_GetBuffer_Stub( | |
23647 | IRpcStubBuffer* This, | |
23648 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23649 | PRPC_MESSAGE pRpcMessage, | |
23650 | DWORD* pdwStubPhase); | |
23651 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_SendReceive_Proxy( | |
23652 | IRpcChannelBuffer* This, | |
23653 | RPCOLEMESSAGE* pMessage, | |
23654 | ULONG* pStatus); | |
23655 | void __attribute__((__stdcall__)) IRpcChannelBuffer_SendReceive_Stub( | |
23656 | IRpcStubBuffer* This, | |
23657 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23658 | PRPC_MESSAGE pRpcMessage, | |
23659 | DWORD* pdwStubPhase); | |
23660 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_FreeBuffer_Proxy( | |
23661 | IRpcChannelBuffer* This, | |
23662 | RPCOLEMESSAGE* pMessage); | |
23663 | void __attribute__((__stdcall__)) IRpcChannelBuffer_FreeBuffer_Stub( | |
23664 | IRpcStubBuffer* This, | |
23665 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23666 | PRPC_MESSAGE pRpcMessage, | |
23667 | DWORD* pdwStubPhase); | |
23668 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_GetDestCtx_Proxy( | |
23669 | IRpcChannelBuffer* This, | |
23670 | DWORD* pdwDestContext, | |
23671 | void** ppvDestContext); | |
23672 | void __attribute__((__stdcall__)) IRpcChannelBuffer_GetDestCtx_Stub( | |
23673 | IRpcStubBuffer* This, | |
23674 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23675 | PRPC_MESSAGE pRpcMessage, | |
23676 | DWORD* pdwStubPhase); | |
23677 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_IsConnected_Proxy( | |
23678 | IRpcChannelBuffer* This); | |
23679 | void __attribute__((__stdcall__)) IRpcChannelBuffer_IsConnected_Stub( | |
23680 | IRpcStubBuffer* This, | |
23681 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23682 | PRPC_MESSAGE pRpcMessage, | |
23683 | DWORD* pdwStubPhase); | |
23684 | ||
23685 | ||
23686 | ||
23687 | ||
23688 | ||
23689 | typedef struct IRpcChannelBuffer2 IRpcChannelBuffer2; | |
23690 | ||
23691 | ||
23692 | typedef IRpcChannelBuffer2 *LPRPCCHANNELBUFFER2; | |
23693 | ||
23694 | ||
23695 | ||
23696 | ||
23697 | ||
23698 | ||
23699 | extern const GUID IID_IRpcChannelBuffer2 __attribute__((visibility ("hidden"))); | |
23700 | # 6550 "../../../include/objidl.h" | |
23701 | typedef struct IRpcChannelBuffer2Vtbl { | |
23702 | ||
23703 | ||
23704 | ||
23705 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
23706 | IRpcChannelBuffer2* This, | |
23707 | const IID* const riid, | |
23708 | void** ppvObject); | |
23709 | ||
23710 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
23711 | IRpcChannelBuffer2* This); | |
23712 | ||
23713 | ULONG (__attribute__((__stdcall__)) *Release)( | |
23714 | IRpcChannelBuffer2* This); | |
23715 | ||
23716 | ||
23717 | HRESULT (__attribute__((__stdcall__)) *GetBuffer)( | |
23718 | IRpcChannelBuffer2* This, | |
23719 | RPCOLEMESSAGE* pMessage, | |
23720 | const IID* const riid); | |
23721 | ||
23722 | HRESULT (__attribute__((__stdcall__)) *SendReceive)( | |
23723 | IRpcChannelBuffer2* This, | |
23724 | RPCOLEMESSAGE* pMessage, | |
23725 | ULONG* pStatus); | |
23726 | ||
23727 | HRESULT (__attribute__((__stdcall__)) *FreeBuffer)( | |
23728 | IRpcChannelBuffer2* This, | |
23729 | RPCOLEMESSAGE* pMessage); | |
23730 | ||
23731 | HRESULT (__attribute__((__stdcall__)) *GetDestCtx)( | |
23732 | IRpcChannelBuffer2* This, | |
23733 | DWORD* pdwDestContext, | |
23734 | void** ppvDestContext); | |
23735 | ||
23736 | HRESULT (__attribute__((__stdcall__)) *IsConnected)( | |
23737 | IRpcChannelBuffer2* This); | |
23738 | ||
23739 | ||
23740 | HRESULT (__attribute__((__stdcall__)) *GetProtocolVersion)( | |
23741 | IRpcChannelBuffer2* This, | |
23742 | DWORD* pdwVersion); | |
23743 | ||
23744 | ||
23745 | } IRpcChannelBuffer2Vtbl; | |
23746 | struct IRpcChannelBuffer2 { | |
23747 | const IRpcChannelBuffer2Vtbl* lpVtbl; | |
23748 | }; | |
23749 | # 6616 "../../../include/objidl.h" | |
23750 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer2_GetProtocolVersion_Proxy( | |
23751 | IRpcChannelBuffer2* This, | |
23752 | DWORD* pdwVersion); | |
23753 | void __attribute__((__stdcall__)) IRpcChannelBuffer2_GetProtocolVersion_Stub( | |
23754 | IRpcStubBuffer* This, | |
23755 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23756 | PRPC_MESSAGE pRpcMessage, | |
23757 | DWORD* pdwStubPhase); | |
23758 | ||
23759 | ||
23760 | ||
23761 | ||
23762 | ||
23763 | typedef struct IRpcChannelBuffer3 IRpcChannelBuffer3; | |
23764 | ||
23765 | ||
23766 | typedef IRpcChannelBuffer3 *LPRPCCHANNELBUFFER3; | |
23767 | ||
23768 | ||
23769 | ||
23770 | ||
23771 | ||
23772 | ||
23773 | extern const GUID IID_IRpcChannelBuffer3 __attribute__((visibility ("hidden"))); | |
23774 | # 6675 "../../../include/objidl.h" | |
23775 | typedef struct IRpcChannelBuffer3Vtbl { | |
23776 | ||
23777 | ||
23778 | ||
23779 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
23780 | IRpcChannelBuffer3* This, | |
23781 | const IID* const riid, | |
23782 | void** ppvObject); | |
23783 | ||
23784 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
23785 | IRpcChannelBuffer3* This); | |
23786 | ||
23787 | ULONG (__attribute__((__stdcall__)) *Release)( | |
23788 | IRpcChannelBuffer3* This); | |
23789 | ||
23790 | ||
23791 | HRESULT (__attribute__((__stdcall__)) *GetBuffer)( | |
23792 | IRpcChannelBuffer3* This, | |
23793 | RPCOLEMESSAGE* pMessage, | |
23794 | const IID* const riid); | |
23795 | ||
23796 | HRESULT (__attribute__((__stdcall__)) *SendReceive)( | |
23797 | IRpcChannelBuffer3* This, | |
23798 | RPCOLEMESSAGE* pMessage, | |
23799 | ULONG* pStatus); | |
23800 | ||
23801 | HRESULT (__attribute__((__stdcall__)) *FreeBuffer)( | |
23802 | IRpcChannelBuffer3* This, | |
23803 | RPCOLEMESSAGE* pMessage); | |
23804 | ||
23805 | HRESULT (__attribute__((__stdcall__)) *GetDestCtx)( | |
23806 | IRpcChannelBuffer3* This, | |
23807 | DWORD* pdwDestContext, | |
23808 | void** ppvDestContext); | |
23809 | ||
23810 | HRESULT (__attribute__((__stdcall__)) *IsConnected)( | |
23811 | IRpcChannelBuffer3* This); | |
23812 | ||
23813 | ||
23814 | HRESULT (__attribute__((__stdcall__)) *GetProtocolVersion)( | |
23815 | IRpcChannelBuffer3* This, | |
23816 | DWORD* pdwVersion); | |
23817 | ||
23818 | ||
23819 | HRESULT (__attribute__((__stdcall__)) *Send)( | |
23820 | IRpcChannelBuffer3* This, | |
23821 | RPCOLEMESSAGE* pMsg, | |
23822 | ULONG* pulStatus); | |
23823 | ||
23824 | HRESULT (__attribute__((__stdcall__)) *Receive)( | |
23825 | IRpcChannelBuffer3* This, | |
23826 | RPCOLEMESSAGE* pMsg, | |
23827 | ULONG ulSize, | |
23828 | ULONG* pulStatus); | |
23829 | ||
23830 | HRESULT (__attribute__((__stdcall__)) *Cancel)( | |
23831 | IRpcChannelBuffer3* This, | |
23832 | RPCOLEMESSAGE* pMsg); | |
23833 | ||
23834 | HRESULT (__attribute__((__stdcall__)) *GetCallContext)( | |
23835 | IRpcChannelBuffer3* This, | |
23836 | RPCOLEMESSAGE* pMsg, | |
23837 | const IID* const riid, | |
23838 | void** pInterface); | |
23839 | ||
23840 | HRESULT (__attribute__((__stdcall__)) *GetDestCtxEx)( | |
23841 | IRpcChannelBuffer3* This, | |
23842 | RPCOLEMESSAGE* pMsg, | |
23843 | DWORD* pdwDestContext, | |
23844 | void** ppvDestContext); | |
23845 | ||
23846 | HRESULT (__attribute__((__stdcall__)) *GetState)( | |
23847 | IRpcChannelBuffer3* This, | |
23848 | RPCOLEMESSAGE* pMsg, | |
23849 | DWORD* pState); | |
23850 | ||
23851 | HRESULT (__attribute__((__stdcall__)) *RegisterAsync)( | |
23852 | IRpcChannelBuffer3* This, | |
23853 | RPCOLEMESSAGE* pMsg, | |
23854 | IAsyncManager* pAsyncMgr); | |
23855 | ||
23856 | ||
23857 | } IRpcChannelBuffer3Vtbl; | |
23858 | struct IRpcChannelBuffer3 { | |
23859 | const IRpcChannelBuffer3Vtbl* lpVtbl; | |
23860 | }; | |
23861 | # 6787 "../../../include/objidl.h" | |
23862 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer3_Send_Proxy( | |
23863 | IRpcChannelBuffer3* This, | |
23864 | RPCOLEMESSAGE* pMsg, | |
23865 | ULONG* pulStatus); | |
23866 | void __attribute__((__stdcall__)) IRpcChannelBuffer3_Send_Stub( | |
23867 | IRpcStubBuffer* This, | |
23868 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23869 | PRPC_MESSAGE pRpcMessage, | |
23870 | DWORD* pdwStubPhase); | |
23871 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer3_Receive_Proxy( | |
23872 | IRpcChannelBuffer3* This, | |
23873 | RPCOLEMESSAGE* pMsg, | |
23874 | ULONG ulSize, | |
23875 | ULONG* pulStatus); | |
23876 | void __attribute__((__stdcall__)) IRpcChannelBuffer3_Receive_Stub( | |
23877 | IRpcStubBuffer* This, | |
23878 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23879 | PRPC_MESSAGE pRpcMessage, | |
23880 | DWORD* pdwStubPhase); | |
23881 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer3_Cancel_Proxy( | |
23882 | IRpcChannelBuffer3* This, | |
23883 | RPCOLEMESSAGE* pMsg); | |
23884 | void __attribute__((__stdcall__)) IRpcChannelBuffer3_Cancel_Stub( | |
23885 | IRpcStubBuffer* This, | |
23886 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23887 | PRPC_MESSAGE pRpcMessage, | |
23888 | DWORD* pdwStubPhase); | |
23889 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer3_GetCallContext_Proxy( | |
23890 | IRpcChannelBuffer3* This, | |
23891 | RPCOLEMESSAGE* pMsg, | |
23892 | const IID* const riid, | |
23893 | void** pInterface); | |
23894 | void __attribute__((__stdcall__)) IRpcChannelBuffer3_GetCallContext_Stub( | |
23895 | IRpcStubBuffer* This, | |
23896 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23897 | PRPC_MESSAGE pRpcMessage, | |
23898 | DWORD* pdwStubPhase); | |
23899 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer3_GetDestCtxEx_Proxy( | |
23900 | IRpcChannelBuffer3* This, | |
23901 | RPCOLEMESSAGE* pMsg, | |
23902 | DWORD* pdwDestContext, | |
23903 | void** ppvDestContext); | |
23904 | void __attribute__((__stdcall__)) IRpcChannelBuffer3_GetDestCtxEx_Stub( | |
23905 | IRpcStubBuffer* This, | |
23906 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23907 | PRPC_MESSAGE pRpcMessage, | |
23908 | DWORD* pdwStubPhase); | |
23909 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer3_GetState_Proxy( | |
23910 | IRpcChannelBuffer3* This, | |
23911 | RPCOLEMESSAGE* pMsg, | |
23912 | DWORD* pState); | |
23913 | void __attribute__((__stdcall__)) IRpcChannelBuffer3_GetState_Stub( | |
23914 | IRpcStubBuffer* This, | |
23915 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23916 | PRPC_MESSAGE pRpcMessage, | |
23917 | DWORD* pdwStubPhase); | |
23918 | HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer3_RegisterAsync_Proxy( | |
23919 | IRpcChannelBuffer3* This, | |
23920 | RPCOLEMESSAGE* pMsg, | |
23921 | IAsyncManager* pAsyncMgr); | |
23922 | void __attribute__((__stdcall__)) IRpcChannelBuffer3_RegisterAsync_Stub( | |
23923 | IRpcStubBuffer* This, | |
23924 | IRpcChannelBuffer* pRpcChannelBuffer, | |
23925 | PRPC_MESSAGE pRpcMessage, | |
23926 | DWORD* pdwStubPhase); | |
23927 | ||
23928 | ||
23929 | ||
23930 | ||
23931 | ||
23932 | typedef struct IAsyncRpcChannelBuffer IAsyncRpcChannelBuffer; | |
23933 | # 6866 "../../../include/objidl.h" | |
23934 | extern const GUID IID_IAsyncRpcChannelBuffer __attribute__((visibility ("hidden"))); | |
23935 | # 6886 "../../../include/objidl.h" | |
23936 | typedef struct IAsyncRpcChannelBufferVtbl { | |
23937 | ||
23938 | ||
23939 | ||
23940 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
23941 | IAsyncRpcChannelBuffer* This, | |
23942 | const IID* const riid, | |
23943 | void** ppvObject); | |
23944 | ||
23945 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
23946 | IAsyncRpcChannelBuffer* This); | |
23947 | ||
23948 | ULONG (__attribute__((__stdcall__)) *Release)( | |
23949 | IAsyncRpcChannelBuffer* This); | |
23950 | ||
23951 | ||
23952 | HRESULT (__attribute__((__stdcall__)) *GetBuffer)( | |
23953 | IAsyncRpcChannelBuffer* This, | |
23954 | RPCOLEMESSAGE* pMessage, | |
23955 | const IID* const riid); | |
23956 | ||
23957 | HRESULT (__attribute__((__stdcall__)) *SendReceive)( | |
23958 | IAsyncRpcChannelBuffer* This, | |
23959 | RPCOLEMESSAGE* pMessage, | |
23960 | ULONG* pStatus); | |
23961 | ||
23962 | HRESULT (__attribute__((__stdcall__)) *FreeBuffer)( | |
23963 | IAsyncRpcChannelBuffer* This, | |
23964 | RPCOLEMESSAGE* pMessage); | |
23965 | ||
23966 | HRESULT (__attribute__((__stdcall__)) *GetDestCtx)( | |
23967 | IAsyncRpcChannelBuffer* This, | |
23968 | DWORD* pdwDestContext, | |
23969 | void** ppvDestContext); | |
23970 | ||
23971 | HRESULT (__attribute__((__stdcall__)) *IsConnected)( | |
23972 | IAsyncRpcChannelBuffer* This); | |
23973 | ||
23974 | ||
23975 | HRESULT (__attribute__((__stdcall__)) *GetProtocolVersion)( | |
23976 | IAsyncRpcChannelBuffer* This, | |
23977 | DWORD* pdwVersion); | |
23978 | ||
23979 | ||
23980 | HRESULT (__attribute__((__stdcall__)) *Send)( | |
23981 | IAsyncRpcChannelBuffer* This, | |
23982 | RPCOLEMESSAGE* pMsg, | |
23983 | ISynchronize* pSync, | |
23984 | ULONG* pulStatus); | |
23985 | ||
23986 | HRESULT (__attribute__((__stdcall__)) *Receive)( | |
23987 | IAsyncRpcChannelBuffer* This, | |
23988 | RPCOLEMESSAGE* pMsg, | |
23989 | ULONG* pulStatus); | |
23990 | ||
23991 | HRESULT (__attribute__((__stdcall__)) *GetDestCtxEx)( | |
23992 | IAsyncRpcChannelBuffer* This, | |
23993 | RPCOLEMESSAGE* pMsg, | |
23994 | DWORD* pdwDestContext, | |
23995 | void** ppvDestContext); | |
23996 | ||
23997 | ||
23998 | } IAsyncRpcChannelBufferVtbl; | |
23999 | struct IAsyncRpcChannelBuffer { | |
24000 | const IAsyncRpcChannelBufferVtbl* lpVtbl; | |
24001 | }; | |
24002 | # 6974 "../../../include/objidl.h" | |
24003 | HRESULT __attribute__((__stdcall__)) IAsyncRpcChannelBuffer_Send_Proxy( | |
24004 | IAsyncRpcChannelBuffer* This, | |
24005 | RPCOLEMESSAGE* pMsg, | |
24006 | ISynchronize* pSync, | |
24007 | ULONG* pulStatus); | |
24008 | void __attribute__((__stdcall__)) IAsyncRpcChannelBuffer_Send_Stub( | |
24009 | IRpcStubBuffer* This, | |
24010 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24011 | PRPC_MESSAGE pRpcMessage, | |
24012 | DWORD* pdwStubPhase); | |
24013 | HRESULT __attribute__((__stdcall__)) IAsyncRpcChannelBuffer_Receive_Proxy( | |
24014 | IAsyncRpcChannelBuffer* This, | |
24015 | RPCOLEMESSAGE* pMsg, | |
24016 | ULONG* pulStatus); | |
24017 | void __attribute__((__stdcall__)) IAsyncRpcChannelBuffer_Receive_Stub( | |
24018 | IRpcStubBuffer* This, | |
24019 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24020 | PRPC_MESSAGE pRpcMessage, | |
24021 | DWORD* pdwStubPhase); | |
24022 | HRESULT __attribute__((__stdcall__)) IAsyncRpcChannelBuffer_GetDestCtxEx_Proxy( | |
24023 | IAsyncRpcChannelBuffer* This, | |
24024 | RPCOLEMESSAGE* pMsg, | |
24025 | DWORD* pdwDestContext, | |
24026 | void** ppvDestContext); | |
24027 | void __attribute__((__stdcall__)) IAsyncRpcChannelBuffer_GetDestCtxEx_Stub( | |
24028 | IRpcStubBuffer* This, | |
24029 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24030 | PRPC_MESSAGE pRpcMessage, | |
24031 | DWORD* pdwStubPhase); | |
24032 | ||
24033 | ||
24034 | ||
24035 | ||
24036 | ||
24037 | typedef struct IRpcSyntaxNegotiate IRpcSyntaxNegotiate; | |
24038 | # 7017 "../../../include/objidl.h" | |
24039 | extern const GUID IID_IRpcSyntaxNegotiate __attribute__((visibility ("hidden"))); | |
24040 | # 7026 "../../../include/objidl.h" | |
24041 | typedef struct IRpcSyntaxNegotiateVtbl { | |
24042 | ||
24043 | ||
24044 | ||
24045 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24046 | IRpcSyntaxNegotiate* This, | |
24047 | const IID* const riid, | |
24048 | void** ppvObject); | |
24049 | ||
24050 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24051 | IRpcSyntaxNegotiate* This); | |
24052 | ||
24053 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24054 | IRpcSyntaxNegotiate* This); | |
24055 | ||
24056 | ||
24057 | HRESULT (__attribute__((__stdcall__)) *NegotiateSyntax)( | |
24058 | IRpcSyntaxNegotiate* This, | |
24059 | RPCOLEMESSAGE* pMsg); | |
24060 | ||
24061 | ||
24062 | } IRpcSyntaxNegotiateVtbl; | |
24063 | struct IRpcSyntaxNegotiate { | |
24064 | const IRpcSyntaxNegotiateVtbl* lpVtbl; | |
24065 | }; | |
24066 | # 7063 "../../../include/objidl.h" | |
24067 | HRESULT __attribute__((__stdcall__)) IRpcSyntaxNegotiate_NegotiateSyntax_Proxy( | |
24068 | IRpcSyntaxNegotiate* This, | |
24069 | RPCOLEMESSAGE* pMsg); | |
24070 | void __attribute__((__stdcall__)) IRpcSyntaxNegotiate_NegotiateSyntax_Stub( | |
24071 | IRpcStubBuffer* This, | |
24072 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24073 | PRPC_MESSAGE pRpcMessage, | |
24074 | DWORD* pdwStubPhase); | |
24075 | ||
24076 | ||
24077 | ||
24078 | ||
24079 | ||
24080 | typedef struct IRpcProxyBuffer IRpcProxyBuffer; | |
24081 | ||
24082 | ||
24083 | typedef IRpcProxyBuffer *LPRPCPROXYBUFFER; | |
24084 | ||
24085 | ||
24086 | ||
24087 | ||
24088 | ||
24089 | ||
24090 | extern const GUID IID_IRpcProxyBuffer __attribute__((visibility ("hidden"))); | |
24091 | # 7098 "../../../include/objidl.h" | |
24092 | typedef struct IRpcProxyBufferVtbl { | |
24093 | ||
24094 | ||
24095 | ||
24096 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24097 | IRpcProxyBuffer* This, | |
24098 | const IID* const riid, | |
24099 | void** ppvObject); | |
24100 | ||
24101 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24102 | IRpcProxyBuffer* This); | |
24103 | ||
24104 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24105 | IRpcProxyBuffer* This); | |
24106 | ||
24107 | ||
24108 | HRESULT (__attribute__((__stdcall__)) *Connect)( | |
24109 | IRpcProxyBuffer* This, | |
24110 | IRpcChannelBuffer* pRpcChannelBuffer); | |
24111 | ||
24112 | void (__attribute__((__stdcall__)) *Disconnect)( | |
24113 | IRpcProxyBuffer* This); | |
24114 | ||
24115 | ||
24116 | } IRpcProxyBufferVtbl; | |
24117 | struct IRpcProxyBuffer { | |
24118 | const IRpcProxyBufferVtbl* lpVtbl; | |
24119 | }; | |
24120 | # 7139 "../../../include/objidl.h" | |
24121 | HRESULT __attribute__((__stdcall__)) IRpcProxyBuffer_Connect_Proxy( | |
24122 | IRpcProxyBuffer* This, | |
24123 | IRpcChannelBuffer* pRpcChannelBuffer); | |
24124 | void __attribute__((__stdcall__)) IRpcProxyBuffer_Connect_Stub( | |
24125 | IRpcStubBuffer* This, | |
24126 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24127 | PRPC_MESSAGE pRpcMessage, | |
24128 | DWORD* pdwStubPhase); | |
24129 | void __attribute__((__stdcall__)) IRpcProxyBuffer_Disconnect_Proxy( | |
24130 | IRpcProxyBuffer* This); | |
24131 | void __attribute__((__stdcall__)) IRpcProxyBuffer_Disconnect_Stub( | |
24132 | IRpcStubBuffer* This, | |
24133 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24134 | PRPC_MESSAGE pRpcMessage, | |
24135 | DWORD* pdwStubPhase); | |
24136 | # 7162 "../../../include/objidl.h" | |
24137 | typedef IRpcStubBuffer *LPRPCSTUBBUFFER; | |
24138 | ||
24139 | ||
24140 | ||
24141 | ||
24142 | ||
24143 | ||
24144 | extern const GUID IID_IRpcStubBuffer __attribute__((visibility ("hidden"))); | |
24145 | # 7197 "../../../include/objidl.h" | |
24146 | typedef struct IRpcStubBufferVtbl { | |
24147 | ||
24148 | ||
24149 | ||
24150 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24151 | IRpcStubBuffer* This, | |
24152 | const IID* const riid, | |
24153 | void** ppvObject); | |
24154 | ||
24155 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24156 | IRpcStubBuffer* This); | |
24157 | ||
24158 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24159 | IRpcStubBuffer* This); | |
24160 | ||
24161 | ||
24162 | HRESULT (__attribute__((__stdcall__)) *Connect)( | |
24163 | IRpcStubBuffer* This, | |
24164 | IUnknown* pUnkServer); | |
24165 | ||
24166 | void (__attribute__((__stdcall__)) *Disconnect)( | |
24167 | IRpcStubBuffer* This); | |
24168 | ||
24169 | HRESULT (__attribute__((__stdcall__)) *Invoke)( | |
24170 | IRpcStubBuffer* This, | |
24171 | RPCOLEMESSAGE* _prpcmsg, | |
24172 | IRpcChannelBuffer* _pRpcChannelBuffer); | |
24173 | ||
24174 | IRpcStubBuffer* (__attribute__((__stdcall__)) *IsIIDSupported)( | |
24175 | IRpcStubBuffer* This, | |
24176 | const IID* const riid); | |
24177 | ||
24178 | ULONG (__attribute__((__stdcall__)) *CountRefs)( | |
24179 | IRpcStubBuffer* This); | |
24180 | ||
24181 | HRESULT (__attribute__((__stdcall__)) *DebugServerQueryInterface)( | |
24182 | IRpcStubBuffer* This, | |
24183 | void** ppv); | |
24184 | ||
24185 | void (__attribute__((__stdcall__)) *DebugServerRelease)( | |
24186 | IRpcStubBuffer* This, | |
24187 | void* pv); | |
24188 | ||
24189 | ||
24190 | } IRpcStubBufferVtbl; | |
24191 | struct IRpcStubBuffer { | |
24192 | const IRpcStubBufferVtbl* lpVtbl; | |
24193 | }; | |
24194 | # 7263 "../../../include/objidl.h" | |
24195 | HRESULT __attribute__((__stdcall__)) IRpcStubBuffer_Connect_Proxy( | |
24196 | IRpcStubBuffer* This, | |
24197 | IUnknown* pUnkServer); | |
24198 | void __attribute__((__stdcall__)) IRpcStubBuffer_Connect_Stub( | |
24199 | IRpcStubBuffer* This, | |
24200 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24201 | PRPC_MESSAGE pRpcMessage, | |
24202 | DWORD* pdwStubPhase); | |
24203 | void __attribute__((__stdcall__)) IRpcStubBuffer_Disconnect_Proxy( | |
24204 | IRpcStubBuffer* This); | |
24205 | void __attribute__((__stdcall__)) IRpcStubBuffer_Disconnect_Stub( | |
24206 | IRpcStubBuffer* This, | |
24207 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24208 | PRPC_MESSAGE pRpcMessage, | |
24209 | DWORD* pdwStubPhase); | |
24210 | HRESULT __attribute__((__stdcall__)) IRpcStubBuffer_Invoke_Proxy( | |
24211 | IRpcStubBuffer* This, | |
24212 | RPCOLEMESSAGE* _prpcmsg, | |
24213 | IRpcChannelBuffer* _pRpcChannelBuffer); | |
24214 | void __attribute__((__stdcall__)) IRpcStubBuffer_Invoke_Stub( | |
24215 | IRpcStubBuffer* This, | |
24216 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24217 | PRPC_MESSAGE pRpcMessage, | |
24218 | DWORD* pdwStubPhase); | |
24219 | IRpcStubBuffer* __attribute__((__stdcall__)) IRpcStubBuffer_IsIIDSupported_Proxy( | |
24220 | IRpcStubBuffer* This, | |
24221 | const IID* const riid); | |
24222 | void __attribute__((__stdcall__)) IRpcStubBuffer_IsIIDSupported_Stub( | |
24223 | IRpcStubBuffer* This, | |
24224 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24225 | PRPC_MESSAGE pRpcMessage, | |
24226 | DWORD* pdwStubPhase); | |
24227 | ULONG __attribute__((__stdcall__)) IRpcStubBuffer_CountRefs_Proxy( | |
24228 | IRpcStubBuffer* This); | |
24229 | void __attribute__((__stdcall__)) IRpcStubBuffer_CountRefs_Stub( | |
24230 | IRpcStubBuffer* This, | |
24231 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24232 | PRPC_MESSAGE pRpcMessage, | |
24233 | DWORD* pdwStubPhase); | |
24234 | HRESULT __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerQueryInterface_Proxy( | |
24235 | IRpcStubBuffer* This, | |
24236 | void** ppv); | |
24237 | void __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerQueryInterface_Stub( | |
24238 | IRpcStubBuffer* This, | |
24239 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24240 | PRPC_MESSAGE pRpcMessage, | |
24241 | DWORD* pdwStubPhase); | |
24242 | void __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerRelease_Proxy( | |
24243 | IRpcStubBuffer* This, | |
24244 | void* pv); | |
24245 | void __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerRelease_Stub( | |
24246 | IRpcStubBuffer* This, | |
24247 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24248 | PRPC_MESSAGE pRpcMessage, | |
24249 | DWORD* pdwStubPhase); | |
24250 | ||
24251 | ||
24252 | ||
24253 | ||
24254 | ||
24255 | typedef struct IPSFactoryBuffer IPSFactoryBuffer; | |
24256 | ||
24257 | ||
24258 | typedef IPSFactoryBuffer *LPPSFACTORYBUFFER; | |
24259 | ||
24260 | ||
24261 | ||
24262 | ||
24263 | ||
24264 | ||
24265 | extern const GUID IID_IPSFactoryBuffer __attribute__((visibility ("hidden"))); | |
24266 | # 7350 "../../../include/objidl.h" | |
24267 | typedef struct IPSFactoryBufferVtbl { | |
24268 | ||
24269 | ||
24270 | ||
24271 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24272 | IPSFactoryBuffer* This, | |
24273 | const IID* const riid, | |
24274 | void** ppvObject); | |
24275 | ||
24276 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24277 | IPSFactoryBuffer* This); | |
24278 | ||
24279 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24280 | IPSFactoryBuffer* This); | |
24281 | ||
24282 | ||
24283 | HRESULT (__attribute__((__stdcall__)) *CreateProxy)( | |
24284 | IPSFactoryBuffer* This, | |
24285 | IUnknown* pUnkOuter, | |
24286 | const IID* const riid, | |
24287 | IRpcProxyBuffer** ppProxy, | |
24288 | void** ppv); | |
24289 | ||
24290 | HRESULT (__attribute__((__stdcall__)) *CreateStub)( | |
24291 | IPSFactoryBuffer* This, | |
24292 | const IID* const riid, | |
24293 | IUnknown* pUnkServer, | |
24294 | IRpcStubBuffer** ppStub); | |
24295 | ||
24296 | ||
24297 | } IPSFactoryBufferVtbl; | |
24298 | struct IPSFactoryBuffer { | |
24299 | const IPSFactoryBufferVtbl* lpVtbl; | |
24300 | }; | |
24301 | # 7397 "../../../include/objidl.h" | |
24302 | HRESULT __attribute__((__stdcall__)) IPSFactoryBuffer_CreateProxy_Proxy( | |
24303 | IPSFactoryBuffer* This, | |
24304 | IUnknown* pUnkOuter, | |
24305 | const IID* const riid, | |
24306 | IRpcProxyBuffer** ppProxy, | |
24307 | void** ppv); | |
24308 | void __attribute__((__stdcall__)) IPSFactoryBuffer_CreateProxy_Stub( | |
24309 | IRpcStubBuffer* This, | |
24310 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24311 | PRPC_MESSAGE pRpcMessage, | |
24312 | DWORD* pdwStubPhase); | |
24313 | HRESULT __attribute__((__stdcall__)) IPSFactoryBuffer_CreateStub_Proxy( | |
24314 | IPSFactoryBuffer* This, | |
24315 | const IID* const riid, | |
24316 | IUnknown* pUnkServer, | |
24317 | IRpcStubBuffer** ppStub); | |
24318 | void __attribute__((__stdcall__)) IPSFactoryBuffer_CreateStub_Stub( | |
24319 | IRpcStubBuffer* This, | |
24320 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24321 | PRPC_MESSAGE pRpcMessage, | |
24322 | DWORD* pdwStubPhase); | |
24323 | ||
24324 | ||
24325 | ||
24326 | ||
24327 | ||
24328 | typedef struct IChannelHook IChannelHook; | |
24329 | ||
24330 | ||
24331 | typedef IChannelHook *LPCHANNELHOOK; | |
24332 | typedef struct SChannelHookCallInfo { | |
24333 | IID iid; | |
24334 | DWORD cbSize; | |
24335 | GUID uCausality; | |
24336 | DWORD dwServerPid; | |
24337 | DWORD iMethod; | |
24338 | void *pObject; | |
24339 | } SChannelHookCallInfo; | |
24340 | ||
24341 | ||
24342 | ||
24343 | ||
24344 | ||
24345 | ||
24346 | extern const GUID IID_IChannelHook __attribute__((visibility ("hidden"))); | |
24347 | # 7486 "../../../include/objidl.h" | |
24348 | typedef struct IChannelHookVtbl { | |
24349 | ||
24350 | ||
24351 | ||
24352 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24353 | IChannelHook* This, | |
24354 | const IID* const riid, | |
24355 | void** ppvObject); | |
24356 | ||
24357 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24358 | IChannelHook* This); | |
24359 | ||
24360 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24361 | IChannelHook* This); | |
24362 | ||
24363 | ||
24364 | void (__attribute__((__stdcall__)) *ClientGetSize)( | |
24365 | IChannelHook* This, | |
24366 | const GUID* const uExtent, | |
24367 | const IID* const riid, | |
24368 | ULONG* pDataSize); | |
24369 | ||
24370 | void (__attribute__((__stdcall__)) *ClientFillBuffer)( | |
24371 | IChannelHook* This, | |
24372 | const GUID* const uExtent, | |
24373 | const IID* const riid, | |
24374 | ULONG* pDataSize, | |
24375 | void* pDataBuffer); | |
24376 | ||
24377 | void (__attribute__((__stdcall__)) *ClientNotify)( | |
24378 | IChannelHook* This, | |
24379 | const GUID* const uExtent, | |
24380 | const IID* const riid, | |
24381 | ULONG cbDataSize, | |
24382 | void* pDataBuffer, | |
24383 | DWORD lDataRep, | |
24384 | HRESULT hrFault); | |
24385 | ||
24386 | void (__attribute__((__stdcall__)) *ServerNotify)( | |
24387 | IChannelHook* This, | |
24388 | const GUID* const uExtent, | |
24389 | const IID* const riid, | |
24390 | ULONG cbDataSize, | |
24391 | void* pDataBuffer, | |
24392 | DWORD lDataRep); | |
24393 | ||
24394 | void (__attribute__((__stdcall__)) *ServerGetSize)( | |
24395 | IChannelHook* This, | |
24396 | const GUID* const uExtent, | |
24397 | const IID* const riid, | |
24398 | HRESULT hrFault, | |
24399 | ULONG* pDataSize); | |
24400 | ||
24401 | void (__attribute__((__stdcall__)) *ServerFillBuffer)( | |
24402 | IChannelHook* This, | |
24403 | const GUID* const uExtent, | |
24404 | const IID* const riid, | |
24405 | ULONG* pDataSize, | |
24406 | void* pDataBuffer, | |
24407 | HRESULT hrFault); | |
24408 | ||
24409 | ||
24410 | } IChannelHookVtbl; | |
24411 | struct IChannelHook { | |
24412 | const IChannelHookVtbl* lpVtbl; | |
24413 | }; | |
24414 | # 7569 "../../../include/objidl.h" | |
24415 | void __attribute__((__stdcall__)) IChannelHook_ClientGetSize_Proxy( | |
24416 | IChannelHook* This, | |
24417 | const GUID* const uExtent, | |
24418 | const IID* const riid, | |
24419 | ULONG* pDataSize); | |
24420 | void __attribute__((__stdcall__)) IChannelHook_ClientGetSize_Stub( | |
24421 | IRpcStubBuffer* This, | |
24422 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24423 | PRPC_MESSAGE pRpcMessage, | |
24424 | DWORD* pdwStubPhase); | |
24425 | void __attribute__((__stdcall__)) IChannelHook_ClientFillBuffer_Proxy( | |
24426 | IChannelHook* This, | |
24427 | const GUID* const uExtent, | |
24428 | const IID* const riid, | |
24429 | ULONG* pDataSize, | |
24430 | void* pDataBuffer); | |
24431 | void __attribute__((__stdcall__)) IChannelHook_ClientFillBuffer_Stub( | |
24432 | IRpcStubBuffer* This, | |
24433 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24434 | PRPC_MESSAGE pRpcMessage, | |
24435 | DWORD* pdwStubPhase); | |
24436 | void __attribute__((__stdcall__)) IChannelHook_ClientNotify_Proxy( | |
24437 | IChannelHook* This, | |
24438 | const GUID* const uExtent, | |
24439 | const IID* const riid, | |
24440 | ULONG cbDataSize, | |
24441 | void* pDataBuffer, | |
24442 | DWORD lDataRep, | |
24443 | HRESULT hrFault); | |
24444 | void __attribute__((__stdcall__)) IChannelHook_ClientNotify_Stub( | |
24445 | IRpcStubBuffer* This, | |
24446 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24447 | PRPC_MESSAGE pRpcMessage, | |
24448 | DWORD* pdwStubPhase); | |
24449 | void __attribute__((__stdcall__)) IChannelHook_ServerNotify_Proxy( | |
24450 | IChannelHook* This, | |
24451 | const GUID* const uExtent, | |
24452 | const IID* const riid, | |
24453 | ULONG cbDataSize, | |
24454 | void* pDataBuffer, | |
24455 | DWORD lDataRep); | |
24456 | void __attribute__((__stdcall__)) IChannelHook_ServerNotify_Stub( | |
24457 | IRpcStubBuffer* This, | |
24458 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24459 | PRPC_MESSAGE pRpcMessage, | |
24460 | DWORD* pdwStubPhase); | |
24461 | void __attribute__((__stdcall__)) IChannelHook_ServerGetSize_Proxy( | |
24462 | IChannelHook* This, | |
24463 | const GUID* const uExtent, | |
24464 | const IID* const riid, | |
24465 | HRESULT hrFault, | |
24466 | ULONG* pDataSize); | |
24467 | void __attribute__((__stdcall__)) IChannelHook_ServerGetSize_Stub( | |
24468 | IRpcStubBuffer* This, | |
24469 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24470 | PRPC_MESSAGE pRpcMessage, | |
24471 | DWORD* pdwStubPhase); | |
24472 | void __attribute__((__stdcall__)) IChannelHook_ServerFillBuffer_Proxy( | |
24473 | IChannelHook* This, | |
24474 | const GUID* const uExtent, | |
24475 | const IID* const riid, | |
24476 | ULONG* pDataSize, | |
24477 | void* pDataBuffer, | |
24478 | HRESULT hrFault); | |
24479 | void __attribute__((__stdcall__)) IChannelHook_ServerFillBuffer_Stub( | |
24480 | IRpcStubBuffer* This, | |
24481 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24482 | PRPC_MESSAGE pRpcMessage, | |
24483 | DWORD* pdwStubPhase); | |
24484 | ||
24485 | ||
24486 | ||
24487 | extern const FMTID FMTID_SummaryInformation; | |
24488 | ||
24489 | extern const FMTID FMTID_DocSummaryInformation; | |
24490 | ||
24491 | extern const FMTID FMTID_UserDefinedProperties; | |
24492 | ||
24493 | ||
24494 | ||
24495 | typedef struct IClientSecurity IClientSecurity; | |
24496 | ||
24497 | ||
24498 | typedef struct tagSOLE_AUTHENTICATION_SERVICE { | |
24499 | DWORD dwAuthnSvc; | |
24500 | DWORD dwAuthzSvc; | |
24501 | OLECHAR *pPrincipalName; | |
24502 | HRESULT hr; | |
24503 | } SOLE_AUTHENTICATION_SERVICE; | |
24504 | typedef SOLE_AUTHENTICATION_SERVICE *PSOLE_AUTHENTICATION_SERVICE; | |
24505 | typedef enum tagEOLE_AUTHENTICATION_CAPABILITIES { | |
24506 | EOAC_NONE = 0x0, | |
24507 | EOAC_MUTUAL_AUTH = 0x1, | |
24508 | EOAC_CLOAKING = 0x10, | |
24509 | EOAC_SECURE_REFS = 0x2, | |
24510 | EOAC_ACCESS_CONTROL = 0x4, | |
24511 | EOAC_APPID = 0x8 | |
24512 | } EOLE_AUTHENTICATION_CAPABILITIES; | |
24513 | ||
24514 | ||
24515 | ||
24516 | ||
24517 | ||
24518 | ||
24519 | extern const GUID IID_IClientSecurity __attribute__((visibility ("hidden"))); | |
24520 | # 7703 "../../../include/objidl.h" | |
24521 | typedef struct IClientSecurityVtbl { | |
24522 | ||
24523 | ||
24524 | ||
24525 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24526 | IClientSecurity* This, | |
24527 | const IID* const riid, | |
24528 | void** ppvObject); | |
24529 | ||
24530 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24531 | IClientSecurity* This); | |
24532 | ||
24533 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24534 | IClientSecurity* This); | |
24535 | ||
24536 | ||
24537 | HRESULT (__attribute__((__stdcall__)) *QueryBlanket)( | |
24538 | IClientSecurity* This, | |
24539 | IUnknown* pProxy, | |
24540 | DWORD* pAuthnSvc, | |
24541 | DWORD* pAuthzSvc, | |
24542 | OLECHAR** pServerPrincName, | |
24543 | DWORD* pAuthnLevel, | |
24544 | DWORD* pImpLevel, | |
24545 | void** pAuthInfo, | |
24546 | DWORD* pCapabilites); | |
24547 | ||
24548 | HRESULT (__attribute__((__stdcall__)) *SetBlanket)( | |
24549 | IClientSecurity* This, | |
24550 | IUnknown* pProxy, | |
24551 | DWORD AuthnSvc, | |
24552 | DWORD AuthzSvc, | |
24553 | OLECHAR* pServerPrincName, | |
24554 | DWORD AuthnLevel, | |
24555 | DWORD ImpLevel, | |
24556 | void* pAuthInfo, | |
24557 | DWORD Capabilities); | |
24558 | ||
24559 | HRESULT (__attribute__((__stdcall__)) *CopyProxy)( | |
24560 | IClientSecurity* This, | |
24561 | IUnknown* pProxy, | |
24562 | IUnknown** ppCopy); | |
24563 | ||
24564 | ||
24565 | } IClientSecurityVtbl; | |
24566 | struct IClientSecurity { | |
24567 | const IClientSecurityVtbl* lpVtbl; | |
24568 | }; | |
24569 | # 7765 "../../../include/objidl.h" | |
24570 | HRESULT __attribute__((__stdcall__)) IClientSecurity_QueryBlanket_Proxy( | |
24571 | IClientSecurity* This, | |
24572 | IUnknown* pProxy, | |
24573 | DWORD* pAuthnSvc, | |
24574 | DWORD* pAuthzSvc, | |
24575 | OLECHAR** pServerPrincName, | |
24576 | DWORD* pAuthnLevel, | |
24577 | DWORD* pImpLevel, | |
24578 | void** pAuthInfo, | |
24579 | DWORD* pCapabilites); | |
24580 | void __attribute__((__stdcall__)) IClientSecurity_QueryBlanket_Stub( | |
24581 | IRpcStubBuffer* This, | |
24582 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24583 | PRPC_MESSAGE pRpcMessage, | |
24584 | DWORD* pdwStubPhase); | |
24585 | HRESULT __attribute__((__stdcall__)) IClientSecurity_SetBlanket_Proxy( | |
24586 | IClientSecurity* This, | |
24587 | IUnknown* pProxy, | |
24588 | DWORD AuthnSvc, | |
24589 | DWORD AuthzSvc, | |
24590 | OLECHAR* pServerPrincName, | |
24591 | DWORD AuthnLevel, | |
24592 | DWORD ImpLevel, | |
24593 | void* pAuthInfo, | |
24594 | DWORD Capabilities); | |
24595 | void __attribute__((__stdcall__)) IClientSecurity_SetBlanket_Stub( | |
24596 | IRpcStubBuffer* This, | |
24597 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24598 | PRPC_MESSAGE pRpcMessage, | |
24599 | DWORD* pdwStubPhase); | |
24600 | HRESULT __attribute__((__stdcall__)) IClientSecurity_CopyProxy_Proxy( | |
24601 | IClientSecurity* This, | |
24602 | IUnknown* pProxy, | |
24603 | IUnknown** ppCopy); | |
24604 | void __attribute__((__stdcall__)) IClientSecurity_CopyProxy_Stub( | |
24605 | IRpcStubBuffer* This, | |
24606 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24607 | PRPC_MESSAGE pRpcMessage, | |
24608 | DWORD* pdwStubPhase); | |
24609 | ||
24610 | ||
24611 | ||
24612 | ||
24613 | ||
24614 | typedef struct IServerSecurity IServerSecurity; | |
24615 | # 7818 "../../../include/objidl.h" | |
24616 | extern const GUID IID_IServerSecurity __attribute__((visibility ("hidden"))); | |
24617 | # 7842 "../../../include/objidl.h" | |
24618 | typedef struct IServerSecurityVtbl { | |
24619 | ||
24620 | ||
24621 | ||
24622 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24623 | IServerSecurity* This, | |
24624 | const IID* const riid, | |
24625 | void** ppvObject); | |
24626 | ||
24627 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24628 | IServerSecurity* This); | |
24629 | ||
24630 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24631 | IServerSecurity* This); | |
24632 | ||
24633 | ||
24634 | HRESULT (__attribute__((__stdcall__)) *QueryBlanket)( | |
24635 | IServerSecurity* This, | |
24636 | DWORD* pAuthnSvc, | |
24637 | DWORD* pAuthzSvc, | |
24638 | OLECHAR** pServerPrincName, | |
24639 | DWORD* pAuthnLevel, | |
24640 | DWORD* pImpLevel, | |
24641 | void** pPrivs, | |
24642 | DWORD* pCapabilities); | |
24643 | ||
24644 | HRESULT (__attribute__((__stdcall__)) *ImpersonateClient)( | |
24645 | IServerSecurity* This); | |
24646 | ||
24647 | HRESULT (__attribute__((__stdcall__)) *RevertToSelf)( | |
24648 | IServerSecurity* This); | |
24649 | ||
24650 | BOOL (__attribute__((__stdcall__)) *IsImpersonating)( | |
24651 | IServerSecurity* This); | |
24652 | ||
24653 | ||
24654 | } IServerSecurityVtbl; | |
24655 | struct IServerSecurity { | |
24656 | const IServerSecurityVtbl* lpVtbl; | |
24657 | }; | |
24658 | # 7897 "../../../include/objidl.h" | |
24659 | HRESULT __attribute__((__stdcall__)) IServerSecurity_QueryBlanket_Proxy( | |
24660 | IServerSecurity* This, | |
24661 | DWORD* pAuthnSvc, | |
24662 | DWORD* pAuthzSvc, | |
24663 | OLECHAR** pServerPrincName, | |
24664 | DWORD* pAuthnLevel, | |
24665 | DWORD* pImpLevel, | |
24666 | void** pPrivs, | |
24667 | DWORD* pCapabilities); | |
24668 | void __attribute__((__stdcall__)) IServerSecurity_QueryBlanket_Stub( | |
24669 | IRpcStubBuffer* This, | |
24670 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24671 | PRPC_MESSAGE pRpcMessage, | |
24672 | DWORD* pdwStubPhase); | |
24673 | HRESULT __attribute__((__stdcall__)) IServerSecurity_ImpersonateClient_Proxy( | |
24674 | IServerSecurity* This); | |
24675 | void __attribute__((__stdcall__)) IServerSecurity_ImpersonateClient_Stub( | |
24676 | IRpcStubBuffer* This, | |
24677 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24678 | PRPC_MESSAGE pRpcMessage, | |
24679 | DWORD* pdwStubPhase); | |
24680 | HRESULT __attribute__((__stdcall__)) IServerSecurity_RevertToSelf_Proxy( | |
24681 | IServerSecurity* This); | |
24682 | void __attribute__((__stdcall__)) IServerSecurity_RevertToSelf_Stub( | |
24683 | IRpcStubBuffer* This, | |
24684 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24685 | PRPC_MESSAGE pRpcMessage, | |
24686 | DWORD* pdwStubPhase); | |
24687 | BOOL __attribute__((__stdcall__)) IServerSecurity_IsImpersonating_Proxy( | |
24688 | IServerSecurity* This); | |
24689 | void __attribute__((__stdcall__)) IServerSecurity_IsImpersonating_Stub( | |
24690 | IRpcStubBuffer* This, | |
24691 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24692 | PRPC_MESSAGE pRpcMessage, | |
24693 | DWORD* pdwStubPhase); | |
24694 | ||
24695 | ||
24696 | ||
24697 | ||
24698 | ||
24699 | typedef struct IAsyncSetup IAsyncSetup; | |
24700 | # 7946 "../../../include/objidl.h" | |
24701 | extern const GUID IID_IAsyncSetup __attribute__((visibility ("hidden"))); | |
24702 | # 7959 "../../../include/objidl.h" | |
24703 | typedef struct IAsyncSetupVtbl { | |
24704 | ||
24705 | ||
24706 | ||
24707 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24708 | IAsyncSetup* This, | |
24709 | const IID* const riid, | |
24710 | void** ppvObject); | |
24711 | ||
24712 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24713 | IAsyncSetup* This); | |
24714 | ||
24715 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24716 | IAsyncSetup* This); | |
24717 | ||
24718 | ||
24719 | HRESULT (__attribute__((__stdcall__)) *GetAsyncManager)( | |
24720 | IAsyncSetup* This, | |
24721 | const IID* const riid, | |
24722 | IUnknown* pOuter, | |
24723 | DWORD dwFlags, | |
24724 | IUnknown** ppInner, | |
24725 | IAsyncManager** ppAsyncMgr); | |
24726 | ||
24727 | ||
24728 | } IAsyncSetupVtbl; | |
24729 | struct IAsyncSetup { | |
24730 | const IAsyncSetupVtbl* lpVtbl; | |
24731 | }; | |
24732 | # 8000 "../../../include/objidl.h" | |
24733 | HRESULT __attribute__((__stdcall__)) IAsyncSetup_GetAsyncManager_Proxy( | |
24734 | IAsyncSetup* This, | |
24735 | const IID* const riid, | |
24736 | IUnknown* pOuter, | |
24737 | DWORD dwFlags, | |
24738 | IUnknown** ppInner, | |
24739 | IAsyncManager** ppAsyncMgr); | |
24740 | void __attribute__((__stdcall__)) IAsyncSetup_GetAsyncManager_Stub( | |
24741 | IRpcStubBuffer* This, | |
24742 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24743 | PRPC_MESSAGE pRpcMessage, | |
24744 | DWORD* pdwStubPhase); | |
24745 | ||
24746 | ||
24747 | ||
24748 | ||
24749 | ||
24750 | typedef struct IDirectWriterLock IDirectWriterLock; | |
24751 | # 8026 "../../../include/objidl.h" | |
24752 | extern const GUID IID_IDirectWriterLock __attribute__((visibility ("hidden"))); | |
24753 | # 8041 "../../../include/objidl.h" | |
24754 | typedef struct IDirectWriterLockVtbl { | |
24755 | ||
24756 | ||
24757 | ||
24758 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24759 | IDirectWriterLock* This, | |
24760 | const IID* const riid, | |
24761 | void** ppvObject); | |
24762 | ||
24763 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24764 | IDirectWriterLock* This); | |
24765 | ||
24766 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24767 | IDirectWriterLock* This); | |
24768 | ||
24769 | ||
24770 | HRESULT (__attribute__((__stdcall__)) *WaitForWriteAccess)( | |
24771 | IDirectWriterLock* This, | |
24772 | DWORD dwTimeout); | |
24773 | ||
24774 | HRESULT (__attribute__((__stdcall__)) *ReleaseWriteAccess)( | |
24775 | IDirectWriterLock* This); | |
24776 | ||
24777 | HRESULT (__attribute__((__stdcall__)) *HaveWriteAccess)( | |
24778 | IDirectWriterLock* This); | |
24779 | ||
24780 | ||
24781 | } IDirectWriterLockVtbl; | |
24782 | struct IDirectWriterLock { | |
24783 | const IDirectWriterLockVtbl* lpVtbl; | |
24784 | }; | |
24785 | # 8086 "../../../include/objidl.h" | |
24786 | HRESULT __attribute__((__stdcall__)) IDirectWriterLock_WaitForWriteAccess_Proxy( | |
24787 | IDirectWriterLock* This, | |
24788 | DWORD dwTimeout); | |
24789 | void __attribute__((__stdcall__)) IDirectWriterLock_WaitForWriteAccess_Stub( | |
24790 | IRpcStubBuffer* This, | |
24791 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24792 | PRPC_MESSAGE pRpcMessage, | |
24793 | DWORD* pdwStubPhase); | |
24794 | HRESULT __attribute__((__stdcall__)) IDirectWriterLock_ReleaseWriteAccess_Proxy( | |
24795 | IDirectWriterLock* This); | |
24796 | void __attribute__((__stdcall__)) IDirectWriterLock_ReleaseWriteAccess_Stub( | |
24797 | IRpcStubBuffer* This, | |
24798 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24799 | PRPC_MESSAGE pRpcMessage, | |
24800 | DWORD* pdwStubPhase); | |
24801 | HRESULT __attribute__((__stdcall__)) IDirectWriterLock_HaveWriteAccess_Proxy( | |
24802 | IDirectWriterLock* This); | |
24803 | void __attribute__((__stdcall__)) IDirectWriterLock_HaveWriteAccess_Stub( | |
24804 | IRpcStubBuffer* This, | |
24805 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24806 | PRPC_MESSAGE pRpcMessage, | |
24807 | DWORD* pdwStubPhase); | |
24808 | # 8117 "../../../include/objidl.h" | |
24809 | extern const GUID IID_ISynchronize __attribute__((visibility ("hidden"))); | |
24810 | # 8133 "../../../include/objidl.h" | |
24811 | typedef struct ISynchronizeVtbl { | |
24812 | ||
24813 | ||
24814 | ||
24815 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24816 | ISynchronize* This, | |
24817 | const IID* const riid, | |
24818 | void** ppvObject); | |
24819 | ||
24820 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24821 | ISynchronize* This); | |
24822 | ||
24823 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24824 | ISynchronize* This); | |
24825 | ||
24826 | ||
24827 | HRESULT (__attribute__((__stdcall__)) *Wait)( | |
24828 | ISynchronize* This, | |
24829 | DWORD dwFlags, | |
24830 | DWORD dwMilliseconds); | |
24831 | ||
24832 | HRESULT (__attribute__((__stdcall__)) *Signal)( | |
24833 | ISynchronize* This); | |
24834 | ||
24835 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
24836 | ISynchronize* This); | |
24837 | ||
24838 | ||
24839 | } ISynchronizeVtbl; | |
24840 | struct ISynchronize { | |
24841 | const ISynchronizeVtbl* lpVtbl; | |
24842 | }; | |
24843 | # 8179 "../../../include/objidl.h" | |
24844 | HRESULT __attribute__((__stdcall__)) ISynchronize_Wait_Proxy( | |
24845 | ISynchronize* This, | |
24846 | DWORD dwFlags, | |
24847 | DWORD dwMilliseconds); | |
24848 | void __attribute__((__stdcall__)) ISynchronize_Wait_Stub( | |
24849 | IRpcStubBuffer* This, | |
24850 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24851 | PRPC_MESSAGE pRpcMessage, | |
24852 | DWORD* pdwStubPhase); | |
24853 | HRESULT __attribute__((__stdcall__)) ISynchronize_Signal_Proxy( | |
24854 | ISynchronize* This); | |
24855 | void __attribute__((__stdcall__)) ISynchronize_Signal_Stub( | |
24856 | IRpcStubBuffer* This, | |
24857 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24858 | PRPC_MESSAGE pRpcMessage, | |
24859 | DWORD* pdwStubPhase); | |
24860 | HRESULT __attribute__((__stdcall__)) ISynchronize_Reset_Proxy( | |
24861 | ISynchronize* This); | |
24862 | void __attribute__((__stdcall__)) ISynchronize_Reset_Stub( | |
24863 | IRpcStubBuffer* This, | |
24864 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24865 | PRPC_MESSAGE pRpcMessage, | |
24866 | DWORD* pdwStubPhase); | |
24867 | ||
24868 | ||
24869 | ||
24870 | ||
24871 | ||
24872 | typedef struct ISynchronizeHandle ISynchronizeHandle; | |
24873 | # 8216 "../../../include/objidl.h" | |
24874 | extern const GUID IID_ISynchronizeHandle __attribute__((visibility ("hidden"))); | |
24875 | # 8225 "../../../include/objidl.h" | |
24876 | typedef struct ISynchronizeHandleVtbl { | |
24877 | ||
24878 | ||
24879 | ||
24880 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24881 | ISynchronizeHandle* This, | |
24882 | const IID* const riid, | |
24883 | void** ppvObject); | |
24884 | ||
24885 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24886 | ISynchronizeHandle* This); | |
24887 | ||
24888 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24889 | ISynchronizeHandle* This); | |
24890 | ||
24891 | ||
24892 | HRESULT (__attribute__((__stdcall__)) *GetHandle)( | |
24893 | ISynchronizeHandle* This, | |
24894 | HANDLE* ph); | |
24895 | ||
24896 | ||
24897 | } ISynchronizeHandleVtbl; | |
24898 | struct ISynchronizeHandle { | |
24899 | const ISynchronizeHandleVtbl* lpVtbl; | |
24900 | }; | |
24901 | # 8262 "../../../include/objidl.h" | |
24902 | HRESULT __attribute__((__stdcall__)) ISynchronizeHandle_GetHandle_Proxy( | |
24903 | ISynchronizeHandle* This, | |
24904 | HANDLE* ph); | |
24905 | void __attribute__((__stdcall__)) ISynchronizeHandle_GetHandle_Stub( | |
24906 | IRpcStubBuffer* This, | |
24907 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24908 | PRPC_MESSAGE pRpcMessage, | |
24909 | DWORD* pdwStubPhase); | |
24910 | ||
24911 | ||
24912 | ||
24913 | ||
24914 | ||
24915 | typedef struct ISynchronizeEvent ISynchronizeEvent; | |
24916 | # 8284 "../../../include/objidl.h" | |
24917 | extern const GUID IID_ISynchronizeEvent __attribute__((visibility ("hidden"))); | |
24918 | # 8293 "../../../include/objidl.h" | |
24919 | typedef struct ISynchronizeEventVtbl { | |
24920 | ||
24921 | ||
24922 | ||
24923 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24924 | ISynchronizeEvent* This, | |
24925 | const IID* const riid, | |
24926 | void** ppvObject); | |
24927 | ||
24928 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24929 | ISynchronizeEvent* This); | |
24930 | ||
24931 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24932 | ISynchronizeEvent* This); | |
24933 | ||
24934 | ||
24935 | HRESULT (__attribute__((__stdcall__)) *GetHandle)( | |
24936 | ISynchronizeEvent* This, | |
24937 | HANDLE* ph); | |
24938 | ||
24939 | ||
24940 | HRESULT (__attribute__((__stdcall__)) *SetEventHandle)( | |
24941 | ISynchronizeEvent* This, | |
24942 | HANDLE* ph); | |
24943 | ||
24944 | ||
24945 | } ISynchronizeEventVtbl; | |
24946 | struct ISynchronizeEvent { | |
24947 | const ISynchronizeEventVtbl* lpVtbl; | |
24948 | }; | |
24949 | # 8337 "../../../include/objidl.h" | |
24950 | HRESULT __attribute__((__stdcall__)) ISynchronizeEvent_SetEventHandle_Proxy( | |
24951 | ISynchronizeEvent* This, | |
24952 | HANDLE* ph); | |
24953 | void __attribute__((__stdcall__)) ISynchronizeEvent_SetEventHandle_Stub( | |
24954 | IRpcStubBuffer* This, | |
24955 | IRpcChannelBuffer* pRpcChannelBuffer, | |
24956 | PRPC_MESSAGE pRpcMessage, | |
24957 | DWORD* pdwStubPhase); | |
24958 | ||
24959 | ||
24960 | ||
24961 | ||
24962 | ||
24963 | typedef struct ISynchronizeContainer ISynchronizeContainer; | |
24964 | # 8359 "../../../include/objidl.h" | |
24965 | extern const GUID IID_ISynchronizeContainer __attribute__((visibility ("hidden"))); | |
24966 | # 8373 "../../../include/objidl.h" | |
24967 | typedef struct ISynchronizeContainerVtbl { | |
24968 | ||
24969 | ||
24970 | ||
24971 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
24972 | ISynchronizeContainer* This, | |
24973 | const IID* const riid, | |
24974 | void** ppvObject); | |
24975 | ||
24976 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
24977 | ISynchronizeContainer* This); | |
24978 | ||
24979 | ULONG (__attribute__((__stdcall__)) *Release)( | |
24980 | ISynchronizeContainer* This); | |
24981 | ||
24982 | ||
24983 | HRESULT (__attribute__((__stdcall__)) *AddSynchronize)( | |
24984 | ISynchronizeContainer* This, | |
24985 | ISynchronize* pSync); | |
24986 | ||
24987 | HRESULT (__attribute__((__stdcall__)) *WaitMultiple)( | |
24988 | ISynchronizeContainer* This, | |
24989 | DWORD dwFlags, | |
24990 | DWORD dwTimeOut, | |
24991 | ISynchronize** ppSync); | |
24992 | ||
24993 | ||
24994 | } ISynchronizeContainerVtbl; | |
24995 | struct ISynchronizeContainer { | |
24996 | const ISynchronizeContainerVtbl* lpVtbl; | |
24997 | }; | |
24998 | # 8417 "../../../include/objidl.h" | |
24999 | HRESULT __attribute__((__stdcall__)) ISynchronizeContainer_AddSynchronize_Proxy( | |
25000 | ISynchronizeContainer* This, | |
25001 | ISynchronize* pSync); | |
25002 | void __attribute__((__stdcall__)) ISynchronizeContainer_AddSynchronize_Stub( | |
25003 | IRpcStubBuffer* This, | |
25004 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25005 | PRPC_MESSAGE pRpcMessage, | |
25006 | DWORD* pdwStubPhase); | |
25007 | HRESULT __attribute__((__stdcall__)) ISynchronizeContainer_WaitMultiple_Proxy( | |
25008 | ISynchronizeContainer* This, | |
25009 | DWORD dwFlags, | |
25010 | DWORD dwTimeOut, | |
25011 | ISynchronize** ppSync); | |
25012 | void __attribute__((__stdcall__)) ISynchronizeContainer_WaitMultiple_Stub( | |
25013 | IRpcStubBuffer* This, | |
25014 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25015 | PRPC_MESSAGE pRpcMessage, | |
25016 | DWORD* pdwStubPhase); | |
25017 | ||
25018 | ||
25019 | ||
25020 | ||
25021 | ||
25022 | typedef struct ISynchronizeMutex ISynchronizeMutex; | |
25023 | # 8449 "../../../include/objidl.h" | |
25024 | extern const GUID IID_ISynchronizeMutex __attribute__((visibility ("hidden"))); | |
25025 | # 8458 "../../../include/objidl.h" | |
25026 | typedef struct ISynchronizeMutexVtbl { | |
25027 | ||
25028 | ||
25029 | ||
25030 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25031 | ISynchronizeMutex* This, | |
25032 | const IID* const riid, | |
25033 | void** ppvObject); | |
25034 | ||
25035 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25036 | ISynchronizeMutex* This); | |
25037 | ||
25038 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25039 | ISynchronizeMutex* This); | |
25040 | ||
25041 | ||
25042 | HRESULT (__attribute__((__stdcall__)) *Wait)( | |
25043 | ISynchronizeMutex* This, | |
25044 | DWORD dwFlags, | |
25045 | DWORD dwMilliseconds); | |
25046 | ||
25047 | HRESULT (__attribute__((__stdcall__)) *Signal)( | |
25048 | ISynchronizeMutex* This); | |
25049 | ||
25050 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
25051 | ISynchronizeMutex* This); | |
25052 | ||
25053 | ||
25054 | HRESULT (__attribute__((__stdcall__)) *ReleaseMutex)( | |
25055 | ISynchronizeMutex* This); | |
25056 | ||
25057 | ||
25058 | } ISynchronizeMutexVtbl; | |
25059 | struct ISynchronizeMutex { | |
25060 | const ISynchronizeMutexVtbl* lpVtbl; | |
25061 | }; | |
25062 | # 8510 "../../../include/objidl.h" | |
25063 | HRESULT __attribute__((__stdcall__)) ISynchronizeMutex_ReleaseMutex_Proxy( | |
25064 | ISynchronizeMutex* This); | |
25065 | void __attribute__((__stdcall__)) ISynchronizeMutex_ReleaseMutex_Stub( | |
25066 | IRpcStubBuffer* This, | |
25067 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25068 | PRPC_MESSAGE pRpcMessage, | |
25069 | DWORD* pdwStubPhase); | |
25070 | ||
25071 | ||
25072 | ||
25073 | ||
25074 | ||
25075 | typedef struct ICancelMethodCalls ICancelMethodCalls; | |
25076 | ||
25077 | ||
25078 | typedef ICancelMethodCalls *LPCANCELMETHODCALLS; | |
25079 | ||
25080 | ||
25081 | ||
25082 | ||
25083 | ||
25084 | ||
25085 | extern const GUID IID_ICancelMethodCalls __attribute__((visibility ("hidden"))); | |
25086 | # 8544 "../../../include/objidl.h" | |
25087 | typedef struct ICancelMethodCallsVtbl { | |
25088 | ||
25089 | ||
25090 | ||
25091 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25092 | ICancelMethodCalls* This, | |
25093 | const IID* const riid, | |
25094 | void** ppvObject); | |
25095 | ||
25096 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25097 | ICancelMethodCalls* This); | |
25098 | ||
25099 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25100 | ICancelMethodCalls* This); | |
25101 | ||
25102 | ||
25103 | HRESULT (__attribute__((__stdcall__)) *Cancel)( | |
25104 | ICancelMethodCalls* This, | |
25105 | ULONG ulSeconds); | |
25106 | ||
25107 | HRESULT (__attribute__((__stdcall__)) *TestCancel)( | |
25108 | ICancelMethodCalls* This); | |
25109 | ||
25110 | ||
25111 | } ICancelMethodCallsVtbl; | |
25112 | struct ICancelMethodCalls { | |
25113 | const ICancelMethodCallsVtbl* lpVtbl; | |
25114 | }; | |
25115 | # 8585 "../../../include/objidl.h" | |
25116 | HRESULT __attribute__((__stdcall__)) ICancelMethodCalls_Cancel_Proxy( | |
25117 | ICancelMethodCalls* This, | |
25118 | ULONG ulSeconds); | |
25119 | void __attribute__((__stdcall__)) ICancelMethodCalls_Cancel_Stub( | |
25120 | IRpcStubBuffer* This, | |
25121 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25122 | PRPC_MESSAGE pRpcMessage, | |
25123 | DWORD* pdwStubPhase); | |
25124 | HRESULT __attribute__((__stdcall__)) ICancelMethodCalls_TestCancel_Proxy( | |
25125 | ICancelMethodCalls* This); | |
25126 | void __attribute__((__stdcall__)) ICancelMethodCalls_TestCancel_Stub( | |
25127 | IRpcStubBuffer* This, | |
25128 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25129 | PRPC_MESSAGE pRpcMessage, | |
25130 | DWORD* pdwStubPhase); | |
25131 | ||
25132 | ||
25133 | ||
25134 | typedef enum tagDCOM_CALL_STATE { | |
25135 | DCOM_NONE = 0, | |
25136 | DCOM_CALL_COMPLETE = 1, | |
25137 | DCOM_CALL_CANCELED = 2 | |
25138 | } DCOM_CALL_STATE; | |
25139 | ||
25140 | ||
25141 | ||
25142 | ||
25143 | ||
25144 | ||
25145 | extern const GUID IID_IAsyncManager __attribute__((visibility ("hidden"))); | |
25146 | # 8630 "../../../include/objidl.h" | |
25147 | typedef struct IAsyncManagerVtbl { | |
25148 | ||
25149 | ||
25150 | ||
25151 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25152 | IAsyncManager* This, | |
25153 | const IID* const riid, | |
25154 | void** ppvObject); | |
25155 | ||
25156 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25157 | IAsyncManager* This); | |
25158 | ||
25159 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25160 | IAsyncManager* This); | |
25161 | ||
25162 | ||
25163 | HRESULT (__attribute__((__stdcall__)) *CompleteCall)( | |
25164 | IAsyncManager* This, | |
25165 | HRESULT Result); | |
25166 | ||
25167 | HRESULT (__attribute__((__stdcall__)) *GetCallContext)( | |
25168 | IAsyncManager* This, | |
25169 | const IID* const riid, | |
25170 | void** pInterface); | |
25171 | ||
25172 | HRESULT (__attribute__((__stdcall__)) *GetState)( | |
25173 | IAsyncManager* This, | |
25174 | ULONG* pulStateFlags); | |
25175 | ||
25176 | ||
25177 | } IAsyncManagerVtbl; | |
25178 | struct IAsyncManager { | |
25179 | const IAsyncManagerVtbl* lpVtbl; | |
25180 | }; | |
25181 | # 8678 "../../../include/objidl.h" | |
25182 | HRESULT __attribute__((__stdcall__)) IAsyncManager_CompleteCall_Proxy( | |
25183 | IAsyncManager* This, | |
25184 | HRESULT Result); | |
25185 | void __attribute__((__stdcall__)) IAsyncManager_CompleteCall_Stub( | |
25186 | IRpcStubBuffer* This, | |
25187 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25188 | PRPC_MESSAGE pRpcMessage, | |
25189 | DWORD* pdwStubPhase); | |
25190 | HRESULT __attribute__((__stdcall__)) IAsyncManager_GetCallContext_Proxy( | |
25191 | IAsyncManager* This, | |
25192 | const IID* const riid, | |
25193 | void** pInterface); | |
25194 | void __attribute__((__stdcall__)) IAsyncManager_GetCallContext_Stub( | |
25195 | IRpcStubBuffer* This, | |
25196 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25197 | PRPC_MESSAGE pRpcMessage, | |
25198 | DWORD* pdwStubPhase); | |
25199 | HRESULT __attribute__((__stdcall__)) IAsyncManager_GetState_Proxy( | |
25200 | IAsyncManager* This, | |
25201 | ULONG* pulStateFlags); | |
25202 | void __attribute__((__stdcall__)) IAsyncManager_GetState_Stub( | |
25203 | IRpcStubBuffer* This, | |
25204 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25205 | PRPC_MESSAGE pRpcMessage, | |
25206 | DWORD* pdwStubPhase); | |
25207 | ||
25208 | ||
25209 | ||
25210 | ||
25211 | ||
25212 | typedef struct ICallFactory ICallFactory; | |
25213 | # 8717 "../../../include/objidl.h" | |
25214 | extern const GUID IID_ICallFactory __attribute__((visibility ("hidden"))); | |
25215 | # 8729 "../../../include/objidl.h" | |
25216 | typedef struct ICallFactoryVtbl { | |
25217 | ||
25218 | ||
25219 | ||
25220 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25221 | ICallFactory* This, | |
25222 | const IID* const riid, | |
25223 | void** ppvObject); | |
25224 | ||
25225 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25226 | ICallFactory* This); | |
25227 | ||
25228 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25229 | ICallFactory* This); | |
25230 | ||
25231 | ||
25232 | HRESULT (__attribute__((__stdcall__)) *CreateCall)( | |
25233 | ICallFactory* This, | |
25234 | const IID* const riid, | |
25235 | IUnknown* pCtrlUnk, | |
25236 | const IID* const riid2, | |
25237 | IUnknown** ppv); | |
25238 | ||
25239 | ||
25240 | } ICallFactoryVtbl; | |
25241 | struct ICallFactory { | |
25242 | const ICallFactoryVtbl* lpVtbl; | |
25243 | }; | |
25244 | # 8769 "../../../include/objidl.h" | |
25245 | HRESULT __attribute__((__stdcall__)) ICallFactory_CreateCall_Proxy( | |
25246 | ICallFactory* This, | |
25247 | const IID* const riid, | |
25248 | IUnknown* pCtrlUnk, | |
25249 | const IID* const riid2, | |
25250 | IUnknown** ppv); | |
25251 | void __attribute__((__stdcall__)) ICallFactory_CreateCall_Stub( | |
25252 | IRpcStubBuffer* This, | |
25253 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25254 | PRPC_MESSAGE pRpcMessage, | |
25255 | DWORD* pdwStubPhase); | |
25256 | ||
25257 | ||
25258 | ||
25259 | ||
25260 | ||
25261 | typedef struct IRpcOptions IRpcOptions; | |
25262 | # 8794 "../../../include/objidl.h" | |
25263 | extern const GUID IID_IRpcOptions __attribute__((visibility ("hidden"))); | |
25264 | # 8810 "../../../include/objidl.h" | |
25265 | typedef struct IRpcOptionsVtbl { | |
25266 | ||
25267 | ||
25268 | ||
25269 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25270 | IRpcOptions* This, | |
25271 | const IID* const riid, | |
25272 | void** ppvObject); | |
25273 | ||
25274 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25275 | IRpcOptions* This); | |
25276 | ||
25277 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25278 | IRpcOptions* This); | |
25279 | ||
25280 | ||
25281 | HRESULT (__attribute__((__stdcall__)) *Set)( | |
25282 | IRpcOptions* This, | |
25283 | IUnknown* pPrx, | |
25284 | DWORD dwProperty, | |
25285 | ULONG_PTR dwValue); | |
25286 | ||
25287 | HRESULT (__attribute__((__stdcall__)) *Query)( | |
25288 | IRpcOptions* This, | |
25289 | IUnknown* pPrx, | |
25290 | DWORD dwProperty, | |
25291 | ULONG_PTR* pdwValue); | |
25292 | ||
25293 | ||
25294 | } IRpcOptionsVtbl; | |
25295 | struct IRpcOptions { | |
25296 | const IRpcOptionsVtbl* lpVtbl; | |
25297 | }; | |
25298 | # 8856 "../../../include/objidl.h" | |
25299 | HRESULT __attribute__((__stdcall__)) IRpcOptions_Set_Proxy( | |
25300 | IRpcOptions* This, | |
25301 | IUnknown* pPrx, | |
25302 | DWORD dwProperty, | |
25303 | ULONG_PTR dwValue); | |
25304 | void __attribute__((__stdcall__)) IRpcOptions_Set_Stub( | |
25305 | IRpcStubBuffer* This, | |
25306 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25307 | PRPC_MESSAGE pRpcMessage, | |
25308 | DWORD* pdwStubPhase); | |
25309 | HRESULT __attribute__((__stdcall__)) IRpcOptions_Query_Proxy( | |
25310 | IRpcOptions* This, | |
25311 | IUnknown* pPrx, | |
25312 | DWORD dwProperty, | |
25313 | ULONG_PTR* pdwValue); | |
25314 | void __attribute__((__stdcall__)) IRpcOptions_Query_Stub( | |
25315 | IRpcStubBuffer* This, | |
25316 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25317 | PRPC_MESSAGE pRpcMessage, | |
25318 | DWORD* pdwStubPhase); | |
25319 | ||
25320 | ||
25321 | ||
25322 | enum { | |
25323 | COMBND_RPCTIMEOUT = 1, | |
25324 | COMBND_SERVER_LOCALITY = 2 | |
25325 | }; | |
25326 | ||
25327 | enum { | |
25328 | SERVER_LOCALITY_PROCESS_LOCAL = 0, | |
25329 | SERVER_LOCALITY_MACHINE_LOCAL = 1, | |
25330 | SERVER_LOCALITY_REMOTE = 2 | |
25331 | }; | |
25332 | ||
25333 | ||
25334 | ||
25335 | typedef struct IRpcHelper IRpcHelper; | |
25336 | # 8901 "../../../include/objidl.h" | |
25337 | extern const GUID IID_IRpcHelper __attribute__((visibility ("hidden"))); | |
25338 | # 8914 "../../../include/objidl.h" | |
25339 | typedef struct IRpcHelperVtbl { | |
25340 | ||
25341 | ||
25342 | ||
25343 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25344 | IRpcHelper* This, | |
25345 | const IID* const riid, | |
25346 | void** ppvObject); | |
25347 | ||
25348 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25349 | IRpcHelper* This); | |
25350 | ||
25351 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25352 | IRpcHelper* This); | |
25353 | ||
25354 | ||
25355 | HRESULT (__attribute__((__stdcall__)) *GetDCOMProtocolVersion)( | |
25356 | IRpcHelper* This, | |
25357 | DWORD* pComVersion); | |
25358 | ||
25359 | HRESULT (__attribute__((__stdcall__)) *GetIIDFromOBJREF)( | |
25360 | IRpcHelper* This, | |
25361 | void* pObjRef, | |
25362 | IID** piid); | |
25363 | ||
25364 | ||
25365 | } IRpcHelperVtbl; | |
25366 | struct IRpcHelper { | |
25367 | const IRpcHelperVtbl* lpVtbl; | |
25368 | }; | |
25369 | # 8957 "../../../include/objidl.h" | |
25370 | HRESULT __attribute__((__stdcall__)) IRpcHelper_GetDCOMProtocolVersion_Proxy( | |
25371 | IRpcHelper* This, | |
25372 | DWORD* pComVersion); | |
25373 | void __attribute__((__stdcall__)) IRpcHelper_GetDCOMProtocolVersion_Stub( | |
25374 | IRpcStubBuffer* This, | |
25375 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25376 | PRPC_MESSAGE pRpcMessage, | |
25377 | DWORD* pdwStubPhase); | |
25378 | HRESULT __attribute__((__stdcall__)) IRpcHelper_GetIIDFromOBJREF_Proxy( | |
25379 | IRpcHelper* This, | |
25380 | void* pObjRef, | |
25381 | IID** piid); | |
25382 | void __attribute__((__stdcall__)) IRpcHelper_GetIIDFromOBJREF_Stub( | |
25383 | IRpcStubBuffer* This, | |
25384 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25385 | PRPC_MESSAGE pRpcMessage, | |
25386 | DWORD* pdwStubPhase); | |
25387 | ||
25388 | ||
25389 | ||
25390 | ||
25391 | ||
25392 | typedef struct IReleaseMarshalBuffers IReleaseMarshalBuffers; | |
25393 | # 8988 "../../../include/objidl.h" | |
25394 | extern const GUID IID_IReleaseMarshalBuffers __attribute__((visibility ("hidden"))); | |
25395 | # 8999 "../../../include/objidl.h" | |
25396 | typedef struct IReleaseMarshalBuffersVtbl { | |
25397 | ||
25398 | ||
25399 | ||
25400 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25401 | IReleaseMarshalBuffers* This, | |
25402 | const IID* const riid, | |
25403 | void** ppvObject); | |
25404 | ||
25405 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25406 | IReleaseMarshalBuffers* This); | |
25407 | ||
25408 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25409 | IReleaseMarshalBuffers* This); | |
25410 | ||
25411 | ||
25412 | HRESULT (__attribute__((__stdcall__)) *ReleaseMarshalBuffer)( | |
25413 | IReleaseMarshalBuffers* This, | |
25414 | RPCOLEMESSAGE* pMsg, | |
25415 | DWORD dwFlags, | |
25416 | IUnknown* pChnl); | |
25417 | ||
25418 | ||
25419 | } IReleaseMarshalBuffersVtbl; | |
25420 | struct IReleaseMarshalBuffers { | |
25421 | const IReleaseMarshalBuffersVtbl* lpVtbl; | |
25422 | }; | |
25423 | # 9038 "../../../include/objidl.h" | |
25424 | HRESULT __attribute__((__stdcall__)) IReleaseMarshalBuffers_ReleaseMarshalBuffer_Proxy( | |
25425 | IReleaseMarshalBuffers* This, | |
25426 | RPCOLEMESSAGE* pMsg, | |
25427 | DWORD dwFlags, | |
25428 | IUnknown* pChnl); | |
25429 | void __attribute__((__stdcall__)) IReleaseMarshalBuffers_ReleaseMarshalBuffer_Stub( | |
25430 | IRpcStubBuffer* This, | |
25431 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25432 | PRPC_MESSAGE pRpcMessage, | |
25433 | DWORD* pdwStubPhase); | |
25434 | ||
25435 | ||
25436 | ||
25437 | ||
25438 | ||
25439 | typedef struct IWaitMultiple IWaitMultiple; | |
25440 | # 9062 "../../../include/objidl.h" | |
25441 | extern const GUID IID_IWaitMultiple __attribute__((visibility ("hidden"))); | |
25442 | # 9075 "../../../include/objidl.h" | |
25443 | typedef struct IWaitMultipleVtbl { | |
25444 | ||
25445 | ||
25446 | ||
25447 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25448 | IWaitMultiple* This, | |
25449 | const IID* const riid, | |
25450 | void** ppvObject); | |
25451 | ||
25452 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25453 | IWaitMultiple* This); | |
25454 | ||
25455 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25456 | IWaitMultiple* This); | |
25457 | ||
25458 | ||
25459 | HRESULT (__attribute__((__stdcall__)) *WaitMultiple)( | |
25460 | IWaitMultiple* This, | |
25461 | DWORD timeout, | |
25462 | ISynchronize** pSync); | |
25463 | ||
25464 | HRESULT (__attribute__((__stdcall__)) *AddSynchronize)( | |
25465 | IWaitMultiple* This, | |
25466 | ISynchronize* pSync); | |
25467 | ||
25468 | ||
25469 | } IWaitMultipleVtbl; | |
25470 | struct IWaitMultiple { | |
25471 | const IWaitMultipleVtbl* lpVtbl; | |
25472 | }; | |
25473 | # 9118 "../../../include/objidl.h" | |
25474 | HRESULT __attribute__((__stdcall__)) IWaitMultiple_WaitMultiple_Proxy( | |
25475 | IWaitMultiple* This, | |
25476 | DWORD timeout, | |
25477 | ISynchronize** pSync); | |
25478 | void __attribute__((__stdcall__)) IWaitMultiple_WaitMultiple_Stub( | |
25479 | IRpcStubBuffer* This, | |
25480 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25481 | PRPC_MESSAGE pRpcMessage, | |
25482 | DWORD* pdwStubPhase); | |
25483 | HRESULT __attribute__((__stdcall__)) IWaitMultiple_AddSynchronize_Proxy( | |
25484 | IWaitMultiple* This, | |
25485 | ISynchronize* pSync); | |
25486 | void __attribute__((__stdcall__)) IWaitMultiple_AddSynchronize_Stub( | |
25487 | IRpcStubBuffer* This, | |
25488 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25489 | PRPC_MESSAGE pRpcMessage, | |
25490 | DWORD* pdwStubPhase); | |
25491 | ||
25492 | ||
25493 | ||
25494 | ||
25495 | ||
25496 | typedef struct IUrlMon IUrlMon; | |
25497 | # 9149 "../../../include/objidl.h" | |
25498 | extern const GUID IID_IUrlMon __attribute__((visibility ("hidden"))); | |
25499 | # 9167 "../../../include/objidl.h" | |
25500 | typedef struct IUrlMonVtbl { | |
25501 | ||
25502 | ||
25503 | ||
25504 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25505 | IUrlMon* This, | |
25506 | const IID* const riid, | |
25507 | void** ppvObject); | |
25508 | ||
25509 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25510 | IUrlMon* This); | |
25511 | ||
25512 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25513 | IUrlMon* This); | |
25514 | ||
25515 | ||
25516 | HRESULT (__attribute__((__stdcall__)) *AsyncGetClassBits)( | |
25517 | IUrlMon* This, | |
25518 | const CLSID* const rclsid, | |
25519 | LPCWSTR pszTYPE, | |
25520 | LPCWSTR pszExt, | |
25521 | DWORD dwFileVersionMS, | |
25522 | DWORD dwFileVersionLS, | |
25523 | LPCWSTR pszCodeBase, | |
25524 | IBindCtx* pbc, | |
25525 | DWORD dwClassContext, | |
25526 | const IID* const riid, | |
25527 | DWORD flags); | |
25528 | ||
25529 | ||
25530 | } IUrlMonVtbl; | |
25531 | struct IUrlMon { | |
25532 | const IUrlMonVtbl* lpVtbl; | |
25533 | }; | |
25534 | # 9213 "../../../include/objidl.h" | |
25535 | HRESULT __attribute__((__stdcall__)) IUrlMon_AsyncGetClassBits_Proxy( | |
25536 | IUrlMon* This, | |
25537 | const CLSID* const rclsid, | |
25538 | LPCWSTR pszTYPE, | |
25539 | LPCWSTR pszExt, | |
25540 | DWORD dwFileVersionMS, | |
25541 | DWORD dwFileVersionLS, | |
25542 | LPCWSTR pszCodeBase, | |
25543 | IBindCtx* pbc, | |
25544 | DWORD dwClassContext, | |
25545 | const IID* const riid, | |
25546 | DWORD flags); | |
25547 | void __attribute__((__stdcall__)) IUrlMon_AsyncGetClassBits_Stub( | |
25548 | IRpcStubBuffer* This, | |
25549 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25550 | PRPC_MESSAGE pRpcMessage, | |
25551 | DWORD* pdwStubPhase); | |
25552 | ||
25553 | ||
25554 | ||
25555 | ||
25556 | ||
25557 | typedef struct IForegroundTransfer IForegroundTransfer; | |
25558 | # 9244 "../../../include/objidl.h" | |
25559 | extern const GUID IID_IForegroundTransfer __attribute__((visibility ("hidden"))); | |
25560 | # 9253 "../../../include/objidl.h" | |
25561 | typedef struct IForegroundTransferVtbl { | |
25562 | ||
25563 | ||
25564 | ||
25565 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25566 | IForegroundTransfer* This, | |
25567 | const IID* const riid, | |
25568 | void** ppvObject); | |
25569 | ||
25570 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25571 | IForegroundTransfer* This); | |
25572 | ||
25573 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25574 | IForegroundTransfer* This); | |
25575 | ||
25576 | ||
25577 | HRESULT (__attribute__((__stdcall__)) *AllowForegroundTransfer)( | |
25578 | IForegroundTransfer* This, | |
25579 | void* lpvReserved); | |
25580 | ||
25581 | ||
25582 | } IForegroundTransferVtbl; | |
25583 | struct IForegroundTransfer { | |
25584 | const IForegroundTransferVtbl* lpVtbl; | |
25585 | }; | |
25586 | # 9290 "../../../include/objidl.h" | |
25587 | HRESULT __attribute__((__stdcall__)) IForegroundTransfer_AllowForegroundTransfer_Proxy( | |
25588 | IForegroundTransfer* This, | |
25589 | void* lpvReserved); | |
25590 | void __attribute__((__stdcall__)) IForegroundTransfer_AllowForegroundTransfer_Stub( | |
25591 | IRpcStubBuffer* This, | |
25592 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25593 | PRPC_MESSAGE pRpcMessage, | |
25594 | DWORD* pdwStubPhase); | |
25595 | ||
25596 | ||
25597 | ||
25598 | ||
25599 | ||
25600 | typedef struct IAddrTrackingControl IAddrTrackingControl; | |
25601 | ||
25602 | ||
25603 | typedef IAddrTrackingControl *LPADDRTRACKINGCONTROL; | |
25604 | ||
25605 | ||
25606 | ||
25607 | ||
25608 | ||
25609 | ||
25610 | extern const GUID IID_IAddrTrackingControl __attribute__((visibility ("hidden"))); | |
25611 | # 9325 "../../../include/objidl.h" | |
25612 | typedef struct IAddrTrackingControlVtbl { | |
25613 | ||
25614 | ||
25615 | ||
25616 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25617 | IAddrTrackingControl* This, | |
25618 | const IID* const riid, | |
25619 | void** ppvObject); | |
25620 | ||
25621 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25622 | IAddrTrackingControl* This); | |
25623 | ||
25624 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25625 | IAddrTrackingControl* This); | |
25626 | ||
25627 | ||
25628 | HRESULT (__attribute__((__stdcall__)) *EnableCOMDynamicAddrTracking)( | |
25629 | IAddrTrackingControl* This); | |
25630 | ||
25631 | HRESULT (__attribute__((__stdcall__)) *DisableCOMDynamicAddrTracking)( | |
25632 | IAddrTrackingControl* This); | |
25633 | ||
25634 | ||
25635 | } IAddrTrackingControlVtbl; | |
25636 | struct IAddrTrackingControl { | |
25637 | const IAddrTrackingControlVtbl* lpVtbl; | |
25638 | }; | |
25639 | # 9365 "../../../include/objidl.h" | |
25640 | HRESULT __attribute__((__stdcall__)) IAddrTrackingControl_EnableCOMDynamicAddrTracking_Proxy( | |
25641 | IAddrTrackingControl* This); | |
25642 | void __attribute__((__stdcall__)) IAddrTrackingControl_EnableCOMDynamicAddrTracking_Stub( | |
25643 | IRpcStubBuffer* This, | |
25644 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25645 | PRPC_MESSAGE pRpcMessage, | |
25646 | DWORD* pdwStubPhase); | |
25647 | HRESULT __attribute__((__stdcall__)) IAddrTrackingControl_DisableCOMDynamicAddrTracking_Proxy( | |
25648 | IAddrTrackingControl* This); | |
25649 | void __attribute__((__stdcall__)) IAddrTrackingControl_DisableCOMDynamicAddrTracking_Stub( | |
25650 | IRpcStubBuffer* This, | |
25651 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25652 | PRPC_MESSAGE pRpcMessage, | |
25653 | DWORD* pdwStubPhase); | |
25654 | ||
25655 | ||
25656 | ||
25657 | ||
25658 | ||
25659 | typedef struct IAddrExclusionControl IAddrExclusionControl; | |
25660 | ||
25661 | ||
25662 | typedef IAddrExclusionControl *LPADDREXCLUSIONCONTROL; | |
25663 | ||
25664 | ||
25665 | ||
25666 | ||
25667 | ||
25668 | ||
25669 | extern const GUID IID_IAddrExclusionControl __attribute__((visibility ("hidden"))); | |
25670 | # 9407 "../../../include/objidl.h" | |
25671 | typedef struct IAddrExclusionControlVtbl { | |
25672 | ||
25673 | ||
25674 | ||
25675 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25676 | IAddrExclusionControl* This, | |
25677 | const IID* const riid, | |
25678 | void** ppvObject); | |
25679 | ||
25680 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25681 | IAddrExclusionControl* This); | |
25682 | ||
25683 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25684 | IAddrExclusionControl* This); | |
25685 | ||
25686 | ||
25687 | HRESULT (__attribute__((__stdcall__)) *GetCurrentAddrExclusionList)( | |
25688 | IAddrExclusionControl* This, | |
25689 | const IID* const riid, | |
25690 | void** ppEnumerator); | |
25691 | ||
25692 | HRESULT (__attribute__((__stdcall__)) *UpdateAddrExclusionList)( | |
25693 | IAddrExclusionControl* This, | |
25694 | IUnknown* pEnumerator); | |
25695 | ||
25696 | ||
25697 | } IAddrExclusionControlVtbl; | |
25698 | struct IAddrExclusionControl { | |
25699 | const IAddrExclusionControlVtbl* lpVtbl; | |
25700 | }; | |
25701 | # 9450 "../../../include/objidl.h" | |
25702 | HRESULT __attribute__((__stdcall__)) IAddrExclusionControl_GetCurrentAddrExclusionList_Proxy( | |
25703 | IAddrExclusionControl* This, | |
25704 | const IID* const riid, | |
25705 | void** ppEnumerator); | |
25706 | void __attribute__((__stdcall__)) IAddrExclusionControl_GetCurrentAddrExclusionList_Stub( | |
25707 | IRpcStubBuffer* This, | |
25708 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25709 | PRPC_MESSAGE pRpcMessage, | |
25710 | DWORD* pdwStubPhase); | |
25711 | HRESULT __attribute__((__stdcall__)) IAddrExclusionControl_UpdateAddrExclusionList_Proxy( | |
25712 | IAddrExclusionControl* This, | |
25713 | IUnknown* pEnumerator); | |
25714 | void __attribute__((__stdcall__)) IAddrExclusionControl_UpdateAddrExclusionList_Stub( | |
25715 | IRpcStubBuffer* This, | |
25716 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25717 | PRPC_MESSAGE pRpcMessage, | |
25718 | DWORD* pdwStubPhase); | |
25719 | ||
25720 | ||
25721 | ||
25722 | typedef enum _APTTYPE { | |
25723 | APTTYPE_CURRENT = -1, | |
25724 | APTTYPE_STA = 0, | |
25725 | APTTYPE_MTA = 1, | |
25726 | APTTYPE_NA = 2, | |
25727 | APTTYPE_MAINSTA = 3 | |
25728 | } APTTYPE; | |
25729 | typedef enum _THDTYPE { | |
25730 | THDTYPE_BLOCKMESSAGES = 0, | |
25731 | THDTYPE_PROCESSMESSAGES = 1 | |
25732 | } THDTYPE; | |
25733 | ||
25734 | ||
25735 | typedef struct IComThreadingInfo IComThreadingInfo; | |
25736 | # 9492 "../../../include/objidl.h" | |
25737 | extern const GUID IID_IComThreadingInfo __attribute__((visibility ("hidden"))); | |
25738 | # 9510 "../../../include/objidl.h" | |
25739 | typedef struct IComThreadingInfoVtbl { | |
25740 | ||
25741 | ||
25742 | ||
25743 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25744 | IComThreadingInfo* This, | |
25745 | const IID* const riid, | |
25746 | void** ppvObject); | |
25747 | ||
25748 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25749 | IComThreadingInfo* This); | |
25750 | ||
25751 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25752 | IComThreadingInfo* This); | |
25753 | ||
25754 | ||
25755 | HRESULT (__attribute__((__stdcall__)) *GetCurrentApartmentType)( | |
25756 | IComThreadingInfo* This, | |
25757 | APTTYPE* pAptType); | |
25758 | ||
25759 | HRESULT (__attribute__((__stdcall__)) *GetCurrentThreadType)( | |
25760 | IComThreadingInfo* This, | |
25761 | THDTYPE* pThreadType); | |
25762 | ||
25763 | HRESULT (__attribute__((__stdcall__)) *GetCurrentLogicalThreadId)( | |
25764 | IComThreadingInfo* This, | |
25765 | GUID* pguidLogicalThreadId); | |
25766 | ||
25767 | HRESULT (__attribute__((__stdcall__)) *SetCurrentLogicalThreadId)( | |
25768 | IComThreadingInfo* This, | |
25769 | const GUID* const rguid); | |
25770 | ||
25771 | ||
25772 | } IComThreadingInfoVtbl; | |
25773 | struct IComThreadingInfo { | |
25774 | const IComThreadingInfoVtbl* lpVtbl; | |
25775 | }; | |
25776 | # 9562 "../../../include/objidl.h" | |
25777 | HRESULT __attribute__((__stdcall__)) IComThreadingInfo_GetCurrentApartmentType_Proxy( | |
25778 | IComThreadingInfo* This, | |
25779 | APTTYPE* pAptType); | |
25780 | void __attribute__((__stdcall__)) IComThreadingInfo_GetCurrentApartmentType_Stub( | |
25781 | IRpcStubBuffer* This, | |
25782 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25783 | PRPC_MESSAGE pRpcMessage, | |
25784 | DWORD* pdwStubPhase); | |
25785 | HRESULT __attribute__((__stdcall__)) IComThreadingInfo_GetCurrentThreadType_Proxy( | |
25786 | IComThreadingInfo* This, | |
25787 | THDTYPE* pThreadType); | |
25788 | void __attribute__((__stdcall__)) IComThreadingInfo_GetCurrentThreadType_Stub( | |
25789 | IRpcStubBuffer* This, | |
25790 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25791 | PRPC_MESSAGE pRpcMessage, | |
25792 | DWORD* pdwStubPhase); | |
25793 | HRESULT __attribute__((__stdcall__)) IComThreadingInfo_GetCurrentLogicalThreadId_Proxy( | |
25794 | IComThreadingInfo* This, | |
25795 | GUID* pguidLogicalThreadId); | |
25796 | void __attribute__((__stdcall__)) IComThreadingInfo_GetCurrentLogicalThreadId_Stub( | |
25797 | IRpcStubBuffer* This, | |
25798 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25799 | PRPC_MESSAGE pRpcMessage, | |
25800 | DWORD* pdwStubPhase); | |
25801 | HRESULT __attribute__((__stdcall__)) IComThreadingInfo_SetCurrentLogicalThreadId_Proxy( | |
25802 | IComThreadingInfo* This, | |
25803 | const GUID* const rguid); | |
25804 | void __attribute__((__stdcall__)) IComThreadingInfo_SetCurrentLogicalThreadId_Stub( | |
25805 | IRpcStubBuffer* This, | |
25806 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25807 | PRPC_MESSAGE pRpcMessage, | |
25808 | DWORD* pdwStubPhase); | |
25809 | ||
25810 | ||
25811 | ||
25812 | ||
25813 | ||
25814 | typedef struct IProcessInitControl IProcessInitControl; | |
25815 | # 9608 "../../../include/objidl.h" | |
25816 | extern const GUID IID_IProcessInitControl __attribute__((visibility ("hidden"))); | |
25817 | # 9617 "../../../include/objidl.h" | |
25818 | typedef struct IProcessInitControlVtbl { | |
25819 | ||
25820 | ||
25821 | ||
25822 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25823 | IProcessInitControl* This, | |
25824 | const IID* const riid, | |
25825 | void** ppvObject); | |
25826 | ||
25827 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25828 | IProcessInitControl* This); | |
25829 | ||
25830 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25831 | IProcessInitControl* This); | |
25832 | ||
25833 | ||
25834 | HRESULT (__attribute__((__stdcall__)) *ResetInitializerTimeout)( | |
25835 | IProcessInitControl* This, | |
25836 | DWORD dwSecondsRemaining); | |
25837 | ||
25838 | ||
25839 | } IProcessInitControlVtbl; | |
25840 | struct IProcessInitControl { | |
25841 | const IProcessInitControlVtbl* lpVtbl; | |
25842 | }; | |
25843 | # 9654 "../../../include/objidl.h" | |
25844 | HRESULT __attribute__((__stdcall__)) IProcessInitControl_ResetInitializerTimeout_Proxy( | |
25845 | IProcessInitControl* This, | |
25846 | DWORD dwSecondsRemaining); | |
25847 | void __attribute__((__stdcall__)) IProcessInitControl_ResetInitializerTimeout_Stub( | |
25848 | IRpcStubBuffer* This, | |
25849 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25850 | PRPC_MESSAGE pRpcMessage, | |
25851 | DWORD* pdwStubPhase); | |
25852 | ||
25853 | ||
25854 | ||
25855 | ||
25856 | ||
25857 | typedef struct IInitializeSpy IInitializeSpy; | |
25858 | ||
25859 | ||
25860 | typedef IInitializeSpy *LPINITIALIZESPY; | |
25861 | ||
25862 | ||
25863 | ||
25864 | ||
25865 | ||
25866 | ||
25867 | extern const GUID IID_IInitializeSpy __attribute__((visibility ("hidden"))); | |
25868 | # 9698 "../../../include/objidl.h" | |
25869 | typedef struct IInitializeSpyVtbl { | |
25870 | ||
25871 | ||
25872 | ||
25873 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25874 | IInitializeSpy* This, | |
25875 | const IID* const riid, | |
25876 | void** ppvObject); | |
25877 | ||
25878 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25879 | IInitializeSpy* This); | |
25880 | ||
25881 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25882 | IInitializeSpy* This); | |
25883 | ||
25884 | ||
25885 | HRESULT (__attribute__((__stdcall__)) *PreInitialize)( | |
25886 | IInitializeSpy* This, | |
25887 | DWORD dwCoInit, | |
25888 | DWORD dwCurThreadAptRefs); | |
25889 | ||
25890 | HRESULT (__attribute__((__stdcall__)) *PostInitialize)( | |
25891 | IInitializeSpy* This, | |
25892 | HRESULT hrCoInit, | |
25893 | DWORD dwCoInit, | |
25894 | DWORD dwNewThreadAptRefs); | |
25895 | ||
25896 | HRESULT (__attribute__((__stdcall__)) *PreUninitialize)( | |
25897 | IInitializeSpy* This, | |
25898 | DWORD dwCurThreadAptRefs); | |
25899 | ||
25900 | HRESULT (__attribute__((__stdcall__)) *PostUninitialize)( | |
25901 | IInitializeSpy* This, | |
25902 | DWORD dwNewThreadAptRefs); | |
25903 | ||
25904 | ||
25905 | } IInitializeSpyVtbl; | |
25906 | struct IInitializeSpy { | |
25907 | const IInitializeSpyVtbl* lpVtbl; | |
25908 | }; | |
25909 | # 9753 "../../../include/objidl.h" | |
25910 | HRESULT __attribute__((__stdcall__)) IInitializeSpy_PreInitialize_Proxy( | |
25911 | IInitializeSpy* This, | |
25912 | DWORD dwCoInit, | |
25913 | DWORD dwCurThreadAptRefs); | |
25914 | void __attribute__((__stdcall__)) IInitializeSpy_PreInitialize_Stub( | |
25915 | IRpcStubBuffer* This, | |
25916 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25917 | PRPC_MESSAGE pRpcMessage, | |
25918 | DWORD* pdwStubPhase); | |
25919 | HRESULT __attribute__((__stdcall__)) IInitializeSpy_PostInitialize_Proxy( | |
25920 | IInitializeSpy* This, | |
25921 | HRESULT hrCoInit, | |
25922 | DWORD dwCoInit, | |
25923 | DWORD dwNewThreadAptRefs); | |
25924 | void __attribute__((__stdcall__)) IInitializeSpy_PostInitialize_Stub( | |
25925 | IRpcStubBuffer* This, | |
25926 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25927 | PRPC_MESSAGE pRpcMessage, | |
25928 | DWORD* pdwStubPhase); | |
25929 | HRESULT __attribute__((__stdcall__)) IInitializeSpy_PreUninitialize_Proxy( | |
25930 | IInitializeSpy* This, | |
25931 | DWORD dwCurThreadAptRefs); | |
25932 | void __attribute__((__stdcall__)) IInitializeSpy_PreUninitialize_Stub( | |
25933 | IRpcStubBuffer* This, | |
25934 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25935 | PRPC_MESSAGE pRpcMessage, | |
25936 | DWORD* pdwStubPhase); | |
25937 | HRESULT __attribute__((__stdcall__)) IInitializeSpy_PostUninitialize_Proxy( | |
25938 | IInitializeSpy* This, | |
25939 | DWORD dwNewThreadAptRefs); | |
25940 | void __attribute__((__stdcall__)) IInitializeSpy_PostUninitialize_Stub( | |
25941 | IRpcStubBuffer* This, | |
25942 | IRpcChannelBuffer* pRpcChannelBuffer, | |
25943 | PRPC_MESSAGE pRpcMessage, | |
25944 | DWORD* pdwStubPhase); | |
25945 | ||
25946 | ||
25947 | ||
25948 | ||
25949 | ||
25950 | typedef struct IThumbnailExtractor IThumbnailExtractor; | |
25951 | # 9802 "../../../include/objidl.h" | |
25952 | extern const GUID IID_IThumbnailExtractor __attribute__((visibility ("hidden"))); | |
25953 | # 9819 "../../../include/objidl.h" | |
25954 | typedef struct IThumbnailExtractorVtbl { | |
25955 | ||
25956 | ||
25957 | ||
25958 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
25959 | IThumbnailExtractor* This, | |
25960 | const IID* const riid, | |
25961 | void** ppvObject); | |
25962 | ||
25963 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
25964 | IThumbnailExtractor* This); | |
25965 | ||
25966 | ULONG (__attribute__((__stdcall__)) *Release)( | |
25967 | IThumbnailExtractor* This); | |
25968 | ||
25969 | ||
25970 | HRESULT (__attribute__((__stdcall__)) *ExtractThumbnail)( | |
25971 | IThumbnailExtractor* This, | |
25972 | IStorage* pStg, | |
25973 | ULONG ulLength, | |
25974 | ULONG ulHeight, | |
25975 | ULONG* pulOutputLength, | |
25976 | ULONG* pulOutputHeight, | |
25977 | HBITMAP* phOutputBitmap); | |
25978 | ||
25979 | HRESULT (__attribute__((__stdcall__)) *OnFileUpdated)( | |
25980 | IThumbnailExtractor* This, | |
25981 | IStorage* pStg); | |
25982 | ||
25983 | ||
25984 | } IThumbnailExtractorVtbl; | |
25985 | struct IThumbnailExtractor { | |
25986 | const IThumbnailExtractorVtbl* lpVtbl; | |
25987 | }; | |
25988 | # 9866 "../../../include/objidl.h" | |
25989 | HRESULT __attribute__((__stdcall__)) IThumbnailExtractor_ExtractThumbnail_Proxy( | |
25990 | IThumbnailExtractor* This, | |
25991 | IStorage* pStg, | |
25992 | ULONG ulLength, | |
25993 | ULONG ulHeight, | |
25994 | ULONG* pulOutputLength, | |
25995 | ULONG* pulOutputHeight, | |
25996 | HBITMAP* phOutputBitmap); | |
25997 | void __attribute__((__stdcall__)) IThumbnailExtractor_ExtractThumbnail_Stub( | |
25998 | IRpcStubBuffer* This, | |
25999 | IRpcChannelBuffer* pRpcChannelBuffer, | |
26000 | PRPC_MESSAGE pRpcMessage, | |
26001 | DWORD* pdwStubPhase); | |
26002 | HRESULT __attribute__((__stdcall__)) IThumbnailExtractor_OnFileUpdated_Proxy( | |
26003 | IThumbnailExtractor* This, | |
26004 | IStorage* pStg); | |
26005 | void __attribute__((__stdcall__)) IThumbnailExtractor_OnFileUpdated_Stub( | |
26006 | IRpcStubBuffer* This, | |
26007 | IRpcChannelBuffer* pRpcChannelBuffer, | |
26008 | PRPC_MESSAGE pRpcMessage, | |
26009 | DWORD* pdwStubPhase); | |
26010 | ||
26011 | ||
26012 | ||
26013 | ||
26014 | ||
26015 | unsigned long __attribute__((__stdcall__)) FLAG_STGMEDIUM_UserSize (unsigned long *, unsigned long, FLAG_STGMEDIUM *); | |
26016 | unsigned char * __attribute__((__stdcall__)) FLAG_STGMEDIUM_UserMarshal (unsigned long *, unsigned char *, FLAG_STGMEDIUM *); | |
26017 | unsigned char * __attribute__((__stdcall__)) FLAG_STGMEDIUM_UserUnmarshal(unsigned long *, unsigned char *, FLAG_STGMEDIUM *); | |
26018 | void __attribute__((__stdcall__)) FLAG_STGMEDIUM_UserFree (unsigned long *, FLAG_STGMEDIUM *); | |
26019 | unsigned long __attribute__((__stdcall__)) HGLOBAL_UserSize (unsigned long *, unsigned long, HGLOBAL *); | |
26020 | unsigned char * __attribute__((__stdcall__)) HGLOBAL_UserMarshal (unsigned long *, unsigned char *, HGLOBAL *); | |
26021 | unsigned char * __attribute__((__stdcall__)) HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL *); | |
26022 | void __attribute__((__stdcall__)) HGLOBAL_UserFree (unsigned long *, HGLOBAL *); | |
26023 | unsigned long __attribute__((__stdcall__)) HENHMETAFILE_UserSize (unsigned long *, unsigned long, HENHMETAFILE *); | |
26024 | unsigned char * __attribute__((__stdcall__)) HENHMETAFILE_UserMarshal (unsigned long *, unsigned char *, HENHMETAFILE *); | |
26025 | unsigned char * __attribute__((__stdcall__)) HENHMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HENHMETAFILE *); | |
26026 | void __attribute__((__stdcall__)) HENHMETAFILE_UserFree (unsigned long *, HENHMETAFILE *); | |
26027 | unsigned long __attribute__((__stdcall__)) HMETAFILEPICT_UserSize (unsigned long *, unsigned long, HMETAFILEPICT *); | |
26028 | unsigned char * __attribute__((__stdcall__)) HMETAFILEPICT_UserMarshal (unsigned long *, unsigned char *, HMETAFILEPICT *); | |
26029 | unsigned char * __attribute__((__stdcall__)) HMETAFILEPICT_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILEPICT *); | |
26030 | void __attribute__((__stdcall__)) HMETAFILEPICT_UserFree (unsigned long *, HMETAFILEPICT *); | |
26031 | unsigned long __attribute__((__stdcall__)) HBITMAP_UserSize (unsigned long *, unsigned long, HBITMAP *); | |
26032 | unsigned char * __attribute__((__stdcall__)) HBITMAP_UserMarshal (unsigned long *, unsigned char *, HBITMAP *); | |
26033 | unsigned char * __attribute__((__stdcall__)) HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP *); | |
26034 | void __attribute__((__stdcall__)) HBITMAP_UserFree (unsigned long *, HBITMAP *); | |
26035 | unsigned long __attribute__((__stdcall__)) STGMEDIUM_UserSize (unsigned long *, unsigned long, STGMEDIUM *); | |
26036 | unsigned char * __attribute__((__stdcall__)) STGMEDIUM_UserMarshal (unsigned long *, unsigned char *, STGMEDIUM *); | |
26037 | unsigned char * __attribute__((__stdcall__)) STGMEDIUM_UserUnmarshal(unsigned long *, unsigned char *, STGMEDIUM *); | |
26038 | void __attribute__((__stdcall__)) STGMEDIUM_UserFree (unsigned long *, STGMEDIUM *); | |
26039 | unsigned long __attribute__((__stdcall__)) ASYNC_STGMEDIUM_UserSize (unsigned long *, unsigned long, ASYNC_STGMEDIUM *); | |
26040 | unsigned char * __attribute__((__stdcall__)) ASYNC_STGMEDIUM_UserMarshal (unsigned long *, unsigned char *, ASYNC_STGMEDIUM *); | |
26041 | unsigned char * __attribute__((__stdcall__)) ASYNC_STGMEDIUM_UserUnmarshal(unsigned long *, unsigned char *, ASYNC_STGMEDIUM *); | |
26042 | void __attribute__((__stdcall__)) ASYNC_STGMEDIUM_UserFree (unsigned long *, ASYNC_STGMEDIUM *); | |
26043 | unsigned long __attribute__((__stdcall__)) CLIPFORMAT_UserSize (unsigned long *, unsigned long, CLIPFORMAT *); | |
26044 | unsigned char * __attribute__((__stdcall__)) CLIPFORMAT_UserMarshal (unsigned long *, unsigned char *, CLIPFORMAT *); | |
26045 | unsigned char * __attribute__((__stdcall__)) CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT *); | |
26046 | void __attribute__((__stdcall__)) CLIPFORMAT_UserFree (unsigned long *, CLIPFORMAT *); | |
26047 | unsigned long __attribute__((__stdcall__)) SNB_UserSize (unsigned long *, unsigned long, SNB *); | |
26048 | unsigned char * __attribute__((__stdcall__)) SNB_UserMarshal (unsigned long *, unsigned char *, SNB *); | |
26049 | unsigned char * __attribute__((__stdcall__)) SNB_UserUnmarshal(unsigned long *, unsigned char *, SNB *); | |
26050 | void __attribute__((__stdcall__)) SNB_UserFree (unsigned long *, SNB *); | |
26051 | # 285 "../../../include/objbase.h" 2 | |
26052 | ||
26053 | ||
26054 | ||
26055 | # 1 "/usr/include/stdlib.h" 1 3 4 | |
26056 | # 289 "../../../include/objbase.h" 2 | |
26057 | ||
26058 | ||
26059 | ||
26060 | # 1 "../../../include/cguid.h" 1 | |
26061 | # 26 "../../../include/cguid.h" | |
26062 | extern const IID GUID_NULL; | |
26063 | extern const IID IID_IRpcChannel; | |
26064 | extern const IID IID_IRpcStub; | |
26065 | extern const IID IID_IStubManager; | |
26066 | extern const IID IID_IRpcProxy; | |
26067 | extern const IID IID_IProxyManager; | |
26068 | extern const IID IID_IPSFactory; | |
26069 | extern const IID IID_IInternalMoniker; | |
26070 | extern const IID IID_IDfReserved1; | |
26071 | extern const IID IID_IDfReserved2; | |
26072 | extern const IID IID_IDfReserved3; | |
26073 | extern const CLSID CLSID_StdMarshal; | |
26074 | extern const CLSID CLSID_AggStdMarshal; | |
26075 | extern const CLSID CLSID_StdAsyncActManager; | |
26076 | extern const IID IID_IStub; | |
26077 | extern const IID IID_IProxy; | |
26078 | extern const IID IID_IEnumGeneric; | |
26079 | extern const IID IID_IEnumHolder; | |
26080 | extern const IID IID_IEnumCallback; | |
26081 | extern const IID IID_IOleManager; | |
26082 | extern const IID IID_IOlePresObj; | |
26083 | extern const IID IID_IDebug; | |
26084 | extern const IID IID_IDebugStream; | |
26085 | extern const CLSID CLSID_PSGenObject; | |
26086 | extern const CLSID CLSID_PSClientSite; | |
26087 | extern const CLSID CLSID_PSClassObject; | |
26088 | extern const CLSID CLSID_PSInPlaceActive; | |
26089 | extern const CLSID CLSID_PSInPlaceFrame; | |
26090 | extern const CLSID CLSID_PSDragDrop; | |
26091 | extern const CLSID CLSID_PSBindCtx; | |
26092 | extern const CLSID CLSID_PSEnumerators; | |
26093 | extern const CLSID CLSID_StaticMetafile; | |
26094 | extern const CLSID CLSID_StaticDib; | |
26095 | extern const CLSID CID_CDfsVolume; | |
26096 | extern const CLSID CLSID_DCOMAccessControl; | |
26097 | extern const CLSID CLSID_StdGlobalInterfaceTable; | |
26098 | extern const CLSID CLSID_ComBinding; | |
26099 | extern const CLSID CLSID_StdEvent; | |
26100 | extern const CLSID CLSID_ManualResetEvent; | |
26101 | extern const CLSID CLSID_SynchronizeContainer; | |
26102 | extern const CLSID CLSID_CCDFormKrnl; | |
26103 | extern const CLSID CLSID_CCDPropertyPage; | |
26104 | extern const CLSID CLSID_CCDFormDialog; | |
26105 | extern const CLSID CLSID_CCDCommandButton; | |
26106 | extern const CLSID CLSID_CCDComboBox; | |
26107 | extern const CLSID CLSID_CCDTextBox; | |
26108 | extern const CLSID CLSID_CCDCheckBox; | |
26109 | extern const CLSID CLSID_CCDLabel; | |
26110 | extern const CLSID CLSID_CCDOptionButton; | |
26111 | extern const CLSID CLSID_CCDListBox; | |
26112 | extern const CLSID CLSID_CCDScrollBar; | |
26113 | extern const CLSID CLSID_CCDGroupBox; | |
26114 | extern const CLSID CLSID_CCDGeneralPropertyPage; | |
26115 | extern const CLSID CLSID_CCDGenericPropertyPage; | |
26116 | extern const CLSID CLSID_CCDFontPropertyPage; | |
26117 | extern const CLSID CLSID_CCDColorPropertyPage; | |
26118 | extern const CLSID CLSID_CCDLabelPropertyPage; | |
26119 | extern const CLSID CLSID_CCDCheckBoxPropertyPage; | |
26120 | extern const CLSID CLSID_CCDTextBoxPropertyPage; | |
26121 | extern const CLSID CLSID_CCDOptionButtonPropertyPage; | |
26122 | extern const CLSID CLSID_CCDListBoxPropertyPage; | |
26123 | extern const CLSID CLSID_CCDCommandButtonPropertyPage; | |
26124 | extern const CLSID CLSID_CCDComboBoxPropertyPage; | |
26125 | extern const CLSID CLSID_CCDScrollBarPropertyPage; | |
26126 | extern const CLSID CLSID_CCDGroupBoxPropertyPage; | |
26127 | extern const CLSID CLSID_CCDXObjectPropertyPage; | |
26128 | extern const CLSID CLSID_CStdPropertyFrame; | |
26129 | extern const CLSID CLSID_CFormPropertyPage; | |
26130 | extern const CLSID CLSID_CGridPropertyPage; | |
26131 | extern const CLSID CLSID_CWSJArticlePage; | |
26132 | extern const CLSID CLSID_CSystemPage; | |
26133 | extern const CLSID CLSID_IdentityUnmarshal; | |
26134 | extern const CLSID CLSID_InProcFreeMarshaler; | |
26135 | extern const CLSID CLSID_Picture_Metafile; | |
26136 | extern const CLSID CLSID_Picture_EnhMetafile; | |
26137 | extern const CLSID CLSID_Picture_Dib; | |
26138 | extern const GUID GUID_TRISTATE; | |
26139 | # 293 "../../../include/objbase.h" 2 | |
26140 | # 310 "../../../include/objbase.h" | |
26141 | DWORD __attribute__((__stdcall__)) CoBuildVersion(void); | |
26142 | ||
26143 | typedef enum tagCOINIT | |
26144 | { | |
26145 | COINIT_APARTMENTTHREADED = 0x2, | |
26146 | COINIT_MULTITHREADED = 0x0, | |
26147 | COINIT_DISABLE_OLE1DDE = 0x4, | |
26148 | COINIT_SPEED_OVER_MEMORY = 0x8 | |
26149 | } COINIT; | |
26150 | ||
26151 | HRESULT __attribute__((__stdcall__)) CoInitialize(LPVOID lpReserved); | |
26152 | HRESULT __attribute__((__stdcall__)) CoInitializeEx(LPVOID lpReserved, DWORD dwCoInit); | |
26153 | void __attribute__((__stdcall__)) CoUninitialize(void); | |
26154 | DWORD __attribute__((__stdcall__)) CoGetCurrentProcess(void); | |
26155 | ||
26156 | HINSTANCE __attribute__((__stdcall__)) CoLoadLibrary(LPOLESTR lpszLibName, BOOL bAutoFree); | |
26157 | void __attribute__((__stdcall__)) CoFreeAllLibraries(void); | |
26158 | void __attribute__((__stdcall__)) CoFreeLibrary(HINSTANCE hLibrary); | |
26159 | void __attribute__((__stdcall__)) CoFreeUnusedLibraries(void); | |
26160 | ||
26161 | HRESULT __attribute__((__stdcall__)) CoCreateInstance(const CLSID* const rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, const IID* const iid, LPVOID *ppv); | |
26162 | HRESULT __attribute__((__stdcall__)) CoCreateInstanceEx(const CLSID* const rclsid, | |
26163 | LPUNKNOWN pUnkOuter, | |
26164 | DWORD dwClsContext, | |
26165 | COSERVERINFO* pServerInfo, | |
26166 | ULONG cmq, | |
26167 | MULTI_QI* pResults); | |
26168 | ||
26169 | HRESULT __attribute__((__stdcall__)) CoGetInstanceFromFile(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, DWORD grfMode, OLECHAR* pwszName, DWORD dwCount, MULTI_QI* pResults); | |
26170 | HRESULT __attribute__((__stdcall__)) CoGetInstanceFromIStorage(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, IStorage* pstg, DWORD dwCount, MULTI_QI* pResults); | |
26171 | ||
26172 | HRESULT __attribute__((__stdcall__)) CoGetMalloc(DWORD dwMemContext, LPMALLOC* lpMalloc); | |
26173 | LPVOID __attribute__((__stdcall__)) CoTaskMemAlloc(ULONG size); | |
26174 | void __attribute__((__stdcall__)) CoTaskMemFree(LPVOID ptr); | |
26175 | LPVOID __attribute__((__stdcall__)) CoTaskMemRealloc(LPVOID ptr, ULONG size); | |
26176 | ||
26177 | HRESULT __attribute__((__stdcall__)) CoRegisterMallocSpy(LPMALLOCSPY pMallocSpy); | |
26178 | HRESULT __attribute__((__stdcall__)) CoRevokeMallocSpy(void); | |
26179 | ||
26180 | ||
26181 | typedef enum tagREGCLS | |
26182 | { | |
26183 | REGCLS_SINGLEUSE = 0, | |
26184 | REGCLS_MULTIPLEUSE = 1, | |
26185 | REGCLS_MULTI_SEPARATE = 2, | |
26186 | REGCLS_SUSPENDED = 4 | |
26187 | } REGCLS; | |
26188 | ||
26189 | HRESULT __attribute__((__stdcall__)) CoGetClassObject(const CLSID* const rclsid, DWORD dwClsContext, COSERVERINFO *pServerInfo, const IID* const iid, LPVOID *ppv); | |
26190 | HRESULT __attribute__((__stdcall__)) CoRegisterClassObject(const CLSID* const rclsid,LPUNKNOWN pUnk,DWORD dwClsContext,DWORD flags,LPDWORD lpdwRegister); | |
26191 | HRESULT __attribute__((__stdcall__)) CoRevokeClassObject(DWORD dwRegister); | |
26192 | HRESULT __attribute__((__stdcall__)) CoGetPSClsid(const IID* const riid,CLSID *pclsid); | |
26193 | HRESULT __attribute__((__stdcall__)) CoRegisterPSClsid(const IID* const riid, const CLSID* const rclsid); | |
26194 | HRESULT __attribute__((__stdcall__)) CoSuspendClassObjects(void); | |
26195 | HRESULT __attribute__((__stdcall__)) CoResumeClassObjects(void); | |
26196 | ULONG __attribute__((__stdcall__)) CoAddRefServerProcess(void); | |
26197 | ULONG __attribute__((__stdcall__)) CoReleaseServerProcess(void); | |
26198 | ||
26199 | ||
26200 | HRESULT __attribute__((__stdcall__)) CoCreateFreeThreadedMarshaler(LPUNKNOWN punkOuter, LPUNKNOWN* ppunkMarshal); | |
26201 | HRESULT __attribute__((__stdcall__)) CoGetInterfaceAndReleaseStream(LPSTREAM pStm, const IID* const iid, LPVOID* ppv); | |
26202 | HRESULT __attribute__((__stdcall__)) CoGetMarshalSizeMax(ULONG* pulSize, const IID* const riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags); | |
26203 | HRESULT __attribute__((__stdcall__)) CoGetStandardMarshal(const IID* const riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags, LPMARSHAL* ppMarshal); | |
26204 | HRESULT __attribute__((__stdcall__)) CoMarshalHresult(LPSTREAM pstm, HRESULT hresult); | |
26205 | HRESULT __attribute__((__stdcall__)) CoMarshalInterface(LPSTREAM pStm, const IID* const riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags); | |
26206 | HRESULT __attribute__((__stdcall__)) CoMarshalInterThreadInterfaceInStream(const IID* const riid, LPUNKNOWN pUnk, LPSTREAM* ppStm); | |
26207 | HRESULT __attribute__((__stdcall__)) CoReleaseMarshalData(LPSTREAM pStm); | |
26208 | HRESULT __attribute__((__stdcall__)) CoDisconnectObject(LPUNKNOWN lpUnk, DWORD reserved); | |
26209 | HRESULT __attribute__((__stdcall__)) CoUnmarshalHresult(LPSTREAM pstm, HRESULT* phresult); | |
26210 | HRESULT __attribute__((__stdcall__)) CoUnmarshalInterface(LPSTREAM pStm, const IID* const riid, LPVOID* ppv); | |
26211 | HRESULT __attribute__((__stdcall__)) CoLockObjectExternal(LPUNKNOWN pUnk, BOOL fLock, BOOL fLastUnlockReleases); | |
26212 | BOOL __attribute__((__stdcall__)) CoIsHandlerConnected(LPUNKNOWN pUnk); | |
26213 | ||
26214 | ||
26215 | HRESULT __attribute__((__stdcall__)) CoInitializeSecurity(PSECURITY_DESCRIPTOR pSecDesc, LONG cAuthSvc, SOLE_AUTHENTICATION_SERVICE* asAuthSvc, void* pReserved1, DWORD dwAuthnLevel, DWORD dwImpLevel, void* pReserved2, DWORD dwCapabilities, void* pReserved3); | |
26216 | HRESULT __attribute__((__stdcall__)) CoGetCallContext(const IID* const riid, void** ppInterface); | |
26217 | HRESULT __attribute__((__stdcall__)) CoQueryAuthenticationServices(DWORD* pcAuthSvc, SOLE_AUTHENTICATION_SERVICE** asAuthSvc); | |
26218 | ||
26219 | HRESULT __attribute__((__stdcall__)) CoQueryProxyBlanket(IUnknown* pProxy, DWORD* pwAuthnSvc, DWORD* pAuthzSvc, OLECHAR** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTH_IDENTITY_HANDLE* pAuthInfo, DWORD* pCapabilites); | |
26220 | HRESULT __attribute__((__stdcall__)) CoSetProxyBlanket(IUnknown* pProxy, DWORD dwAuthnSvc, DWORD dwAuthzSvc, OLECHAR* pServerPrincName, DWORD dwAuthnLevel, DWORD dwImpLevel, RPC_AUTH_IDENTITY_HANDLE pAuthInfo, DWORD dwCapabilities); | |
26221 | HRESULT __attribute__((__stdcall__)) CoCopyProxy(IUnknown* pProxy, IUnknown** ppCopy); | |
26222 | ||
26223 | HRESULT __attribute__((__stdcall__)) CoImpersonateClient(void); | |
26224 | HRESULT __attribute__((__stdcall__)) CoQueryClientBlanket(DWORD* pAuthnSvc, DWORD* pAuthzSvc, OLECHAR** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTHZ_HANDLE* pPrivs, DWORD* pCapabilities); | |
26225 | HRESULT __attribute__((__stdcall__)) CoRevertToSelf(void); | |
26226 | ||
26227 | ||
26228 | HRESULT __attribute__((__stdcall__)) CoGetTreatAsClass(const CLSID* const clsidOld, LPCLSID pClsidNew); | |
26229 | HRESULT __attribute__((__stdcall__)) CoTreatAsClass(const CLSID* const clsidOld, const CLSID* const clsidNew); | |
26230 | ||
26231 | HRESULT __attribute__((__stdcall__)) CoCreateGuid(GUID* pguid); | |
26232 | BOOL __attribute__((__stdcall__)) CoIsOle1Class(const CLSID* const rclsid); | |
26233 | ||
26234 | BOOL __attribute__((__stdcall__)) CoDosDateTimeToFileTime(WORD nDosDate, WORD nDosTime, FILETIME* lpFileTime); | |
26235 | BOOL __attribute__((__stdcall__)) CoFileTimeToDosDateTime(FILETIME* lpFileTime, WORD* lpDosDate, WORD* lpDosTime); | |
26236 | HRESULT __attribute__((__stdcall__)) CoFileTimeNow(FILETIME* lpFileTime); | |
26237 | HRESULT __attribute__((__stdcall__)) CoRegisterMessageFilter(LPMESSAGEFILTER lpMessageFilter,LPMESSAGEFILTER *lplpMessageFilter); | |
26238 | ||
26239 | typedef enum tagCOWAIT_FLAGS | |
26240 | { | |
26241 | COWAIT_WAITALL = 0x00000001, | |
26242 | COWAIT_ALERTABLE = 0x00000002 | |
26243 | } COWAIT_FLAGS; | |
26244 | ||
26245 | HRESULT __attribute__((__stdcall__)) CoWaitForMultipleHandles(DWORD dwFlags,DWORD dwTimeout,ULONG cHandles,const HANDLE* pHandles,LPDWORD lpdwindex); | |
26246 | ||
26247 | ||
26248 | ||
26249 | ||
26250 | HRESULT __attribute__((__stdcall__)) StringFromCLSID(const CLSID* const id, LPOLESTR*); | |
26251 | HRESULT __attribute__((__stdcall__)) CLSIDFromString(LPOLESTR, CLSID *); | |
26252 | HRESULT __attribute__((__stdcall__)) CLSIDFromProgID(LPCOLESTR progid, LPCLSID riid); | |
26253 | HRESULT __attribute__((__stdcall__)) ProgIDFromCLSID(const CLSID* const clsid, LPOLESTR *lplpszProgID); | |
26254 | ||
26255 | INT __attribute__((__stdcall__)) StringFromGUID2(const GUID* const id, LPOLESTR str, INT cmax); | |
26256 | ||
26257 | ||
26258 | ||
26259 | ||
26260 | HRESULT __attribute__((__stdcall__)) DllGetClassObject(const CLSID* const rclsid, const IID* const riid, LPVOID * ppv) __attribute__((visibility ("hidden"))); | |
26261 | HRESULT __attribute__((__stdcall__)) DllCanUnloadNow(void) __attribute__((visibility ("hidden"))); | |
26262 | # 442 "../../../include/objbase.h" | |
26263 | HRESULT __attribute__((__stdcall__)) CreateDataAdviseHolder(LPDATAADVISEHOLDER* ppDAHolder); | |
26264 | HRESULT __attribute__((__stdcall__)) CreateDataCache(LPUNKNOWN pUnkOuter, const CLSID* const rclsid, const IID* const iid, LPVOID* ppv); | |
26265 | ||
26266 | ||
26267 | ||
26268 | ||
26269 | HRESULT __attribute__((__stdcall__)) BindMoniker(LPMONIKER pmk, DWORD grfOpt, const IID* const iidResult, LPVOID* ppvResult); | |
26270 | HRESULT __attribute__((__stdcall__)) CoGetObject(LPCWSTR pszName, BIND_OPTS *pBindOptions, const IID* const riid, void **ppv); | |
26271 | HRESULT __attribute__((__stdcall__)) CreateAntiMoniker(LPMONIKER * ppmk); | |
26272 | HRESULT __attribute__((__stdcall__)) CreateBindCtx(DWORD reserved, LPBC* ppbc); | |
26273 | HRESULT __attribute__((__stdcall__)) CreateClassMoniker(const CLSID* const rclsid, LPMONIKER* ppmk); | |
26274 | HRESULT __attribute__((__stdcall__)) CreateFileMoniker(LPCOLESTR lpszPathName, LPMONIKER* ppmk); | |
26275 | HRESULT __attribute__((__stdcall__)) CreateGenericComposite(LPMONIKER pmkFirst, LPMONIKER pmkRest, LPMONIKER* ppmkComposite); | |
26276 | HRESULT __attribute__((__stdcall__)) CreateItemMoniker(LPCOLESTR lpszDelim, LPCOLESTR lpszItem, LPMONIKER* ppmk); | |
26277 | HRESULT __attribute__((__stdcall__)) CreateObjrefMoniker(LPUNKNOWN punk, LPMONIKER * ppmk); | |
26278 | HRESULT __attribute__((__stdcall__)) CreatePointerMoniker(LPUNKNOWN punk, LPMONIKER * ppmk); | |
26279 | HRESULT __attribute__((__stdcall__)) GetClassFile(LPCOLESTR filePathName,CLSID *pclsid); | |
26280 | HRESULT __attribute__((__stdcall__)) GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot); | |
26281 | HRESULT __attribute__((__stdcall__)) MkParseDisplayName(LPBC pbc, LPCOLESTR szUserName, ULONG * pchEaten, LPMONIKER * ppmk); | |
26282 | HRESULT __attribute__((__stdcall__)) MonikerCommonPrefixWith(IMoniker* pmkThis,IMoniker* pmkOther,IMoniker** ppmkCommon); | |
26283 | HRESULT __attribute__((__stdcall__)) MonikerRelativePathTo(LPMONIKER pmkSrc, LPMONIKER pmkDest, LPMONIKER * ppmkRelPath, BOOL dwReserved); | |
26284 | # 491 "../../../include/objbase.h" | |
26285 | typedef struct tagSTGOPTIONS | |
26286 | { | |
26287 | USHORT usVersion; | |
26288 | USHORT reserved; | |
26289 | ULONG ulSectorSize; | |
26290 | const WCHAR* pwcsTemplateFile; | |
26291 | } STGOPTIONS; | |
26292 | ||
26293 | HRESULT __attribute__((__stdcall__)) StgCreateDocfile(LPCOLESTR pwcsName,DWORD grfMode,DWORD reserved,IStorage **ppstgOpen); | |
26294 | HRESULT __attribute__((__stdcall__)) StgCreateStorageEx(const WCHAR*,DWORD,DWORD,DWORD,STGOPTIONS*,void*,const IID* const,void**); | |
26295 | HRESULT __attribute__((__stdcall__)) StgIsStorageFile(LPCOLESTR fn); | |
26296 | HRESULT __attribute__((__stdcall__)) StgIsStorageILockBytes(ILockBytes *plkbyt); | |
26297 | HRESULT __attribute__((__stdcall__)) StgOpenStorage(const OLECHAR* pwcsName,IStorage* pstgPriority,DWORD grfMode,SNB snbExclude,DWORD reserved,IStorage**ppstgOpen); | |
26298 | HRESULT __attribute__((__stdcall__)) StgOpenStorageEx(const WCHAR* pwcwName,DWORD grfMode,DWORD stgfmt,DWORD grfAttrs,STGOPTIONS *pStgOptions, void *reserved, const IID* const riid, void **ppObjectOpen); | |
26299 | ||
26300 | HRESULT __attribute__((__stdcall__)) StgCreateDocfileOnILockBytes(ILockBytes *plkbyt,DWORD grfMode, DWORD reserved, IStorage** ppstgOpen); | |
26301 | HRESULT __attribute__((__stdcall__)) StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen); | |
26302 | HRESULT __attribute__((__stdcall__)) StgSetTimes( OLECHAR const *lpszName, FILETIME const *pctime, FILETIME const *patime, FILETIME const *pmtime); | |
26303 | ||
26304 | ||
26305 | ||
26306 | ||
26307 | ||
26308 | ||
26309 | # 1 "../../../include/propidl.h" 1 | |
26310 | ||
26311 | # 1 "../../../include/rpc.h" 1 | |
26312 | # 3 "../../../include/propidl.h" 2 | |
26313 | # 1 "../../../include/rpcndr.h" 1 | |
26314 | # 4 "../../../include/propidl.h" 2 | |
26315 | ||
26316 | ||
26317 | ||
26318 | ||
26319 | ||
26320 | ||
26321 | # 1 "../../../include/objidl.h" 1 | |
26322 | ||
26323 | # 1 "../../../include/rpc.h" 1 | |
26324 | # 3 "../../../include/objidl.h" 2 | |
26325 | # 1 "../../../include/rpcndr.h" 1 | |
26326 | # 4 "../../../include/objidl.h" 2 | |
26327 | # 11 "../../../include/propidl.h" 2 | |
26328 | # 1 "../../../include/oaidl.h" 1 | |
26329 | ||
26330 | # 1 "../../../include/rpc.h" 1 | |
26331 | # 3 "../../../include/oaidl.h" 2 | |
26332 | # 1 "../../../include/rpcndr.h" 1 | |
26333 | # 4 "../../../include/oaidl.h" 2 | |
26334 | ||
26335 | ||
26336 | ||
26337 | ||
26338 | ||
26339 | ||
26340 | # 1 "../../../include/objidl.h" 1 | |
26341 | ||
26342 | # 1 "../../../include/rpc.h" 1 | |
26343 | # 3 "../../../include/objidl.h" 2 | |
26344 | # 1 "../../../include/rpcndr.h" 1 | |
26345 | # 4 "../../../include/objidl.h" 2 | |
26346 | # 11 "../../../include/oaidl.h" 2 | |
26347 | ||
26348 | ||
26349 | typedef struct IDispatch IDispatch; | |
26350 | ||
26351 | ||
26352 | ||
26353 | ||
26354 | typedef struct ITypeInfo ITypeInfo; | |
26355 | ||
26356 | ||
26357 | ||
26358 | ||
26359 | typedef struct ITypeLib ITypeLib; | |
26360 | ||
26361 | ||
26362 | ||
26363 | ||
26364 | typedef struct IRecordInfo IRecordInfo; | |
26365 | ||
26366 | ||
26367 | typedef CY CURRENCY; | |
26368 | typedef struct tagSAFEARRAYBOUND { | |
26369 | ULONG cElements; | |
26370 | LONG lLbound; | |
26371 | } SAFEARRAYBOUND; | |
26372 | typedef struct tagSAFEARRAYBOUND *LPSAFEARRAYBOUND; | |
26373 | typedef struct _wireVARIANT *wireVARIANT; | |
26374 | typedef struct _wireBRECORD *wireBRECORD; | |
26375 | typedef struct _wireSAFEARR_BSTR { | |
26376 | ULONG Size; | |
26377 | wireBSTR *aBstr; | |
26378 | } SAFEARR_BSTR; | |
26379 | typedef struct _wireSAFEARR_UNKNOWN { | |
26380 | ULONG Size; | |
26381 | IUnknown **apUnknown; | |
26382 | } SAFEARR_UNKNOWN; | |
26383 | typedef struct _wireSAFEARR_DISPATCH { | |
26384 | ULONG Size; | |
26385 | IDispatch **apDispatch; | |
26386 | } SAFEARR_DISPATCH; | |
26387 | typedef struct _wireSAFEARR_VARIANT { | |
26388 | ULONG Size; | |
26389 | wireVARIANT *aVariant; | |
26390 | } SAFEARR_VARIANT; | |
26391 | typedef struct _wireSAFEARR_BRECORD { | |
26392 | ULONG Size; | |
26393 | wireBRECORD *aRecord; | |
26394 | } SAFEARR_BRECORD; | |
26395 | typedef struct _wireSAFEARR_HAVEIID { | |
26396 | ULONG Size; | |
26397 | IUnknown **apUnknown; | |
26398 | IID iid; | |
26399 | } SAFEARR_HAVEIID; | |
26400 | typedef enum tagSF_TYPE { | |
26401 | SF_ERROR = VT_ERROR, | |
26402 | SF_I1 = VT_I1, | |
26403 | SF_I2 = VT_I2, | |
26404 | SF_I4 = VT_I4, | |
26405 | SF_I8 = VT_I8, | |
26406 | SF_BSTR = VT_BSTR, | |
26407 | SF_UNKNOWN = VT_UNKNOWN, | |
26408 | SF_DISPATCH = VT_DISPATCH, | |
26409 | SF_VARIANT = VT_VARIANT, | |
26410 | SF_RECORD = VT_RECORD, | |
26411 | SF_HAVEIID = VT_UNKNOWN | VT_RESERVED | |
26412 | } SF_TYPE; | |
26413 | typedef struct _wireSAFEARRAY_UNION { | |
26414 | ULONG sfType; | |
26415 | union { | |
26416 | SAFEARR_BSTR BstrStr; | |
26417 | SAFEARR_UNKNOWN UnknownStr; | |
26418 | SAFEARR_DISPATCH DispatchStr; | |
26419 | SAFEARR_VARIANT VariantStr; | |
26420 | SAFEARR_BRECORD RecordStr; | |
26421 | SAFEARR_HAVEIID HaveIidStr; | |
26422 | BYTE_SIZEDARR ByteStr; | |
26423 | WORD_SIZEDARR WordStr; | |
26424 | DWORD_SIZEDARR LongStr; | |
26425 | HYPER_SIZEDARR HyperStr; | |
26426 | } u; | |
26427 | } SAFEARRAYUNION; | |
26428 | typedef struct _wireSAFEARRAY { | |
26429 | USHORT cDims; | |
26430 | USHORT fFeatures; | |
26431 | ULONG cbElements; | |
26432 | ULONG cLocks; | |
26433 | SAFEARRAYUNION uArrayStructs; | |
26434 | SAFEARRAYBOUND rgsabound[1]; | |
26435 | } *wireSAFEARRAY; | |
26436 | typedef wireSAFEARRAY *wirePSAFEARRAY; | |
26437 | typedef struct tagSAFEARRAY { | |
26438 | USHORT cDims; | |
26439 | USHORT fFeatures; | |
26440 | ULONG cbElements; | |
26441 | ULONG cLocks; | |
26442 | PVOID pvData; | |
26443 | SAFEARRAYBOUND rgsabound[1]; | |
26444 | } SAFEARRAY; | |
26445 | typedef SAFEARRAY *LPSAFEARRAY; | |
26446 | # 151 "../../../include/oaidl.h" | |
26447 | typedef struct tagVARIANT VARIANT; | |
26448 | struct tagVARIANT { | |
26449 | union { | |
26450 | struct __tagVARIANT { | |
26451 | VARTYPE vt; | |
26452 | WORD wReserved1; | |
26453 | WORD wReserved2; | |
26454 | WORD wReserved3; | |
26455 | union { | |
26456 | signed char cVal; | |
26457 | USHORT uiVal; | |
26458 | ULONG ulVal; | |
26459 | INT intVal; | |
26460 | UINT uintVal; | |
26461 | BYTE bVal; | |
26462 | SHORT iVal; | |
26463 | LONG lVal; | |
26464 | FLOAT fltVal; | |
26465 | DOUBLE dblVal; | |
26466 | VARIANT_BOOL boolVal; | |
26467 | SCODE scode; | |
26468 | DATE date; | |
26469 | BSTR bstrVal; | |
26470 | CY cyVal; | |
26471 | IUnknown *punkVal; | |
26472 | IDispatch *pdispVal; | |
26473 | SAFEARRAY *parray; | |
26474 | LONGLONG llVal; | |
26475 | ULONGLONG ullVal; | |
26476 | signed char *pcVal; | |
26477 | USHORT *puiVal; | |
26478 | ULONG *pulVal; | |
26479 | INT *pintVal; | |
26480 | UINT *puintVal; | |
26481 | BYTE *pbVal; | |
26482 | SHORT *piVal; | |
26483 | LONG *plVal; | |
26484 | FLOAT *pfltVal; | |
26485 | DOUBLE *pdblVal; | |
26486 | VARIANT_BOOL *pboolVal; | |
26487 | SCODE *pscode; | |
26488 | DATE *pdate; | |
26489 | BSTR *pbstrVal; | |
26490 | VARIANT *pvarVal; | |
26491 | PVOID byref; | |
26492 | CY *pcyVal; | |
26493 | DECIMAL *pdecVal; | |
26494 | IUnknown **ppunkVal; | |
26495 | IDispatch **ppdispVal; | |
26496 | SAFEARRAY **pparray; | |
26497 | LONGLONG *pllVal; | |
26498 | ULONGLONG *pullVal; | |
26499 | struct __tagBRECORD { | |
26500 | PVOID pvRecord; | |
26501 | IRecordInfo *pRecInfo; | |
26502 | } brecVal; | |
26503 | } n3; | |
26504 | } n2; | |
26505 | DECIMAL decVal; | |
26506 | } n1; | |
26507 | }; | |
26508 | ||
26509 | typedef VARIANT *LPVARIANT; | |
26510 | typedef VARIANT VARIANTARG; | |
26511 | typedef VARIANTARG *LPVARIANTARG; | |
26512 | struct _wireBRECORD { | |
26513 | ULONG fFlags; | |
26514 | ULONG clSize; | |
26515 | IRecordInfo *pRecInfo; | |
26516 | byte *pRecord; | |
26517 | }; | |
26518 | ||
26519 | struct _wireVARIANT { | |
26520 | DWORD clSize; | |
26521 | DWORD rpcReserved; | |
26522 | USHORT vt; | |
26523 | USHORT wReserved1; | |
26524 | USHORT wReserved2; | |
26525 | USHORT wReserved3; | |
26526 | union { | |
26527 | signed char cVal; | |
26528 | USHORT uiVal; | |
26529 | ULONG ulVal; | |
26530 | INT intVal; | |
26531 | UINT uintVal; | |
26532 | BYTE bVal; | |
26533 | SHORT iVal; | |
26534 | LONG lVal; | |
26535 | FLOAT fltVal; | |
26536 | DOUBLE dblVal; | |
26537 | VARIANT_BOOL boolVal; | |
26538 | SCODE scode; | |
26539 | DATE date; | |
26540 | wireBSTR bstrVal; | |
26541 | CY cyVal; | |
26542 | DECIMAL decVal; | |
26543 | IUnknown *punkVal; | |
26544 | IDispatch *pdispVal; | |
26545 | wireSAFEARRAY parray; | |
26546 | signed char *pcVal; | |
26547 | USHORT *puiVal; | |
26548 | ULONG *pulVal; | |
26549 | INT *pintVal; | |
26550 | UINT *puintVal; | |
26551 | BYTE *pbVal; | |
26552 | SHORT *piVal; | |
26553 | LONG *plVal; | |
26554 | FLOAT *pfltVal; | |
26555 | DOUBLE *pdblVal; | |
26556 | VARIANT_BOOL *pboolVal; | |
26557 | SCODE *pscode; | |
26558 | DATE *pdate; | |
26559 | wireBSTR *pbstrVal; | |
26560 | wireVARIANT *pvarVal; | |
26561 | CY *pcyVal; | |
26562 | DECIMAL *pdecVal; | |
26563 | IUnknown **ppunkVal; | |
26564 | IDispatch **ppdispVal; | |
26565 | wireSAFEARRAY *pparray; | |
26566 | wireBRECORD brecVal; | |
26567 | } ; | |
26568 | }; | |
26569 | ||
26570 | typedef LONG DISPID; | |
26571 | typedef DWORD HREFTYPE; | |
26572 | typedef DISPID MEMBERID; | |
26573 | typedef enum tagTYPEKIND { | |
26574 | TKIND_ENUM = 0, | |
26575 | TKIND_RECORD = 1, | |
26576 | TKIND_MODULE = 2, | |
26577 | TKIND_INTERFACE = 3, | |
26578 | TKIND_DISPATCH = 4, | |
26579 | TKIND_COCLASS = 5, | |
26580 | TKIND_ALIAS = 6, | |
26581 | TKIND_UNION = 7, | |
26582 | TKIND_MAX = 8 | |
26583 | } TYPEKIND; | |
26584 | typedef struct tagTYPEDESC { | |
26585 | union { | |
26586 | struct tagTYPEDESC *lptdesc; | |
26587 | struct tagARRAYDESC *lpadesc; | |
26588 | HREFTYPE hreftype; | |
26589 | } ; | |
26590 | VARTYPE vt; | |
26591 | } TYPEDESC; | |
26592 | typedef struct tagARRAYDESC { | |
26593 | TYPEDESC tdescElem; | |
26594 | USHORT cDims; | |
26595 | SAFEARRAYBOUND rgbounds[1]; | |
26596 | } ARRAYDESC; | |
26597 | typedef struct tagPARAMDESCEX { | |
26598 | ULONG cBytes; | |
26599 | VARIANTARG varDefaultValue; | |
26600 | } PARAMDESCEX; | |
26601 | typedef struct tagPARAMDESCEX *LPPARAMDESCEX; | |
26602 | typedef struct tagPARAMDESC { | |
26603 | LPPARAMDESCEX pparamdescex; | |
26604 | USHORT wParamFlags; | |
26605 | } PARAMDESC; | |
26606 | typedef struct tagPARAMDESC *LPPARAMDESC; | |
26607 | # 327 "../../../include/oaidl.h" | |
26608 | typedef struct tagIDLDESC { | |
26609 | ULONG dwReserved; | |
26610 | USHORT wIDLFlags; | |
26611 | } IDLDESC; | |
26612 | typedef struct tagIDLDESC *LPIDLDESC; | |
26613 | # 348 "../../../include/oaidl.h" | |
26614 | typedef struct tagELEMDESC { | |
26615 | TYPEDESC tdesc; | |
26616 | union { | |
26617 | IDLDESC idldesc; | |
26618 | PARAMDESC paramdesc; | |
26619 | } ; | |
26620 | } ELEMDESC, *LPELEMDESC; | |
26621 | ||
26622 | typedef struct tagTYPEATTR { | |
26623 | GUID guid; | |
26624 | LCID lcid; | |
26625 | DWORD dwReserved; | |
26626 | MEMBERID memidConstructor; | |
26627 | MEMBERID memidDestructor; | |
26628 | LPOLESTR lpstrSchema; | |
26629 | ULONG cbSizeInstance; | |
26630 | TYPEKIND typekind; | |
26631 | WORD cFuncs; | |
26632 | WORD cVars; | |
26633 | WORD cImplTypes; | |
26634 | WORD cbSizeVft; | |
26635 | WORD cbAlignment; | |
26636 | WORD wTypeFlags; | |
26637 | WORD wMajorVerNum; | |
26638 | WORD wMinorVerNum; | |
26639 | TYPEDESC tdescAlias; | |
26640 | IDLDESC idldescType; | |
26641 | } TYPEATTR; | |
26642 | typedef struct tagTYPEATTR *LPTYPEATTR; | |
26643 | typedef struct tagDISPPARAMS { | |
26644 | VARIANTARG *rgvarg; | |
26645 | DISPID *rgdispidNamedArgs; | |
26646 | UINT cArgs; | |
26647 | UINT cNamedArgs; | |
26648 | } DISPPARAMS; | |
26649 | # 396 "../../../include/oaidl.h" | |
26650 | typedef struct tagEXCEPINFO { | |
26651 | WORD wCode; | |
26652 | WORD wReserved; | |
26653 | BSTR bstrSource; | |
26654 | BSTR bstrDescription; | |
26655 | BSTR bstrHelpFile; | |
26656 | DWORD dwHelpContext; | |
26657 | PVOID pvReserved; | |
26658 | HRESULT (__attribute__((__stdcall__)) *pfnDeferredFillIn)(struct tagEXCEPINFO *); | |
26659 | SCODE scode; | |
26660 | } EXCEPINFO, *LPEXCEPINFO; | |
26661 | ||
26662 | typedef enum tagCALLCONV { | |
26663 | CC_FASTCALL = 0, | |
26664 | CC_CDECL = 1, | |
26665 | CC_MSCPASCAL = 2, | |
26666 | CC_PASCAL = CC_MSCPASCAL, | |
26667 | CC_MACPASCAL = 3, | |
26668 | CC_STDCALL = 4, | |
26669 | CC_FPFASTCALL = 5, | |
26670 | CC_SYSCALL = 6, | |
26671 | CC_MPWCDECL = 7, | |
26672 | CC_MPWPASCAL = 8, | |
26673 | CC_MAX = 9 | |
26674 | } CALLCONV; | |
26675 | typedef enum tagFUNCKIND { | |
26676 | FUNC_VIRTUAL = 0, | |
26677 | FUNC_PUREVIRTUAL = 1, | |
26678 | FUNC_NONVIRTUAL = 2, | |
26679 | FUNC_STATIC = 3, | |
26680 | FUNC_DISPATCH = 4 | |
26681 | } FUNCKIND; | |
26682 | typedef enum tagINVOKEKIND { | |
26683 | INVOKE_FUNC = 1, | |
26684 | INVOKE_PROPERTYGET = 2, | |
26685 | INVOKE_PROPERTYPUT = 4, | |
26686 | INVOKE_PROPERTYPUTREF = 8 | |
26687 | } INVOKEKIND; | |
26688 | typedef struct tagFUNCDESC { | |
26689 | MEMBERID memid; | |
26690 | SCODE *lprgscode; | |
26691 | ELEMDESC *lprgelemdescParam; | |
26692 | FUNCKIND funckind; | |
26693 | INVOKEKIND invkind; | |
26694 | CALLCONV callconv; | |
26695 | SHORT cParams; | |
26696 | SHORT cParamsOpt; | |
26697 | SHORT oVft; | |
26698 | SHORT cScodes; | |
26699 | ELEMDESC elemdescFunc; | |
26700 | WORD wFuncFlags; | |
26701 | } FUNCDESC; | |
26702 | typedef struct tagFUNCDESC *LPFUNCDESC; | |
26703 | typedef enum tagVARKIND { | |
26704 | VAR_PERINSTANCE = 0, | |
26705 | VAR_STATIC = 1, | |
26706 | VAR_CONST = 2, | |
26707 | VAR_DISPATCH = 3 | |
26708 | } VARKIND; | |
26709 | # 463 "../../../include/oaidl.h" | |
26710 | typedef struct tagVARDESC { | |
26711 | MEMBERID memid; | |
26712 | LPOLESTR lpstrSchema; | |
26713 | union { | |
26714 | ULONG oInst; | |
26715 | VARIANT *lpvarValue; | |
26716 | } ; | |
26717 | ELEMDESC elemdescVar; | |
26718 | WORD wVarFlags; | |
26719 | VARKIND varkind; | |
26720 | } VARDESC; | |
26721 | typedef struct tagVARDESC *LPVARDESC; | |
26722 | typedef enum tagTYPEFLAGS { | |
26723 | TYPEFLAG_FAPPOBJECT = 0x1, | |
26724 | TYPEFLAG_FCANCREATE = 0x2, | |
26725 | TYPEFLAG_FLICENSED = 0x4, | |
26726 | TYPEFLAG_FPREDECLID = 0x8, | |
26727 | TYPEFLAG_FHIDDEN = 0x10, | |
26728 | TYPEFLAG_FCONTROL = 0x20, | |
26729 | TYPEFLAG_FDUAL = 0x40, | |
26730 | TYPEFLAG_FNONEXTENSIBLE = 0x80, | |
26731 | TYPEFLAG_FOLEAUTOMATION = 0x100, | |
26732 | TYPEFLAG_FRESTRICTED = 0x200, | |
26733 | TYPEFLAG_FAGGREGATABLE = 0x400, | |
26734 | TYPEFLAG_FREPLACEABLE = 0x800, | |
26735 | TYPEFLAG_FDISPATCHABLE = 0x1000, | |
26736 | TYPEFLAG_FREVERSEBIND = 0x2000, | |
26737 | TYPEFLAG_FPROXY = 0x4000 | |
26738 | } TYPEFLAGS; | |
26739 | typedef enum tagFUNCFLAGS { | |
26740 | FUNCFLAG_FRESTRICTED = 0x1, | |
26741 | FUNCFLAG_FSOURCE = 0x2, | |
26742 | FUNCFLAG_FBINDABLE = 0x4, | |
26743 | FUNCFLAG_FREQUESTEDIT = 0x8, | |
26744 | FUNCFLAG_FDISPLAYBIND = 0x10, | |
26745 | FUNCFLAG_FDEFAULTBIND = 0x20, | |
26746 | FUNCFLAG_FHIDDEN = 0x40, | |
26747 | FUNCFLAG_FUSESGETLASTERROR = 0x80, | |
26748 | FUNCFLAG_FDEFAULTCOLLELEM = 0x100, | |
26749 | FUNCFLAG_FUIDEFAULT = 0x200, | |
26750 | FUNCFLAG_FNONBROWSABLE = 0x400, | |
26751 | FUNCFLAG_FREPLACEABLE = 0x800, | |
26752 | FUNCFLAG_FIMMEDIATEBIND = 0x1000 | |
26753 | } FUNCFLAGS; | |
26754 | typedef enum tagVARFLAGS { | |
26755 | VARFLAG_FREADONLY = 0x1, | |
26756 | VARFLAG_FSOURCE = 0x2, | |
26757 | VARFLAG_FBINDABLE = 0x4, | |
26758 | VARFLAG_FREQUESTEDIT = 0x8, | |
26759 | VARFLAG_FDISPLAYBIND = 0x10, | |
26760 | VARFLAG_FDEFAULTBIND = 0x20, | |
26761 | VARFLAG_FHIDDEN = 0x40, | |
26762 | VARFLAG_FRESTRICTED = 0x80, | |
26763 | VARFLAG_FDEFAULTCOLLELEM = 0x100, | |
26764 | VARFLAG_FUIDEFAULT = 0x200, | |
26765 | VARFLAG_FNONBROWSABLE = 0x400, | |
26766 | VARFLAG_FREPLACEABLE = 0x800, | |
26767 | VARFLAG_FIMMEDIATEBIND = 0x1000 | |
26768 | } VARFLAGS; | |
26769 | typedef struct tagCLEANLOCALSTORAGE { | |
26770 | IUnknown *pInterface; | |
26771 | PVOID pStorage; | |
26772 | DWORD flags; | |
26773 | } CLEANLOCALSTORAGE; | |
26774 | typedef struct tagCUSTDATAITEM { | |
26775 | GUID guid; | |
26776 | VARIANTARG varValue; | |
26777 | } CUSTDATAITEM; | |
26778 | typedef struct tagCUSTDATAITEM *LPCUSTDATAITEM; | |
26779 | typedef struct tagCUSTDATA { | |
26780 | DWORD cCustData; | |
26781 | LPCUSTDATAITEM prgCustData; | |
26782 | } CUSTDATA; | |
26783 | typedef struct tagCUSTDATA *LPCUSTDATA; | |
26784 | void * __attribute__((__stdcall__)) MIDL_user_allocate(size_t); | |
26785 | void __attribute__((__stdcall__)) MIDL_user_free(void *); | |
26786 | # 549 "../../../include/oaidl.h" | |
26787 | typedef IDispatch *LPDISPATCH; | |
26788 | # 572 "../../../include/oaidl.h" | |
26789 | extern const GUID IID_IDispatch __attribute__((visibility ("hidden"))); | |
26790 | # 603 "../../../include/oaidl.h" | |
26791 | typedef struct IDispatchVtbl { | |
26792 | ||
26793 | ||
26794 | ||
26795 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
26796 | IDispatch* This, | |
26797 | const IID* const riid, | |
26798 | void** ppvObject); | |
26799 | ||
26800 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
26801 | IDispatch* This); | |
26802 | ||
26803 | ULONG (__attribute__((__stdcall__)) *Release)( | |
26804 | IDispatch* This); | |
26805 | ||
26806 | ||
26807 | HRESULT (__attribute__((__stdcall__)) *GetTypeInfoCount)( | |
26808 | IDispatch* This, | |
26809 | UINT* pctinfo); | |
26810 | ||
26811 | HRESULT (__attribute__((__stdcall__)) *GetTypeInfo)( | |
26812 | IDispatch* This, | |
26813 | UINT iTInfo, | |
26814 | LCID lcid, | |
26815 | ITypeInfo** ppTInfo); | |
26816 | ||
26817 | HRESULT (__attribute__((__stdcall__)) *GetIDsOfNames)( | |
26818 | IDispatch* This, | |
26819 | const IID* const riid, | |
26820 | LPOLESTR* rgszNames, | |
26821 | UINT cNames, | |
26822 | LCID lcid, | |
26823 | DISPID* rgDispId); | |
26824 | ||
26825 | HRESULT (__attribute__((__stdcall__)) *Invoke)( | |
26826 | IDispatch* This, | |
26827 | DISPID dispIdMember, | |
26828 | const IID* const riid, | |
26829 | LCID lcid, | |
26830 | WORD wFlags, | |
26831 | DISPPARAMS* pDispParams, | |
26832 | VARIANT* pVarResult, | |
26833 | EXCEPINFO* pExcepInfo, | |
26834 | UINT* puArgErr); | |
26835 | ||
26836 | ||
26837 | } IDispatchVtbl; | |
26838 | struct IDispatch { | |
26839 | const IDispatchVtbl* lpVtbl; | |
26840 | }; | |
26841 | # 668 "../../../include/oaidl.h" | |
26842 | HRESULT __attribute__((__stdcall__)) IDispatch_GetTypeInfoCount_Proxy( | |
26843 | IDispatch* This, | |
26844 | UINT* pctinfo); | |
26845 | void __attribute__((__stdcall__)) IDispatch_GetTypeInfoCount_Stub( | |
26846 | IRpcStubBuffer* This, | |
26847 | IRpcChannelBuffer* pRpcChannelBuffer, | |
26848 | PRPC_MESSAGE pRpcMessage, | |
26849 | DWORD* pdwStubPhase); | |
26850 | HRESULT __attribute__((__stdcall__)) IDispatch_GetTypeInfo_Proxy( | |
26851 | IDispatch* This, | |
26852 | UINT iTInfo, | |
26853 | LCID lcid, | |
26854 | ITypeInfo** ppTInfo); | |
26855 | void __attribute__((__stdcall__)) IDispatch_GetTypeInfo_Stub( | |
26856 | IRpcStubBuffer* This, | |
26857 | IRpcChannelBuffer* pRpcChannelBuffer, | |
26858 | PRPC_MESSAGE pRpcMessage, | |
26859 | DWORD* pdwStubPhase); | |
26860 | HRESULT __attribute__((__stdcall__)) IDispatch_GetIDsOfNames_Proxy( | |
26861 | IDispatch* This, | |
26862 | const IID* const riid, | |
26863 | LPOLESTR* rgszNames, | |
26864 | UINT cNames, | |
26865 | LCID lcid, | |
26866 | DISPID* rgDispId); | |
26867 | void __attribute__((__stdcall__)) IDispatch_GetIDsOfNames_Stub( | |
26868 | IRpcStubBuffer* This, | |
26869 | IRpcChannelBuffer* pRpcChannelBuffer, | |
26870 | PRPC_MESSAGE pRpcMessage, | |
26871 | DWORD* pdwStubPhase); | |
26872 | HRESULT __attribute__((__stdcall__)) IDispatch_RemoteInvoke_Proxy( | |
26873 | IDispatch* This, | |
26874 | DISPID dispIdMember, | |
26875 | const IID* const riid, | |
26876 | LCID lcid, | |
26877 | DWORD dwFlags, | |
26878 | DISPPARAMS* pDispParams, | |
26879 | VARIANT* pVarResult, | |
26880 | EXCEPINFO* pExcepInfo, | |
26881 | UINT* pArgErr, | |
26882 | UINT cVarRef, | |
26883 | UINT* rgVarRefIdx, | |
26884 | VARIANTARG* rgVarRef); | |
26885 | void __attribute__((__stdcall__)) IDispatch_RemoteInvoke_Stub( | |
26886 | IRpcStubBuffer* This, | |
26887 | IRpcChannelBuffer* pRpcChannelBuffer, | |
26888 | PRPC_MESSAGE pRpcMessage, | |
26889 | DWORD* pdwStubPhase); | |
26890 | HRESULT __attribute__((__stdcall__)) IDispatch_Invoke_Proxy( | |
26891 | IDispatch* This, | |
26892 | DISPID dispIdMember, | |
26893 | const IID* const riid, | |
26894 | LCID lcid, | |
26895 | WORD wFlags, | |
26896 | DISPPARAMS* pDispParams, | |
26897 | VARIANT* pVarResult, | |
26898 | EXCEPINFO* pExcepInfo, | |
26899 | UINT* puArgErr); | |
26900 | HRESULT __attribute__((__stdcall__)) IDispatch_Invoke_Stub( | |
26901 | IDispatch* This, | |
26902 | DISPID dispIdMember, | |
26903 | const IID* const riid, | |
26904 | LCID lcid, | |
26905 | DWORD dwFlags, | |
26906 | DISPPARAMS* pDispParams, | |
26907 | VARIANT* pVarResult, | |
26908 | EXCEPINFO* pExcepInfo, | |
26909 | UINT* pArgErr, | |
26910 | UINT cVarRef, | |
26911 | UINT* rgVarRefIdx, | |
26912 | VARIANTARG* rgVarRef); | |
26913 | ||
26914 | ||
26915 | ||
26916 | ||
26917 | ||
26918 | typedef struct IEnumVARIANT IEnumVARIANT; | |
26919 | ||
26920 | ||
26921 | typedef IEnumVARIANT *LPENUMVARIANT; | |
26922 | ||
26923 | ||
26924 | ||
26925 | ||
26926 | ||
26927 | ||
26928 | extern const GUID IID_IEnumVARIANT __attribute__((visibility ("hidden"))); | |
26929 | # 774 "../../../include/oaidl.h" | |
26930 | typedef struct IEnumVARIANTVtbl { | |
26931 | ||
26932 | ||
26933 | ||
26934 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
26935 | IEnumVARIANT* This, | |
26936 | const IID* const riid, | |
26937 | void** ppvObject); | |
26938 | ||
26939 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
26940 | IEnumVARIANT* This); | |
26941 | ||
26942 | ULONG (__attribute__((__stdcall__)) *Release)( | |
26943 | IEnumVARIANT* This); | |
26944 | ||
26945 | ||
26946 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
26947 | IEnumVARIANT* This, | |
26948 | ULONG celt, | |
26949 | VARIANT* rgVar, | |
26950 | ULONG* pCeltFetched); | |
26951 | ||
26952 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
26953 | IEnumVARIANT* This, | |
26954 | ULONG celt); | |
26955 | ||
26956 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
26957 | IEnumVARIANT* This); | |
26958 | ||
26959 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
26960 | IEnumVARIANT* This, | |
26961 | IEnumVARIANT** ppEnum); | |
26962 | ||
26963 | ||
26964 | } IEnumVARIANTVtbl; | |
26965 | struct IEnumVARIANT { | |
26966 | const IEnumVARIANTVtbl* lpVtbl; | |
26967 | }; | |
26968 | # 827 "../../../include/oaidl.h" | |
26969 | HRESULT __attribute__((__stdcall__)) IEnumVARIANT_RemoteNext_Proxy( | |
26970 | IEnumVARIANT* This, | |
26971 | ULONG celt, | |
26972 | VARIANT* rgVar, | |
26973 | ULONG* pCeltFetched); | |
26974 | void __attribute__((__stdcall__)) IEnumVARIANT_RemoteNext_Stub( | |
26975 | IRpcStubBuffer* This, | |
26976 | IRpcChannelBuffer* pRpcChannelBuffer, | |
26977 | PRPC_MESSAGE pRpcMessage, | |
26978 | DWORD* pdwStubPhase); | |
26979 | HRESULT __attribute__((__stdcall__)) IEnumVARIANT_Next_Proxy( | |
26980 | IEnumVARIANT* This, | |
26981 | ULONG celt, | |
26982 | VARIANT* rgVar, | |
26983 | ULONG* pCeltFetched); | |
26984 | HRESULT __attribute__((__stdcall__)) IEnumVARIANT_Next_Stub( | |
26985 | IEnumVARIANT* This, | |
26986 | ULONG celt, | |
26987 | VARIANT* rgVar, | |
26988 | ULONG* pCeltFetched); | |
26989 | HRESULT __attribute__((__stdcall__)) IEnumVARIANT_Skip_Proxy( | |
26990 | IEnumVARIANT* This, | |
26991 | ULONG celt); | |
26992 | void __attribute__((__stdcall__)) IEnumVARIANT_Skip_Stub( | |
26993 | IRpcStubBuffer* This, | |
26994 | IRpcChannelBuffer* pRpcChannelBuffer, | |
26995 | PRPC_MESSAGE pRpcMessage, | |
26996 | DWORD* pdwStubPhase); | |
26997 | HRESULT __attribute__((__stdcall__)) IEnumVARIANT_Reset_Proxy( | |
26998 | IEnumVARIANT* This); | |
26999 | void __attribute__((__stdcall__)) IEnumVARIANT_Reset_Stub( | |
27000 | IRpcStubBuffer* This, | |
27001 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27002 | PRPC_MESSAGE pRpcMessage, | |
27003 | DWORD* pdwStubPhase); | |
27004 | HRESULT __attribute__((__stdcall__)) IEnumVARIANT_Clone_Proxy( | |
27005 | IEnumVARIANT* This, | |
27006 | IEnumVARIANT** ppEnum); | |
27007 | void __attribute__((__stdcall__)) IEnumVARIANT_Clone_Stub( | |
27008 | IRpcStubBuffer* This, | |
27009 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27010 | PRPC_MESSAGE pRpcMessage, | |
27011 | DWORD* pdwStubPhase); | |
27012 | ||
27013 | ||
27014 | ||
27015 | ||
27016 | ||
27017 | typedef struct ITypeComp ITypeComp; | |
27018 | ||
27019 | ||
27020 | typedef ITypeComp *LPTYPECOMP; | |
27021 | typedef enum tagDESCKIND { | |
27022 | DESCKIND_NONE = 0, | |
27023 | DESCKIND_FUNCDESC = 1, | |
27024 | DESCKIND_VARDESC = 2, | |
27025 | DESCKIND_TYPECOMP = 3, | |
27026 | DESCKIND_IMPLICITAPPOBJ = 4, | |
27027 | DESCKIND_MAX = 5 | |
27028 | } DESCKIND; | |
27029 | typedef union tagBINDPTR { | |
27030 | FUNCDESC *lpfuncdesc; | |
27031 | VARDESC *lpvardesc; | |
27032 | ITypeComp *lptcomp; | |
27033 | } BINDPTR; | |
27034 | typedef union tagBINDPTR *LPBINDPTR; | |
27035 | ||
27036 | ||
27037 | ||
27038 | ||
27039 | ||
27040 | ||
27041 | extern const GUID IID_ITypeComp __attribute__((visibility ("hidden"))); | |
27042 | # 919 "../../../include/oaidl.h" | |
27043 | typedef struct ITypeCompVtbl { | |
27044 | ||
27045 | ||
27046 | ||
27047 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
27048 | ITypeComp* This, | |
27049 | const IID* const riid, | |
27050 | void** ppvObject); | |
27051 | ||
27052 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
27053 | ITypeComp* This); | |
27054 | ||
27055 | ULONG (__attribute__((__stdcall__)) *Release)( | |
27056 | ITypeComp* This); | |
27057 | ||
27058 | ||
27059 | HRESULT (__attribute__((__stdcall__)) *Bind)( | |
27060 | ITypeComp* This, | |
27061 | LPOLESTR szName, | |
27062 | ULONG lHashVal, | |
27063 | WORD wFlags, | |
27064 | ITypeInfo** ppTInfo, | |
27065 | DESCKIND* pDescKind, | |
27066 | BINDPTR* pBindPtr); | |
27067 | ||
27068 | HRESULT (__attribute__((__stdcall__)) *BindType)( | |
27069 | ITypeComp* This, | |
27070 | LPOLESTR szName, | |
27071 | ULONG lHashVal, | |
27072 | ITypeInfo** ppTInfo, | |
27073 | ITypeComp** ppTComp); | |
27074 | ||
27075 | ||
27076 | } ITypeCompVtbl; | |
27077 | struct ITypeComp { | |
27078 | const ITypeCompVtbl* lpVtbl; | |
27079 | }; | |
27080 | # 969 "../../../include/oaidl.h" | |
27081 | HRESULT __attribute__((__stdcall__)) ITypeComp_RemoteBind_Proxy( | |
27082 | ITypeComp* This, | |
27083 | LPOLESTR szName, | |
27084 | ULONG lHashVal, | |
27085 | WORD wFlags, | |
27086 | ITypeInfo** ppTInfo, | |
27087 | DESCKIND* pDescKind, | |
27088 | LPFUNCDESC* ppFuncDesc, | |
27089 | LPVARDESC* ppVarDesc, | |
27090 | ITypeComp** ppTypeComp, | |
27091 | CLEANLOCALSTORAGE* pDummy); | |
27092 | void __attribute__((__stdcall__)) ITypeComp_RemoteBind_Stub( | |
27093 | IRpcStubBuffer* This, | |
27094 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27095 | PRPC_MESSAGE pRpcMessage, | |
27096 | DWORD* pdwStubPhase); | |
27097 | HRESULT __attribute__((__stdcall__)) ITypeComp_Bind_Proxy( | |
27098 | ITypeComp* This, | |
27099 | LPOLESTR szName, | |
27100 | ULONG lHashVal, | |
27101 | WORD wFlags, | |
27102 | ITypeInfo** ppTInfo, | |
27103 | DESCKIND* pDescKind, | |
27104 | BINDPTR* pBindPtr); | |
27105 | HRESULT __attribute__((__stdcall__)) ITypeComp_Bind_Stub( | |
27106 | ITypeComp* This, | |
27107 | LPOLESTR szName, | |
27108 | ULONG lHashVal, | |
27109 | WORD wFlags, | |
27110 | ITypeInfo** ppTInfo, | |
27111 | DESCKIND* pDescKind, | |
27112 | LPFUNCDESC* ppFuncDesc, | |
27113 | LPVARDESC* ppVarDesc, | |
27114 | ITypeComp** ppTypeComp, | |
27115 | CLEANLOCALSTORAGE* pDummy); | |
27116 | HRESULT __attribute__((__stdcall__)) ITypeComp_RemoteBindType_Proxy( | |
27117 | ITypeComp* This, | |
27118 | LPOLESTR szName, | |
27119 | ULONG lHashVal, | |
27120 | ITypeInfo** ppTInfo); | |
27121 | void __attribute__((__stdcall__)) ITypeComp_RemoteBindType_Stub( | |
27122 | IRpcStubBuffer* This, | |
27123 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27124 | PRPC_MESSAGE pRpcMessage, | |
27125 | DWORD* pdwStubPhase); | |
27126 | HRESULT __attribute__((__stdcall__)) ITypeComp_BindType_Proxy( | |
27127 | ITypeComp* This, | |
27128 | LPOLESTR szName, | |
27129 | ULONG lHashVal, | |
27130 | ITypeInfo** ppTInfo, | |
27131 | ITypeComp** ppTComp); | |
27132 | HRESULT __attribute__((__stdcall__)) ITypeComp_BindType_Stub( | |
27133 | ITypeComp* This, | |
27134 | LPOLESTR szName, | |
27135 | ULONG lHashVal, | |
27136 | ITypeInfo** ppTInfo); | |
27137 | ||
27138 | ||
27139 | ||
27140 | typedef ITypeInfo *LPTYPEINFO; | |
27141 | ||
27142 | ||
27143 | ||
27144 | ||
27145 | ||
27146 | ||
27147 | extern const GUID IID_ITypeInfo __attribute__((visibility ("hidden"))); | |
27148 | # 1128 "../../../include/oaidl.h" | |
27149 | typedef struct ITypeInfoVtbl { | |
27150 | ||
27151 | ||
27152 | ||
27153 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
27154 | ITypeInfo* This, | |
27155 | const IID* const riid, | |
27156 | void** ppvObject); | |
27157 | ||
27158 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
27159 | ITypeInfo* This); | |
27160 | ||
27161 | ULONG (__attribute__((__stdcall__)) *Release)( | |
27162 | ITypeInfo* This); | |
27163 | ||
27164 | ||
27165 | HRESULT (__attribute__((__stdcall__)) *GetTypeAttr)( | |
27166 | ITypeInfo* This, | |
27167 | TYPEATTR** ppTypeAttr); | |
27168 | ||
27169 | HRESULT (__attribute__((__stdcall__)) *GetTypeComp)( | |
27170 | ITypeInfo* This, | |
27171 | ITypeComp** ppTComp); | |
27172 | ||
27173 | HRESULT (__attribute__((__stdcall__)) *GetFuncDesc)( | |
27174 | ITypeInfo* This, | |
27175 | UINT index, | |
27176 | FUNCDESC** ppFuncDesc); | |
27177 | ||
27178 | HRESULT (__attribute__((__stdcall__)) *GetVarDesc)( | |
27179 | ITypeInfo* This, | |
27180 | UINT index, | |
27181 | VARDESC** ppVarDesc); | |
27182 | ||
27183 | HRESULT (__attribute__((__stdcall__)) *GetNames)( | |
27184 | ITypeInfo* This, | |
27185 | MEMBERID memid, | |
27186 | BSTR* rgBstrNames, | |
27187 | UINT cMaxNames, | |
27188 | UINT* pcNames); | |
27189 | ||
27190 | HRESULT (__attribute__((__stdcall__)) *GetRefTypeOfImplType)( | |
27191 | ITypeInfo* This, | |
27192 | UINT index, | |
27193 | HREFTYPE* pRefType); | |
27194 | ||
27195 | HRESULT (__attribute__((__stdcall__)) *GetImplTypeFlags)( | |
27196 | ITypeInfo* This, | |
27197 | UINT index, | |
27198 | INT* pImplTypeFlags); | |
27199 | ||
27200 | HRESULT (__attribute__((__stdcall__)) *GetIDsOfNames)( | |
27201 | ITypeInfo* This, | |
27202 | LPOLESTR* rgszNames, | |
27203 | UINT cNames, | |
27204 | MEMBERID* pMemId); | |
27205 | ||
27206 | HRESULT (__attribute__((__stdcall__)) *Invoke)( | |
27207 | ITypeInfo* This, | |
27208 | PVOID pvInstance, | |
27209 | MEMBERID memid, | |
27210 | WORD wFlags, | |
27211 | DISPPARAMS* pDispParams, | |
27212 | VARIANT* pVarResult, | |
27213 | EXCEPINFO* pExcepInfo, | |
27214 | UINT* puArgErr); | |
27215 | ||
27216 | HRESULT (__attribute__((__stdcall__)) *GetDocumentation)( | |
27217 | ITypeInfo* This, | |
27218 | MEMBERID memid, | |
27219 | BSTR* pBstrName, | |
27220 | BSTR* pBstrDocString, | |
27221 | DWORD* pdwHelpContext, | |
27222 | BSTR* pBstrHelpFile); | |
27223 | ||
27224 | HRESULT (__attribute__((__stdcall__)) *GetDllEntry)( | |
27225 | ITypeInfo* This, | |
27226 | MEMBERID memid, | |
27227 | INVOKEKIND invKind, | |
27228 | BSTR* pBstrDllName, | |
27229 | BSTR* pBstrName, | |
27230 | WORD* pwOrdinal); | |
27231 | ||
27232 | HRESULT (__attribute__((__stdcall__)) *GetRefTypeInfo)( | |
27233 | ITypeInfo* This, | |
27234 | HREFTYPE hRefType, | |
27235 | ITypeInfo** ppTInfo); | |
27236 | ||
27237 | HRESULT (__attribute__((__stdcall__)) *AddressOfMember)( | |
27238 | ITypeInfo* This, | |
27239 | MEMBERID memid, | |
27240 | INVOKEKIND invKind, | |
27241 | PVOID* ppv); | |
27242 | ||
27243 | HRESULT (__attribute__((__stdcall__)) *CreateInstance)( | |
27244 | ITypeInfo* This, | |
27245 | IUnknown* pUnkOuter, | |
27246 | const IID* const riid, | |
27247 | PVOID* ppvObj); | |
27248 | ||
27249 | HRESULT (__attribute__((__stdcall__)) *GetMops)( | |
27250 | ITypeInfo* This, | |
27251 | MEMBERID memid, | |
27252 | BSTR* pBstrMops); | |
27253 | ||
27254 | HRESULT (__attribute__((__stdcall__)) *GetContainingTypeLib)( | |
27255 | ITypeInfo* This, | |
27256 | ITypeLib** ppTLib, | |
27257 | UINT* pIndex); | |
27258 | ||
27259 | void (__attribute__((__stdcall__)) *ReleaseTypeAttr)( | |
27260 | ITypeInfo* This, | |
27261 | TYPEATTR* pTypeAttr); | |
27262 | ||
27263 | void (__attribute__((__stdcall__)) *ReleaseFuncDesc)( | |
27264 | ITypeInfo* This, | |
27265 | FUNCDESC* pFuncDesc); | |
27266 | ||
27267 | void (__attribute__((__stdcall__)) *ReleaseVarDesc)( | |
27268 | ITypeInfo* This, | |
27269 | VARDESC* pVarDesc); | |
27270 | ||
27271 | ||
27272 | } ITypeInfoVtbl; | |
27273 | struct ITypeInfo { | |
27274 | const ITypeInfoVtbl* lpVtbl; | |
27275 | }; | |
27276 | # 1285 "../../../include/oaidl.h" | |
27277 | HRESULT __attribute__((__stdcall__)) ITypeInfo_RemoteGetTypeAttr_Proxy( | |
27278 | ITypeInfo* This, | |
27279 | LPTYPEATTR* ppTypeAttr, | |
27280 | CLEANLOCALSTORAGE* pDummy); | |
27281 | void __attribute__((__stdcall__)) ITypeInfo_RemoteGetTypeAttr_Stub( | |
27282 | IRpcStubBuffer* This, | |
27283 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27284 | PRPC_MESSAGE pRpcMessage, | |
27285 | DWORD* pdwStubPhase); | |
27286 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetTypeAttr_Proxy( | |
27287 | ITypeInfo* This, | |
27288 | TYPEATTR** ppTypeAttr); | |
27289 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetTypeAttr_Stub( | |
27290 | ITypeInfo* This, | |
27291 | LPTYPEATTR* ppTypeAttr, | |
27292 | CLEANLOCALSTORAGE* pDummy); | |
27293 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetTypeComp_Proxy( | |
27294 | ITypeInfo* This, | |
27295 | ITypeComp** ppTComp); | |
27296 | void __attribute__((__stdcall__)) ITypeInfo_GetTypeComp_Stub( | |
27297 | IRpcStubBuffer* This, | |
27298 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27299 | PRPC_MESSAGE pRpcMessage, | |
27300 | DWORD* pdwStubPhase); | |
27301 | HRESULT __attribute__((__stdcall__)) ITypeInfo_RemoteGetFuncDesc_Proxy( | |
27302 | ITypeInfo* This, | |
27303 | UINT index, | |
27304 | LPFUNCDESC* ppFuncDesc, | |
27305 | CLEANLOCALSTORAGE* pDummy); | |
27306 | void __attribute__((__stdcall__)) ITypeInfo_RemoteGetFuncDesc_Stub( | |
27307 | IRpcStubBuffer* This, | |
27308 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27309 | PRPC_MESSAGE pRpcMessage, | |
27310 | DWORD* pdwStubPhase); | |
27311 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetFuncDesc_Proxy( | |
27312 | ITypeInfo* This, | |
27313 | UINT index, | |
27314 | FUNCDESC** ppFuncDesc); | |
27315 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetFuncDesc_Stub( | |
27316 | ITypeInfo* This, | |
27317 | UINT index, | |
27318 | LPFUNCDESC* ppFuncDesc, | |
27319 | CLEANLOCALSTORAGE* pDummy); | |
27320 | HRESULT __attribute__((__stdcall__)) ITypeInfo_RemoteGetVarDesc_Proxy( | |
27321 | ITypeInfo* This, | |
27322 | UINT index, | |
27323 | LPVARDESC* ppVarDesc, | |
27324 | CLEANLOCALSTORAGE* pDummy); | |
27325 | void __attribute__((__stdcall__)) ITypeInfo_RemoteGetVarDesc_Stub( | |
27326 | IRpcStubBuffer* This, | |
27327 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27328 | PRPC_MESSAGE pRpcMessage, | |
27329 | DWORD* pdwStubPhase); | |
27330 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetVarDesc_Proxy( | |
27331 | ITypeInfo* This, | |
27332 | UINT index, | |
27333 | VARDESC** ppVarDesc); | |
27334 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetVarDesc_Stub( | |
27335 | ITypeInfo* This, | |
27336 | UINT index, | |
27337 | LPVARDESC* ppVarDesc, | |
27338 | CLEANLOCALSTORAGE* pDummy); | |
27339 | HRESULT __attribute__((__stdcall__)) ITypeInfo_RemoteGetNames_Proxy( | |
27340 | ITypeInfo* This, | |
27341 | MEMBERID memid, | |
27342 | BSTR* rgBstrNames, | |
27343 | UINT cMaxNames, | |
27344 | UINT* pcNames); | |
27345 | void __attribute__((__stdcall__)) ITypeInfo_RemoteGetNames_Stub( | |
27346 | IRpcStubBuffer* This, | |
27347 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27348 | PRPC_MESSAGE pRpcMessage, | |
27349 | DWORD* pdwStubPhase); | |
27350 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetNames_Proxy( | |
27351 | ITypeInfo* This, | |
27352 | MEMBERID memid, | |
27353 | BSTR* rgBstrNames, | |
27354 | UINT cMaxNames, | |
27355 | UINT* pcNames); | |
27356 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetNames_Stub( | |
27357 | ITypeInfo* This, | |
27358 | MEMBERID memid, | |
27359 | BSTR* rgBstrNames, | |
27360 | UINT cMaxNames, | |
27361 | UINT* pcNames); | |
27362 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetRefTypeOfImplType_Proxy( | |
27363 | ITypeInfo* This, | |
27364 | UINT index, | |
27365 | HREFTYPE* pRefType); | |
27366 | void __attribute__((__stdcall__)) ITypeInfo_GetRefTypeOfImplType_Stub( | |
27367 | IRpcStubBuffer* This, | |
27368 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27369 | PRPC_MESSAGE pRpcMessage, | |
27370 | DWORD* pdwStubPhase); | |
27371 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetImplTypeFlags_Proxy( | |
27372 | ITypeInfo* This, | |
27373 | UINT index, | |
27374 | INT* pImplTypeFlags); | |
27375 | void __attribute__((__stdcall__)) ITypeInfo_GetImplTypeFlags_Stub( | |
27376 | IRpcStubBuffer* This, | |
27377 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27378 | PRPC_MESSAGE pRpcMessage, | |
27379 | DWORD* pdwStubPhase); | |
27380 | HRESULT __attribute__((__stdcall__)) ITypeInfo_LocalGetIDsOfNames_Proxy( | |
27381 | ITypeInfo* This); | |
27382 | void __attribute__((__stdcall__)) ITypeInfo_LocalGetIDsOfNames_Stub( | |
27383 | IRpcStubBuffer* This, | |
27384 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27385 | PRPC_MESSAGE pRpcMessage, | |
27386 | DWORD* pdwStubPhase); | |
27387 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetIDsOfNames_Proxy( | |
27388 | ITypeInfo* This, | |
27389 | LPOLESTR* rgszNames, | |
27390 | UINT cNames, | |
27391 | MEMBERID* pMemId); | |
27392 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetIDsOfNames_Stub( | |
27393 | ITypeInfo* This); | |
27394 | HRESULT __attribute__((__stdcall__)) ITypeInfo_LocalInvoke_Proxy( | |
27395 | ITypeInfo* This); | |
27396 | void __attribute__((__stdcall__)) ITypeInfo_LocalInvoke_Stub( | |
27397 | IRpcStubBuffer* This, | |
27398 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27399 | PRPC_MESSAGE pRpcMessage, | |
27400 | DWORD* pdwStubPhase); | |
27401 | HRESULT __attribute__((__stdcall__)) ITypeInfo_Invoke_Proxy( | |
27402 | ITypeInfo* This, | |
27403 | PVOID pvInstance, | |
27404 | MEMBERID memid, | |
27405 | WORD wFlags, | |
27406 | DISPPARAMS* pDispParams, | |
27407 | VARIANT* pVarResult, | |
27408 | EXCEPINFO* pExcepInfo, | |
27409 | UINT* puArgErr); | |
27410 | HRESULT __attribute__((__stdcall__)) ITypeInfo_Invoke_Stub( | |
27411 | ITypeInfo* This); | |
27412 | HRESULT __attribute__((__stdcall__)) ITypeInfo_RemoteGetDocumentation_Proxy( | |
27413 | ITypeInfo* This, | |
27414 | MEMBERID memid, | |
27415 | DWORD refPtrFlags, | |
27416 | BSTR* pBstrName, | |
27417 | BSTR* pBstrDocString, | |
27418 | DWORD* pdwHelpContext, | |
27419 | BSTR* pBstrHelpFile); | |
27420 | void __attribute__((__stdcall__)) ITypeInfo_RemoteGetDocumentation_Stub( | |
27421 | IRpcStubBuffer* This, | |
27422 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27423 | PRPC_MESSAGE pRpcMessage, | |
27424 | DWORD* pdwStubPhase); | |
27425 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetDocumentation_Proxy( | |
27426 | ITypeInfo* This, | |
27427 | MEMBERID memid, | |
27428 | BSTR* pBstrName, | |
27429 | BSTR* pBstrDocString, | |
27430 | DWORD* pdwHelpContext, | |
27431 | BSTR* pBstrHelpFile); | |
27432 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetDocumentation_Stub( | |
27433 | ITypeInfo* This, | |
27434 | MEMBERID memid, | |
27435 | DWORD refPtrFlags, | |
27436 | BSTR* pBstrName, | |
27437 | BSTR* pBstrDocString, | |
27438 | DWORD* pdwHelpContext, | |
27439 | BSTR* pBstrHelpFile); | |
27440 | HRESULT __attribute__((__stdcall__)) ITypeInfo_RemoteGetDllEntry_Proxy( | |
27441 | ITypeInfo* This, | |
27442 | MEMBERID memid, | |
27443 | INVOKEKIND invKind, | |
27444 | DWORD refPtrFlags, | |
27445 | BSTR* pBstrDllName, | |
27446 | BSTR* pBstrName, | |
27447 | WORD* pwOrdinal); | |
27448 | void __attribute__((__stdcall__)) ITypeInfo_RemoteGetDllEntry_Stub( | |
27449 | IRpcStubBuffer* This, | |
27450 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27451 | PRPC_MESSAGE pRpcMessage, | |
27452 | DWORD* pdwStubPhase); | |
27453 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetDllEntry_Proxy( | |
27454 | ITypeInfo* This, | |
27455 | MEMBERID memid, | |
27456 | INVOKEKIND invKind, | |
27457 | BSTR* pBstrDllName, | |
27458 | BSTR* pBstrName, | |
27459 | WORD* pwOrdinal); | |
27460 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetDllEntry_Stub( | |
27461 | ITypeInfo* This, | |
27462 | MEMBERID memid, | |
27463 | INVOKEKIND invKind, | |
27464 | DWORD refPtrFlags, | |
27465 | BSTR* pBstrDllName, | |
27466 | BSTR* pBstrName, | |
27467 | WORD* pwOrdinal); | |
27468 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetRefTypeInfo_Proxy( | |
27469 | ITypeInfo* This, | |
27470 | HREFTYPE hRefType, | |
27471 | ITypeInfo** ppTInfo); | |
27472 | void __attribute__((__stdcall__)) ITypeInfo_GetRefTypeInfo_Stub( | |
27473 | IRpcStubBuffer* This, | |
27474 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27475 | PRPC_MESSAGE pRpcMessage, | |
27476 | DWORD* pdwStubPhase); | |
27477 | HRESULT __attribute__((__stdcall__)) ITypeInfo_LocalAddressOfMember_Proxy( | |
27478 | ITypeInfo* This); | |
27479 | void __attribute__((__stdcall__)) ITypeInfo_LocalAddressOfMember_Stub( | |
27480 | IRpcStubBuffer* This, | |
27481 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27482 | PRPC_MESSAGE pRpcMessage, | |
27483 | DWORD* pdwStubPhase); | |
27484 | HRESULT __attribute__((__stdcall__)) ITypeInfo_AddressOfMember_Proxy( | |
27485 | ITypeInfo* This, | |
27486 | MEMBERID memid, | |
27487 | INVOKEKIND invKind, | |
27488 | PVOID* ppv); | |
27489 | HRESULT __attribute__((__stdcall__)) ITypeInfo_AddressOfMember_Stub( | |
27490 | ITypeInfo* This); | |
27491 | HRESULT __attribute__((__stdcall__)) ITypeInfo_RemoteCreateInstance_Proxy( | |
27492 | ITypeInfo* This, | |
27493 | const IID* const riid, | |
27494 | IUnknown** ppvObj); | |
27495 | void __attribute__((__stdcall__)) ITypeInfo_RemoteCreateInstance_Stub( | |
27496 | IRpcStubBuffer* This, | |
27497 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27498 | PRPC_MESSAGE pRpcMessage, | |
27499 | DWORD* pdwStubPhase); | |
27500 | HRESULT __attribute__((__stdcall__)) ITypeInfo_CreateInstance_Proxy( | |
27501 | ITypeInfo* This, | |
27502 | IUnknown* pUnkOuter, | |
27503 | const IID* const riid, | |
27504 | PVOID* ppvObj); | |
27505 | HRESULT __attribute__((__stdcall__)) ITypeInfo_CreateInstance_Stub( | |
27506 | ITypeInfo* This, | |
27507 | const IID* const riid, | |
27508 | IUnknown** ppvObj); | |
27509 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetMops_Proxy( | |
27510 | ITypeInfo* This, | |
27511 | MEMBERID memid, | |
27512 | BSTR* pBstrMops); | |
27513 | void __attribute__((__stdcall__)) ITypeInfo_GetMops_Stub( | |
27514 | IRpcStubBuffer* This, | |
27515 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27516 | PRPC_MESSAGE pRpcMessage, | |
27517 | DWORD* pdwStubPhase); | |
27518 | HRESULT __attribute__((__stdcall__)) ITypeInfo_RemoteGetContainingTypeLib_Proxy( | |
27519 | ITypeInfo* This, | |
27520 | ITypeLib** ppTLib, | |
27521 | UINT* pIndex); | |
27522 | void __attribute__((__stdcall__)) ITypeInfo_RemoteGetContainingTypeLib_Stub( | |
27523 | IRpcStubBuffer* This, | |
27524 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27525 | PRPC_MESSAGE pRpcMessage, | |
27526 | DWORD* pdwStubPhase); | |
27527 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetContainingTypeLib_Proxy( | |
27528 | ITypeInfo* This, | |
27529 | ITypeLib** ppTLib, | |
27530 | UINT* pIndex); | |
27531 | HRESULT __attribute__((__stdcall__)) ITypeInfo_GetContainingTypeLib_Stub( | |
27532 | ITypeInfo* This, | |
27533 | ITypeLib** ppTLib, | |
27534 | UINT* pIndex); | |
27535 | HRESULT __attribute__((__stdcall__)) ITypeInfo_LocalReleaseTypeAttr_Proxy( | |
27536 | ITypeInfo* This); | |
27537 | void __attribute__((__stdcall__)) ITypeInfo_LocalReleaseTypeAttr_Stub( | |
27538 | IRpcStubBuffer* This, | |
27539 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27540 | PRPC_MESSAGE pRpcMessage, | |
27541 | DWORD* pdwStubPhase); | |
27542 | void __attribute__((__stdcall__)) ITypeInfo_ReleaseTypeAttr_Proxy( | |
27543 | ITypeInfo* This, | |
27544 | TYPEATTR* pTypeAttr); | |
27545 | HRESULT __attribute__((__stdcall__)) ITypeInfo_ReleaseTypeAttr_Stub( | |
27546 | ITypeInfo* This); | |
27547 | HRESULT __attribute__((__stdcall__)) ITypeInfo_LocalReleaseFuncDesc_Proxy( | |
27548 | ITypeInfo* This); | |
27549 | void __attribute__((__stdcall__)) ITypeInfo_LocalReleaseFuncDesc_Stub( | |
27550 | IRpcStubBuffer* This, | |
27551 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27552 | PRPC_MESSAGE pRpcMessage, | |
27553 | DWORD* pdwStubPhase); | |
27554 | void __attribute__((__stdcall__)) ITypeInfo_ReleaseFuncDesc_Proxy( | |
27555 | ITypeInfo* This, | |
27556 | FUNCDESC* pFuncDesc); | |
27557 | HRESULT __attribute__((__stdcall__)) ITypeInfo_ReleaseFuncDesc_Stub( | |
27558 | ITypeInfo* This); | |
27559 | HRESULT __attribute__((__stdcall__)) ITypeInfo_LocalReleaseVarDesc_Proxy( | |
27560 | ITypeInfo* This); | |
27561 | void __attribute__((__stdcall__)) ITypeInfo_LocalReleaseVarDesc_Stub( | |
27562 | IRpcStubBuffer* This, | |
27563 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27564 | PRPC_MESSAGE pRpcMessage, | |
27565 | DWORD* pdwStubPhase); | |
27566 | void __attribute__((__stdcall__)) ITypeInfo_ReleaseVarDesc_Proxy( | |
27567 | ITypeInfo* This, | |
27568 | VARDESC* pVarDesc); | |
27569 | HRESULT __attribute__((__stdcall__)) ITypeInfo_ReleaseVarDesc_Stub( | |
27570 | ITypeInfo* This); | |
27571 | ||
27572 | ||
27573 | ||
27574 | ||
27575 | ||
27576 | typedef struct ITypeInfo2 ITypeInfo2; | |
27577 | ||
27578 | ||
27579 | typedef ITypeInfo2 *LPTYPEINFO2; | |
27580 | ||
27581 | ||
27582 | ||
27583 | ||
27584 | ||
27585 | ||
27586 | extern const GUID IID_ITypeInfo2 __attribute__((visibility ("hidden"))); | |
27587 | # 1667 "../../../include/oaidl.h" | |
27588 | typedef struct ITypeInfo2Vtbl { | |
27589 | ||
27590 | ||
27591 | ||
27592 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
27593 | ITypeInfo2* This, | |
27594 | const IID* const riid, | |
27595 | void** ppvObject); | |
27596 | ||
27597 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
27598 | ITypeInfo2* This); | |
27599 | ||
27600 | ULONG (__attribute__((__stdcall__)) *Release)( | |
27601 | ITypeInfo2* This); | |
27602 | ||
27603 | ||
27604 | HRESULT (__attribute__((__stdcall__)) *GetTypeAttr)( | |
27605 | ITypeInfo2* This, | |
27606 | TYPEATTR** ppTypeAttr); | |
27607 | ||
27608 | HRESULT (__attribute__((__stdcall__)) *GetTypeComp)( | |
27609 | ITypeInfo2* This, | |
27610 | ITypeComp** ppTComp); | |
27611 | ||
27612 | HRESULT (__attribute__((__stdcall__)) *GetFuncDesc)( | |
27613 | ITypeInfo2* This, | |
27614 | UINT index, | |
27615 | FUNCDESC** ppFuncDesc); | |
27616 | ||
27617 | HRESULT (__attribute__((__stdcall__)) *GetVarDesc)( | |
27618 | ITypeInfo2* This, | |
27619 | UINT index, | |
27620 | VARDESC** ppVarDesc); | |
27621 | ||
27622 | HRESULT (__attribute__((__stdcall__)) *GetNames)( | |
27623 | ITypeInfo2* This, | |
27624 | MEMBERID memid, | |
27625 | BSTR* rgBstrNames, | |
27626 | UINT cMaxNames, | |
27627 | UINT* pcNames); | |
27628 | ||
27629 | HRESULT (__attribute__((__stdcall__)) *GetRefTypeOfImplType)( | |
27630 | ITypeInfo2* This, | |
27631 | UINT index, | |
27632 | HREFTYPE* pRefType); | |
27633 | ||
27634 | HRESULT (__attribute__((__stdcall__)) *GetImplTypeFlags)( | |
27635 | ITypeInfo2* This, | |
27636 | UINT index, | |
27637 | INT* pImplTypeFlags); | |
27638 | ||
27639 | HRESULT (__attribute__((__stdcall__)) *GetIDsOfNames)( | |
27640 | ITypeInfo2* This, | |
27641 | LPOLESTR* rgszNames, | |
27642 | UINT cNames, | |
27643 | MEMBERID* pMemId); | |
27644 | ||
27645 | HRESULT (__attribute__((__stdcall__)) *Invoke)( | |
27646 | ITypeInfo2* This, | |
27647 | PVOID pvInstance, | |
27648 | MEMBERID memid, | |
27649 | WORD wFlags, | |
27650 | DISPPARAMS* pDispParams, | |
27651 | VARIANT* pVarResult, | |
27652 | EXCEPINFO* pExcepInfo, | |
27653 | UINT* puArgErr); | |
27654 | ||
27655 | HRESULT (__attribute__((__stdcall__)) *GetDocumentation)( | |
27656 | ITypeInfo2* This, | |
27657 | MEMBERID memid, | |
27658 | BSTR* pBstrName, | |
27659 | BSTR* pBstrDocString, | |
27660 | DWORD* pdwHelpContext, | |
27661 | BSTR* pBstrHelpFile); | |
27662 | ||
27663 | HRESULT (__attribute__((__stdcall__)) *GetDllEntry)( | |
27664 | ITypeInfo2* This, | |
27665 | MEMBERID memid, | |
27666 | INVOKEKIND invKind, | |
27667 | BSTR* pBstrDllName, | |
27668 | BSTR* pBstrName, | |
27669 | WORD* pwOrdinal); | |
27670 | ||
27671 | HRESULT (__attribute__((__stdcall__)) *GetRefTypeInfo)( | |
27672 | ITypeInfo2* This, | |
27673 | HREFTYPE hRefType, | |
27674 | ITypeInfo** ppTInfo); | |
27675 | ||
27676 | HRESULT (__attribute__((__stdcall__)) *AddressOfMember)( | |
27677 | ITypeInfo2* This, | |
27678 | MEMBERID memid, | |
27679 | INVOKEKIND invKind, | |
27680 | PVOID* ppv); | |
27681 | ||
27682 | HRESULT (__attribute__((__stdcall__)) *CreateInstance)( | |
27683 | ITypeInfo2* This, | |
27684 | IUnknown* pUnkOuter, | |
27685 | const IID* const riid, | |
27686 | PVOID* ppvObj); | |
27687 | ||
27688 | HRESULT (__attribute__((__stdcall__)) *GetMops)( | |
27689 | ITypeInfo2* This, | |
27690 | MEMBERID memid, | |
27691 | BSTR* pBstrMops); | |
27692 | ||
27693 | HRESULT (__attribute__((__stdcall__)) *GetContainingTypeLib)( | |
27694 | ITypeInfo2* This, | |
27695 | ITypeLib** ppTLib, | |
27696 | UINT* pIndex); | |
27697 | ||
27698 | void (__attribute__((__stdcall__)) *ReleaseTypeAttr)( | |
27699 | ITypeInfo2* This, | |
27700 | TYPEATTR* pTypeAttr); | |
27701 | ||
27702 | void (__attribute__((__stdcall__)) *ReleaseFuncDesc)( | |
27703 | ITypeInfo2* This, | |
27704 | FUNCDESC* pFuncDesc); | |
27705 | ||
27706 | void (__attribute__((__stdcall__)) *ReleaseVarDesc)( | |
27707 | ITypeInfo2* This, | |
27708 | VARDESC* pVarDesc); | |
27709 | ||
27710 | ||
27711 | HRESULT (__attribute__((__stdcall__)) *GetTypeKind)( | |
27712 | ITypeInfo2* This, | |
27713 | TYPEKIND* pTypeKind); | |
27714 | ||
27715 | HRESULT (__attribute__((__stdcall__)) *GetTypeFlags)( | |
27716 | ITypeInfo2* This, | |
27717 | ULONG* pTypeFlags); | |
27718 | ||
27719 | HRESULT (__attribute__((__stdcall__)) *GetFuncIndexOfMemId)( | |
27720 | ITypeInfo2* This, | |
27721 | MEMBERID memid, | |
27722 | INVOKEKIND invKind, | |
27723 | UINT* pFuncIndex); | |
27724 | ||
27725 | HRESULT (__attribute__((__stdcall__)) *GetVarIndexOfMemId)( | |
27726 | ITypeInfo2* This, | |
27727 | MEMBERID memid, | |
27728 | UINT* pVarIndex); | |
27729 | ||
27730 | HRESULT (__attribute__((__stdcall__)) *GetCustData)( | |
27731 | ITypeInfo2* This, | |
27732 | const GUID* const guid, | |
27733 | VARIANT* pVarVal); | |
27734 | ||
27735 | HRESULT (__attribute__((__stdcall__)) *GetFuncCustData)( | |
27736 | ITypeInfo2* This, | |
27737 | UINT index, | |
27738 | const GUID* const guid, | |
27739 | VARIANT* pVarVal); | |
27740 | ||
27741 | HRESULT (__attribute__((__stdcall__)) *GetParamCustData)( | |
27742 | ITypeInfo2* This, | |
27743 | UINT indexFunc, | |
27744 | UINT indexParam, | |
27745 | const GUID* const guid, | |
27746 | VARIANT* pVarVal); | |
27747 | ||
27748 | HRESULT (__attribute__((__stdcall__)) *GetVarCustData)( | |
27749 | ITypeInfo2* This, | |
27750 | UINT index, | |
27751 | const GUID* const guid, | |
27752 | VARIANT* pVarVal); | |
27753 | ||
27754 | HRESULT (__attribute__((__stdcall__)) *GetImplTypeCustData)( | |
27755 | ITypeInfo2* This, | |
27756 | UINT index, | |
27757 | const GUID* const guid, | |
27758 | VARIANT* pVarVal); | |
27759 | ||
27760 | HRESULT (__attribute__((__stdcall__)) *GetDocumentation2)( | |
27761 | ITypeInfo2* This, | |
27762 | MEMBERID memid, | |
27763 | LCID lcid, | |
27764 | BSTR* pbstrHelpString, | |
27765 | DWORD* pdwHelpStringContext, | |
27766 | BSTR* pbstrHelpStringDll); | |
27767 | ||
27768 | HRESULT (__attribute__((__stdcall__)) *GetAllCustData)( | |
27769 | ITypeInfo2* This, | |
27770 | CUSTDATA* pCustData); | |
27771 | ||
27772 | HRESULT (__attribute__((__stdcall__)) *GetAllFuncCustData)( | |
27773 | ITypeInfo2* This, | |
27774 | UINT index, | |
27775 | CUSTDATA* pCustData); | |
27776 | ||
27777 | HRESULT (__attribute__((__stdcall__)) *GetAllParamCustData)( | |
27778 | ITypeInfo2* This, | |
27779 | UINT indexFunc, | |
27780 | UINT indexParam, | |
27781 | CUSTDATA* pCustData); | |
27782 | ||
27783 | HRESULT (__attribute__((__stdcall__)) *GetAllVarCustData)( | |
27784 | ITypeInfo2* This, | |
27785 | UINT index, | |
27786 | CUSTDATA* pCustData); | |
27787 | ||
27788 | HRESULT (__attribute__((__stdcall__)) *GetAllImplTypeCustData)( | |
27789 | ITypeInfo2* This, | |
27790 | UINT index, | |
27791 | CUSTDATA* pCustData); | |
27792 | ||
27793 | ||
27794 | } ITypeInfo2Vtbl; | |
27795 | struct ITypeInfo2 { | |
27796 | const ITypeInfo2Vtbl* lpVtbl; | |
27797 | }; | |
27798 | # 1923 "../../../include/oaidl.h" | |
27799 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetTypeKind_Proxy( | |
27800 | ITypeInfo2* This, | |
27801 | TYPEKIND* pTypeKind); | |
27802 | void __attribute__((__stdcall__)) ITypeInfo2_GetTypeKind_Stub( | |
27803 | IRpcStubBuffer* This, | |
27804 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27805 | PRPC_MESSAGE pRpcMessage, | |
27806 | DWORD* pdwStubPhase); | |
27807 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetTypeFlags_Proxy( | |
27808 | ITypeInfo2* This, | |
27809 | ULONG* pTypeFlags); | |
27810 | void __attribute__((__stdcall__)) ITypeInfo2_GetTypeFlags_Stub( | |
27811 | IRpcStubBuffer* This, | |
27812 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27813 | PRPC_MESSAGE pRpcMessage, | |
27814 | DWORD* pdwStubPhase); | |
27815 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetFuncIndexOfMemId_Proxy( | |
27816 | ITypeInfo2* This, | |
27817 | MEMBERID memid, | |
27818 | INVOKEKIND invKind, | |
27819 | UINT* pFuncIndex); | |
27820 | void __attribute__((__stdcall__)) ITypeInfo2_GetFuncIndexOfMemId_Stub( | |
27821 | IRpcStubBuffer* This, | |
27822 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27823 | PRPC_MESSAGE pRpcMessage, | |
27824 | DWORD* pdwStubPhase); | |
27825 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetVarIndexOfMemId_Proxy( | |
27826 | ITypeInfo2* This, | |
27827 | MEMBERID memid, | |
27828 | UINT* pVarIndex); | |
27829 | void __attribute__((__stdcall__)) ITypeInfo2_GetVarIndexOfMemId_Stub( | |
27830 | IRpcStubBuffer* This, | |
27831 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27832 | PRPC_MESSAGE pRpcMessage, | |
27833 | DWORD* pdwStubPhase); | |
27834 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetCustData_Proxy( | |
27835 | ITypeInfo2* This, | |
27836 | const GUID* const guid, | |
27837 | VARIANT* pVarVal); | |
27838 | void __attribute__((__stdcall__)) ITypeInfo2_GetCustData_Stub( | |
27839 | IRpcStubBuffer* This, | |
27840 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27841 | PRPC_MESSAGE pRpcMessage, | |
27842 | DWORD* pdwStubPhase); | |
27843 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetFuncCustData_Proxy( | |
27844 | ITypeInfo2* This, | |
27845 | UINT index, | |
27846 | const GUID* const guid, | |
27847 | VARIANT* pVarVal); | |
27848 | void __attribute__((__stdcall__)) ITypeInfo2_GetFuncCustData_Stub( | |
27849 | IRpcStubBuffer* This, | |
27850 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27851 | PRPC_MESSAGE pRpcMessage, | |
27852 | DWORD* pdwStubPhase); | |
27853 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetParamCustData_Proxy( | |
27854 | ITypeInfo2* This, | |
27855 | UINT indexFunc, | |
27856 | UINT indexParam, | |
27857 | const GUID* const guid, | |
27858 | VARIANT* pVarVal); | |
27859 | void __attribute__((__stdcall__)) ITypeInfo2_GetParamCustData_Stub( | |
27860 | IRpcStubBuffer* This, | |
27861 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27862 | PRPC_MESSAGE pRpcMessage, | |
27863 | DWORD* pdwStubPhase); | |
27864 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetVarCustData_Proxy( | |
27865 | ITypeInfo2* This, | |
27866 | UINT index, | |
27867 | const GUID* const guid, | |
27868 | VARIANT* pVarVal); | |
27869 | void __attribute__((__stdcall__)) ITypeInfo2_GetVarCustData_Stub( | |
27870 | IRpcStubBuffer* This, | |
27871 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27872 | PRPC_MESSAGE pRpcMessage, | |
27873 | DWORD* pdwStubPhase); | |
27874 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetImplTypeCustData_Proxy( | |
27875 | ITypeInfo2* This, | |
27876 | UINT index, | |
27877 | const GUID* const guid, | |
27878 | VARIANT* pVarVal); | |
27879 | void __attribute__((__stdcall__)) ITypeInfo2_GetImplTypeCustData_Stub( | |
27880 | IRpcStubBuffer* This, | |
27881 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27882 | PRPC_MESSAGE pRpcMessage, | |
27883 | DWORD* pdwStubPhase); | |
27884 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_RemoteGetDocumentation2_Proxy( | |
27885 | ITypeInfo2* This, | |
27886 | MEMBERID memid, | |
27887 | LCID lcid, | |
27888 | DWORD refPtrFlags, | |
27889 | BSTR* pbstrHelpString, | |
27890 | DWORD* pdwHelpStringContext, | |
27891 | BSTR* pbstrHelpStringDll); | |
27892 | void __attribute__((__stdcall__)) ITypeInfo2_RemoteGetDocumentation2_Stub( | |
27893 | IRpcStubBuffer* This, | |
27894 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27895 | PRPC_MESSAGE pRpcMessage, | |
27896 | DWORD* pdwStubPhase); | |
27897 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetDocumentation2_Proxy( | |
27898 | ITypeInfo2* This, | |
27899 | MEMBERID memid, | |
27900 | LCID lcid, | |
27901 | BSTR* pbstrHelpString, | |
27902 | DWORD* pdwHelpStringContext, | |
27903 | BSTR* pbstrHelpStringDll); | |
27904 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetDocumentation2_Stub( | |
27905 | ITypeInfo2* This, | |
27906 | MEMBERID memid, | |
27907 | LCID lcid, | |
27908 | DWORD refPtrFlags, | |
27909 | BSTR* pbstrHelpString, | |
27910 | DWORD* pdwHelpStringContext, | |
27911 | BSTR* pbstrHelpStringDll); | |
27912 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetAllCustData_Proxy( | |
27913 | ITypeInfo2* This, | |
27914 | CUSTDATA* pCustData); | |
27915 | void __attribute__((__stdcall__)) ITypeInfo2_GetAllCustData_Stub( | |
27916 | IRpcStubBuffer* This, | |
27917 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27918 | PRPC_MESSAGE pRpcMessage, | |
27919 | DWORD* pdwStubPhase); | |
27920 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetAllFuncCustData_Proxy( | |
27921 | ITypeInfo2* This, | |
27922 | UINT index, | |
27923 | CUSTDATA* pCustData); | |
27924 | void __attribute__((__stdcall__)) ITypeInfo2_GetAllFuncCustData_Stub( | |
27925 | IRpcStubBuffer* This, | |
27926 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27927 | PRPC_MESSAGE pRpcMessage, | |
27928 | DWORD* pdwStubPhase); | |
27929 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetAllParamCustData_Proxy( | |
27930 | ITypeInfo2* This, | |
27931 | UINT indexFunc, | |
27932 | UINT indexParam, | |
27933 | CUSTDATA* pCustData); | |
27934 | void __attribute__((__stdcall__)) ITypeInfo2_GetAllParamCustData_Stub( | |
27935 | IRpcStubBuffer* This, | |
27936 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27937 | PRPC_MESSAGE pRpcMessage, | |
27938 | DWORD* pdwStubPhase); | |
27939 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetAllVarCustData_Proxy( | |
27940 | ITypeInfo2* This, | |
27941 | UINT index, | |
27942 | CUSTDATA* pCustData); | |
27943 | void __attribute__((__stdcall__)) ITypeInfo2_GetAllVarCustData_Stub( | |
27944 | IRpcStubBuffer* This, | |
27945 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27946 | PRPC_MESSAGE pRpcMessage, | |
27947 | DWORD* pdwStubPhase); | |
27948 | HRESULT __attribute__((__stdcall__)) ITypeInfo2_GetAllImplTypeCustData_Proxy( | |
27949 | ITypeInfo2* This, | |
27950 | UINT index, | |
27951 | CUSTDATA* pCustData); | |
27952 | void __attribute__((__stdcall__)) ITypeInfo2_GetAllImplTypeCustData_Stub( | |
27953 | IRpcStubBuffer* This, | |
27954 | IRpcChannelBuffer* pRpcChannelBuffer, | |
27955 | PRPC_MESSAGE pRpcMessage, | |
27956 | DWORD* pdwStubPhase); | |
27957 | ||
27958 | ||
27959 | ||
27960 | typedef ITypeLib *LPTYPELIB; | |
27961 | typedef enum tagSYSKIND { | |
27962 | SYS_WIN16 = 0, | |
27963 | SYS_WIN32 = 1, | |
27964 | SYS_MAC = 2 | |
27965 | } SYSKIND; | |
27966 | typedef enum tagLIBFLAGS { | |
27967 | LIBFLAG_FRESTRICTED = 0x1, | |
27968 | LIBFLAG_FCONTROL = 0x2, | |
27969 | LIBFLAG_FHIDDEN = 0x4, | |
27970 | LIBFLAG_FHASDISKIMAGE = 0x8 | |
27971 | } LIBFLAGS; | |
27972 | typedef struct tagTLIBATTR { | |
27973 | GUID guid; | |
27974 | LCID lcid; | |
27975 | SYSKIND syskind; | |
27976 | WORD wMajorVerNum; | |
27977 | WORD wMinorVerNum; | |
27978 | WORD wLibFlags; | |
27979 | } TLIBATTR; | |
27980 | typedef struct tagTLIBATTR *LPTLIBATTR; | |
27981 | ||
27982 | ||
27983 | ||
27984 | ||
27985 | ||
27986 | ||
27987 | extern const GUID IID_ITypeLib __attribute__((visibility ("hidden"))); | |
27988 | # 2160 "../../../include/oaidl.h" | |
27989 | typedef struct ITypeLibVtbl { | |
27990 | ||
27991 | ||
27992 | ||
27993 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
27994 | ITypeLib* This, | |
27995 | const IID* const riid, | |
27996 | void** ppvObject); | |
27997 | ||
27998 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
27999 | ITypeLib* This); | |
28000 | ||
28001 | ULONG (__attribute__((__stdcall__)) *Release)( | |
28002 | ITypeLib* This); | |
28003 | ||
28004 | ||
28005 | UINT (__attribute__((__stdcall__)) *GetTypeInfoCount)( | |
28006 | ITypeLib* This); | |
28007 | ||
28008 | HRESULT (__attribute__((__stdcall__)) *GetTypeInfo)( | |
28009 | ITypeLib* This, | |
28010 | UINT index, | |
28011 | ITypeInfo** ppTInfo); | |
28012 | ||
28013 | HRESULT (__attribute__((__stdcall__)) *GetTypeInfoType)( | |
28014 | ITypeLib* This, | |
28015 | UINT index, | |
28016 | TYPEKIND* pTKind); | |
28017 | ||
28018 | HRESULT (__attribute__((__stdcall__)) *GetTypeInfoOfGuid)( | |
28019 | ITypeLib* This, | |
28020 | const GUID* const guid, | |
28021 | ITypeInfo** ppTinfo); | |
28022 | ||
28023 | HRESULT (__attribute__((__stdcall__)) *GetLibAttr)( | |
28024 | ITypeLib* This, | |
28025 | TLIBATTR** ppTLibAttr); | |
28026 | ||
28027 | HRESULT (__attribute__((__stdcall__)) *GetTypeComp)( | |
28028 | ITypeLib* This, | |
28029 | ITypeComp** ppTComp); | |
28030 | ||
28031 | HRESULT (__attribute__((__stdcall__)) *GetDocumentation)( | |
28032 | ITypeLib* This, | |
28033 | INT index, | |
28034 | BSTR* pBstrName, | |
28035 | BSTR* pBstrDocString, | |
28036 | DWORD* pdwHelpContext, | |
28037 | BSTR* pBstrHelpFile); | |
28038 | ||
28039 | HRESULT (__attribute__((__stdcall__)) *IsName)( | |
28040 | ITypeLib* This, | |
28041 | LPOLESTR szNameBuf, | |
28042 | ULONG lHashVal, | |
28043 | BOOL* pfName); | |
28044 | ||
28045 | HRESULT (__attribute__((__stdcall__)) *FindName)( | |
28046 | ITypeLib* This, | |
28047 | LPOLESTR szNameBuf, | |
28048 | ULONG lHashVal, | |
28049 | ITypeInfo** ppTInfo, | |
28050 | MEMBERID* rgMemId, | |
28051 | USHORT* pcFound); | |
28052 | ||
28053 | void (__attribute__((__stdcall__)) *ReleaseTLibAttr)( | |
28054 | ITypeLib* This, | |
28055 | TLIBATTR* pTLibAttr); | |
28056 | ||
28057 | ||
28058 | } ITypeLibVtbl; | |
28059 | struct ITypeLib { | |
28060 | const ITypeLibVtbl* lpVtbl; | |
28061 | }; | |
28062 | # 2254 "../../../include/oaidl.h" | |
28063 | HRESULT __attribute__((__stdcall__)) ITypeLib_RemoteGetTypeInfoCount_Proxy( | |
28064 | ITypeLib* This, | |
28065 | UINT* pcTInfo); | |
28066 | void __attribute__((__stdcall__)) ITypeLib_RemoteGetTypeInfoCount_Stub( | |
28067 | IRpcStubBuffer* This, | |
28068 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28069 | PRPC_MESSAGE pRpcMessage, | |
28070 | DWORD* pdwStubPhase); | |
28071 | UINT __attribute__((__stdcall__)) ITypeLib_GetTypeInfoCount_Proxy( | |
28072 | ITypeLib* This); | |
28073 | HRESULT __attribute__((__stdcall__)) ITypeLib_GetTypeInfoCount_Stub( | |
28074 | ITypeLib* This, | |
28075 | UINT* pcTInfo); | |
28076 | HRESULT __attribute__((__stdcall__)) ITypeLib_GetTypeInfo_Proxy( | |
28077 | ITypeLib* This, | |
28078 | UINT index, | |
28079 | ITypeInfo** ppTInfo); | |
28080 | void __attribute__((__stdcall__)) ITypeLib_GetTypeInfo_Stub( | |
28081 | IRpcStubBuffer* This, | |
28082 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28083 | PRPC_MESSAGE pRpcMessage, | |
28084 | DWORD* pdwStubPhase); | |
28085 | HRESULT __attribute__((__stdcall__)) ITypeLib_GetTypeInfoType_Proxy( | |
28086 | ITypeLib* This, | |
28087 | UINT index, | |
28088 | TYPEKIND* pTKind); | |
28089 | void __attribute__((__stdcall__)) ITypeLib_GetTypeInfoType_Stub( | |
28090 | IRpcStubBuffer* This, | |
28091 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28092 | PRPC_MESSAGE pRpcMessage, | |
28093 | DWORD* pdwStubPhase); | |
28094 | HRESULT __attribute__((__stdcall__)) ITypeLib_GetTypeInfoOfGuid_Proxy( | |
28095 | ITypeLib* This, | |
28096 | const GUID* const guid, | |
28097 | ITypeInfo** ppTinfo); | |
28098 | void __attribute__((__stdcall__)) ITypeLib_GetTypeInfoOfGuid_Stub( | |
28099 | IRpcStubBuffer* This, | |
28100 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28101 | PRPC_MESSAGE pRpcMessage, | |
28102 | DWORD* pdwStubPhase); | |
28103 | HRESULT __attribute__((__stdcall__)) ITypeLib_RemoteGetLibAttr_Proxy( | |
28104 | ITypeLib* This, | |
28105 | LPTLIBATTR* ppTLibAttr, | |
28106 | CLEANLOCALSTORAGE* pDummy); | |
28107 | void __attribute__((__stdcall__)) ITypeLib_RemoteGetLibAttr_Stub( | |
28108 | IRpcStubBuffer* This, | |
28109 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28110 | PRPC_MESSAGE pRpcMessage, | |
28111 | DWORD* pdwStubPhase); | |
28112 | HRESULT __attribute__((__stdcall__)) ITypeLib_GetLibAttr_Proxy( | |
28113 | ITypeLib* This, | |
28114 | TLIBATTR** ppTLibAttr); | |
28115 | HRESULT __attribute__((__stdcall__)) ITypeLib_GetLibAttr_Stub( | |
28116 | ITypeLib* This, | |
28117 | LPTLIBATTR* ppTLibAttr, | |
28118 | CLEANLOCALSTORAGE* pDummy); | |
28119 | HRESULT __attribute__((__stdcall__)) ITypeLib_GetTypeComp_Proxy( | |
28120 | ITypeLib* This, | |
28121 | ITypeComp** ppTComp); | |
28122 | void __attribute__((__stdcall__)) ITypeLib_GetTypeComp_Stub( | |
28123 | IRpcStubBuffer* This, | |
28124 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28125 | PRPC_MESSAGE pRpcMessage, | |
28126 | DWORD* pdwStubPhase); | |
28127 | HRESULT __attribute__((__stdcall__)) ITypeLib_RemoteGetDocumentation_Proxy( | |
28128 | ITypeLib* This, | |
28129 | INT index, | |
28130 | DWORD refPtrFlags, | |
28131 | BSTR* pBstrName, | |
28132 | BSTR* pBstrDocString, | |
28133 | DWORD* pdwHelpContext, | |
28134 | BSTR* pBstrHelpFile); | |
28135 | void __attribute__((__stdcall__)) ITypeLib_RemoteGetDocumentation_Stub( | |
28136 | IRpcStubBuffer* This, | |
28137 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28138 | PRPC_MESSAGE pRpcMessage, | |
28139 | DWORD* pdwStubPhase); | |
28140 | HRESULT __attribute__((__stdcall__)) ITypeLib_GetDocumentation_Proxy( | |
28141 | ITypeLib* This, | |
28142 | INT index, | |
28143 | BSTR* pBstrName, | |
28144 | BSTR* pBstrDocString, | |
28145 | DWORD* pdwHelpContext, | |
28146 | BSTR* pBstrHelpFile); | |
28147 | HRESULT __attribute__((__stdcall__)) ITypeLib_GetDocumentation_Stub( | |
28148 | ITypeLib* This, | |
28149 | INT index, | |
28150 | DWORD refPtrFlags, | |
28151 | BSTR* pBstrName, | |
28152 | BSTR* pBstrDocString, | |
28153 | DWORD* pdwHelpContext, | |
28154 | BSTR* pBstrHelpFile); | |
28155 | HRESULT __attribute__((__stdcall__)) ITypeLib_RemoteIsName_Proxy( | |
28156 | ITypeLib* This, | |
28157 | LPOLESTR szNameBuf, | |
28158 | ULONG lHashVal, | |
28159 | BOOL* pfName, | |
28160 | BSTR* pBstrLibName); | |
28161 | void __attribute__((__stdcall__)) ITypeLib_RemoteIsName_Stub( | |
28162 | IRpcStubBuffer* This, | |
28163 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28164 | PRPC_MESSAGE pRpcMessage, | |
28165 | DWORD* pdwStubPhase); | |
28166 | HRESULT __attribute__((__stdcall__)) ITypeLib_IsName_Proxy( | |
28167 | ITypeLib* This, | |
28168 | LPOLESTR szNameBuf, | |
28169 | ULONG lHashVal, | |
28170 | BOOL* pfName); | |
28171 | HRESULT __attribute__((__stdcall__)) ITypeLib_IsName_Stub( | |
28172 | ITypeLib* This, | |
28173 | LPOLESTR szNameBuf, | |
28174 | ULONG lHashVal, | |
28175 | BOOL* pfName, | |
28176 | BSTR* pBstrLibName); | |
28177 | HRESULT __attribute__((__stdcall__)) ITypeLib_RemoteFindName_Proxy( | |
28178 | ITypeLib* This, | |
28179 | LPOLESTR szNameBuf, | |
28180 | ULONG lHashVal, | |
28181 | ITypeInfo** ppTInfo, | |
28182 | MEMBERID* rgMemId, | |
28183 | USHORT* pcFound, | |
28184 | BSTR* pBstrLibName); | |
28185 | void __attribute__((__stdcall__)) ITypeLib_RemoteFindName_Stub( | |
28186 | IRpcStubBuffer* This, | |
28187 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28188 | PRPC_MESSAGE pRpcMessage, | |
28189 | DWORD* pdwStubPhase); | |
28190 | HRESULT __attribute__((__stdcall__)) ITypeLib_FindName_Proxy( | |
28191 | ITypeLib* This, | |
28192 | LPOLESTR szNameBuf, | |
28193 | ULONG lHashVal, | |
28194 | ITypeInfo** ppTInfo, | |
28195 | MEMBERID* rgMemId, | |
28196 | USHORT* pcFound); | |
28197 | HRESULT __attribute__((__stdcall__)) ITypeLib_FindName_Stub( | |
28198 | ITypeLib* This, | |
28199 | LPOLESTR szNameBuf, | |
28200 | ULONG lHashVal, | |
28201 | ITypeInfo** ppTInfo, | |
28202 | MEMBERID* rgMemId, | |
28203 | USHORT* pcFound, | |
28204 | BSTR* pBstrLibName); | |
28205 | HRESULT __attribute__((__stdcall__)) ITypeLib_LocalReleaseTLibAttr_Proxy( | |
28206 | ITypeLib* This); | |
28207 | void __attribute__((__stdcall__)) ITypeLib_LocalReleaseTLibAttr_Stub( | |
28208 | IRpcStubBuffer* This, | |
28209 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28210 | PRPC_MESSAGE pRpcMessage, | |
28211 | DWORD* pdwStubPhase); | |
28212 | void __attribute__((__stdcall__)) ITypeLib_ReleaseTLibAttr_Proxy( | |
28213 | ITypeLib* This, | |
28214 | TLIBATTR* pTLibAttr); | |
28215 | HRESULT __attribute__((__stdcall__)) ITypeLib_ReleaseTLibAttr_Stub( | |
28216 | ITypeLib* This); | |
28217 | ||
28218 | ||
28219 | ||
28220 | ||
28221 | ||
28222 | typedef struct ITypeLib2 ITypeLib2; | |
28223 | ||
28224 | ||
28225 | typedef ITypeLib2 *LPTYPELIB2; | |
28226 | ||
28227 | ||
28228 | ||
28229 | ||
28230 | ||
28231 | ||
28232 | extern const GUID IID_ITypeLib2 __attribute__((visibility ("hidden"))); | |
28233 | # 2447 "../../../include/oaidl.h" | |
28234 | typedef struct ITypeLib2Vtbl { | |
28235 | ||
28236 | ||
28237 | ||
28238 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
28239 | ITypeLib2* This, | |
28240 | const IID* const riid, | |
28241 | void** ppvObject); | |
28242 | ||
28243 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
28244 | ITypeLib2* This); | |
28245 | ||
28246 | ULONG (__attribute__((__stdcall__)) *Release)( | |
28247 | ITypeLib2* This); | |
28248 | ||
28249 | ||
28250 | UINT (__attribute__((__stdcall__)) *GetTypeInfoCount)( | |
28251 | ITypeLib2* This); | |
28252 | ||
28253 | HRESULT (__attribute__((__stdcall__)) *GetTypeInfo)( | |
28254 | ITypeLib2* This, | |
28255 | UINT index, | |
28256 | ITypeInfo** ppTInfo); | |
28257 | ||
28258 | HRESULT (__attribute__((__stdcall__)) *GetTypeInfoType)( | |
28259 | ITypeLib2* This, | |
28260 | UINT index, | |
28261 | TYPEKIND* pTKind); | |
28262 | ||
28263 | HRESULT (__attribute__((__stdcall__)) *GetTypeInfoOfGuid)( | |
28264 | ITypeLib2* This, | |
28265 | const GUID* const guid, | |
28266 | ITypeInfo** ppTinfo); | |
28267 | ||
28268 | HRESULT (__attribute__((__stdcall__)) *GetLibAttr)( | |
28269 | ITypeLib2* This, | |
28270 | TLIBATTR** ppTLibAttr); | |
28271 | ||
28272 | HRESULT (__attribute__((__stdcall__)) *GetTypeComp)( | |
28273 | ITypeLib2* This, | |
28274 | ITypeComp** ppTComp); | |
28275 | ||
28276 | HRESULT (__attribute__((__stdcall__)) *GetDocumentation)( | |
28277 | ITypeLib2* This, | |
28278 | INT index, | |
28279 | BSTR* pBstrName, | |
28280 | BSTR* pBstrDocString, | |
28281 | DWORD* pdwHelpContext, | |
28282 | BSTR* pBstrHelpFile); | |
28283 | ||
28284 | HRESULT (__attribute__((__stdcall__)) *IsName)( | |
28285 | ITypeLib2* This, | |
28286 | LPOLESTR szNameBuf, | |
28287 | ULONG lHashVal, | |
28288 | BOOL* pfName); | |
28289 | ||
28290 | HRESULT (__attribute__((__stdcall__)) *FindName)( | |
28291 | ITypeLib2* This, | |
28292 | LPOLESTR szNameBuf, | |
28293 | ULONG lHashVal, | |
28294 | ITypeInfo** ppTInfo, | |
28295 | MEMBERID* rgMemId, | |
28296 | USHORT* pcFound); | |
28297 | ||
28298 | void (__attribute__((__stdcall__)) *ReleaseTLibAttr)( | |
28299 | ITypeLib2* This, | |
28300 | TLIBATTR* pTLibAttr); | |
28301 | ||
28302 | ||
28303 | HRESULT (__attribute__((__stdcall__)) *GetCustData)( | |
28304 | ITypeLib2* This, | |
28305 | const GUID* const guid, | |
28306 | VARIANT* pVarVal); | |
28307 | ||
28308 | HRESULT (__attribute__((__stdcall__)) *GetLibStatistics)( | |
28309 | ITypeLib2* This, | |
28310 | ULONG* pcUniqueNames, | |
28311 | ULONG* pcchUniqueNames); | |
28312 | ||
28313 | HRESULT (__attribute__((__stdcall__)) *GetDocumentation2)( | |
28314 | ITypeLib2* This, | |
28315 | INT index, | |
28316 | LCID lcid, | |
28317 | BSTR* pbstrHelpString, | |
28318 | DWORD* pdwHelpStringContext, | |
28319 | BSTR* pbstrHelpStringDll); | |
28320 | ||
28321 | HRESULT (__attribute__((__stdcall__)) *GetAllCustData)( | |
28322 | ITypeLib2* This, | |
28323 | CUSTDATA* pCustData); | |
28324 | ||
28325 | ||
28326 | } ITypeLib2Vtbl; | |
28327 | struct ITypeLib2 { | |
28328 | const ITypeLib2Vtbl* lpVtbl; | |
28329 | }; | |
28330 | # 2569 "../../../include/oaidl.h" | |
28331 | HRESULT __attribute__((__stdcall__)) ITypeLib2_GetCustData_Proxy( | |
28332 | ITypeLib2* This, | |
28333 | const GUID* const guid, | |
28334 | VARIANT* pVarVal); | |
28335 | void __attribute__((__stdcall__)) ITypeLib2_GetCustData_Stub( | |
28336 | IRpcStubBuffer* This, | |
28337 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28338 | PRPC_MESSAGE pRpcMessage, | |
28339 | DWORD* pdwStubPhase); | |
28340 | HRESULT __attribute__((__stdcall__)) ITypeLib2_RemoteGetLibStatistics_Proxy( | |
28341 | ITypeLib2* This, | |
28342 | ULONG* pcUniqueNames, | |
28343 | ULONG* pcchUniqueNames); | |
28344 | void __attribute__((__stdcall__)) ITypeLib2_RemoteGetLibStatistics_Stub( | |
28345 | IRpcStubBuffer* This, | |
28346 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28347 | PRPC_MESSAGE pRpcMessage, | |
28348 | DWORD* pdwStubPhase); | |
28349 | HRESULT __attribute__((__stdcall__)) ITypeLib2_GetLibStatistics_Proxy( | |
28350 | ITypeLib2* This, | |
28351 | ULONG* pcUniqueNames, | |
28352 | ULONG* pcchUniqueNames); | |
28353 | HRESULT __attribute__((__stdcall__)) ITypeLib2_GetLibStatistics_Stub( | |
28354 | ITypeLib2* This, | |
28355 | ULONG* pcUniqueNames, | |
28356 | ULONG* pcchUniqueNames); | |
28357 | HRESULT __attribute__((__stdcall__)) ITypeLib2_RemoteGetDocumentation2_Proxy( | |
28358 | ITypeLib2* This, | |
28359 | INT index, | |
28360 | LCID lcid, | |
28361 | DWORD refPtrFlags, | |
28362 | BSTR* pbstrHelpString, | |
28363 | DWORD* pdwHelpStringContext, | |
28364 | BSTR* pbstrHelpStringDll); | |
28365 | void __attribute__((__stdcall__)) ITypeLib2_RemoteGetDocumentation2_Stub( | |
28366 | IRpcStubBuffer* This, | |
28367 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28368 | PRPC_MESSAGE pRpcMessage, | |
28369 | DWORD* pdwStubPhase); | |
28370 | HRESULT __attribute__((__stdcall__)) ITypeLib2_GetDocumentation2_Proxy( | |
28371 | ITypeLib2* This, | |
28372 | INT index, | |
28373 | LCID lcid, | |
28374 | BSTR* pbstrHelpString, | |
28375 | DWORD* pdwHelpStringContext, | |
28376 | BSTR* pbstrHelpStringDll); | |
28377 | HRESULT __attribute__((__stdcall__)) ITypeLib2_GetDocumentation2_Stub( | |
28378 | ITypeLib2* This, | |
28379 | INT index, | |
28380 | LCID lcid, | |
28381 | DWORD refPtrFlags, | |
28382 | BSTR* pbstrHelpString, | |
28383 | DWORD* pdwHelpStringContext, | |
28384 | BSTR* pbstrHelpStringDll); | |
28385 | HRESULT __attribute__((__stdcall__)) ITypeLib2_GetAllCustData_Proxy( | |
28386 | ITypeLib2* This, | |
28387 | CUSTDATA* pCustData); | |
28388 | void __attribute__((__stdcall__)) ITypeLib2_GetAllCustData_Stub( | |
28389 | IRpcStubBuffer* This, | |
28390 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28391 | PRPC_MESSAGE pRpcMessage, | |
28392 | DWORD* pdwStubPhase); | |
28393 | ||
28394 | ||
28395 | ||
28396 | ||
28397 | ||
28398 | typedef struct ITypeChangeEvents ITypeChangeEvents; | |
28399 | ||
28400 | ||
28401 | typedef ITypeChangeEvents *LPTYPECHANGEEVENTS; | |
28402 | typedef enum tagCHANGEKIND { | |
28403 | CHANGEKIND_ADDMEMBER = 0, | |
28404 | CHANGEKIND_DELETEMEMBER = 1, | |
28405 | CHANGEKIND_SETNAMES = 2, | |
28406 | CHANGEKIND_SETDOCUMENTATION = 3, | |
28407 | CHANGEKIND_GENERAL = 4, | |
28408 | CHANGEKIND_INVALIDATE = 5, | |
28409 | CHANGEKIND_CHANGEFAILED = 6, | |
28410 | CHANGEKIND_MAX = 7 | |
28411 | } CHANGEKIND; | |
28412 | ||
28413 | ||
28414 | ||
28415 | ||
28416 | ||
28417 | ||
28418 | extern const GUID IID_ITypeChangeEvents __attribute__((visibility ("hidden"))); | |
28419 | # 2673 "../../../include/oaidl.h" | |
28420 | typedef struct ITypeChangeEventsVtbl { | |
28421 | ||
28422 | ||
28423 | ||
28424 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
28425 | ITypeChangeEvents* This, | |
28426 | const IID* const riid, | |
28427 | void** ppvObject); | |
28428 | ||
28429 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
28430 | ITypeChangeEvents* This); | |
28431 | ||
28432 | ULONG (__attribute__((__stdcall__)) *Release)( | |
28433 | ITypeChangeEvents* This); | |
28434 | ||
28435 | ||
28436 | HRESULT (__attribute__((__stdcall__)) *RequestTypeChange)( | |
28437 | ITypeChangeEvents* This, | |
28438 | CHANGEKIND changeKind, | |
28439 | ITypeInfo* pTInfoBefore, | |
28440 | LPOLESTR pStrName, | |
28441 | INT* pfCancel); | |
28442 | ||
28443 | HRESULT (__attribute__((__stdcall__)) *AfterTypeChange)( | |
28444 | ITypeChangeEvents* This, | |
28445 | CHANGEKIND changeKind, | |
28446 | ITypeInfo* pTInfoAfter, | |
28447 | LPOLESTR pStrName); | |
28448 | ||
28449 | ||
28450 | } ITypeChangeEventsVtbl; | |
28451 | struct ITypeChangeEvents { | |
28452 | const ITypeChangeEventsVtbl* lpVtbl; | |
28453 | }; | |
28454 | # 2720 "../../../include/oaidl.h" | |
28455 | HRESULT __attribute__((__stdcall__)) ITypeChangeEvents_RequestTypeChange_Proxy( | |
28456 | ITypeChangeEvents* This, | |
28457 | CHANGEKIND changeKind, | |
28458 | ITypeInfo* pTInfoBefore, | |
28459 | LPOLESTR pStrName, | |
28460 | INT* pfCancel); | |
28461 | void __attribute__((__stdcall__)) ITypeChangeEvents_RequestTypeChange_Stub( | |
28462 | IRpcStubBuffer* This, | |
28463 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28464 | PRPC_MESSAGE pRpcMessage, | |
28465 | DWORD* pdwStubPhase); | |
28466 | HRESULT __attribute__((__stdcall__)) ITypeChangeEvents_AfterTypeChange_Proxy( | |
28467 | ITypeChangeEvents* This, | |
28468 | CHANGEKIND changeKind, | |
28469 | ITypeInfo* pTInfoAfter, | |
28470 | LPOLESTR pStrName); | |
28471 | void __attribute__((__stdcall__)) ITypeChangeEvents_AfterTypeChange_Stub( | |
28472 | IRpcStubBuffer* This, | |
28473 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28474 | PRPC_MESSAGE pRpcMessage, | |
28475 | DWORD* pdwStubPhase); | |
28476 | ||
28477 | ||
28478 | ||
28479 | ||
28480 | ||
28481 | typedef struct IErrorInfo IErrorInfo; | |
28482 | ||
28483 | ||
28484 | typedef IErrorInfo *LPERRORINFO; | |
28485 | ||
28486 | ||
28487 | ||
28488 | ||
28489 | ||
28490 | ||
28491 | extern const GUID IID_IErrorInfo __attribute__((visibility ("hidden"))); | |
28492 | # 2777 "../../../include/oaidl.h" | |
28493 | typedef struct IErrorInfoVtbl { | |
28494 | ||
28495 | ||
28496 | ||
28497 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
28498 | IErrorInfo* This, | |
28499 | const IID* const riid, | |
28500 | void** ppvObject); | |
28501 | ||
28502 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
28503 | IErrorInfo* This); | |
28504 | ||
28505 | ULONG (__attribute__((__stdcall__)) *Release)( | |
28506 | IErrorInfo* This); | |
28507 | ||
28508 | ||
28509 | HRESULT (__attribute__((__stdcall__)) *GetGUID)( | |
28510 | IErrorInfo* This, | |
28511 | GUID* pGUID); | |
28512 | ||
28513 | HRESULT (__attribute__((__stdcall__)) *GetSource)( | |
28514 | IErrorInfo* This, | |
28515 | BSTR* pBstrSource); | |
28516 | ||
28517 | HRESULT (__attribute__((__stdcall__)) *GetDescription)( | |
28518 | IErrorInfo* This, | |
28519 | BSTR* pBstrDescription); | |
28520 | ||
28521 | HRESULT (__attribute__((__stdcall__)) *GetHelpFile)( | |
28522 | IErrorInfo* This, | |
28523 | BSTR* pBstrHelpFile); | |
28524 | ||
28525 | HRESULT (__attribute__((__stdcall__)) *GetHelpContext)( | |
28526 | IErrorInfo* This, | |
28527 | DWORD* pdwHelpContext); | |
28528 | ||
28529 | ||
28530 | } IErrorInfoVtbl; | |
28531 | struct IErrorInfo { | |
28532 | const IErrorInfoVtbl* lpVtbl; | |
28533 | }; | |
28534 | # 2834 "../../../include/oaidl.h" | |
28535 | HRESULT __attribute__((__stdcall__)) IErrorInfo_GetGUID_Proxy( | |
28536 | IErrorInfo* This, | |
28537 | GUID* pGUID); | |
28538 | void __attribute__((__stdcall__)) IErrorInfo_GetGUID_Stub( | |
28539 | IRpcStubBuffer* This, | |
28540 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28541 | PRPC_MESSAGE pRpcMessage, | |
28542 | DWORD* pdwStubPhase); | |
28543 | HRESULT __attribute__((__stdcall__)) IErrorInfo_GetSource_Proxy( | |
28544 | IErrorInfo* This, | |
28545 | BSTR* pBstrSource); | |
28546 | void __attribute__((__stdcall__)) IErrorInfo_GetSource_Stub( | |
28547 | IRpcStubBuffer* This, | |
28548 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28549 | PRPC_MESSAGE pRpcMessage, | |
28550 | DWORD* pdwStubPhase); | |
28551 | HRESULT __attribute__((__stdcall__)) IErrorInfo_GetDescription_Proxy( | |
28552 | IErrorInfo* This, | |
28553 | BSTR* pBstrDescription); | |
28554 | void __attribute__((__stdcall__)) IErrorInfo_GetDescription_Stub( | |
28555 | IRpcStubBuffer* This, | |
28556 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28557 | PRPC_MESSAGE pRpcMessage, | |
28558 | DWORD* pdwStubPhase); | |
28559 | HRESULT __attribute__((__stdcall__)) IErrorInfo_GetHelpFile_Proxy( | |
28560 | IErrorInfo* This, | |
28561 | BSTR* pBstrHelpFile); | |
28562 | void __attribute__((__stdcall__)) IErrorInfo_GetHelpFile_Stub( | |
28563 | IRpcStubBuffer* This, | |
28564 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28565 | PRPC_MESSAGE pRpcMessage, | |
28566 | DWORD* pdwStubPhase); | |
28567 | HRESULT __attribute__((__stdcall__)) IErrorInfo_GetHelpContext_Proxy( | |
28568 | IErrorInfo* This, | |
28569 | DWORD* pdwHelpContext); | |
28570 | void __attribute__((__stdcall__)) IErrorInfo_GetHelpContext_Stub( | |
28571 | IRpcStubBuffer* This, | |
28572 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28573 | PRPC_MESSAGE pRpcMessage, | |
28574 | DWORD* pdwStubPhase); | |
28575 | ||
28576 | ||
28577 | ||
28578 | ||
28579 | ||
28580 | typedef struct ICreateErrorInfo ICreateErrorInfo; | |
28581 | ||
28582 | ||
28583 | typedef ICreateErrorInfo *LPCREATEERRORINFO; | |
28584 | ||
28585 | ||
28586 | ||
28587 | ||
28588 | ||
28589 | ||
28590 | extern const GUID IID_ICreateErrorInfo __attribute__((visibility ("hidden"))); | |
28591 | # 2910 "../../../include/oaidl.h" | |
28592 | typedef struct ICreateErrorInfoVtbl { | |
28593 | ||
28594 | ||
28595 | ||
28596 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
28597 | ICreateErrorInfo* This, | |
28598 | const IID* const riid, | |
28599 | void** ppvObject); | |
28600 | ||
28601 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
28602 | ICreateErrorInfo* This); | |
28603 | ||
28604 | ULONG (__attribute__((__stdcall__)) *Release)( | |
28605 | ICreateErrorInfo* This); | |
28606 | ||
28607 | ||
28608 | HRESULT (__attribute__((__stdcall__)) *SetGUID)( | |
28609 | ICreateErrorInfo* This, | |
28610 | const GUID* const rguid); | |
28611 | ||
28612 | HRESULT (__attribute__((__stdcall__)) *SetSource)( | |
28613 | ICreateErrorInfo* This, | |
28614 | LPOLESTR szSource); | |
28615 | ||
28616 | HRESULT (__attribute__((__stdcall__)) *SetDescription)( | |
28617 | ICreateErrorInfo* This, | |
28618 | LPOLESTR szDescription); | |
28619 | ||
28620 | HRESULT (__attribute__((__stdcall__)) *SetHelpFile)( | |
28621 | ICreateErrorInfo* This, | |
28622 | LPOLESTR szHelpFile); | |
28623 | ||
28624 | HRESULT (__attribute__((__stdcall__)) *SetHelpContext)( | |
28625 | ICreateErrorInfo* This, | |
28626 | DWORD dwHelpContext); | |
28627 | ||
28628 | ||
28629 | } ICreateErrorInfoVtbl; | |
28630 | struct ICreateErrorInfo { | |
28631 | const ICreateErrorInfoVtbl* lpVtbl; | |
28632 | }; | |
28633 | # 2967 "../../../include/oaidl.h" | |
28634 | HRESULT __attribute__((__stdcall__)) ICreateErrorInfo_SetGUID_Proxy( | |
28635 | ICreateErrorInfo* This, | |
28636 | const GUID* const rguid); | |
28637 | void __attribute__((__stdcall__)) ICreateErrorInfo_SetGUID_Stub( | |
28638 | IRpcStubBuffer* This, | |
28639 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28640 | PRPC_MESSAGE pRpcMessage, | |
28641 | DWORD* pdwStubPhase); | |
28642 | HRESULT __attribute__((__stdcall__)) ICreateErrorInfo_SetSource_Proxy( | |
28643 | ICreateErrorInfo* This, | |
28644 | LPOLESTR szSource); | |
28645 | void __attribute__((__stdcall__)) ICreateErrorInfo_SetSource_Stub( | |
28646 | IRpcStubBuffer* This, | |
28647 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28648 | PRPC_MESSAGE pRpcMessage, | |
28649 | DWORD* pdwStubPhase); | |
28650 | HRESULT __attribute__((__stdcall__)) ICreateErrorInfo_SetDescription_Proxy( | |
28651 | ICreateErrorInfo* This, | |
28652 | LPOLESTR szDescription); | |
28653 | void __attribute__((__stdcall__)) ICreateErrorInfo_SetDescription_Stub( | |
28654 | IRpcStubBuffer* This, | |
28655 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28656 | PRPC_MESSAGE pRpcMessage, | |
28657 | DWORD* pdwStubPhase); | |
28658 | HRESULT __attribute__((__stdcall__)) ICreateErrorInfo_SetHelpFile_Proxy( | |
28659 | ICreateErrorInfo* This, | |
28660 | LPOLESTR szHelpFile); | |
28661 | void __attribute__((__stdcall__)) ICreateErrorInfo_SetHelpFile_Stub( | |
28662 | IRpcStubBuffer* This, | |
28663 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28664 | PRPC_MESSAGE pRpcMessage, | |
28665 | DWORD* pdwStubPhase); | |
28666 | HRESULT __attribute__((__stdcall__)) ICreateErrorInfo_SetHelpContext_Proxy( | |
28667 | ICreateErrorInfo* This, | |
28668 | DWORD dwHelpContext); | |
28669 | void __attribute__((__stdcall__)) ICreateErrorInfo_SetHelpContext_Stub( | |
28670 | IRpcStubBuffer* This, | |
28671 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28672 | PRPC_MESSAGE pRpcMessage, | |
28673 | DWORD* pdwStubPhase); | |
28674 | ||
28675 | ||
28676 | ||
28677 | ||
28678 | ||
28679 | typedef struct ISupportErrorInfo ISupportErrorInfo; | |
28680 | ||
28681 | ||
28682 | typedef ISupportErrorInfo *LPSUPPORTERRORINFO; | |
28683 | ||
28684 | ||
28685 | ||
28686 | ||
28687 | ||
28688 | ||
28689 | extern const GUID IID_ISupportErrorInfo __attribute__((visibility ("hidden"))); | |
28690 | # 3031 "../../../include/oaidl.h" | |
28691 | typedef struct ISupportErrorInfoVtbl { | |
28692 | ||
28693 | ||
28694 | ||
28695 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
28696 | ISupportErrorInfo* This, | |
28697 | const IID* const riid, | |
28698 | void** ppvObject); | |
28699 | ||
28700 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
28701 | ISupportErrorInfo* This); | |
28702 | ||
28703 | ULONG (__attribute__((__stdcall__)) *Release)( | |
28704 | ISupportErrorInfo* This); | |
28705 | ||
28706 | ||
28707 | HRESULT (__attribute__((__stdcall__)) *InterfaceSupportsErrorInfo)( | |
28708 | ISupportErrorInfo* This, | |
28709 | const IID* const riid); | |
28710 | ||
28711 | ||
28712 | } ISupportErrorInfoVtbl; | |
28713 | struct ISupportErrorInfo { | |
28714 | const ISupportErrorInfoVtbl* lpVtbl; | |
28715 | }; | |
28716 | # 3068 "../../../include/oaidl.h" | |
28717 | HRESULT __attribute__((__stdcall__)) ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy( | |
28718 | ISupportErrorInfo* This, | |
28719 | const IID* const riid); | |
28720 | void __attribute__((__stdcall__)) ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub( | |
28721 | IRpcStubBuffer* This, | |
28722 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28723 | PRPC_MESSAGE pRpcMessage, | |
28724 | DWORD* pdwStubPhase); | |
28725 | ||
28726 | ||
28727 | ||
28728 | ||
28729 | ||
28730 | typedef struct ITypeFactory ITypeFactory; | |
28731 | # 3090 "../../../include/oaidl.h" | |
28732 | extern const GUID IID_ITypeFactory __attribute__((visibility ("hidden"))); | |
28733 | # 3101 "../../../include/oaidl.h" | |
28734 | typedef struct ITypeFactoryVtbl { | |
28735 | ||
28736 | ||
28737 | ||
28738 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
28739 | ITypeFactory* This, | |
28740 | const IID* const riid, | |
28741 | void** ppvObject); | |
28742 | ||
28743 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
28744 | ITypeFactory* This); | |
28745 | ||
28746 | ULONG (__attribute__((__stdcall__)) *Release)( | |
28747 | ITypeFactory* This); | |
28748 | ||
28749 | ||
28750 | HRESULT (__attribute__((__stdcall__)) *CreateFromTypeInfo)( | |
28751 | ITypeFactory* This, | |
28752 | ITypeInfo* pTypeInfo, | |
28753 | const IID* const riid, | |
28754 | IUnknown** ppv); | |
28755 | ||
28756 | ||
28757 | } ITypeFactoryVtbl; | |
28758 | struct ITypeFactory { | |
28759 | const ITypeFactoryVtbl* lpVtbl; | |
28760 | }; | |
28761 | # 3140 "../../../include/oaidl.h" | |
28762 | HRESULT __attribute__((__stdcall__)) ITypeFactory_CreateFromTypeInfo_Proxy( | |
28763 | ITypeFactory* This, | |
28764 | ITypeInfo* pTypeInfo, | |
28765 | const IID* const riid, | |
28766 | IUnknown** ppv); | |
28767 | void __attribute__((__stdcall__)) ITypeFactory_CreateFromTypeInfo_Stub( | |
28768 | IRpcStubBuffer* This, | |
28769 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28770 | PRPC_MESSAGE pRpcMessage, | |
28771 | DWORD* pdwStubPhase); | |
28772 | ||
28773 | ||
28774 | ||
28775 | ||
28776 | ||
28777 | typedef struct ITypeMarshal ITypeMarshal; | |
28778 | # 3164 "../../../include/oaidl.h" | |
28779 | extern const GUID IID_ITypeMarshal __attribute__((visibility ("hidden"))); | |
28780 | # 3194 "../../../include/oaidl.h" | |
28781 | typedef struct ITypeMarshalVtbl { | |
28782 | ||
28783 | ||
28784 | ||
28785 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
28786 | ITypeMarshal* This, | |
28787 | const IID* const riid, | |
28788 | void** ppvObject); | |
28789 | ||
28790 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
28791 | ITypeMarshal* This); | |
28792 | ||
28793 | ULONG (__attribute__((__stdcall__)) *Release)( | |
28794 | ITypeMarshal* This); | |
28795 | ||
28796 | ||
28797 | HRESULT (__attribute__((__stdcall__)) *Size)( | |
28798 | ITypeMarshal* This, | |
28799 | PVOID pvType, | |
28800 | DWORD dwDestContext, | |
28801 | PVOID pvDestContext, | |
28802 | ULONG* pSize); | |
28803 | ||
28804 | HRESULT (__attribute__((__stdcall__)) *Marshal)( | |
28805 | ITypeMarshal* This, | |
28806 | PVOID pvType, | |
28807 | DWORD dwDestContext, | |
28808 | PVOID pvDestContext, | |
28809 | ULONG cbBufferLength, | |
28810 | BYTE* pBuffer, | |
28811 | ULONG* pcbWritten); | |
28812 | ||
28813 | HRESULT (__attribute__((__stdcall__)) *Unmarshal)( | |
28814 | ITypeMarshal* This, | |
28815 | PVOID pvType, | |
28816 | DWORD dwFlags, | |
28817 | ULONG cbBufferLength, | |
28818 | BYTE* pBuffer, | |
28819 | ULONG* pcbRead); | |
28820 | ||
28821 | HRESULT (__attribute__((__stdcall__)) *Free)( | |
28822 | ITypeMarshal* This, | |
28823 | PVOID pvType); | |
28824 | ||
28825 | ||
28826 | } ITypeMarshalVtbl; | |
28827 | struct ITypeMarshal { | |
28828 | const ITypeMarshalVtbl* lpVtbl; | |
28829 | }; | |
28830 | # 3258 "../../../include/oaidl.h" | |
28831 | HRESULT __attribute__((__stdcall__)) ITypeMarshal_Size_Proxy( | |
28832 | ITypeMarshal* This, | |
28833 | PVOID pvType, | |
28834 | DWORD dwDestContext, | |
28835 | PVOID pvDestContext, | |
28836 | ULONG* pSize); | |
28837 | void __attribute__((__stdcall__)) ITypeMarshal_Size_Stub( | |
28838 | IRpcStubBuffer* This, | |
28839 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28840 | PRPC_MESSAGE pRpcMessage, | |
28841 | DWORD* pdwStubPhase); | |
28842 | HRESULT __attribute__((__stdcall__)) ITypeMarshal_Marshal_Proxy( | |
28843 | ITypeMarshal* This, | |
28844 | PVOID pvType, | |
28845 | DWORD dwDestContext, | |
28846 | PVOID pvDestContext, | |
28847 | ULONG cbBufferLength, | |
28848 | BYTE* pBuffer, | |
28849 | ULONG* pcbWritten); | |
28850 | void __attribute__((__stdcall__)) ITypeMarshal_Marshal_Stub( | |
28851 | IRpcStubBuffer* This, | |
28852 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28853 | PRPC_MESSAGE pRpcMessage, | |
28854 | DWORD* pdwStubPhase); | |
28855 | HRESULT __attribute__((__stdcall__)) ITypeMarshal_Unmarshal_Proxy( | |
28856 | ITypeMarshal* This, | |
28857 | PVOID pvType, | |
28858 | DWORD dwFlags, | |
28859 | ULONG cbBufferLength, | |
28860 | BYTE* pBuffer, | |
28861 | ULONG* pcbRead); | |
28862 | void __attribute__((__stdcall__)) ITypeMarshal_Unmarshal_Stub( | |
28863 | IRpcStubBuffer* This, | |
28864 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28865 | PRPC_MESSAGE pRpcMessage, | |
28866 | DWORD* pdwStubPhase); | |
28867 | HRESULT __attribute__((__stdcall__)) ITypeMarshal_Free_Proxy( | |
28868 | ITypeMarshal* This, | |
28869 | PVOID pvType); | |
28870 | void __attribute__((__stdcall__)) ITypeMarshal_Free_Stub( | |
28871 | IRpcStubBuffer* This, | |
28872 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28873 | PRPC_MESSAGE pRpcMessage, | |
28874 | DWORD* pdwStubPhase); | |
28875 | ||
28876 | ||
28877 | ||
28878 | typedef IRecordInfo *LPRECORDINFO; | |
28879 | ||
28880 | ||
28881 | ||
28882 | ||
28883 | ||
28884 | ||
28885 | extern const GUID IID_IRecordInfo __attribute__((visibility ("hidden"))); | |
28886 | # 3380 "../../../include/oaidl.h" | |
28887 | typedef struct IRecordInfoVtbl { | |
28888 | ||
28889 | ||
28890 | ||
28891 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
28892 | IRecordInfo* This, | |
28893 | const IID* const riid, | |
28894 | void** ppvObject); | |
28895 | ||
28896 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
28897 | IRecordInfo* This); | |
28898 | ||
28899 | ULONG (__attribute__((__stdcall__)) *Release)( | |
28900 | IRecordInfo* This); | |
28901 | ||
28902 | ||
28903 | HRESULT (__attribute__((__stdcall__)) *RecordInit)( | |
28904 | IRecordInfo* This, | |
28905 | PVOID pvNew); | |
28906 | ||
28907 | HRESULT (__attribute__((__stdcall__)) *RecordClear)( | |
28908 | IRecordInfo* This, | |
28909 | PVOID pvExisting); | |
28910 | ||
28911 | HRESULT (__attribute__((__stdcall__)) *RecordCopy)( | |
28912 | IRecordInfo* This, | |
28913 | PVOID pvExisting, | |
28914 | PVOID pvNew); | |
28915 | ||
28916 | HRESULT (__attribute__((__stdcall__)) *GetGuid)( | |
28917 | IRecordInfo* This, | |
28918 | GUID* pguid); | |
28919 | ||
28920 | HRESULT (__attribute__((__stdcall__)) *GetName)( | |
28921 | IRecordInfo* This, | |
28922 | BSTR* pbstrName); | |
28923 | ||
28924 | HRESULT (__attribute__((__stdcall__)) *GetSize)( | |
28925 | IRecordInfo* This, | |
28926 | ULONG* pcbSize); | |
28927 | ||
28928 | HRESULT (__attribute__((__stdcall__)) *GetTypeInfo)( | |
28929 | IRecordInfo* This, | |
28930 | ITypeInfo** ppTypeInfo); | |
28931 | ||
28932 | HRESULT (__attribute__((__stdcall__)) *GetField)( | |
28933 | IRecordInfo* This, | |
28934 | PVOID pvData, | |
28935 | LPCOLESTR szFieldName, | |
28936 | VARIANT* pvarField); | |
28937 | ||
28938 | HRESULT (__attribute__((__stdcall__)) *GetFieldNoCopy)( | |
28939 | IRecordInfo* This, | |
28940 | PVOID pvData, | |
28941 | LPCOLESTR szFieldName, | |
28942 | VARIANT* pvarField, | |
28943 | PVOID* ppvDataCArray); | |
28944 | ||
28945 | HRESULT (__attribute__((__stdcall__)) *PutField)( | |
28946 | IRecordInfo* This, | |
28947 | ULONG wFlags, | |
28948 | PVOID pvData, | |
28949 | LPCOLESTR szFieldName, | |
28950 | VARIANT* pvarField); | |
28951 | ||
28952 | HRESULT (__attribute__((__stdcall__)) *PutFieldNoCopy)( | |
28953 | IRecordInfo* This, | |
28954 | ULONG wFlags, | |
28955 | PVOID pvData, | |
28956 | LPCOLESTR szFieldName, | |
28957 | VARIANT* pvarField); | |
28958 | ||
28959 | HRESULT (__attribute__((__stdcall__)) *GetFieldNames)( | |
28960 | IRecordInfo* This, | |
28961 | ULONG* pcNames, | |
28962 | BSTR* rgBstrNames); | |
28963 | ||
28964 | BOOL (__attribute__((__stdcall__)) *IsMatchingType)( | |
28965 | IRecordInfo* This, | |
28966 | IRecordInfo* pRecordInfo); | |
28967 | ||
28968 | PVOID (__attribute__((__stdcall__)) *RecordCreate)( | |
28969 | IRecordInfo* This); | |
28970 | ||
28971 | HRESULT (__attribute__((__stdcall__)) *RecordCreateCopy)( | |
28972 | IRecordInfo* This, | |
28973 | PVOID pvSource, | |
28974 | PVOID* ppvDest); | |
28975 | ||
28976 | HRESULT (__attribute__((__stdcall__)) *RecordDestroy)( | |
28977 | IRecordInfo* This, | |
28978 | PVOID pvRecord); | |
28979 | ||
28980 | ||
28981 | } IRecordInfoVtbl; | |
28982 | struct IRecordInfo { | |
28983 | const IRecordInfoVtbl* lpVtbl; | |
28984 | }; | |
28985 | # 3505 "../../../include/oaidl.h" | |
28986 | HRESULT __attribute__((__stdcall__)) IRecordInfo_RecordInit_Proxy( | |
28987 | IRecordInfo* This, | |
28988 | PVOID pvNew); | |
28989 | void __attribute__((__stdcall__)) IRecordInfo_RecordInit_Stub( | |
28990 | IRpcStubBuffer* This, | |
28991 | IRpcChannelBuffer* pRpcChannelBuffer, | |
28992 | PRPC_MESSAGE pRpcMessage, | |
28993 | DWORD* pdwStubPhase); | |
28994 | HRESULT __attribute__((__stdcall__)) IRecordInfo_RecordClear_Proxy( | |
28995 | IRecordInfo* This, | |
28996 | PVOID pvExisting); | |
28997 | void __attribute__((__stdcall__)) IRecordInfo_RecordClear_Stub( | |
28998 | IRpcStubBuffer* This, | |
28999 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29000 | PRPC_MESSAGE pRpcMessage, | |
29001 | DWORD* pdwStubPhase); | |
29002 | HRESULT __attribute__((__stdcall__)) IRecordInfo_RecordCopy_Proxy( | |
29003 | IRecordInfo* This, | |
29004 | PVOID pvExisting, | |
29005 | PVOID pvNew); | |
29006 | void __attribute__((__stdcall__)) IRecordInfo_RecordCopy_Stub( | |
29007 | IRpcStubBuffer* This, | |
29008 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29009 | PRPC_MESSAGE pRpcMessage, | |
29010 | DWORD* pdwStubPhase); | |
29011 | HRESULT __attribute__((__stdcall__)) IRecordInfo_GetGuid_Proxy( | |
29012 | IRecordInfo* This, | |
29013 | GUID* pguid); | |
29014 | void __attribute__((__stdcall__)) IRecordInfo_GetGuid_Stub( | |
29015 | IRpcStubBuffer* This, | |
29016 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29017 | PRPC_MESSAGE pRpcMessage, | |
29018 | DWORD* pdwStubPhase); | |
29019 | HRESULT __attribute__((__stdcall__)) IRecordInfo_GetName_Proxy( | |
29020 | IRecordInfo* This, | |
29021 | BSTR* pbstrName); | |
29022 | void __attribute__((__stdcall__)) IRecordInfo_GetName_Stub( | |
29023 | IRpcStubBuffer* This, | |
29024 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29025 | PRPC_MESSAGE pRpcMessage, | |
29026 | DWORD* pdwStubPhase); | |
29027 | HRESULT __attribute__((__stdcall__)) IRecordInfo_GetSize_Proxy( | |
29028 | IRecordInfo* This, | |
29029 | ULONG* pcbSize); | |
29030 | void __attribute__((__stdcall__)) IRecordInfo_GetSize_Stub( | |
29031 | IRpcStubBuffer* This, | |
29032 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29033 | PRPC_MESSAGE pRpcMessage, | |
29034 | DWORD* pdwStubPhase); | |
29035 | HRESULT __attribute__((__stdcall__)) IRecordInfo_GetTypeInfo_Proxy( | |
29036 | IRecordInfo* This, | |
29037 | ITypeInfo** ppTypeInfo); | |
29038 | void __attribute__((__stdcall__)) IRecordInfo_GetTypeInfo_Stub( | |
29039 | IRpcStubBuffer* This, | |
29040 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29041 | PRPC_MESSAGE pRpcMessage, | |
29042 | DWORD* pdwStubPhase); | |
29043 | HRESULT __attribute__((__stdcall__)) IRecordInfo_GetField_Proxy( | |
29044 | IRecordInfo* This, | |
29045 | PVOID pvData, | |
29046 | LPCOLESTR szFieldName, | |
29047 | VARIANT* pvarField); | |
29048 | void __attribute__((__stdcall__)) IRecordInfo_GetField_Stub( | |
29049 | IRpcStubBuffer* This, | |
29050 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29051 | PRPC_MESSAGE pRpcMessage, | |
29052 | DWORD* pdwStubPhase); | |
29053 | HRESULT __attribute__((__stdcall__)) IRecordInfo_GetFieldNoCopy_Proxy( | |
29054 | IRecordInfo* This, | |
29055 | PVOID pvData, | |
29056 | LPCOLESTR szFieldName, | |
29057 | VARIANT* pvarField, | |
29058 | PVOID* ppvDataCArray); | |
29059 | void __attribute__((__stdcall__)) IRecordInfo_GetFieldNoCopy_Stub( | |
29060 | IRpcStubBuffer* This, | |
29061 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29062 | PRPC_MESSAGE pRpcMessage, | |
29063 | DWORD* pdwStubPhase); | |
29064 | HRESULT __attribute__((__stdcall__)) IRecordInfo_PutField_Proxy( | |
29065 | IRecordInfo* This, | |
29066 | ULONG wFlags, | |
29067 | PVOID pvData, | |
29068 | LPCOLESTR szFieldName, | |
29069 | VARIANT* pvarField); | |
29070 | void __attribute__((__stdcall__)) IRecordInfo_PutField_Stub( | |
29071 | IRpcStubBuffer* This, | |
29072 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29073 | PRPC_MESSAGE pRpcMessage, | |
29074 | DWORD* pdwStubPhase); | |
29075 | HRESULT __attribute__((__stdcall__)) IRecordInfo_PutFieldNoCopy_Proxy( | |
29076 | IRecordInfo* This, | |
29077 | ULONG wFlags, | |
29078 | PVOID pvData, | |
29079 | LPCOLESTR szFieldName, | |
29080 | VARIANT* pvarField); | |
29081 | void __attribute__((__stdcall__)) IRecordInfo_PutFieldNoCopy_Stub( | |
29082 | IRpcStubBuffer* This, | |
29083 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29084 | PRPC_MESSAGE pRpcMessage, | |
29085 | DWORD* pdwStubPhase); | |
29086 | HRESULT __attribute__((__stdcall__)) IRecordInfo_GetFieldNames_Proxy( | |
29087 | IRecordInfo* This, | |
29088 | ULONG* pcNames, | |
29089 | BSTR* rgBstrNames); | |
29090 | void __attribute__((__stdcall__)) IRecordInfo_GetFieldNames_Stub( | |
29091 | IRpcStubBuffer* This, | |
29092 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29093 | PRPC_MESSAGE pRpcMessage, | |
29094 | DWORD* pdwStubPhase); | |
29095 | BOOL __attribute__((__stdcall__)) IRecordInfo_IsMatchingType_Proxy( | |
29096 | IRecordInfo* This, | |
29097 | IRecordInfo* pRecordInfo); | |
29098 | void __attribute__((__stdcall__)) IRecordInfo_IsMatchingType_Stub( | |
29099 | IRpcStubBuffer* This, | |
29100 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29101 | PRPC_MESSAGE pRpcMessage, | |
29102 | DWORD* pdwStubPhase); | |
29103 | PVOID __attribute__((__stdcall__)) IRecordInfo_RecordCreate_Proxy( | |
29104 | IRecordInfo* This); | |
29105 | void __attribute__((__stdcall__)) IRecordInfo_RecordCreate_Stub( | |
29106 | IRpcStubBuffer* This, | |
29107 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29108 | PRPC_MESSAGE pRpcMessage, | |
29109 | DWORD* pdwStubPhase); | |
29110 | HRESULT __attribute__((__stdcall__)) IRecordInfo_RecordCreateCopy_Proxy( | |
29111 | IRecordInfo* This, | |
29112 | PVOID pvSource, | |
29113 | PVOID* ppvDest); | |
29114 | void __attribute__((__stdcall__)) IRecordInfo_RecordCreateCopy_Stub( | |
29115 | IRpcStubBuffer* This, | |
29116 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29117 | PRPC_MESSAGE pRpcMessage, | |
29118 | DWORD* pdwStubPhase); | |
29119 | HRESULT __attribute__((__stdcall__)) IRecordInfo_RecordDestroy_Proxy( | |
29120 | IRecordInfo* This, | |
29121 | PVOID pvRecord); | |
29122 | void __attribute__((__stdcall__)) IRecordInfo_RecordDestroy_Stub( | |
29123 | IRpcStubBuffer* This, | |
29124 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29125 | PRPC_MESSAGE pRpcMessage, | |
29126 | DWORD* pdwStubPhase); | |
29127 | ||
29128 | ||
29129 | ||
29130 | ||
29131 | ||
29132 | typedef struct ICreateTypeInfo ICreateTypeInfo; | |
29133 | ||
29134 | ||
29135 | typedef ICreateTypeInfo *LPCREATETYPEINFO; | |
29136 | ||
29137 | ||
29138 | ||
29139 | ||
29140 | ||
29141 | ||
29142 | extern const GUID IID_ICreateTypeInfo __attribute__((visibility ("hidden"))); | |
29143 | # 3752 "../../../include/oaidl.h" | |
29144 | typedef struct ICreateTypeInfoVtbl { | |
29145 | ||
29146 | ||
29147 | ||
29148 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
29149 | ICreateTypeInfo* This, | |
29150 | const IID* const riid, | |
29151 | void** ppvObject); | |
29152 | ||
29153 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
29154 | ICreateTypeInfo* This); | |
29155 | ||
29156 | ULONG (__attribute__((__stdcall__)) *Release)( | |
29157 | ICreateTypeInfo* This); | |
29158 | ||
29159 | ||
29160 | HRESULT (__attribute__((__stdcall__)) *SetGuid)( | |
29161 | ICreateTypeInfo* This, | |
29162 | const GUID* const guid); | |
29163 | ||
29164 | HRESULT (__attribute__((__stdcall__)) *SetTypeFlags)( | |
29165 | ICreateTypeInfo* This, | |
29166 | UINT uTypeFlags); | |
29167 | ||
29168 | HRESULT (__attribute__((__stdcall__)) *SetDocString)( | |
29169 | ICreateTypeInfo* This, | |
29170 | LPOLESTR pStrDoc); | |
29171 | ||
29172 | HRESULT (__attribute__((__stdcall__)) *SetHelpContext)( | |
29173 | ICreateTypeInfo* This, | |
29174 | DWORD dwHelpContext); | |
29175 | ||
29176 | HRESULT (__attribute__((__stdcall__)) *SetVersion)( | |
29177 | ICreateTypeInfo* This, | |
29178 | WORD wMajorVerNum, | |
29179 | WORD wMinorVerNum); | |
29180 | ||
29181 | HRESULT (__attribute__((__stdcall__)) *AddRefTypeInfo)( | |
29182 | ICreateTypeInfo* This, | |
29183 | ITypeInfo* pTInfo, | |
29184 | HREFTYPE* phRefType); | |
29185 | ||
29186 | HRESULT (__attribute__((__stdcall__)) *AddFuncDesc)( | |
29187 | ICreateTypeInfo* This, | |
29188 | UINT index, | |
29189 | FUNCDESC* pFuncDesc); | |
29190 | ||
29191 | HRESULT (__attribute__((__stdcall__)) *AddImplType)( | |
29192 | ICreateTypeInfo* This, | |
29193 | UINT index, | |
29194 | HREFTYPE hRefType); | |
29195 | ||
29196 | HRESULT (__attribute__((__stdcall__)) *SetImplTypeFlags)( | |
29197 | ICreateTypeInfo* This, | |
29198 | UINT index, | |
29199 | INT implTypeFlags); | |
29200 | ||
29201 | HRESULT (__attribute__((__stdcall__)) *SetAlignment)( | |
29202 | ICreateTypeInfo* This, | |
29203 | WORD cbAlignment); | |
29204 | ||
29205 | HRESULT (__attribute__((__stdcall__)) *SetSchema)( | |
29206 | ICreateTypeInfo* This, | |
29207 | LPOLESTR pStrSchema); | |
29208 | ||
29209 | HRESULT (__attribute__((__stdcall__)) *AddVarDesc)( | |
29210 | ICreateTypeInfo* This, | |
29211 | UINT index, | |
29212 | VARDESC* pVarDesc); | |
29213 | ||
29214 | HRESULT (__attribute__((__stdcall__)) *SetFuncAndParamNames)( | |
29215 | ICreateTypeInfo* This, | |
29216 | UINT index, | |
29217 | LPOLESTR* rgszNames, | |
29218 | UINT cNames); | |
29219 | ||
29220 | HRESULT (__attribute__((__stdcall__)) *SetVarName)( | |
29221 | ICreateTypeInfo* This, | |
29222 | UINT index, | |
29223 | LPOLESTR szName); | |
29224 | ||
29225 | HRESULT (__attribute__((__stdcall__)) *SetTypeDescAlias)( | |
29226 | ICreateTypeInfo* This, | |
29227 | TYPEDESC* pTDescAlias); | |
29228 | ||
29229 | HRESULT (__attribute__((__stdcall__)) *DefineFuncAsDllEntry)( | |
29230 | ICreateTypeInfo* This, | |
29231 | UINT index, | |
29232 | LPOLESTR szDllName, | |
29233 | LPOLESTR szProcName); | |
29234 | ||
29235 | HRESULT (__attribute__((__stdcall__)) *SetFuncDocString)( | |
29236 | ICreateTypeInfo* This, | |
29237 | UINT index, | |
29238 | LPOLESTR szDocString); | |
29239 | ||
29240 | HRESULT (__attribute__((__stdcall__)) *SetVarDocString)( | |
29241 | ICreateTypeInfo* This, | |
29242 | UINT index, | |
29243 | LPOLESTR szDocString); | |
29244 | ||
29245 | HRESULT (__attribute__((__stdcall__)) *SetFuncHelpContext)( | |
29246 | ICreateTypeInfo* This, | |
29247 | UINT index, | |
29248 | DWORD dwHelpContext); | |
29249 | ||
29250 | HRESULT (__attribute__((__stdcall__)) *SetVarHelpContext)( | |
29251 | ICreateTypeInfo* This, | |
29252 | UINT index, | |
29253 | DWORD dwHelpContext); | |
29254 | ||
29255 | HRESULT (__attribute__((__stdcall__)) *SetMops)( | |
29256 | ICreateTypeInfo* This, | |
29257 | UINT index, | |
29258 | BSTR bstrMops); | |
29259 | ||
29260 | HRESULT (__attribute__((__stdcall__)) *SetTypeIdldesc)( | |
29261 | ICreateTypeInfo* This, | |
29262 | IDLDESC* pIdlDesc); | |
29263 | ||
29264 | HRESULT (__attribute__((__stdcall__)) *LayOut)( | |
29265 | ICreateTypeInfo* This); | |
29266 | ||
29267 | ||
29268 | } ICreateTypeInfoVtbl; | |
29269 | struct ICreateTypeInfo { | |
29270 | const ICreateTypeInfoVtbl* lpVtbl; | |
29271 | }; | |
29272 | # 3914 "../../../include/oaidl.h" | |
29273 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetGuid_Proxy( | |
29274 | ICreateTypeInfo* This, | |
29275 | const GUID* const guid); | |
29276 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetGuid_Stub( | |
29277 | IRpcStubBuffer* This, | |
29278 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29279 | PRPC_MESSAGE pRpcMessage, | |
29280 | DWORD* pdwStubPhase); | |
29281 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetTypeFlags_Proxy( | |
29282 | ICreateTypeInfo* This, | |
29283 | UINT uTypeFlags); | |
29284 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetTypeFlags_Stub( | |
29285 | IRpcStubBuffer* This, | |
29286 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29287 | PRPC_MESSAGE pRpcMessage, | |
29288 | DWORD* pdwStubPhase); | |
29289 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetDocString_Proxy( | |
29290 | ICreateTypeInfo* This, | |
29291 | LPOLESTR pStrDoc); | |
29292 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetDocString_Stub( | |
29293 | IRpcStubBuffer* This, | |
29294 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29295 | PRPC_MESSAGE pRpcMessage, | |
29296 | DWORD* pdwStubPhase); | |
29297 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetHelpContext_Proxy( | |
29298 | ICreateTypeInfo* This, | |
29299 | DWORD dwHelpContext); | |
29300 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetHelpContext_Stub( | |
29301 | IRpcStubBuffer* This, | |
29302 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29303 | PRPC_MESSAGE pRpcMessage, | |
29304 | DWORD* pdwStubPhase); | |
29305 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetVersion_Proxy( | |
29306 | ICreateTypeInfo* This, | |
29307 | WORD wMajorVerNum, | |
29308 | WORD wMinorVerNum); | |
29309 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetVersion_Stub( | |
29310 | IRpcStubBuffer* This, | |
29311 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29312 | PRPC_MESSAGE pRpcMessage, | |
29313 | DWORD* pdwStubPhase); | |
29314 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_AddRefTypeInfo_Proxy( | |
29315 | ICreateTypeInfo* This, | |
29316 | ITypeInfo* pTInfo, | |
29317 | HREFTYPE* phRefType); | |
29318 | void __attribute__((__stdcall__)) ICreateTypeInfo_AddRefTypeInfo_Stub( | |
29319 | IRpcStubBuffer* This, | |
29320 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29321 | PRPC_MESSAGE pRpcMessage, | |
29322 | DWORD* pdwStubPhase); | |
29323 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_AddFuncDesc_Proxy( | |
29324 | ICreateTypeInfo* This, | |
29325 | UINT index, | |
29326 | FUNCDESC* pFuncDesc); | |
29327 | void __attribute__((__stdcall__)) ICreateTypeInfo_AddFuncDesc_Stub( | |
29328 | IRpcStubBuffer* This, | |
29329 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29330 | PRPC_MESSAGE pRpcMessage, | |
29331 | DWORD* pdwStubPhase); | |
29332 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_AddImplType_Proxy( | |
29333 | ICreateTypeInfo* This, | |
29334 | UINT index, | |
29335 | HREFTYPE hRefType); | |
29336 | void __attribute__((__stdcall__)) ICreateTypeInfo_AddImplType_Stub( | |
29337 | IRpcStubBuffer* This, | |
29338 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29339 | PRPC_MESSAGE pRpcMessage, | |
29340 | DWORD* pdwStubPhase); | |
29341 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetImplTypeFlags_Proxy( | |
29342 | ICreateTypeInfo* This, | |
29343 | UINT index, | |
29344 | INT implTypeFlags); | |
29345 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetImplTypeFlags_Stub( | |
29346 | IRpcStubBuffer* This, | |
29347 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29348 | PRPC_MESSAGE pRpcMessage, | |
29349 | DWORD* pdwStubPhase); | |
29350 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetAlignment_Proxy( | |
29351 | ICreateTypeInfo* This, | |
29352 | WORD cbAlignment); | |
29353 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetAlignment_Stub( | |
29354 | IRpcStubBuffer* This, | |
29355 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29356 | PRPC_MESSAGE pRpcMessage, | |
29357 | DWORD* pdwStubPhase); | |
29358 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetSchema_Proxy( | |
29359 | ICreateTypeInfo* This, | |
29360 | LPOLESTR pStrSchema); | |
29361 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetSchema_Stub( | |
29362 | IRpcStubBuffer* This, | |
29363 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29364 | PRPC_MESSAGE pRpcMessage, | |
29365 | DWORD* pdwStubPhase); | |
29366 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_AddVarDesc_Proxy( | |
29367 | ICreateTypeInfo* This, | |
29368 | UINT index, | |
29369 | VARDESC* pVarDesc); | |
29370 | void __attribute__((__stdcall__)) ICreateTypeInfo_AddVarDesc_Stub( | |
29371 | IRpcStubBuffer* This, | |
29372 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29373 | PRPC_MESSAGE pRpcMessage, | |
29374 | DWORD* pdwStubPhase); | |
29375 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetFuncAndParamNames_Proxy( | |
29376 | ICreateTypeInfo* This, | |
29377 | UINT index, | |
29378 | LPOLESTR* rgszNames, | |
29379 | UINT cNames); | |
29380 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetFuncAndParamNames_Stub( | |
29381 | IRpcStubBuffer* This, | |
29382 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29383 | PRPC_MESSAGE pRpcMessage, | |
29384 | DWORD* pdwStubPhase); | |
29385 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetVarName_Proxy( | |
29386 | ICreateTypeInfo* This, | |
29387 | UINT index, | |
29388 | LPOLESTR szName); | |
29389 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetVarName_Stub( | |
29390 | IRpcStubBuffer* This, | |
29391 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29392 | PRPC_MESSAGE pRpcMessage, | |
29393 | DWORD* pdwStubPhase); | |
29394 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetTypeDescAlias_Proxy( | |
29395 | ICreateTypeInfo* This, | |
29396 | TYPEDESC* pTDescAlias); | |
29397 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetTypeDescAlias_Stub( | |
29398 | IRpcStubBuffer* This, | |
29399 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29400 | PRPC_MESSAGE pRpcMessage, | |
29401 | DWORD* pdwStubPhase); | |
29402 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_DefineFuncAsDllEntry_Proxy( | |
29403 | ICreateTypeInfo* This, | |
29404 | UINT index, | |
29405 | LPOLESTR szDllName, | |
29406 | LPOLESTR szProcName); | |
29407 | void __attribute__((__stdcall__)) ICreateTypeInfo_DefineFuncAsDllEntry_Stub( | |
29408 | IRpcStubBuffer* This, | |
29409 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29410 | PRPC_MESSAGE pRpcMessage, | |
29411 | DWORD* pdwStubPhase); | |
29412 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetFuncDocString_Proxy( | |
29413 | ICreateTypeInfo* This, | |
29414 | UINT index, | |
29415 | LPOLESTR szDocString); | |
29416 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetFuncDocString_Stub( | |
29417 | IRpcStubBuffer* This, | |
29418 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29419 | PRPC_MESSAGE pRpcMessage, | |
29420 | DWORD* pdwStubPhase); | |
29421 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetVarDocString_Proxy( | |
29422 | ICreateTypeInfo* This, | |
29423 | UINT index, | |
29424 | LPOLESTR szDocString); | |
29425 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetVarDocString_Stub( | |
29426 | IRpcStubBuffer* This, | |
29427 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29428 | PRPC_MESSAGE pRpcMessage, | |
29429 | DWORD* pdwStubPhase); | |
29430 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetFuncHelpContext_Proxy( | |
29431 | ICreateTypeInfo* This, | |
29432 | UINT index, | |
29433 | DWORD dwHelpContext); | |
29434 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetFuncHelpContext_Stub( | |
29435 | IRpcStubBuffer* This, | |
29436 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29437 | PRPC_MESSAGE pRpcMessage, | |
29438 | DWORD* pdwStubPhase); | |
29439 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetVarHelpContext_Proxy( | |
29440 | ICreateTypeInfo* This, | |
29441 | UINT index, | |
29442 | DWORD dwHelpContext); | |
29443 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetVarHelpContext_Stub( | |
29444 | IRpcStubBuffer* This, | |
29445 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29446 | PRPC_MESSAGE pRpcMessage, | |
29447 | DWORD* pdwStubPhase); | |
29448 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetMops_Proxy( | |
29449 | ICreateTypeInfo* This, | |
29450 | UINT index, | |
29451 | BSTR bstrMops); | |
29452 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetMops_Stub( | |
29453 | IRpcStubBuffer* This, | |
29454 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29455 | PRPC_MESSAGE pRpcMessage, | |
29456 | DWORD* pdwStubPhase); | |
29457 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_SetTypeIdldesc_Proxy( | |
29458 | ICreateTypeInfo* This, | |
29459 | IDLDESC* pIdlDesc); | |
29460 | void __attribute__((__stdcall__)) ICreateTypeInfo_SetTypeIdldesc_Stub( | |
29461 | IRpcStubBuffer* This, | |
29462 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29463 | PRPC_MESSAGE pRpcMessage, | |
29464 | DWORD* pdwStubPhase); | |
29465 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo_LayOut_Proxy( | |
29466 | ICreateTypeInfo* This); | |
29467 | void __attribute__((__stdcall__)) ICreateTypeInfo_LayOut_Stub( | |
29468 | IRpcStubBuffer* This, | |
29469 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29470 | PRPC_MESSAGE pRpcMessage, | |
29471 | DWORD* pdwStubPhase); | |
29472 | ||
29473 | ||
29474 | ||
29475 | ||
29476 | ||
29477 | typedef struct ICreateTypeInfo2 ICreateTypeInfo2; | |
29478 | ||
29479 | ||
29480 | typedef ICreateTypeInfo2 *LPCREATETYPEINFO2; | |
29481 | ||
29482 | ||
29483 | ||
29484 | ||
29485 | ||
29486 | ||
29487 | extern const GUID IID_ICreateTypeInfo2 __attribute__((visibility ("hidden"))); | |
29488 | # 4192 "../../../include/oaidl.h" | |
29489 | typedef struct ICreateTypeInfo2Vtbl { | |
29490 | ||
29491 | ||
29492 | ||
29493 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
29494 | ICreateTypeInfo2* This, | |
29495 | const IID* const riid, | |
29496 | void** ppvObject); | |
29497 | ||
29498 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
29499 | ICreateTypeInfo2* This); | |
29500 | ||
29501 | ULONG (__attribute__((__stdcall__)) *Release)( | |
29502 | ICreateTypeInfo2* This); | |
29503 | ||
29504 | ||
29505 | HRESULT (__attribute__((__stdcall__)) *SetGuid)( | |
29506 | ICreateTypeInfo2* This, | |
29507 | const GUID* const guid); | |
29508 | ||
29509 | HRESULT (__attribute__((__stdcall__)) *SetTypeFlags)( | |
29510 | ICreateTypeInfo2* This, | |
29511 | UINT uTypeFlags); | |
29512 | ||
29513 | HRESULT (__attribute__((__stdcall__)) *SetDocString)( | |
29514 | ICreateTypeInfo2* This, | |
29515 | LPOLESTR pStrDoc); | |
29516 | ||
29517 | HRESULT (__attribute__((__stdcall__)) *SetHelpContext)( | |
29518 | ICreateTypeInfo2* This, | |
29519 | DWORD dwHelpContext); | |
29520 | ||
29521 | HRESULT (__attribute__((__stdcall__)) *SetVersion)( | |
29522 | ICreateTypeInfo2* This, | |
29523 | WORD wMajorVerNum, | |
29524 | WORD wMinorVerNum); | |
29525 | ||
29526 | HRESULT (__attribute__((__stdcall__)) *AddRefTypeInfo)( | |
29527 | ICreateTypeInfo2* This, | |
29528 | ITypeInfo* pTInfo, | |
29529 | HREFTYPE* phRefType); | |
29530 | ||
29531 | HRESULT (__attribute__((__stdcall__)) *AddFuncDesc)( | |
29532 | ICreateTypeInfo2* This, | |
29533 | UINT index, | |
29534 | FUNCDESC* pFuncDesc); | |
29535 | ||
29536 | HRESULT (__attribute__((__stdcall__)) *AddImplType)( | |
29537 | ICreateTypeInfo2* This, | |
29538 | UINT index, | |
29539 | HREFTYPE hRefType); | |
29540 | ||
29541 | HRESULT (__attribute__((__stdcall__)) *SetImplTypeFlags)( | |
29542 | ICreateTypeInfo2* This, | |
29543 | UINT index, | |
29544 | INT implTypeFlags); | |
29545 | ||
29546 | HRESULT (__attribute__((__stdcall__)) *SetAlignment)( | |
29547 | ICreateTypeInfo2* This, | |
29548 | WORD cbAlignment); | |
29549 | ||
29550 | HRESULT (__attribute__((__stdcall__)) *SetSchema)( | |
29551 | ICreateTypeInfo2* This, | |
29552 | LPOLESTR pStrSchema); | |
29553 | ||
29554 | HRESULT (__attribute__((__stdcall__)) *AddVarDesc)( | |
29555 | ICreateTypeInfo2* This, | |
29556 | UINT index, | |
29557 | VARDESC* pVarDesc); | |
29558 | ||
29559 | HRESULT (__attribute__((__stdcall__)) *SetFuncAndParamNames)( | |
29560 | ICreateTypeInfo2* This, | |
29561 | UINT index, | |
29562 | LPOLESTR* rgszNames, | |
29563 | UINT cNames); | |
29564 | ||
29565 | HRESULT (__attribute__((__stdcall__)) *SetVarName)( | |
29566 | ICreateTypeInfo2* This, | |
29567 | UINT index, | |
29568 | LPOLESTR szName); | |
29569 | ||
29570 | HRESULT (__attribute__((__stdcall__)) *SetTypeDescAlias)( | |
29571 | ICreateTypeInfo2* This, | |
29572 | TYPEDESC* pTDescAlias); | |
29573 | ||
29574 | HRESULT (__attribute__((__stdcall__)) *DefineFuncAsDllEntry)( | |
29575 | ICreateTypeInfo2* This, | |
29576 | UINT index, | |
29577 | LPOLESTR szDllName, | |
29578 | LPOLESTR szProcName); | |
29579 | ||
29580 | HRESULT (__attribute__((__stdcall__)) *SetFuncDocString)( | |
29581 | ICreateTypeInfo2* This, | |
29582 | UINT index, | |
29583 | LPOLESTR szDocString); | |
29584 | ||
29585 | HRESULT (__attribute__((__stdcall__)) *SetVarDocString)( | |
29586 | ICreateTypeInfo2* This, | |
29587 | UINT index, | |
29588 | LPOLESTR szDocString); | |
29589 | ||
29590 | HRESULT (__attribute__((__stdcall__)) *SetFuncHelpContext)( | |
29591 | ICreateTypeInfo2* This, | |
29592 | UINT index, | |
29593 | DWORD dwHelpContext); | |
29594 | ||
29595 | HRESULT (__attribute__((__stdcall__)) *SetVarHelpContext)( | |
29596 | ICreateTypeInfo2* This, | |
29597 | UINT index, | |
29598 | DWORD dwHelpContext); | |
29599 | ||
29600 | HRESULT (__attribute__((__stdcall__)) *SetMops)( | |
29601 | ICreateTypeInfo2* This, | |
29602 | UINT index, | |
29603 | BSTR bstrMops); | |
29604 | ||
29605 | HRESULT (__attribute__((__stdcall__)) *SetTypeIdldesc)( | |
29606 | ICreateTypeInfo2* This, | |
29607 | IDLDESC* pIdlDesc); | |
29608 | ||
29609 | HRESULT (__attribute__((__stdcall__)) *LayOut)( | |
29610 | ICreateTypeInfo2* This); | |
29611 | ||
29612 | ||
29613 | HRESULT (__attribute__((__stdcall__)) *DeleteFuncDesc)( | |
29614 | ICreateTypeInfo2* This, | |
29615 | UINT index); | |
29616 | ||
29617 | HRESULT (__attribute__((__stdcall__)) *DeleteFuncDescByMemId)( | |
29618 | ICreateTypeInfo2* This, | |
29619 | MEMBERID memid, | |
29620 | INVOKEKIND invKind); | |
29621 | ||
29622 | HRESULT (__attribute__((__stdcall__)) *DeleteVarDesc)( | |
29623 | ICreateTypeInfo2* This, | |
29624 | UINT index); | |
29625 | ||
29626 | HRESULT (__attribute__((__stdcall__)) *DeleteVarDescByMemId)( | |
29627 | ICreateTypeInfo2* This, | |
29628 | MEMBERID memid); | |
29629 | ||
29630 | HRESULT (__attribute__((__stdcall__)) *DeleteImplType)( | |
29631 | ICreateTypeInfo2* This, | |
29632 | UINT index); | |
29633 | ||
29634 | HRESULT (__attribute__((__stdcall__)) *SetCustData)( | |
29635 | ICreateTypeInfo2* This, | |
29636 | const GUID* const guid, | |
29637 | VARIANT* pVarVal); | |
29638 | ||
29639 | HRESULT (__attribute__((__stdcall__)) *SetFuncCustData)( | |
29640 | ICreateTypeInfo2* This, | |
29641 | UINT index, | |
29642 | const GUID* const guid, | |
29643 | VARIANT* pVarVal); | |
29644 | ||
29645 | HRESULT (__attribute__((__stdcall__)) *SetParamCustData)( | |
29646 | ICreateTypeInfo2* This, | |
29647 | UINT indexFunc, | |
29648 | UINT indexParam, | |
29649 | const GUID* const guid, | |
29650 | VARIANT* pVarVal); | |
29651 | ||
29652 | HRESULT (__attribute__((__stdcall__)) *SetVarCustData)( | |
29653 | ICreateTypeInfo2* This, | |
29654 | UINT index, | |
29655 | const GUID* const guid, | |
29656 | VARIANT* pVarVal); | |
29657 | ||
29658 | HRESULT (__attribute__((__stdcall__)) *SetImplTypeCustData)( | |
29659 | ICreateTypeInfo2* This, | |
29660 | UINT index, | |
29661 | const GUID* const guid, | |
29662 | VARIANT* pVarVal); | |
29663 | ||
29664 | HRESULT (__attribute__((__stdcall__)) *SetHelpStringContext)( | |
29665 | ICreateTypeInfo2* This, | |
29666 | ULONG dwHelpStringContext); | |
29667 | ||
29668 | HRESULT (__attribute__((__stdcall__)) *SetFuncHelpStringContext)( | |
29669 | ICreateTypeInfo2* This, | |
29670 | UINT index, | |
29671 | ULONG dwHelpStringContext); | |
29672 | ||
29673 | HRESULT (__attribute__((__stdcall__)) *SetVarHelpStringContext)( | |
29674 | ICreateTypeInfo2* This, | |
29675 | UINT index, | |
29676 | ULONG dwHelpStringContext); | |
29677 | ||
29678 | HRESULT (__attribute__((__stdcall__)) *Invalidate)( | |
29679 | ICreateTypeInfo2* This); | |
29680 | ||
29681 | HRESULT (__attribute__((__stdcall__)) *SetName)( | |
29682 | ICreateTypeInfo2* This, | |
29683 | LPOLESTR szName); | |
29684 | ||
29685 | ||
29686 | } ICreateTypeInfo2Vtbl; | |
29687 | struct ICreateTypeInfo2 { | |
29688 | const ICreateTypeInfo2Vtbl* lpVtbl; | |
29689 | }; | |
29690 | # 4443 "../../../include/oaidl.h" | |
29691 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteFuncDesc_Proxy( | |
29692 | ICreateTypeInfo2* This, | |
29693 | UINT index); | |
29694 | void __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteFuncDesc_Stub( | |
29695 | IRpcStubBuffer* This, | |
29696 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29697 | PRPC_MESSAGE pRpcMessage, | |
29698 | DWORD* pdwStubPhase); | |
29699 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteFuncDescByMemId_Proxy( | |
29700 | ICreateTypeInfo2* This, | |
29701 | MEMBERID memid, | |
29702 | INVOKEKIND invKind); | |
29703 | void __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteFuncDescByMemId_Stub( | |
29704 | IRpcStubBuffer* This, | |
29705 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29706 | PRPC_MESSAGE pRpcMessage, | |
29707 | DWORD* pdwStubPhase); | |
29708 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteVarDesc_Proxy( | |
29709 | ICreateTypeInfo2* This, | |
29710 | UINT index); | |
29711 | void __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteVarDesc_Stub( | |
29712 | IRpcStubBuffer* This, | |
29713 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29714 | PRPC_MESSAGE pRpcMessage, | |
29715 | DWORD* pdwStubPhase); | |
29716 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteVarDescByMemId_Proxy( | |
29717 | ICreateTypeInfo2* This, | |
29718 | MEMBERID memid); | |
29719 | void __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteVarDescByMemId_Stub( | |
29720 | IRpcStubBuffer* This, | |
29721 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29722 | PRPC_MESSAGE pRpcMessage, | |
29723 | DWORD* pdwStubPhase); | |
29724 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteImplType_Proxy( | |
29725 | ICreateTypeInfo2* This, | |
29726 | UINT index); | |
29727 | void __attribute__((__stdcall__)) ICreateTypeInfo2_DeleteImplType_Stub( | |
29728 | IRpcStubBuffer* This, | |
29729 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29730 | PRPC_MESSAGE pRpcMessage, | |
29731 | DWORD* pdwStubPhase); | |
29732 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_SetCustData_Proxy( | |
29733 | ICreateTypeInfo2* This, | |
29734 | const GUID* const guid, | |
29735 | VARIANT* pVarVal); | |
29736 | void __attribute__((__stdcall__)) ICreateTypeInfo2_SetCustData_Stub( | |
29737 | IRpcStubBuffer* This, | |
29738 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29739 | PRPC_MESSAGE pRpcMessage, | |
29740 | DWORD* pdwStubPhase); | |
29741 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_SetFuncCustData_Proxy( | |
29742 | ICreateTypeInfo2* This, | |
29743 | UINT index, | |
29744 | const GUID* const guid, | |
29745 | VARIANT* pVarVal); | |
29746 | void __attribute__((__stdcall__)) ICreateTypeInfo2_SetFuncCustData_Stub( | |
29747 | IRpcStubBuffer* This, | |
29748 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29749 | PRPC_MESSAGE pRpcMessage, | |
29750 | DWORD* pdwStubPhase); | |
29751 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_SetParamCustData_Proxy( | |
29752 | ICreateTypeInfo2* This, | |
29753 | UINT indexFunc, | |
29754 | UINT indexParam, | |
29755 | const GUID* const guid, | |
29756 | VARIANT* pVarVal); | |
29757 | void __attribute__((__stdcall__)) ICreateTypeInfo2_SetParamCustData_Stub( | |
29758 | IRpcStubBuffer* This, | |
29759 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29760 | PRPC_MESSAGE pRpcMessage, | |
29761 | DWORD* pdwStubPhase); | |
29762 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_SetVarCustData_Proxy( | |
29763 | ICreateTypeInfo2* This, | |
29764 | UINT index, | |
29765 | const GUID* const guid, | |
29766 | VARIANT* pVarVal); | |
29767 | void __attribute__((__stdcall__)) ICreateTypeInfo2_SetVarCustData_Stub( | |
29768 | IRpcStubBuffer* This, | |
29769 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29770 | PRPC_MESSAGE pRpcMessage, | |
29771 | DWORD* pdwStubPhase); | |
29772 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_SetImplTypeCustData_Proxy( | |
29773 | ICreateTypeInfo2* This, | |
29774 | UINT index, | |
29775 | const GUID* const guid, | |
29776 | VARIANT* pVarVal); | |
29777 | void __attribute__((__stdcall__)) ICreateTypeInfo2_SetImplTypeCustData_Stub( | |
29778 | IRpcStubBuffer* This, | |
29779 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29780 | PRPC_MESSAGE pRpcMessage, | |
29781 | DWORD* pdwStubPhase); | |
29782 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_SetHelpStringContext_Proxy( | |
29783 | ICreateTypeInfo2* This, | |
29784 | ULONG dwHelpStringContext); | |
29785 | void __attribute__((__stdcall__)) ICreateTypeInfo2_SetHelpStringContext_Stub( | |
29786 | IRpcStubBuffer* This, | |
29787 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29788 | PRPC_MESSAGE pRpcMessage, | |
29789 | DWORD* pdwStubPhase); | |
29790 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_SetFuncHelpStringContext_Proxy( | |
29791 | ICreateTypeInfo2* This, | |
29792 | UINT index, | |
29793 | ULONG dwHelpStringContext); | |
29794 | void __attribute__((__stdcall__)) ICreateTypeInfo2_SetFuncHelpStringContext_Stub( | |
29795 | IRpcStubBuffer* This, | |
29796 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29797 | PRPC_MESSAGE pRpcMessage, | |
29798 | DWORD* pdwStubPhase); | |
29799 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_SetVarHelpStringContext_Proxy( | |
29800 | ICreateTypeInfo2* This, | |
29801 | UINT index, | |
29802 | ULONG dwHelpStringContext); | |
29803 | void __attribute__((__stdcall__)) ICreateTypeInfo2_SetVarHelpStringContext_Stub( | |
29804 | IRpcStubBuffer* This, | |
29805 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29806 | PRPC_MESSAGE pRpcMessage, | |
29807 | DWORD* pdwStubPhase); | |
29808 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_Invalidate_Proxy( | |
29809 | ICreateTypeInfo2* This); | |
29810 | void __attribute__((__stdcall__)) ICreateTypeInfo2_Invalidate_Stub( | |
29811 | IRpcStubBuffer* This, | |
29812 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29813 | PRPC_MESSAGE pRpcMessage, | |
29814 | DWORD* pdwStubPhase); | |
29815 | HRESULT __attribute__((__stdcall__)) ICreateTypeInfo2_SetName_Proxy( | |
29816 | ICreateTypeInfo2* This, | |
29817 | LPOLESTR szName); | |
29818 | void __attribute__((__stdcall__)) ICreateTypeInfo2_SetName_Stub( | |
29819 | IRpcStubBuffer* This, | |
29820 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29821 | PRPC_MESSAGE pRpcMessage, | |
29822 | DWORD* pdwStubPhase); | |
29823 | ||
29824 | ||
29825 | ||
29826 | ||
29827 | ||
29828 | typedef struct ICreateTypeLib ICreateTypeLib; | |
29829 | ||
29830 | ||
29831 | typedef ICreateTypeLib *LPCREATETYPELIB; | |
29832 | ||
29833 | ||
29834 | ||
29835 | ||
29836 | ||
29837 | ||
29838 | extern const GUID IID_ICreateTypeLib __attribute__((visibility ("hidden"))); | |
29839 | # 4629 "../../../include/oaidl.h" | |
29840 | typedef struct ICreateTypeLibVtbl { | |
29841 | ||
29842 | ||
29843 | ||
29844 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
29845 | ICreateTypeLib* This, | |
29846 | const IID* const riid, | |
29847 | void** ppvObject); | |
29848 | ||
29849 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
29850 | ICreateTypeLib* This); | |
29851 | ||
29852 | ULONG (__attribute__((__stdcall__)) *Release)( | |
29853 | ICreateTypeLib* This); | |
29854 | ||
29855 | ||
29856 | HRESULT (__attribute__((__stdcall__)) *CreateTypeInfo)( | |
29857 | ICreateTypeLib* This, | |
29858 | LPOLESTR szName, | |
29859 | TYPEKIND tkind, | |
29860 | ICreateTypeInfo** ppCTInfo); | |
29861 | ||
29862 | HRESULT (__attribute__((__stdcall__)) *SetName)( | |
29863 | ICreateTypeLib* This, | |
29864 | LPOLESTR szName); | |
29865 | ||
29866 | HRESULT (__attribute__((__stdcall__)) *SetVersion)( | |
29867 | ICreateTypeLib* This, | |
29868 | WORD wMajorVerNum, | |
29869 | WORD wMinorVerNum); | |
29870 | ||
29871 | HRESULT (__attribute__((__stdcall__)) *SetGuid)( | |
29872 | ICreateTypeLib* This, | |
29873 | const GUID* const guid); | |
29874 | ||
29875 | HRESULT (__attribute__((__stdcall__)) *SetDocString)( | |
29876 | ICreateTypeLib* This, | |
29877 | LPOLESTR szDoc); | |
29878 | ||
29879 | HRESULT (__attribute__((__stdcall__)) *SetHelpFileName)( | |
29880 | ICreateTypeLib* This, | |
29881 | LPOLESTR szHelpFileName); | |
29882 | ||
29883 | HRESULT (__attribute__((__stdcall__)) *SetHelpContext)( | |
29884 | ICreateTypeLib* This, | |
29885 | DWORD dwHelpContext); | |
29886 | ||
29887 | HRESULT (__attribute__((__stdcall__)) *SetLcid)( | |
29888 | ICreateTypeLib* This, | |
29889 | LCID lcid); | |
29890 | ||
29891 | HRESULT (__attribute__((__stdcall__)) *SetLibFlags)( | |
29892 | ICreateTypeLib* This, | |
29893 | UINT uLibFlags); | |
29894 | ||
29895 | HRESULT (__attribute__((__stdcall__)) *SaveAllChanges)( | |
29896 | ICreateTypeLib* This); | |
29897 | ||
29898 | ||
29899 | } ICreateTypeLibVtbl; | |
29900 | struct ICreateTypeLib { | |
29901 | const ICreateTypeLibVtbl* lpVtbl; | |
29902 | }; | |
29903 | # 4713 "../../../include/oaidl.h" | |
29904 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_CreateTypeInfo_Proxy( | |
29905 | ICreateTypeLib* This, | |
29906 | LPOLESTR szName, | |
29907 | TYPEKIND tkind, | |
29908 | ICreateTypeInfo** ppCTInfo); | |
29909 | void __attribute__((__stdcall__)) ICreateTypeLib_CreateTypeInfo_Stub( | |
29910 | IRpcStubBuffer* This, | |
29911 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29912 | PRPC_MESSAGE pRpcMessage, | |
29913 | DWORD* pdwStubPhase); | |
29914 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_SetName_Proxy( | |
29915 | ICreateTypeLib* This, | |
29916 | LPOLESTR szName); | |
29917 | void __attribute__((__stdcall__)) ICreateTypeLib_SetName_Stub( | |
29918 | IRpcStubBuffer* This, | |
29919 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29920 | PRPC_MESSAGE pRpcMessage, | |
29921 | DWORD* pdwStubPhase); | |
29922 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_SetVersion_Proxy( | |
29923 | ICreateTypeLib* This, | |
29924 | WORD wMajorVerNum, | |
29925 | WORD wMinorVerNum); | |
29926 | void __attribute__((__stdcall__)) ICreateTypeLib_SetVersion_Stub( | |
29927 | IRpcStubBuffer* This, | |
29928 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29929 | PRPC_MESSAGE pRpcMessage, | |
29930 | DWORD* pdwStubPhase); | |
29931 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_SetGuid_Proxy( | |
29932 | ICreateTypeLib* This, | |
29933 | const GUID* const guid); | |
29934 | void __attribute__((__stdcall__)) ICreateTypeLib_SetGuid_Stub( | |
29935 | IRpcStubBuffer* This, | |
29936 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29937 | PRPC_MESSAGE pRpcMessage, | |
29938 | DWORD* pdwStubPhase); | |
29939 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_SetDocString_Proxy( | |
29940 | ICreateTypeLib* This, | |
29941 | LPOLESTR szDoc); | |
29942 | void __attribute__((__stdcall__)) ICreateTypeLib_SetDocString_Stub( | |
29943 | IRpcStubBuffer* This, | |
29944 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29945 | PRPC_MESSAGE pRpcMessage, | |
29946 | DWORD* pdwStubPhase); | |
29947 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_SetHelpFileName_Proxy( | |
29948 | ICreateTypeLib* This, | |
29949 | LPOLESTR szHelpFileName); | |
29950 | void __attribute__((__stdcall__)) ICreateTypeLib_SetHelpFileName_Stub( | |
29951 | IRpcStubBuffer* This, | |
29952 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29953 | PRPC_MESSAGE pRpcMessage, | |
29954 | DWORD* pdwStubPhase); | |
29955 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_SetHelpContext_Proxy( | |
29956 | ICreateTypeLib* This, | |
29957 | DWORD dwHelpContext); | |
29958 | void __attribute__((__stdcall__)) ICreateTypeLib_SetHelpContext_Stub( | |
29959 | IRpcStubBuffer* This, | |
29960 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29961 | PRPC_MESSAGE pRpcMessage, | |
29962 | DWORD* pdwStubPhase); | |
29963 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_SetLcid_Proxy( | |
29964 | ICreateTypeLib* This, | |
29965 | LCID lcid); | |
29966 | void __attribute__((__stdcall__)) ICreateTypeLib_SetLcid_Stub( | |
29967 | IRpcStubBuffer* This, | |
29968 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29969 | PRPC_MESSAGE pRpcMessage, | |
29970 | DWORD* pdwStubPhase); | |
29971 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_SetLibFlags_Proxy( | |
29972 | ICreateTypeLib* This, | |
29973 | UINT uLibFlags); | |
29974 | void __attribute__((__stdcall__)) ICreateTypeLib_SetLibFlags_Stub( | |
29975 | IRpcStubBuffer* This, | |
29976 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29977 | PRPC_MESSAGE pRpcMessage, | |
29978 | DWORD* pdwStubPhase); | |
29979 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib_SaveAllChanges_Proxy( | |
29980 | ICreateTypeLib* This); | |
29981 | void __attribute__((__stdcall__)) ICreateTypeLib_SaveAllChanges_Stub( | |
29982 | IRpcStubBuffer* This, | |
29983 | IRpcChannelBuffer* pRpcChannelBuffer, | |
29984 | PRPC_MESSAGE pRpcMessage, | |
29985 | DWORD* pdwStubPhase); | |
29986 | ||
29987 | ||
29988 | ||
29989 | ||
29990 | ||
29991 | typedef struct ICreateTypeLib2 ICreateTypeLib2; | |
29992 | ||
29993 | ||
29994 | typedef ICreateTypeLib2 *LPCREATETYPELIB2; | |
29995 | ||
29996 | ||
29997 | ||
29998 | ||
29999 | ||
30000 | ||
30001 | extern const GUID IID_ICreateTypeLib2 __attribute__((visibility ("hidden"))); | |
30002 | # 4829 "../../../include/oaidl.h" | |
30003 | typedef struct ICreateTypeLib2Vtbl { | |
30004 | ||
30005 | ||
30006 | ||
30007 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
30008 | ICreateTypeLib2* This, | |
30009 | const IID* const riid, | |
30010 | void** ppvObject); | |
30011 | ||
30012 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
30013 | ICreateTypeLib2* This); | |
30014 | ||
30015 | ULONG (__attribute__((__stdcall__)) *Release)( | |
30016 | ICreateTypeLib2* This); | |
30017 | ||
30018 | ||
30019 | HRESULT (__attribute__((__stdcall__)) *CreateTypeInfo)( | |
30020 | ICreateTypeLib2* This, | |
30021 | LPOLESTR szName, | |
30022 | TYPEKIND tkind, | |
30023 | ICreateTypeInfo** ppCTInfo); | |
30024 | ||
30025 | HRESULT (__attribute__((__stdcall__)) *SetName)( | |
30026 | ICreateTypeLib2* This, | |
30027 | LPOLESTR szName); | |
30028 | ||
30029 | HRESULT (__attribute__((__stdcall__)) *SetVersion)( | |
30030 | ICreateTypeLib2* This, | |
30031 | WORD wMajorVerNum, | |
30032 | WORD wMinorVerNum); | |
30033 | ||
30034 | HRESULT (__attribute__((__stdcall__)) *SetGuid)( | |
30035 | ICreateTypeLib2* This, | |
30036 | const GUID* const guid); | |
30037 | ||
30038 | HRESULT (__attribute__((__stdcall__)) *SetDocString)( | |
30039 | ICreateTypeLib2* This, | |
30040 | LPOLESTR szDoc); | |
30041 | ||
30042 | HRESULT (__attribute__((__stdcall__)) *SetHelpFileName)( | |
30043 | ICreateTypeLib2* This, | |
30044 | LPOLESTR szHelpFileName); | |
30045 | ||
30046 | HRESULT (__attribute__((__stdcall__)) *SetHelpContext)( | |
30047 | ICreateTypeLib2* This, | |
30048 | DWORD dwHelpContext); | |
30049 | ||
30050 | HRESULT (__attribute__((__stdcall__)) *SetLcid)( | |
30051 | ICreateTypeLib2* This, | |
30052 | LCID lcid); | |
30053 | ||
30054 | HRESULT (__attribute__((__stdcall__)) *SetLibFlags)( | |
30055 | ICreateTypeLib2* This, | |
30056 | UINT uLibFlags); | |
30057 | ||
30058 | HRESULT (__attribute__((__stdcall__)) *SaveAllChanges)( | |
30059 | ICreateTypeLib2* This); | |
30060 | ||
30061 | ||
30062 | HRESULT (__attribute__((__stdcall__)) *DeleteTypeInfo)( | |
30063 | ICreateTypeLib2* This, | |
30064 | LPOLESTR szName); | |
30065 | ||
30066 | HRESULT (__attribute__((__stdcall__)) *SetCustData)( | |
30067 | ICreateTypeLib2* This, | |
30068 | const GUID* const guid, | |
30069 | VARIANT* pVarVal); | |
30070 | ||
30071 | HRESULT (__attribute__((__stdcall__)) *SetHelpStringContext)( | |
30072 | ICreateTypeLib2* This, | |
30073 | ULONG dwHelpStringContext); | |
30074 | ||
30075 | HRESULT (__attribute__((__stdcall__)) *SetHelpStringDll)( | |
30076 | ICreateTypeLib2* This, | |
30077 | LPOLESTR szFileName); | |
30078 | ||
30079 | ||
30080 | } ICreateTypeLib2Vtbl; | |
30081 | struct ICreateTypeLib2 { | |
30082 | const ICreateTypeLib2Vtbl* lpVtbl; | |
30083 | }; | |
30084 | # 4936 "../../../include/oaidl.h" | |
30085 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib2_DeleteTypeInfo_Proxy( | |
30086 | ICreateTypeLib2* This, | |
30087 | LPOLESTR szName); | |
30088 | void __attribute__((__stdcall__)) ICreateTypeLib2_DeleteTypeInfo_Stub( | |
30089 | IRpcStubBuffer* This, | |
30090 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30091 | PRPC_MESSAGE pRpcMessage, | |
30092 | DWORD* pdwStubPhase); | |
30093 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib2_SetCustData_Proxy( | |
30094 | ICreateTypeLib2* This, | |
30095 | const GUID* const guid, | |
30096 | VARIANT* pVarVal); | |
30097 | void __attribute__((__stdcall__)) ICreateTypeLib2_SetCustData_Stub( | |
30098 | IRpcStubBuffer* This, | |
30099 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30100 | PRPC_MESSAGE pRpcMessage, | |
30101 | DWORD* pdwStubPhase); | |
30102 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib2_SetHelpStringContext_Proxy( | |
30103 | ICreateTypeLib2* This, | |
30104 | ULONG dwHelpStringContext); | |
30105 | void __attribute__((__stdcall__)) ICreateTypeLib2_SetHelpStringContext_Stub( | |
30106 | IRpcStubBuffer* This, | |
30107 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30108 | PRPC_MESSAGE pRpcMessage, | |
30109 | DWORD* pdwStubPhase); | |
30110 | HRESULT __attribute__((__stdcall__)) ICreateTypeLib2_SetHelpStringDll_Proxy( | |
30111 | ICreateTypeLib2* This, | |
30112 | LPOLESTR szFileName); | |
30113 | void __attribute__((__stdcall__)) ICreateTypeLib2_SetHelpStringDll_Stub( | |
30114 | IRpcStubBuffer* This, | |
30115 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30116 | PRPC_MESSAGE pRpcMessage, | |
30117 | DWORD* pdwStubPhase); | |
30118 | ||
30119 | ||
30120 | ||
30121 | ||
30122 | ||
30123 | typedef struct IErrorLog IErrorLog; | |
30124 | ||
30125 | ||
30126 | typedef IErrorLog *LPERRORLOG; | |
30127 | ||
30128 | ||
30129 | ||
30130 | ||
30131 | ||
30132 | ||
30133 | extern const GUID IID_IErrorLog __attribute__((visibility ("hidden"))); | |
30134 | # 4994 "../../../include/oaidl.h" | |
30135 | typedef struct IErrorLogVtbl { | |
30136 | ||
30137 | ||
30138 | ||
30139 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
30140 | IErrorLog* This, | |
30141 | const IID* const riid, | |
30142 | void** ppvObject); | |
30143 | ||
30144 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
30145 | IErrorLog* This); | |
30146 | ||
30147 | ULONG (__attribute__((__stdcall__)) *Release)( | |
30148 | IErrorLog* This); | |
30149 | ||
30150 | ||
30151 | HRESULT (__attribute__((__stdcall__)) *AddError)( | |
30152 | IErrorLog* This, | |
30153 | LPCOLESTR pszPropName, | |
30154 | EXCEPINFO* pExcepInfo); | |
30155 | ||
30156 | ||
30157 | } IErrorLogVtbl; | |
30158 | struct IErrorLog { | |
30159 | const IErrorLogVtbl* lpVtbl; | |
30160 | }; | |
30161 | # 5032 "../../../include/oaidl.h" | |
30162 | HRESULT __attribute__((__stdcall__)) IErrorLog_AddError_Proxy( | |
30163 | IErrorLog* This, | |
30164 | LPCOLESTR pszPropName, | |
30165 | EXCEPINFO* pExcepInfo); | |
30166 | void __attribute__((__stdcall__)) IErrorLog_AddError_Stub( | |
30167 | IRpcStubBuffer* This, | |
30168 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30169 | PRPC_MESSAGE pRpcMessage, | |
30170 | DWORD* pdwStubPhase); | |
30171 | ||
30172 | ||
30173 | ||
30174 | ||
30175 | ||
30176 | typedef struct IPropertyBag IPropertyBag; | |
30177 | ||
30178 | ||
30179 | typedef IPropertyBag *LPPROPERTYBAG; | |
30180 | ||
30181 | ||
30182 | ||
30183 | ||
30184 | ||
30185 | ||
30186 | extern const GUID IID_IPropertyBag __attribute__((visibility ("hidden"))); | |
30187 | # 5071 "../../../include/oaidl.h" | |
30188 | typedef struct IPropertyBagVtbl { | |
30189 | ||
30190 | ||
30191 | ||
30192 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
30193 | IPropertyBag* This, | |
30194 | const IID* const riid, | |
30195 | void** ppvObject); | |
30196 | ||
30197 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
30198 | IPropertyBag* This); | |
30199 | ||
30200 | ULONG (__attribute__((__stdcall__)) *Release)( | |
30201 | IPropertyBag* This); | |
30202 | ||
30203 | ||
30204 | HRESULT (__attribute__((__stdcall__)) *Read)( | |
30205 | IPropertyBag* This, | |
30206 | LPCOLESTR pszPropName, | |
30207 | VARIANT* pVar, | |
30208 | IErrorLog* pErrorLog); | |
30209 | ||
30210 | HRESULT (__attribute__((__stdcall__)) *Write)( | |
30211 | IPropertyBag* This, | |
30212 | LPCOLESTR pszPropName, | |
30213 | VARIANT* pVar); | |
30214 | ||
30215 | ||
30216 | } IPropertyBagVtbl; | |
30217 | struct IPropertyBag { | |
30218 | const IPropertyBagVtbl* lpVtbl; | |
30219 | }; | |
30220 | # 5116 "../../../include/oaidl.h" | |
30221 | HRESULT __attribute__((__stdcall__)) IPropertyBag_RemoteRead_Proxy( | |
30222 | IPropertyBag* This, | |
30223 | LPCOLESTR pszPropName, | |
30224 | VARIANT* pVar, | |
30225 | IErrorLog* pErrorLog, | |
30226 | DWORD varType, | |
30227 | IUnknown* pUnkObj); | |
30228 | void __attribute__((__stdcall__)) IPropertyBag_RemoteRead_Stub( | |
30229 | IRpcStubBuffer* This, | |
30230 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30231 | PRPC_MESSAGE pRpcMessage, | |
30232 | DWORD* pdwStubPhase); | |
30233 | HRESULT __attribute__((__stdcall__)) IPropertyBag_Read_Proxy( | |
30234 | IPropertyBag* This, | |
30235 | LPCOLESTR pszPropName, | |
30236 | VARIANT* pVar, | |
30237 | IErrorLog* pErrorLog); | |
30238 | HRESULT __attribute__((__stdcall__)) IPropertyBag_Read_Stub( | |
30239 | IPropertyBag* This, | |
30240 | LPCOLESTR pszPropName, | |
30241 | VARIANT* pVar, | |
30242 | IErrorLog* pErrorLog, | |
30243 | DWORD varType, | |
30244 | IUnknown* pUnkObj); | |
30245 | HRESULT __attribute__((__stdcall__)) IPropertyBag_Write_Proxy( | |
30246 | IPropertyBag* This, | |
30247 | LPCOLESTR pszPropName, | |
30248 | VARIANT* pVar); | |
30249 | void __attribute__((__stdcall__)) IPropertyBag_Write_Stub( | |
30250 | IRpcStubBuffer* This, | |
30251 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30252 | PRPC_MESSAGE pRpcMessage, | |
30253 | DWORD* pdwStubPhase); | |
30254 | ||
30255 | ||
30256 | ||
30257 | ||
30258 | ||
30259 | unsigned long __attribute__((__stdcall__)) CLEANLOCALSTORAGE_UserSize (unsigned long *, unsigned long, CLEANLOCALSTORAGE *); | |
30260 | unsigned char * __attribute__((__stdcall__)) CLEANLOCALSTORAGE_UserMarshal (unsigned long *, unsigned char *, CLEANLOCALSTORAGE *); | |
30261 | unsigned char * __attribute__((__stdcall__)) CLEANLOCALSTORAGE_UserUnmarshal(unsigned long *, unsigned char *, CLEANLOCALSTORAGE *); | |
30262 | void __attribute__((__stdcall__)) CLEANLOCALSTORAGE_UserFree (unsigned long *, CLEANLOCALSTORAGE *); | |
30263 | unsigned long __attribute__((__stdcall__)) BSTR_UserSize (unsigned long *, unsigned long, BSTR *); | |
30264 | unsigned char * __attribute__((__stdcall__)) BSTR_UserMarshal (unsigned long *, unsigned char *, BSTR *); | |
30265 | unsigned char * __attribute__((__stdcall__)) BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR *); | |
30266 | void __attribute__((__stdcall__)) BSTR_UserFree (unsigned long *, BSTR *); | |
30267 | unsigned long __attribute__((__stdcall__)) VARIANT_UserSize (unsigned long *, unsigned long, VARIANT *); | |
30268 | unsigned char * __attribute__((__stdcall__)) VARIANT_UserMarshal (unsigned long *, unsigned char *, VARIANT *); | |
30269 | unsigned char * __attribute__((__stdcall__)) VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT *); | |
30270 | void __attribute__((__stdcall__)) VARIANT_UserFree (unsigned long *, VARIANT *); | |
30271 | # 12 "../../../include/propidl.h" 2 | |
30272 | # 23 "../../../include/propidl.h" | |
30273 | typedef struct IEnumSTATPROPSTG IEnumSTATPROPSTG; | |
30274 | ||
30275 | ||
30276 | ||
30277 | ||
30278 | typedef struct IEnumSTATPROPSETSTG IEnumSTATPROPSETSTG; | |
30279 | ||
30280 | ||
30281 | ||
30282 | ||
30283 | typedef struct IPropertyStorage IPropertyStorage; | |
30284 | ||
30285 | ||
30286 | typedef IPropertyStorage *LPPROPERTYSTORAGE; | |
30287 | # 71 "../../../include/propidl.h" | |
30288 | typedef struct tagPROPVARIANT PROPVARIANT; | |
30289 | typedef struct tagCAUB { | |
30290 | ULONG cElems; | |
30291 | unsigned char *pElems; | |
30292 | } CAUB; | |
30293 | typedef struct tagCAI { | |
30294 | ULONG cElems; | |
30295 | short *pElems; | |
30296 | } CAI; | |
30297 | typedef struct tagCAUI { | |
30298 | ULONG cElems; | |
30299 | USHORT *pElems; | |
30300 | } CAUI; | |
30301 | typedef struct tagCAL { | |
30302 | ULONG cElems; | |
30303 | long *pElems; | |
30304 | } CAL; | |
30305 | typedef struct tagCAUL { | |
30306 | ULONG cElems; | |
30307 | ULONG *pElems; | |
30308 | } CAUL; | |
30309 | typedef struct tagCAFLT { | |
30310 | ULONG cElems; | |
30311 | float *pElems; | |
30312 | } CAFLT; | |
30313 | typedef struct tagCADBL { | |
30314 | ULONG cElems; | |
30315 | double *pElems; | |
30316 | } CADBL; | |
30317 | typedef struct tagCACY { | |
30318 | ULONG cElems; | |
30319 | CY *pElems; | |
30320 | } CACY; | |
30321 | typedef struct tagCADATE { | |
30322 | ULONG cElems; | |
30323 | DATE *pElems; | |
30324 | } CADATE; | |
30325 | typedef struct tagCABSTR { | |
30326 | ULONG cElems; | |
30327 | BSTR *pElems; | |
30328 | } CABSTR; | |
30329 | typedef struct tagCABSTRBLOB { | |
30330 | ULONG cElems; | |
30331 | BSTRBLOB *pElems; | |
30332 | } CABSTRBLOB; | |
30333 | typedef struct tagCABOOL { | |
30334 | ULONG cElems; | |
30335 | VARIANT_BOOL *pElems; | |
30336 | } CABOOL; | |
30337 | typedef struct tagCASCODE { | |
30338 | ULONG cElems; | |
30339 | SCODE *pElems; | |
30340 | } CASCODE; | |
30341 | typedef struct tagCAPROPVARIANT { | |
30342 | ULONG cElems; | |
30343 | PROPVARIANT *pElems; | |
30344 | } CAPROPVARIANT; | |
30345 | typedef struct tagCAH { | |
30346 | ULONG cElems; | |
30347 | LARGE_INTEGER *pElems; | |
30348 | } CAH; | |
30349 | typedef struct tagCAUH { | |
30350 | ULONG cElems; | |
30351 | ULARGE_INTEGER *pElems; | |
30352 | } CAUH; | |
30353 | typedef struct tagCALPSTR { | |
30354 | ULONG cElems; | |
30355 | LPSTR *pElems; | |
30356 | } CALPSTR; | |
30357 | typedef struct tagCALPWSTR { | |
30358 | ULONG cElems; | |
30359 | LPWSTR *pElems; | |
30360 | } CALPWSTR; | |
30361 | typedef struct tagCAFILETIME { | |
30362 | ULONG cElems; | |
30363 | FILETIME *pElems; | |
30364 | } CAFILETIME; | |
30365 | typedef struct tagCACLIPDATA { | |
30366 | ULONG cElems; | |
30367 | CLIPDATA *pElems; | |
30368 | } CACLIPDATA; | |
30369 | typedef struct tagCACLSID { | |
30370 | ULONG cElems; | |
30371 | CLSID *pElems; | |
30372 | } CACLSID; | |
30373 | struct tagPROPVARIANT { | |
30374 | VARTYPE vt; | |
30375 | WORD wReserved1; | |
30376 | WORD wReserved2; | |
30377 | WORD wReserved3; | |
30378 | union { | |
30379 | char cVal; | |
30380 | UCHAR bVal; | |
30381 | short iVal; | |
30382 | USHORT uiVal; | |
30383 | VARIANT_BOOL boolVal; | |
30384 | long lVal; | |
30385 | ULONG ulVal; | |
30386 | float fltVal; | |
30387 | SCODE scode; | |
30388 | LARGE_INTEGER hVal; | |
30389 | ULARGE_INTEGER uhVal; | |
30390 | double dblVal; | |
30391 | CY cyVal; | |
30392 | DATE date; | |
30393 | FILETIME filetime; | |
30394 | CLSID *puuid; | |
30395 | BLOB blob; | |
30396 | CLIPDATA *pclipdata; | |
30397 | IStream *pStream; | |
30398 | IStorage *pStorage; | |
30399 | BSTR bstrVal; | |
30400 | BSTRBLOB bstrblobVal; | |
30401 | LPSTR pszVal; | |
30402 | LPWSTR pwszVal; | |
30403 | CAUB caub; | |
30404 | CAI cai; | |
30405 | CAUI caui; | |
30406 | CABOOL cabool; | |
30407 | CAL cal; | |
30408 | CAUL caul; | |
30409 | CAFLT caflt; | |
30410 | CASCODE cascode; | |
30411 | CAH cah; | |
30412 | CAUH cauh; | |
30413 | CADBL cadbl; | |
30414 | CACY cacy; | |
30415 | CADATE cadate; | |
30416 | CAFILETIME cafiletime; | |
30417 | CACLSID cauuid; | |
30418 | CACLIPDATA caclipdata; | |
30419 | CABSTR cabstr; | |
30420 | CABSTRBLOB cabstrblob; | |
30421 | CALPSTR calpstr; | |
30422 | CALPWSTR calpwstr; | |
30423 | CAPROPVARIANT capropvar; | |
30424 | LPSAFEARRAY parray; | |
30425 | CHAR *pcVal; | |
30426 | UCHAR *pbVal; | |
30427 | SHORT *piVal; | |
30428 | USHORT *puiVal; | |
30429 | LONG *plVal; | |
30430 | ULONG *pulVal; | |
30431 | INT *pintVal; | |
30432 | UINT *puintVal; | |
30433 | FLOAT *pfltVal; | |
30434 | DOUBLE *pdblVal; | |
30435 | VARIANT_BOOL *pboolVal; | |
30436 | DECIMAL *pdecVal; | |
30437 | SCODE *pscode; | |
30438 | CY *pcyVal; | |
30439 | DATE *pdate; | |
30440 | BSTR *pbstrVal; | |
30441 | IUnknown **ppunkVal; | |
30442 | IDispatch **ppdispVal; | |
30443 | LPSAFEARRAY *pparray; | |
30444 | PROPVARIANT *pvarVal; | |
30445 | } ; | |
30446 | }; | |
30447 | ||
30448 | typedef struct tagPROPVARIANT *LPPROPVARIANT; | |
30449 | # 274 "../../../include/propidl.h" | |
30450 | typedef struct tagPROPSPEC { | |
30451 | ULONG ulKind; | |
30452 | union { | |
30453 | PROPID propid; | |
30454 | LPOLESTR lpwstr; | |
30455 | } ; | |
30456 | } PROPSPEC; | |
30457 | typedef struct tagSTATPROPSTG { | |
30458 | LPOLESTR lpwstrName; | |
30459 | PROPID propid; | |
30460 | VARTYPE vt; | |
30461 | } STATPROPSTG; | |
30462 | ||
30463 | ||
30464 | ||
30465 | ||
30466 | ||
30467 | typedef struct tagSTATPROPSETSTG { | |
30468 | FMTID fmtid; | |
30469 | CLSID clsid; | |
30470 | DWORD grfFlags; | |
30471 | FILETIME mtime; | |
30472 | FILETIME ctime; | |
30473 | FILETIME atime; | |
30474 | DWORD dwOSVersion; | |
30475 | } STATPROPSETSTG; | |
30476 | ||
30477 | ||
30478 | ||
30479 | ||
30480 | ||
30481 | ||
30482 | extern const GUID IID_IPropertyStorage __attribute__((visibility ("hidden"))); | |
30483 | # 361 "../../../include/propidl.h" | |
30484 | typedef struct IPropertyStorageVtbl { | |
30485 | ||
30486 | ||
30487 | ||
30488 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
30489 | IPropertyStorage* This, | |
30490 | const IID* const riid, | |
30491 | void** ppvObject); | |
30492 | ||
30493 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
30494 | IPropertyStorage* This); | |
30495 | ||
30496 | ULONG (__attribute__((__stdcall__)) *Release)( | |
30497 | IPropertyStorage* This); | |
30498 | ||
30499 | ||
30500 | HRESULT (__attribute__((__stdcall__)) *ReadMultiple)( | |
30501 | IPropertyStorage* This, | |
30502 | ULONG cpspec, | |
30503 | const PROPSPEC rgpspec[], | |
30504 | PROPVARIANT rgpropvar[]); | |
30505 | ||
30506 | HRESULT (__attribute__((__stdcall__)) *WriteMultiple)( | |
30507 | IPropertyStorage* This, | |
30508 | ULONG cpspec, | |
30509 | const PROPSPEC rgpspec[], | |
30510 | const PROPVARIANT rgpropvar[], | |
30511 | PROPID propidNameFirst); | |
30512 | ||
30513 | HRESULT (__attribute__((__stdcall__)) *DeleteMultiple)( | |
30514 | IPropertyStorage* This, | |
30515 | ULONG cpspec, | |
30516 | const PROPSPEC rgpspec[]); | |
30517 | ||
30518 | HRESULT (__attribute__((__stdcall__)) *ReadPropertyNames)( | |
30519 | IPropertyStorage* This, | |
30520 | ULONG cpropid, | |
30521 | const PROPID rgpropid[], | |
30522 | LPOLESTR rglpwstrName[]); | |
30523 | ||
30524 | HRESULT (__attribute__((__stdcall__)) *WritePropertyNames)( | |
30525 | IPropertyStorage* This, | |
30526 | ULONG cpropid, | |
30527 | const PROPID rgpropid[], | |
30528 | const LPOLESTR rglpwstrName[]); | |
30529 | ||
30530 | HRESULT (__attribute__((__stdcall__)) *DeletePropertyNames)( | |
30531 | IPropertyStorage* This, | |
30532 | ULONG cpropid, | |
30533 | const PROPID rgpropid[]); | |
30534 | ||
30535 | HRESULT (__attribute__((__stdcall__)) *Commit)( | |
30536 | IPropertyStorage* This, | |
30537 | DWORD grfCommitFlags); | |
30538 | ||
30539 | HRESULT (__attribute__((__stdcall__)) *Revert)( | |
30540 | IPropertyStorage* This); | |
30541 | ||
30542 | HRESULT (__attribute__((__stdcall__)) *Enum)( | |
30543 | IPropertyStorage* This, | |
30544 | IEnumSTATPROPSTG** ppenum); | |
30545 | ||
30546 | HRESULT (__attribute__((__stdcall__)) *SetTimes)( | |
30547 | IPropertyStorage* This, | |
30548 | const FILETIME* pctime, | |
30549 | const FILETIME* patime, | |
30550 | const FILETIME* pmtime); | |
30551 | ||
30552 | HRESULT (__attribute__((__stdcall__)) *SetClass)( | |
30553 | IPropertyStorage* This, | |
30554 | const CLSID* const clsid); | |
30555 | ||
30556 | HRESULT (__attribute__((__stdcall__)) *Stat)( | |
30557 | IPropertyStorage* This, | |
30558 | STATPROPSETSTG* statpsstg); | |
30559 | ||
30560 | ||
30561 | } IPropertyStorageVtbl; | |
30562 | struct IPropertyStorage { | |
30563 | const IPropertyStorageVtbl* lpVtbl; | |
30564 | }; | |
30565 | # 465 "../../../include/propidl.h" | |
30566 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_ReadMultiple_Proxy( | |
30567 | IPropertyStorage* This, | |
30568 | ULONG cpspec, | |
30569 | const PROPSPEC rgpspec[], | |
30570 | PROPVARIANT rgpropvar[]); | |
30571 | void __attribute__((__stdcall__)) IPropertyStorage_ReadMultiple_Stub( | |
30572 | IRpcStubBuffer* This, | |
30573 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30574 | PRPC_MESSAGE pRpcMessage, | |
30575 | DWORD* pdwStubPhase); | |
30576 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_WriteMultiple_Proxy( | |
30577 | IPropertyStorage* This, | |
30578 | ULONG cpspec, | |
30579 | const PROPSPEC rgpspec[], | |
30580 | const PROPVARIANT rgpropvar[], | |
30581 | PROPID propidNameFirst); | |
30582 | void __attribute__((__stdcall__)) IPropertyStorage_WriteMultiple_Stub( | |
30583 | IRpcStubBuffer* This, | |
30584 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30585 | PRPC_MESSAGE pRpcMessage, | |
30586 | DWORD* pdwStubPhase); | |
30587 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_DeleteMultiple_Proxy( | |
30588 | IPropertyStorage* This, | |
30589 | ULONG cpspec, | |
30590 | const PROPSPEC rgpspec[]); | |
30591 | void __attribute__((__stdcall__)) IPropertyStorage_DeleteMultiple_Stub( | |
30592 | IRpcStubBuffer* This, | |
30593 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30594 | PRPC_MESSAGE pRpcMessage, | |
30595 | DWORD* pdwStubPhase); | |
30596 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_ReadPropertyNames_Proxy( | |
30597 | IPropertyStorage* This, | |
30598 | ULONG cpropid, | |
30599 | const PROPID rgpropid[], | |
30600 | LPOLESTR rglpwstrName[]); | |
30601 | void __attribute__((__stdcall__)) IPropertyStorage_ReadPropertyNames_Stub( | |
30602 | IRpcStubBuffer* This, | |
30603 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30604 | PRPC_MESSAGE pRpcMessage, | |
30605 | DWORD* pdwStubPhase); | |
30606 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_WritePropertyNames_Proxy( | |
30607 | IPropertyStorage* This, | |
30608 | ULONG cpropid, | |
30609 | const PROPID rgpropid[], | |
30610 | const LPOLESTR rglpwstrName[]); | |
30611 | void __attribute__((__stdcall__)) IPropertyStorage_WritePropertyNames_Stub( | |
30612 | IRpcStubBuffer* This, | |
30613 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30614 | PRPC_MESSAGE pRpcMessage, | |
30615 | DWORD* pdwStubPhase); | |
30616 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_DeletePropertyNames_Proxy( | |
30617 | IPropertyStorage* This, | |
30618 | ULONG cpropid, | |
30619 | const PROPID rgpropid[]); | |
30620 | void __attribute__((__stdcall__)) IPropertyStorage_DeletePropertyNames_Stub( | |
30621 | IRpcStubBuffer* This, | |
30622 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30623 | PRPC_MESSAGE pRpcMessage, | |
30624 | DWORD* pdwStubPhase); | |
30625 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_Commit_Proxy( | |
30626 | IPropertyStorage* This, | |
30627 | DWORD grfCommitFlags); | |
30628 | void __attribute__((__stdcall__)) IPropertyStorage_Commit_Stub( | |
30629 | IRpcStubBuffer* This, | |
30630 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30631 | PRPC_MESSAGE pRpcMessage, | |
30632 | DWORD* pdwStubPhase); | |
30633 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_Revert_Proxy( | |
30634 | IPropertyStorage* This); | |
30635 | void __attribute__((__stdcall__)) IPropertyStorage_Revert_Stub( | |
30636 | IRpcStubBuffer* This, | |
30637 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30638 | PRPC_MESSAGE pRpcMessage, | |
30639 | DWORD* pdwStubPhase); | |
30640 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_Enum_Proxy( | |
30641 | IPropertyStorage* This, | |
30642 | IEnumSTATPROPSTG** ppenum); | |
30643 | void __attribute__((__stdcall__)) IPropertyStorage_Enum_Stub( | |
30644 | IRpcStubBuffer* This, | |
30645 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30646 | PRPC_MESSAGE pRpcMessage, | |
30647 | DWORD* pdwStubPhase); | |
30648 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_SetTimes_Proxy( | |
30649 | IPropertyStorage* This, | |
30650 | const FILETIME* pctime, | |
30651 | const FILETIME* patime, | |
30652 | const FILETIME* pmtime); | |
30653 | void __attribute__((__stdcall__)) IPropertyStorage_SetTimes_Stub( | |
30654 | IRpcStubBuffer* This, | |
30655 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30656 | PRPC_MESSAGE pRpcMessage, | |
30657 | DWORD* pdwStubPhase); | |
30658 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_SetClass_Proxy( | |
30659 | IPropertyStorage* This, | |
30660 | const CLSID* const clsid); | |
30661 | void __attribute__((__stdcall__)) IPropertyStorage_SetClass_Stub( | |
30662 | IRpcStubBuffer* This, | |
30663 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30664 | PRPC_MESSAGE pRpcMessage, | |
30665 | DWORD* pdwStubPhase); | |
30666 | HRESULT __attribute__((__stdcall__)) IPropertyStorage_Stat_Proxy( | |
30667 | IPropertyStorage* This, | |
30668 | STATPROPSETSTG* statpsstg); | |
30669 | void __attribute__((__stdcall__)) IPropertyStorage_Stat_Stub( | |
30670 | IRpcStubBuffer* This, | |
30671 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30672 | PRPC_MESSAGE pRpcMessage, | |
30673 | DWORD* pdwStubPhase); | |
30674 | ||
30675 | ||
30676 | ||
30677 | ||
30678 | ||
30679 | typedef struct IPropertySetStorage IPropertySetStorage; | |
30680 | ||
30681 | ||
30682 | typedef IPropertySetStorage *LPPROPERTYSETSTORAGE; | |
30683 | ||
30684 | ||
30685 | ||
30686 | ||
30687 | ||
30688 | ||
30689 | extern const GUID IID_IPropertySetStorage __attribute__((visibility ("hidden"))); | |
30690 | # 612 "../../../include/propidl.h" | |
30691 | typedef struct IPropertySetStorageVtbl { | |
30692 | ||
30693 | ||
30694 | ||
30695 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
30696 | IPropertySetStorage* This, | |
30697 | const IID* const riid, | |
30698 | void** ppvObject); | |
30699 | ||
30700 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
30701 | IPropertySetStorage* This); | |
30702 | ||
30703 | ULONG (__attribute__((__stdcall__)) *Release)( | |
30704 | IPropertySetStorage* This); | |
30705 | ||
30706 | ||
30707 | HRESULT (__attribute__((__stdcall__)) *Create)( | |
30708 | IPropertySetStorage* This, | |
30709 | const FMTID* const rfmtid, | |
30710 | const CLSID* pclsid, | |
30711 | DWORD grfFlags, | |
30712 | DWORD grfMode, | |
30713 | IPropertyStorage** ppprstg); | |
30714 | ||
30715 | HRESULT (__attribute__((__stdcall__)) *Open)( | |
30716 | IPropertySetStorage* This, | |
30717 | const FMTID* const rfmtid, | |
30718 | DWORD grfMode, | |
30719 | IPropertyStorage** ppprstg); | |
30720 | ||
30721 | HRESULT (__attribute__((__stdcall__)) *Delete)( | |
30722 | IPropertySetStorage* This, | |
30723 | const FMTID* const rfmtid); | |
30724 | ||
30725 | HRESULT (__attribute__((__stdcall__)) *Enum)( | |
30726 | IPropertySetStorage* This, | |
30727 | IEnumSTATPROPSETSTG** ppenum); | |
30728 | ||
30729 | ||
30730 | } IPropertySetStorageVtbl; | |
30731 | struct IPropertySetStorage { | |
30732 | const IPropertySetStorageVtbl* lpVtbl; | |
30733 | }; | |
30734 | # 670 "../../../include/propidl.h" | |
30735 | HRESULT __attribute__((__stdcall__)) IPropertySetStorage_Create_Proxy( | |
30736 | IPropertySetStorage* This, | |
30737 | const FMTID* const rfmtid, | |
30738 | const CLSID* pclsid, | |
30739 | DWORD grfFlags, | |
30740 | DWORD grfMode, | |
30741 | IPropertyStorage** ppprstg); | |
30742 | void __attribute__((__stdcall__)) IPropertySetStorage_Create_Stub( | |
30743 | IRpcStubBuffer* This, | |
30744 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30745 | PRPC_MESSAGE pRpcMessage, | |
30746 | DWORD* pdwStubPhase); | |
30747 | HRESULT __attribute__((__stdcall__)) IPropertySetStorage_Open_Proxy( | |
30748 | IPropertySetStorage* This, | |
30749 | const FMTID* const rfmtid, | |
30750 | DWORD grfMode, | |
30751 | IPropertyStorage** ppprstg); | |
30752 | void __attribute__((__stdcall__)) IPropertySetStorage_Open_Stub( | |
30753 | IRpcStubBuffer* This, | |
30754 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30755 | PRPC_MESSAGE pRpcMessage, | |
30756 | DWORD* pdwStubPhase); | |
30757 | HRESULT __attribute__((__stdcall__)) IPropertySetStorage_Delete_Proxy( | |
30758 | IPropertySetStorage* This, | |
30759 | const FMTID* const rfmtid); | |
30760 | void __attribute__((__stdcall__)) IPropertySetStorage_Delete_Stub( | |
30761 | IRpcStubBuffer* This, | |
30762 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30763 | PRPC_MESSAGE pRpcMessage, | |
30764 | DWORD* pdwStubPhase); | |
30765 | HRESULT __attribute__((__stdcall__)) IPropertySetStorage_Enum_Proxy( | |
30766 | IPropertySetStorage* This, | |
30767 | IEnumSTATPROPSETSTG** ppenum); | |
30768 | void __attribute__((__stdcall__)) IPropertySetStorage_Enum_Stub( | |
30769 | IRpcStubBuffer* This, | |
30770 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30771 | PRPC_MESSAGE pRpcMessage, | |
30772 | DWORD* pdwStubPhase); | |
30773 | ||
30774 | ||
30775 | ||
30776 | typedef IEnumSTATPROPSTG *LPENUMSTATPROPSTG; | |
30777 | ||
30778 | ||
30779 | ||
30780 | ||
30781 | ||
30782 | ||
30783 | extern const GUID IID_IEnumSTATPROPSTG __attribute__((visibility ("hidden"))); | |
30784 | # 738 "../../../include/propidl.h" | |
30785 | typedef struct IEnumSTATPROPSTGVtbl { | |
30786 | ||
30787 | ||
30788 | ||
30789 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
30790 | IEnumSTATPROPSTG* This, | |
30791 | const IID* const riid, | |
30792 | void** ppvObject); | |
30793 | ||
30794 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
30795 | IEnumSTATPROPSTG* This); | |
30796 | ||
30797 | ULONG (__attribute__((__stdcall__)) *Release)( | |
30798 | IEnumSTATPROPSTG* This); | |
30799 | ||
30800 | ||
30801 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
30802 | IEnumSTATPROPSTG* This, | |
30803 | ULONG celt, | |
30804 | STATPROPSTG* rgelt, | |
30805 | ULONG* pceltFetched); | |
30806 | ||
30807 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
30808 | IEnumSTATPROPSTG* This, | |
30809 | ULONG celt); | |
30810 | ||
30811 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
30812 | IEnumSTATPROPSTG* This); | |
30813 | ||
30814 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
30815 | IEnumSTATPROPSTG* This, | |
30816 | IEnumSTATPROPSTG** ppenum); | |
30817 | ||
30818 | ||
30819 | } IEnumSTATPROPSTGVtbl; | |
30820 | struct IEnumSTATPROPSTG { | |
30821 | const IEnumSTATPROPSTGVtbl* lpVtbl; | |
30822 | }; | |
30823 | # 791 "../../../include/propidl.h" | |
30824 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSTG_RemoteNext_Proxy( | |
30825 | IEnumSTATPROPSTG* This, | |
30826 | ULONG celt, | |
30827 | STATPROPSTG* rgelt, | |
30828 | ULONG* pceltFetched); | |
30829 | void __attribute__((__stdcall__)) IEnumSTATPROPSTG_RemoteNext_Stub( | |
30830 | IRpcStubBuffer* This, | |
30831 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30832 | PRPC_MESSAGE pRpcMessage, | |
30833 | DWORD* pdwStubPhase); | |
30834 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSTG_Next_Proxy( | |
30835 | IEnumSTATPROPSTG* This, | |
30836 | ULONG celt, | |
30837 | STATPROPSTG* rgelt, | |
30838 | ULONG* pceltFetched); | |
30839 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSTG_Next_Stub( | |
30840 | IEnumSTATPROPSTG* This, | |
30841 | ULONG celt, | |
30842 | STATPROPSTG* rgelt, | |
30843 | ULONG* pceltFetched); | |
30844 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSTG_Skip_Proxy( | |
30845 | IEnumSTATPROPSTG* This, | |
30846 | ULONG celt); | |
30847 | void __attribute__((__stdcall__)) IEnumSTATPROPSTG_Skip_Stub( | |
30848 | IRpcStubBuffer* This, | |
30849 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30850 | PRPC_MESSAGE pRpcMessage, | |
30851 | DWORD* pdwStubPhase); | |
30852 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSTG_Reset_Proxy( | |
30853 | IEnumSTATPROPSTG* This); | |
30854 | void __attribute__((__stdcall__)) IEnumSTATPROPSTG_Reset_Stub( | |
30855 | IRpcStubBuffer* This, | |
30856 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30857 | PRPC_MESSAGE pRpcMessage, | |
30858 | DWORD* pdwStubPhase); | |
30859 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSTG_Clone_Proxy( | |
30860 | IEnumSTATPROPSTG* This, | |
30861 | IEnumSTATPROPSTG** ppenum); | |
30862 | void __attribute__((__stdcall__)) IEnumSTATPROPSTG_Clone_Stub( | |
30863 | IRpcStubBuffer* This, | |
30864 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30865 | PRPC_MESSAGE pRpcMessage, | |
30866 | DWORD* pdwStubPhase); | |
30867 | ||
30868 | ||
30869 | ||
30870 | typedef IEnumSTATPROPSETSTG *LPENUMSTATPROPSETSTG; | |
30871 | ||
30872 | ||
30873 | ||
30874 | ||
30875 | ||
30876 | ||
30877 | extern const GUID IID_IEnumSTATPROPSETSTG __attribute__((visibility ("hidden"))); | |
30878 | # 864 "../../../include/propidl.h" | |
30879 | typedef struct IEnumSTATPROPSETSTGVtbl { | |
30880 | ||
30881 | ||
30882 | ||
30883 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
30884 | IEnumSTATPROPSETSTG* This, | |
30885 | const IID* const riid, | |
30886 | void** ppvObject); | |
30887 | ||
30888 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
30889 | IEnumSTATPROPSETSTG* This); | |
30890 | ||
30891 | ULONG (__attribute__((__stdcall__)) *Release)( | |
30892 | IEnumSTATPROPSETSTG* This); | |
30893 | ||
30894 | ||
30895 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
30896 | IEnumSTATPROPSETSTG* This, | |
30897 | ULONG celt, | |
30898 | STATPROPSETSTG* rgelt, | |
30899 | ULONG* pceltFetched); | |
30900 | ||
30901 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
30902 | IEnumSTATPROPSETSTG* This, | |
30903 | ULONG celt); | |
30904 | ||
30905 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
30906 | IEnumSTATPROPSETSTG* This); | |
30907 | ||
30908 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
30909 | IEnumSTATPROPSETSTG* This, | |
30910 | IEnumSTATPROPSETSTG** ppenum); | |
30911 | ||
30912 | ||
30913 | } IEnumSTATPROPSETSTGVtbl; | |
30914 | struct IEnumSTATPROPSETSTG { | |
30915 | const IEnumSTATPROPSETSTGVtbl* lpVtbl; | |
30916 | }; | |
30917 | # 917 "../../../include/propidl.h" | |
30918 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_RemoteNext_Proxy( | |
30919 | IEnumSTATPROPSETSTG* This, | |
30920 | ULONG celt, | |
30921 | STATPROPSETSTG* rgelt, | |
30922 | ULONG* pceltFetched); | |
30923 | void __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_RemoteNext_Stub( | |
30924 | IRpcStubBuffer* This, | |
30925 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30926 | PRPC_MESSAGE pRpcMessage, | |
30927 | DWORD* pdwStubPhase); | |
30928 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_Next_Proxy( | |
30929 | IEnumSTATPROPSETSTG* This, | |
30930 | ULONG celt, | |
30931 | STATPROPSETSTG* rgelt, | |
30932 | ULONG* pceltFetched); | |
30933 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_Next_Stub( | |
30934 | IEnumSTATPROPSETSTG* This, | |
30935 | ULONG celt, | |
30936 | STATPROPSETSTG* rgelt, | |
30937 | ULONG* pceltFetched); | |
30938 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_Skip_Proxy( | |
30939 | IEnumSTATPROPSETSTG* This, | |
30940 | ULONG celt); | |
30941 | void __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_Skip_Stub( | |
30942 | IRpcStubBuffer* This, | |
30943 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30944 | PRPC_MESSAGE pRpcMessage, | |
30945 | DWORD* pdwStubPhase); | |
30946 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_Reset_Proxy( | |
30947 | IEnumSTATPROPSETSTG* This); | |
30948 | void __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_Reset_Stub( | |
30949 | IRpcStubBuffer* This, | |
30950 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30951 | PRPC_MESSAGE pRpcMessage, | |
30952 | DWORD* pdwStubPhase); | |
30953 | HRESULT __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_Clone_Proxy( | |
30954 | IEnumSTATPROPSETSTG* This, | |
30955 | IEnumSTATPROPSETSTG** ppenum); | |
30956 | void __attribute__((__stdcall__)) IEnumSTATPROPSETSTG_Clone_Stub( | |
30957 | IRpcStubBuffer* This, | |
30958 | IRpcChannelBuffer* pRpcChannelBuffer, | |
30959 | PRPC_MESSAGE pRpcMessage, | |
30960 | DWORD* pdwStubPhase); | |
30961 | ||
30962 | ||
30963 | ||
30964 | HRESULT __attribute__((__stdcall__)) FreePropVariantArray(ULONG,PROPVARIANT*); | |
30965 | HRESULT __attribute__((__stdcall__)) PropVariantClear(PROPVARIANT*); | |
30966 | HRESULT __attribute__((__stdcall__)) PropVariantCopy(PROPVARIANT*,const PROPVARIANT*); | |
30967 | ||
30968 | ||
30969 | ||
30970 | ||
30971 | ||
30972 | ||
30973 | HRESULT __attribute__((__stdcall__)) StgCreatePropStg(IUnknown *, const FMTID* const, const CLSID *, DWORD, DWORD, IPropertyStorage **); | |
30974 | HRESULT __attribute__((__stdcall__)) StgOpenPropStg(IUnknown *, const FMTID* const, DWORD, DWORD, IPropertyStorage **); | |
30975 | HRESULT __attribute__((__stdcall__)) StgCreatePropSetStg(IStorage *, DWORD, IPropertySetStorage **); | |
30976 | ||
30977 | HRESULT __attribute__((__stdcall__)) FmtIdToPropStgName(const FMTID *, LPOLESTR); | |
30978 | HRESULT __attribute__((__stdcall__)) PropStgNameToFmtId(const LPOLESTR, FMTID *); | |
30979 | ||
30980 | ||
30981 | ||
30982 | ||
30983 | unsigned long __attribute__((__stdcall__)) LPSAFEARRAY_UserSize (unsigned long *, unsigned long, LPSAFEARRAY *); | |
30984 | unsigned char * __attribute__((__stdcall__)) LPSAFEARRAY_UserMarshal (unsigned long *, unsigned char *, LPSAFEARRAY *); | |
30985 | unsigned char * __attribute__((__stdcall__)) LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY *); | |
30986 | void __attribute__((__stdcall__)) LPSAFEARRAY_UserFree (unsigned long *, LPSAFEARRAY *); | |
30987 | unsigned long __attribute__((__stdcall__)) BSTR_UserSize (unsigned long *, unsigned long, BSTR *); | |
30988 | unsigned char * __attribute__((__stdcall__)) BSTR_UserMarshal (unsigned long *, unsigned char *, BSTR *); | |
30989 | unsigned char * __attribute__((__stdcall__)) BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR *); | |
30990 | void __attribute__((__stdcall__)) BSTR_UserFree (unsigned long *, BSTR *); | |
30991 | # 516 "../../../include/objbase.h" 2 | |
30992 | # 26 "../../../include/ole2.h" 2 | |
30993 | # 1 "../../../include/oleauto.h" 1 | |
30994 | # 22 "../../../include/oleauto.h" | |
30995 | # 1 "../../../include/oaidl.h" 1 | |
30996 | ||
30997 | # 1 "../../../include/rpc.h" 1 | |
30998 | # 3 "../../../include/oaidl.h" 2 | |
30999 | # 1 "../../../include/rpcndr.h" 1 | |
31000 | # 4 "../../../include/oaidl.h" 2 | |
31001 | # 23 "../../../include/oleauto.h" 2 | |
31002 | ||
31003 | ||
31004 | ||
31005 | ||
31006 | ||
31007 | extern const GUID IID_StdOle __attribute__((visibility ("hidden"))); | |
31008 | # 38 "../../../include/oleauto.h" | |
31009 | ULONG __attribute__((__stdcall__)) OaBuildVersion(void); | |
31010 | ||
31011 | ||
31012 | BSTR __attribute__((__stdcall__)) SysAllocString(const OLECHAR*); | |
31013 | BSTR __attribute__((__stdcall__)) SysAllocStringByteLen(LPCSTR,UINT); | |
31014 | BSTR __attribute__((__stdcall__)) SysAllocStringLen(const OLECHAR*,UINT); | |
31015 | void __attribute__((__stdcall__)) SysFreeString(BSTR); | |
31016 | INT __attribute__((__stdcall__)) SysReAllocString(LPBSTR,const OLECHAR*); | |
31017 | int __attribute__((__stdcall__)) SysReAllocStringLen(BSTR*,const OLECHAR*,UINT); | |
31018 | UINT __attribute__((__stdcall__)) SysStringByteLen(BSTR); | |
31019 | UINT __attribute__((__stdcall__)) SysStringLen(BSTR); | |
31020 | ||
31021 | ||
31022 | HRESULT __attribute__((__stdcall__)) SetErrorInfo(ULONG,IErrorInfo*); | |
31023 | HRESULT __attribute__((__stdcall__)) GetErrorInfo(ULONG,IErrorInfo**); | |
31024 | HRESULT __attribute__((__stdcall__)) CreateErrorInfo(ICreateErrorInfo**); | |
31025 | ||
31026 | ||
31027 | SAFEARRAY* __attribute__((__stdcall__)) SafeArrayCreate(VARTYPE,UINT,SAFEARRAYBOUND*); | |
31028 | SAFEARRAY* __attribute__((__stdcall__)) SafeArrayCreateEx(VARTYPE,UINT,SAFEARRAYBOUND*,LPVOID); | |
31029 | SAFEARRAY* __attribute__((__stdcall__)) SafeArrayCreateVector(VARTYPE,LONG,ULONG); | |
31030 | SAFEARRAY* __attribute__((__stdcall__)) SafeArrayCreateVectorEx(VARTYPE,LONG,ULONG,LPVOID); | |
31031 | ||
31032 | HRESULT __attribute__((__stdcall__)) SafeArrayAllocDescriptor(UINT,SAFEARRAY**); | |
31033 | HRESULT __attribute__((__stdcall__)) SafeArrayAllocDescriptorEx(VARTYPE,UINT,SAFEARRAY**); | |
31034 | HRESULT __attribute__((__stdcall__)) SafeArrayAllocData(SAFEARRAY*); | |
31035 | HRESULT __attribute__((__stdcall__)) SafeArrayDestroyDescriptor(SAFEARRAY*); | |
31036 | HRESULT __attribute__((__stdcall__)) SafeArrayPutElement(SAFEARRAY*,LONG*,void*); | |
31037 | HRESULT __attribute__((__stdcall__)) SafeArrayGetElement(SAFEARRAY*,LONG*,void*); | |
31038 | HRESULT __attribute__((__stdcall__)) SafeArrayLock(SAFEARRAY*); | |
31039 | HRESULT __attribute__((__stdcall__)) SafeArrayUnlock(SAFEARRAY*); | |
31040 | HRESULT __attribute__((__stdcall__)) SafeArrayGetUBound(SAFEARRAY*,UINT,LONG*); | |
31041 | HRESULT __attribute__((__stdcall__)) SafeArrayGetLBound(SAFEARRAY*,UINT,LONG*); | |
31042 | UINT __attribute__((__stdcall__)) SafeArrayGetDim(SAFEARRAY*); | |
31043 | UINT __attribute__((__stdcall__)) SafeArrayGetElemsize(SAFEARRAY*); | |
31044 | HRESULT __attribute__((__stdcall__)) SafeArrayGetVartype(SAFEARRAY*,VARTYPE*); | |
31045 | HRESULT __attribute__((__stdcall__)) SafeArrayAccessData(SAFEARRAY*,void**); | |
31046 | HRESULT __attribute__((__stdcall__)) SafeArrayUnaccessData(SAFEARRAY*); | |
31047 | HRESULT __attribute__((__stdcall__)) SafeArrayPtrOfIndex(SAFEARRAY*,LONG*,void **); | |
31048 | HRESULT __attribute__((__stdcall__)) SafeArrayCopyData(SAFEARRAY*,SAFEARRAY*); | |
31049 | HRESULT __attribute__((__stdcall__)) SafeArrayDestroyData(SAFEARRAY*); | |
31050 | HRESULT __attribute__((__stdcall__)) SafeArrayDestroy(SAFEARRAY*); | |
31051 | HRESULT __attribute__((__stdcall__)) SafeArrayCopy(SAFEARRAY*,SAFEARRAY**); | |
31052 | HRESULT __attribute__((__stdcall__)) SafeArrayRedim(SAFEARRAY*,SAFEARRAYBOUND*); | |
31053 | HRESULT __attribute__((__stdcall__)) SafeArraySetRecordInfo(SAFEARRAY*,IRecordInfo*); | |
31054 | HRESULT __attribute__((__stdcall__)) SafeArrayGetRecordInfo(SAFEARRAY*,IRecordInfo**); | |
31055 | HRESULT __attribute__((__stdcall__)) SafeArraySetIID(SAFEARRAY*,const GUID* const); | |
31056 | HRESULT __attribute__((__stdcall__)) SafeArrayGetIID(SAFEARRAY*,GUID*); | |
31057 | ||
31058 | HRESULT __attribute__((__stdcall__)) VectorFromBstr(BSTR,SAFEARRAY**); | |
31059 | HRESULT __attribute__((__stdcall__)) BstrFromVector(SAFEARRAY*,BSTR*); | |
31060 | ||
31061 | ||
31062 | ||
31063 | ||
31064 | ||
31065 | HRESULT __attribute__((__stdcall__)) RegisterActiveObject(LPUNKNOWN,const CLSID* const,DWORD,LPDWORD); | |
31066 | HRESULT __attribute__((__stdcall__)) RevokeActiveObject(DWORD,LPVOID); | |
31067 | HRESULT __attribute__((__stdcall__)) GetActiveObject(const CLSID* const,LPVOID,LPUNKNOWN*); | |
31068 | ||
31069 | ||
31070 | HRESULT __attribute__((__stdcall__)) GetRecordInfoFromTypeInfo(ITypeInfo*,IRecordInfo**); | |
31071 | HRESULT __attribute__((__stdcall__)) GetRecordInfoFromGuids(const GUID* const,ULONG,ULONG,LCID,const GUID* const,IRecordInfo**); | |
31072 | # 183 "../../../include/oleauto.h" | |
31073 | void __attribute__((__stdcall__)) VariantInit(VARIANT*); | |
31074 | HRESULT __attribute__((__stdcall__)) VariantClear(VARIANT*); | |
31075 | HRESULT __attribute__((__stdcall__)) VariantCopy(VARIANT*,VARIANT*); | |
31076 | HRESULT __attribute__((__stdcall__)) VariantCopyInd(VARIANT*,VARIANT*); | |
31077 | HRESULT __attribute__((__stdcall__)) VariantChangeType(VARIANT*,VARIANT*,USHORT,VARTYPE); | |
31078 | HRESULT __attribute__((__stdcall__)) VariantChangeTypeEx(VARIANT*,VARIANT*,LCID,USHORT,VARTYPE); | |
31079 | # 225 "../../../include/oleauto.h" | |
31080 | HRESULT __attribute__((__stdcall__)) VarUI1FromI2(SHORT,BYTE*); | |
31081 | HRESULT __attribute__((__stdcall__)) VarUI1FromI4(LONG,BYTE*); | |
31082 | HRESULT __attribute__((__stdcall__)) VarUI1FromI8(LONG64,BYTE*); | |
31083 | HRESULT __attribute__((__stdcall__)) VarUI1FromR4(FLOAT,BYTE*); | |
31084 | HRESULT __attribute__((__stdcall__)) VarUI1FromR8(DOUBLE,BYTE*); | |
31085 | HRESULT __attribute__((__stdcall__)) VarUI1FromDate(DATE,BYTE*); | |
31086 | HRESULT __attribute__((__stdcall__)) VarUI1FromBool(VARIANT_BOOL,BYTE*); | |
31087 | HRESULT __attribute__((__stdcall__)) VarUI1FromI1(signed char,BYTE*); | |
31088 | HRESULT __attribute__((__stdcall__)) VarUI1FromUI2(USHORT,BYTE*); | |
31089 | HRESULT __attribute__((__stdcall__)) VarUI1FromUI4(ULONG,BYTE*); | |
31090 | HRESULT __attribute__((__stdcall__)) VarUI1FromUI8(ULONG64,BYTE*); | |
31091 | HRESULT __attribute__((__stdcall__)) VarUI1FromStr(OLECHAR*,LCID,ULONG,BYTE*); | |
31092 | HRESULT __attribute__((__stdcall__)) VarUI1FromCy(CY,BYTE*); | |
31093 | HRESULT __attribute__((__stdcall__)) VarUI1FromDec(DECIMAL*,BYTE*); | |
31094 | HRESULT __attribute__((__stdcall__)) VarUI1FromDisp(IDispatch*,LCID,BYTE*); | |
31095 | ||
31096 | HRESULT __attribute__((__stdcall__)) VarI2FromUI1(BYTE,SHORT*); | |
31097 | HRESULT __attribute__((__stdcall__)) VarI2FromI4(LONG,SHORT*); | |
31098 | HRESULT __attribute__((__stdcall__)) VarI2FromI8(LONG64,SHORT*); | |
31099 | HRESULT __attribute__((__stdcall__)) VarI2FromR4(FLOAT,SHORT*); | |
31100 | HRESULT __attribute__((__stdcall__)) VarI2FromR8(DOUBLE,SHORT*); | |
31101 | HRESULT __attribute__((__stdcall__)) VarI2FromDate(DATE,SHORT*); | |
31102 | HRESULT __attribute__((__stdcall__)) VarI2FromBool(VARIANT_BOOL,SHORT*); | |
31103 | HRESULT __attribute__((__stdcall__)) VarI2FromI1(signed char,SHORT*); | |
31104 | HRESULT __attribute__((__stdcall__)) VarI2FromUI2(USHORT,SHORT*); | |
31105 | HRESULT __attribute__((__stdcall__)) VarI2FromUI4(ULONG,SHORT*); | |
31106 | HRESULT __attribute__((__stdcall__)) VarI2FromUI8(ULONG64,SHORT*); | |
31107 | HRESULT __attribute__((__stdcall__)) VarI2FromStr(OLECHAR*,LCID,ULONG,SHORT*); | |
31108 | HRESULT __attribute__((__stdcall__)) VarI2FromCy(CY,SHORT*); | |
31109 | HRESULT __attribute__((__stdcall__)) VarI2FromDec(DECIMAL*,SHORT*); | |
31110 | HRESULT __attribute__((__stdcall__)) VarI2FromDisp(IDispatch*,LCID,SHORT*); | |
31111 | ||
31112 | HRESULT __attribute__((__stdcall__)) VarI4FromUI1(BYTE,LONG*); | |
31113 | HRESULT __attribute__((__stdcall__)) VarI4FromI2(SHORT,LONG*); | |
31114 | HRESULT __attribute__((__stdcall__)) VarI4FromI8(LONG64,LONG*); | |
31115 | HRESULT __attribute__((__stdcall__)) VarI4FromR4(FLOAT,LONG*); | |
31116 | HRESULT __attribute__((__stdcall__)) VarI4FromR8(DOUBLE,LONG*); | |
31117 | HRESULT __attribute__((__stdcall__)) VarI4FromDate(DATE,LONG*); | |
31118 | HRESULT __attribute__((__stdcall__)) VarI4FromBool(VARIANT_BOOL,LONG*); | |
31119 | HRESULT __attribute__((__stdcall__)) VarI4FromI1(signed char,LONG*); | |
31120 | HRESULT __attribute__((__stdcall__)) VarI4FromUI2(USHORT,LONG*); | |
31121 | HRESULT __attribute__((__stdcall__)) VarI4FromUI4(ULONG,LONG*); | |
31122 | HRESULT __attribute__((__stdcall__)) VarI4FromUI8(ULONG64,LONG*); | |
31123 | HRESULT __attribute__((__stdcall__)) VarI4FromStr(OLECHAR*,LCID,ULONG,LONG*); | |
31124 | HRESULT __attribute__((__stdcall__)) VarI4FromCy(CY,LONG*); | |
31125 | HRESULT __attribute__((__stdcall__)) VarI4FromDec(DECIMAL*,LONG*); | |
31126 | HRESULT __attribute__((__stdcall__)) VarI4FromDisp(IDispatch*,LCID,LONG*); | |
31127 | ||
31128 | HRESULT __attribute__((__stdcall__)) VarI8FromUI1(BYTE,LONG64*); | |
31129 | HRESULT __attribute__((__stdcall__)) VarI8FromI2(SHORT,LONG64*); | |
31130 | HRESULT __attribute__((__stdcall__)) VarI8FromI4(LONG,LONG64*); | |
31131 | HRESULT __attribute__((__stdcall__)) VarI8FromR4(FLOAT,LONG64*); | |
31132 | HRESULT __attribute__((__stdcall__)) VarI8FromR8(DOUBLE,LONG64*); | |
31133 | HRESULT __attribute__((__stdcall__)) VarI8FromDate(DATE,LONG64*); | |
31134 | HRESULT __attribute__((__stdcall__)) VarI8FromStr(OLECHAR*,LCID,ULONG,LONG64*); | |
31135 | HRESULT __attribute__((__stdcall__)) VarI8FromBool(VARIANT_BOOL,LONG64*); | |
31136 | HRESULT __attribute__((__stdcall__)) VarI8FromI1(signed char,LONG64*); | |
31137 | HRESULT __attribute__((__stdcall__)) VarI8FromUI2(USHORT,LONG64*); | |
31138 | HRESULT __attribute__((__stdcall__)) VarI8FromUI4(ULONG,LONG64*); | |
31139 | HRESULT __attribute__((__stdcall__)) VarI8FromUI8(ULONG64,LONG64*); | |
31140 | HRESULT __attribute__((__stdcall__)) VarI8FromDec(DECIMAL *pdecIn,LONG64*); | |
31141 | HRESULT __attribute__((__stdcall__)) VarI8FromInt(INT intIn,LONG64*); | |
31142 | HRESULT __attribute__((__stdcall__)) VarI8FromCy(CY,LONG64*); | |
31143 | HRESULT __attribute__((__stdcall__)) VarI8FromDisp(IDispatch*,LCID,LONG64*); | |
31144 | ||
31145 | HRESULT __attribute__((__stdcall__)) VarR4FromUI1(BYTE,FLOAT*); | |
31146 | HRESULT __attribute__((__stdcall__)) VarR4FromI2(SHORT,FLOAT*); | |
31147 | HRESULT __attribute__((__stdcall__)) VarR4FromI4(LONG,FLOAT*); | |
31148 | HRESULT __attribute__((__stdcall__)) VarR4FromI8(LONG64,FLOAT*); | |
31149 | HRESULT __attribute__((__stdcall__)) VarR4FromR8(DOUBLE,FLOAT*); | |
31150 | HRESULT __attribute__((__stdcall__)) VarR4FromDate(DATE,FLOAT*); | |
31151 | HRESULT __attribute__((__stdcall__)) VarR4FromBool(VARIANT_BOOL,FLOAT*); | |
31152 | HRESULT __attribute__((__stdcall__)) VarR4FromI1(signed char,FLOAT*); | |
31153 | HRESULT __attribute__((__stdcall__)) VarR4FromUI2(USHORT,FLOAT*); | |
31154 | HRESULT __attribute__((__stdcall__)) VarR4FromUI4(ULONG,FLOAT*); | |
31155 | HRESULT __attribute__((__stdcall__)) VarR4FromUI8(ULONG64,FLOAT*); | |
31156 | HRESULT __attribute__((__stdcall__)) VarR4FromStr(OLECHAR*,LCID,ULONG,FLOAT*); | |
31157 | HRESULT __attribute__((__stdcall__)) VarR4FromCy(CY,FLOAT*); | |
31158 | HRESULT __attribute__((__stdcall__)) VarR4FromDec(DECIMAL*,FLOAT*); | |
31159 | HRESULT __attribute__((__stdcall__)) VarR4FromDisp(IDispatch*,LCID,FLOAT*); | |
31160 | ||
31161 | HRESULT __attribute__((__stdcall__)) VarR8FromUI1(BYTE,double*); | |
31162 | HRESULT __attribute__((__stdcall__)) VarR8FromI2(SHORT,double*); | |
31163 | HRESULT __attribute__((__stdcall__)) VarR8FromI4(LONG,double*); | |
31164 | HRESULT __attribute__((__stdcall__)) VarR8FromI8(LONG64,double*); | |
31165 | HRESULT __attribute__((__stdcall__)) VarR8FromR4(FLOAT,double*); | |
31166 | HRESULT __attribute__((__stdcall__)) VarR8FromDate(DATE,double*); | |
31167 | HRESULT __attribute__((__stdcall__)) VarR8FromBool(VARIANT_BOOL,double*); | |
31168 | HRESULT __attribute__((__stdcall__)) VarR8FromI1(signed char,double*); | |
31169 | HRESULT __attribute__((__stdcall__)) VarR8FromUI2(USHORT,double*); | |
31170 | HRESULT __attribute__((__stdcall__)) VarR8FromUI4(ULONG,double*); | |
31171 | HRESULT __attribute__((__stdcall__)) VarR8FromUI8(ULONG64,double*); | |
31172 | HRESULT __attribute__((__stdcall__)) VarR8FromStr(OLECHAR*,LCID,ULONG,double*); | |
31173 | HRESULT __attribute__((__stdcall__)) VarR8FromCy(CY,double*); | |
31174 | HRESULT __attribute__((__stdcall__)) VarR8FromDec(DECIMAL*,double*); | |
31175 | HRESULT __attribute__((__stdcall__)) VarR8FromDisp(IDispatch*,LCID,double*); | |
31176 | ||
31177 | HRESULT __attribute__((__stdcall__)) VarDateFromUI1(BYTE,DATE*); | |
31178 | HRESULT __attribute__((__stdcall__)) VarDateFromI2(SHORT,DATE*); | |
31179 | HRESULT __attribute__((__stdcall__)) VarDateFromI4(LONG,DATE*); | |
31180 | HRESULT __attribute__((__stdcall__)) VarDateFromI8(LONG64,DATE*); | |
31181 | HRESULT __attribute__((__stdcall__)) VarDateFromR4(FLOAT,DATE*); | |
31182 | HRESULT __attribute__((__stdcall__)) VarDateFromR8(DOUBLE,DATE*); | |
31183 | HRESULT __attribute__((__stdcall__)) VarDateFromStr(OLECHAR*,LCID,ULONG,DATE*); | |
31184 | HRESULT __attribute__((__stdcall__)) VarDateFromI1(signed char,DATE*); | |
31185 | HRESULT __attribute__((__stdcall__)) VarDateFromUI2(USHORT,DATE*); | |
31186 | HRESULT __attribute__((__stdcall__)) VarDateFromUI4(ULONG,DATE*); | |
31187 | HRESULT __attribute__((__stdcall__)) VarDateFromUI8(ULONG64,DATE*); | |
31188 | HRESULT __attribute__((__stdcall__)) VarDateFromBool(VARIANT_BOOL,DATE*); | |
31189 | HRESULT __attribute__((__stdcall__)) VarDateFromCy(CY,DATE*); | |
31190 | HRESULT __attribute__((__stdcall__)) VarDateFromDec(DECIMAL*,DATE*); | |
31191 | HRESULT __attribute__((__stdcall__)) VarDateFromDisp(IDispatch*,LCID,DATE*); | |
31192 | ||
31193 | HRESULT __attribute__((__stdcall__)) VarCyFromUI1(BYTE,CY*); | |
31194 | HRESULT __attribute__((__stdcall__)) VarCyFromI2(SHORT sIn,CY*); | |
31195 | HRESULT __attribute__((__stdcall__)) VarCyFromI4(LONG,CY*); | |
31196 | HRESULT __attribute__((__stdcall__)) VarCyFromI8(LONG64,CY*); | |
31197 | HRESULT __attribute__((__stdcall__)) VarCyFromR4(FLOAT,CY*); | |
31198 | HRESULT __attribute__((__stdcall__)) VarCyFromR8(DOUBLE,CY*); | |
31199 | HRESULT __attribute__((__stdcall__)) VarCyFromDate(DATE,CY*); | |
31200 | HRESULT __attribute__((__stdcall__)) VarCyFromStr(OLECHAR*,LCID,ULONG,CY*); | |
31201 | HRESULT __attribute__((__stdcall__)) VarCyFromBool(VARIANT_BOOL,CY*); | |
31202 | HRESULT __attribute__((__stdcall__)) VarCyFromI1(signed char,CY*); | |
31203 | HRESULT __attribute__((__stdcall__)) VarCyFromUI2(USHORT,CY*); | |
31204 | HRESULT __attribute__((__stdcall__)) VarCyFromUI4(ULONG,CY*); | |
31205 | HRESULT __attribute__((__stdcall__)) VarCyFromUI8(ULONG64,CY*); | |
31206 | HRESULT __attribute__((__stdcall__)) VarCyFromDec(DECIMAL*,CY*); | |
31207 | HRESULT __attribute__((__stdcall__)) VarCyFromDisp(IDispatch*,LCID,CY*); | |
31208 | ||
31209 | HRESULT __attribute__((__stdcall__)) VarBstrFromUI1(BYTE,LCID,ULONG,BSTR*); | |
31210 | HRESULT __attribute__((__stdcall__)) VarBstrFromI2(SHORT,LCID,ULONG,BSTR*); | |
31211 | HRESULT __attribute__((__stdcall__)) VarBstrFromI4(LONG,LCID,ULONG,BSTR*); | |
31212 | HRESULT __attribute__((__stdcall__)) VarBstrFromI8(LONG64,LCID,ULONG,BSTR*); | |
31213 | HRESULT __attribute__((__stdcall__)) VarBstrFromR4(FLOAT,LCID,ULONG,BSTR*); | |
31214 | HRESULT __attribute__((__stdcall__)) VarBstrFromR8(DOUBLE,LCID,ULONG,BSTR*); | |
31215 | HRESULT __attribute__((__stdcall__)) VarBstrFromDate(DATE,LCID,ULONG,BSTR*); | |
31216 | HRESULT __attribute__((__stdcall__)) VarBstrFromBool(VARIANT_BOOL,LCID,ULONG,BSTR*); | |
31217 | HRESULT __attribute__((__stdcall__)) VarBstrFromI1(signed char,LCID,ULONG,BSTR*); | |
31218 | HRESULT __attribute__((__stdcall__)) VarBstrFromUI2(USHORT,LCID,ULONG,BSTR*); | |
31219 | HRESULT __attribute__((__stdcall__)) VarBstrFromUI8(ULONG64,LCID,ULONG,BSTR*); | |
31220 | HRESULT __attribute__((__stdcall__)) VarBstrFromUI4(ULONG,LCID,ULONG,BSTR*); | |
31221 | HRESULT __attribute__((__stdcall__)) VarBstrFromCy(CY,LCID,ULONG,BSTR*); | |
31222 | HRESULT __attribute__((__stdcall__)) VarBstrFromDec(DECIMAL*,LCID,ULONG,BSTR*); | |
31223 | HRESULT __attribute__((__stdcall__)) VarBstrFromDisp(IDispatch*,LCID,ULONG,BSTR*); | |
31224 | ||
31225 | HRESULT __attribute__((__stdcall__)) VarBoolFromUI1(BYTE,VARIANT_BOOL*); | |
31226 | HRESULT __attribute__((__stdcall__)) VarBoolFromI2(SHORT,VARIANT_BOOL*); | |
31227 | HRESULT __attribute__((__stdcall__)) VarBoolFromI4(LONG,VARIANT_BOOL*); | |
31228 | HRESULT __attribute__((__stdcall__)) VarBoolFromI8(LONG64,VARIANT_BOOL*); | |
31229 | HRESULT __attribute__((__stdcall__)) VarBoolFromR4(FLOAT,VARIANT_BOOL*); | |
31230 | HRESULT __attribute__((__stdcall__)) VarBoolFromR8(DOUBLE,VARIANT_BOOL*); | |
31231 | HRESULT __attribute__((__stdcall__)) VarBoolFromDate(DATE,VARIANT_BOOL*); | |
31232 | HRESULT __attribute__((__stdcall__)) VarBoolFromStr(OLECHAR*,LCID,ULONG,VARIANT_BOOL*); | |
31233 | HRESULT __attribute__((__stdcall__)) VarBoolFromI1(signed char,VARIANT_BOOL*); | |
31234 | HRESULT __attribute__((__stdcall__)) VarBoolFromUI2(USHORT,VARIANT_BOOL*); | |
31235 | HRESULT __attribute__((__stdcall__)) VarBoolFromUI4(ULONG,VARIANT_BOOL*); | |
31236 | HRESULT __attribute__((__stdcall__)) VarBoolFromUI8(ULONG64,VARIANT_BOOL*); | |
31237 | HRESULT __attribute__((__stdcall__)) VarBoolFromCy(CY,VARIANT_BOOL*); | |
31238 | HRESULT __attribute__((__stdcall__)) VarBoolFromDec(DECIMAL*,VARIANT_BOOL*); | |
31239 | HRESULT __attribute__((__stdcall__)) VarBoolFromDisp(IDispatch*,LCID,VARIANT_BOOL*); | |
31240 | ||
31241 | HRESULT __attribute__((__stdcall__)) VarI1FromUI1(BYTE,signed char*); | |
31242 | HRESULT __attribute__((__stdcall__)) VarI1FromI2(SHORT,signed char*); | |
31243 | HRESULT __attribute__((__stdcall__)) VarI1FromI4(LONG,signed char*); | |
31244 | HRESULT __attribute__((__stdcall__)) VarI1FromI8(LONG64,signed char*); | |
31245 | HRESULT __attribute__((__stdcall__)) VarI1FromR4(FLOAT,signed char*); | |
31246 | HRESULT __attribute__((__stdcall__)) VarI1FromR8(DOUBLE,signed char*); | |
31247 | HRESULT __attribute__((__stdcall__)) VarI1FromDate(DATE,signed char*); | |
31248 | HRESULT __attribute__((__stdcall__)) VarI1FromStr(OLECHAR*,LCID,ULONG,signed char*); | |
31249 | HRESULT __attribute__((__stdcall__)) VarI1FromBool(VARIANT_BOOL,signed char*); | |
31250 | HRESULT __attribute__((__stdcall__)) VarI1FromUI2(USHORT,signed char*); | |
31251 | HRESULT __attribute__((__stdcall__)) VarI1FromUI4(ULONG,signed char*); | |
31252 | HRESULT __attribute__((__stdcall__)) VarI1FromUI8(ULONG64,signed char*); | |
31253 | HRESULT __attribute__((__stdcall__)) VarI1FromCy(CY,signed char*); | |
31254 | HRESULT __attribute__((__stdcall__)) VarI1FromDec(DECIMAL*,signed char*); | |
31255 | HRESULT __attribute__((__stdcall__)) VarI1FromDisp(IDispatch*,LCID,signed char*); | |
31256 | ||
31257 | HRESULT __attribute__((__stdcall__)) VarUI2FromUI1(BYTE,USHORT*); | |
31258 | HRESULT __attribute__((__stdcall__)) VarUI2FromI2(SHORT,USHORT*); | |
31259 | HRESULT __attribute__((__stdcall__)) VarUI2FromI4(LONG,USHORT*); | |
31260 | HRESULT __attribute__((__stdcall__)) VarUI2FromI8(LONG64,USHORT*); | |
31261 | HRESULT __attribute__((__stdcall__)) VarUI2FromR4(FLOAT,USHORT*); | |
31262 | HRESULT __attribute__((__stdcall__)) VarUI2FromR8(DOUBLE,USHORT*); | |
31263 | HRESULT __attribute__((__stdcall__)) VarUI2FromDate(DATE,USHORT*); | |
31264 | HRESULT __attribute__((__stdcall__)) VarUI2FromStr(OLECHAR*,LCID,ULONG,USHORT*); | |
31265 | HRESULT __attribute__((__stdcall__)) VarUI2FromBool(VARIANT_BOOL,USHORT*); | |
31266 | HRESULT __attribute__((__stdcall__)) VarUI2FromI1(signed char,USHORT*); | |
31267 | HRESULT __attribute__((__stdcall__)) VarUI2FromUI4(ULONG,USHORT*); | |
31268 | HRESULT __attribute__((__stdcall__)) VarUI2FromUI8(ULONG64,USHORT*); | |
31269 | HRESULT __attribute__((__stdcall__)) VarUI2FromCy(CY,USHORT*); | |
31270 | HRESULT __attribute__((__stdcall__)) VarUI2FromDec(DECIMAL*,USHORT*); | |
31271 | HRESULT __attribute__((__stdcall__)) VarUI2FromDisp(IDispatch*,LCID,USHORT*); | |
31272 | ||
31273 | HRESULT __attribute__((__stdcall__)) VarUI4FromStr(OLECHAR*,LCID,ULONG,ULONG*); | |
31274 | HRESULT __attribute__((__stdcall__)) VarUI4FromUI1(BYTE,ULONG*); | |
31275 | HRESULT __attribute__((__stdcall__)) VarUI4FromI2(SHORT,ULONG*); | |
31276 | HRESULT __attribute__((__stdcall__)) VarUI4FromI4(LONG,ULONG*); | |
31277 | HRESULT __attribute__((__stdcall__)) VarUI4FromI8(LONG64,ULONG*); | |
31278 | HRESULT __attribute__((__stdcall__)) VarUI4FromR4(FLOAT,ULONG*); | |
31279 | HRESULT __attribute__((__stdcall__)) VarUI4FromR8(DOUBLE,ULONG*); | |
31280 | HRESULT __attribute__((__stdcall__)) VarUI4FromDate(DATE,ULONG*); | |
31281 | HRESULT __attribute__((__stdcall__)) VarUI4FromBool(VARIANT_BOOL,ULONG*); | |
31282 | HRESULT __attribute__((__stdcall__)) VarUI4FromI1(signed char,ULONG*); | |
31283 | HRESULT __attribute__((__stdcall__)) VarUI4FromUI2(USHORT,ULONG*); | |
31284 | HRESULT __attribute__((__stdcall__)) VarUI4FromUI8(ULONG64,ULONG*); | |
31285 | HRESULT __attribute__((__stdcall__)) VarUI4FromCy(CY,ULONG*); | |
31286 | HRESULT __attribute__((__stdcall__)) VarUI4FromDec(DECIMAL*,ULONG*); | |
31287 | HRESULT __attribute__((__stdcall__)) VarUI4FromDisp(IDispatch*,LCID,ULONG*); | |
31288 | ||
31289 | HRESULT __attribute__((__stdcall__)) VarUI8FromUI1(BYTE,ULONG64*); | |
31290 | HRESULT __attribute__((__stdcall__)) VarUI8FromI2(SHORT,ULONG64*); | |
31291 | HRESULT __attribute__((__stdcall__)) VarUI8FromI4(LONG,ULONG64*); | |
31292 | HRESULT __attribute__((__stdcall__)) VarUI8FromI8(LONG64,ULONG64*); | |
31293 | HRESULT __attribute__((__stdcall__)) VarUI8FromR4(FLOAT,ULONG64*); | |
31294 | HRESULT __attribute__((__stdcall__)) VarUI8FromR8(DOUBLE,ULONG64*); | |
31295 | HRESULT __attribute__((__stdcall__)) VarUI8FromDate(DATE,ULONG64*); | |
31296 | HRESULT __attribute__((__stdcall__)) VarUI8FromStr(OLECHAR*,LCID,ULONG,ULONG64*); | |
31297 | HRESULT __attribute__((__stdcall__)) VarUI8FromBool(VARIANT_BOOL,ULONG64*); | |
31298 | HRESULT __attribute__((__stdcall__)) VarUI8FromI1(signed char,ULONG64*); | |
31299 | HRESULT __attribute__((__stdcall__)) VarUI8FromUI2(USHORT,ULONG64*); | |
31300 | HRESULT __attribute__((__stdcall__)) VarUI8FromUI4(ULONG,ULONG64*); | |
31301 | HRESULT __attribute__((__stdcall__)) VarUI8FromDec(DECIMAL*,ULONG64*); | |
31302 | HRESULT __attribute__((__stdcall__)) VarUI8FromInt(INT,ULONG64*); | |
31303 | HRESULT __attribute__((__stdcall__)) VarUI8FromCy(CY,ULONG64*); | |
31304 | HRESULT __attribute__((__stdcall__)) VarUI8FromDisp(IDispatch*,LCID,ULONG64*); | |
31305 | ||
31306 | HRESULT __attribute__((__stdcall__)) VarDecFromUI1(BYTE,DECIMAL*); | |
31307 | HRESULT __attribute__((__stdcall__)) VarDecFromI2(SHORT,DECIMAL*); | |
31308 | HRESULT __attribute__((__stdcall__)) VarDecFromI4(LONG,DECIMAL*); | |
31309 | HRESULT __attribute__((__stdcall__)) VarDecFromI8(LONG64,DECIMAL*); | |
31310 | HRESULT __attribute__((__stdcall__)) VarDecFromR4(FLOAT,DECIMAL*); | |
31311 | HRESULT __attribute__((__stdcall__)) VarDecFromR8(DOUBLE,DECIMAL*); | |
31312 | HRESULT __attribute__((__stdcall__)) VarDecFromDate(DATE,DECIMAL*); | |
31313 | HRESULT __attribute__((__stdcall__)) VarDecFromStr(OLECHAR*,LCID,ULONG,DECIMAL*); | |
31314 | HRESULT __attribute__((__stdcall__)) VarDecFromBool(VARIANT_BOOL,DECIMAL*); | |
31315 | HRESULT __attribute__((__stdcall__)) VarDecFromI1(signed char,DECIMAL*); | |
31316 | HRESULT __attribute__((__stdcall__)) VarDecFromUI2(USHORT,DECIMAL*); | |
31317 | HRESULT __attribute__((__stdcall__)) VarDecFromUI4(ULONG,DECIMAL*); | |
31318 | HRESULT __attribute__((__stdcall__)) VarDecFromUI8(ULONG64,DECIMAL*); | |
31319 | HRESULT __attribute__((__stdcall__)) VarDecFromCy(CY,DECIMAL*); | |
31320 | HRESULT __attribute__((__stdcall__)) VarDecFromDisp(IDispatch*,LCID,DECIMAL*); | |
31321 | # 543 "../../../include/oleauto.h" | |
31322 | HRESULT __attribute__((__stdcall__)) VarR4CmpR8(float,double); | |
31323 | ||
31324 | HRESULT __attribute__((__stdcall__)) VarR8Pow(double,double,double*); | |
31325 | HRESULT __attribute__((__stdcall__)) VarR8Round(double,int,double*); | |
31326 | ||
31327 | HRESULT __attribute__((__stdcall__)) VarDecAbs(const DECIMAL*,DECIMAL*); | |
31328 | HRESULT __attribute__((__stdcall__)) VarDecAdd(const DECIMAL*,const DECIMAL*,DECIMAL*); | |
31329 | HRESULT __attribute__((__stdcall__)) VarDecCmp(const DECIMAL*,const DECIMAL*); | |
31330 | HRESULT __attribute__((__stdcall__)) VarDecCmpR8(const DECIMAL*,DOUBLE); | |
31331 | HRESULT __attribute__((__stdcall__)) VarDecDiv(const DECIMAL*,const DECIMAL*,DECIMAL*); | |
31332 | HRESULT __attribute__((__stdcall__)) VarDecFix(const DECIMAL*,DECIMAL*); | |
31333 | HRESULT __attribute__((__stdcall__)) VarDecInt(const DECIMAL*,DECIMAL*); | |
31334 | HRESULT __attribute__((__stdcall__)) VarDecMul(const DECIMAL*,const DECIMAL*,DECIMAL*); | |
31335 | HRESULT __attribute__((__stdcall__)) VarDecNeg(const DECIMAL*,DECIMAL*); | |
31336 | HRESULT __attribute__((__stdcall__)) VarDecRound(const DECIMAL*,int,DECIMAL*); | |
31337 | HRESULT __attribute__((__stdcall__)) VarDecSub(const DECIMAL*,const DECIMAL*,DECIMAL*); | |
31338 | ||
31339 | HRESULT __attribute__((__stdcall__)) VarCyAbs(const CY,CY*); | |
31340 | HRESULT __attribute__((__stdcall__)) VarCyAdd(const CY,const CY,CY*); | |
31341 | HRESULT __attribute__((__stdcall__)) VarCyCmp(const CY,const CY); | |
31342 | HRESULT __attribute__((__stdcall__)) VarCyCmpR8(const CY,DOUBLE); | |
31343 | HRESULT __attribute__((__stdcall__)) VarCyFix(const CY,CY*); | |
31344 | HRESULT __attribute__((__stdcall__)) VarCyInt(const CY,CY*); | |
31345 | HRESULT __attribute__((__stdcall__)) VarCyMul(const CY,CY,CY*); | |
31346 | HRESULT __attribute__((__stdcall__)) VarCyMulI4(const CY,LONG,CY*); | |
31347 | HRESULT __attribute__((__stdcall__)) VarCyMulI8(const CY,LONG64,CY*); | |
31348 | HRESULT __attribute__((__stdcall__)) VarCyNeg(const CY,CY*); | |
31349 | HRESULT __attribute__((__stdcall__)) VarCyRound(const CY,INT,CY*); | |
31350 | HRESULT __attribute__((__stdcall__)) VarCySub(const CY,const CY,CY*); | |
31351 | ||
31352 | HRESULT __attribute__((__stdcall__)) VarAdd(LPVARIANT,LPVARIANT,LPVARIANT); | |
31353 | HRESULT __attribute__((__stdcall__)) VarAnd(LPVARIANT,LPVARIANT,LPVARIANT); | |
31354 | HRESULT __attribute__((__stdcall__)) VarCat(LPVARIANT,LPVARIANT,LPVARIANT); | |
31355 | HRESULT __attribute__((__stdcall__)) VarDiv(LPVARIANT,LPVARIANT,LPVARIANT); | |
31356 | HRESULT __attribute__((__stdcall__)) VarEqv(LPVARIANT,LPVARIANT,LPVARIANT); | |
31357 | HRESULT __attribute__((__stdcall__)) VarIdiv(LPVARIANT,LPVARIANT,LPVARIANT); | |
31358 | HRESULT __attribute__((__stdcall__)) VarImp(LPVARIANT,LPVARIANT,LPVARIANT); | |
31359 | HRESULT __attribute__((__stdcall__)) VarMod(LPVARIANT,LPVARIANT,LPVARIANT); | |
31360 | HRESULT __attribute__((__stdcall__)) VarMul(LPVARIANT,LPVARIANT,LPVARIANT); | |
31361 | HRESULT __attribute__((__stdcall__)) VarOr(LPVARIANT,LPVARIANT,LPVARIANT); | |
31362 | HRESULT __attribute__((__stdcall__)) VarPow(LPVARIANT,LPVARIANT,LPVARIANT); | |
31363 | HRESULT __attribute__((__stdcall__)) VarSub(LPVARIANT,LPVARIANT,LPVARIANT); | |
31364 | HRESULT __attribute__((__stdcall__)) VarXor(LPVARIANT,LPVARIANT,LPVARIANT); | |
31365 | ||
31366 | HRESULT __attribute__((__stdcall__)) VarAbs(LPVARIANT,LPVARIANT); | |
31367 | HRESULT __attribute__((__stdcall__)) VarFix(LPVARIANT,LPVARIANT); | |
31368 | HRESULT __attribute__((__stdcall__)) VarInt(LPVARIANT,LPVARIANT); | |
31369 | HRESULT __attribute__((__stdcall__)) VarNeg(LPVARIANT,LPVARIANT); | |
31370 | HRESULT __attribute__((__stdcall__)) VarNot(LPVARIANT,LPVARIANT); | |
31371 | ||
31372 | HRESULT __attribute__((__stdcall__)) VarRound(LPVARIANT,int,LPVARIANT); | |
31373 | ||
31374 | HRESULT __attribute__((__stdcall__)) VarCmp(LPVARIANT,LPVARIANT,LCID,ULONG); | |
31375 | ||
31376 | HRESULT __attribute__((__stdcall__)) VarBstrCmp(BSTR,BSTR,LCID,ULONG); | |
31377 | HRESULT __attribute__((__stdcall__)) VarBstrCat(BSTR,BSTR,BSTR*); | |
31378 | ||
31379 | ||
31380 | typedef struct { | |
31381 | SYSTEMTIME st; | |
31382 | USHORT wDayOfYear; | |
31383 | } UDATE; | |
31384 | ||
31385 | typedef struct | |
31386 | { | |
31387 | INT cDig; | |
31388 | ULONG dwInFlags; | |
31389 | ULONG dwOutFlags; | |
31390 | INT cchUsed; | |
31391 | INT nBaseShift; | |
31392 | INT nPwr10; | |
31393 | } NUMPARSE; | |
31394 | # 646 "../../../include/oleauto.h" | |
31395 | HRESULT __attribute__((__stdcall__)) VarParseNumFromStr(OLECHAR*,LCID,ULONG,NUMPARSE*,BYTE*); | |
31396 | HRESULT __attribute__((__stdcall__)) VarNumFromParseNum(NUMPARSE*,BYTE*,ULONG,VARIANT*); | |
31397 | ||
31398 | INT __attribute__((__stdcall__)) DosDateTimeToVariantTime(USHORT,USHORT,double*); | |
31399 | INT __attribute__((__stdcall__)) VariantTimeToDosDateTime(double,USHORT*,USHORT*); | |
31400 | ||
31401 | INT __attribute__((__stdcall__)) VariantTimeToSystemTime(DOUBLE,LPSYSTEMTIME); | |
31402 | INT __attribute__((__stdcall__)) SystemTimeToVariantTime(LPSYSTEMTIME,double*); | |
31403 | ||
31404 | HRESULT __attribute__((__stdcall__)) VarDateFromUdate(UDATE*,ULONG,DATE*); | |
31405 | HRESULT __attribute__((__stdcall__)) VarDateFromUdateEx(UDATE*,LCID,ULONG,DATE*); | |
31406 | HRESULT __attribute__((__stdcall__)) VarUdateFromDate(DATE,ULONG,UDATE*); | |
31407 | ||
31408 | ||
31409 | HRESULT __attribute__((__stdcall__)) VarWeekdayName(int,int,int,ULONG,BSTR*); | |
31410 | HRESULT __attribute__((__stdcall__)) VarMonthName(int,int,ULONG,BSTR*); | |
31411 | HRESULT __attribute__((__stdcall__)) GetAltMonthNames(LCID,LPOLESTR**); | |
31412 | ||
31413 | HRESULT __attribute__((__stdcall__)) VarFormat(LPVARIANT,LPOLESTR,int,int,ULONG,BSTR*); | |
31414 | HRESULT __attribute__((__stdcall__)) VarFormatCurrency(LPVARIANT,int,int,int,int,ULONG,BSTR*); | |
31415 | HRESULT __attribute__((__stdcall__)) VarFormatDateTime(LPVARIANT,int,ULONG,BSTR*); | |
31416 | HRESULT __attribute__((__stdcall__)) VarFormatNumber(LPVARIANT,int,int,int,int,ULONG,BSTR*); | |
31417 | HRESULT __attribute__((__stdcall__)) VarFormatPercent(LPVARIANT,int,int,int,int,ULONG,BSTR*); | |
31418 | ||
31419 | HRESULT __attribute__((__stdcall__)) VarFormatFromTokens(LPVARIANT,LPOLESTR,LPBYTE,ULONG,BSTR*,LCID); | |
31420 | HRESULT __attribute__((__stdcall__)) VarTokenizeFormatString(LPOLESTR,LPBYTE,int,int,int,LCID,int*); | |
31421 | ||
31422 | ||
31423 | ||
31424 | ||
31425 | ||
31426 | ||
31427 | ||
31428 | typedef struct tagPARAMDATA | |
31429 | { | |
31430 | OLECHAR *szName; | |
31431 | VARTYPE vt; | |
31432 | } PARAMDATA, *LPPARAMDATA; | |
31433 | ||
31434 | ||
31435 | typedef struct tagMETHODDATA | |
31436 | { | |
31437 | OLECHAR *szName; | |
31438 | PARAMDATA *ppdata; | |
31439 | DISPID dispid; | |
31440 | UINT iMeth; | |
31441 | CALLCONV cc; | |
31442 | UINT cArgs; | |
31443 | WORD wFlags; | |
31444 | VARTYPE vtReturn; | |
31445 | } METHODDATA, *LPMETHODDATA; | |
31446 | ||
31447 | ||
31448 | typedef struct tagINTERFACEDATA | |
31449 | { | |
31450 | METHODDATA *pmethdata; | |
31451 | UINT cMembers; | |
31452 | } INTERFACEDATA, *LPINTERFACEDATA; | |
31453 | ||
31454 | typedef enum tagREGKIND | |
31455 | { | |
31456 | REGKIND_DEFAULT, | |
31457 | REGKIND_REGISTER, | |
31458 | REGKIND_NONE | |
31459 | } REGKIND; | |
31460 | ||
31461 | HRESULT __attribute__((__stdcall__)) DispGetParam(DISPPARAMS*,UINT,VARTYPE,VARIANT*,UINT*); | |
31462 | HRESULT __attribute__((__stdcall__)) DispGetIDsOfNames(ITypeInfo*,OLECHAR**,UINT,DISPID*); | |
31463 | HRESULT __attribute__((__stdcall__)) DispInvoke(void*,ITypeInfo*,DISPID,WORD,DISPPARAMS*,VARIANT*, | |
31464 | EXCEPINFO*,UINT*); | |
31465 | HRESULT __attribute__((__stdcall__)) CreateDispTypeInfo(INTERFACEDATA*,LCID,ITypeInfo**); | |
31466 | HRESULT __attribute__((__stdcall__)) CreateStdDispatch(IUnknown*,void*,ITypeInfo*,IUnknown**); | |
31467 | HRESULT __attribute__((__stdcall__)) DispCallFunc(void*,ULONG_PTR,CALLCONV,VARTYPE,UINT,VARTYPE*, | |
31468 | VARIANTARG**,VARIANT*); | |
31469 | ||
31470 | ||
31471 | ||
31472 | ||
31473 | ||
31474 | ||
31475 | ULONG __attribute__((__stdcall__)) LHashValOfNameSysA(SYSKIND,LCID,LPCSTR); | |
31476 | ULONG __attribute__((__stdcall__)) LHashValOfNameSys(SYSKIND,LCID,LPCOLESTR); | |
31477 | # 745 "../../../include/oleauto.h" | |
31478 | HRESULT __attribute__((__stdcall__)) CreateTypeLib(SYSKIND,const OLECHAR*,ICreateTypeLib**); | |
31479 | HRESULT __attribute__((__stdcall__)) CreateTypeLib2(SYSKIND,LPCOLESTR,ICreateTypeLib2**); | |
31480 | HRESULT __attribute__((__stdcall__)) LoadRegTypeLib(const GUID* const,WORD,WORD,LCID,ITypeLib**); | |
31481 | HRESULT __attribute__((__stdcall__)) LoadTypeLib(const OLECHAR*,ITypeLib**); | |
31482 | HRESULT __attribute__((__stdcall__)) LoadTypeLibEx(LPCOLESTR,REGKIND,ITypeLib**); | |
31483 | HRESULT __attribute__((__stdcall__)) QueryPathOfRegTypeLib(const GUID* const,WORD,WORD,LCID,LPBSTR); | |
31484 | HRESULT __attribute__((__stdcall__)) RegisterTypeLib(ITypeLib*,OLECHAR*,OLECHAR*); | |
31485 | HRESULT __attribute__((__stdcall__)) UnRegisterTypeLib(const GUID* const,WORD,WORD,LCID,SYSKIND); | |
31486 | ||
31487 | void __attribute__((__stdcall__)) ClearCustData(LPCUSTDATA); | |
31488 | # 27 "../../../include/ole2.h" 2 | |
31489 | # 1 "../../../include/oleidl.h" 1 | |
31490 | ||
31491 | # 1 "../../../include/rpc.h" 1 | |
31492 | # 3 "../../../include/oleidl.h" 2 | |
31493 | # 1 "../../../include/rpcndr.h" 1 | |
31494 | # 4 "../../../include/oleidl.h" 2 | |
31495 | ||
31496 | ||
31497 | ||
31498 | ||
31499 | ||
31500 | ||
31501 | # 1 "../../../include/objidl.h" 1 | |
31502 | ||
31503 | # 1 "../../../include/rpc.h" 1 | |
31504 | # 3 "../../../include/objidl.h" 2 | |
31505 | # 1 "../../../include/rpcndr.h" 1 | |
31506 | # 4 "../../../include/objidl.h" 2 | |
31507 | # 11 "../../../include/oleidl.h" 2 | |
31508 | ||
31509 | ||
31510 | typedef struct IOleInPlaceActiveObject IOleInPlaceActiveObject; | |
31511 | ||
31512 | ||
31513 | typedef enum tagOLERENDER { | |
31514 | OLERENDER_NONE = 0, | |
31515 | OLERENDER_DRAW = 1, | |
31516 | OLERENDER_FORMAT = 2, | |
31517 | OLERENDER_ASIS = 3 | |
31518 | } OLERENDER; | |
31519 | typedef enum tagOLERENDER *LPOLERENDER; | |
31520 | typedef struct tagOBJECTDESCRIPTOR { | |
31521 | ULONG cbSize; | |
31522 | CLSID clsid; | |
31523 | DWORD dwDrawAspect; | |
31524 | SIZEL sizel; | |
31525 | POINTL pointl; | |
31526 | DWORD dwStatus; | |
31527 | DWORD dwFullUserTypeName; | |
31528 | DWORD dwSrcOfCopy; | |
31529 | } OBJECTDESCRIPTOR; | |
31530 | typedef struct tagOBJECTDESCRIPTOR *POBJECTDESCRIPTOR; | |
31531 | typedef struct tagOBJECTDESCRIPTOR *LPOBJECTDESCRIPTOR; | |
31532 | typedef struct tagOBJECTDESCRIPTOR LINKSRCDESCRIPTOR; | |
31533 | typedef struct tagOBJECTDESCRIPTOR *PLINKSRCDESCRIPTOR; | |
31534 | typedef struct tagOBJECTDESCRIPTOR *LPLINKSRCDESCRIPTOR; | |
31535 | void * __attribute__((__stdcall__)) MIDL_user_allocate(size_t); | |
31536 | void __attribute__((__stdcall__)) MIDL_user_free(void *); | |
31537 | # 52 "../../../include/oleidl.h" | |
31538 | typedef struct IOleWindow IOleWindow; | |
31539 | ||
31540 | ||
31541 | typedef IOleWindow *LPOLEWINDOW; | |
31542 | ||
31543 | ||
31544 | ||
31545 | ||
31546 | ||
31547 | ||
31548 | extern const GUID IID_IOleWindow __attribute__((visibility ("hidden"))); | |
31549 | # 74 "../../../include/oleidl.h" | |
31550 | typedef struct IOleWindowVtbl { | |
31551 | ||
31552 | ||
31553 | ||
31554 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
31555 | IOleWindow* This, | |
31556 | const IID* const riid, | |
31557 | void** ppvObject); | |
31558 | ||
31559 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
31560 | IOleWindow* This); | |
31561 | ||
31562 | ULONG (__attribute__((__stdcall__)) *Release)( | |
31563 | IOleWindow* This); | |
31564 | ||
31565 | ||
31566 | HRESULT (__attribute__((__stdcall__)) *GetWindow)( | |
31567 | IOleWindow* This, | |
31568 | HWND* phwnd); | |
31569 | ||
31570 | HRESULT (__attribute__((__stdcall__)) *ContextSensitiveHelp)( | |
31571 | IOleWindow* This, | |
31572 | BOOL fEnterMode); | |
31573 | ||
31574 | ||
31575 | } IOleWindowVtbl; | |
31576 | struct IOleWindow { | |
31577 | const IOleWindowVtbl* lpVtbl; | |
31578 | }; | |
31579 | # 116 "../../../include/oleidl.h" | |
31580 | HRESULT __attribute__((__stdcall__)) IOleWindow_GetWindow_Proxy( | |
31581 | IOleWindow* This, | |
31582 | HWND* phwnd); | |
31583 | void __attribute__((__stdcall__)) IOleWindow_GetWindow_Stub( | |
31584 | IRpcStubBuffer* This, | |
31585 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31586 | PRPC_MESSAGE pRpcMessage, | |
31587 | DWORD* pdwStubPhase); | |
31588 | HRESULT __attribute__((__stdcall__)) IOleWindow_ContextSensitiveHelp_Proxy( | |
31589 | IOleWindow* This, | |
31590 | BOOL fEnterMode); | |
31591 | void __attribute__((__stdcall__)) IOleWindow_ContextSensitiveHelp_Stub( | |
31592 | IRpcStubBuffer* This, | |
31593 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31594 | PRPC_MESSAGE pRpcMessage, | |
31595 | DWORD* pdwStubPhase); | |
31596 | ||
31597 | ||
31598 | ||
31599 | ||
31600 | ||
31601 | typedef struct IOleInPlaceObject IOleInPlaceObject; | |
31602 | ||
31603 | ||
31604 | typedef IOleInPlaceObject *LPOLEINPLACEOBJECT; | |
31605 | ||
31606 | ||
31607 | ||
31608 | ||
31609 | ||
31610 | ||
31611 | extern const GUID IID_IOleInPlaceObject __attribute__((visibility ("hidden"))); | |
31612 | # 166 "../../../include/oleidl.h" | |
31613 | typedef struct IOleInPlaceObjectVtbl { | |
31614 | ||
31615 | ||
31616 | ||
31617 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
31618 | IOleInPlaceObject* This, | |
31619 | const IID* const riid, | |
31620 | void** ppvObject); | |
31621 | ||
31622 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
31623 | IOleInPlaceObject* This); | |
31624 | ||
31625 | ULONG (__attribute__((__stdcall__)) *Release)( | |
31626 | IOleInPlaceObject* This); | |
31627 | ||
31628 | ||
31629 | HRESULT (__attribute__((__stdcall__)) *GetWindow)( | |
31630 | IOleInPlaceObject* This, | |
31631 | HWND* phwnd); | |
31632 | ||
31633 | HRESULT (__attribute__((__stdcall__)) *ContextSensitiveHelp)( | |
31634 | IOleInPlaceObject* This, | |
31635 | BOOL fEnterMode); | |
31636 | ||
31637 | ||
31638 | HRESULT (__attribute__((__stdcall__)) *InPlaceDeactivate)( | |
31639 | IOleInPlaceObject* This); | |
31640 | ||
31641 | HRESULT (__attribute__((__stdcall__)) *UIDeactivate)( | |
31642 | IOleInPlaceObject* This); | |
31643 | ||
31644 | HRESULT (__attribute__((__stdcall__)) *SetObjectRects)( | |
31645 | IOleInPlaceObject* This, | |
31646 | LPCRECT lprcPosRect, | |
31647 | LPCRECT lprcClipRect); | |
31648 | ||
31649 | HRESULT (__attribute__((__stdcall__)) *ReactivateAndUndo)( | |
31650 | IOleInPlaceObject* This); | |
31651 | ||
31652 | ||
31653 | } IOleInPlaceObjectVtbl; | |
31654 | struct IOleInPlaceObject { | |
31655 | const IOleInPlaceObjectVtbl* lpVtbl; | |
31656 | }; | |
31657 | # 228 "../../../include/oleidl.h" | |
31658 | HRESULT __attribute__((__stdcall__)) IOleInPlaceObject_InPlaceDeactivate_Proxy( | |
31659 | IOleInPlaceObject* This); | |
31660 | void __attribute__((__stdcall__)) IOleInPlaceObject_InPlaceDeactivate_Stub( | |
31661 | IRpcStubBuffer* This, | |
31662 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31663 | PRPC_MESSAGE pRpcMessage, | |
31664 | DWORD* pdwStubPhase); | |
31665 | HRESULT __attribute__((__stdcall__)) IOleInPlaceObject_UIDeactivate_Proxy( | |
31666 | IOleInPlaceObject* This); | |
31667 | void __attribute__((__stdcall__)) IOleInPlaceObject_UIDeactivate_Stub( | |
31668 | IRpcStubBuffer* This, | |
31669 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31670 | PRPC_MESSAGE pRpcMessage, | |
31671 | DWORD* pdwStubPhase); | |
31672 | HRESULT __attribute__((__stdcall__)) IOleInPlaceObject_SetObjectRects_Proxy( | |
31673 | IOleInPlaceObject* This, | |
31674 | LPCRECT lprcPosRect, | |
31675 | LPCRECT lprcClipRect); | |
31676 | void __attribute__((__stdcall__)) IOleInPlaceObject_SetObjectRects_Stub( | |
31677 | IRpcStubBuffer* This, | |
31678 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31679 | PRPC_MESSAGE pRpcMessage, | |
31680 | DWORD* pdwStubPhase); | |
31681 | HRESULT __attribute__((__stdcall__)) IOleInPlaceObject_ReactivateAndUndo_Proxy( | |
31682 | IOleInPlaceObject* This); | |
31683 | void __attribute__((__stdcall__)) IOleInPlaceObject_ReactivateAndUndo_Stub( | |
31684 | IRpcStubBuffer* This, | |
31685 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31686 | PRPC_MESSAGE pRpcMessage, | |
31687 | DWORD* pdwStubPhase); | |
31688 | ||
31689 | ||
31690 | ||
31691 | ||
31692 | ||
31693 | typedef struct IOleInPlaceUIWindow IOleInPlaceUIWindow; | |
31694 | ||
31695 | ||
31696 | typedef IOleInPlaceUIWindow *LPOLEINPLACEUIWINDOW; | |
31697 | typedef RECT BORDERWIDTHS; | |
31698 | typedef LPRECT LPBORDERWIDTHS; | |
31699 | typedef LPCRECT LPCBORDERWIDTHS; | |
31700 | ||
31701 | ||
31702 | ||
31703 | ||
31704 | ||
31705 | ||
31706 | extern const GUID IID_IOleInPlaceUIWindow __attribute__((visibility ("hidden"))); | |
31707 | # 295 "../../../include/oleidl.h" | |
31708 | typedef struct IOleInPlaceUIWindowVtbl { | |
31709 | ||
31710 | ||
31711 | ||
31712 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
31713 | IOleInPlaceUIWindow* This, | |
31714 | const IID* const riid, | |
31715 | void** ppvObject); | |
31716 | ||
31717 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
31718 | IOleInPlaceUIWindow* This); | |
31719 | ||
31720 | ULONG (__attribute__((__stdcall__)) *Release)( | |
31721 | IOleInPlaceUIWindow* This); | |
31722 | ||
31723 | ||
31724 | HRESULT (__attribute__((__stdcall__)) *GetWindow)( | |
31725 | IOleInPlaceUIWindow* This, | |
31726 | HWND* phwnd); | |
31727 | ||
31728 | HRESULT (__attribute__((__stdcall__)) *ContextSensitiveHelp)( | |
31729 | IOleInPlaceUIWindow* This, | |
31730 | BOOL fEnterMode); | |
31731 | ||
31732 | ||
31733 | HRESULT (__attribute__((__stdcall__)) *GetBorder)( | |
31734 | IOleInPlaceUIWindow* This, | |
31735 | LPRECT lprectBorder); | |
31736 | ||
31737 | HRESULT (__attribute__((__stdcall__)) *RequestBorderSpace)( | |
31738 | IOleInPlaceUIWindow* This, | |
31739 | LPCBORDERWIDTHS pborderwidths); | |
31740 | ||
31741 | HRESULT (__attribute__((__stdcall__)) *SetBorderSpace)( | |
31742 | IOleInPlaceUIWindow* This, | |
31743 | LPCBORDERWIDTHS pborderwidths); | |
31744 | ||
31745 | HRESULT (__attribute__((__stdcall__)) *SetActiveObject)( | |
31746 | IOleInPlaceUIWindow* This, | |
31747 | IOleInPlaceActiveObject* pActiveObject, | |
31748 | LPCOLESTR pszObjName); | |
31749 | ||
31750 | ||
31751 | } IOleInPlaceUIWindowVtbl; | |
31752 | struct IOleInPlaceUIWindow { | |
31753 | const IOleInPlaceUIWindowVtbl* lpVtbl; | |
31754 | }; | |
31755 | # 360 "../../../include/oleidl.h" | |
31756 | HRESULT __attribute__((__stdcall__)) IOleInPlaceUIWindow_GetBorder_Proxy( | |
31757 | IOleInPlaceUIWindow* This, | |
31758 | LPRECT lprectBorder); | |
31759 | void __attribute__((__stdcall__)) IOleInPlaceUIWindow_GetBorder_Stub( | |
31760 | IRpcStubBuffer* This, | |
31761 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31762 | PRPC_MESSAGE pRpcMessage, | |
31763 | DWORD* pdwStubPhase); | |
31764 | HRESULT __attribute__((__stdcall__)) IOleInPlaceUIWindow_RequestBorderSpace_Proxy( | |
31765 | IOleInPlaceUIWindow* This, | |
31766 | LPCBORDERWIDTHS pborderwidths); | |
31767 | void __attribute__((__stdcall__)) IOleInPlaceUIWindow_RequestBorderSpace_Stub( | |
31768 | IRpcStubBuffer* This, | |
31769 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31770 | PRPC_MESSAGE pRpcMessage, | |
31771 | DWORD* pdwStubPhase); | |
31772 | HRESULT __attribute__((__stdcall__)) IOleInPlaceUIWindow_SetBorderSpace_Proxy( | |
31773 | IOleInPlaceUIWindow* This, | |
31774 | LPCBORDERWIDTHS pborderwidths); | |
31775 | void __attribute__((__stdcall__)) IOleInPlaceUIWindow_SetBorderSpace_Stub( | |
31776 | IRpcStubBuffer* This, | |
31777 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31778 | PRPC_MESSAGE pRpcMessage, | |
31779 | DWORD* pdwStubPhase); | |
31780 | HRESULT __attribute__((__stdcall__)) IOleInPlaceUIWindow_SetActiveObject_Proxy( | |
31781 | IOleInPlaceUIWindow* This, | |
31782 | IOleInPlaceActiveObject* pActiveObject, | |
31783 | LPCOLESTR pszObjName); | |
31784 | void __attribute__((__stdcall__)) IOleInPlaceUIWindow_SetActiveObject_Stub( | |
31785 | IRpcStubBuffer* This, | |
31786 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31787 | PRPC_MESSAGE pRpcMessage, | |
31788 | DWORD* pdwStubPhase); | |
31789 | # 401 "../../../include/oleidl.h" | |
31790 | typedef struct IOleInPlaceFrame IOleInPlaceFrame; | |
31791 | ||
31792 | ||
31793 | typedef IOleInPlaceFrame *LPOLEINPLACEFRAME; | |
31794 | typedef struct tagOleInPlaceFrameInfo { | |
31795 | UINT cb; | |
31796 | BOOL fMDIApp; | |
31797 | HWND hwndFrame; | |
31798 | HACCEL haccel; | |
31799 | UINT cAccelEntries; | |
31800 | } OLEINPLACEFRAMEINFO; | |
31801 | typedef struct tagOleInPlaceFrameInfo *LPOLEINPLACEFRAMEINFO; | |
31802 | typedef struct tagOleMenuGroupWidths { | |
31803 | LONG width[6]; | |
31804 | } OLEMENUGROUPWIDTHS; | |
31805 | typedef struct tagOleMenuGroupWidths *LPOLEMENUGROUPWIDTHS; | |
31806 | typedef HGLOBAL HOLEMENU; | |
31807 | ||
31808 | ||
31809 | ||
31810 | ||
31811 | ||
31812 | ||
31813 | extern const GUID IID_IOleInPlaceFrame __attribute__((visibility ("hidden"))); | |
31814 | # 452 "../../../include/oleidl.h" | |
31815 | typedef struct IOleInPlaceFrameVtbl { | |
31816 | ||
31817 | ||
31818 | ||
31819 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
31820 | IOleInPlaceFrame* This, | |
31821 | const IID* const riid, | |
31822 | void** ppvObject); | |
31823 | ||
31824 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
31825 | IOleInPlaceFrame* This); | |
31826 | ||
31827 | ULONG (__attribute__((__stdcall__)) *Release)( | |
31828 | IOleInPlaceFrame* This); | |
31829 | ||
31830 | ||
31831 | HRESULT (__attribute__((__stdcall__)) *GetWindow)( | |
31832 | IOleInPlaceFrame* This, | |
31833 | HWND* phwnd); | |
31834 | ||
31835 | HRESULT (__attribute__((__stdcall__)) *ContextSensitiveHelp)( | |
31836 | IOleInPlaceFrame* This, | |
31837 | BOOL fEnterMode); | |
31838 | ||
31839 | ||
31840 | HRESULT (__attribute__((__stdcall__)) *GetBorder)( | |
31841 | IOleInPlaceFrame* This, | |
31842 | LPRECT lprectBorder); | |
31843 | ||
31844 | HRESULT (__attribute__((__stdcall__)) *RequestBorderSpace)( | |
31845 | IOleInPlaceFrame* This, | |
31846 | LPCBORDERWIDTHS pborderwidths); | |
31847 | ||
31848 | HRESULT (__attribute__((__stdcall__)) *SetBorderSpace)( | |
31849 | IOleInPlaceFrame* This, | |
31850 | LPCBORDERWIDTHS pborderwidths); | |
31851 | ||
31852 | HRESULT (__attribute__((__stdcall__)) *SetActiveObject)( | |
31853 | IOleInPlaceFrame* This, | |
31854 | IOleInPlaceActiveObject* pActiveObject, | |
31855 | LPCOLESTR pszObjName); | |
31856 | ||
31857 | ||
31858 | HRESULT (__attribute__((__stdcall__)) *InsertMenus)( | |
31859 | IOleInPlaceFrame* This, | |
31860 | HMENU hmenuShared, | |
31861 | LPOLEMENUGROUPWIDTHS lpMenuWidths); | |
31862 | ||
31863 | HRESULT (__attribute__((__stdcall__)) *SetMenu)( | |
31864 | IOleInPlaceFrame* This, | |
31865 | HMENU hmenuShared, | |
31866 | HOLEMENU holemenu, | |
31867 | HWND hwndActiveObject); | |
31868 | ||
31869 | HRESULT (__attribute__((__stdcall__)) *RemoveMenus)( | |
31870 | IOleInPlaceFrame* This, | |
31871 | HMENU hmenuShared); | |
31872 | ||
31873 | HRESULT (__attribute__((__stdcall__)) *SetStatusText)( | |
31874 | IOleInPlaceFrame* This, | |
31875 | LPCOLESTR pszStatusText); | |
31876 | ||
31877 | HRESULT (__attribute__((__stdcall__)) *EnableModeless)( | |
31878 | IOleInPlaceFrame* This, | |
31879 | BOOL fEnable); | |
31880 | ||
31881 | HRESULT (__attribute__((__stdcall__)) *TranslateAcceleratorA)( | |
31882 | IOleInPlaceFrame* This, | |
31883 | LPMSG lpmsg, | |
31884 | WORD wID); | |
31885 | ||
31886 | ||
31887 | } IOleInPlaceFrameVtbl; | |
31888 | struct IOleInPlaceFrame { | |
31889 | const IOleInPlaceFrameVtbl* lpVtbl; | |
31890 | }; | |
31891 | # 553 "../../../include/oleidl.h" | |
31892 | HRESULT __attribute__((__stdcall__)) IOleInPlaceFrame_InsertMenus_Proxy( | |
31893 | IOleInPlaceFrame* This, | |
31894 | HMENU hmenuShared, | |
31895 | LPOLEMENUGROUPWIDTHS lpMenuWidths); | |
31896 | void __attribute__((__stdcall__)) IOleInPlaceFrame_InsertMenus_Stub( | |
31897 | IRpcStubBuffer* This, | |
31898 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31899 | PRPC_MESSAGE pRpcMessage, | |
31900 | DWORD* pdwStubPhase); | |
31901 | HRESULT __attribute__((__stdcall__)) IOleInPlaceFrame_SetMenu_Proxy( | |
31902 | IOleInPlaceFrame* This, | |
31903 | HMENU hmenuShared, | |
31904 | HOLEMENU holemenu, | |
31905 | HWND hwndActiveObject); | |
31906 | void __attribute__((__stdcall__)) IOleInPlaceFrame_SetMenu_Stub( | |
31907 | IRpcStubBuffer* This, | |
31908 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31909 | PRPC_MESSAGE pRpcMessage, | |
31910 | DWORD* pdwStubPhase); | |
31911 | HRESULT __attribute__((__stdcall__)) IOleInPlaceFrame_RemoveMenus_Proxy( | |
31912 | IOleInPlaceFrame* This, | |
31913 | HMENU hmenuShared); | |
31914 | void __attribute__((__stdcall__)) IOleInPlaceFrame_RemoveMenus_Stub( | |
31915 | IRpcStubBuffer* This, | |
31916 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31917 | PRPC_MESSAGE pRpcMessage, | |
31918 | DWORD* pdwStubPhase); | |
31919 | HRESULT __attribute__((__stdcall__)) IOleInPlaceFrame_SetStatusText_Proxy( | |
31920 | IOleInPlaceFrame* This, | |
31921 | LPCOLESTR pszStatusText); | |
31922 | void __attribute__((__stdcall__)) IOleInPlaceFrame_SetStatusText_Stub( | |
31923 | IRpcStubBuffer* This, | |
31924 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31925 | PRPC_MESSAGE pRpcMessage, | |
31926 | DWORD* pdwStubPhase); | |
31927 | HRESULT __attribute__((__stdcall__)) IOleInPlaceFrame_EnableModeless_Proxy( | |
31928 | IOleInPlaceFrame* This, | |
31929 | BOOL fEnable); | |
31930 | void __attribute__((__stdcall__)) IOleInPlaceFrame_EnableModeless_Stub( | |
31931 | IRpcStubBuffer* This, | |
31932 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31933 | PRPC_MESSAGE pRpcMessage, | |
31934 | DWORD* pdwStubPhase); | |
31935 | HRESULT __attribute__((__stdcall__)) IOleInPlaceFrame_TranslateAccelerator_Proxy( | |
31936 | IOleInPlaceFrame* This, | |
31937 | LPMSG lpmsg, | |
31938 | WORD wID); | |
31939 | void __attribute__((__stdcall__)) IOleInPlaceFrame_TranslateAccelerator_Stub( | |
31940 | IRpcStubBuffer* This, | |
31941 | IRpcChannelBuffer* pRpcChannelBuffer, | |
31942 | PRPC_MESSAGE pRpcMessage, | |
31943 | DWORD* pdwStubPhase); | |
31944 | ||
31945 | ||
31946 | ||
31947 | typedef IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT; | |
31948 | ||
31949 | ||
31950 | ||
31951 | ||
31952 | ||
31953 | ||
31954 | extern const GUID IID_IOleInPlaceActiveObject __attribute__((visibility ("hidden"))); | |
31955 | # 638 "../../../include/oleidl.h" | |
31956 | typedef struct IOleInPlaceActiveObjectVtbl { | |
31957 | ||
31958 | ||
31959 | ||
31960 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
31961 | IOleInPlaceActiveObject* This, | |
31962 | const IID* const riid, | |
31963 | void** ppvObject); | |
31964 | ||
31965 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
31966 | IOleInPlaceActiveObject* This); | |
31967 | ||
31968 | ULONG (__attribute__((__stdcall__)) *Release)( | |
31969 | IOleInPlaceActiveObject* This); | |
31970 | ||
31971 | ||
31972 | HRESULT (__attribute__((__stdcall__)) *GetWindow)( | |
31973 | IOleInPlaceActiveObject* This, | |
31974 | HWND* phwnd); | |
31975 | ||
31976 | HRESULT (__attribute__((__stdcall__)) *ContextSensitiveHelp)( | |
31977 | IOleInPlaceActiveObject* This, | |
31978 | BOOL fEnterMode); | |
31979 | ||
31980 | ||
31981 | HRESULT (__attribute__((__stdcall__)) *TranslateAcceleratorA)( | |
31982 | IOleInPlaceActiveObject* This, | |
31983 | LPMSG lpmsg); | |
31984 | ||
31985 | HRESULT (__attribute__((__stdcall__)) *OnFrameWindowActivate)( | |
31986 | IOleInPlaceActiveObject* This, | |
31987 | BOOL fActivate); | |
31988 | ||
31989 | HRESULT (__attribute__((__stdcall__)) *OnDocWindowActivate)( | |
31990 | IOleInPlaceActiveObject* This, | |
31991 | BOOL fActivate); | |
31992 | ||
31993 | HRESULT (__attribute__((__stdcall__)) *ResizeBorder)( | |
31994 | IOleInPlaceActiveObject* This, | |
31995 | LPCRECT prcBorder, | |
31996 | IOleInPlaceUIWindow* pUIWindow, | |
31997 | BOOL fFrameWindow); | |
31998 | ||
31999 | HRESULT (__attribute__((__stdcall__)) *EnableModeless)( | |
32000 | IOleInPlaceActiveObject* This, | |
32001 | BOOL fEnable); | |
32002 | ||
32003 | ||
32004 | } IOleInPlaceActiveObjectVtbl; | |
32005 | struct IOleInPlaceActiveObject { | |
32006 | const IOleInPlaceActiveObjectVtbl* lpVtbl; | |
32007 | }; | |
32008 | # 709 "../../../include/oleidl.h" | |
32009 | HRESULT __attribute__((__stdcall__)) IOleInPlaceActiveObject_RemoteTranslateAccelerator_Proxy( | |
32010 | IOleInPlaceActiveObject* This); | |
32011 | void __attribute__((__stdcall__)) IOleInPlaceActiveObject_RemoteTranslateAccelerator_Stub( | |
32012 | IRpcStubBuffer* This, | |
32013 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32014 | PRPC_MESSAGE pRpcMessage, | |
32015 | DWORD* pdwStubPhase); | |
32016 | HRESULT __attribute__((__stdcall__)) IOleInPlaceActiveObject_TranslateAccelerator_Proxy( | |
32017 | IOleInPlaceActiveObject* This, | |
32018 | LPMSG lpmsg); | |
32019 | HRESULT __attribute__((__stdcall__)) IOleInPlaceActiveObject_TranslateAccelerator_Stub( | |
32020 | IOleInPlaceActiveObject* This); | |
32021 | HRESULT __attribute__((__stdcall__)) IOleInPlaceActiveObject_OnFrameWindowActivate_Proxy( | |
32022 | IOleInPlaceActiveObject* This, | |
32023 | BOOL fActivate); | |
32024 | void __attribute__((__stdcall__)) IOleInPlaceActiveObject_OnFrameWindowActivate_Stub( | |
32025 | IRpcStubBuffer* This, | |
32026 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32027 | PRPC_MESSAGE pRpcMessage, | |
32028 | DWORD* pdwStubPhase); | |
32029 | HRESULT __attribute__((__stdcall__)) IOleInPlaceActiveObject_OnDocWindowActivate_Proxy( | |
32030 | IOleInPlaceActiveObject* This, | |
32031 | BOOL fActivate); | |
32032 | void __attribute__((__stdcall__)) IOleInPlaceActiveObject_OnDocWindowActivate_Stub( | |
32033 | IRpcStubBuffer* This, | |
32034 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32035 | PRPC_MESSAGE pRpcMessage, | |
32036 | DWORD* pdwStubPhase); | |
32037 | HRESULT __attribute__((__stdcall__)) IOleInPlaceActiveObject_RemoteResizeBorder_Proxy( | |
32038 | IOleInPlaceActiveObject* This, | |
32039 | LPCRECT prcBorder, | |
32040 | const IID* const riid, | |
32041 | IOleInPlaceUIWindow* pUIWindow, | |
32042 | BOOL fFrameWindow); | |
32043 | void __attribute__((__stdcall__)) IOleInPlaceActiveObject_RemoteResizeBorder_Stub( | |
32044 | IRpcStubBuffer* This, | |
32045 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32046 | PRPC_MESSAGE pRpcMessage, | |
32047 | DWORD* pdwStubPhase); | |
32048 | HRESULT __attribute__((__stdcall__)) IOleInPlaceActiveObject_ResizeBorder_Proxy( | |
32049 | IOleInPlaceActiveObject* This, | |
32050 | LPCRECT prcBorder, | |
32051 | IOleInPlaceUIWindow* pUIWindow, | |
32052 | BOOL fFrameWindow); | |
32053 | HRESULT __attribute__((__stdcall__)) IOleInPlaceActiveObject_ResizeBorder_Stub( | |
32054 | IOleInPlaceActiveObject* This, | |
32055 | LPCRECT prcBorder, | |
32056 | const IID* const riid, | |
32057 | IOleInPlaceUIWindow* pUIWindow, | |
32058 | BOOL fFrameWindow); | |
32059 | HRESULT __attribute__((__stdcall__)) IOleInPlaceActiveObject_EnableModeless_Proxy( | |
32060 | IOleInPlaceActiveObject* This, | |
32061 | BOOL fEnable); | |
32062 | void __attribute__((__stdcall__)) IOleInPlaceActiveObject_EnableModeless_Stub( | |
32063 | IRpcStubBuffer* This, | |
32064 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32065 | PRPC_MESSAGE pRpcMessage, | |
32066 | DWORD* pdwStubPhase); | |
32067 | ||
32068 | ||
32069 | ||
32070 | ||
32071 | ||
32072 | typedef struct IOleInPlaceSite IOleInPlaceSite; | |
32073 | ||
32074 | ||
32075 | typedef IOleInPlaceSite *LPOLEINPLACESITE; | |
32076 | ||
32077 | ||
32078 | ||
32079 | ||
32080 | ||
32081 | ||
32082 | extern const GUID IID_IOleInPlaceSite __attribute__((visibility ("hidden"))); | |
32083 | # 822 "../../../include/oleidl.h" | |
32084 | typedef struct IOleInPlaceSiteVtbl { | |
32085 | ||
32086 | ||
32087 | ||
32088 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
32089 | IOleInPlaceSite* This, | |
32090 | const IID* const riid, | |
32091 | void** ppvObject); | |
32092 | ||
32093 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
32094 | IOleInPlaceSite* This); | |
32095 | ||
32096 | ULONG (__attribute__((__stdcall__)) *Release)( | |
32097 | IOleInPlaceSite* This); | |
32098 | ||
32099 | ||
32100 | HRESULT (__attribute__((__stdcall__)) *GetWindow)( | |
32101 | IOleInPlaceSite* This, | |
32102 | HWND* phwnd); | |
32103 | ||
32104 | HRESULT (__attribute__((__stdcall__)) *ContextSensitiveHelp)( | |
32105 | IOleInPlaceSite* This, | |
32106 | BOOL fEnterMode); | |
32107 | ||
32108 | ||
32109 | HRESULT (__attribute__((__stdcall__)) *CanInPlaceActivate)( | |
32110 | IOleInPlaceSite* This); | |
32111 | ||
32112 | HRESULT (__attribute__((__stdcall__)) *OnInPlaceActivate)( | |
32113 | IOleInPlaceSite* This); | |
32114 | ||
32115 | HRESULT (__attribute__((__stdcall__)) *OnUIActivate)( | |
32116 | IOleInPlaceSite* This); | |
32117 | ||
32118 | HRESULT (__attribute__((__stdcall__)) *GetWindowContext)( | |
32119 | IOleInPlaceSite* This, | |
32120 | IOleInPlaceFrame** ppFrame, | |
32121 | IOleInPlaceUIWindow** ppDoc, | |
32122 | LPRECT lprcPosRect, | |
32123 | LPRECT lprcClipRect, | |
32124 | LPOLEINPLACEFRAMEINFO lpFrameInfo); | |
32125 | ||
32126 | HRESULT (__attribute__((__stdcall__)) *Scroll)( | |
32127 | IOleInPlaceSite* This, | |
32128 | SIZE scrollExtent); | |
32129 | ||
32130 | HRESULT (__attribute__((__stdcall__)) *OnUIDeactivate)( | |
32131 | IOleInPlaceSite* This, | |
32132 | BOOL fUndoable); | |
32133 | ||
32134 | HRESULT (__attribute__((__stdcall__)) *OnInPlaceDeactivate)( | |
32135 | IOleInPlaceSite* This); | |
32136 | ||
32137 | HRESULT (__attribute__((__stdcall__)) *DiscardUndoState)( | |
32138 | IOleInPlaceSite* This); | |
32139 | ||
32140 | HRESULT (__attribute__((__stdcall__)) *DeactivateAndUndo)( | |
32141 | IOleInPlaceSite* This); | |
32142 | ||
32143 | HRESULT (__attribute__((__stdcall__)) *OnPosRectChange)( | |
32144 | IOleInPlaceSite* This, | |
32145 | LPCRECT lprcPosRect); | |
32146 | ||
32147 | ||
32148 | } IOleInPlaceSiteVtbl; | |
32149 | struct IOleInPlaceSite { | |
32150 | const IOleInPlaceSiteVtbl* lpVtbl; | |
32151 | }; | |
32152 | # 914 "../../../include/oleidl.h" | |
32153 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_CanInPlaceActivate_Proxy( | |
32154 | IOleInPlaceSite* This); | |
32155 | void __attribute__((__stdcall__)) IOleInPlaceSite_CanInPlaceActivate_Stub( | |
32156 | IRpcStubBuffer* This, | |
32157 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32158 | PRPC_MESSAGE pRpcMessage, | |
32159 | DWORD* pdwStubPhase); | |
32160 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_OnInPlaceActivate_Proxy( | |
32161 | IOleInPlaceSite* This); | |
32162 | void __attribute__((__stdcall__)) IOleInPlaceSite_OnInPlaceActivate_Stub( | |
32163 | IRpcStubBuffer* This, | |
32164 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32165 | PRPC_MESSAGE pRpcMessage, | |
32166 | DWORD* pdwStubPhase); | |
32167 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_OnUIActivate_Proxy( | |
32168 | IOleInPlaceSite* This); | |
32169 | void __attribute__((__stdcall__)) IOleInPlaceSite_OnUIActivate_Stub( | |
32170 | IRpcStubBuffer* This, | |
32171 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32172 | PRPC_MESSAGE pRpcMessage, | |
32173 | DWORD* pdwStubPhase); | |
32174 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_GetWindowContext_Proxy( | |
32175 | IOleInPlaceSite* This, | |
32176 | IOleInPlaceFrame** ppFrame, | |
32177 | IOleInPlaceUIWindow** ppDoc, | |
32178 | LPRECT lprcPosRect, | |
32179 | LPRECT lprcClipRect, | |
32180 | LPOLEINPLACEFRAMEINFO lpFrameInfo); | |
32181 | void __attribute__((__stdcall__)) IOleInPlaceSite_GetWindowContext_Stub( | |
32182 | IRpcStubBuffer* This, | |
32183 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32184 | PRPC_MESSAGE pRpcMessage, | |
32185 | DWORD* pdwStubPhase); | |
32186 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_Scroll_Proxy( | |
32187 | IOleInPlaceSite* This, | |
32188 | SIZE scrollExtent); | |
32189 | void __attribute__((__stdcall__)) IOleInPlaceSite_Scroll_Stub( | |
32190 | IRpcStubBuffer* This, | |
32191 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32192 | PRPC_MESSAGE pRpcMessage, | |
32193 | DWORD* pdwStubPhase); | |
32194 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_OnUIDeactivate_Proxy( | |
32195 | IOleInPlaceSite* This, | |
32196 | BOOL fUndoable); | |
32197 | void __attribute__((__stdcall__)) IOleInPlaceSite_OnUIDeactivate_Stub( | |
32198 | IRpcStubBuffer* This, | |
32199 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32200 | PRPC_MESSAGE pRpcMessage, | |
32201 | DWORD* pdwStubPhase); | |
32202 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_OnInPlaceDeactivate_Proxy( | |
32203 | IOleInPlaceSite* This); | |
32204 | void __attribute__((__stdcall__)) IOleInPlaceSite_OnInPlaceDeactivate_Stub( | |
32205 | IRpcStubBuffer* This, | |
32206 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32207 | PRPC_MESSAGE pRpcMessage, | |
32208 | DWORD* pdwStubPhase); | |
32209 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_DiscardUndoState_Proxy( | |
32210 | IOleInPlaceSite* This); | |
32211 | void __attribute__((__stdcall__)) IOleInPlaceSite_DiscardUndoState_Stub( | |
32212 | IRpcStubBuffer* This, | |
32213 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32214 | PRPC_MESSAGE pRpcMessage, | |
32215 | DWORD* pdwStubPhase); | |
32216 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_DeactivateAndUndo_Proxy( | |
32217 | IOleInPlaceSite* This); | |
32218 | void __attribute__((__stdcall__)) IOleInPlaceSite_DeactivateAndUndo_Stub( | |
32219 | IRpcStubBuffer* This, | |
32220 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32221 | PRPC_MESSAGE pRpcMessage, | |
32222 | DWORD* pdwStubPhase); | |
32223 | HRESULT __attribute__((__stdcall__)) IOleInPlaceSite_OnPosRectChange_Proxy( | |
32224 | IOleInPlaceSite* This, | |
32225 | LPCRECT lprcPosRect); | |
32226 | void __attribute__((__stdcall__)) IOleInPlaceSite_OnPosRectChange_Stub( | |
32227 | IRpcStubBuffer* This, | |
32228 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32229 | PRPC_MESSAGE pRpcMessage, | |
32230 | DWORD* pdwStubPhase); | |
32231 | ||
32232 | ||
32233 | ||
32234 | ||
32235 | ||
32236 | typedef struct IParseDisplayName IParseDisplayName; | |
32237 | ||
32238 | ||
32239 | typedef IParseDisplayName *LPPARSEDISPLAYNAME; | |
32240 | ||
32241 | ||
32242 | ||
32243 | ||
32244 | ||
32245 | ||
32246 | extern const GUID IID_IParseDisplayName __attribute__((visibility ("hidden"))); | |
32247 | # 1019 "../../../include/oleidl.h" | |
32248 | typedef struct IParseDisplayNameVtbl { | |
32249 | ||
32250 | ||
32251 | ||
32252 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
32253 | IParseDisplayName* This, | |
32254 | const IID* const riid, | |
32255 | void** ppvObject); | |
32256 | ||
32257 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
32258 | IParseDisplayName* This); | |
32259 | ||
32260 | ULONG (__attribute__((__stdcall__)) *Release)( | |
32261 | IParseDisplayName* This); | |
32262 | ||
32263 | ||
32264 | HRESULT (__attribute__((__stdcall__)) *ParseDisplayName)( | |
32265 | IParseDisplayName* This, | |
32266 | IBindCtx* pbc, | |
32267 | LPOLESTR pszDisplayName, | |
32268 | ULONG* pchEaten, | |
32269 | IMoniker** ppmkOut); | |
32270 | ||
32271 | ||
32272 | } IParseDisplayNameVtbl; | |
32273 | struct IParseDisplayName { | |
32274 | const IParseDisplayNameVtbl* lpVtbl; | |
32275 | }; | |
32276 | # 1059 "../../../include/oleidl.h" | |
32277 | HRESULT __attribute__((__stdcall__)) IParseDisplayName_ParseDisplayName_Proxy( | |
32278 | IParseDisplayName* This, | |
32279 | IBindCtx* pbc, | |
32280 | LPOLESTR pszDisplayName, | |
32281 | ULONG* pchEaten, | |
32282 | IMoniker** ppmkOut); | |
32283 | void __attribute__((__stdcall__)) IParseDisplayName_ParseDisplayName_Stub( | |
32284 | IRpcStubBuffer* This, | |
32285 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32286 | PRPC_MESSAGE pRpcMessage, | |
32287 | DWORD* pdwStubPhase); | |
32288 | ||
32289 | ||
32290 | ||
32291 | ||
32292 | ||
32293 | typedef struct IOleContainer IOleContainer; | |
32294 | ||
32295 | ||
32296 | typedef IOleContainer *LPOLECONTAINER; | |
32297 | ||
32298 | ||
32299 | ||
32300 | ||
32301 | ||
32302 | ||
32303 | extern const GUID IID_IOleContainer __attribute__((visibility ("hidden"))); | |
32304 | # 1098 "../../../include/oleidl.h" | |
32305 | typedef struct IOleContainerVtbl { | |
32306 | ||
32307 | ||
32308 | ||
32309 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
32310 | IOleContainer* This, | |
32311 | const IID* const riid, | |
32312 | void** ppvObject); | |
32313 | ||
32314 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
32315 | IOleContainer* This); | |
32316 | ||
32317 | ULONG (__attribute__((__stdcall__)) *Release)( | |
32318 | IOleContainer* This); | |
32319 | ||
32320 | ||
32321 | HRESULT (__attribute__((__stdcall__)) *ParseDisplayName)( | |
32322 | IOleContainer* This, | |
32323 | IBindCtx* pbc, | |
32324 | LPOLESTR pszDisplayName, | |
32325 | ULONG* pchEaten, | |
32326 | IMoniker** ppmkOut); | |
32327 | ||
32328 | ||
32329 | HRESULT (__attribute__((__stdcall__)) *EnumObjects)( | |
32330 | IOleContainer* This, | |
32331 | DWORD grfFlags, | |
32332 | IEnumUnknown** ppenum); | |
32333 | ||
32334 | HRESULT (__attribute__((__stdcall__)) *LockContainer)( | |
32335 | IOleContainer* This, | |
32336 | BOOL fLock); | |
32337 | ||
32338 | ||
32339 | } IOleContainerVtbl; | |
32340 | struct IOleContainer { | |
32341 | const IOleContainerVtbl* lpVtbl; | |
32342 | }; | |
32343 | # 1151 "../../../include/oleidl.h" | |
32344 | HRESULT __attribute__((__stdcall__)) IOleContainer_EnumObjects_Proxy( | |
32345 | IOleContainer* This, | |
32346 | DWORD grfFlags, | |
32347 | IEnumUnknown** ppenum); | |
32348 | void __attribute__((__stdcall__)) IOleContainer_EnumObjects_Stub( | |
32349 | IRpcStubBuffer* This, | |
32350 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32351 | PRPC_MESSAGE pRpcMessage, | |
32352 | DWORD* pdwStubPhase); | |
32353 | HRESULT __attribute__((__stdcall__)) IOleContainer_LockContainer_Proxy( | |
32354 | IOleContainer* This, | |
32355 | BOOL fLock); | |
32356 | void __attribute__((__stdcall__)) IOleContainer_LockContainer_Stub( | |
32357 | IRpcStubBuffer* This, | |
32358 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32359 | PRPC_MESSAGE pRpcMessage, | |
32360 | DWORD* pdwStubPhase); | |
32361 | ||
32362 | ||
32363 | ||
32364 | ||
32365 | ||
32366 | typedef struct IOleItemContainer IOleItemContainer; | |
32367 | ||
32368 | ||
32369 | typedef IOleItemContainer *LPOLEITEMCONTAINER; | |
32370 | typedef enum tagBINDSPEED { | |
32371 | BINDSPEED_INDEFINITE = 1, | |
32372 | BINDSPEED_MODERATE = 2, | |
32373 | BINDSPEED_IMMEDIATE = 3 | |
32374 | } BINDSPEED; | |
32375 | typedef enum tagOLECONTF { | |
32376 | OLECONTF_EMBEDDINGS = 1, | |
32377 | OLECONTF_LINKS = 2, | |
32378 | OLECONTF_OTHERS = 4, | |
32379 | OLECONTF_OLNYUSER = 8, | |
32380 | OLECONTF_ONLYIFRUNNING = 16 | |
32381 | } OLECONTF; | |
32382 | # 1198 "../../../include/oleidl.h" | |
32383 | extern const GUID IID_IOleItemContainer __attribute__((visibility ("hidden"))); | |
32384 | # 1220 "../../../include/oleidl.h" | |
32385 | typedef struct IOleItemContainerVtbl { | |
32386 | ||
32387 | ||
32388 | ||
32389 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
32390 | IOleItemContainer* This, | |
32391 | const IID* const riid, | |
32392 | void** ppvObject); | |
32393 | ||
32394 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
32395 | IOleItemContainer* This); | |
32396 | ||
32397 | ULONG (__attribute__((__stdcall__)) *Release)( | |
32398 | IOleItemContainer* This); | |
32399 | ||
32400 | ||
32401 | HRESULT (__attribute__((__stdcall__)) *ParseDisplayName)( | |
32402 | IOleItemContainer* This, | |
32403 | IBindCtx* pbc, | |
32404 | LPOLESTR pszDisplayName, | |
32405 | ULONG* pchEaten, | |
32406 | IMoniker** ppmkOut); | |
32407 | ||
32408 | ||
32409 | HRESULT (__attribute__((__stdcall__)) *EnumObjects)( | |
32410 | IOleItemContainer* This, | |
32411 | DWORD grfFlags, | |
32412 | IEnumUnknown** ppenum); | |
32413 | ||
32414 | HRESULT (__attribute__((__stdcall__)) *LockContainer)( | |
32415 | IOleItemContainer* This, | |
32416 | BOOL fLock); | |
32417 | ||
32418 | ||
32419 | HRESULT (__attribute__((__stdcall__)) *GetObjectA)( | |
32420 | IOleItemContainer* This, | |
32421 | LPOLESTR pszItem, | |
32422 | DWORD dwSpeedNeeded, | |
32423 | IBindCtx* pbc, | |
32424 | const IID* const riid, | |
32425 | void** ppvObject); | |
32426 | ||
32427 | HRESULT (__attribute__((__stdcall__)) *GetObjectStorage)( | |
32428 | IOleItemContainer* This, | |
32429 | LPOLESTR pszItem, | |
32430 | IBindCtx* pbc, | |
32431 | const IID* const riid, | |
32432 | void** ppvStorage); | |
32433 | ||
32434 | HRESULT (__attribute__((__stdcall__)) *IsRunning)( | |
32435 | IOleItemContainer* This, | |
32436 | LPOLESTR pszItem); | |
32437 | ||
32438 | ||
32439 | } IOleItemContainerVtbl; | |
32440 | struct IOleItemContainer { | |
32441 | const IOleItemContainerVtbl* lpVtbl; | |
32442 | }; | |
32443 | # 1297 "../../../include/oleidl.h" | |
32444 | HRESULT __attribute__((__stdcall__)) IOleItemContainer_GetObject_Proxy( | |
32445 | IOleItemContainer* This, | |
32446 | LPOLESTR pszItem, | |
32447 | DWORD dwSpeedNeeded, | |
32448 | IBindCtx* pbc, | |
32449 | const IID* const riid, | |
32450 | void** ppvObject); | |
32451 | void __attribute__((__stdcall__)) IOleItemContainer_GetObject_Stub( | |
32452 | IRpcStubBuffer* This, | |
32453 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32454 | PRPC_MESSAGE pRpcMessage, | |
32455 | DWORD* pdwStubPhase); | |
32456 | HRESULT __attribute__((__stdcall__)) IOleItemContainer_GetObjectStorage_Proxy( | |
32457 | IOleItemContainer* This, | |
32458 | LPOLESTR pszItem, | |
32459 | IBindCtx* pbc, | |
32460 | const IID* const riid, | |
32461 | void** ppvStorage); | |
32462 | void __attribute__((__stdcall__)) IOleItemContainer_GetObjectStorage_Stub( | |
32463 | IRpcStubBuffer* This, | |
32464 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32465 | PRPC_MESSAGE pRpcMessage, | |
32466 | DWORD* pdwStubPhase); | |
32467 | HRESULT __attribute__((__stdcall__)) IOleItemContainer_IsRunning_Proxy( | |
32468 | IOleItemContainer* This, | |
32469 | LPOLESTR pszItem); | |
32470 | void __attribute__((__stdcall__)) IOleItemContainer_IsRunning_Stub( | |
32471 | IRpcStubBuffer* This, | |
32472 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32473 | PRPC_MESSAGE pRpcMessage, | |
32474 | DWORD* pdwStubPhase); | |
32475 | ||
32476 | ||
32477 | ||
32478 | ||
32479 | ||
32480 | typedef struct IOleLink IOleLink; | |
32481 | ||
32482 | ||
32483 | typedef IOleLink *LPOLELINK; | |
32484 | typedef enum tagOLEUPDATE { | |
32485 | OLEUPDATE_ALWAYS = 1, | |
32486 | OLEUPDATE_ONCALL = 3 | |
32487 | } OLEUPDATE; | |
32488 | typedef enum tagOLEUPDATE *POLEUPDATE; | |
32489 | typedef enum tagOLEUPDATE *LPOLEUPDATE; | |
32490 | typedef enum tagOLELINKBIND { | |
32491 | OLELINKBIND_EVENIFCLASSDIFF = 1 | |
32492 | } OLELINKBIND; | |
32493 | ||
32494 | ||
32495 | ||
32496 | ||
32497 | ||
32498 | ||
32499 | extern const GUID IID_IOleLink __attribute__((visibility ("hidden"))); | |
32500 | # 1393 "../../../include/oleidl.h" | |
32501 | typedef struct IOleLinkVtbl { | |
32502 | ||
32503 | ||
32504 | ||
32505 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
32506 | IOleLink* This, | |
32507 | const IID* const riid, | |
32508 | void** ppvObject); | |
32509 | ||
32510 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
32511 | IOleLink* This); | |
32512 | ||
32513 | ULONG (__attribute__((__stdcall__)) *Release)( | |
32514 | IOleLink* This); | |
32515 | ||
32516 | ||
32517 | HRESULT (__attribute__((__stdcall__)) *SetUpdateOptions)( | |
32518 | IOleLink* This, | |
32519 | DWORD dwUpdateOpt); | |
32520 | ||
32521 | HRESULT (__attribute__((__stdcall__)) *GetUpdateOptions)( | |
32522 | IOleLink* This, | |
32523 | DWORD* pdwUpdateOpt); | |
32524 | ||
32525 | HRESULT (__attribute__((__stdcall__)) *SetSourceMoniker)( | |
32526 | IOleLink* This, | |
32527 | IMoniker* pmk, | |
32528 | const CLSID* const rclsid); | |
32529 | ||
32530 | HRESULT (__attribute__((__stdcall__)) *GetSourceMoniker)( | |
32531 | IOleLink* This, | |
32532 | IMoniker** ppmk); | |
32533 | ||
32534 | HRESULT (__attribute__((__stdcall__)) *SetSourceDisplayName)( | |
32535 | IOleLink* This, | |
32536 | LPCOLESTR pszStatusText); | |
32537 | ||
32538 | HRESULT (__attribute__((__stdcall__)) *GetSourceDisplayName)( | |
32539 | IOleLink* This, | |
32540 | LPOLESTR* ppszDisplayName); | |
32541 | ||
32542 | HRESULT (__attribute__((__stdcall__)) *BindToSource)( | |
32543 | IOleLink* This, | |
32544 | DWORD bindflags, | |
32545 | IBindCtx* pbc); | |
32546 | ||
32547 | HRESULT (__attribute__((__stdcall__)) *BindIfRunning)( | |
32548 | IOleLink* This); | |
32549 | ||
32550 | HRESULT (__attribute__((__stdcall__)) *GetBoundSource)( | |
32551 | IOleLink* This, | |
32552 | IUnknown** ppunk); | |
32553 | ||
32554 | HRESULT (__attribute__((__stdcall__)) *UnbindSource)( | |
32555 | IOleLink* This); | |
32556 | ||
32557 | HRESULT (__attribute__((__stdcall__)) *Update)( | |
32558 | IOleLink* This, | |
32559 | IBindCtx* pbc); | |
32560 | ||
32561 | ||
32562 | } IOleLinkVtbl; | |
32563 | struct IOleLink { | |
32564 | const IOleLinkVtbl* lpVtbl; | |
32565 | }; | |
32566 | # 1480 "../../../include/oleidl.h" | |
32567 | HRESULT __attribute__((__stdcall__)) IOleLink_SetUpdateOptions_Proxy( | |
32568 | IOleLink* This, | |
32569 | DWORD dwUpdateOpt); | |
32570 | void __attribute__((__stdcall__)) IOleLink_SetUpdateOptions_Stub( | |
32571 | IRpcStubBuffer* This, | |
32572 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32573 | PRPC_MESSAGE pRpcMessage, | |
32574 | DWORD* pdwStubPhase); | |
32575 | HRESULT __attribute__((__stdcall__)) IOleLink_GetUpdateOptions_Proxy( | |
32576 | IOleLink* This, | |
32577 | DWORD* pdwUpdateOpt); | |
32578 | void __attribute__((__stdcall__)) IOleLink_GetUpdateOptions_Stub( | |
32579 | IRpcStubBuffer* This, | |
32580 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32581 | PRPC_MESSAGE pRpcMessage, | |
32582 | DWORD* pdwStubPhase); | |
32583 | HRESULT __attribute__((__stdcall__)) IOleLink_SetSourceMoniker_Proxy( | |
32584 | IOleLink* This, | |
32585 | IMoniker* pmk, | |
32586 | const CLSID* const rclsid); | |
32587 | void __attribute__((__stdcall__)) IOleLink_SetSourceMoniker_Stub( | |
32588 | IRpcStubBuffer* This, | |
32589 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32590 | PRPC_MESSAGE pRpcMessage, | |
32591 | DWORD* pdwStubPhase); | |
32592 | HRESULT __attribute__((__stdcall__)) IOleLink_GetSourceMoniker_Proxy( | |
32593 | IOleLink* This, | |
32594 | IMoniker** ppmk); | |
32595 | void __attribute__((__stdcall__)) IOleLink_GetSourceMoniker_Stub( | |
32596 | IRpcStubBuffer* This, | |
32597 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32598 | PRPC_MESSAGE pRpcMessage, | |
32599 | DWORD* pdwStubPhase); | |
32600 | HRESULT __attribute__((__stdcall__)) IOleLink_SetSourceDisplayName_Proxy( | |
32601 | IOleLink* This, | |
32602 | LPCOLESTR pszStatusText); | |
32603 | void __attribute__((__stdcall__)) IOleLink_SetSourceDisplayName_Stub( | |
32604 | IRpcStubBuffer* This, | |
32605 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32606 | PRPC_MESSAGE pRpcMessage, | |
32607 | DWORD* pdwStubPhase); | |
32608 | HRESULT __attribute__((__stdcall__)) IOleLink_GetSourceDisplayName_Proxy( | |
32609 | IOleLink* This, | |
32610 | LPOLESTR* ppszDisplayName); | |
32611 | void __attribute__((__stdcall__)) IOleLink_GetSourceDisplayName_Stub( | |
32612 | IRpcStubBuffer* This, | |
32613 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32614 | PRPC_MESSAGE pRpcMessage, | |
32615 | DWORD* pdwStubPhase); | |
32616 | HRESULT __attribute__((__stdcall__)) IOleLink_BindToSource_Proxy( | |
32617 | IOleLink* This, | |
32618 | DWORD bindflags, | |
32619 | IBindCtx* pbc); | |
32620 | void __attribute__((__stdcall__)) IOleLink_BindToSource_Stub( | |
32621 | IRpcStubBuffer* This, | |
32622 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32623 | PRPC_MESSAGE pRpcMessage, | |
32624 | DWORD* pdwStubPhase); | |
32625 | HRESULT __attribute__((__stdcall__)) IOleLink_BindIfRunning_Proxy( | |
32626 | IOleLink* This); | |
32627 | void __attribute__((__stdcall__)) IOleLink_BindIfRunning_Stub( | |
32628 | IRpcStubBuffer* This, | |
32629 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32630 | PRPC_MESSAGE pRpcMessage, | |
32631 | DWORD* pdwStubPhase); | |
32632 | HRESULT __attribute__((__stdcall__)) IOleLink_GetBoundSource_Proxy( | |
32633 | IOleLink* This, | |
32634 | IUnknown** ppunk); | |
32635 | void __attribute__((__stdcall__)) IOleLink_GetBoundSource_Stub( | |
32636 | IRpcStubBuffer* This, | |
32637 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32638 | PRPC_MESSAGE pRpcMessage, | |
32639 | DWORD* pdwStubPhase); | |
32640 | HRESULT __attribute__((__stdcall__)) IOleLink_UnbindSource_Proxy( | |
32641 | IOleLink* This); | |
32642 | void __attribute__((__stdcall__)) IOleLink_UnbindSource_Stub( | |
32643 | IRpcStubBuffer* This, | |
32644 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32645 | PRPC_MESSAGE pRpcMessage, | |
32646 | DWORD* pdwStubPhase); | |
32647 | HRESULT __attribute__((__stdcall__)) IOleLink_Update_Proxy( | |
32648 | IOleLink* This, | |
32649 | IBindCtx* pbc); | |
32650 | void __attribute__((__stdcall__)) IOleLink_Update_Stub( | |
32651 | IRpcStubBuffer* This, | |
32652 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32653 | PRPC_MESSAGE pRpcMessage, | |
32654 | DWORD* pdwStubPhase); | |
32655 | ||
32656 | ||
32657 | ||
32658 | ||
32659 | ||
32660 | typedef struct IOleClientSite IOleClientSite; | |
32661 | ||
32662 | ||
32663 | typedef IOleClientSite *LPOLECLIENTSITE; | |
32664 | ||
32665 | ||
32666 | ||
32667 | ||
32668 | ||
32669 | ||
32670 | extern const GUID IID_IOleClientSite __attribute__((visibility ("hidden"))); | |
32671 | # 1609 "../../../include/oleidl.h" | |
32672 | typedef struct IOleClientSiteVtbl { | |
32673 | ||
32674 | ||
32675 | ||
32676 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
32677 | IOleClientSite* This, | |
32678 | const IID* const riid, | |
32679 | void** ppvObject); | |
32680 | ||
32681 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
32682 | IOleClientSite* This); | |
32683 | ||
32684 | ULONG (__attribute__((__stdcall__)) *Release)( | |
32685 | IOleClientSite* This); | |
32686 | ||
32687 | ||
32688 | HRESULT (__attribute__((__stdcall__)) *SaveObject)( | |
32689 | IOleClientSite* This); | |
32690 | ||
32691 | HRESULT (__attribute__((__stdcall__)) *GetMoniker)( | |
32692 | IOleClientSite* This, | |
32693 | DWORD dwAssign, | |
32694 | DWORD dwWhichMoniker, | |
32695 | IMoniker** ppmk); | |
32696 | ||
32697 | HRESULT (__attribute__((__stdcall__)) *GetContainer)( | |
32698 | IOleClientSite* This, | |
32699 | IOleContainer** ppContainer); | |
32700 | ||
32701 | HRESULT (__attribute__((__stdcall__)) *ShowObject)( | |
32702 | IOleClientSite* This); | |
32703 | ||
32704 | HRESULT (__attribute__((__stdcall__)) *OnShowWindow)( | |
32705 | IOleClientSite* This, | |
32706 | BOOL fShow); | |
32707 | ||
32708 | HRESULT (__attribute__((__stdcall__)) *RequestNewObjectLayout)( | |
32709 | IOleClientSite* This); | |
32710 | ||
32711 | ||
32712 | } IOleClientSiteVtbl; | |
32713 | struct IOleClientSite { | |
32714 | const IOleClientSiteVtbl* lpVtbl; | |
32715 | }; | |
32716 | # 1670 "../../../include/oleidl.h" | |
32717 | HRESULT __attribute__((__stdcall__)) IOleClientSite_SaveObject_Proxy( | |
32718 | IOleClientSite* This); | |
32719 | void __attribute__((__stdcall__)) IOleClientSite_SaveObject_Stub( | |
32720 | IRpcStubBuffer* This, | |
32721 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32722 | PRPC_MESSAGE pRpcMessage, | |
32723 | DWORD* pdwStubPhase); | |
32724 | HRESULT __attribute__((__stdcall__)) IOleClientSite_GetMoniker_Proxy( | |
32725 | IOleClientSite* This, | |
32726 | DWORD dwAssign, | |
32727 | DWORD dwWhichMoniker, | |
32728 | IMoniker** ppmk); | |
32729 | void __attribute__((__stdcall__)) IOleClientSite_GetMoniker_Stub( | |
32730 | IRpcStubBuffer* This, | |
32731 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32732 | PRPC_MESSAGE pRpcMessage, | |
32733 | DWORD* pdwStubPhase); | |
32734 | HRESULT __attribute__((__stdcall__)) IOleClientSite_GetContainer_Proxy( | |
32735 | IOleClientSite* This, | |
32736 | IOleContainer** ppContainer); | |
32737 | void __attribute__((__stdcall__)) IOleClientSite_GetContainer_Stub( | |
32738 | IRpcStubBuffer* This, | |
32739 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32740 | PRPC_MESSAGE pRpcMessage, | |
32741 | DWORD* pdwStubPhase); | |
32742 | HRESULT __attribute__((__stdcall__)) IOleClientSite_ShowObject_Proxy( | |
32743 | IOleClientSite* This); | |
32744 | void __attribute__((__stdcall__)) IOleClientSite_ShowObject_Stub( | |
32745 | IRpcStubBuffer* This, | |
32746 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32747 | PRPC_MESSAGE pRpcMessage, | |
32748 | DWORD* pdwStubPhase); | |
32749 | HRESULT __attribute__((__stdcall__)) IOleClientSite_OnShowWindow_Proxy( | |
32750 | IOleClientSite* This, | |
32751 | BOOL fShow); | |
32752 | void __attribute__((__stdcall__)) IOleClientSite_OnShowWindow_Stub( | |
32753 | IRpcStubBuffer* This, | |
32754 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32755 | PRPC_MESSAGE pRpcMessage, | |
32756 | DWORD* pdwStubPhase); | |
32757 | HRESULT __attribute__((__stdcall__)) IOleClientSite_RequestNewObjectLayout_Proxy( | |
32758 | IOleClientSite* This); | |
32759 | void __attribute__((__stdcall__)) IOleClientSite_RequestNewObjectLayout_Stub( | |
32760 | IRpcStubBuffer* This, | |
32761 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32762 | PRPC_MESSAGE pRpcMessage, | |
32763 | DWORD* pdwStubPhase); | |
32764 | ||
32765 | ||
32766 | ||
32767 | ||
32768 | ||
32769 | typedef struct IOleCache IOleCache; | |
32770 | ||
32771 | ||
32772 | typedef IOleCache *LPOLECACHE; | |
32773 | ||
32774 | ||
32775 | ||
32776 | ||
32777 | ||
32778 | ||
32779 | extern const GUID IID_IOleCache __attribute__((visibility ("hidden"))); | |
32780 | # 1757 "../../../include/oleidl.h" | |
32781 | typedef struct IOleCacheVtbl { | |
32782 | ||
32783 | ||
32784 | ||
32785 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
32786 | IOleCache* This, | |
32787 | const IID* const riid, | |
32788 | void** ppvObject); | |
32789 | ||
32790 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
32791 | IOleCache* This); | |
32792 | ||
32793 | ULONG (__attribute__((__stdcall__)) *Release)( | |
32794 | IOleCache* This); | |
32795 | ||
32796 | ||
32797 | HRESULT (__attribute__((__stdcall__)) *Cache)( | |
32798 | IOleCache* This, | |
32799 | FORMATETC* pformatetc, | |
32800 | DWORD advf, | |
32801 | DWORD* pdwConnection); | |
32802 | ||
32803 | HRESULT (__attribute__((__stdcall__)) *Uncache)( | |
32804 | IOleCache* This, | |
32805 | DWORD dwConnection); | |
32806 | ||
32807 | HRESULT (__attribute__((__stdcall__)) *EnumCache)( | |
32808 | IOleCache* This, | |
32809 | IEnumSTATDATA** ppenumSTATDATA); | |
32810 | ||
32811 | HRESULT (__attribute__((__stdcall__)) *InitCache)( | |
32812 | IOleCache* This, | |
32813 | IDataObject* pDataObject); | |
32814 | ||
32815 | HRESULT (__attribute__((__stdcall__)) *SetData)( | |
32816 | IOleCache* This, | |
32817 | FORMATETC* pformatetc, | |
32818 | STGMEDIUM* pmedium, | |
32819 | BOOL fRelease); | |
32820 | ||
32821 | ||
32822 | } IOleCacheVtbl; | |
32823 | struct IOleCache { | |
32824 | const IOleCacheVtbl* lpVtbl; | |
32825 | }; | |
32826 | # 1818 "../../../include/oleidl.h" | |
32827 | HRESULT __attribute__((__stdcall__)) IOleCache_Cache_Proxy( | |
32828 | IOleCache* This, | |
32829 | FORMATETC* pformatetc, | |
32830 | DWORD advf, | |
32831 | DWORD* pdwConnection); | |
32832 | void __attribute__((__stdcall__)) IOleCache_Cache_Stub( | |
32833 | IRpcStubBuffer* This, | |
32834 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32835 | PRPC_MESSAGE pRpcMessage, | |
32836 | DWORD* pdwStubPhase); | |
32837 | HRESULT __attribute__((__stdcall__)) IOleCache_Uncache_Proxy( | |
32838 | IOleCache* This, | |
32839 | DWORD dwConnection); | |
32840 | void __attribute__((__stdcall__)) IOleCache_Uncache_Stub( | |
32841 | IRpcStubBuffer* This, | |
32842 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32843 | PRPC_MESSAGE pRpcMessage, | |
32844 | DWORD* pdwStubPhase); | |
32845 | HRESULT __attribute__((__stdcall__)) IOleCache_EnumCache_Proxy( | |
32846 | IOleCache* This, | |
32847 | IEnumSTATDATA** ppenumSTATDATA); | |
32848 | void __attribute__((__stdcall__)) IOleCache_EnumCache_Stub( | |
32849 | IRpcStubBuffer* This, | |
32850 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32851 | PRPC_MESSAGE pRpcMessage, | |
32852 | DWORD* pdwStubPhase); | |
32853 | HRESULT __attribute__((__stdcall__)) IOleCache_InitCache_Proxy( | |
32854 | IOleCache* This, | |
32855 | IDataObject* pDataObject); | |
32856 | void __attribute__((__stdcall__)) IOleCache_InitCache_Stub( | |
32857 | IRpcStubBuffer* This, | |
32858 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32859 | PRPC_MESSAGE pRpcMessage, | |
32860 | DWORD* pdwStubPhase); | |
32861 | HRESULT __attribute__((__stdcall__)) IOleCache_SetData_Proxy( | |
32862 | IOleCache* This, | |
32863 | FORMATETC* pformatetc, | |
32864 | STGMEDIUM* pmedium, | |
32865 | BOOL fRelease); | |
32866 | void __attribute__((__stdcall__)) IOleCache_SetData_Stub( | |
32867 | IRpcStubBuffer* This, | |
32868 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32869 | PRPC_MESSAGE pRpcMessage, | |
32870 | DWORD* pdwStubPhase); | |
32871 | ||
32872 | ||
32873 | ||
32874 | ||
32875 | ||
32876 | typedef struct IOleCache2 IOleCache2; | |
32877 | ||
32878 | ||
32879 | typedef IOleCache2 *LPOLECACHE2; | |
32880 | # 1889 "../../../include/oleidl.h" | |
32881 | typedef enum tagDISCARDCACHE { | |
32882 | DISCARDCACHE_SAVEIFDIRTY = 0, | |
32883 | DISCARDCACHE_NOSAVE = 1 | |
32884 | } DISCARDCACHE; | |
32885 | ||
32886 | ||
32887 | ||
32888 | ||
32889 | ||
32890 | ||
32891 | extern const GUID IID_IOleCache2 __attribute__((visibility ("hidden"))); | |
32892 | # 1913 "../../../include/oleidl.h" | |
32893 | typedef struct IOleCache2Vtbl { | |
32894 | ||
32895 | ||
32896 | ||
32897 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
32898 | IOleCache2* This, | |
32899 | const IID* const riid, | |
32900 | void** ppvObject); | |
32901 | ||
32902 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
32903 | IOleCache2* This); | |
32904 | ||
32905 | ULONG (__attribute__((__stdcall__)) *Release)( | |
32906 | IOleCache2* This); | |
32907 | ||
32908 | ||
32909 | HRESULT (__attribute__((__stdcall__)) *Cache)( | |
32910 | IOleCache2* This, | |
32911 | FORMATETC* pformatetc, | |
32912 | DWORD advf, | |
32913 | DWORD* pdwConnection); | |
32914 | ||
32915 | HRESULT (__attribute__((__stdcall__)) *Uncache)( | |
32916 | IOleCache2* This, | |
32917 | DWORD dwConnection); | |
32918 | ||
32919 | HRESULT (__attribute__((__stdcall__)) *EnumCache)( | |
32920 | IOleCache2* This, | |
32921 | IEnumSTATDATA** ppenumSTATDATA); | |
32922 | ||
32923 | HRESULT (__attribute__((__stdcall__)) *InitCache)( | |
32924 | IOleCache2* This, | |
32925 | IDataObject* pDataObject); | |
32926 | ||
32927 | HRESULT (__attribute__((__stdcall__)) *SetData)( | |
32928 | IOleCache2* This, | |
32929 | FORMATETC* pformatetc, | |
32930 | STGMEDIUM* pmedium, | |
32931 | BOOL fRelease); | |
32932 | ||
32933 | ||
32934 | HRESULT (__attribute__((__stdcall__)) *UpdateCache)( | |
32935 | IOleCache2* This, | |
32936 | LPDATAOBJECT pDataObject, | |
32937 | DWORD grfUpdf, | |
32938 | LPVOID pReserved); | |
32939 | ||
32940 | HRESULT (__attribute__((__stdcall__)) *DiscardCache)( | |
32941 | IOleCache2* This, | |
32942 | DWORD dwDiscardOptions); | |
32943 | ||
32944 | ||
32945 | } IOleCache2Vtbl; | |
32946 | struct IOleCache2 { | |
32947 | const IOleCache2Vtbl* lpVtbl; | |
32948 | }; | |
32949 | # 1988 "../../../include/oleidl.h" | |
32950 | HRESULT __attribute__((__stdcall__)) IOleCache2_RemoteUpdateCache_Proxy( | |
32951 | IOleCache2* This, | |
32952 | LPDATAOBJECT pDataObject, | |
32953 | DWORD grfUpdf, | |
32954 | LONG_PTR pReserved); | |
32955 | void __attribute__((__stdcall__)) IOleCache2_RemoteUpdateCache_Stub( | |
32956 | IRpcStubBuffer* This, | |
32957 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32958 | PRPC_MESSAGE pRpcMessage, | |
32959 | DWORD* pdwStubPhase); | |
32960 | HRESULT __attribute__((__stdcall__)) IOleCache2_UpdateCache_Proxy( | |
32961 | IOleCache2* This, | |
32962 | LPDATAOBJECT pDataObject, | |
32963 | DWORD grfUpdf, | |
32964 | LPVOID pReserved); | |
32965 | HRESULT __attribute__((__stdcall__)) IOleCache2_UpdateCache_Stub( | |
32966 | IOleCache2* This, | |
32967 | LPDATAOBJECT pDataObject, | |
32968 | DWORD grfUpdf, | |
32969 | LONG_PTR pReserved); | |
32970 | HRESULT __attribute__((__stdcall__)) IOleCache2_DiscardCache_Proxy( | |
32971 | IOleCache2* This, | |
32972 | DWORD dwDiscardOptions); | |
32973 | void __attribute__((__stdcall__)) IOleCache2_DiscardCache_Stub( | |
32974 | IRpcStubBuffer* This, | |
32975 | IRpcChannelBuffer* pRpcChannelBuffer, | |
32976 | PRPC_MESSAGE pRpcMessage, | |
32977 | DWORD* pdwStubPhase); | |
32978 | ||
32979 | ||
32980 | ||
32981 | ||
32982 | ||
32983 | typedef struct IOleCacheControl IOleCacheControl; | |
32984 | ||
32985 | ||
32986 | typedef IOleCacheControl *LPOLECACHECONTROL; | |
32987 | ||
32988 | ||
32989 | ||
32990 | ||
32991 | ||
32992 | ||
32993 | extern const GUID IID_IOleCacheControl __attribute__((visibility ("hidden"))); | |
32994 | # 2043 "../../../include/oleidl.h" | |
32995 | typedef struct IOleCacheControlVtbl { | |
32996 | ||
32997 | ||
32998 | ||
32999 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
33000 | IOleCacheControl* This, | |
33001 | const IID* const riid, | |
33002 | void** ppvObject); | |
33003 | ||
33004 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
33005 | IOleCacheControl* This); | |
33006 | ||
33007 | ULONG (__attribute__((__stdcall__)) *Release)( | |
33008 | IOleCacheControl* This); | |
33009 | ||
33010 | ||
33011 | HRESULT (__attribute__((__stdcall__)) *OnRun)( | |
33012 | IOleCacheControl* This, | |
33013 | LPDATAOBJECT pDataObject); | |
33014 | ||
33015 | HRESULT (__attribute__((__stdcall__)) *OnStop)( | |
33016 | IOleCacheControl* This); | |
33017 | ||
33018 | ||
33019 | } IOleCacheControlVtbl; | |
33020 | struct IOleCacheControl { | |
33021 | const IOleCacheControlVtbl* lpVtbl; | |
33022 | }; | |
33023 | # 2084 "../../../include/oleidl.h" | |
33024 | HRESULT __attribute__((__stdcall__)) IOleCacheControl_OnRun_Proxy( | |
33025 | IOleCacheControl* This, | |
33026 | LPDATAOBJECT pDataObject); | |
33027 | void __attribute__((__stdcall__)) IOleCacheControl_OnRun_Stub( | |
33028 | IRpcStubBuffer* This, | |
33029 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33030 | PRPC_MESSAGE pRpcMessage, | |
33031 | DWORD* pdwStubPhase); | |
33032 | HRESULT __attribute__((__stdcall__)) IOleCacheControl_OnStop_Proxy( | |
33033 | IOleCacheControl* This); | |
33034 | void __attribute__((__stdcall__)) IOleCacheControl_OnStop_Stub( | |
33035 | IRpcStubBuffer* This, | |
33036 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33037 | PRPC_MESSAGE pRpcMessage, | |
33038 | DWORD* pdwStubPhase); | |
33039 | ||
33040 | ||
33041 | ||
33042 | ||
33043 | ||
33044 | typedef struct IEnumOLEVERB IEnumOLEVERB; | |
33045 | ||
33046 | ||
33047 | typedef IEnumOLEVERB *LPENUMOLEVERB; | |
33048 | typedef struct tagOLEVERB { | |
33049 | LONG lVerb; | |
33050 | LPOLESTR lpszVerbName; | |
33051 | DWORD fuFlags; | |
33052 | DWORD grfAttribs; | |
33053 | } OLEVERB; | |
33054 | typedef struct tagOLEVERB *LPOLEVERB; | |
33055 | typedef enum tagOLEVERBATTRIB { | |
33056 | OLEVERBATTRIB_NEVERDIRTIES = 1, | |
33057 | OLEVERBATTRIB_ONCONTAINERMENU = 2 | |
33058 | } OLEVERBATTRIB; | |
33059 | ||
33060 | ||
33061 | ||
33062 | ||
33063 | ||
33064 | ||
33065 | extern const GUID IID_IEnumOLEVERB __attribute__((visibility ("hidden"))); | |
33066 | # 2145 "../../../include/oleidl.h" | |
33067 | typedef struct IEnumOLEVERBVtbl { | |
33068 | ||
33069 | ||
33070 | ||
33071 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
33072 | IEnumOLEVERB* This, | |
33073 | const IID* const riid, | |
33074 | void** ppvObject); | |
33075 | ||
33076 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
33077 | IEnumOLEVERB* This); | |
33078 | ||
33079 | ULONG (__attribute__((__stdcall__)) *Release)( | |
33080 | IEnumOLEVERB* This); | |
33081 | ||
33082 | ||
33083 | HRESULT (__attribute__((__stdcall__)) *Next)( | |
33084 | IEnumOLEVERB* This, | |
33085 | ULONG celt, | |
33086 | LPOLEVERB rgelt, | |
33087 | ULONG* pceltFetched); | |
33088 | ||
33089 | HRESULT (__attribute__((__stdcall__)) *Skip)( | |
33090 | IEnumOLEVERB* This, | |
33091 | ULONG celt); | |
33092 | ||
33093 | HRESULT (__attribute__((__stdcall__)) *Reset)( | |
33094 | IEnumOLEVERB* This); | |
33095 | ||
33096 | HRESULT (__attribute__((__stdcall__)) *Clone)( | |
33097 | IEnumOLEVERB* This, | |
33098 | IEnumOLEVERB** ppenum); | |
33099 | ||
33100 | ||
33101 | } IEnumOLEVERBVtbl; | |
33102 | struct IEnumOLEVERB { | |
33103 | const IEnumOLEVERBVtbl* lpVtbl; | |
33104 | }; | |
33105 | # 2198 "../../../include/oleidl.h" | |
33106 | HRESULT __attribute__((__stdcall__)) IEnumOLEVERB_RemoteNext_Proxy( | |
33107 | IEnumOLEVERB* This, | |
33108 | ULONG celt, | |
33109 | LPOLEVERB rgelt, | |
33110 | ULONG* pceltFetched); | |
33111 | void __attribute__((__stdcall__)) IEnumOLEVERB_RemoteNext_Stub( | |
33112 | IRpcStubBuffer* This, | |
33113 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33114 | PRPC_MESSAGE pRpcMessage, | |
33115 | DWORD* pdwStubPhase); | |
33116 | HRESULT __attribute__((__stdcall__)) IEnumOLEVERB_Next_Proxy( | |
33117 | IEnumOLEVERB* This, | |
33118 | ULONG celt, | |
33119 | LPOLEVERB rgelt, | |
33120 | ULONG* pceltFetched); | |
33121 | HRESULT __attribute__((__stdcall__)) IEnumOLEVERB_Next_Stub( | |
33122 | IEnumOLEVERB* This, | |
33123 | ULONG celt, | |
33124 | LPOLEVERB rgelt, | |
33125 | ULONG* pceltFetched); | |
33126 | HRESULT __attribute__((__stdcall__)) IEnumOLEVERB_Skip_Proxy( | |
33127 | IEnumOLEVERB* This, | |
33128 | ULONG celt); | |
33129 | void __attribute__((__stdcall__)) IEnumOLEVERB_Skip_Stub( | |
33130 | IRpcStubBuffer* This, | |
33131 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33132 | PRPC_MESSAGE pRpcMessage, | |
33133 | DWORD* pdwStubPhase); | |
33134 | HRESULT __attribute__((__stdcall__)) IEnumOLEVERB_Reset_Proxy( | |
33135 | IEnumOLEVERB* This); | |
33136 | void __attribute__((__stdcall__)) IEnumOLEVERB_Reset_Stub( | |
33137 | IRpcStubBuffer* This, | |
33138 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33139 | PRPC_MESSAGE pRpcMessage, | |
33140 | DWORD* pdwStubPhase); | |
33141 | HRESULT __attribute__((__stdcall__)) IEnumOLEVERB_Clone_Proxy( | |
33142 | IEnumOLEVERB* This, | |
33143 | IEnumOLEVERB** ppenum); | |
33144 | void __attribute__((__stdcall__)) IEnumOLEVERB_Clone_Stub( | |
33145 | IRpcStubBuffer* This, | |
33146 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33147 | PRPC_MESSAGE pRpcMessage, | |
33148 | DWORD* pdwStubPhase); | |
33149 | ||
33150 | ||
33151 | ||
33152 | ||
33153 | ||
33154 | typedef struct IOleObject IOleObject; | |
33155 | ||
33156 | ||
33157 | typedef IOleObject *LPOLEOBJECT; | |
33158 | typedef enum tagOLEGETMONIKER { | |
33159 | OLEGETMONIKER_ONLYIFTHERE = 1, | |
33160 | OLEGETMONIKER_FORCEASSIGN = 2, | |
33161 | OLEGETMONIKER_UNASSIGN = 3, | |
33162 | OLEGETMONIKER_TEMPFORUSER = 4 | |
33163 | } OLEGETMONIKER; | |
33164 | typedef enum tagOLEWHICHMK { | |
33165 | OLEWHICHMK_CONTAINER = 1, | |
33166 | OLEWHICHMK_OBJREL = 2, | |
33167 | OLEWHICHMK_OBJFULL = 3 | |
33168 | } OLEWHICHMK; | |
33169 | typedef enum tagUSERCLASSTYPE { | |
33170 | USERCLASSTYPE_FULL = 1, | |
33171 | USERCLASSTYPE_SHORT = 2, | |
33172 | USERCLASSTYPE_APPNAME = 3 | |
33173 | } USERCLASSTYPE; | |
33174 | typedef enum tagOLEMISC { | |
33175 | OLEMISC_RECOMPOSEONRESIZE = 0x1, | |
33176 | OLEMISC_ONLYICONIC = 0x2, | |
33177 | OLEMISC_INSERTNOTREPLACE = 0x4, | |
33178 | OLEMISC_STATIC = 0x8, | |
33179 | OLEMISC_CANTLINKINSIDE = 0x10, | |
33180 | OLEMISC_CANLINKBYOLE1 = 0x20, | |
33181 | OLEMISC_ISLINKOBJECT = 0x40, | |
33182 | OLEMISC_INSIDEOUT = 0x80, | |
33183 | OLEMISC_ACTIVATEWHENVISIBLE = 0x100, | |
33184 | OLEMISC_RENDERINGISDEVICEINDEPENDENT = 0x200, | |
33185 | OLEMISC_INVISIBLEATRUNTIME = 0x400, | |
33186 | OLEMISC_ALWAYSRUN = 0x800, | |
33187 | OLEMISC_ACTSLIKEBUTTON = 0x1000, | |
33188 | OLEMISC_ACTSLIKELABEL = 0x2000, | |
33189 | OLEMISC_NOUIACTIVATE = 0x4000, | |
33190 | OLEMISC_ALIGNABLE = 0x8000, | |
33191 | OLEMISC_SIMPLEFRAME = 0x10000, | |
33192 | OLEMISC_SETCLIENTSITEFIRST = 0x20000, | |
33193 | OLEMISC_IMEMODE = 0x40000, | |
33194 | OLEMISC_IGNOREACTIVATEWHENVISIBLE = 0x80000, | |
33195 | OLEMISC_WANTSTOMENUMERGE = 0x100000, | |
33196 | OLEMISC_SUPPORTSMULTILEVELUNDO = 0x200000 | |
33197 | } OLEMISC; | |
33198 | typedef enum tagOLECLOSE { | |
33199 | OLECLOSE_SAVEIFDIRTY = 0, | |
33200 | OLECLOSE_NOSAVE = 1, | |
33201 | OLECLOSE_PROMPTSAVE = 2 | |
33202 | } OLECLOSE; | |
33203 | ||
33204 | ||
33205 | ||
33206 | ||
33207 | ||
33208 | ||
33209 | extern const GUID IID_IOleObject __attribute__((visibility ("hidden"))); | |
33210 | # 2387 "../../../include/oleidl.h" | |
33211 | typedef struct IOleObjectVtbl { | |
33212 | ||
33213 | ||
33214 | ||
33215 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
33216 | IOleObject* This, | |
33217 | const IID* const riid, | |
33218 | void** ppvObject); | |
33219 | ||
33220 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
33221 | IOleObject* This); | |
33222 | ||
33223 | ULONG (__attribute__((__stdcall__)) *Release)( | |
33224 | IOleObject* This); | |
33225 | ||
33226 | ||
33227 | HRESULT (__attribute__((__stdcall__)) *SetClientSite)( | |
33228 | IOleObject* This, | |
33229 | IOleClientSite* pClientSite); | |
33230 | ||
33231 | HRESULT (__attribute__((__stdcall__)) *GetClientSite)( | |
33232 | IOleObject* This, | |
33233 | IOleClientSite** ppClientSite); | |
33234 | ||
33235 | HRESULT (__attribute__((__stdcall__)) *SetHostNames)( | |
33236 | IOleObject* This, | |
33237 | LPCOLESTR szContainerApp, | |
33238 | LPCOLESTR szContainerObj); | |
33239 | ||
33240 | HRESULT (__attribute__((__stdcall__)) *Close)( | |
33241 | IOleObject* This, | |
33242 | DWORD dwSaveOption); | |
33243 | ||
33244 | HRESULT (__attribute__((__stdcall__)) *SetMoniker)( | |
33245 | IOleObject* This, | |
33246 | DWORD dwWhichMoniker, | |
33247 | IMoniker* pmk); | |
33248 | ||
33249 | HRESULT (__attribute__((__stdcall__)) *GetMoniker)( | |
33250 | IOleObject* This, | |
33251 | DWORD dwAssign, | |
33252 | DWORD dwWhichMoniker, | |
33253 | IMoniker** ppmk); | |
33254 | ||
33255 | HRESULT (__attribute__((__stdcall__)) *InitFromData)( | |
33256 | IOleObject* This, | |
33257 | IDataObject* pDataObject, | |
33258 | BOOL fCreation, | |
33259 | DWORD dwReserved); | |
33260 | ||
33261 | HRESULT (__attribute__((__stdcall__)) *GetClipboardData)( | |
33262 | IOleObject* This, | |
33263 | DWORD dwReserved, | |
33264 | IDataObject** ppDataObject); | |
33265 | ||
33266 | HRESULT (__attribute__((__stdcall__)) *DoVerb)( | |
33267 | IOleObject* This, | |
33268 | LONG iVerb, | |
33269 | LPMSG lpmsg, | |
33270 | IOleClientSite* pActiveSite, | |
33271 | LONG lindex, | |
33272 | HWND hwndParent, | |
33273 | LPCRECT lprcPosRect); | |
33274 | ||
33275 | HRESULT (__attribute__((__stdcall__)) *EnumVerbs)( | |
33276 | IOleObject* This, | |
33277 | IEnumOLEVERB** ppEnumOleVerb); | |
33278 | ||
33279 | HRESULT (__attribute__((__stdcall__)) *Update)( | |
33280 | IOleObject* This); | |
33281 | ||
33282 | HRESULT (__attribute__((__stdcall__)) *IsUpToDate)( | |
33283 | IOleObject* This); | |
33284 | ||
33285 | HRESULT (__attribute__((__stdcall__)) *GetUserClassID)( | |
33286 | IOleObject* This, | |
33287 | CLSID* pClsid); | |
33288 | ||
33289 | HRESULT (__attribute__((__stdcall__)) *GetUserType)( | |
33290 | IOleObject* This, | |
33291 | DWORD dwFormOfType, | |
33292 | LPOLESTR* pszUserType); | |
33293 | ||
33294 | HRESULT (__attribute__((__stdcall__)) *SetExtent)( | |
33295 | IOleObject* This, | |
33296 | DWORD dwDrawAspect, | |
33297 | SIZEL* psizel); | |
33298 | ||
33299 | HRESULT (__attribute__((__stdcall__)) *GetExtent)( | |
33300 | IOleObject* This, | |
33301 | DWORD dwDrawAspect, | |
33302 | SIZEL* psizel); | |
33303 | ||
33304 | HRESULT (__attribute__((__stdcall__)) *Advise)( | |
33305 | IOleObject* This, | |
33306 | IAdviseSink* pAdvSink, | |
33307 | DWORD* pdwConnection); | |
33308 | ||
33309 | HRESULT (__attribute__((__stdcall__)) *Unadvise)( | |
33310 | IOleObject* This, | |
33311 | DWORD dwConnection); | |
33312 | ||
33313 | HRESULT (__attribute__((__stdcall__)) *EnumAdvise)( | |
33314 | IOleObject* This, | |
33315 | IEnumSTATDATA** ppenumAdvise); | |
33316 | ||
33317 | HRESULT (__attribute__((__stdcall__)) *GetMiscStatus)( | |
33318 | IOleObject* This, | |
33319 | DWORD dwAspect, | |
33320 | DWORD* pdwStatus); | |
33321 | ||
33322 | HRESULT (__attribute__((__stdcall__)) *SetColorScheme)( | |
33323 | IOleObject* This, | |
33324 | LOGPALETTE* pLogpal); | |
33325 | ||
33326 | ||
33327 | } IOleObjectVtbl; | |
33328 | struct IOleObject { | |
33329 | const IOleObjectVtbl* lpVtbl; | |
33330 | }; | |
33331 | # 2539 "../../../include/oleidl.h" | |
33332 | HRESULT __attribute__((__stdcall__)) IOleObject_SetClientSite_Proxy( | |
33333 | IOleObject* This, | |
33334 | IOleClientSite* pClientSite); | |
33335 | void __attribute__((__stdcall__)) IOleObject_SetClientSite_Stub( | |
33336 | IRpcStubBuffer* This, | |
33337 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33338 | PRPC_MESSAGE pRpcMessage, | |
33339 | DWORD* pdwStubPhase); | |
33340 | HRESULT __attribute__((__stdcall__)) IOleObject_GetClientSite_Proxy( | |
33341 | IOleObject* This, | |
33342 | IOleClientSite** ppClientSite); | |
33343 | void __attribute__((__stdcall__)) IOleObject_GetClientSite_Stub( | |
33344 | IRpcStubBuffer* This, | |
33345 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33346 | PRPC_MESSAGE pRpcMessage, | |
33347 | DWORD* pdwStubPhase); | |
33348 | HRESULT __attribute__((__stdcall__)) IOleObject_SetHostNames_Proxy( | |
33349 | IOleObject* This, | |
33350 | LPCOLESTR szContainerApp, | |
33351 | LPCOLESTR szContainerObj); | |
33352 | void __attribute__((__stdcall__)) IOleObject_SetHostNames_Stub( | |
33353 | IRpcStubBuffer* This, | |
33354 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33355 | PRPC_MESSAGE pRpcMessage, | |
33356 | DWORD* pdwStubPhase); | |
33357 | HRESULT __attribute__((__stdcall__)) IOleObject_Close_Proxy( | |
33358 | IOleObject* This, | |
33359 | DWORD dwSaveOption); | |
33360 | void __attribute__((__stdcall__)) IOleObject_Close_Stub( | |
33361 | IRpcStubBuffer* This, | |
33362 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33363 | PRPC_MESSAGE pRpcMessage, | |
33364 | DWORD* pdwStubPhase); | |
33365 | HRESULT __attribute__((__stdcall__)) IOleObject_SetMoniker_Proxy( | |
33366 | IOleObject* This, | |
33367 | DWORD dwWhichMoniker, | |
33368 | IMoniker* pmk); | |
33369 | void __attribute__((__stdcall__)) IOleObject_SetMoniker_Stub( | |
33370 | IRpcStubBuffer* This, | |
33371 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33372 | PRPC_MESSAGE pRpcMessage, | |
33373 | DWORD* pdwStubPhase); | |
33374 | HRESULT __attribute__((__stdcall__)) IOleObject_GetMoniker_Proxy( | |
33375 | IOleObject* This, | |
33376 | DWORD dwAssign, | |
33377 | DWORD dwWhichMoniker, | |
33378 | IMoniker** ppmk); | |
33379 | void __attribute__((__stdcall__)) IOleObject_GetMoniker_Stub( | |
33380 | IRpcStubBuffer* This, | |
33381 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33382 | PRPC_MESSAGE pRpcMessage, | |
33383 | DWORD* pdwStubPhase); | |
33384 | HRESULT __attribute__((__stdcall__)) IOleObject_InitFromData_Proxy( | |
33385 | IOleObject* This, | |
33386 | IDataObject* pDataObject, | |
33387 | BOOL fCreation, | |
33388 | DWORD dwReserved); | |
33389 | void __attribute__((__stdcall__)) IOleObject_InitFromData_Stub( | |
33390 | IRpcStubBuffer* This, | |
33391 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33392 | PRPC_MESSAGE pRpcMessage, | |
33393 | DWORD* pdwStubPhase); | |
33394 | HRESULT __attribute__((__stdcall__)) IOleObject_GetClipboardData_Proxy( | |
33395 | IOleObject* This, | |
33396 | DWORD dwReserved, | |
33397 | IDataObject** ppDataObject); | |
33398 | void __attribute__((__stdcall__)) IOleObject_GetClipboardData_Stub( | |
33399 | IRpcStubBuffer* This, | |
33400 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33401 | PRPC_MESSAGE pRpcMessage, | |
33402 | DWORD* pdwStubPhase); | |
33403 | HRESULT __attribute__((__stdcall__)) IOleObject_DoVerb_Proxy( | |
33404 | IOleObject* This, | |
33405 | LONG iVerb, | |
33406 | LPMSG lpmsg, | |
33407 | IOleClientSite* pActiveSite, | |
33408 | LONG lindex, | |
33409 | HWND hwndParent, | |
33410 | LPCRECT lprcPosRect); | |
33411 | void __attribute__((__stdcall__)) IOleObject_DoVerb_Stub( | |
33412 | IRpcStubBuffer* This, | |
33413 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33414 | PRPC_MESSAGE pRpcMessage, | |
33415 | DWORD* pdwStubPhase); | |
33416 | HRESULT __attribute__((__stdcall__)) IOleObject_EnumVerbs_Proxy( | |
33417 | IOleObject* This, | |
33418 | IEnumOLEVERB** ppEnumOleVerb); | |
33419 | void __attribute__((__stdcall__)) IOleObject_EnumVerbs_Stub( | |
33420 | IRpcStubBuffer* This, | |
33421 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33422 | PRPC_MESSAGE pRpcMessage, | |
33423 | DWORD* pdwStubPhase); | |
33424 | HRESULT __attribute__((__stdcall__)) IOleObject_Update_Proxy( | |
33425 | IOleObject* This); | |
33426 | void __attribute__((__stdcall__)) IOleObject_Update_Stub( | |
33427 | IRpcStubBuffer* This, | |
33428 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33429 | PRPC_MESSAGE pRpcMessage, | |
33430 | DWORD* pdwStubPhase); | |
33431 | HRESULT __attribute__((__stdcall__)) IOleObject_IsUpToDate_Proxy( | |
33432 | IOleObject* This); | |
33433 | void __attribute__((__stdcall__)) IOleObject_IsUpToDate_Stub( | |
33434 | IRpcStubBuffer* This, | |
33435 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33436 | PRPC_MESSAGE pRpcMessage, | |
33437 | DWORD* pdwStubPhase); | |
33438 | HRESULT __attribute__((__stdcall__)) IOleObject_GetUserClassID_Proxy( | |
33439 | IOleObject* This, | |
33440 | CLSID* pClsid); | |
33441 | void __attribute__((__stdcall__)) IOleObject_GetUserClassID_Stub( | |
33442 | IRpcStubBuffer* This, | |
33443 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33444 | PRPC_MESSAGE pRpcMessage, | |
33445 | DWORD* pdwStubPhase); | |
33446 | HRESULT __attribute__((__stdcall__)) IOleObject_GetUserType_Proxy( | |
33447 | IOleObject* This, | |
33448 | DWORD dwFormOfType, | |
33449 | LPOLESTR* pszUserType); | |
33450 | void __attribute__((__stdcall__)) IOleObject_GetUserType_Stub( | |
33451 | IRpcStubBuffer* This, | |
33452 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33453 | PRPC_MESSAGE pRpcMessage, | |
33454 | DWORD* pdwStubPhase); | |
33455 | HRESULT __attribute__((__stdcall__)) IOleObject_SetExtent_Proxy( | |
33456 | IOleObject* This, | |
33457 | DWORD dwDrawAspect, | |
33458 | SIZEL* psizel); | |
33459 | void __attribute__((__stdcall__)) IOleObject_SetExtent_Stub( | |
33460 | IRpcStubBuffer* This, | |
33461 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33462 | PRPC_MESSAGE pRpcMessage, | |
33463 | DWORD* pdwStubPhase); | |
33464 | HRESULT __attribute__((__stdcall__)) IOleObject_GetExtent_Proxy( | |
33465 | IOleObject* This, | |
33466 | DWORD dwDrawAspect, | |
33467 | SIZEL* psizel); | |
33468 | void __attribute__((__stdcall__)) IOleObject_GetExtent_Stub( | |
33469 | IRpcStubBuffer* This, | |
33470 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33471 | PRPC_MESSAGE pRpcMessage, | |
33472 | DWORD* pdwStubPhase); | |
33473 | HRESULT __attribute__((__stdcall__)) IOleObject_Advise_Proxy( | |
33474 | IOleObject* This, | |
33475 | IAdviseSink* pAdvSink, | |
33476 | DWORD* pdwConnection); | |
33477 | void __attribute__((__stdcall__)) IOleObject_Advise_Stub( | |
33478 | IRpcStubBuffer* This, | |
33479 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33480 | PRPC_MESSAGE pRpcMessage, | |
33481 | DWORD* pdwStubPhase); | |
33482 | HRESULT __attribute__((__stdcall__)) IOleObject_Unadvise_Proxy( | |
33483 | IOleObject* This, | |
33484 | DWORD dwConnection); | |
33485 | void __attribute__((__stdcall__)) IOleObject_Unadvise_Stub( | |
33486 | IRpcStubBuffer* This, | |
33487 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33488 | PRPC_MESSAGE pRpcMessage, | |
33489 | DWORD* pdwStubPhase); | |
33490 | HRESULT __attribute__((__stdcall__)) IOleObject_EnumAdvise_Proxy( | |
33491 | IOleObject* This, | |
33492 | IEnumSTATDATA** ppenumAdvise); | |
33493 | void __attribute__((__stdcall__)) IOleObject_EnumAdvise_Stub( | |
33494 | IRpcStubBuffer* This, | |
33495 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33496 | PRPC_MESSAGE pRpcMessage, | |
33497 | DWORD* pdwStubPhase); | |
33498 | HRESULT __attribute__((__stdcall__)) IOleObject_GetMiscStatus_Proxy( | |
33499 | IOleObject* This, | |
33500 | DWORD dwAspect, | |
33501 | DWORD* pdwStatus); | |
33502 | void __attribute__((__stdcall__)) IOleObject_GetMiscStatus_Stub( | |
33503 | IRpcStubBuffer* This, | |
33504 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33505 | PRPC_MESSAGE pRpcMessage, | |
33506 | DWORD* pdwStubPhase); | |
33507 | HRESULT __attribute__((__stdcall__)) IOleObject_SetColorScheme_Proxy( | |
33508 | IOleObject* This, | |
33509 | LOGPALETTE* pLogpal); | |
33510 | void __attribute__((__stdcall__)) IOleObject_SetColorScheme_Stub( | |
33511 | IRpcStubBuffer* This, | |
33512 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33513 | PRPC_MESSAGE pRpcMessage, | |
33514 | DWORD* pdwStubPhase); | |
33515 | ||
33516 | ||
33517 | ||
33518 | ||
33519 | ||
33520 | typedef struct IOleAdviseHolder IOleAdviseHolder; | |
33521 | ||
33522 | ||
33523 | typedef IOleAdviseHolder *LPOLEADVISEHOLDER; | |
33524 | ||
33525 | ||
33526 | ||
33527 | ||
33528 | ||
33529 | ||
33530 | extern const GUID IID_IOleAdviseHolder __attribute__((visibility ("hidden"))); | |
33531 | # 2762 "../../../include/oleidl.h" | |
33532 | typedef struct IOleAdviseHolderVtbl { | |
33533 | ||
33534 | ||
33535 | ||
33536 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
33537 | IOleAdviseHolder* This, | |
33538 | const IID* const riid, | |
33539 | void** ppvObject); | |
33540 | ||
33541 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
33542 | IOleAdviseHolder* This); | |
33543 | ||
33544 | ULONG (__attribute__((__stdcall__)) *Release)( | |
33545 | IOleAdviseHolder* This); | |
33546 | ||
33547 | ||
33548 | HRESULT (__attribute__((__stdcall__)) *Advise)( | |
33549 | IOleAdviseHolder* This, | |
33550 | IAdviseSink* pAdvise, | |
33551 | DWORD* pdwConnection); | |
33552 | ||
33553 | HRESULT (__attribute__((__stdcall__)) *Unadvise)( | |
33554 | IOleAdviseHolder* This, | |
33555 | DWORD dwConnection); | |
33556 | ||
33557 | HRESULT (__attribute__((__stdcall__)) *EnumAdvise)( | |
33558 | IOleAdviseHolder* This, | |
33559 | IEnumSTATDATA** ppenumAdvise); | |
33560 | ||
33561 | HRESULT (__attribute__((__stdcall__)) *SendOnRename)( | |
33562 | IOleAdviseHolder* This, | |
33563 | IMoniker* pmk); | |
33564 | ||
33565 | HRESULT (__attribute__((__stdcall__)) *SendOnSave)( | |
33566 | IOleAdviseHolder* This); | |
33567 | ||
33568 | HRESULT (__attribute__((__stdcall__)) *SendOnClose)( | |
33569 | IOleAdviseHolder* This); | |
33570 | ||
33571 | ||
33572 | } IOleAdviseHolderVtbl; | |
33573 | struct IOleAdviseHolder { | |
33574 | const IOleAdviseHolderVtbl* lpVtbl; | |
33575 | }; | |
33576 | # 2823 "../../../include/oleidl.h" | |
33577 | HRESULT __attribute__((__stdcall__)) IOleAdviseHolder_Advise_Proxy( | |
33578 | IOleAdviseHolder* This, | |
33579 | IAdviseSink* pAdvise, | |
33580 | DWORD* pdwConnection); | |
33581 | void __attribute__((__stdcall__)) IOleAdviseHolder_Advise_Stub( | |
33582 | IRpcStubBuffer* This, | |
33583 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33584 | PRPC_MESSAGE pRpcMessage, | |
33585 | DWORD* pdwStubPhase); | |
33586 | HRESULT __attribute__((__stdcall__)) IOleAdviseHolder_Unadvise_Proxy( | |
33587 | IOleAdviseHolder* This, | |
33588 | DWORD dwConnection); | |
33589 | void __attribute__((__stdcall__)) IOleAdviseHolder_Unadvise_Stub( | |
33590 | IRpcStubBuffer* This, | |
33591 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33592 | PRPC_MESSAGE pRpcMessage, | |
33593 | DWORD* pdwStubPhase); | |
33594 | HRESULT __attribute__((__stdcall__)) IOleAdviseHolder_EnumAdvise_Proxy( | |
33595 | IOleAdviseHolder* This, | |
33596 | IEnumSTATDATA** ppenumAdvise); | |
33597 | void __attribute__((__stdcall__)) IOleAdviseHolder_EnumAdvise_Stub( | |
33598 | IRpcStubBuffer* This, | |
33599 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33600 | PRPC_MESSAGE pRpcMessage, | |
33601 | DWORD* pdwStubPhase); | |
33602 | HRESULT __attribute__((__stdcall__)) IOleAdviseHolder_SendOnRename_Proxy( | |
33603 | IOleAdviseHolder* This, | |
33604 | IMoniker* pmk); | |
33605 | void __attribute__((__stdcall__)) IOleAdviseHolder_SendOnRename_Stub( | |
33606 | IRpcStubBuffer* This, | |
33607 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33608 | PRPC_MESSAGE pRpcMessage, | |
33609 | DWORD* pdwStubPhase); | |
33610 | HRESULT __attribute__((__stdcall__)) IOleAdviseHolder_SendOnSave_Proxy( | |
33611 | IOleAdviseHolder* This); | |
33612 | void __attribute__((__stdcall__)) IOleAdviseHolder_SendOnSave_Stub( | |
33613 | IRpcStubBuffer* This, | |
33614 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33615 | PRPC_MESSAGE pRpcMessage, | |
33616 | DWORD* pdwStubPhase); | |
33617 | HRESULT __attribute__((__stdcall__)) IOleAdviseHolder_SendOnClose_Proxy( | |
33618 | IOleAdviseHolder* This); | |
33619 | void __attribute__((__stdcall__)) IOleAdviseHolder_SendOnClose_Stub( | |
33620 | IRpcStubBuffer* This, | |
33621 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33622 | PRPC_MESSAGE pRpcMessage, | |
33623 | DWORD* pdwStubPhase); | |
33624 | ||
33625 | ||
33626 | ||
33627 | ||
33628 | ||
33629 | typedef struct IContinue IContinue; | |
33630 | # 2884 "../../../include/oleidl.h" | |
33631 | extern const GUID IID_IContinue __attribute__((visibility ("hidden"))); | |
33632 | # 2893 "../../../include/oleidl.h" | |
33633 | typedef struct IContinueVtbl { | |
33634 | ||
33635 | ||
33636 | ||
33637 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
33638 | IContinue* This, | |
33639 | const IID* const riid, | |
33640 | void** ppvObject); | |
33641 | ||
33642 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
33643 | IContinue* This); | |
33644 | ||
33645 | ULONG (__attribute__((__stdcall__)) *Release)( | |
33646 | IContinue* This); | |
33647 | ||
33648 | ||
33649 | HRESULT (__attribute__((__stdcall__)) *FContinue)( | |
33650 | IContinue* This); | |
33651 | ||
33652 | ||
33653 | } IContinueVtbl; | |
33654 | struct IContinue { | |
33655 | const IContinueVtbl* lpVtbl; | |
33656 | }; | |
33657 | # 2929 "../../../include/oleidl.h" | |
33658 | HRESULT __attribute__((__stdcall__)) IContinue_FContinue_Proxy( | |
33659 | IContinue* This); | |
33660 | void __attribute__((__stdcall__)) IContinue_FContinue_Stub( | |
33661 | IRpcStubBuffer* This, | |
33662 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33663 | PRPC_MESSAGE pRpcMessage, | |
33664 | DWORD* pdwStubPhase); | |
33665 | ||
33666 | ||
33667 | ||
33668 | ||
33669 | ||
33670 | typedef struct IViewObject IViewObject; | |
33671 | ||
33672 | ||
33673 | typedef IViewObject *LPVIEWOBJECT; | |
33674 | ||
33675 | ||
33676 | ||
33677 | ||
33678 | ||
33679 | ||
33680 | extern const GUID IID_IViewObject __attribute__((visibility ("hidden"))); | |
33681 | # 2996 "../../../include/oleidl.h" | |
33682 | typedef struct IViewObjectVtbl { | |
33683 | ||
33684 | ||
33685 | ||
33686 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
33687 | IViewObject* This, | |
33688 | const IID* const riid, | |
33689 | void** ppvObject); | |
33690 | ||
33691 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
33692 | IViewObject* This); | |
33693 | ||
33694 | ULONG (__attribute__((__stdcall__)) *Release)( | |
33695 | IViewObject* This); | |
33696 | ||
33697 | ||
33698 | HRESULT (__attribute__((__stdcall__)) *Draw)( | |
33699 | IViewObject* This, | |
33700 | DWORD dwDrawAspect, | |
33701 | LONG lindex, | |
33702 | void* pvAspect, | |
33703 | DVTARGETDEVICE* ptd, | |
33704 | HDC hdcTargetDev, | |
33705 | HDC hdcDraw, | |
33706 | LPCRECTL lprcBounds, | |
33707 | LPCRECTL lprcWBounds, | |
33708 | BOOL (__attribute__((__stdcall__)) *pfnContinue)(ULONG_PTR dwContinue), | |
33709 | ULONG_PTR dwContinue); | |
33710 | ||
33711 | HRESULT (__attribute__((__stdcall__)) *GetColorSet)( | |
33712 | IViewObject* This, | |
33713 | DWORD dwDrawAspect, | |
33714 | LONG lindex, | |
33715 | void* pvAspect, | |
33716 | DVTARGETDEVICE* ptd, | |
33717 | HDC hicTargetDev, | |
33718 | LOGPALETTE** ppColorSet); | |
33719 | ||
33720 | HRESULT (__attribute__((__stdcall__)) *Freeze)( | |
33721 | IViewObject* This, | |
33722 | DWORD dwDrawAspect, | |
33723 | LONG lindex, | |
33724 | void* pvAspect, | |
33725 | DWORD* pdwFreeze); | |
33726 | ||
33727 | HRESULT (__attribute__((__stdcall__)) *Unfreeze)( | |
33728 | IViewObject* This, | |
33729 | DWORD dwFreeze); | |
33730 | ||
33731 | HRESULT (__attribute__((__stdcall__)) *SetAdvise)( | |
33732 | IViewObject* This, | |
33733 | DWORD aspects, | |
33734 | DWORD advf, | |
33735 | IAdviseSink* pAdvSink); | |
33736 | ||
33737 | HRESULT (__attribute__((__stdcall__)) *GetAdvise)( | |
33738 | IViewObject* This, | |
33739 | DWORD* pAspects, | |
33740 | DWORD* pAdvf, | |
33741 | IAdviseSink** ppAdvSink); | |
33742 | ||
33743 | ||
33744 | } IViewObjectVtbl; | |
33745 | struct IViewObject { | |
33746 | const IViewObjectVtbl* lpVtbl; | |
33747 | }; | |
33748 | # 3079 "../../../include/oleidl.h" | |
33749 | HRESULT __attribute__((__stdcall__)) IViewObject_RemoteDraw_Proxy( | |
33750 | IViewObject* This, | |
33751 | DWORD dwDrawAspect, | |
33752 | LONG lindex, | |
33753 | ULONG_PTR pvAspect, | |
33754 | DVTARGETDEVICE* ptd, | |
33755 | ULONG_PTR hdcTargetDev, | |
33756 | ULONG_PTR hdcDraw, | |
33757 | LPCRECTL lprcBounds, | |
33758 | LPCRECTL lprcWBounds, | |
33759 | IContinue* pContinue); | |
33760 | void __attribute__((__stdcall__)) IViewObject_RemoteDraw_Stub( | |
33761 | IRpcStubBuffer* This, | |
33762 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33763 | PRPC_MESSAGE pRpcMessage, | |
33764 | DWORD* pdwStubPhase); | |
33765 | HRESULT __attribute__((__stdcall__)) IViewObject_Draw_Proxy( | |
33766 | IViewObject* This, | |
33767 | DWORD dwDrawAspect, | |
33768 | LONG lindex, | |
33769 | void* pvAspect, | |
33770 | DVTARGETDEVICE* ptd, | |
33771 | HDC hdcTargetDev, | |
33772 | HDC hdcDraw, | |
33773 | LPCRECTL lprcBounds, | |
33774 | LPCRECTL lprcWBounds, | |
33775 | BOOL (__attribute__((__stdcall__)) *pfnContinue)(ULONG_PTR dwContinue), | |
33776 | ULONG_PTR dwContinue); | |
33777 | HRESULT __attribute__((__stdcall__)) IViewObject_Draw_Stub( | |
33778 | IViewObject* This, | |
33779 | DWORD dwDrawAspect, | |
33780 | LONG lindex, | |
33781 | ULONG_PTR pvAspect, | |
33782 | DVTARGETDEVICE* ptd, | |
33783 | ULONG_PTR hdcTargetDev, | |
33784 | ULONG_PTR hdcDraw, | |
33785 | LPCRECTL lprcBounds, | |
33786 | LPCRECTL lprcWBounds, | |
33787 | IContinue* pContinue); | |
33788 | HRESULT __attribute__((__stdcall__)) IViewObject_RemoteGetColorSet_Proxy( | |
33789 | IViewObject* This, | |
33790 | DWORD dwDrawAspect, | |
33791 | LONG lindex, | |
33792 | ULONG_PTR pvAspect, | |
33793 | DVTARGETDEVICE* ptd, | |
33794 | ULONG_PTR hicTargetDev, | |
33795 | LOGPALETTE** ppColorSet); | |
33796 | void __attribute__((__stdcall__)) IViewObject_RemoteGetColorSet_Stub( | |
33797 | IRpcStubBuffer* This, | |
33798 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33799 | PRPC_MESSAGE pRpcMessage, | |
33800 | DWORD* pdwStubPhase); | |
33801 | HRESULT __attribute__((__stdcall__)) IViewObject_GetColorSet_Proxy( | |
33802 | IViewObject* This, | |
33803 | DWORD dwDrawAspect, | |
33804 | LONG lindex, | |
33805 | void* pvAspect, | |
33806 | DVTARGETDEVICE* ptd, | |
33807 | HDC hicTargetDev, | |
33808 | LOGPALETTE** ppColorSet); | |
33809 | HRESULT __attribute__((__stdcall__)) IViewObject_GetColorSet_Stub( | |
33810 | IViewObject* This, | |
33811 | DWORD dwDrawAspect, | |
33812 | LONG lindex, | |
33813 | ULONG_PTR pvAspect, | |
33814 | DVTARGETDEVICE* ptd, | |
33815 | ULONG_PTR hicTargetDev, | |
33816 | LOGPALETTE** ppColorSet); | |
33817 | HRESULT __attribute__((__stdcall__)) IViewObject_RemoteFreeze_Proxy( | |
33818 | IViewObject* This, | |
33819 | DWORD dwDrawAspect, | |
33820 | LONG lindex, | |
33821 | ULONG_PTR pvAspect, | |
33822 | DWORD* pdwFreeze); | |
33823 | void __attribute__((__stdcall__)) IViewObject_RemoteFreeze_Stub( | |
33824 | IRpcStubBuffer* This, | |
33825 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33826 | PRPC_MESSAGE pRpcMessage, | |
33827 | DWORD* pdwStubPhase); | |
33828 | HRESULT __attribute__((__stdcall__)) IViewObject_Freeze_Proxy( | |
33829 | IViewObject* This, | |
33830 | DWORD dwDrawAspect, | |
33831 | LONG lindex, | |
33832 | void* pvAspect, | |
33833 | DWORD* pdwFreeze); | |
33834 | HRESULT __attribute__((__stdcall__)) IViewObject_Freeze_Stub( | |
33835 | IViewObject* This, | |
33836 | DWORD dwDrawAspect, | |
33837 | LONG lindex, | |
33838 | ULONG_PTR pvAspect, | |
33839 | DWORD* pdwFreeze); | |
33840 | HRESULT __attribute__((__stdcall__)) IViewObject_Unfreeze_Proxy( | |
33841 | IViewObject* This, | |
33842 | DWORD dwFreeze); | |
33843 | void __attribute__((__stdcall__)) IViewObject_Unfreeze_Stub( | |
33844 | IRpcStubBuffer* This, | |
33845 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33846 | PRPC_MESSAGE pRpcMessage, | |
33847 | DWORD* pdwStubPhase); | |
33848 | HRESULT __attribute__((__stdcall__)) IViewObject_SetAdvise_Proxy( | |
33849 | IViewObject* This, | |
33850 | DWORD aspects, | |
33851 | DWORD advf, | |
33852 | IAdviseSink* pAdvSink); | |
33853 | void __attribute__((__stdcall__)) IViewObject_SetAdvise_Stub( | |
33854 | IRpcStubBuffer* This, | |
33855 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33856 | PRPC_MESSAGE pRpcMessage, | |
33857 | DWORD* pdwStubPhase); | |
33858 | HRESULT __attribute__((__stdcall__)) IViewObject_RemoteGetAdvise_Proxy( | |
33859 | IViewObject* This, | |
33860 | DWORD* pAspects, | |
33861 | DWORD* pAdvf, | |
33862 | IAdviseSink** ppAdvSink); | |
33863 | void __attribute__((__stdcall__)) IViewObject_RemoteGetAdvise_Stub( | |
33864 | IRpcStubBuffer* This, | |
33865 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33866 | PRPC_MESSAGE pRpcMessage, | |
33867 | DWORD* pdwStubPhase); | |
33868 | HRESULT __attribute__((__stdcall__)) IViewObject_GetAdvise_Proxy( | |
33869 | IViewObject* This, | |
33870 | DWORD* pAspects, | |
33871 | DWORD* pAdvf, | |
33872 | IAdviseSink** ppAdvSink); | |
33873 | HRESULT __attribute__((__stdcall__)) IViewObject_GetAdvise_Stub( | |
33874 | IViewObject* This, | |
33875 | DWORD* pAspects, | |
33876 | DWORD* pAdvf, | |
33877 | IAdviseSink** ppAdvSink); | |
33878 | ||
33879 | ||
33880 | ||
33881 | ||
33882 | ||
33883 | typedef struct IViewObject2 IViewObject2; | |
33884 | ||
33885 | ||
33886 | typedef IViewObject2 *LPVIEWOBJECT2; | |
33887 | ||
33888 | ||
33889 | ||
33890 | ||
33891 | ||
33892 | ||
33893 | extern const GUID IID_IViewObject2 __attribute__((visibility ("hidden"))); | |
33894 | # 3235 "../../../include/oleidl.h" | |
33895 | typedef struct IViewObject2Vtbl { | |
33896 | ||
33897 | ||
33898 | ||
33899 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
33900 | IViewObject2* This, | |
33901 | const IID* const riid, | |
33902 | void** ppvObject); | |
33903 | ||
33904 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
33905 | IViewObject2* This); | |
33906 | ||
33907 | ULONG (__attribute__((__stdcall__)) *Release)( | |
33908 | IViewObject2* This); | |
33909 | ||
33910 | ||
33911 | HRESULT (__attribute__((__stdcall__)) *Draw)( | |
33912 | IViewObject2* This, | |
33913 | DWORD dwDrawAspect, | |
33914 | LONG lindex, | |
33915 | void* pvAspect, | |
33916 | DVTARGETDEVICE* ptd, | |
33917 | HDC hdcTargetDev, | |
33918 | HDC hdcDraw, | |
33919 | LPCRECTL lprcBounds, | |
33920 | LPCRECTL lprcWBounds, | |
33921 | BOOL (__attribute__((__stdcall__)) *pfnContinue)(ULONG_PTR dwContinue), | |
33922 | ULONG_PTR dwContinue); | |
33923 | ||
33924 | HRESULT (__attribute__((__stdcall__)) *GetColorSet)( | |
33925 | IViewObject2* This, | |
33926 | DWORD dwDrawAspect, | |
33927 | LONG lindex, | |
33928 | void* pvAspect, | |
33929 | DVTARGETDEVICE* ptd, | |
33930 | HDC hicTargetDev, | |
33931 | LOGPALETTE** ppColorSet); | |
33932 | ||
33933 | HRESULT (__attribute__((__stdcall__)) *Freeze)( | |
33934 | IViewObject2* This, | |
33935 | DWORD dwDrawAspect, | |
33936 | LONG lindex, | |
33937 | void* pvAspect, | |
33938 | DWORD* pdwFreeze); | |
33939 | ||
33940 | HRESULT (__attribute__((__stdcall__)) *Unfreeze)( | |
33941 | IViewObject2* This, | |
33942 | DWORD dwFreeze); | |
33943 | ||
33944 | HRESULT (__attribute__((__stdcall__)) *SetAdvise)( | |
33945 | IViewObject2* This, | |
33946 | DWORD aspects, | |
33947 | DWORD advf, | |
33948 | IAdviseSink* pAdvSink); | |
33949 | ||
33950 | HRESULT (__attribute__((__stdcall__)) *GetAdvise)( | |
33951 | IViewObject2* This, | |
33952 | DWORD* pAspects, | |
33953 | DWORD* pAdvf, | |
33954 | IAdviseSink** ppAdvSink); | |
33955 | ||
33956 | ||
33957 | HRESULT (__attribute__((__stdcall__)) *GetExtent)( | |
33958 | IViewObject2* This, | |
33959 | DWORD dwDrawAspect, | |
33960 | LONG lindex, | |
33961 | DVTARGETDEVICE* ptd, | |
33962 | LPSIZEL lpsizel); | |
33963 | ||
33964 | ||
33965 | } IViewObject2Vtbl; | |
33966 | struct IViewObject2 { | |
33967 | const IViewObject2Vtbl* lpVtbl; | |
33968 | }; | |
33969 | # 3328 "../../../include/oleidl.h" | |
33970 | HRESULT __attribute__((__stdcall__)) IViewObject2_GetExtent_Proxy( | |
33971 | IViewObject2* This, | |
33972 | DWORD dwDrawAspect, | |
33973 | LONG lindex, | |
33974 | DVTARGETDEVICE* ptd, | |
33975 | LPSIZEL lpsizel); | |
33976 | void __attribute__((__stdcall__)) IViewObject2_GetExtent_Stub( | |
33977 | IRpcStubBuffer* This, | |
33978 | IRpcChannelBuffer* pRpcChannelBuffer, | |
33979 | PRPC_MESSAGE pRpcMessage, | |
33980 | DWORD* pdwStubPhase); | |
33981 | ||
33982 | ||
33983 | ||
33984 | ||
33985 | ||
33986 | typedef struct IDropSource IDropSource; | |
33987 | ||
33988 | ||
33989 | typedef IDropSource *LPDROPSOURCE; | |
33990 | ||
33991 | ||
33992 | ||
33993 | ||
33994 | ||
33995 | ||
33996 | extern const GUID IID_IDropSource __attribute__((visibility ("hidden"))); | |
33997 | # 3367 "../../../include/oleidl.h" | |
33998 | typedef struct IDropSourceVtbl { | |
33999 | ||
34000 | ||
34001 | ||
34002 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
34003 | IDropSource* This, | |
34004 | const IID* const riid, | |
34005 | void** ppvObject); | |
34006 | ||
34007 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
34008 | IDropSource* This); | |
34009 | ||
34010 | ULONG (__attribute__((__stdcall__)) *Release)( | |
34011 | IDropSource* This); | |
34012 | ||
34013 | ||
34014 | HRESULT (__attribute__((__stdcall__)) *QueryContinueDrag)( | |
34015 | IDropSource* This, | |
34016 | BOOL fEscapePressed, | |
34017 | DWORD grfKeyState); | |
34018 | ||
34019 | HRESULT (__attribute__((__stdcall__)) *GiveFeedback)( | |
34020 | IDropSource* This, | |
34021 | DWORD dwEffect); | |
34022 | ||
34023 | ||
34024 | } IDropSourceVtbl; | |
34025 | struct IDropSource { | |
34026 | const IDropSourceVtbl* lpVtbl; | |
34027 | }; | |
34028 | # 3410 "../../../include/oleidl.h" | |
34029 | HRESULT __attribute__((__stdcall__)) IDropSource_QueryContinueDrag_Proxy( | |
34030 | IDropSource* This, | |
34031 | BOOL fEscapePressed, | |
34032 | DWORD grfKeyState); | |
34033 | void __attribute__((__stdcall__)) IDropSource_QueryContinueDrag_Stub( | |
34034 | IRpcStubBuffer* This, | |
34035 | IRpcChannelBuffer* pRpcChannelBuffer, | |
34036 | PRPC_MESSAGE pRpcMessage, | |
34037 | DWORD* pdwStubPhase); | |
34038 | HRESULT __attribute__((__stdcall__)) IDropSource_GiveFeedback_Proxy( | |
34039 | IDropSource* This, | |
34040 | DWORD dwEffect); | |
34041 | void __attribute__((__stdcall__)) IDropSource_GiveFeedback_Stub( | |
34042 | IRpcStubBuffer* This, | |
34043 | IRpcChannelBuffer* pRpcChannelBuffer, | |
34044 | PRPC_MESSAGE pRpcMessage, | |
34045 | DWORD* pdwStubPhase); | |
34046 | ||
34047 | ||
34048 | ||
34049 | ||
34050 | ||
34051 | typedef struct IDropTarget IDropTarget; | |
34052 | ||
34053 | ||
34054 | typedef IDropTarget *LPDROPTARGET; | |
34055 | # 3464 "../../../include/oleidl.h" | |
34056 | extern const GUID IID_IDropTarget __attribute__((visibility ("hidden"))); | |
34057 | # 3490 "../../../include/oleidl.h" | |
34058 | typedef struct IDropTargetVtbl { | |
34059 | ||
34060 | ||
34061 | ||
34062 | HRESULT (__attribute__((__stdcall__)) *QueryInterface)( | |
34063 | IDropTarget* This, | |
34064 | const IID* const riid, | |
34065 | void** ppvObject); | |
34066 | ||
34067 | ULONG (__attribute__((__stdcall__)) *AddRef)( | |
34068 | IDropTarget* This); | |
34069 | ||
34070 | ULONG (__attribute__((__stdcall__)) *Release)( | |
34071 | IDropTarget* This); | |
34072 | ||
34073 | ||
34074 | HRESULT (__attribute__((__stdcall__)) *DragEnter)( | |
34075 | IDropTarget* This, | |
34076 | IDataObject* pDataObj, | |
34077 | DWORD grfKeyState, | |
34078 | POINTL pt, | |
34079 | DWORD* pdwEffect); | |
34080 | ||
34081 | HRESULT (__attribute__((__stdcall__)) *DragOver)( | |
34082 | IDropTarget* This, | |
34083 | DWORD grfKeyState, | |
34084 | POINTL pt, | |
34085 | DWORD* pdwEffect); | |
34086 | ||
34087 | HRESULT (__attribute__((__stdcall__)) *DragLeave)( | |
34088 | IDropTarget* This); | |
34089 | ||
34090 | HRESULT (__attribute__((__stdcall__)) *Drop)( | |
34091 | IDropTarget* This, | |
34092 | IDataObject* pDataObj, | |
34093 | DWORD grfKeyState, | |
34094 | POINTL pt, | |
34095 | DWORD* pdwEffect); | |
34096 | ||
34097 | ||
34098 | } IDropTargetVtbl; | |
34099 | struct IDropTarget { | |
34100 | const IDropTargetVtbl* lpVtbl; | |
34101 | }; | |
34102 | # 3549 "../../../include/oleidl.h" | |
34103 | HRESULT __attribute__((__stdcall__)) IDropTarget_DragEnter_Proxy( | |
34104 | IDropTarget* This, | |
34105 | IDataObject* pDataObj, | |
34106 | DWORD grfKeyState, | |
34107 | POINTL pt, | |
34108 | DWORD* pdwEffect); | |
34109 | void __attribute__((__stdcall__)) IDropTarget_DragEnter_Stub( | |
34110 | IRpcStubBuffer* This, | |
34111 | IRpcChannelBuffer* pRpcChannelBuffer, | |
34112 | PRPC_MESSAGE pRpcMessage, | |
34113 | DWORD* pdwStubPhase); | |
34114 | HRESULT __attribute__((__stdcall__)) IDropTarget_DragOver_Proxy( | |
34115 | IDropTarget* This, | |
34116 | DWORD grfKeyState, | |
34117 | POINTL pt, | |
34118 | DWORD* pdwEffect); | |
34119 | void __attribute__((__stdcall__)) IDropTarget_DragOver_Stub( | |
34120 | IRpcStubBuffer* This, | |
34121 | IRpcChannelBuffer* pRpcChannelBuffer, | |
34122 | PRPC_MESSAGE pRpcMessage, | |
34123 | DWORD* pdwStubPhase); | |
34124 | HRESULT __attribute__((__stdcall__)) IDropTarget_DragLeave_Proxy( | |
34125 | IDropTarget* This); | |
34126 | void __attribute__((__stdcall__)) IDropTarget_DragLeave_Stub( | |
34127 | IRpcStubBuffer* This, | |
34128 | IRpcChannelBuffer* pRpcChannelBuffer, | |
34129 | PRPC_MESSAGE pRpcMessage, | |
34130 | DWORD* pdwStubPhase); | |
34131 | HRESULT __attribute__((__stdcall__)) IDropTarget_Drop_Proxy( | |
34132 | IDropTarget* This, | |
34133 | IDataObject* pDataObj, | |
34134 | DWORD grfKeyState, | |
34135 | POINTL pt, | |
34136 | DWORD* pdwEffect); | |
34137 | void __attribute__((__stdcall__)) IDropTarget_Drop_Stub( | |
34138 | IRpcStubBuffer* This, | |
34139 | IRpcChannelBuffer* pRpcChannelBuffer, | |
34140 | PRPC_MESSAGE pRpcMessage, | |
34141 | DWORD* pdwStubPhase); | |
34142 | ||
34143 | ||
34144 | ||
34145 | ||
34146 | ||
34147 | unsigned long __attribute__((__stdcall__)) STGMEDIUM_UserSize (unsigned long *, unsigned long, STGMEDIUM *); | |
34148 | unsigned char * __attribute__((__stdcall__)) STGMEDIUM_UserMarshal (unsigned long *, unsigned char *, STGMEDIUM *); | |
34149 | unsigned char * __attribute__((__stdcall__)) STGMEDIUM_UserUnmarshal(unsigned long *, unsigned char *, STGMEDIUM *); | |
34150 | void __attribute__((__stdcall__)) STGMEDIUM_UserFree (unsigned long *, STGMEDIUM *); | |
34151 | unsigned long __attribute__((__stdcall__)) CLIPFORMAT_UserSize (unsigned long *, unsigned long, CLIPFORMAT *); | |
34152 | unsigned char * __attribute__((__stdcall__)) CLIPFORMAT_UserMarshal (unsigned long *, unsigned char *, CLIPFORMAT *); | |
34153 | unsigned char * __attribute__((__stdcall__)) CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT *); | |
34154 | void __attribute__((__stdcall__)) CLIPFORMAT_UserFree (unsigned long *, CLIPFORMAT *); | |
34155 | unsigned long __attribute__((__stdcall__)) HACCEL_UserSize (unsigned long *, unsigned long, HACCEL *); | |
34156 | unsigned char * __attribute__((__stdcall__)) HACCEL_UserMarshal (unsigned long *, unsigned char *, HACCEL *); | |
34157 | unsigned char * __attribute__((__stdcall__)) HACCEL_UserUnmarshal(unsigned long *, unsigned char *, HACCEL *); | |
34158 | void __attribute__((__stdcall__)) HACCEL_UserFree (unsigned long *, HACCEL *); | |
34159 | unsigned long __attribute__((__stdcall__)) HGLOBAL_UserSize (unsigned long *, unsigned long, HGLOBAL *); | |
34160 | unsigned char * __attribute__((__stdcall__)) HGLOBAL_UserMarshal (unsigned long *, unsigned char *, HGLOBAL *); | |
34161 | unsigned char * __attribute__((__stdcall__)) HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL *); | |
34162 | void __attribute__((__stdcall__)) HGLOBAL_UserFree (unsigned long *, HGLOBAL *); | |
34163 | unsigned long __attribute__((__stdcall__)) HMENU_UserSize (unsigned long *, unsigned long, HMENU *); | |
34164 | unsigned char * __attribute__((__stdcall__)) HMENU_UserMarshal (unsigned long *, unsigned char *, HMENU *); | |
34165 | unsigned char * __attribute__((__stdcall__)) HMENU_UserUnmarshal(unsigned long *, unsigned char *, HMENU *); | |
34166 | void __attribute__((__stdcall__)) HMENU_UserFree (unsigned long *, HMENU *); | |
34167 | unsigned long __attribute__((__stdcall__)) HWND_UserSize (unsigned long *, unsigned long, HWND *); | |
34168 | unsigned char * __attribute__((__stdcall__)) HWND_UserMarshal (unsigned long *, unsigned char *, HWND *); | |
34169 | unsigned char * __attribute__((__stdcall__)) HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND *); | |
34170 | void __attribute__((__stdcall__)) HWND_UserFree (unsigned long *, HWND *); | |
34171 | # 28 "../../../include/ole2.h" 2 | |
34172 | ||
34173 | struct tagMSG; | |
34174 | # 50 "../../../include/ole2.h" | |
34175 | HRESULT __attribute__((__stdcall__)) RegisterDragDrop(HWND,LPDROPTARGET); | |
34176 | HRESULT __attribute__((__stdcall__)) RevokeDragDrop(HWND); | |
34177 | HRESULT __attribute__((__stdcall__)) DoDragDrop(LPDATAOBJECT,LPDROPSOURCE,DWORD,DWORD*); | |
34178 | HRESULT __attribute__((__stdcall__)) OleLoadFromStream(IStream *pStm,const IID* const iidInterface,void** ppvObj); | |
34179 | HRESULT __attribute__((__stdcall__)) OleSaveToStream(IPersistStream *pPStm,IStream *pStm); | |
34180 | HOLEMENU __attribute__((__stdcall__)) OleCreateMenuDescriptor(HMENU hmenuCombined,LPOLEMENUGROUPWIDTHS lpMenuWidths); | |
34181 | HRESULT __attribute__((__stdcall__)) OleDestroyMenuDescriptor(HOLEMENU hmenuDescriptor); | |
34182 | HRESULT __attribute__((__stdcall__)) OleSetMenuDescriptor(HOLEMENU hmenuDescriptor,HWND hwndFrame,HWND hwndActiveObject,LPOLEINPLACEFRAME lpFrame,LPOLEINPLACEACTIVEOBJECT lpActiveObject); | |
34183 | ||
34184 | HRESULT __attribute__((__stdcall__)) WriteClassStg(IStorage *pstg, const CLSID* const rclsid); | |
34185 | HRESULT __attribute__((__stdcall__)) ReadClassStg(IStorage *pstg,CLSID *pclsid); | |
34186 | HRESULT __attribute__((__stdcall__)) WriteClassStm(IStream *pStm,const CLSID* const rclsid); | |
34187 | HRESULT __attribute__((__stdcall__)) ReadClassStm(IStream *pStm,CLSID *pclsid); | |
34188 | ||
34189 | ||
34190 | HRESULT __attribute__((__stdcall__)) OleSave(LPPERSISTSTORAGE pPS, LPSTORAGE pStg, BOOL fSameAsLoad); | |
34191 | HRESULT __attribute__((__stdcall__)) OleRegGetUserType(const CLSID* const clsid, | |
34192 | DWORD dwFormOfType, | |
34193 | LPOLESTR* pszUserType); | |
34194 | HRESULT __attribute__((__stdcall__)) OleRegGetMiscStatus (const CLSID* const clsid, DWORD dwAspect, DWORD* pdwStatus); | |
34195 | HRESULT __attribute__((__stdcall__)) OleRegEnumFormatEtc (const CLSID* const clsid, | |
34196 | DWORD dwDirection, | |
34197 | LPENUMFORMATETC* ppenumFormatetc); | |
34198 | HRESULT __attribute__((__stdcall__)) CreateStreamOnHGlobal (HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPSTREAM* ppstm); | |
34199 | HRESULT __attribute__((__stdcall__)) GetHGlobalFromStream(LPSTREAM pstm, HGLOBAL* phglobal); | |
34200 | HRESULT __attribute__((__stdcall__)) OleRegEnumVerbs (const CLSID* const clsid, LPENUMOLEVERB* ppenum); | |
34201 | BOOL __attribute__((__stdcall__)) OleIsRunning(LPOLEOBJECT pObject); | |
34202 | HRESULT __attribute__((__stdcall__)) OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, const IID* const riid, | |
34203 | DWORD renderopt, LPFORMATETC pFormatEtc, | |
34204 | LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, | |
34205 | LPVOID* ppvObj); | |
34206 | HRESULT __attribute__((__stdcall__)) OleSetContainedObject(LPUNKNOWN pUnknown, BOOL fContained); | |
34207 | HRESULT __attribute__((__stdcall__)) OleQueryLinkFromData(IDataObject* pSrcDataObject); | |
34208 | HRESULT __attribute__((__stdcall__)) OleQueryCreateFromData(LPDATAOBJECT pSrcDataObject); | |
34209 | HRESULT __attribute__((__stdcall__)) OleRun(LPUNKNOWN pUnknown); | |
34210 | HRESULT __attribute__((__stdcall__)) OleDraw(LPUNKNOWN pUnknown, DWORD dwAspect, HDC hdcDraw, LPCRECT lprcBounds); | |
34211 | void __attribute__((__stdcall__)) ReleaseStgMedium(LPSTGMEDIUM); | |
34212 | HRESULT __attribute__((__stdcall__)) OleGetClipboard(IDataObject** ppDataObj); | |
34213 | HRESULT __attribute__((__stdcall__)) OleIsCurrentClipboard(LPDATAOBJECT); | |
34214 | HRESULT __attribute__((__stdcall__)) OleSetClipboard(LPDATAOBJECT); | |
34215 | HRESULT __attribute__((__stdcall__)) OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, const IID* const iid, | |
34216 | DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite, | |
34217 | LPSTORAGE pStg, LPVOID* ppvObj); | |
34218 | HRESULT __attribute__((__stdcall__)) ReadFmtUserTypeStg(LPSTORAGE pstg, CLIPFORMAT* pcf, LPOLESTR* lplpszUserType); | |
34219 | HRESULT __attribute__((__stdcall__)) OleLoad(LPSTORAGE pStg, const IID* const riid, LPOLECLIENTSITE pClientSite, LPVOID* ppvObj); | |
34220 | HRESULT __attribute__((__stdcall__)) GetHGlobalFromILockBytes(LPLOCKBYTES plkbyt, HGLOBAL* phglobal); | |
34221 | HRESULT __attribute__((__stdcall__)) CreateILockBytesOnHGlobal(HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPLOCKBYTES* pplkbyt); | |
34222 | HRESULT __attribute__((__stdcall__)) CreateDataAdviseHolder(LPDATAADVISEHOLDER* ppDAHolder); | |
34223 | HGLOBAL __attribute__((__stdcall__)) OleGetIconOfClass(const CLSID* const rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel); | |
34224 | HRESULT __attribute__((__stdcall__)) OleLockRunning(LPUNKNOWN pUnknown, BOOL fLock, BOOL fLastUnlockCloses); | |
34225 | HRESULT __attribute__((__stdcall__)) OleCreateFromFile(const CLSID* const rclsid, LPCOLESTR lpszFileName, const IID* const riid, | |
34226 | DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj); | |
34227 | HRESULT __attribute__((__stdcall__)) OleCreateLink(LPMONIKER pmkLinkSrc, const IID* const riid, DWORD renderopt, LPFORMATETC lpFormatEtc, | |
34228 | LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj); | |
34229 | HRESULT __attribute__((__stdcall__)) OleCreate(const CLSID* const rclsid, const IID* const riid, DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite, | |
34230 | LPSTORAGE pStg, LPVOID* ppvObj); | |
34231 | HRESULT __attribute__((__stdcall__)) OleFlushClipboard(void); | |
34232 | HRESULT __attribute__((__stdcall__)) SetConvertStg(LPSTORAGE pStg, BOOL fConvert); | |
34233 | BOOL __attribute__((__stdcall__)) IsAccelerator(HACCEL hAccel, int cAccelEntries, struct tagMSG* lpMsg, WORD* lpwCmd); | |
34234 | HRESULT __attribute__((__stdcall__)) OleCreateLinkToFile(LPCOLESTR lpszFileName, const IID* const riid, DWORD renderopt, LPFORMATETC lpFormatEtc, | |
34235 | LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj); | |
34236 | HANDLE __attribute__((__stdcall__)) OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat, UINT uiFlags); | |
34237 | HRESULT __attribute__((__stdcall__)) WriteFmtUserTypeStg(LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType); | |
34238 | HRESULT __attribute__((__stdcall__)) OleTranslateAccelerator (LPOLEINPLACEFRAME lpFrame, LPOLEINPLACEFRAMEINFO lpFrameInfo, struct tagMSG* lpmsg); | |
34239 | HRESULT __attribute__((__stdcall__)) OleCreateFromData(LPDATAOBJECT pSrcDataObj, const IID* const riid, DWORD renderopt, LPFORMATETC pFormatEtc, | |
34240 | LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj); | |
34241 | HRESULT __attribute__((__stdcall__)) OleCreateDefaultHandler(const CLSID* const clsid, | |
34242 | LPUNKNOWN pUnkOuter, | |
34243 | const IID* const riid, | |
34244 | LPVOID* ppvObj); | |
34245 | HRESULT __attribute__((__stdcall__)) CreateOleAdviseHolder (LPOLEADVISEHOLDER *ppOAHolder); | |
34246 | HRESULT __attribute__((__stdcall__)) OleInitialize(LPVOID pvReserved); | |
34247 | void __attribute__((__stdcall__)) OleUninitialize(void); | |
34248 | BOOL __attribute__((__stdcall__)) IsValidInterface(LPUNKNOWN punk); | |
34249 | DWORD __attribute__((__stdcall__)) OleBuildVersion(void); | |
34250 | ||
34251 | ||
34252 | ||
34253 | ||
34254 | ||
34255 | ||
34256 | typedef struct _OLESTREAM* LPOLESTREAM; | |
34257 | typedef struct _OLESTREAMVTBL { | |
34258 | DWORD (__attribute__((__stdcall__)) *Get)(LPOLESTREAM,LPSTR,DWORD); | |
34259 | DWORD (__attribute__((__stdcall__)) *Put)(LPOLESTREAM,LPSTR,DWORD); | |
34260 | } OLESTREAMVTBL; | |
34261 | typedef OLESTREAMVTBL* LPOLESTREAMVTBL; | |
34262 | typedef struct _OLESTREAM { | |
34263 | LPOLESTREAMVTBL lpstbl; | |
34264 | } OLESTREAM; | |
34265 | ||
34266 | HRESULT __attribute__((__stdcall__)) OleConvertOLESTREAMToIStorage( LPOLESTREAM lpolestream, LPSTORAGE pstg, const DVTARGETDEVICE* ptd); | |
34267 | HRESULT __attribute__((__stdcall__)) OleConvertIStorageToOLESTREAM( LPSTORAGE pstg, LPOLESTREAM lpolestream); | |
34268 | ||
34269 | HRESULT __attribute__((__stdcall__)) OleGetAutoConvert( const CLSID* const clsidOld, LPCLSID pClsidNew ); | |
34270 | HRESULT __attribute__((__stdcall__)) OleSetAutoConvert( const CLSID* const clsidOld, const CLSID* const clsidNew ); | |
34271 | # 78 "../../../include/windows.h" 2 | |
34272 | ||
34273 | # 1 "../../../include/commdlg.h" 1 | |
34274 | # 28 "../../../include/commdlg.h" | |
34275 | # 1 "../../../include/prsht.h" 1 | |
34276 | # 44 "../../../include/prsht.h" | |
34277 | struct _PROPSHEETPAGEA; | |
34278 | struct _PROPSHEETPAGEW; | |
34279 | struct _PSP; | |
34280 | typedef struct _PSP *HPROPSHEETPAGE; | |
34281 | ||
34282 | ||
34283 | typedef UINT (__attribute__((__stdcall__)) *LPFNPSPCALLBACKA)(HWND, UINT, struct _PROPSHEETPAGEA*); | |
34284 | typedef UINT (__attribute__((__stdcall__)) *LPFNPSPCALLBACKW)(HWND, UINT, struct _PROPSHEETPAGEW*); | |
34285 | typedef INT (__attribute__((__stdcall__)) *PFNPROPSHEETCALLBACK)(HWND, UINT, LPARAM); | |
34286 | typedef BOOL (__attribute__((__stdcall__)) *LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM); | |
34287 | typedef BOOL (__attribute__((__stdcall__)) *LPFNADDPROPSHEETPAGES)(LPVOID, LPFNADDPROPSHEETPAGE, LPARAM); | |
34288 | ||
34289 | ||
34290 | ||
34291 | ||
34292 | typedef struct _PROPSHEETPAGEA | |
34293 | { | |
34294 | DWORD dwSize; | |
34295 | DWORD dwFlags; | |
34296 | HINSTANCE hInstance; | |
34297 | union | |
34298 | { | |
34299 | LPCSTR pszTemplate; | |
34300 | LPCDLGTEMPLATEA pResource; | |
34301 | }; | |
34302 | union | |
34303 | { | |
34304 | HICON hIcon; | |
34305 | LPCSTR pszIcon; | |
34306 | }; | |
34307 | LPCSTR pszTitle; | |
34308 | DLGPROC pfnDlgProc; | |
34309 | LPARAM lParam; | |
34310 | LPFNPSPCALLBACKA pfnCallback; | |
34311 | UINT* pcRefParent; | |
34312 | LPCSTR pszHeaderTitle; | |
34313 | LPCSTR pszHeaderSubTitle; | |
34314 | } PROPSHEETPAGEA, *LPPROPSHEETPAGEA; | |
34315 | ||
34316 | typedef const PROPSHEETPAGEA *LPCPROPSHEETPAGEA; | |
34317 | ||
34318 | typedef struct _PROPSHEETPAGEW | |
34319 | { | |
34320 | DWORD dwSize; | |
34321 | DWORD dwFlags; | |
34322 | HINSTANCE hInstance; | |
34323 | union | |
34324 | { | |
34325 | LPCWSTR pszTemplate; | |
34326 | LPCDLGTEMPLATEW pResource; | |
34327 | }; | |
34328 | union | |
34329 | { | |
34330 | HICON hIcon; | |
34331 | LPCWSTR pszIcon; | |
34332 | }; | |
34333 | LPCWSTR pszTitle; | |
34334 | DLGPROC pfnDlgProc; | |
34335 | LPARAM lParam; | |
34336 | LPFNPSPCALLBACKW pfnCallback; | |
34337 | UINT* pcRefParent; | |
34338 | LPCWSTR pszHeaderTitle; | |
34339 | LPCWSTR pszHeaderSubTitle; | |
34340 | } PROPSHEETPAGEW, *LPPROPSHEETPAGEW; | |
34341 | ||
34342 | typedef const PROPSHEETPAGEW *LPCPROPSHEETPAGEW; | |
34343 | ||
34344 | ||
34345 | typedef struct _PROPSHEETHEADERA | |
34346 | { | |
34347 | DWORD dwSize; | |
34348 | DWORD dwFlags; | |
34349 | HWND hwndParent; | |
34350 | HINSTANCE hInstance; | |
34351 | union | |
34352 | { | |
34353 | HICON hIcon; | |
34354 | LPCSTR pszIcon; | |
34355 | }; | |
34356 | LPCSTR pszCaption; | |
34357 | UINT nPages; | |
34358 | union | |
34359 | { | |
34360 | UINT nStartPage; | |
34361 | LPCSTR pStartPage; | |
34362 | }; | |
34363 | union | |
34364 | { | |
34365 | LPCPROPSHEETPAGEA ppsp; | |
34366 | HPROPSHEETPAGE* phpage; | |
34367 | }; | |
34368 | PFNPROPSHEETCALLBACK pfnCallback; | |
34369 | union | |
34370 | { | |
34371 | HBITMAP hbmWatermark; | |
34372 | LPCSTR pszbmWatermark; | |
34373 | }; | |
34374 | HPALETTE hplWatermark; | |
34375 | union | |
34376 | { | |
34377 | HBITMAP hbmHeader; | |
34378 | LPCSTR pszbmHeader; | |
34379 | }; | |
34380 | } PROPSHEETHEADERA, *LPPROPSHEETHEADERA; | |
34381 | ||
34382 | typedef const PROPSHEETHEADERA *LPCPROPSHEETHEADERA; | |
34383 | ||
34384 | typedef struct _PROPSHEETHEADERW | |
34385 | { | |
34386 | DWORD dwSize; | |
34387 | DWORD dwFlags; | |
34388 | HWND hwndParent; | |
34389 | HINSTANCE hInstance; | |
34390 | union | |
34391 | { | |
34392 | HICON hIcon; | |
34393 | LPCWSTR pszIcon; | |
34394 | }; | |
34395 | LPCWSTR pszCaption; | |
34396 | UINT nPages; | |
34397 | union | |
34398 | { | |
34399 | UINT nStartPage; | |
34400 | LPCWSTR pStartPage; | |
34401 | }; | |
34402 | union | |
34403 | { | |
34404 | LPCPROPSHEETPAGEW ppsp; | |
34405 | HPROPSHEETPAGE* phpage; | |
34406 | }; | |
34407 | PFNPROPSHEETCALLBACK pfnCallback; | |
34408 | union | |
34409 | { | |
34410 | HBITMAP hbmWatermark; | |
34411 | LPCWSTR pszbmWatermark; | |
34412 | }; | |
34413 | HPALETTE hplWatermark; | |
34414 | union | |
34415 | { | |
34416 | HBITMAP hbmHeader; | |
34417 | LPCWSTR pszbmHeader; | |
34418 | }; | |
34419 | } PROPSHEETHEADERW, *LPPROPSHEETHEADERW; | |
34420 | ||
34421 | typedef const PROPSHEETHEADERW *LPCPROPSHEETHEADERW; | |
34422 | ||
34423 | ||
34424 | ||
34425 | ||
34426 | ||
34427 | INT_PTR __attribute__((__stdcall__)) PropertySheetA(LPCPROPSHEETHEADERA); | |
34428 | INT_PTR __attribute__((__stdcall__)) PropertySheetW(LPCPROPSHEETHEADERW); | |
34429 | ||
34430 | HPROPSHEETPAGE __attribute__((__stdcall__)) CreatePropertySheetPageA(LPCPROPSHEETPAGEA); | |
34431 | HPROPSHEETPAGE __attribute__((__stdcall__)) CreatePropertySheetPageW(LPCPROPSHEETPAGEW); | |
34432 | ||
34433 | BOOL __attribute__((__stdcall__)) DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage); | |
34434 | ||
34435 | ||
34436 | ||
34437 | ||
34438 | ||
34439 | typedef PROPSHEETPAGEA PROPSHEETPAGE; | |
34440 | typedef LPPROPSHEETPAGEA LPPROPSHEETPAGE; | |
34441 | typedef LPCPROPSHEETPAGEA LPCPROPSHEETPAGE; | |
34442 | typedef PROPSHEETHEADERA PROPSHEETHEADER; | |
34443 | typedef LPPROPSHEETHEADERA LPPROPSHEETHEADER; | |
34444 | typedef LPCPROPSHEETHEADERA LPCPROPSHEETHEADER; | |
34445 | typedef LPFNPSPCALLBACKA LPFNPSPCALLBACK; | |
34446 | # 274 "../../../include/prsht.h" | |
34447 | typedef struct _PSHNOTIFY | |
34448 | { | |
34449 | NMHDR hdr; | |
34450 | LPARAM lParam; | |
34451 | } PSHNOTIFY, *LPPSHNOTIFY; | |
34452 | # 29 "../../../include/commdlg.h" 2 | |
34453 | # 1 "../../../include/pshpack1.h" 1 | |
34454 | # 105 "../../../include/pshpack1.h" | |
34455 | #pragma pack(1) | |
34456 | # 30 "../../../include/commdlg.h" 2 | |
34457 | # 73 "../../../include/commdlg.h" | |
34458 | typedef UINT (__attribute__((__stdcall__)) *LPOFNHOOKPROC)(HWND,UINT,WPARAM,LPARAM); | |
34459 | ||
34460 | typedef struct tagOFNA { | |
34461 | DWORD lStructSize; | |
34462 | HWND hwndOwner; | |
34463 | HINSTANCE hInstance; | |
34464 | LPCSTR lpstrFilter; | |
34465 | LPSTR lpstrCustomFilter; | |
34466 | DWORD nMaxCustFilter; | |
34467 | DWORD nFilterIndex; | |
34468 | LPSTR lpstrFile; | |
34469 | DWORD nMaxFile; | |
34470 | LPSTR lpstrFileTitle; | |
34471 | DWORD nMaxFileTitle; | |
34472 | LPCSTR lpstrInitialDir; | |
34473 | LPCSTR lpstrTitle; | |
34474 | DWORD Flags; | |
34475 | WORD nFileOffset; | |
34476 | WORD nFileExtension; | |
34477 | LPCSTR lpstrDefExt; | |
34478 | LPARAM lCustData; | |
34479 | LPOFNHOOKPROC lpfnHook; | |
34480 | LPCSTR lpTemplateName; | |
34481 | } OPENFILENAMEA,*LPOPENFILENAMEA; | |
34482 | ||
34483 | typedef struct tagOFNW { | |
34484 | DWORD lStructSize; | |
34485 | HWND hwndOwner; | |
34486 | HINSTANCE hInstance; | |
34487 | LPCWSTR lpstrFilter; | |
34488 | LPWSTR lpstrCustomFilter; | |
34489 | DWORD nMaxCustFilter; | |
34490 | DWORD nFilterIndex; | |
34491 | LPWSTR lpstrFile; | |
34492 | DWORD nMaxFile; | |
34493 | LPWSTR lpstrFileTitle; | |
34494 | DWORD nMaxFileTitle; | |
34495 | LPCWSTR lpstrInitialDir; | |
34496 | LPCWSTR lpstrTitle; | |
34497 | DWORD Flags; | |
34498 | WORD nFileOffset; | |
34499 | WORD nFileExtension; | |
34500 | LPCWSTR lpstrDefExt; | |
34501 | LPARAM lCustData; | |
34502 | LPOFNHOOKPROC lpfnHook; | |
34503 | LPCWSTR lpTemplateName; | |
34504 | } OPENFILENAMEW,*LPOPENFILENAMEW; | |
34505 | ||
34506 | typedef OPENFILENAMEA OPENFILENAME; | |
34507 | typedef LPOPENFILENAMEA LPOPENFILENAME; | |
34508 | # 133 "../../../include/commdlg.h" | |
34509 | typedef struct | |
34510 | { | |
34511 | NMHDR hdr; | |
34512 | LPOPENFILENAMEA lpOFN; | |
34513 | LPSTR pszFile; | |
34514 | } OFNOTIFYA, *LPOFNOTIFYA; | |
34515 | ||
34516 | typedef struct | |
34517 | { | |
34518 | NMHDR hdr; | |
34519 | LPOPENFILENAMEW lpOFN; | |
34520 | LPWSTR pszFile; | |
34521 | } OFNOTIFYW, *LPOFNOTIFYW; | |
34522 | ||
34523 | typedef OFNOTIFYA OFNOTIFY; | |
34524 | typedef LPOFNOTIFYA LPOFNOTIFY; | |
34525 | ||
34526 | typedef UINT (__attribute__((__stdcall__)) *LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM); | |
34527 | ||
34528 | typedef struct { | |
34529 | DWORD lStructSize; | |
34530 | HWND hwndOwner; | |
34531 | HWND hInstance; | |
34532 | DWORD rgbResult; | |
34533 | LPDWORD lpCustColors; | |
34534 | DWORD Flags; | |
34535 | DWORD lCustData; | |
34536 | LPCCHOOKPROC lpfnHook; | |
34537 | LPCSTR lpTemplateName; | |
34538 | } CHOOSECOLORA; | |
34539 | typedef CHOOSECOLORA *LPCHOOSECOLORA; | |
34540 | ||
34541 | typedef struct { | |
34542 | DWORD lStructSize; | |
34543 | HWND hwndOwner; | |
34544 | HWND hInstance; | |
34545 | DWORD rgbResult; | |
34546 | LPDWORD lpCustColors; | |
34547 | DWORD Flags; | |
34548 | DWORD lCustData; | |
34549 | LPCCHOOKPROC lpfnHook; | |
34550 | LPCWSTR lpTemplateName; | |
34551 | } CHOOSECOLORW; | |
34552 | typedef CHOOSECOLORW *LPCHOOSECOLORW; | |
34553 | ||
34554 | typedef CHOOSECOLORA CHOOSECOLOR; | |
34555 | typedef LPCHOOSECOLORA LPCHOOSECOLOR; | |
34556 | # 192 "../../../include/commdlg.h" | |
34557 | typedef UINT (__attribute__((__stdcall__)) *LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM); | |
34558 | ||
34559 | typedef struct { | |
34560 | DWORD lStructSize; | |
34561 | HWND hwndOwner; | |
34562 | HINSTANCE hInstance; | |
34563 | DWORD Flags; | |
34564 | LPSTR lpstrFindWhat; | |
34565 | LPSTR lpstrReplaceWith; | |
34566 | WORD wFindWhatLen; | |
34567 | WORD wReplaceWithLen; | |
34568 | LPARAM lCustData; | |
34569 | LPFRHOOKPROC lpfnHook; | |
34570 | LPCSTR lpTemplateName; | |
34571 | } FINDREPLACEA, *LPFINDREPLACEA; | |
34572 | ||
34573 | typedef struct { | |
34574 | DWORD lStructSize; | |
34575 | HWND hwndOwner; | |
34576 | HINSTANCE hInstance; | |
34577 | DWORD Flags; | |
34578 | LPWSTR lpstrFindWhat; | |
34579 | LPWSTR lpstrReplaceWith; | |
34580 | WORD wFindWhatLen; | |
34581 | WORD wReplaceWithLen; | |
34582 | LPARAM lCustData; | |
34583 | LPFRHOOKPROC lpfnHook; | |
34584 | LPCWSTR lpTemplateName; | |
34585 | } FINDREPLACEW, *LPFINDREPLACEW; | |
34586 | ||
34587 | typedef FINDREPLACEA FINDREPLACE; | |
34588 | typedef LPFINDREPLACEA LPFINDREPLACE; | |
34589 | # 246 "../../../include/commdlg.h" | |
34590 | typedef UINT (__attribute__((__stdcall__)) *LPCFHOOKPROC)(HWND,UINT,WPARAM,LPARAM); | |
34591 | ||
34592 | typedef struct tagCHOOSEFONTA | |
34593 | { | |
34594 | UINT lStructSize; | |
34595 | HWND hwndOwner; | |
34596 | HDC hDC; | |
34597 | LPLOGFONTA lpLogFont; | |
34598 | INT iPointSize; | |
34599 | DWORD Flags; | |
34600 | COLORREF rgbColors; | |
34601 | LPARAM lCustData; | |
34602 | LPCFHOOKPROC lpfnHook; | |
34603 | LPCSTR lpTemplateName; | |
34604 | HINSTANCE hInstance; | |
34605 | LPSTR lpszStyle; | |
34606 | WORD nFontType; | |
34607 | WORD ___MISSING_ALIGNMENT__; | |
34608 | INT nSizeMin; | |
34609 | INT nSizeMax; | |
34610 | } CHOOSEFONTA, *LPCHOOSEFONTA; | |
34611 | ||
34612 | typedef struct tagCHOOSEFONTW | |
34613 | { | |
34614 | UINT lStructSize; | |
34615 | HWND hwndOwner; | |
34616 | HDC hDC; | |
34617 | LPLOGFONTW lpLogFont; | |
34618 | INT iPointSize; | |
34619 | DWORD Flags; | |
34620 | COLORREF rgbColors; | |
34621 | LPARAM lCustData; | |
34622 | LPCFHOOKPROC lpfnHook; | |
34623 | LPCWSTR lpTemplateName; | |
34624 | HINSTANCE hInstance; | |
34625 | LPWSTR lpszStyle; | |
34626 | WORD nFontType; | |
34627 | WORD ___MISSING_ALIGNMENT__; | |
34628 | INT nSizeMin; | |
34629 | INT nSizeMax; | |
34630 | } CHOOSEFONTW, *LPCHOOSEFONTW; | |
34631 | ||
34632 | typedef CHOOSEFONTA CHOOSEFONT; | |
34633 | typedef LPCHOOSEFONTA LPCHOOSEFONT; | |
34634 | # 507 "../../../include/commdlg.h" | |
34635 | typedef UINT (__attribute__((__stdcall__)) *LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM); | |
34636 | typedef UINT (__attribute__((__stdcall__)) *LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM); | |
34637 | ||
34638 | typedef struct tagPDA | |
34639 | { | |
34640 | DWORD lStructSize; | |
34641 | HWND hwndOwner; | |
34642 | HGLOBAL hDevMode; | |
34643 | HGLOBAL hDevNames; | |
34644 | HDC hDC; | |
34645 | DWORD Flags; | |
34646 | WORD nFromPage; | |
34647 | WORD nToPage; | |
34648 | WORD nMinPage; | |
34649 | WORD nMaxPage; | |
34650 | WORD nCopies; | |
34651 | HINSTANCE hInstance; | |
34652 | LPARAM lCustData; | |
34653 | LPPRINTHOOKPROC lpfnPrintHook; | |
34654 | LPSETUPHOOKPROC lpfnSetupHook; | |
34655 | LPCSTR lpPrintTemplateName; | |
34656 | LPCSTR lpSetupTemplateName; | |
34657 | HGLOBAL hPrintTemplate; | |
34658 | HGLOBAL hSetupTemplate; | |
34659 | } PRINTDLGA, *LPPRINTDLGA; | |
34660 | ||
34661 | typedef struct tagPDW | |
34662 | { | |
34663 | DWORD lStructSize; | |
34664 | HWND hwndOwner; | |
34665 | HGLOBAL hDevMode; | |
34666 | HGLOBAL hDevNames; | |
34667 | HDC hDC; | |
34668 | DWORD Flags; | |
34669 | WORD nFromPage; | |
34670 | WORD nToPage; | |
34671 | WORD nMinPage; | |
34672 | WORD nMaxPage; | |
34673 | WORD nCopies; | |
34674 | HINSTANCE hInstance; | |
34675 | LPARAM lCustData; | |
34676 | LPPRINTHOOKPROC lpfnPrintHook; | |
34677 | LPSETUPHOOKPROC lpfnSetupHook; | |
34678 | LPCWSTR lpPrintTemplateName; | |
34679 | LPCWSTR lpSetupTemplateName; | |
34680 | HGLOBAL hPrintTemplate; | |
34681 | HGLOBAL hSetupTemplate; | |
34682 | } PRINTDLGW, *LPPRINTDLGW; | |
34683 | ||
34684 | typedef PRINTDLGA PRINTDLG; | |
34685 | typedef LPPRINTDLGA LPPRINTDLG; | |
34686 | # 584 "../../../include/commdlg.h" | |
34687 | typedef struct | |
34688 | { | |
34689 | WORD wDriverOffset; | |
34690 | WORD wDeviceOffset; | |
34691 | WORD wOutputOffset; | |
34692 | WORD wDefault; | |
34693 | } DEVNAMES; | |
34694 | typedef DEVNAMES * LPDEVNAMES; | |
34695 | # 604 "../../../include/commdlg.h" | |
34696 | typedef UINT (__attribute__((__stdcall__)) *LPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM ); | |
34697 | typedef UINT (__attribute__((__stdcall__)) *LPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM ); | |
34698 | ||
34699 | typedef struct tagPSDA | |
34700 | { | |
34701 | DWORD lStructSize; | |
34702 | HWND hwndOwner; | |
34703 | HGLOBAL hDevMode; | |
34704 | HGLOBAL hDevNames; | |
34705 | DWORD Flags; | |
34706 | POINT ptPaperSize; | |
34707 | RECT rtMinMargin; | |
34708 | RECT rtMargin; | |
34709 | HINSTANCE hInstance; | |
34710 | LPARAM lCustData; | |
34711 | LPPAGESETUPHOOK lpfnPageSetupHook; | |
34712 | LPPAGEPAINTHOOK lpfnPagePaintHook; | |
34713 | LPCSTR lpPageSetupTemplateName; | |
34714 | HGLOBAL hPageSetupTemplate; | |
34715 | } PAGESETUPDLGA,*LPPAGESETUPDLGA; | |
34716 | ||
34717 | typedef struct tagPSDW | |
34718 | { | |
34719 | DWORD lStructSize; | |
34720 | HWND hwndOwner; | |
34721 | HGLOBAL hDevMode; | |
34722 | HGLOBAL hDevNames; | |
34723 | DWORD Flags; | |
34724 | POINT ptPaperSize; | |
34725 | RECT rtMinMargin; | |
34726 | RECT rtMargin; | |
34727 | HINSTANCE hInstance; | |
34728 | LPARAM lCustData; | |
34729 | LPPAGESETUPHOOK lpfnPageSetupHook; | |
34730 | LPPAGEPAINTHOOK lpfnPagePaintHook; | |
34731 | LPCWSTR lpPageSetupTemplateName; | |
34732 | HGLOBAL hPageSetupTemplate; | |
34733 | } PAGESETUPDLGW,*LPPAGESETUPDLGW; | |
34734 | typedef PAGESETUPDLGA PAGESETUPDLG; | |
34735 | typedef LPPAGESETUPDLGA LPPAGESETUPDLG; | |
34736 | # 666 "../../../include/commdlg.h" | |
34737 | typedef struct tagPRINTPAGERANGE | |
34738 | { | |
34739 | DWORD nFromPage; | |
34740 | DWORD nToPage; | |
34741 | } PRINTPAGERANGE, *LPPRINTPAGERANGE; | |
34742 | ||
34743 | typedef struct tagPDEXA | |
34744 | { | |
34745 | DWORD lStructSize; | |
34746 | HWND hwndOwner; | |
34747 | HGLOBAL hDevMode; | |
34748 | HGLOBAL hDevNames; | |
34749 | HDC hDC; | |
34750 | DWORD Flags; | |
34751 | DWORD Flags2; | |
34752 | DWORD ExclusionFlags; | |
34753 | DWORD nPageRanges; | |
34754 | DWORD nMaxPageRanges; | |
34755 | LPPRINTPAGERANGE lpPageRanges; | |
34756 | DWORD nMinPage; | |
34757 | DWORD nMaxPage; | |
34758 | DWORD nCopies; | |
34759 | HINSTANCE hInstance; | |
34760 | LPCSTR lpPrintTemplateName; | |
34761 | void* lpCallback; | |
34762 | DWORD nPropertyPages; | |
34763 | HPROPSHEETPAGE* lphPropertyPages; | |
34764 | DWORD nStartPage; | |
34765 | DWORD dwResultAction; | |
34766 | } PRINTDLGEXA, *LPPRINTDLGEXA; | |
34767 | ||
34768 | typedef struct tagPDEXW | |
34769 | { | |
34770 | DWORD lStructSize; | |
34771 | HWND hwndOwner; | |
34772 | HGLOBAL hDevMode; | |
34773 | HGLOBAL hDevNames; | |
34774 | HDC hDC; | |
34775 | DWORD Flags; | |
34776 | DWORD Flags2; | |
34777 | DWORD ExclusionFlags; | |
34778 | DWORD nPageRanges; | |
34779 | DWORD nMaxPageRanges; | |
34780 | LPPRINTPAGERANGE lpPageRanges; | |
34781 | DWORD nMinPage; | |
34782 | DWORD nMaxPage; | |
34783 | DWORD nCopies; | |
34784 | HINSTANCE hInstance; | |
34785 | LPCWSTR lpPrintTemplateName; | |
34786 | void* lpCallback; | |
34787 | DWORD nPropertyPages; | |
34788 | HPROPSHEETPAGE* lphPropertyPages; | |
34789 | DWORD nStartPage; | |
34790 | DWORD dwResultAction; | |
34791 | } PRINTDLGEXW, *LPPRINTDLGEXW; | |
34792 | ||
34793 | typedef PRINTDLGEXA PRINTDLGEX; | |
34794 | typedef LPPRINTDLGEXA LPPRINTDLGEX; | |
34795 | ||
34796 | BOOL __attribute__((__stdcall__)) ChooseColorA(LPCHOOSECOLORA lpChCol); | |
34797 | BOOL __attribute__((__stdcall__)) ChooseColorW(LPCHOOSECOLORW lpChCol); | |
34798 | ||
34799 | DWORD __attribute__((__stdcall__)) CommDlgExtendedError(void); | |
34800 | HWND __attribute__((__stdcall__)) FindTextA(LPFINDREPLACEA lpFind); | |
34801 | HWND __attribute__((__stdcall__)) FindTextW(LPFINDREPLACEW lpFind); | |
34802 | ||
34803 | short __attribute__((__stdcall__)) GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, WORD cbBuf); | |
34804 | short __attribute__((__stdcall__)) GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf); | |
34805 | ||
34806 | BOOL __attribute__((__stdcall__)) GetOpenFileNameA(LPOPENFILENAMEA ofn); | |
34807 | BOOL __attribute__((__stdcall__)) GetOpenFileNameW(LPOPENFILENAMEW ofn); | |
34808 | ||
34809 | BOOL __attribute__((__stdcall__)) GetSaveFileNameA(LPOPENFILENAMEA ofn); | |
34810 | BOOL __attribute__((__stdcall__)) GetSaveFileNameW(LPOPENFILENAMEW ofn); | |
34811 | ||
34812 | BOOL __attribute__((__stdcall__)) PageSetupDlgA( LPPAGESETUPDLGA ); | |
34813 | BOOL __attribute__((__stdcall__)) PageSetupDlgW( LPPAGESETUPDLGW ); | |
34814 | ||
34815 | BOOL __attribute__((__stdcall__)) PrintDlgA( LPPRINTDLGA printdlg); | |
34816 | BOOL __attribute__((__stdcall__)) PrintDlgW( LPPRINTDLGW printdlg); | |
34817 | ||
34818 | HRESULT __attribute__((__stdcall__)) PrintDlgExA(LPPRINTDLGEXA); | |
34819 | HRESULT __attribute__((__stdcall__)) PrintDlgExW(LPPRINTDLGEXW); | |
34820 | ||
34821 | HWND __attribute__((__stdcall__)) ReplaceTextA( LPFINDREPLACEA lpFind); | |
34822 | HWND __attribute__((__stdcall__)) ReplaceTextW( LPFINDREPLACEW lpFind); | |
34823 | ||
34824 | BOOL __attribute__((__stdcall__)) ChooseFontA(LPCHOOSEFONTA); | |
34825 | BOOL __attribute__((__stdcall__)) ChooseFontW(LPCHOOSEFONTW); | |
34826 | ||
34827 | ||
34828 | void COMDLG32_SetCommDlgExtendedError(DWORD err); | |
34829 | ||
34830 | ||
34831 | # 1 "../../../include/poppack.h" 1 | |
34832 | # 253 "../../../include/poppack.h" | |
34833 | #pragma pack() | |
34834 | # 761 "../../../include/commdlg.h" 2 | |
34835 | # 80 "../../../include/windows.h" 2 | |
34836 | # 91 "../../../include/windows.h" | |
34837 | # 1 "../../../include/winsvc.h" 1 | |
34838 | # 117 "../../../include/winsvc.h" | |
34839 | typedef struct SC_HANDLE__ { int unused; } *SC_HANDLE; | |
34840 | typedef SC_HANDLE *LPSC_HANDLE; | |
34841 | typedef struct SERVICE_STATUS_HANDLE__ { int unused; } *SERVICE_STATUS_HANDLE; | |
34842 | typedef LPVOID SC_LOCK; | |
34843 | ||
34844 | ||
34845 | ||
34846 | typedef struct _SERVICE_STATUS { | |
34847 | DWORD dwServiceType; | |
34848 | DWORD dwCurrentState; | |
34849 | DWORD dwControlsAccepted; | |
34850 | DWORD dwWin32ExitCode; | |
34851 | DWORD dwServiceSpecificExitCode; | |
34852 | DWORD dwCheckPoint; | |
34853 | DWORD dwWaitHint; | |
34854 | } SERVICE_STATUS, *LPSERVICE_STATUS; | |
34855 | ||
34856 | typedef enum _SC_STATUS_TYPE { | |
34857 | SC_STATUS_PROCESS_INFO = 0 | |
34858 | } SC_STATUS_TYPE; | |
34859 | ||
34860 | ||
34861 | ||
34862 | typedef void (__attribute__((__stdcall__)) *LPSERVICE_MAIN_FUNCTIONA)(DWORD,LPSTR*); | |
34863 | typedef void (__attribute__((__stdcall__)) *LPSERVICE_MAIN_FUNCTIONW)(DWORD,LPWSTR*); | |
34864 | typedef LPSERVICE_MAIN_FUNCTIONA LPSERVICE_MAIN_FUNCTION; | |
34865 | ||
34866 | ||
34867 | ||
34868 | typedef struct _SERVICE_TABLE_ENTRYA { | |
34869 | LPSTR lpServiceName; | |
34870 | LPSERVICE_MAIN_FUNCTIONA lpServiceProc; | |
34871 | } SERVICE_TABLE_ENTRYA, *LPSERVICE_TABLE_ENTRYA; | |
34872 | ||
34873 | typedef struct _SERVICE_TABLE_ENTRYW { | |
34874 | LPWSTR lpServiceName; | |
34875 | LPSERVICE_MAIN_FUNCTIONW lpServiceProc; | |
34876 | } SERVICE_TABLE_ENTRYW, *LPSERVICE_TABLE_ENTRYW; | |
34877 | ||
34878 | typedef SERVICE_TABLE_ENTRYA SERVICE_TABLE_ENTRY; | |
34879 | typedef LPSERVICE_TABLE_ENTRYA LPSERVICE_TABLE_ENTRY; | |
34880 | ||
34881 | ||
34882 | ||
34883 | typedef struct _ENUM_SERVICE_STATUSA { | |
34884 | LPSTR lpServiceName; | |
34885 | LPSTR lpDisplayName; | |
34886 | SERVICE_STATUS ServiceStatus; | |
34887 | } ENUM_SERVICE_STATUSA, *LPENUM_SERVICE_STATUSA; | |
34888 | ||
34889 | typedef struct _ENUM_SERVICE_STATUSW { | |
34890 | LPWSTR lpServiceName; | |
34891 | LPWSTR lpDisplayName; | |
34892 | SERVICE_STATUS ServiceStatus; | |
34893 | } ENUM_SERVICE_STATUSW, *LPENUM_SERVICE_STATUSW; | |
34894 | ||
34895 | typedef enum _SC_ENUM_TYPE { | |
34896 | SC_ENUM_PROCESS_INFO = 0 | |
34897 | } SC_ENUM_TYPE; | |
34898 | ||
34899 | typedef ENUM_SERVICE_STATUSA ENUM_SERVICE_STATUS; | |
34900 | typedef LPENUM_SERVICE_STATUSA LPENUM_SERVICE_STATUS; | |
34901 | ||
34902 | typedef struct _QUERY_SERVICE_CONFIGA { | |
34903 | DWORD dwServiceType; | |
34904 | DWORD dwStartType; | |
34905 | DWORD dwErrorControl; | |
34906 | LPSTR lpBinaryPathName; | |
34907 | LPSTR lpLoadOrderGroup; | |
34908 | DWORD dwTagId; | |
34909 | LPSTR lpDependencies; | |
34910 | LPSTR lpServiceStartName; | |
34911 | LPSTR lpDisplayName; | |
34912 | } QUERY_SERVICE_CONFIGA, *LPQUERY_SERVICE_CONFIGA; | |
34913 | ||
34914 | typedef struct _QUERY_SERVICE_CONFIGW { | |
34915 | DWORD dwServiceType; | |
34916 | DWORD dwStartType; | |
34917 | DWORD dwErrorControl; | |
34918 | LPWSTR lpBinaryPathName; | |
34919 | LPWSTR lpLoadOrderGroup; | |
34920 | DWORD dwTagId; | |
34921 | LPWSTR lpDependencies; | |
34922 | LPWSTR lpServiceStartName; | |
34923 | LPWSTR lpDisplayName; | |
34924 | } QUERY_SERVICE_CONFIGW, *LPQUERY_SERVICE_CONFIGW; | |
34925 | ||
34926 | ||
34927 | ||
34928 | ||
34929 | ||
34930 | typedef struct _SERVICE_DESCRIPTIONA { | |
34931 | LPSTR lpDescription; | |
34932 | } SERVICE_DESCRIPTIONA,*LPSERVICE_DESCRIPTIONA; | |
34933 | ||
34934 | typedef struct _SERVICE_DESCRIPTIONW { | |
34935 | LPWSTR lpDescription; | |
34936 | } SERVICE_DESCRIPTIONW,*LPSERVICE_DESCRIPTIONW; | |
34937 | ||
34938 | typedef SERVICE_DESCRIPTIONA SERVICE_DESCRIPTION; | |
34939 | typedef LPSERVICE_DESCRIPTIONA LPSERVICE_DESCRIPTION; | |
34940 | ||
34941 | typedef enum _SC_ACTION_TYPE { | |
34942 | SC_ACTION_NONE = 0, | |
34943 | SC_ACTION_RESTART = 1, | |
34944 | SC_ACTION_REBOOT = 2, | |
34945 | SC_ACTION_RUN_COMMAND = 3 | |
34946 | } SC_ACTION_TYPE; | |
34947 | ||
34948 | typedef struct _SC_ACTION { | |
34949 | SC_ACTION_TYPE Type; | |
34950 | DWORD Delay; | |
34951 | } SC_ACTION,*LPSC_ACTION; | |
34952 | ||
34953 | typedef struct _SERVICE_FAILURE_ACTIONSA { | |
34954 | DWORD dwResetPeriod; | |
34955 | LPSTR lpRebootMsg; | |
34956 | LPSTR lpCommand; | |
34957 | DWORD cActions; | |
34958 | SC_ACTION * lpsaActions; | |
34959 | } SERVICE_FAILURE_ACTIONSA,*LPSERVICE_FAILURE_ACTIONSA; | |
34960 | ||
34961 | typedef struct _SERVICE_FAILURE_ACTIONSW { | |
34962 | DWORD dwResetPeriod; | |
34963 | LPWSTR lpRebootMsg; | |
34964 | LPWSTR lpCommand; | |
34965 | DWORD cActions; | |
34966 | SC_ACTION * lpsaActions; | |
34967 | } SERVICE_FAILURE_ACTIONSW,*LPSERVICE_FAILURE_ACTIONSW; | |
34968 | ||
34969 | typedef SERVICE_FAILURE_ACTIONSA SERVICE_FAILURE_ACTIONS; | |
34970 | typedef LPSERVICE_FAILURE_ACTIONSA LPSERVICE_FAILURE_ACTIONS; | |
34971 | ||
34972 | typedef struct _QUERY_SERVICE_LOCK_STATUSA | |
34973 | { | |
34974 | DWORD fIsLocked; | |
34975 | LPSTR lpLockOwner; | |
34976 | DWORD dwLockDuration; | |
34977 | } QUERY_SERVICE_LOCK_STATUSA, *LPQUERY_SERVICE_LOCK_STATUSA; | |
34978 | ||
34979 | typedef struct _QUERY_SERVICE_LOCK_STATUSW | |
34980 | { | |
34981 | DWORD fIsLocked; | |
34982 | LPWSTR lpLockOwner; | |
34983 | DWORD dwLockDuration; | |
34984 | } QUERY_SERVICE_LOCK_STATUSW, *LPQUERY_SERVICE_LOCK_STATUSW; | |
34985 | ||
34986 | typedef QUERY_SERVICE_LOCK_STATUSA QUERY_SERVICE_LOCK_STATUS; | |
34987 | ||
34988 | ||
34989 | ||
34990 | typedef void (__attribute__((__stdcall__)) *LPHANDLER_FUNCTION)(DWORD); | |
34991 | typedef DWORD (__attribute__((__stdcall__)) *LPHANDLER_FUNCTION_EX)(DWORD,DWORD,LPVOID,LPVOID); | |
34992 | ||
34993 | ||
34994 | ||
34995 | BOOL __attribute__((__stdcall__)) ChangeServiceConfigA(SC_HANDLE,DWORD,DWORD,DWORD,LPCSTR,LPCSTR,LPDWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR); | |
34996 | BOOL __attribute__((__stdcall__)) ChangeServiceConfigW(SC_HANDLE,DWORD,DWORD,DWORD,LPCWSTR,LPCWSTR,LPDWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); | |
34997 | ||
34998 | BOOL __attribute__((__stdcall__)) ChangeServiceConfig2A(SC_HANDLE,DWORD,LPVOID); | |
34999 | BOOL __attribute__((__stdcall__)) ChangeServiceConfig2W(SC_HANDLE,DWORD,LPVOID); | |
35000 | ||
35001 | BOOL __attribute__((__stdcall__)) CloseServiceHandle(SC_HANDLE); | |
35002 | BOOL __attribute__((__stdcall__)) ControlService(SC_HANDLE,DWORD,LPSERVICE_STATUS); | |
35003 | SC_HANDLE __attribute__((__stdcall__)) CreateServiceA(SC_HANDLE,LPCSTR,LPCSTR,DWORD,DWORD,DWORD,DWORD,LPCSTR, | |
35004 | LPCSTR,LPDWORD,LPCSTR,LPCSTR,LPCSTR); | |
35005 | SC_HANDLE __attribute__((__stdcall__)) CreateServiceW(SC_HANDLE,LPCWSTR,LPCWSTR,DWORD,DWORD,DWORD,DWORD,LPCWSTR, | |
35006 | LPCWSTR,LPDWORD,LPCWSTR,LPCWSTR,LPCWSTR); | |
35007 | ||
35008 | BOOL __attribute__((__stdcall__)) DeleteService(SC_HANDLE); | |
35009 | BOOL __attribute__((__stdcall__)) EnumDependentServicesA(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUSA,DWORD,LPDWORD,LPDWORD); | |
35010 | BOOL __attribute__((__stdcall__)) EnumDependentServicesW(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUSW,DWORD,LPDWORD,LPDWORD); | |
35011 | ||
35012 | BOOL __attribute__((__stdcall__)) EnumServicesStatusA(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUSA, | |
35013 | DWORD,LPDWORD,LPDWORD,LPDWORD); | |
35014 | BOOL __attribute__((__stdcall__)) EnumServicesStatusW(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUSW, | |
35015 | DWORD,LPDWORD,LPDWORD,LPDWORD); | |
35016 | ||
35017 | BOOL __attribute__((__stdcall__)) GetServiceDisplayNameA(SC_HANDLE,LPCSTR,LPSTR,LPDWORD); | |
35018 | BOOL __attribute__((__stdcall__)) GetServiceDisplayNameW(SC_HANDLE,LPCWSTR,LPWSTR,LPDWORD); | |
35019 | ||
35020 | BOOL __attribute__((__stdcall__)) GetServiceKeyNameA(SC_HANDLE,LPCSTR,LPSTR,LPDWORD); | |
35021 | BOOL __attribute__((__stdcall__)) GetServiceKeyNameW(SC_HANDLE,LPCWSTR,LPWSTR,LPDWORD); | |
35022 | ||
35023 | SC_LOCK __attribute__((__stdcall__)) LockServiceDatabase(SC_HANDLE); | |
35024 | BOOL __attribute__((__stdcall__)) NotifyBootConfigStatus(BOOL); | |
35025 | SC_HANDLE __attribute__((__stdcall__)) OpenSCManagerA(LPCSTR,LPCSTR,DWORD); | |
35026 | SC_HANDLE __attribute__((__stdcall__)) OpenSCManagerW(LPCWSTR,LPCWSTR,DWORD); | |
35027 | ||
35028 | SC_HANDLE __attribute__((__stdcall__)) OpenServiceA(SC_HANDLE,LPCSTR,DWORD); | |
35029 | SC_HANDLE __attribute__((__stdcall__)) OpenServiceW(SC_HANDLE,LPCWSTR,DWORD); | |
35030 | ||
35031 | BOOL __attribute__((__stdcall__)) QueryServiceStatus(SC_HANDLE,LPSERVICE_STATUS); | |
35032 | BOOL __attribute__((__stdcall__)) QueryServiceStatusEx(SC_HANDLE,SC_STATUS_TYPE,LPBYTE,DWORD,LPDWORD); | |
35033 | BOOL __attribute__((__stdcall__)) QueryServiceConfigA(SC_HANDLE,LPQUERY_SERVICE_CONFIGA,DWORD,LPDWORD); | |
35034 | BOOL __attribute__((__stdcall__)) QueryServiceConfigW(SC_HANDLE,LPQUERY_SERVICE_CONFIGW,DWORD,LPDWORD); | |
35035 | ||
35036 | BOOL __attribute__((__stdcall__)) QueryServiceLockStatusA(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUSA,DWORD,LPDWORD); | |
35037 | BOOL __attribute__((__stdcall__)) QueryServiceLockStatusW(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUSW,DWORD,LPDWORD); | |
35038 | ||
35039 | BOOL __attribute__((__stdcall__)) QueryServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); | |
35040 | SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerA(LPCSTR,LPHANDLER_FUNCTION); | |
35041 | SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerW(LPCWSTR,LPHANDLER_FUNCTION); | |
35042 | ||
35043 | SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerExA(LPCSTR,LPHANDLER_FUNCTION_EX,LPVOID); | |
35044 | SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerExW(LPCWSTR,LPHANDLER_FUNCTION_EX,LPVOID); | |
35045 | ||
35046 | BOOL __attribute__((__stdcall__)) SetServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); | |
35047 | BOOL __attribute__((__stdcall__)) SetServiceStatus(SERVICE_STATUS_HANDLE,LPSERVICE_STATUS); | |
35048 | BOOL __attribute__((__stdcall__)) StartServiceA(SC_HANDLE,DWORD,LPCSTR*); | |
35049 | BOOL __attribute__((__stdcall__)) StartServiceW(SC_HANDLE,DWORD,LPCWSTR*); | |
35050 | ||
35051 | BOOL __attribute__((__stdcall__)) StartServiceCtrlDispatcherA(LPSERVICE_TABLE_ENTRYA); | |
35052 | BOOL __attribute__((__stdcall__)) StartServiceCtrlDispatcherW(LPSERVICE_TABLE_ENTRYW); | |
35053 | ||
35054 | BOOL __attribute__((__stdcall__)) UnlockServiceDatabase(SC_LOCK); | |
35055 | # 92 "../../../include/windows.h" 2 | |
35056 | ||
35057 | ||
35058 | ||
35059 | # 1 "../../../include/mcx.h" 1 | |
35060 | # 22 "../../../include/mcx.h" | |
35061 | typedef struct tagMODEMDEVCAPS { | |
35062 | DWORD dwActualSize; | |
35063 | DWORD dwRequiredSize; | |
35064 | DWORD dwDevSpecificOffset; | |
35065 | DWORD dwDevSpecificSize; | |
35066 | DWORD dwModemProviderVersion; | |
35067 | DWORD dwModemManufacturerOffset; | |
35068 | DWORD dwModemManufacturerSize; | |
35069 | DWORD dwModemModelOffset; | |
35070 | DWORD dwModemModelSize; | |
35071 | DWORD dwModemVersionOffset; | |
35072 | DWORD dwModemVersionSize; | |
35073 | DWORD dwDialOptions; | |
35074 | DWORD dwCallSetupFailTimer; | |
35075 | DWORD dwInactivityTimeout; | |
35076 | DWORD dwSpeakerVolume; | |
35077 | DWORD dwSpeakerMode; | |
35078 | DWORD dwModemoptions; | |
35079 | DWORD dwMaxDTERate; | |
35080 | DWORD dwMaxDCERate; | |
35081 | BYTE abVariablePortion[1]; | |
35082 | } MODEMDEVCAPS, *LPMODEMDEVCAPS; | |
35083 | ||
35084 | typedef struct tagMODEMSETTINGS { | |
35085 | DWORD dwActualSize; | |
35086 | DWORD dwRequiredSize; | |
35087 | DWORD dwDevSpecificOffset; | |
35088 | DWORD dwDevSpecificSize; | |
35089 | DWORD dwCallSetupFailTimer; | |
35090 | DWORD dwInactivityTimeout; | |
35091 | DWORD dwSpeakerVolume; | |
35092 | DWORD dwSpeakerMode; | |
35093 | DWORD dwPreferredModemOptions; | |
35094 | DWORD dwNegotiatedModemOptions; | |
35095 | DWORD dwNegotiatedDCERate; | |
35096 | BYTE abVariablePortion[1]; | |
35097 | } MODEMSETTINGS, *LPMODEMSETTINGS; | |
35098 | # 96 "../../../include/windows.h" 2 | |
35099 | ||
35100 | ||
35101 | ||
35102 | # 1 "../../../include/imm.h" 1 | |
35103 | # 28 "../../../include/imm.h" | |
35104 | typedef HANDLE HIMC; | |
35105 | typedef HANDLE HIMCC; | |
35106 | ||
35107 | ||
35108 | typedef int (__attribute__((__stdcall__)) *REGISTERWORDENUMPROCA)(LPCSTR, DWORD, LPCSTR, LPVOID); | |
35109 | typedef int (__attribute__((__stdcall__)) *REGISTERWORDENUMPROCW)(LPCWSTR, DWORD, LPCWSTR, LPVOID); | |
35110 | ||
35111 | typedef struct tagCANDIDATEFORM | |
35112 | { | |
35113 | DWORD dwIndex; | |
35114 | DWORD dwStyle; | |
35115 | POINT ptCurrentPos; | |
35116 | RECT rcArea; | |
35117 | } CANDIDATEFORM, *LPCANDIDATEFORM; | |
35118 | ||
35119 | typedef struct tagCANDIDATELIST | |
35120 | { | |
35121 | DWORD dwSize; | |
35122 | DWORD dwStyle; | |
35123 | DWORD dwCount; | |
35124 | DWORD dwSelection; | |
35125 | DWORD dwPageStart; | |
35126 | DWORD dwPageSize; | |
35127 | DWORD dwOffset[1]; | |
35128 | } CANDIDATELIST, *LPCANDIDATELIST; | |
35129 | ||
35130 | typedef struct tagSTYLEBUFA | |
35131 | { | |
35132 | DWORD dwStyle; | |
35133 | CHAR szDescription[32]; | |
35134 | } STYLEBUFA, *LPSTYLEBUFA; | |
35135 | ||
35136 | typedef struct tagSTYLEBUFW | |
35137 | { | |
35138 | DWORD dwStyle; | |
35139 | WCHAR szDescription[32]; | |
35140 | } STYLEBUFW, *LPSTYLEBUFW; | |
35141 | ||
35142 | typedef STYLEBUFA STYLEBUF; | |
35143 | typedef LPSTYLEBUFA LPSTYLEBUF; | |
35144 | ||
35145 | typedef struct tagRECONVERTSTRING | |
35146 | { | |
35147 | DWORD dwSize; | |
35148 | DWORD dwVersion; | |
35149 | DWORD dwStrLen; | |
35150 | DWORD dwStrOffset; | |
35151 | DWORD dwCompStrLen; | |
35152 | DWORD dwCompStrOffset; | |
35153 | DWORD dwTargetStrLen; | |
35154 | DWORD dwTargetStrOffset; | |
35155 | } RECONVERTSTRING, *LPRECONVERTSTRING; | |
35156 | ||
35157 | ||
35158 | ||
35159 | ||
35160 | typedef struct tagIMEMENUITEMINFOA | |
35161 | { | |
35162 | UINT cbSize; | |
35163 | UINT fType; | |
35164 | UINT fState; | |
35165 | UINT wID; | |
35166 | HBITMAP hbmpChecked; | |
35167 | HBITMAP hbmpUnchecked; | |
35168 | DWORD dwItemData; | |
35169 | CHAR szString[80]; | |
35170 | HBITMAP hbmpItem; | |
35171 | } IMEMENUITEMINFOA, *LPIMEMENUITEMINFOA; | |
35172 | ||
35173 | typedef struct tagIMEMENUITEMINFOW | |
35174 | { | |
35175 | UINT cbSize; | |
35176 | UINT fType; | |
35177 | UINT fState; | |
35178 | UINT wID; | |
35179 | HBITMAP hbmpChecked; | |
35180 | HBITMAP hbmpUnchecked; | |
35181 | DWORD dwItemData; | |
35182 | WCHAR szString[80]; | |
35183 | HBITMAP hbmpItem; | |
35184 | } IMEMENUITEMINFOW, *LPIMEMENUITEMINFOW; | |
35185 | ||
35186 | typedef IMEMENUITEMINFOA IMEMENUITEMINFO; | |
35187 | typedef LPIMEMENUITEMINFOA LPIMEMENUITEMINFO; | |
35188 | ||
35189 | ||
35190 | typedef struct _tagCOMPOSITIONFORM | |
35191 | { | |
35192 | DWORD dwStyle; | |
35193 | POINT ptCurrentPos; | |
35194 | RECT rcArea; | |
35195 | } COMPOSITIONFORM, *LPCOMPOSITIONFORM; | |
35196 | # 466 "../../../include/imm.h" | |
35197 | HIMC __attribute__((__stdcall__)) ImmAssociateContext(HWND, HIMC); | |
35198 | BOOL __attribute__((__stdcall__)) ImmAssociateContextEx(HWND, HIMC, DWORD); | |
35199 | BOOL __attribute__((__stdcall__)) ImmConfigureIMEA(HKL, HWND, DWORD, LPVOID); | |
35200 | BOOL __attribute__((__stdcall__)) ImmConfigureIMEW(HKL, HWND, DWORD, LPVOID); | |
35201 | ||
35202 | HIMC __attribute__((__stdcall__)) ImmCreateContext(void); | |
35203 | BOOL __attribute__((__stdcall__)) ImmDestroyContext(HIMC hIMC); | |
35204 | BOOL __attribute__((__stdcall__)) ImmDisableIME(DWORD idThread); | |
35205 | UINT __attribute__((__stdcall__)) ImmEnumRegisterWordA(HKL, REGISTERWORDENUMPROCA, LPCSTR, DWORD, LPCSTR, LPVOID); | |
35206 | UINT __attribute__((__stdcall__)) ImmEnumRegisterWordW(HKL, REGISTERWORDENUMPROCW, LPCWSTR, DWORD, LPCWSTR, LPVOID); | |
35207 | ||
35208 | LRESULT __attribute__((__stdcall__)) ImmEscapeA(HKL, HIMC, UINT, LPVOID); | |
35209 | LRESULT __attribute__((__stdcall__)) ImmEscapeW(HKL, HIMC, UINT, LPVOID); | |
35210 | ||
35211 | DWORD __attribute__((__stdcall__)) ImmGetCandidateListA(HIMC, DWORD, LPCANDIDATELIST, DWORD); | |
35212 | DWORD __attribute__((__stdcall__)) ImmGetCandidateListW(HIMC, DWORD, LPCANDIDATELIST, DWORD); | |
35213 | ||
35214 | DWORD __attribute__((__stdcall__)) ImmGetCandidateListCountA(HIMC, LPDWORD); | |
35215 | DWORD __attribute__((__stdcall__)) ImmGetCandidateListCountW(HIMC, LPDWORD); | |
35216 | ||
35217 | BOOL __attribute__((__stdcall__)) ImmGetCandidateWindow(HIMC, DWORD, LPCANDIDATEFORM); | |
35218 | ||
35219 | BOOL __attribute__((__stdcall__)) ImmGetCompositionFontA(HIMC, LPLOGFONTA); | |
35220 | BOOL __attribute__((__stdcall__)) ImmGetCompositionFontW(HIMC, LPLOGFONTW); | |
35221 | ||
35222 | BOOL __attribute__((__stdcall__)) ImmSetCompositionFontA(HIMC, LPLOGFONTA); | |
35223 | BOOL __attribute__((__stdcall__)) ImmSetCompositionFontW(HIMC, LPLOGFONTW); | |
35224 | ||
35225 | ||
35226 | LONG __attribute__((__stdcall__)) ImmGetCompositionStringA(HIMC, DWORD, LPVOID, DWORD); | |
35227 | LONG __attribute__((__stdcall__)) ImmGetCompositionStringW(HIMC, DWORD, LPVOID, DWORD); | |
35228 | ||
35229 | BOOL __attribute__((__stdcall__)) ImmGetCompositionWindow(HIMC, LPCOMPOSITIONFORM); | |
35230 | HIMC __attribute__((__stdcall__)) ImmGetContext(HWND); | |
35231 | DWORD __attribute__((__stdcall__)) ImmGetConversionListA(HKL, HIMC, LPCSTR, LPCANDIDATELIST, DWORD, UINT); | |
35232 | DWORD __attribute__((__stdcall__)) ImmGetConversionListW(HKL, HIMC, LPCWSTR, LPCANDIDATELIST, DWORD, UINT); | |
35233 | ||
35234 | BOOL __attribute__((__stdcall__)) ImmGetConversionStatus(HIMC, LPDWORD, LPDWORD); | |
35235 | HWND __attribute__((__stdcall__)) ImmGetDefaultIMEWnd(HWND); | |
35236 | UINT __attribute__((__stdcall__)) ImmGetDescriptionA(HKL, LPSTR, UINT); | |
35237 | UINT __attribute__((__stdcall__)) ImmGetDescriptionW(HKL, LPWSTR, UINT); | |
35238 | ||
35239 | DWORD __attribute__((__stdcall__)) ImmGetGuideLineA(HIMC, DWORD, LPSTR, DWORD); | |
35240 | DWORD __attribute__((__stdcall__)) ImmGetGuideLineW(HIMC, DWORD, LPWSTR, DWORD); | |
35241 | ||
35242 | UINT __attribute__((__stdcall__)) ImmGetIMEFileNameA(HKL, LPSTR, UINT); | |
35243 | UINT __attribute__((__stdcall__)) ImmGetIMEFileNameW(HKL, LPWSTR, UINT); | |
35244 | ||
35245 | BOOL __attribute__((__stdcall__)) ImmGetOpenStatus(HIMC); | |
35246 | DWORD __attribute__((__stdcall__)) ImmGetProperty(HKL, DWORD); | |
35247 | UINT __attribute__((__stdcall__)) ImmGetRegisterWordStyleA(HKL, UINT, LPSTYLEBUFA); | |
35248 | UINT __attribute__((__stdcall__)) ImmGetRegisterWordStyleW(HKL, UINT, LPSTYLEBUFW); | |
35249 | ||
35250 | BOOL __attribute__((__stdcall__)) ImmGetStatusWindowPos(HIMC, LPPOINT); | |
35251 | UINT __attribute__((__stdcall__)) ImmGetVirtualKey(HWND); | |
35252 | HKL __attribute__((__stdcall__)) ImmInstallIMEA(LPCSTR, LPCSTR); | |
35253 | HKL __attribute__((__stdcall__)) ImmInstallIMEW(LPCWSTR, LPCWSTR); | |
35254 | ||
35255 | BOOL __attribute__((__stdcall__)) ImmIsIME(HKL); | |
35256 | BOOL __attribute__((__stdcall__)) ImmIsUIMessageA(HWND, UINT, WPARAM, LPARAM); | |
35257 | BOOL __attribute__((__stdcall__)) ImmIsUIMessageW(HWND, UINT, WPARAM, LPARAM); | |
35258 | ||
35259 | BOOL __attribute__((__stdcall__)) ImmNotifyIME(HIMC, DWORD, DWORD, DWORD); | |
35260 | BOOL __attribute__((__stdcall__)) ImmRegisterWordA(HKL, LPCSTR, DWORD, LPCSTR); | |
35261 | BOOL __attribute__((__stdcall__)) ImmRegisterWordW(HKL, LPCWSTR, DWORD, LPCWSTR); | |
35262 | ||
35263 | BOOL __attribute__((__stdcall__)) ImmReleaseContext(HWND, HIMC); | |
35264 | BOOL __attribute__((__stdcall__)) ImmSetCandidateWindow(HIMC, LPCANDIDATEFORM); | |
35265 | BOOL __attribute__((__stdcall__)) ImmSetCompositionStringA(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD); | |
35266 | BOOL __attribute__((__stdcall__)) ImmSetCompositionStringW(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD); | |
35267 | ||
35268 | BOOL __attribute__((__stdcall__)) ImmSetCompositionWindow(HIMC, LPCOMPOSITIONFORM); | |
35269 | BOOL __attribute__((__stdcall__)) ImmSetConversionStatus(HIMC, DWORD, DWORD); | |
35270 | BOOL __attribute__((__stdcall__)) ImmSetOpenStatus(HIMC, BOOL); | |
35271 | BOOL __attribute__((__stdcall__)) ImmSetStatusWindowPos(HIMC, LPPOINT); | |
35272 | BOOL __attribute__((__stdcall__)) ImmSimulateHotKey(HWND, DWORD); | |
35273 | BOOL __attribute__((__stdcall__)) ImmUnregisterWordA(HKL, LPCSTR, DWORD, LPCSTR); | |
35274 | BOOL __attribute__((__stdcall__)) ImmUnregisterWordW(HKL, LPCWSTR, DWORD, LPCWSTR); | |
35275 | # 100 "../../../include/windows.h" 2 | |
35276 | # 106 "../../../include/winsock.h" 2 | |
35277 | # 31 "vartest.c" 2 | |
35278 | # 1 "../../../include/wine/test.h" 1 | |
35279 | # 25 "../../../include/wine/test.h" | |
35280 | # 1 "/usr/include/stdlib.h" 1 3 4 | |
35281 | # 26 "../../../include/wine/test.h" 2 | |
35282 | # 47 "../../../include/wine/test.h" | |
35283 | extern int winetest_debug; | |
35284 | ||
35285 | ||
35286 | extern int winetest_interactive; | |
35287 | ||
35288 | ||
35289 | extern const char *winetest_platform; | |
35290 | ||
35291 | extern void winetest_set_location( const char* file, int line ); | |
35292 | extern void winetest_start_todo( const char* platform ); | |
35293 | extern int winetest_loop_todo(void); | |
35294 | extern void winetest_end_todo( const char* platform ); | |
35295 | extern int winetest_get_mainargs( char*** pargv ); | |
35296 | # 72 "../../../include/wine/test.h" | |
35297 | extern int winetest_ok( int condition, const char *msg, ... ) __attribute__((format (printf,2,3) )); | |
35298 | extern void winetest_trace( const char *msg, ... ) __attribute__((format (printf,1,2))); | |
35299 | # 32 "vartest.c" 2 | |
35300 | ||
35301 | ||
35302 | ||
35303 | ||
35304 | ||
35305 | ||
35306 | # 1 "../../../include/wtypes.h" 1 | |
35307 | ||
35308 | # 1 "../../../include/rpc.h" 1 | |
35309 | # 3 "../../../include/wtypes.h" 2 | |
35310 | # 1 "../../../include/rpcndr.h" 1 | |
35311 | # 4 "../../../include/wtypes.h" 2 | |
35312 | # 39 "vartest.c" 2 | |
35313 | ||
35314 | ||
35315 | static HMODULE hOleaut32; | |
35316 | ||
35317 | static HRESULT (__attribute__((__stdcall__)) *pVarUdateFromDate)(DATE,ULONG,UDATE*); | |
35318 | static HRESULT (__attribute__((__stdcall__)) *pVarDateFromUdate)(UDATE*,ULONG,DATE*); | |
35319 | static INT (__attribute__((__stdcall__)) *pSystemTimeToVariantTime)(LPSYSTEMTIME,double*); | |
35320 | static INT (__attribute__((__stdcall__)) *pVariantTimeToSystemTime)(double,LPSYSTEMTIME); | |
35321 | static INT (__attribute__((__stdcall__)) *pDosDateTimeToVariantTime)(USHORT,USHORT,double*); | |
35322 | static INT (__attribute__((__stdcall__)) *pVariantTimeToDosDateTime)(double,USHORT*,USHORT *); | |
35323 | # 110 "vartest.c" | |
35324 | static inline int strcmpW( const WCHAR *str1, const WCHAR *str2 ) | |
35325 | { | |
35326 | while (*str1 && (*str1 == *str2)) { str1++; str2++; } | |
35327 | return *str1 - *str2; | |
35328 | } | |
35329 | ||
35330 | ||
35331 | static const char *vtstr(int x) | |
35332 | { | |
35333 | switch(x) { | |
35334 | case 0: | |
35335 | return "VT_EMPTY"; | |
35336 | case 1: | |
35337 | return "VT_NULL"; | |
35338 | case 2: | |
35339 | return "VT_I2"; | |
35340 | case 3: | |
35341 | return "VT_I4"; | |
35342 | case 4: | |
35343 | return "VT_R4"; | |
35344 | case 5: | |
35345 | return "VT_R8"; | |
35346 | case 6: | |
35347 | return "VT_CY"; | |
35348 | case 7: | |
35349 | return "VT_DATE"; | |
35350 | case 8: | |
35351 | return "VT_BSTR"; | |
35352 | case 9: | |
35353 | return "VT_DISPATCH"; | |
35354 | case 10: | |
35355 | return "VT_ERROR"; | |
35356 | case 11: | |
35357 | return "VT_BOOL"; | |
35358 | case 12: | |
35359 | return "VT_VARIANT"; | |
35360 | case 13: | |
35361 | return "VT_UNKNOWN"; | |
35362 | case 14: | |
35363 | return "VT_DECIMAL"; | |
35364 | case 15: | |
35365 | return "notdefined"; | |
35366 | case 16: | |
35367 | return "VT_I1"; | |
35368 | case 17: | |
35369 | return "VT_UI1"; | |
35370 | case 18: | |
35371 | return "VT_UI2"; | |
35372 | case 19: | |
35373 | return "VT_UI4"; | |
35374 | case 20: | |
35375 | return "VT_I8"; | |
35376 | case 21: | |
35377 | return "VT_UI8"; | |
35378 | case 22: | |
35379 | return "VT_INT"; | |
35380 | case 23: | |
35381 | return "VT_UINT"; | |
35382 | case 24: | |
35383 | return "VT_VOID"; | |
35384 | case 25: | |
35385 | return "VT_HRESULT"; | |
35386 | case 26: | |
35387 | return "VT_PTR"; | |
35388 | case 27: | |
35389 | return "VT_SAFEARRAY"; | |
35390 | case 28: | |
35391 | return "VT_CARRAY"; | |
35392 | case 29: | |
35393 | return "VT_USERDEFINED"; | |
35394 | case 30: | |
35395 | return "VT_LPSTR"; | |
35396 | case 31: | |
35397 | return "VT_LPWSTR"; | |
35398 | case 36: | |
35399 | return "VT_RECORD"; | |
35400 | case 64: | |
35401 | return "VT_FILETIME"; | |
35402 | case 65: | |
35403 | return "VT_BLOB"; | |
35404 | case 66: | |
35405 | return "VT_STREAM"; | |
35406 | case 67: | |
35407 | return "VT_STORAGE"; | |
35408 | case 68: | |
35409 | return "VT_STREAMED_OBJECT"; | |
35410 | case 69: | |
35411 | return "VT_STORED_OBJECT"; | |
35412 | case 70: | |
35413 | return "VT_BLOB_OBJECT"; | |
35414 | case 71: | |
35415 | return "VT_CF"; | |
35416 | case 72: | |
35417 | return "VT_CLSID"; | |
35418 | case 0xFFF: | |
35419 | return "VT_BSTR_BLOB/VT_ILLEGALMASKED/VT_TYPEMASK"; | |
35420 | case 0x1000: | |
35421 | return "VT_VECTOR"; | |
35422 | case 0x2000: | |
35423 | return "VT_ARRAY"; | |
35424 | case 0x4000: | |
35425 | return "VT_BYREF"; | |
35426 | case 0x8000: | |
35427 | return "VT_RESERVED"; | |
35428 | case 0xFFFF: | |
35429 | return "VT_ILLEGAL"; | |
35430 | ||
35431 | default: | |
35432 | return "defineme"; | |
35433 | } | |
35434 | } | |
35435 | ||
35436 | static void test_VariantInit(void) | |
35437 | { | |
35438 | VARIANTARG v1, v2; | |
35439 | ||
35440 | ||
35441 | memset(&v1, -1, sizeof(v1)); | |
35442 | v2 = v1; | |
35443 | ((&v2)->n1.n2.vt) = VT_EMPTY; | |
35444 | VariantInit(&v1); | |
35445 | (winetest_set_location("vartest.c", 231), 0) ? 0 : winetest_ok(!memcmp(&v1, &v2, sizeof(v1)), "VariantInit() set extra fields\n"); | |
35446 | } | |
35447 | ||
35448 | ||
35449 | static const VARTYPE ExtraFlags[16] = | |
35450 | { | |
35451 | 0, | |
35452 | VT_VECTOR, | |
35453 | VT_ARRAY, | |
35454 | VT_BYREF, | |
35455 | VT_RESERVED, | |
35456 | VT_VECTOR|VT_ARRAY, | |
35457 | VT_VECTOR|VT_BYREF, | |
35458 | VT_VECTOR|VT_RESERVED, | |
35459 | VT_VECTOR|VT_ARRAY|VT_BYREF, | |
35460 | VT_VECTOR|VT_ARRAY|VT_RESERVED, | |
35461 | VT_VECTOR|VT_BYREF|VT_RESERVED, | |
35462 | VT_VECTOR|VT_ARRAY|VT_BYREF|VT_RESERVED, | |
35463 | VT_ARRAY|VT_BYREF, | |
35464 | VT_ARRAY|VT_RESERVED, | |
35465 | VT_ARRAY|VT_BYREF|VT_RESERVED, | |
35466 | VT_BYREF|VT_RESERVED, | |
35467 | }; | |
35468 | ||
35469 | ||
35470 | static int IsValidVariantClearVT(VARTYPE vt, VARTYPE extraFlags) | |
35471 | { | |
35472 | int ret = 0; | |
35473 | ||
35474 | ||
35475 | if ((vt <= VT_LPWSTR || vt == VT_RECORD || vt == VT_CLSID) && | |
35476 | vt != (VARTYPE)15 && | |
35477 | (vt < (VARTYPE)24 || vt > (VARTYPE)31) && | |
35478 | (!(extraFlags & (VT_BYREF|VT_ARRAY)) || vt > VT_NULL) && | |
35479 | (extraFlags == 0 || extraFlags == VT_BYREF || extraFlags == VT_ARRAY || | |
35480 | extraFlags == (VT_ARRAY|VT_BYREF))) | |
35481 | ret = 1; | |
35482 | ||
35483 | if ((vt == VT_RECORD && !((void*)GetProcAddress(hOleaut32, "SafeArraySetRecordInfo") != ((void *)0))) || | |
35484 | ((vt == VT_I8 || vt == VT_UI8) && !((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0)))) | |
35485 | ret = 0; | |
35486 | return ret; | |
35487 | } | |
35488 | ||
35489 | typedef struct | |
35490 | { | |
35491 | const IUnknownVtbl *lpVtbl; | |
35492 | LONG ref; | |
35493 | LONG events; | |
35494 | } test_VariantClearImpl; | |
35495 | ||
35496 | static HRESULT __attribute__((__stdcall__)) VC_QueryInterface(LPUNKNOWN iface,const IID* const riid,LPVOID *ppobj) | |
35497 | { | |
35498 | test_VariantClearImpl *This = (test_VariantClearImpl *)iface; | |
35499 | This->events |= 0x1; | |
35500 | return ((HRESULT)0x80004002L); | |
35501 | } | |
35502 | ||
35503 | static ULONG __attribute__((__stdcall__)) VC_AddRef(LPUNKNOWN iface) { | |
35504 | test_VariantClearImpl *This = (test_VariantClearImpl *)iface; | |
35505 | This->events |= 0x2; | |
35506 | return InterlockedIncrement(&This->ref); | |
35507 | } | |
35508 | ||
35509 | static ULONG __attribute__((__stdcall__)) VC_Release(LPUNKNOWN iface) { | |
35510 | test_VariantClearImpl *This = (test_VariantClearImpl *)iface; | |
35511 | ||
35512 | This->events |= 0x4; | |
35513 | return InterlockedDecrement(&This->ref); | |
35514 | } | |
35515 | ||
35516 | static const IUnknownVtbl test_VariantClear_vtbl = { | |
35517 | VC_QueryInterface, | |
35518 | VC_AddRef, | |
35519 | VC_Release, | |
35520 | }; | |
35521 | ||
35522 | static test_VariantClearImpl test_myVariantClearImpl = {&test_VariantClear_vtbl, 1, 0}; | |
35523 | ||
35524 | static void test_VariantClear(void) | |
35525 | { | |
35526 | HRESULT hres; | |
35527 | VARIANTARG v; | |
35528 | VARIANT v2; | |
35529 | size_t i; | |
35530 | LONG i4; | |
35531 | IUnknown *punk; | |
35532 | ||
35533 | ||
35534 | ||
35535 | ||
35536 | ||
35537 | ||
35538 | ||
35539 | ((&v)->n1.n2.vt) = VT_UI4; | |
35540 | ((&v)->n1.n2.n3.ulVal) = ~0u; | |
35541 | hres = VariantClear(&v); | |
35542 | (winetest_set_location("vartest.c", 328), 0) ? 0 : winetest_ok((hres == ((HRESULT)0L) && ((&v)->n1.n2.vt) == VT_EMPTY) || | |
35543 | ((!((void*)GetProcAddress(hOleaut32, "VarI1FromI2") != ((void *)0))) && hres == ((HRESULT)0x80020008L) && ((&v)->n1.n2.vt) == VT_UI4), | |
35544 | "VariantClear: Type set to %d, res %08lx\n", ((&v)->n1.n2.vt), hres); | |
35545 | (winetest_set_location("vartest.c", 331), 0) ? 0 : winetest_ok(((&v)->n1.n2.n3.ulVal) == ~0u, "VariantClear: Overwrote value\n"); | |
35546 | ||
35547 | ||
35548 | ||
35549 | ||
35550 | ||
35551 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]) && !(!((void*)GetProcAddress(hOleaut32, "VarI1FromI2") != ((void *)0))); i++) | |
35552 | { | |
35553 | VARTYPE vt; | |
35554 | ||
35555 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
35556 | { | |
35557 | HRESULT hExpected = ((HRESULT)0x80020008L); | |
35558 | ||
35559 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
35560 | ||
35561 | memset(&v, 0, sizeof(v)); | |
35562 | ((&v)->n1.n2.vt) = vt | ExtraFlags[i]; | |
35563 | ||
35564 | hres = VariantClear(&v); | |
35565 | ||
35566 | if (IsValidVariantClearVT(vt, ExtraFlags[i])) | |
35567 | hExpected = ((HRESULT)0L); | |
35568 | ||
35569 | (winetest_set_location("vartest.c", 355), 0) ? 0 : winetest_ok(hres == hExpected, "VariantClear: expected 0x%lX, got 0x%lX for vt %d | 0x%X\n", | |
35570 | hExpected, hres, vt, ExtraFlags[i]); | |
35571 | } | |
35572 | } | |
35573 | ||
35574 | ||
35575 | ||
35576 | ||
35577 | ((&v2)->n1.n2.vt) = VT_I4; | |
35578 | ((&v2)->n1.n2.n3.lVal) = 0x1234; | |
35579 | ((&v)->n1.n2.vt) = VT_VARIANT | VT_BYREF; | |
35580 | ((&v)->n1.n2.n3.pvarVal) = &v2; | |
35581 | ||
35582 | hres = VariantClear(&v); | |
35583 | (winetest_set_location("vartest.c", 369), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "ret %08lx\n", hres); | |
35584 | (winetest_set_location("vartest.c", 370), 0) ? 0 : winetest_ok(((&v)->n1.n2.vt) == 0, "vt %04x\n", ((&v)->n1.n2.vt)); | |
35585 | (winetest_set_location("vartest.c", 371), 0) ? 0 : winetest_ok(((&v)->n1.n2.n3.pvarVal) == &v2, "variant ref %p\n", ((&v2)->n1.n2.n3.pvarVal)); | |
35586 | (winetest_set_location("vartest.c", 372), 0) ? 0 : winetest_ok(((&v2)->n1.n2.vt) == VT_I4, "vt %04x\n", ((&v2)->n1.n2.vt)); | |
35587 | (winetest_set_location("vartest.c", 373), 0) ? 0 : winetest_ok(((&v2)->n1.n2.n3.lVal) == 0x1234, "i4 %04lx\n", ((&v2)->n1.n2.n3.lVal)); | |
35588 | ||
35589 | ||
35590 | i4 = 0x4321; | |
35591 | ((&v)->n1.n2.vt) = VT_I4 | VT_BYREF; | |
35592 | ((&v)->n1.n2.n3.plVal) = &i4; | |
35593 | ||
35594 | hres = VariantClear(&v); | |
35595 | (winetest_set_location("vartest.c", 381), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "ret %08lx\n", hres); | |
35596 | (winetest_set_location("vartest.c", 382), 0) ? 0 : winetest_ok(((&v)->n1.n2.vt) == 0, "vt %04x\n", ((&v)->n1.n2.vt)); | |
35597 | (winetest_set_location("vartest.c", 383), 0) ? 0 : winetest_ok(((&v)->n1.n2.n3.plVal) == &i4, "i4 ref %p\n", ((&v2)->n1.n2.n3.plVal)); | |
35598 | (winetest_set_location("vartest.c", 384), 0) ? 0 : winetest_ok(i4 == 0x4321, "i4 changed %08lx\n", i4); | |
35599 | ||
35600 | ||
35601 | ||
35602 | ((&v)->n1.n2.vt) = VT_UNKNOWN; | |
35603 | ((&v)->n1.n2.n3.punkVal) = (IUnknown*)&test_myVariantClearImpl; | |
35604 | test_myVariantClearImpl.events = 0; | |
35605 | hres = VariantClear(&v); | |
35606 | (winetest_set_location("vartest.c", 392), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "ret %08lx\n", hres); | |
35607 | (winetest_set_location("vartest.c", 393), 0) ? 0 : winetest_ok(((&v)->n1.n2.vt) == 0, "vt %04x\n", ((&v)->n1.n2.vt)); | |
35608 | (winetest_set_location("vartest.c", 394), 0) ? 0 : winetest_ok(((&v)->n1.n2.n3.punkVal) == (IUnknown*)&test_myVariantClearImpl, "unknown %p\n", ((&v)->n1.n2.n3.punkVal)); | |
35609 | ||
35610 | (winetest_set_location("vartest.c", 396), 0) ? 0 : winetest_ok(test_myVariantClearImpl.events == 0x4, "Unexpected call. events %08lx\n", test_myVariantClearImpl.events); | |
35611 | ||
35612 | ||
35613 | punk = (IUnknown*)&test_myVariantClearImpl; | |
35614 | ((&v)->n1.n2.vt) = VT_UNKNOWN | VT_BYREF; | |
35615 | ((&v)->n1.n2.n3.ppunkVal) = &punk; | |
35616 | test_myVariantClearImpl.events = 0; | |
35617 | hres = VariantClear(&v); | |
35618 | (winetest_set_location("vartest.c", 404), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "ret %08lx\n", hres); | |
35619 | (winetest_set_location("vartest.c", 405), 0) ? 0 : winetest_ok(((&v)->n1.n2.vt) == 0, "vt %04x\n", ((&v)->n1.n2.vt)); | |
35620 | (winetest_set_location("vartest.c", 406), 0) ? 0 : winetest_ok(((&v)->n1.n2.n3.ppunkVal) == &punk, "unknown ref %p\n", ((&v)->n1.n2.n3.ppunkVal)); | |
35621 | ||
35622 | (winetest_set_location("vartest.c", 408), 0) ? 0 : winetest_ok(test_myVariantClearImpl.events == 0, "Unexpected call. events %08lx\n", test_myVariantClearImpl.events); | |
35623 | ||
35624 | ||
35625 | ((&v)->n1.n2.vt) = VT_DISPATCH; | |
35626 | ((&v)->n1.n2.n3.pdispVal) = (IDispatch*)&test_myVariantClearImpl; | |
35627 | test_myVariantClearImpl.events = 0; | |
35628 | hres = VariantClear(&v); | |
35629 | (winetest_set_location("vartest.c", 415), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "ret %08lx\n", hres); | |
35630 | (winetest_set_location("vartest.c", 416), 0) ? 0 : winetest_ok(((&v)->n1.n2.vt) == 0, "vt %04x\n", ((&v)->n1.n2.vt)); | |
35631 | (winetest_set_location("vartest.c", 417), 0) ? 0 : winetest_ok(((&v)->n1.n2.n3.pdispVal) == (IDispatch*)&test_myVariantClearImpl, "dispatch %p\n", ((&v)->n1.n2.n3.pdispVal)); | |
35632 | ||
35633 | (winetest_set_location("vartest.c", 419), 0) ? 0 : winetest_ok(test_myVariantClearImpl.events == 0x4, "Unexpected call. events %08lx\n", test_myVariantClearImpl.events); | |
35634 | ||
35635 | ||
35636 | punk = (IUnknown*)&test_myVariantClearImpl; | |
35637 | ((&v)->n1.n2.vt) = VT_DISPATCH | VT_BYREF; | |
35638 | ((&v)->n1.n2.n3.ppdispVal) = (IDispatch**)&punk; | |
35639 | test_myVariantClearImpl.events = 0; | |
35640 | hres = VariantClear(&v); | |
35641 | (winetest_set_location("vartest.c", 427), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "ret %08lx\n", hres); | |
35642 | (winetest_set_location("vartest.c", 428), 0) ? 0 : winetest_ok(((&v)->n1.n2.vt) == 0, "vt %04x\n", ((&v)->n1.n2.vt)); | |
35643 | (winetest_set_location("vartest.c", 429), 0) ? 0 : winetest_ok(((&v)->n1.n2.n3.ppdispVal) == (IDispatch**)&punk, "dispatch ref %p\n", ((&v)->n1.n2.n3.ppdispVal)); | |
35644 | ||
35645 | (winetest_set_location("vartest.c", 431), 0) ? 0 : winetest_ok(test_myVariantClearImpl.events == 0, "Unexpected call. events %08lx\n", test_myVariantClearImpl.events); | |
35646 | } | |
35647 | ||
35648 | static void test_VariantCopy(void) | |
35649 | { | |
35650 | VARIANTARG vSrc, vDst; | |
35651 | VARTYPE vt; | |
35652 | size_t i; | |
35653 | HRESULT hres, hExpected; | |
35654 | ||
35655 | ||
35656 | ||
35657 | ||
35658 | ||
35659 | ||
35660 | ||
35661 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]) && !(!((void*)GetProcAddress(hOleaut32, "VarI1FromI2") != ((void *)0))); i++) | |
35662 | { | |
35663 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
35664 | { | |
35665 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
35666 | ||
35667 | memset(&vSrc, 0, sizeof(vSrc)); | |
35668 | ((&vSrc)->n1.n2.vt) = vt | ExtraFlags[i]; | |
35669 | ||
35670 | hExpected = ((HRESULT)0x80020008L); | |
35671 | ||
35672 | if (vt != VT_CLSID && IsValidVariantClearVT(vt, ExtraFlags[i])) | |
35673 | hExpected = ((HRESULT)0L); | |
35674 | ||
35675 | hres = VariantCopy(&vSrc, &vSrc); | |
35676 | ||
35677 | (winetest_set_location("vartest.c", 463), 0) ? 0 : winetest_ok(hres == hExpected, | |
35678 | "Copy(src==dst): expected 0x%lX, got 0x%lX for src==dest vt %d|0x%X\n", | |
35679 | hExpected, hres, vt, ExtraFlags[i]); | |
35680 | } | |
35681 | } | |
35682 | ||
35683 | ||
35684 | ||
35685 | ||
35686 | memset(&vSrc, 0, sizeof(vSrc)); | |
35687 | ((&vSrc)->n1.n2.vt) = VT_UI1; | |
35688 | ||
35689 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]) && !(!((void*)GetProcAddress(hOleaut32, "VarI1FromI2") != ((void *)0))); i++) | |
35690 | { | |
35691 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
35692 | { | |
35693 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
35694 | ||
35695 | hExpected = ((HRESULT)0x80020008L); | |
35696 | ||
35697 | memset(&vDst, 0, sizeof(vDst)); | |
35698 | ((&vDst)->n1.n2.vt) = vt | ExtraFlags[i]; | |
35699 | ||
35700 | if (IsValidVariantClearVT(vt, ExtraFlags[i])) | |
35701 | hExpected = ((HRESULT)0L); | |
35702 | ||
35703 | hres = VariantCopy(&vDst, &vSrc); | |
35704 | ||
35705 | (winetest_set_location("vartest.c", 491), 0) ? 0 : winetest_ok(hres == hExpected, | |
35706 | "Copy(bad dst): expected 0x%lX, got 0x%lX for dest vt %d|0x%X\n", | |
35707 | hExpected, hres, vt, ExtraFlags[i]); | |
35708 | if (hres == ((HRESULT)0L)) | |
35709 | (winetest_set_location("vartest.c", 495), 0) ? 0 : winetest_ok(((&vDst)->n1.n2.vt) == VT_UI1, | |
35710 | "Copy(bad dst): expected vt = VT_UI1, got %d\n", ((&vDst)->n1.n2.vt)); | |
35711 | } | |
35712 | } | |
35713 | ||
35714 | ||
35715 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]) && !(!((void*)GetProcAddress(hOleaut32, "VarI1FromI2") != ((void *)0))); i++) | |
35716 | { | |
35717 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
35718 | { | |
35719 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
35720 | ||
35721 | hExpected = ((HRESULT)0x80020008L); | |
35722 | ||
35723 | memset(&vDst, 0, sizeof(vDst)); | |
35724 | ((&vDst)->n1.n2.vt) = VT_EMPTY; | |
35725 | ||
35726 | memset(&vSrc, 0, sizeof(vSrc)); | |
35727 | ((&vSrc)->n1.n2.vt) = vt | ExtraFlags[i]; | |
35728 | ||
35729 | ||
35730 | if (vt != VT_CLSID && IsValidVariantClearVT(vt, ExtraFlags[i])) | |
35731 | hExpected = ((HRESULT)0L); | |
35732 | ||
35733 | hres = VariantCopy(&vDst, &vSrc); | |
35734 | ||
35735 | (winetest_set_location("vartest.c", 521), 0) ? 0 : winetest_ok(hres == hExpected, | |
35736 | "Copy(bad src): expected 0x%lX, got 0x%lX for src vt %d|0x%X\n", | |
35737 | hExpected, hres, vt, ExtraFlags[i]); | |
35738 | if (hres == ((HRESULT)0L)) | |
35739 | (winetest_set_location("vartest.c", 525), 0) ? 0 : winetest_ok(((&vDst)->n1.n2.vt) == (vt|ExtraFlags[i]), | |
35740 | "Copy(bad src): expected vt = %d, got %d\n", | |
35741 | vt | ExtraFlags[i], ((&vDst)->n1.n2.vt)); | |
35742 | } | |
35743 | } | |
35744 | ||
35745 | ||
35746 | memset(&vDst, 0, sizeof(vDst)); | |
35747 | ((&vDst)->n1.n2.vt) = VT_EMPTY; | |
35748 | memset(&vSrc, 0, sizeof(vSrc)); | |
35749 | ((&vSrc)->n1.n2.vt) = VT_BSTR; | |
35750 | hres = VariantCopy(&vDst, &vSrc); | |
35751 | (winetest_set_location("vartest.c", 537), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "Copy(NULL BSTR): Failed to copy a NULL BSTR\n"); | |
35752 | if (hres == ((HRESULT)0L)) | |
35753 | { | |
35754 | (winetest_set_location("vartest.c", 540), 0) ? 0 : winetest_ok((((&vDst)->n1.n2.vt) == VT_BSTR) && ((&vDst)->n1.n2.n3.bstrVal), | |
35755 | "Copy(NULL BSTR): should have non-NULL result\n"); | |
35756 | if ((((&vDst)->n1.n2.vt) == VT_BSTR) && ((&vDst)->n1.n2.n3.bstrVal)) | |
35757 | { | |
35758 | (winetest_set_location("vartest.c", 544), 0) ? 0 : winetest_ok(*((&vDst)->n1.n2.n3.bstrVal) == 0, "Copy(NULL BSTR): result not empty\n"); | |
35759 | } | |
35760 | } | |
35761 | } | |
35762 | ||
35763 | ||
35764 | static int IsValidVariantCopyIndVT(VARTYPE vt, VARTYPE extraFlags) | |
35765 | { | |
35766 | int ret = 0; | |
35767 | ||
35768 | if ((extraFlags & VT_ARRAY) || | |
35769 | (vt > VT_NULL && vt != (VARTYPE)15 && vt < VT_VOID && | |
35770 | !(extraFlags & (VT_VECTOR|VT_RESERVED)))) | |
35771 | { | |
35772 | ret = 1; | |
35773 | } | |
35774 | return ret; | |
35775 | } | |
35776 | ||
35777 | static void test_VariantCopyInd(void) | |
35778 | { | |
35779 | VARIANTARG vSrc, vDst, vRef, vRef2; | |
35780 | VARTYPE vt; | |
35781 | size_t i; | |
35782 | BYTE buffer[64]; | |
35783 | HRESULT hres, hExpected; | |
35784 | ||
35785 | memset(buffer, 0, sizeof(buffer)); | |
35786 | ||
35787 | ||
35788 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]) && !(!((void*)GetProcAddress(hOleaut32, "VarI1FromI2") != ((void *)0))); i++) | |
35789 | { | |
35790 | if (ExtraFlags[i] & VT_ARRAY) | |
35791 | continue; | |
35792 | ||
35793 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
35794 | { | |
35795 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
35796 | ||
35797 | memset(&vSrc, 0, sizeof(vSrc)); | |
35798 | ((&vSrc)->n1.n2.vt) = vt | ExtraFlags[i]; | |
35799 | ||
35800 | hExpected = ((HRESULT)0x80020008L); | |
35801 | if (!(ExtraFlags[i] & VT_BYREF)) | |
35802 | { | |
35803 | ||
35804 | if (vt != VT_CLSID && IsValidVariantClearVT(vt, ExtraFlags[i])) | |
35805 | hExpected = ((HRESULT)0L); | |
35806 | } | |
35807 | else | |
35808 | { | |
35809 | if (vt == VT_SAFEARRAY || vt == VT_BSTR || vt == VT_UNKNOWN || | |
35810 | vt == VT_DISPATCH || vt == VT_RECORD) | |
35811 | continue; | |
35812 | ||
35813 | ((&vSrc)->n1.n2.n3.byref) = &buffer; | |
35814 | hExpected = ((HRESULT)0x80070057L); | |
35815 | ||
35816 | if ((vt == VT_I8 || vt == VT_UI8) && | |
35817 | ExtraFlags[i] == VT_BYREF) | |
35818 | { | |
35819 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
35820 | hExpected = ((HRESULT)0L); | |
35821 | } | |
35822 | else if (IsValidVariantCopyIndVT(vt, ExtraFlags[i])) | |
35823 | hExpected = ((HRESULT)0L); | |
35824 | } | |
35825 | ||
35826 | hres = VariantCopyInd(&vSrc, &vSrc); | |
35827 | ||
35828 | (winetest_set_location("vartest.c", 614), 0) ? 0 : winetest_ok(hres == hExpected, | |
35829 | "CopyInd(src==dst): expected 0x%lX, got 0x%lX for src==dst vt %d|0x%X\n", | |
35830 | hExpected, hres, vt, ExtraFlags[i]); | |
35831 | } | |
35832 | } | |
35833 | ||
35834 | ||
35835 | memset(&vSrc, 0, sizeof(vSrc)); | |
35836 | ((&vSrc)->n1.n2.vt) = VT_UI1|VT_BYREF; | |
35837 | ((&vSrc)->n1.n2.n3.byref) = &buffer; | |
35838 | ||
35839 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]) && !(!((void*)GetProcAddress(hOleaut32, "VarI1FromI2") != ((void *)0))); i++) | |
35840 | { | |
35841 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
35842 | { | |
35843 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
35844 | ||
35845 | memset(&vDst, 0, sizeof(vDst)); | |
35846 | ((&vDst)->n1.n2.vt) = vt | ExtraFlags[i]; | |
35847 | ||
35848 | hExpected = ((HRESULT)0x80020008L); | |
35849 | ||
35850 | if (IsValidVariantClearVT(vt, ExtraFlags[i])) | |
35851 | hExpected = ((HRESULT)0L); | |
35852 | ||
35853 | hres = VariantCopyInd(&vDst, &vSrc); | |
35854 | ||
35855 | (winetest_set_location("vartest.c", 641), 0) ? 0 : winetest_ok(hres == hExpected, | |
35856 | "CopyInd(bad dst): expected 0x%lX, got 0x%lX for dst vt %d|0x%X\n", | |
35857 | hExpected, hres, vt, ExtraFlags[i]); | |
35858 | if (hres == ((HRESULT)0L)) | |
35859 | (winetest_set_location("vartest.c", 645), 0) ? 0 : winetest_ok(((&vDst)->n1.n2.vt) == VT_UI1, | |
35860 | "CopyInd(bad dst): expected vt = VT_UI1, got %d\n", ((&vDst)->n1.n2.vt)); | |
35861 | } | |
35862 | } | |
35863 | ||
35864 | ||
35865 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]) && !(!((void*)GetProcAddress(hOleaut32, "VarI1FromI2") != ((void *)0))); i++) | |
35866 | { | |
35867 | if (ExtraFlags[i] & VT_ARRAY) | |
35868 | continue; | |
35869 | ||
35870 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
35871 | { | |
35872 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
35873 | ||
35874 | memset(&vDst, 0, sizeof(vDst)); | |
35875 | ((&vDst)->n1.n2.vt) = VT_EMPTY; | |
35876 | ||
35877 | memset(&vSrc, 0, sizeof(vSrc)); | |
35878 | ((&vSrc)->n1.n2.vt) = vt | ExtraFlags[i]; | |
35879 | ||
35880 | hExpected = ((HRESULT)0x80020008L); | |
35881 | if (!(ExtraFlags[i] & VT_BYREF)) | |
35882 | { | |
35883 | ||
35884 | if (vt != VT_CLSID && IsValidVariantClearVT(vt, ExtraFlags[i])) | |
35885 | hExpected = ((HRESULT)0L); | |
35886 | } | |
35887 | else | |
35888 | { | |
35889 | if (vt == VT_SAFEARRAY || vt == VT_BSTR || vt == VT_UNKNOWN || | |
35890 | vt == VT_DISPATCH || vt == VT_RECORD) | |
35891 | continue; | |
35892 | ||
35893 | ((&vSrc)->n1.n2.n3.byref) = &buffer; | |
35894 | ||
35895 | hExpected = ((HRESULT)0x80070057L); | |
35896 | ||
35897 | if ((vt == VT_I8 || vt == VT_UI8) && | |
35898 | ExtraFlags[i] == VT_BYREF) | |
35899 | { | |
35900 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
35901 | hExpected = ((HRESULT)0L); | |
35902 | } | |
35903 | else if (IsValidVariantCopyIndVT(vt, ExtraFlags[i])) | |
35904 | hExpected = ((HRESULT)0L); | |
35905 | } | |
35906 | ||
35907 | hres = VariantCopyInd(&vDst, &vSrc); | |
35908 | ||
35909 | (winetest_set_location("vartest.c", 695), 0) ? 0 : winetest_ok(hres == hExpected, | |
35910 | "CopyInd(bad src): expected 0x%lX, got 0x%lX for src vt %d|0x%X\n", | |
35911 | hExpected, hres, vt, ExtraFlags[i]); | |
35912 | if (hres == ((HRESULT)0L)) | |
35913 | { | |
35914 | if (vt == VT_VARIANT && ExtraFlags[i] == VT_BYREF) | |
35915 | { | |
35916 | ||
35917 | ||
35918 | ||
35919 | ||
35920 | (winetest_set_location("vartest.c", 706), 0) ? 0 : winetest_ok(((&vDst)->n1.n2.vt) == VT_EMPTY, | |
35921 | "CopyInd(bad src): expected dst vt = VT_EMPTY, got %d|0x%X\n", | |
35922 | ((&vDst)->n1.n2.vt) & VT_TYPEMASK, ((&vDst)->n1.n2.vt) & ~VT_TYPEMASK); | |
35923 | } | |
35924 | else | |
35925 | { | |
35926 | (winetest_set_location("vartest.c", 712), 0) ? 0 : winetest_ok(((&vDst)->n1.n2.vt) == (vt|(ExtraFlags[i] & ~VT_BYREF)), | |
35927 | "CopyInd(bad src): expected dst vt = %d|0x%X, got %d|0x%X\n", | |
35928 | vt, ExtraFlags[i] & ~VT_BYREF, | |
35929 | ((&vDst)->n1.n2.vt) & VT_TYPEMASK, ((&vDst)->n1.n2.vt) & ~VT_TYPEMASK); | |
35930 | } | |
35931 | } | |
35932 | } | |
35933 | } | |
35934 | ||
35935 | ||
35936 | ((&vRef)->n1.n2.vt) = VT_UI1; | |
35937 | ((&vRef)->n1.n2.n3.bVal) = 0x77; | |
35938 | ((&vSrc)->n1.n2.vt) = VT_VARIANT|VT_BYREF; | |
35939 | ((&vSrc)->n1.n2.n3.pvarVal) = &vRef; | |
35940 | VariantInit(&vDst); | |
35941 | ||
35942 | hres = VariantCopyInd(&vDst, &vSrc); | |
35943 | (winetest_set_location("vartest.c", 729), 0) ? 0 : winetest_ok(((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == 0x77, | |
35944 | "CopyInd(deref): expected dst vt = VT_UI1, val 0x77, got %d|0x%X, 0x%2X\n", | |
35945 | ((&vDst)->n1.n2.vt) & VT_TYPEMASK, ((&vDst)->n1.n2.vt) & ~VT_TYPEMASK, ((&vDst)->n1.n2.n3.bVal)); | |
35946 | ||
35947 | ||
35948 | ((&vRef)->n1.n2.vt) = VT_UI1|VT_BYREF; | |
35949 | ((&vRef)->n1.n2.n3.pbVal) = buffer; buffer[0] = 0x88; | |
35950 | ((&vSrc)->n1.n2.vt) = VT_VARIANT|VT_BYREF; | |
35951 | ((&vSrc)->n1.n2.n3.pvarVal) = &vRef; | |
35952 | VariantInit(&vDst); | |
35953 | ||
35954 | hres = VariantCopyInd(&vDst, &vSrc); | |
35955 | (winetest_set_location("vartest.c", 741), 0) ? 0 : winetest_ok(((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == 0x88, | |
35956 | "CopyInd(deref): expected dst vt = VT_UI1, val 0x77, got %d|0x%X, 0x%2X\n", | |
35957 | ((&vDst)->n1.n2.vt) & VT_TYPEMASK, ((&vDst)->n1.n2.vt) & ~VT_TYPEMASK, ((&vDst)->n1.n2.n3.bVal)); | |
35958 | ||
35959 | ||
35960 | ((&vRef2)->n1.n2.vt) = VT_UI1; | |
35961 | ((&vRef2)->n1.n2.n3.bVal) = 0x77; | |
35962 | ((&vRef)->n1.n2.vt) = VT_VARIANT|VT_BYREF; | |
35963 | ((&vRef)->n1.n2.n3.pvarVal) = &vRef2; | |
35964 | ((&vSrc)->n1.n2.vt) = VT_VARIANT|VT_BYREF; | |
35965 | ((&vSrc)->n1.n2.n3.pvarVal) = &vRef; | |
35966 | VariantInit(&vDst); | |
35967 | ||
35968 | hres = VariantCopyInd(&vDst, &vSrc); | |
35969 | (winetest_set_location("vartest.c", 755), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80070057L), | |
35970 | "CopyInd(ref->ref): expected E_INVALIDARG, got 0x%08lx\n", hres); | |
35971 | } | |
35972 | ||
35973 | static HRESULT (__attribute__((__stdcall__)) *pVarParseNumFromStr)(OLECHAR*,LCID,ULONG,NUMPARSE*,BYTE*); | |
35974 | # 780 "vartest.c" | |
35975 | static void test_VarParseNumFromStr(void) | |
35976 | { | |
35977 | HRESULT hres; | |
35978 | OLECHAR buff[128]; | |
35979 | ||
35980 | LCID lcid = (((LONG)(((WORD)((DWORD_PTR)(((((WORD)(0x01))<<10) | (WORD)(0x09))) & 0xFFFF)) | ((DWORD)((WORD)((DWORD_PTR)(0x0) & 0xFFFF))) << 16))); | |
35981 | NUMPARSE np; | |
35982 | BYTE rgb[128]; | |
35983 | ||
35984 | ||
35985 | ||
35986 | pVarParseNumFromStr = (void*)GetProcAddress(hOleaut32, "VarParseNumFromStr"); if (!pVarParseNumFromStr) { (winetest_set_location("vartest.c", 791), 0) ? (void)0 : winetest_trace("function " "VarParseNumFromStr" " not available, not testing it\n"); return; }; | |
35987 | ||
35988 | ||
35989 | MultiByteToWideChar(0,0,"7",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
35990 | (winetest_set_location("vartest.c", 795), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 795), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 795), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 795), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 795), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 795), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 795), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
35991 | (winetest_set_location("vartest.c", 796), 0) ? 0 : winetest_ok(rgb[0] == 7, "Digit[%d], expected %d, got %d\n", 0, 7, rgb[0]); (winetest_set_location("vartest.c", 796), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
35992 | ||
35993 | ||
35994 | MultiByteToWideChar(0,0,"10",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
35995 | (winetest_set_location("vartest.c", 800), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 800), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 800), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 800), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 800), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 800), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 800), 0) ? 0 : winetest_ok(np.nPwr10 == (1), "Expected nPwr10 = %d, got %d\n", (1), np.nPwr10); }; | |
35996 | ||
35997 | ||
35998 | ||
35999 | ||
36000 | (winetest_set_location("vartest.c", 805), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); | |
36001 | ||
36002 | ||
36003 | MultiByteToWideChar(0,0,"11",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = 1; np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36004 | (winetest_set_location("vartest.c", 809), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 809), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 809), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 809), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x20000), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x20000), np.dwOutFlags); (winetest_set_location("vartest.c", 809), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 809), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 809), 0) ? 0 : winetest_ok(np.nPwr10 == (1), "Expected nPwr10 = %d, got %d\n", (1), np.nPwr10); }; | |
36005 | (winetest_set_location("vartest.c", 810), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 810), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36006 | ||
36007 | ||
36008 | MultiByteToWideChar(0,0,"01",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36009 | (winetest_set_location("vartest.c", 814), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 814), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 814), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 814), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 814), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 814), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 814), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36010 | (winetest_set_location("vartest.c", 815), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 815), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36011 | ||
36012 | ||
36013 | MultiByteToWideChar(0,0,"01",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = 1; np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36014 | (winetest_set_location("vartest.c", 819), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 819), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 819), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 819), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 819), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 819), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 819), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36015 | (winetest_set_location("vartest.c", 820), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 820), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36016 | ||
36017 | ||
36018 | ||
36019 | MultiByteToWideChar(0,0,"a",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36020 | (winetest_set_location("vartest.c", 825), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x80020005L), "Call succeeded, hres = %08lx\n", hres); | |
36021 | (winetest_set_location("vartest.c", 826), 0) ? 0 : winetest_ok(rgb[0] == 255, "Digit[%d], expected %d, got %d\n", 0, 255, rgb[0]); | |
36022 | ||
36023 | ||
36024 | ||
36025 | ||
36026 | MultiByteToWideChar(0,0," 0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36027 | (winetest_set_location("vartest.c", 832), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x80020005L), "Call succeeded, hres = %08lx\n", hres); | |
36028 | (winetest_set_location("vartest.c", 833), 0) ? 0 : winetest_ok(rgb[0] == 255, "Digit[%d], expected %d, got %d\n", 0, 255, rgb[0]); | |
36029 | ||
36030 | ||
36031 | ||
36032 | MultiByteToWideChar(0,0," 0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00001; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36033 | (winetest_set_location("vartest.c", 838), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 838), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 838), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00001), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00001), np.dwInFlags); (winetest_set_location("vartest.c", 838), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00001), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00001), np.dwOutFlags); (winetest_set_location("vartest.c", 838), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 838), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 838), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36034 | (winetest_set_location("vartest.c", 839), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 839), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36035 | ||
36036 | ||
36037 | MultiByteToWideChar(0,0,"\t0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00001; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36038 | (winetest_set_location("vartest.c", 843), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 843), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 843), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00001), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00001), np.dwInFlags); (winetest_set_location("vartest.c", 843), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00001), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00001), np.dwOutFlags); (winetest_set_location("vartest.c", 843), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 843), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 843), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36039 | (winetest_set_location("vartest.c", 844), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 844), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36040 | ||
36041 | ||
36042 | ||
36043 | MultiByteToWideChar(0,0,"0 ",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36044 | (winetest_set_location("vartest.c", 849), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 849), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 849), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 849), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 849), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 849), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 849), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36045 | (winetest_set_location("vartest.c", 850), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 850), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36046 | ||
36047 | ||
36048 | MultiByteToWideChar(0,0,"0 ",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00002; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36049 | (winetest_set_location("vartest.c", 854), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 854), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 854), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00002), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00002), np.dwInFlags); (winetest_set_location("vartest.c", 854), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00002), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00002), np.dwOutFlags); (winetest_set_location("vartest.c", 854), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 854), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 854), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36050 | (winetest_set_location("vartest.c", 855), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 855), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36051 | ||
36052 | ||
36053 | MultiByteToWideChar(0,0," 0 ",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00001; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36054 | (winetest_set_location("vartest.c", 859), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 859), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 859), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00001), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00001), np.dwInFlags); (winetest_set_location("vartest.c", 859), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00001), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00001), np.dwOutFlags); (winetest_set_location("vartest.c", 859), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 859), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 859), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36055 | (winetest_set_location("vartest.c", 860), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 860), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36056 | ||
36057 | ||
36058 | MultiByteToWideChar(0,0," 0 ",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00001|0x00002; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36059 | (winetest_set_location("vartest.c", 864), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 864), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 864), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00001|0x00002), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00001|0x00002), np.dwInFlags); (winetest_set_location("vartest.c", 864), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00001|0x00002), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00001|0x00002), np.dwOutFlags); (winetest_set_location("vartest.c", 864), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 864), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 864), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36060 | (winetest_set_location("vartest.c", 865), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 865), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36061 | ||
36062 | ||
36063 | ||
36064 | ||
36065 | MultiByteToWideChar(0,0,"+0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36066 | (winetest_set_location("vartest.c", 871), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x80020005L), "Call succeeded, hres = %08lx\n", hres); | |
36067 | (winetest_set_location("vartest.c", 872), 0) ? 0 : winetest_ok(rgb[0] == 255, "Digit[%d], expected %d, got %d\n", 0, 255, rgb[0]); | |
36068 | ||
36069 | ||
36070 | MultiByteToWideChar(0,0,"+0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00004; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36071 | (winetest_set_location("vartest.c", 876), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 876), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 876), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00004), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004), np.dwInFlags); (winetest_set_location("vartest.c", 876), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00004), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004), np.dwOutFlags); (winetest_set_location("vartest.c", 876), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 876), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 876), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36072 | (winetest_set_location("vartest.c", 877), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 877), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36073 | ||
36074 | ||
36075 | MultiByteToWideChar(0,0,"0+",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36076 | (winetest_set_location("vartest.c", 881), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 881), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 881), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 881), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 881), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 881), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 881), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36077 | (winetest_set_location("vartest.c", 882), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 882), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36078 | ||
36079 | ||
36080 | MultiByteToWideChar(0,0,"0+",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00008; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36081 | (winetest_set_location("vartest.c", 886), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 886), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 886), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00008), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00008), np.dwInFlags); (winetest_set_location("vartest.c", 886), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00008), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00008), np.dwOutFlags); (winetest_set_location("vartest.c", 886), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 886), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 886), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36082 | (winetest_set_location("vartest.c", 887), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 887), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36083 | ||
36084 | ||
36085 | MultiByteToWideChar(0,0,"+0+",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00004; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36086 | (winetest_set_location("vartest.c", 891), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 891), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 891), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00004), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004), np.dwInFlags); (winetest_set_location("vartest.c", 891), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00004), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004), np.dwOutFlags); (winetest_set_location("vartest.c", 891), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 891), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 891), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36087 | (winetest_set_location("vartest.c", 892), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 892), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36088 | ||
36089 | ||
36090 | MultiByteToWideChar(0,0,"+0+",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00004|0x00008; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36091 | (winetest_set_location("vartest.c", 896), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 896), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 896), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00004|0x00008), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004|0x00008), np.dwInFlags); (winetest_set_location("vartest.c", 896), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00004), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004), np.dwOutFlags); (winetest_set_location("vartest.c", 896), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 896), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 896), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36092 | (winetest_set_location("vartest.c", 897), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 897), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36093 | ||
36094 | ||
36095 | ||
36096 | ||
36097 | MultiByteToWideChar(0,0,"-0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36098 | (winetest_set_location("vartest.c", 903), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x80020005L), "Call succeeded, hres = %08lx\n", hres); | |
36099 | (winetest_set_location("vartest.c", 904), 0) ? 0 : winetest_ok(rgb[0] == 255, "Digit[%d], expected %d, got %d\n", 0, 255, rgb[0]); | |
36100 | ||
36101 | ||
36102 | MultiByteToWideChar(0,0,"-0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00010; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36103 | (winetest_set_location("vartest.c", 908), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 908), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 908), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00010), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00010), np.dwInFlags); (winetest_set_location("vartest.c", 908), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x10000|0x00010), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x10000|0x00010), np.dwOutFlags); (winetest_set_location("vartest.c", 908), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 908), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 908), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36104 | (winetest_set_location("vartest.c", 909), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 909), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36105 | ||
36106 | ||
36107 | MultiByteToWideChar(0,0,"0-",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36108 | (winetest_set_location("vartest.c", 913), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 913), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 913), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 913), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 913), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 913), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 913), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36109 | (winetest_set_location("vartest.c", 914), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 914), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36110 | ||
36111 | ||
36112 | MultiByteToWideChar(0,0,"0-",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00020; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36113 | (winetest_set_location("vartest.c", 918), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 918), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 918), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00020), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00020), np.dwInFlags); (winetest_set_location("vartest.c", 918), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x10000|0x00020), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x10000|0x00020), np.dwOutFlags); (winetest_set_location("vartest.c", 918), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 918), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 918), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36114 | (winetest_set_location("vartest.c", 919), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 919), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36115 | ||
36116 | ||
36117 | MultiByteToWideChar(0,0,"-0-",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00010; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36118 | (winetest_set_location("vartest.c", 923), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 923), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 923), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00010), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00010), np.dwInFlags); (winetest_set_location("vartest.c", 923), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x10000|0x00010), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x10000|0x00010), np.dwOutFlags); (winetest_set_location("vartest.c", 923), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 923), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 923), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36119 | (winetest_set_location("vartest.c", 924), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 924), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36120 | ||
36121 | ||
36122 | MultiByteToWideChar(0,0,"-0-",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00010|0x00020; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36123 | (winetest_set_location("vartest.c", 928), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 928), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 928), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00010|0x00020), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00010|0x00020), np.dwInFlags); (winetest_set_location("vartest.c", 928), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x10000|0x00010), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x10000|0x00010), np.dwOutFlags); (winetest_set_location("vartest.c", 928), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 928), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 928), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36124 | (winetest_set_location("vartest.c", 929), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 929), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36125 | ||
36126 | ||
36127 | ||
36128 | ||
36129 | MultiByteToWideChar(0,0,"0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36130 | (winetest_set_location("vartest.c", 935), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 935), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 935), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00040), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00040), np.dwInFlags); (winetest_set_location("vartest.c", 935), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 935), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 935), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 935), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36131 | (winetest_set_location("vartest.c", 936), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 936), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36132 | ||
36133 | ||
36134 | MultiByteToWideChar(0,0,"0h",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36135 | (winetest_set_location("vartest.c", 940), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 940), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 940), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00040), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00040), np.dwInFlags); (winetest_set_location("vartest.c", 940), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 940), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 940), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 940), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36136 | (winetest_set_location("vartest.c", 941), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 941), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36137 | ||
36138 | ||
36139 | MultiByteToWideChar(0,0,"0x",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36140 | (winetest_set_location("vartest.c", 945), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 945), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 945), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00040), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00040), np.dwInFlags); (winetest_set_location("vartest.c", 945), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 945), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 945), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 945), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36141 | (winetest_set_location("vartest.c", 946), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 946), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36142 | ||
36143 | ||
36144 | MultiByteToWideChar(0,0,"0x0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36145 | (winetest_set_location("vartest.c", 950), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 950), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 950), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00040), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00040), np.dwInFlags); (winetest_set_location("vartest.c", 950), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 950), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 950), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 950), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36146 | (winetest_set_location("vartest.c", 951), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 951), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36147 | ||
36148 | ||
36149 | MultiByteToWideChar(0,0,"FE",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36150 | (winetest_set_location("vartest.c", 955), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x80020005L), "Call succeeded, hres = %08lx\n", hres); | |
36151 | (winetest_set_location("vartest.c", 956), 0) ? 0 : winetest_ok(rgb[0] == 255, "Digit[%d], expected %d, got %d\n", 0, 255, rgb[0]); | |
36152 | ||
36153 | ||
36154 | MultiByteToWideChar(0,0,"0100",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36155 | (winetest_set_location("vartest.c", 960), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 960), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 960), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00040), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00040), np.dwInFlags); (winetest_set_location("vartest.c", 960), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 960), 0) ? 0 : winetest_ok(np.cchUsed == (4), "Expected cchUsed = %d, got %d\n", (4), np.cchUsed); (winetest_set_location("vartest.c", 960), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 960), 0) ? 0 : winetest_ok(np.nPwr10 == (2), "Expected nPwr10 = %d, got %d\n", (2), np.nPwr10); }; | |
36156 | (winetest_set_location("vartest.c", 961), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); | |
36157 | (winetest_set_location("vartest.c", 962), 0) ? 0 : winetest_ok(rgb[1] == 0, "Digit[%d], expected %d, got %d\n", 1, 0, rgb[1]); | |
36158 | (winetest_set_location("vartest.c", 963), 0) ? 0 : winetest_ok(rgb[2] == 0, "Digit[%d], expected %d, got %d\n", 2, 0, rgb[2]); | |
36159 | (winetest_set_location("vartest.c", 964), 0) ? 0 : winetest_ok(rgb[3] == 255, "Digit[%d], expected %d, got %d\n", 3, 255, rgb[3]); | |
36160 | ||
36161 | ||
36162 | MultiByteToWideChar(0,0,"&HF800",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36163 | (winetest_set_location("vartest.c", 968), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 968), 0) ? 0 : winetest_ok(np.cDig == (4), "Expected cDig = %d, got %d\n", (4), np.cDig); (winetest_set_location("vartest.c", 968), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00040), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00040), np.dwInFlags); (winetest_set_location("vartest.c", 968), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x40), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x40), np.dwOutFlags); (winetest_set_location("vartest.c", 968), 0) ? 0 : winetest_ok(np.cchUsed == (6), "Expected cchUsed = %d, got %d\n", (6), np.cchUsed); (winetest_set_location("vartest.c", 968), 0) ? 0 : winetest_ok(np.nBaseShift == (4), "Expected nBaseShift = %d, got %d\n", (4), np.nBaseShift); (winetest_set_location("vartest.c", 968), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36164 | (winetest_set_location("vartest.c", 969), 0) ? 0 : winetest_ok(rgb[0] == 15, "Digit[%d], expected %d, got %d\n", 0, 15, rgb[0]); | |
36165 | (winetest_set_location("vartest.c", 970), 0) ? 0 : winetest_ok(rgb[1] == 8, "Digit[%d], expected %d, got %d\n", 1, 8, rgb[1]); | |
36166 | (winetest_set_location("vartest.c", 971), 0) ? 0 : winetest_ok(rgb[2] == 0, "Digit[%d], expected %d, got %d\n", 2, 0, rgb[2]); | |
36167 | (winetest_set_location("vartest.c", 972), 0) ? 0 : winetest_ok(rgb[3] == 0, "Digit[%d], expected %d, got %d\n", 3, 0, rgb[3]); | |
36168 | (winetest_set_location("vartest.c", 973), 0) ? 0 : winetest_ok(rgb[4] == 255, "Digit[%d], expected %d, got %d\n", 4, 255, rgb[4]); | |
36169 | ||
36170 | ||
36171 | MultiByteToWideChar(0,0,"&h0abcdef",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36172 | (winetest_set_location("vartest.c", 977), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 977), 0) ? 0 : winetest_ok(np.cDig == (6), "Expected cDig = %d, got %d\n", (6), np.cDig); (winetest_set_location("vartest.c", 977), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00040), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00040), np.dwInFlags); (winetest_set_location("vartest.c", 977), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x40), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x40), np.dwOutFlags); (winetest_set_location("vartest.c", 977), 0) ? 0 : winetest_ok(np.cchUsed == (9), "Expected cchUsed = %d, got %d\n", (9), np.cchUsed); (winetest_set_location("vartest.c", 977), 0) ? 0 : winetest_ok(np.nBaseShift == (4), "Expected nBaseShift = %d, got %d\n", (4), np.nBaseShift); (winetest_set_location("vartest.c", 977), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36173 | (winetest_set_location("vartest.c", 978), 0) ? 0 : winetest_ok(rgb[0] == 10, "Digit[%d], expected %d, got %d\n", 0, 10, rgb[0]); | |
36174 | (winetest_set_location("vartest.c", 979), 0) ? 0 : winetest_ok(rgb[1] == 11, "Digit[%d], expected %d, got %d\n", 1, 11, rgb[1]); | |
36175 | (winetest_set_location("vartest.c", 980), 0) ? 0 : winetest_ok(rgb[2] == 12, "Digit[%d], expected %d, got %d\n", 2, 12, rgb[2]); | |
36176 | (winetest_set_location("vartest.c", 981), 0) ? 0 : winetest_ok(rgb[3] == 13, "Digit[%d], expected %d, got %d\n", 3, 13, rgb[3]); | |
36177 | (winetest_set_location("vartest.c", 982), 0) ? 0 : winetest_ok(rgb[4] == 14, "Digit[%d], expected %d, got %d\n", 4, 14, rgb[4]); | |
36178 | (winetest_set_location("vartest.c", 983), 0) ? 0 : winetest_ok(rgb[5] == 15, "Digit[%d], expected %d, got %d\n", 5, 15, rgb[5]); | |
36179 | (winetest_set_location("vartest.c", 984), 0) ? 0 : winetest_ok(rgb[6] == 255, "Digit[%d], expected %d, got %d\n", 6, 255, rgb[6]); | |
36180 | ||
36181 | ||
36182 | MultiByteToWideChar(0,0,"&O300",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36183 | (winetest_set_location("vartest.c", 988), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 988), 0) ? 0 : winetest_ok(np.cDig == (3), "Expected cDig = %d, got %d\n", (3), np.cDig); (winetest_set_location("vartest.c", 988), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00040), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00040), np.dwInFlags); (winetest_set_location("vartest.c", 988), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x40), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x40), np.dwOutFlags); (winetest_set_location("vartest.c", 988), 0) ? 0 : winetest_ok(np.cchUsed == (5), "Expected cchUsed = %d, got %d\n", (5), np.cchUsed); (winetest_set_location("vartest.c", 988), 0) ? 0 : winetest_ok(np.nBaseShift == (3), "Expected nBaseShift = %d, got %d\n", (3), np.nBaseShift); (winetest_set_location("vartest.c", 988), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36184 | (winetest_set_location("vartest.c", 989), 0) ? 0 : winetest_ok(rgb[0] == 3, "Digit[%d], expected %d, got %d\n", 0, 3, rgb[0]); | |
36185 | (winetest_set_location("vartest.c", 990), 0) ? 0 : winetest_ok(rgb[1] == 0, "Digit[%d], expected %d, got %d\n", 1, 0, rgb[1]); | |
36186 | (winetest_set_location("vartest.c", 991), 0) ? 0 : winetest_ok(rgb[2] == 0, "Digit[%d], expected %d, got %d\n", 2, 0, rgb[2]); | |
36187 | (winetest_set_location("vartest.c", 992), 0) ? 0 : winetest_ok(rgb[3] == 255, "Digit[%d], expected %d, got %d\n", 3, 255, rgb[3]); | |
36188 | ||
36189 | ||
36190 | MultiByteToWideChar(0,0,"&o0777",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36191 | (winetest_set_location("vartest.c", 996), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 996), 0) ? 0 : winetest_ok(np.cDig == (3), "Expected cDig = %d, got %d\n", (3), np.cDig); (winetest_set_location("vartest.c", 996), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00040), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00040), np.dwInFlags); (winetest_set_location("vartest.c", 996), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x40), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x40), np.dwOutFlags); (winetest_set_location("vartest.c", 996), 0) ? 0 : winetest_ok(np.cchUsed == (6), "Expected cchUsed = %d, got %d\n", (6), np.cchUsed); (winetest_set_location("vartest.c", 996), 0) ? 0 : winetest_ok(np.nBaseShift == (3), "Expected nBaseShift = %d, got %d\n", (3), np.nBaseShift); (winetest_set_location("vartest.c", 996), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36192 | (winetest_set_location("vartest.c", 997), 0) ? 0 : winetest_ok(rgb[0] == 7, "Digit[%d], expected %d, got %d\n", 0, 7, rgb[0]); | |
36193 | (winetest_set_location("vartest.c", 998), 0) ? 0 : winetest_ok(rgb[1] == 7, "Digit[%d], expected %d, got %d\n", 1, 7, rgb[1]); | |
36194 | (winetest_set_location("vartest.c", 999), 0) ? 0 : winetest_ok(rgb[2] == 7, "Digit[%d], expected %d, got %d\n", 2, 7, rgb[2]); | |
36195 | (winetest_set_location("vartest.c", 1000), 0) ? 0 : winetest_ok(rgb[3] == 255, "Digit[%d], expected %d, got %d\n", 3, 255, rgb[3]); | |
36196 | ||
36197 | ||
36198 | MultiByteToWideChar(0,0,"&o128",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00040; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36199 | # 1012 "vartest.c" | |
36200 | MultiByteToWideChar(0,0,"()",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00080; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36201 | (winetest_set_location("vartest.c", 1013), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x80020005L), "Call succeeded, hres = %08lx\n", hres); | |
36202 | (winetest_set_location("vartest.c", 1014), 0) ? 0 : winetest_ok(rgb[0] == 255, "Digit[%d], expected %d, got %d\n", 0, 255, rgb[0]); | |
36203 | ||
36204 | ||
36205 | MultiByteToWideChar(0,0,"0()",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00080; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36206 | (winetest_set_location("vartest.c", 1018), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1018), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1018), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00080), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00080), np.dwInFlags); (winetest_set_location("vartest.c", 1018), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 1018), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 1018), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1018), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36207 | (winetest_set_location("vartest.c", 1019), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 1019), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36208 | ||
36209 | ||
36210 | MultiByteToWideChar(0,0,"(0)",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00080; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36211 | (winetest_set_location("vartest.c", 1023), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1023), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1023), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00080), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00080), np.dwInFlags); (winetest_set_location("vartest.c", 1023), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x10000|0x00080), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x10000|0x00080), np.dwOutFlags); (winetest_set_location("vartest.c", 1023), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1023), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1023), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36212 | (winetest_set_location("vartest.c", 1024), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 1024), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36213 | ||
36214 | ||
36215 | ||
36216 | ||
36217 | MultiByteToWideChar(0,0,"0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00200; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36218 | (winetest_set_location("vartest.c", 1030), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1030), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1030), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00200), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00200), np.dwInFlags); (winetest_set_location("vartest.c", 1030), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 1030), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 1030), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1030), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36219 | (winetest_set_location("vartest.c", 1031), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 1031), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36220 | ||
36221 | ||
36222 | MultiByteToWideChar(0,0,"1,000",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00200; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36223 | (winetest_set_location("vartest.c", 1035), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1035), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1035), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00200), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00200), np.dwInFlags); (winetest_set_location("vartest.c", 1035), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00200), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00200), np.dwOutFlags); (winetest_set_location("vartest.c", 1035), 0) ? 0 : winetest_ok(np.cchUsed == (5), "Expected cchUsed = %d, got %d\n", (5), np.cchUsed); (winetest_set_location("vartest.c", 1035), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1035), 0) ? 0 : winetest_ok(np.nPwr10 == (3), "Expected nPwr10 = %d, got %d\n", (3), np.nPwr10); }; | |
36224 | (winetest_set_location("vartest.c", 1036), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); | |
36225 | ||
36226 | ||
36227 | MultiByteToWideChar(0,0,"1,000.0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00200; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36228 | (winetest_set_location("vartest.c", 1040), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1040), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1040), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00200), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00200), np.dwInFlags); (winetest_set_location("vartest.c", 1040), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00200), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00200), np.dwOutFlags); (winetest_set_location("vartest.c", 1040), 0) ? 0 : winetest_ok(np.cchUsed == (5), "Expected cchUsed = %d, got %d\n", (5), np.cchUsed); (winetest_set_location("vartest.c", 1040), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1040), 0) ? 0 : winetest_ok(np.nPwr10 == (3), "Expected nPwr10 = %d, got %d\n", (3), np.nPwr10); }; | |
36229 | (winetest_set_location("vartest.c", 1041), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); | |
36230 | ||
36231 | ||
36232 | ||
36233 | ||
36234 | MultiByteToWideChar(0,0,"$11",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36235 | (winetest_set_location("vartest.c", 1047), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x80020005L), "Call succeeded, hres = %08lx\n", hres); | |
36236 | (winetest_set_location("vartest.c", 1048), 0) ? 0 : winetest_ok(rgb[0] == 255, "Digit[%d], expected %d, got %d\n", 0, 255, rgb[0]); | |
36237 | ||
36238 | ||
36239 | MultiByteToWideChar(0,0,"$11",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00400; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36240 | (winetest_set_location("vartest.c", 1052), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1052), 0) ? 0 : winetest_ok(np.cDig == (2), "Expected cDig = %d, got %d\n", (2), np.cDig); (winetest_set_location("vartest.c", 1052), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00400), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00400), np.dwInFlags); (winetest_set_location("vartest.c", 1052), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00400), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00400), np.dwOutFlags); (winetest_set_location("vartest.c", 1052), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1052), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1052), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36241 | (winetest_set_location("vartest.c", 1053), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1053), 0) ? 0 : winetest_ok(rgb[1] == 1, "Digit[%d], expected %d, got %d\n", 1, 1, rgb[1]); | |
36242 | (winetest_set_location("vartest.c", 1054), 0) ? 0 : winetest_ok(rgb[2] == 255, "Digit[%d], expected %d, got %d\n", 2, 255, rgb[2]); | |
36243 | ||
36244 | ||
36245 | MultiByteToWideChar(0,0,"$11.1",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00400; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36246 | (winetest_set_location("vartest.c", 1058), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1058), 0) ? 0 : winetest_ok(np.cDig == (2), "Expected cDig = %d, got %d\n", (2), np.cDig); (winetest_set_location("vartest.c", 1058), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00400), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00400), np.dwInFlags); (winetest_set_location("vartest.c", 1058), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00400), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00400), np.dwOutFlags); (winetest_set_location("vartest.c", 1058), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1058), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1058), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36247 | (winetest_set_location("vartest.c", 1059), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1059), 0) ? 0 : winetest_ok(rgb[1] == 1, "Digit[%d], expected %d, got %d\n", 1, 1, rgb[1]); | |
36248 | (winetest_set_location("vartest.c", 1060), 0) ? 0 : winetest_ok(rgb[2] == 255, "Digit[%d], expected %d, got %d\n", 2, 255, rgb[2]); | |
36249 | ||
36250 | ||
36251 | MultiByteToWideChar(0,0,"$11.1",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00400|0x00100; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36252 | (winetest_set_location("vartest.c", 1064), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1064), 0) ? 0 : winetest_ok(np.cDig == (3), "Expected cDig = %d, got %d\n", (3), np.cDig); (winetest_set_location("vartest.c", 1064), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00400|0x00100), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00400|0x00100), np.dwInFlags); (winetest_set_location("vartest.c", 1064), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00400|0x00100), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00400|0x00100), np.dwOutFlags); (winetest_set_location("vartest.c", 1064), 0) ? 0 : winetest_ok(np.cchUsed == (5), "Expected cchUsed = %d, got %d\n", (5), np.cchUsed); (winetest_set_location("vartest.c", 1064), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1064), 0) ? 0 : winetest_ok(np.nPwr10 == (-1), "Expected nPwr10 = %d, got %d\n", (-1), np.nPwr10); }; | |
36253 | (winetest_set_location("vartest.c", 1065), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1065), 0) ? 0 : winetest_ok(rgb[1] == 1, "Digit[%d], expected %d, got %d\n", 1, 1, rgb[1]); | |
36254 | (winetest_set_location("vartest.c", 1066), 0) ? 0 : winetest_ok(rgb[2] == 1, "Digit[%d], expected %d, got %d\n", 2, 1, rgb[2]); | |
36255 | (winetest_set_location("vartest.c", 1067), 0) ? 0 : winetest_ok(rgb[3] == 255, "Digit[%d], expected %d, got %d\n", 3, 255, rgb[3]); | |
36256 | ||
36257 | ||
36258 | MultiByteToWideChar(0,0,"$1,234",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00400|0x00200; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36259 | (winetest_set_location("vartest.c", 1071), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1071), 0) ? 0 : winetest_ok(np.cDig == (4), "Expected cDig = %d, got %d\n", (4), np.cDig); (winetest_set_location("vartest.c", 1071), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00400|0x00200), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00400|0x00200), np.dwInFlags); (winetest_set_location("vartest.c", 1071), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00400|0x00200), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00400|0x00200), np.dwOutFlags); (winetest_set_location("vartest.c", 1071), 0) ? 0 : winetest_ok(np.cchUsed == (6), "Expected cchUsed = %d, got %d\n", (6), np.cchUsed); (winetest_set_location("vartest.c", 1071), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1071), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36260 | (winetest_set_location("vartest.c", 1072), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1072), 0) ? 0 : winetest_ok(rgb[1] == 2, "Digit[%d], expected %d, got %d\n", 1, 2, rgb[1]); | |
36261 | (winetest_set_location("vartest.c", 1073), 0) ? 0 : winetest_ok(rgb[2] == 3, "Digit[%d], expected %d, got %d\n", 2, 3, rgb[2]); | |
36262 | (winetest_set_location("vartest.c", 1074), 0) ? 0 : winetest_ok(rgb[3] == 4, "Digit[%d], expected %d, got %d\n", 3, 4, rgb[3]); | |
36263 | (winetest_set_location("vartest.c", 1075), 0) ? 0 : winetest_ok(rgb[4] == 255, "Digit[%d], expected %d, got %d\n", 4, 255, rgb[4]); | |
36264 | ||
36265 | ||
36266 | ||
36267 | ||
36268 | MultiByteToWideChar(0,0,"1.1",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00100; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36269 | (winetest_set_location("vartest.c", 1081), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1081), 0) ? 0 : winetest_ok(np.cDig == (2), "Expected cDig = %d, got %d\n", (2), np.cDig); (winetest_set_location("vartest.c", 1081), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00100), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00100), np.dwInFlags); (winetest_set_location("vartest.c", 1081), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00100), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00100), np.dwOutFlags); (winetest_set_location("vartest.c", 1081), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1081), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1081), 0) ? 0 : winetest_ok(np.nPwr10 == (-1), "Expected nPwr10 = %d, got %d\n", (-1), np.nPwr10); }; | |
36270 | (winetest_set_location("vartest.c", 1082), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1082), 0) ? 0 : winetest_ok(rgb[1] == 1, "Digit[%d], expected %d, got %d\n", 1, 1, rgb[1]); | |
36271 | (winetest_set_location("vartest.c", 1083), 0) ? 0 : winetest_ok(rgb[2] == 255, "Digit[%d], expected %d, got %d\n", 2, 255, rgb[2]); | |
36272 | ||
36273 | ||
36274 | MultiByteToWideChar(0,0,"1.",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00100; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36275 | (winetest_set_location("vartest.c", 1087), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1087), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1087), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00100), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00100), np.dwInFlags); (winetest_set_location("vartest.c", 1087), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00100), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00100), np.dwOutFlags); (winetest_set_location("vartest.c", 1087), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 1087), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1087), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36276 | (winetest_set_location("vartest.c", 1088), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1088), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36277 | ||
36278 | ||
36279 | MultiByteToWideChar(0,0,"1.1.",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00100; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36280 | (winetest_set_location("vartest.c", 1092), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1092), 0) ? 0 : winetest_ok(np.cDig == (2), "Expected cDig = %d, got %d\n", (2), np.cDig); (winetest_set_location("vartest.c", 1092), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00100), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00100), np.dwInFlags); (winetest_set_location("vartest.c", 1092), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00100), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00100), np.dwOutFlags); (winetest_set_location("vartest.c", 1092), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1092), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1092), 0) ? 0 : winetest_ok(np.nPwr10 == (-1), "Expected nPwr10 = %d, got %d\n", (-1), np.nPwr10); }; | |
36281 | (winetest_set_location("vartest.c", 1093), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1093), 0) ? 0 : winetest_ok(rgb[1] == 1, "Digit[%d], expected %d, got %d\n", 1, 1, rgb[1]); | |
36282 | (winetest_set_location("vartest.c", 1094), 0) ? 0 : winetest_ok(rgb[2] == 255, "Digit[%d], expected %d, got %d\n", 2, 255, rgb[2]); | |
36283 | ||
36284 | ||
36285 | ||
36286 | ||
36287 | MultiByteToWideChar(0,0,"1e1",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36288 | (winetest_set_location("vartest.c", 1100), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1100), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1100), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 1100), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 1100), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 1100), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1100), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36289 | (winetest_set_location("vartest.c", 1101), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1101), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36290 | ||
36291 | ||
36292 | MultiByteToWideChar(0,0,"1e1",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00800; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36293 | (winetest_set_location("vartest.c", 1105), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1105), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1105), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00800), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwInFlags); (winetest_set_location("vartest.c", 1105), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00800), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwOutFlags); (winetest_set_location("vartest.c", 1105), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1105), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1105), 0) ? 0 : winetest_ok(np.nPwr10 == (1), "Expected nPwr10 = %d, got %d\n", (1), np.nPwr10); }; | |
36294 | (winetest_set_location("vartest.c", 1106), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1106), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36295 | ||
36296 | ||
36297 | MultiByteToWideChar(0,0,"1e-1",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00800; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36298 | (winetest_set_location("vartest.c", 1110), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1110), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1110), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00800), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwInFlags); (winetest_set_location("vartest.c", 1110), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00800), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwOutFlags); (winetest_set_location("vartest.c", 1110), 0) ? 0 : winetest_ok(np.cchUsed == (4), "Expected cchUsed = %d, got %d\n", (4), np.cchUsed); (winetest_set_location("vartest.c", 1110), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1110), 0) ? 0 : winetest_ok(np.nPwr10 == (-1), "Expected nPwr10 = %d, got %d\n", (-1), np.nPwr10); }; | |
36299 | (winetest_set_location("vartest.c", 1111), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1111), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36300 | ||
36301 | ||
36302 | MultiByteToWideChar(0,0,"1e+01",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00800; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36303 | (winetest_set_location("vartest.c", 1115), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1115), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1115), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00800), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwInFlags); (winetest_set_location("vartest.c", 1115), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00800), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwOutFlags); (winetest_set_location("vartest.c", 1115), 0) ? 0 : winetest_ok(np.cchUsed == (5), "Expected cchUsed = %d, got %d\n", (5), np.cchUsed); (winetest_set_location("vartest.c", 1115), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1115), 0) ? 0 : winetest_ok(np.nPwr10 == (1), "Expected nPwr10 = %d, got %d\n", (1), np.nPwr10); }; | |
36304 | (winetest_set_location("vartest.c", 1116), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1116), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36305 | ||
36306 | ||
36307 | MultiByteToWideChar(0,0,"1e0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00800; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36308 | (winetest_set_location("vartest.c", 1120), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1120), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1120), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00800), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwInFlags); (winetest_set_location("vartest.c", 1120), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00800), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwOutFlags); (winetest_set_location("vartest.c", 1120), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1120), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1120), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36309 | (winetest_set_location("vartest.c", 1121), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1121), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36310 | ||
36311 | ||
36312 | MultiByteToWideChar(0,0,"1e+0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00800; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36313 | (winetest_set_location("vartest.c", 1125), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1125), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1125), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00800), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwInFlags); (winetest_set_location("vartest.c", 1125), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00800), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwOutFlags); (winetest_set_location("vartest.c", 1125), 0) ? 0 : winetest_ok(np.cchUsed == (4), "Expected cchUsed = %d, got %d\n", (4), np.cchUsed); (winetest_set_location("vartest.c", 1125), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1125), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36314 | (winetest_set_location("vartest.c", 1126), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1126), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36315 | ||
36316 | MultiByteToWideChar(0,0,"1e-0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00800; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36317 | (winetest_set_location("vartest.c", 1129), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1129), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1129), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00800), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwInFlags); (winetest_set_location("vartest.c", 1129), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00800), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwOutFlags); (winetest_set_location("vartest.c", 1129), 0) ? 0 : winetest_ok(np.cchUsed == (4), "Expected cchUsed = %d, got %d\n", (4), np.cchUsed); (winetest_set_location("vartest.c", 1129), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1129), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36318 | (winetest_set_location("vartest.c", 1130), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1130), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36319 | ||
36320 | ||
36321 | MultiByteToWideChar(0,0,"1e1.",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00800; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36322 | (winetest_set_location("vartest.c", 1134), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1134), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1134), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00800), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwInFlags); (winetest_set_location("vartest.c", 1134), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00800), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800), np.dwOutFlags); (winetest_set_location("vartest.c", 1134), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1134), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1134), 0) ? 0 : winetest_ok(np.nPwr10 == (1), "Expected nPwr10 = %d, got %d\n", (1), np.nPwr10); }; | |
36323 | (winetest_set_location("vartest.c", 1135), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1135), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36324 | ||
36325 | ||
36326 | MultiByteToWideChar(0,0,"1.5e20",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00800|0x00100; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36327 | (winetest_set_location("vartest.c", 1139), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1139), 0) ? 0 : winetest_ok(np.cDig == (2), "Expected cDig = %d, got %d\n", (2), np.cDig); (winetest_set_location("vartest.c", 1139), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00800|0x00100), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800|0x00100), np.dwInFlags); (winetest_set_location("vartest.c", 1139), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00800|0x00100), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800|0x00100), np.dwOutFlags); (winetest_set_location("vartest.c", 1139), 0) ? 0 : winetest_ok(np.cchUsed == (6), "Expected cchUsed = %d, got %d\n", (6), np.cchUsed); (winetest_set_location("vartest.c", 1139), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1139), 0) ? 0 : winetest_ok(np.nPwr10 == (19), "Expected nPwr10 = %d, got %d\n", (19), np.nPwr10); }; | |
36328 | (winetest_set_location("vartest.c", 1140), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1140), 0) ? 0 : winetest_ok(rgb[1] == 5, "Digit[%d], expected %d, got %d\n", 1, 5, rgb[1]); | |
36329 | ||
36330 | MultiByteToWideChar(0,0,"1.5e-20",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00800|0x00100; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36331 | (winetest_set_location("vartest.c", 1143), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1143), 0) ? 0 : winetest_ok(np.cDig == (2), "Expected cDig = %d, got %d\n", (2), np.cDig); (winetest_set_location("vartest.c", 1143), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00800|0x00100), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800|0x00100), np.dwInFlags); (winetest_set_location("vartest.c", 1143), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00800|0x00100), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00800|0x00100), np.dwOutFlags); (winetest_set_location("vartest.c", 1143), 0) ? 0 : winetest_ok(np.cchUsed == (7), "Expected cchUsed = %d, got %d\n", (7), np.cchUsed); (winetest_set_location("vartest.c", 1143), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1143), 0) ? 0 : winetest_ok(np.nPwr10 == (-21), "Expected nPwr10 = %d, got %d\n", (-21), np.nPwr10); }; | |
36332 | (winetest_set_location("vartest.c", 1144), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1144), 0) ? 0 : winetest_ok(rgb[1] == 5, "Digit[%d], expected %d, got %d\n", 1, 5, rgb[1]); | |
36333 | ||
36334 | ||
36335 | ||
36336 | ||
36337 | MultiByteToWideChar(0,0,"0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x01000; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36338 | (winetest_set_location("vartest.c", 1150), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1150), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1150), 0) ? 0 : winetest_ok(np.dwInFlags == (0x01000), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x01000), np.dwInFlags); (winetest_set_location("vartest.c", 1150), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 1150), 0) ? 0 : winetest_ok(np.cchUsed == (1), "Expected cchUsed = %d, got %d\n", (1), np.cchUsed); (winetest_set_location("vartest.c", 1150), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1150), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36339 | (winetest_set_location("vartest.c", 1151), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 1151), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36340 | ||
36341 | ||
36342 | MultiByteToWideChar(0,0,"0 ",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x01000; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36343 | (winetest_set_location("vartest.c", 1155), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x80020005L), "Call succeeded, hres = %08lx\n", hres); | |
36344 | (winetest_set_location("vartest.c", 1156), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 1156), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36345 | ||
36346 | ||
36347 | MultiByteToWideChar(0,0,"0 ",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x01000|0x00002; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36348 | (winetest_set_location("vartest.c", 1160), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1160), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1160), 0) ? 0 : winetest_ok(np.dwInFlags == (0x01000|0x00002), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x01000|0x00002), np.dwInFlags); (winetest_set_location("vartest.c", 1160), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00002), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00002), np.dwOutFlags); (winetest_set_location("vartest.c", 1160), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 1160), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1160), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36349 | (winetest_set_location("vartest.c", 1161), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 1161), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36350 | ||
36351 | ||
36352 | ||
36353 | ||
36354 | MultiByteToWideChar(0,0,"+ 0 ",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00004|0x00001; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36355 | (winetest_set_location("vartest.c", 1167), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1167), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1167), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00004|0x00001), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004|0x00001), np.dwInFlags); (winetest_set_location("vartest.c", 1167), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00004|0x00001), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004|0x00001), np.dwOutFlags); (winetest_set_location("vartest.c", 1167), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1167), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1167), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36356 | (winetest_set_location("vartest.c", 1168), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 1168), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36357 | ||
36358 | ||
36359 | MultiByteToWideChar(0,0," +0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00004|0x00001; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36360 | (winetest_set_location("vartest.c", 1172), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1172), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1172), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00004|0x00001), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004|0x00001), np.dwInFlags); (winetest_set_location("vartest.c", 1172), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00004|0x00001), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004|0x00001), np.dwOutFlags); (winetest_set_location("vartest.c", 1172), 0) ? 0 : winetest_ok(np.cchUsed == (3), "Expected cchUsed = %d, got %d\n", (3), np.cchUsed); (winetest_set_location("vartest.c", 1172), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1172), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36361 | (winetest_set_location("vartest.c", 1173), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 1173), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36362 | ||
36363 | ||
36364 | MultiByteToWideChar(0,0," + 0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00004|0x00001; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36365 | (winetest_set_location("vartest.c", 1177), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1177), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1177), 0) ? 0 : winetest_ok(np.dwInFlags == (0x00004|0x00001), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004|0x00001), np.dwInFlags); (winetest_set_location("vartest.c", 1177), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00004|0x00001), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00004|0x00001), np.dwOutFlags); (winetest_set_location("vartest.c", 1177), 0) ? 0 : winetest_ok(np.cchUsed == (4), "Expected cchUsed = %d, got %d\n", (4), np.cchUsed); (winetest_set_location("vartest.c", 1177), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1177), 0) ? 0 : winetest_ok(np.nPwr10 == (0), "Expected nPwr10 = %d, got %d\n", (0), np.nPwr10); }; | |
36366 | (winetest_set_location("vartest.c", 1178), 0) ? 0 : winetest_ok(rgb[0] == 0, "Digit[%d], expected %d, got %d\n", 0, 0, rgb[0]); (winetest_set_location("vartest.c", 1178), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36367 | ||
36368 | ||
36369 | MultiByteToWideChar(0,0,"+ +0",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x00004|0x00001; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36370 | (winetest_set_location("vartest.c", 1182), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x80020005L), "Call succeeded, hres = %08lx\n", hres); | |
36371 | (winetest_set_location("vartest.c", 1183), 0) ? 0 : winetest_ok(rgb[0] == 255, "Digit[%d], expected %d, got %d\n", 0, 255, rgb[0]); | |
36372 | ||
36373 | ||
36374 | MultiByteToWideChar(0,0,"10",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = 1; np.dwInFlags = 0; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36375 | (winetest_set_location("vartest.c", 1187), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1187), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1187), 0) ? 0 : winetest_ok(np.dwInFlags == (0), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwInFlags); (winetest_set_location("vartest.c", 1187), 0) ? 0 : winetest_ok(np.dwOutFlags == (0), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0), np.dwOutFlags); (winetest_set_location("vartest.c", 1187), 0) ? 0 : winetest_ok(np.cchUsed == (2), "Expected cchUsed = %d, got %d\n", (2), np.cchUsed); (winetest_set_location("vartest.c", 1187), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1187), 0) ? 0 : winetest_ok(np.nPwr10 == (1), "Expected nPwr10 = %d, got %d\n", (1), np.nPwr10); }; | |
36376 | (winetest_set_location("vartest.c", 1188), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1188), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36377 | ||
36378 | ||
36379 | MultiByteToWideChar(0,0,"-0.51",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x01FFF; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36380 | (winetest_set_location("vartest.c", 1192), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1192), 0) ? 0 : winetest_ok(np.cDig == (2), "Expected cDig = %d, got %d\n", (2), np.cDig); (winetest_set_location("vartest.c", 1192), 0) ? 0 : winetest_ok(np.dwInFlags == (0x01FFF), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x01FFF), np.dwInFlags); (winetest_set_location("vartest.c", 1192), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x10000|0x00100|0x00010), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x10000|0x00100|0x00010), np.dwOutFlags); (winetest_set_location("vartest.c", 1192), 0) ? 0 : winetest_ok(np.cchUsed == (5), "Expected cchUsed = %d, got %d\n", (5), np.cchUsed); (winetest_set_location("vartest.c", 1192), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1192), 0) ? 0 : winetest_ok(np.nPwr10 == (-2), "Expected nPwr10 = %d, got %d\n", (-2), np.nPwr10); }; | |
36381 | (winetest_set_location("vartest.c", 1193), 0) ? 0 : winetest_ok(rgb[0] == 5, "Digit[%d], expected %d, got %d\n", 0, 5, rgb[0]); (winetest_set_location("vartest.c", 1193), 0) ? 0 : winetest_ok(rgb[1] == 1, "Digit[%d], expected %d, got %d\n", 1, 1, rgb[1]); | |
36382 | ||
36383 | ||
36384 | MultiByteToWideChar(0,0,"10.1",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x01FFF; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36385 | (winetest_set_location("vartest.c", 1197), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1197), 0) ? 0 : winetest_ok(np.cDig == (3), "Expected cDig = %d, got %d\n", (3), np.cDig); (winetest_set_location("vartest.c", 1197), 0) ? 0 : winetest_ok(np.dwInFlags == (0x01FFF), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x01FFF), np.dwInFlags); (winetest_set_location("vartest.c", 1197), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00100), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00100), np.dwOutFlags); (winetest_set_location("vartest.c", 1197), 0) ? 0 : winetest_ok(np.cchUsed == (4), "Expected cchUsed = %d, got %d\n", (4), np.cchUsed); (winetest_set_location("vartest.c", 1197), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1197), 0) ? 0 : winetest_ok(np.nPwr10 == (-1), "Expected nPwr10 = %d, got %d\n", (-1), np.nPwr10); }; | |
36386 | (winetest_set_location("vartest.c", 1198), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1198), 0) ? 0 : winetest_ok(rgb[1] == 0, "Digit[%d], expected %d, got %d\n", 1, 0, rgb[1]); | |
36387 | (winetest_set_location("vartest.c", 1199), 0) ? 0 : winetest_ok(rgb[2] == 1, "Digit[%d], expected %d, got %d\n", 2, 1, rgb[2]); | |
36388 | ||
36389 | ||
36390 | MultiByteToWideChar(0,0,"0.01",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x01FFF; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36391 | (winetest_set_location("vartest.c", 1203), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1203), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1203), 0) ? 0 : winetest_ok(np.dwInFlags == (0x01FFF), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x01FFF), np.dwInFlags); (winetest_set_location("vartest.c", 1203), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00100), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00100), np.dwOutFlags); (winetest_set_location("vartest.c", 1203), 0) ? 0 : winetest_ok(np.cchUsed == (4), "Expected cchUsed = %d, got %d\n", (4), np.cchUsed); (winetest_set_location("vartest.c", 1203), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1203), 0) ? 0 : winetest_ok(np.nPwr10 == (-2), "Expected nPwr10 = %d, got %d\n", (-2), np.nPwr10); }; | |
36392 | (winetest_set_location("vartest.c", 1204), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1204), 0) ? 0 : winetest_ok(rgb[1] == 255, "Digit[%d], expected %d, got %d\n", 1, 255, rgb[1]); | |
36393 | ||
36394 | ||
36395 | MultiByteToWideChar(0,0,"0.10",-1,buff,sizeof(buff)/sizeof(WCHAR)); memset(rgb, 255, sizeof(rgb)); memset(&np,-1,sizeof(np)); np.cDig = sizeof(rgb); np.dwInFlags = 0x01FFF; hres = pVarParseNumFromStr(buff,lcid,0x80000000,&np,rgb); | |
36396 | (winetest_set_location("vartest.c", 1208), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), "Call failed, hres = %08lx\n", hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1208), 0) ? 0 : winetest_ok(np.cDig == (1), "Expected cDig = %d, got %d\n", (1), np.cDig); (winetest_set_location("vartest.c", 1208), 0) ? 0 : winetest_ok(np.dwInFlags == (0x01FFF), "Expected dwInFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x01FFF), np.dwInFlags); (winetest_set_location("vartest.c", 1208), 0) ? 0 : winetest_ok(np.dwOutFlags == (0x00100), "Expected dwOutFlags = 0x%lx, got 0x%lx\n", (ULONG)(0x00100), np.dwOutFlags); (winetest_set_location("vartest.c", 1208), 0) ? 0 : winetest_ok(np.cchUsed == (4), "Expected cchUsed = %d, got %d\n", (4), np.cchUsed); (winetest_set_location("vartest.c", 1208), 0) ? 0 : winetest_ok(np.nBaseShift == (0), "Expected nBaseShift = %d, got %d\n", (0), np.nBaseShift); (winetest_set_location("vartest.c", 1208), 0) ? 0 : winetest_ok(np.nPwr10 == (-1), "Expected nPwr10 = %d, got %d\n", (-1), np.nPwr10); }; | |
36397 | (winetest_set_location("vartest.c", 1209), 0) ? 0 : winetest_ok(rgb[0] == 1, "Digit[%d], expected %d, got %d\n", 0, 1, rgb[0]); (winetest_set_location("vartest.c", 1209), 0) ? 0 : winetest_ok(rgb[1] == 0, "Digit[%d], expected %d, got %d\n", 1, 0, rgb[1]); | |
36398 | } | |
36399 | ||
36400 | static HRESULT (__attribute__((__stdcall__)) *pVarNumFromParseNum)(NUMPARSE*,BYTE*,ULONG,VARIANT*); | |
36401 | ||
36402 | ||
36403 | ||
36404 | ||
36405 | ||
36406 | ||
36407 | ||
36408 | static const char *szFailOverflow = "Expected overflow, hres = %08lx\n"; | |
36409 | ||
36410 | static const char *szFailOk = "Call failed, hres = %08lx\n"; | |
36411 | # 1251 "vartest.c" | |
36412 | static void test_VarNumFromParseNum(void) | |
36413 | { | |
36414 | HRESULT hres; | |
36415 | NUMPARSE np; | |
36416 | BYTE rgb[128]; | |
36417 | VARIANT vOut; | |
36418 | ||
36419 | pVarNumFromParseNum = (void*)GetProcAddress(hOleaut32, "VarNumFromParseNum"); if (!pVarNumFromParseNum) { (winetest_set_location("vartest.c", 1258), 0) ? (void)0 : winetest_trace("function " "VarNumFromParseNum" " not available, not testing it\n"); return; }; | |
36420 | ||
36421 | ||
36422 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_I1), &vOut); (winetest_set_location("vartest.c", 1261), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1261), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I1,"Expected Type = " "VT_I1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1261), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cVal) == 1, "Expected i1 = %d, got %d\n", (signed char)1, ((&vOut)->n1.n2.n3.cVal)); }; | |
36423 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_UI1), &vOut); (winetest_set_location("vartest.c", 1262), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1262), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_UI1,"Expected Type = " "VT_UI1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1262), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.bVal) == 1, "Expected ui1 = %d, got %d\n", (BYTE)1, ((&vOut)->n1.n2.n3.bVal)); }; | |
36424 | ||
36425 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_I1)|(1 << VT_UI1), &vOut); (winetest_set_location("vartest.c", 1264), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1264), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I1,"Expected Type = " "VT_I1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1264), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cVal) == 1, "Expected i1 = %d, got %d\n", (signed char)1, ((&vOut)->n1.n2.n3.cVal)); }; | |
36426 | ||
36427 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_I2)|(1 << VT_UI1), &vOut); (winetest_set_location("vartest.c", 1266), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1266), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_UI1,"Expected Type = " "VT_UI1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1266), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.bVal) == 1, "Expected ui1 = %d, got %d\n", (BYTE)1, ((&vOut)->n1.n2.n3.bVal)); }; | |
36428 | ||
36429 | ||
36430 | ||
36431 | ||
36432 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1271), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1271), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I1,"Expected Type = " "VT_I1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1271), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cVal) == 1, "Expected i1 = %d, got %d\n", (signed char)1, ((&vOut)->n1.n2.n3.cVal)); }; | |
36433 | ||
36434 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 7; | |
36435 | np.cDig = (3); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (3); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1274), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1274), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I1,"Expected Type = " "VT_I1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1274), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cVal) == 127, "Expected i1 = %d, got %d\n", (signed char)127, ((&vOut)->n1.n2.n3.cVal)); }; | |
36436 | ||
36437 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 8; | |
36438 | np.cDig = (3); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (3); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1277), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1277), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_UI1,"Expected Type = " "VT_UI1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1277), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.bVal) == 128, "Expected ui1 = %d, got %d\n", (BYTE)128, ((&vOut)->n1.n2.n3.bVal)); }; | |
36439 | ||
36440 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 2; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 5; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 5; | |
36441 | np.cDig = (3); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (3); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1280), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1280), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_UI1,"Expected Type = " "VT_UI1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1280), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.bVal) == 255, "Expected ui1 = %d, got %d\n", (BYTE)255, ((&vOut)->n1.n2.n3.bVal)); }; | |
36442 | ||
36443 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 2; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 5; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 6; | |
36444 | np.cDig = (3); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (3); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1283), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1283), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I2,"Expected Type = " "VT_I2" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1283), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.iVal) == 256, "Expected i2 = %d, got %d\n", (SHORT)256, ((&vOut)->n1.n2.n3.iVal)); }; | |
36445 | ||
36446 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 3; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 7; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 6; if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 7; | |
36447 | np.cDig = (5); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (5); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1286), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1286), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I2,"Expected Type = " "VT_I2" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1286), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.iVal) == 32767, "Expected i2 = %d, got %d\n", (SHORT)32767, ((&vOut)->n1.n2.n3.iVal)); }; | |
36448 | ||
36449 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 3; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 7; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 6; if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 8; | |
36450 | np.cDig = (5); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (5); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1289), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1289), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_UI2,"Expected Type = " "VT_UI2" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1289), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.uiVal) == 32768, "Expected ui2 = %d, got %d\n", (USHORT)32768, ((&vOut)->n1.n2.n3.uiVal)); }; | |
36451 | ||
36452 | ||
36453 | ||
36454 | ||
36455 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 8; | |
36456 | np.cDig = (3); np.dwInFlags = (0); np.dwOutFlags = (0x10000); np.cchUsed = (3); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1295), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1295), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I1,"Expected Type = " "VT_I1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1295), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cVal) == -128, "Expected i1 = %d, got %d\n", (signed char)-128, ((&vOut)->n1.n2.n3.cVal)); }; | |
36457 | ||
36458 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 9; | |
36459 | np.cDig = (3); np.dwInFlags = (0); np.dwOutFlags = (0x10000); np.cchUsed = (3); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1298), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1298), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I2,"Expected Type = " "VT_I2" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1298), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.iVal) == -129, "Expected i2 = %d, got %d\n", (SHORT)-129, ((&vOut)->n1.n2.n3.iVal)); }; | |
36460 | ||
36461 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 3; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 7; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 6; if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 8; | |
36462 | np.cDig = (5); np.dwInFlags = (0); np.dwOutFlags = (0x10000); np.cchUsed = (5); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1301), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1301), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I2,"Expected Type = " "VT_I2" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1301), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.iVal) == -32768, "Expected i2 = %d, got %d\n", (SHORT)-32768, ((&vOut)->n1.n2.n3.iVal)); }; | |
36463 | ||
36464 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 3; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 7; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 6; if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 9; | |
36465 | np.cDig = (5); np.dwInFlags = (0); np.dwOutFlags = (0x10000); np.cchUsed = (5); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1304), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1304), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I4,"Expected Type = " "VT_I4" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1304), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.lVal) == -32769, "Expected i4 = %ld, got %ld\n", (LONG)-32769, ((&vOut)->n1.n2.n3.lVal)); }; | |
36466 | ||
36467 | ||
36468 | ||
36469 | ||
36470 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1309), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1309), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I1,"Expected Type = " "VT_I1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1309), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cVal) == 0x01, "Expected i1 = %d, got %d\n", (signed char)0x01, ((&vOut)->n1.n2.n3.cVal)); }; | |
36471 | ||
36472 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 7; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0xf; | |
36473 | np.cDig = (2); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (2); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1312), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1312), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I1,"Expected Type = " "VT_I1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1312), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cVal) == 0x7f, "Expected i1 = %d, got %d\n", (signed char)0x7f, ((&vOut)->n1.n2.n3.cVal)); }; | |
36474 | ||
36475 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 7; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0xf; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 0xf; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 0xf; | |
36476 | np.cDig = (4); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (4); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1315), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1315), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I2,"Expected Type = " "VT_I2" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1315), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.iVal) == 0x7fff, "Expected i2 = %d, got %d\n", (SHORT)0x7fff, ((&vOut)->n1.n2.n3.iVal)); }; | |
36477 | ||
36478 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 7; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0xf; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 0xf; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 0xf; | |
36479 | if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 0xf; if (!5) memset(rgb, 255, sizeof(rgb)); rgb[5] = 0xf; if (!6) memset(rgb, 255, sizeof(rgb)); rgb[6] = 0xf; if (!7) memset(rgb, 255, sizeof(rgb)); rgb[7] = 0xf; | |
36480 | np.cDig = (8); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (8); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1319), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1319), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I4,"Expected Type = " "VT_I4" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1319), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.lVal) == 0x7fffffffL, "Expected i4 = %ld, got %ld\n", (LONG)0x7fffffffL, ((&vOut)->n1.n2.n3.lVal)); }; | |
36481 | ||
36482 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 7; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0xf; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 0xf; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 0xf; | |
36483 | if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 0xf; if (!5) memset(rgb, 255, sizeof(rgb)); rgb[5] = 0xf; if (!6) memset(rgb, 255, sizeof(rgb)); rgb[6] = 0xf; if (!7) memset(rgb, 255, sizeof(rgb)); rgb[7] = 0xf; | |
36484 | if (!8) memset(rgb, 255, sizeof(rgb)); rgb[8] = 0xf; if (!9) memset(rgb, 255, sizeof(rgb)); rgb[9] = 0xf; if (!10) memset(rgb, 255, sizeof(rgb)); rgb[10] = 0xf; if (!11) memset(rgb, 255, sizeof(rgb)); rgb[11] = 0xf; | |
36485 | if (!12) memset(rgb, 255, sizeof(rgb)); rgb[12] = 0xf; if (!13) memset(rgb, 255, sizeof(rgb)); rgb[13] = 0xf; if (!14) memset(rgb, 255, sizeof(rgb)); rgb[14] = 0xf; if (!15) memset(rgb, 255, sizeof(rgb)); rgb[15] = 0xf; | |
36486 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
36487 | { | |
36488 | ||
36489 | ||
36490 | ||
36491 | np.cDig = (16); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (16); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_I8), &vOut); (winetest_set_location("vartest.c", 1330), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1330), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I8,"Expected Type = " "VT_I8" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1330), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.llVal) == ((((LONG64)(0x7fffffff))<<32)|(0xffffffff)), "Expected i8 = %lx%08lx, got %lx%08lx\n", (LONG)(0x7fffffff), (LONG)(0xffffffff), (LONG)(((&vOut)->n1.n2.n3.llVal)>>32), (LONG)((&vOut)->n1.n2.n3.llVal) ); }; | |
36492 | } | |
36493 | ||
36494 | ||
36495 | ||
36496 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 8; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; | |
36497 | np.cDig = (2); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (2); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); | |
36498 | (winetest_set_location("vartest.c", 1337), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1337), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I1,"Expected Type = " "VT_I1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1337), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cVal) == (signed char)0x82, "Expected i1 = %d, got %d\n", (signed char)(signed char)0x82, ((&vOut)->n1.n2.n3.cVal)); }; | |
36499 | ||
36500 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 8; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 0; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 2; | |
36501 | np.cDig = (4); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (4); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); | |
36502 | (winetest_set_location("vartest.c", 1341), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1341), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I2,"Expected Type = " "VT_I2" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1341), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.iVal) == (signed short)0x8002, "Expected i2 = %d, got %d\n", (SHORT)(signed short)0x8002, ((&vOut)->n1.n2.n3.iVal)); }; | |
36503 | ||
36504 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 8; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 0; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 0; | |
36505 | if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 0; if (!5) memset(rgb, 255, sizeof(rgb)); rgb[5] = 0; if (!6) memset(rgb, 255, sizeof(rgb)); rgb[6] = 0; if (!7) memset(rgb, 255, sizeof(rgb)); rgb[7] = 2; | |
36506 | np.cDig = (8); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (8); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, ((1 << VT_I1)|(1 << VT_UI1)|(1 << VT_I2)|(1 << VT_UI2)|(1 << VT_I4)|(1 << VT_UI4)|(1 << VT_I8)|(1 << VT_UI8)), &vOut); (winetest_set_location("vartest.c", 1345), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1345), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I4,"Expected Type = " "VT_I4" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1345), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.lVal) == 0x80000002, "Expected i4 = %ld, got %ld\n", (LONG)0x80000002, ((&vOut)->n1.n2.n3.lVal)); }; | |
36507 | ||
36508 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 8; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 0; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 0; | |
36509 | if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 0; if (!5) memset(rgb, 255, sizeof(rgb)); rgb[5] = 0; if (!6) memset(rgb, 255, sizeof(rgb)); rgb[6] = 0; if (!7) memset(rgb, 255, sizeof(rgb)); rgb[7] = 0; | |
36510 | if (!8) memset(rgb, 255, sizeof(rgb)); rgb[8] = 0; if (!9) memset(rgb, 255, sizeof(rgb)); rgb[9] = 0; if (!10) memset(rgb, 255, sizeof(rgb)); rgb[10] = 0; if (!11) memset(rgb, 255, sizeof(rgb)); rgb[11] = 0; | |
36511 | if (!12) memset(rgb, 255, sizeof(rgb)); rgb[12] = 0; if (!13) memset(rgb, 255, sizeof(rgb)); rgb[13] = 0; if (!14) memset(rgb, 255, sizeof(rgb)); rgb[14] = 0; if (!15) memset(rgb, 255, sizeof(rgb)); rgb[15] = 2; | |
36512 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
36513 | { | |
36514 | ||
36515 | ||
36516 | ||
36517 | ||
36518 | np.cDig = (16); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (16); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_I8), &vOut); (winetest_set_location("vartest.c", 1357), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1357), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I8,"Expected Type = " "VT_I8" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1357), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.llVal) == ((((LONG64)(0x80000000))<<32)|(0x00000002)), "Expected i8 = %lx%08lx, got %lx%08lx\n", (LONG)(0x80000000), (LONG)(0x00000002), (LONG)(((&vOut)->n1.n2.n3.llVal)>>32), (LONG)((&vOut)->n1.n2.n3.llVal) ); }; | |
36519 | } | |
36520 | ||
36521 | ||
36522 | ||
36523 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 8; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 2; | |
36524 | np.cDig = (2); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (2); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_I1), &vOut); | |
36525 | (winetest_set_location("vartest.c", 1364), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1364), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I1,"Expected Type = " "VT_I1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1364), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cVal) == (signed char)0x82, "Expected i1 = %d, got %d\n", (signed char)(signed char)0x82, ((&vOut)->n1.n2.n3.cVal)); }; | |
36526 | ||
36527 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 8; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 0; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 2; | |
36528 | np.cDig = (4); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (4); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_I2), &vOut); | |
36529 | (winetest_set_location("vartest.c", 1368), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1368), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I2,"Expected Type = " "VT_I2" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1368), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.iVal) == (signed short)0x8002, "Expected i2 = %d, got %d\n", (SHORT)(signed short)0x8002, ((&vOut)->n1.n2.n3.iVal)); }; | |
36530 | ||
36531 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 8; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 0; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 0; | |
36532 | if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 0; if (!5) memset(rgb, 255, sizeof(rgb)); rgb[5] = 0; if (!6) memset(rgb, 255, sizeof(rgb)); rgb[6] = 0; if (!7) memset(rgb, 255, sizeof(rgb)); rgb[7] = 2; | |
36533 | np.cDig = (8); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (8); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_I4), &vOut); (winetest_set_location("vartest.c", 1372), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1372), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I4,"Expected Type = " "VT_I4" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1372), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.lVal) == 0x80000002, "Expected i4 = %ld, got %ld\n", (LONG)0x80000002, ((&vOut)->n1.n2.n3.lVal)); }; | |
36534 | ||
36535 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 8; if (!1) memset(rgb, 255, sizeof(rgb)); rgb[1] = 0; if (!2) memset(rgb, 255, sizeof(rgb)); rgb[2] = 0; if (!3) memset(rgb, 255, sizeof(rgb)); rgb[3] = 0; | |
36536 | if (!4) memset(rgb, 255, sizeof(rgb)); rgb[4] = 0; if (!5) memset(rgb, 255, sizeof(rgb)); rgb[5] = 0; if (!6) memset(rgb, 255, sizeof(rgb)); rgb[6] = 0; if (!7) memset(rgb, 255, sizeof(rgb)); rgb[7] = 0; | |
36537 | if (!8) memset(rgb, 255, sizeof(rgb)); rgb[8] = 0; if (!9) memset(rgb, 255, sizeof(rgb)); rgb[9] = 0; if (!10) memset(rgb, 255, sizeof(rgb)); rgb[10] = 0; if (!11) memset(rgb, 255, sizeof(rgb)); rgb[11] = 0; | |
36538 | if (!12) memset(rgb, 255, sizeof(rgb)); rgb[12] = 0; if (!13) memset(rgb, 255, sizeof(rgb)); rgb[13] = 0; if (!14) memset(rgb, 255, sizeof(rgb)); rgb[14] = 0; if (!15) memset(rgb, 255, sizeof(rgb)); rgb[15] = 2; | |
36539 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
36540 | { | |
36541 | np.cDig = (16); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (16); np.nBaseShift = (4); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_I8), &vOut); (winetest_set_location("vartest.c", 1380), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1380), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_I8,"Expected Type = " "VT_I8" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1380), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.llVal) == ((((LONG64)(0x80000000))<<32)|(0x00000002)), "Expected i8 = %lx%08lx, got %lx%08lx\n", (LONG)(0x80000000), (LONG)(0x00000002), (LONG)(((&vOut)->n1.n2.n3.llVal)>>32), (LONG)((&vOut)->n1.n2.n3.llVal) ); }; | |
36542 | } | |
36543 | ||
36544 | ||
36545 | ||
36546 | ||
36547 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0x10000); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_UI1), &vOut); (winetest_set_location("vartest.c", 1386), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x8002000AL), szFailOverflow, hres); | |
36548 | ||
36549 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 6; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0x10000); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (~0u); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_UI1), &vOut); (winetest_set_location("vartest.c", 1388), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0x8002000AL), szFailOverflow, hres); | |
36550 | ||
36551 | ||
36552 | ||
36553 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 5; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0x10000); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (~0u); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_UI1), &vOut); (winetest_set_location("vartest.c", 1392), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1392), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_UI1,"Expected Type = " "VT_UI1" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1392), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.bVal) == 0, "Expected ui1 = %d, got %d\n", (BYTE)0, ((&vOut)->n1.n2.n3.bVal)); }; | |
36554 | ||
36555 | ||
36556 | ||
36557 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 0; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0x00100|0x00800); np.cchUsed = (12); np.nBaseShift = (0); np.nPwr10 = (-8); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_R8), &vOut); | |
36558 | (winetest_set_location("vartest.c", 1397), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1397), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_R8,"Expected Type = " "VT_R8" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1397), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.dblVal) == 0.0, "Expected r8 = %g, got %g\n", 0.0, ((&vOut)->n1.n2.n3.dblVal)); }; | |
36559 | ||
36560 | ||
36561 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_R4), &vOut); (winetest_set_location("vartest.c", 1400), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1400), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_R4,"Expected Type = " "VT_R4" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1400), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.fltVal) == 1.0f, "Expected r4 = %f, got %f\n", 1.0f, ((&vOut)->n1.n2.n3.fltVal)); }; | |
36562 | ||
36563 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_R8), &vOut); (winetest_set_location("vartest.c", 1402), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1402), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_R8,"Expected Type = " "VT_R8" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1402), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.dblVal) == 1.0, "Expected r8 = %g, got %g\n", 1.0, ((&vOut)->n1.n2.n3.dblVal)); }; | |
36564 | ||
36565 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_CY), &vOut); (winetest_set_location("vartest.c", 1404), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1404), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_CY,"Expected Type = " "VT_CY" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1404), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cyVal).int64 == (LONG64)(1 * 10000), "Expected r8 = %lld, got %lld\n", (LONG64)1, ((&vOut)->n1.n2.n3.cyVal).int64); }; | |
36566 | ||
36567 | ||
36568 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_R4)|(1 << VT_R8), &vOut); (winetest_set_location("vartest.c", 1407), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1407), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_R4,"Expected Type = " "VT_R4" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1407), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.fltVal) == 1.0f, "Expected r4 = %f, got %f\n", 1.0f, ((&vOut)->n1.n2.n3.fltVal)); }; | |
36569 | ||
36570 | ||
36571 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_R8)|(1 << VT_CY), &vOut); (winetest_set_location("vartest.c", 1410), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1410), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_R8,"Expected Type = " "VT_R8" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1410), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.dblVal) == 1.0, "Expected r8 = %g, got %g\n", 1.0, ((&vOut)->n1.n2.n3.dblVal)); }; | |
36572 | ||
36573 | ||
36574 | if (!0) memset(rgb, 255, sizeof(rgb)); rgb[0] = 1; np.cDig = (1); np.dwInFlags = (0); np.dwOutFlags = (0); np.cchUsed = (1); np.nBaseShift = (0); np.nPwr10 = (0); hres = pVarNumFromParseNum(&np, rgb, (1 << VT_CY)|(1 << VT_DECIMAL), &vOut); (winetest_set_location("vartest.c", 1413), 0) ? 0 : winetest_ok(hres == (HRESULT)((HRESULT)0L), szFailOk, hres); if (hres == (HRESULT)((HRESULT)0L)) { (winetest_set_location("vartest.c", 1413), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.vt) == VT_CY,"Expected Type = " "VT_CY" ", got %d\n", ((&vOut)->n1.n2.vt)); (winetest_set_location("vartest.c", 1413), 0) ? 0 : winetest_ok(((&vOut)->n1.n2.n3.cyVal).int64 == (LONG64)(1 * 10000), "Expected r8 = %lld, got %lld\n", (LONG64)1, ((&vOut)->n1.n2.n3.cyVal).int64); }; | |
36575 | } | |
36576 | ||
36577 | static const char* szUdateFromDateFail = "%.16g expected %lx, %d,%d,%d,%d,%d,%d,%d %d %d" | |
36578 | ", got %lx, %d,%d,%d,%d,%d,%d,%d %d %d\n"; | |
36579 | # 1428 "vartest.c" | |
36580 | static void test_VarUdateFromDate(void) | |
36581 | { | |
36582 | UDATE ud; | |
36583 | HRESULT res; | |
36584 | ||
36585 | pVarUdateFromDate = (void*)GetProcAddress(hOleaut32, "VarUdateFromDate"); if (!pVarUdateFromDate) { (winetest_set_location("vartest.c", 1433), 0) ? (void)0 : winetest_trace("function " "VarUdateFromDate" " not available, not testing it\n"); return; }; | |
36586 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(29221.0, 0, &ud); (winetest_set_location("vartest.c", 1434), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 1980 && ud.st.wMonth == 1 && ud.st.wDay == 1 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 2 && ud.wDayOfYear == 1)), szUdateFromDateFail, 29221.0, ((HRESULT)0L), 1, 1, 1980, 0, 0, 0, 0, 2, 1, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36587 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(29222.0, 0, &ud); (winetest_set_location("vartest.c", 1435), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 1980 && ud.st.wMonth == 1 && ud.st.wDay == 2 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 3 && ud.wDayOfYear == 2)), szUdateFromDateFail, 29222.0, ((HRESULT)0L), 2, 1, 1980, 0, 0, 0, 0, 3, 2, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36588 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(33238.0, 0, &ud); (winetest_set_location("vartest.c", 1436), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 1990 && ud.st.wMonth == 12 && ud.st.wDay == 31 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 1 && ud.wDayOfYear == 365)), szUdateFromDateFail, 33238.0, ((HRESULT)0L), 31, 12, 1990, 0, 0, 0, 0, 1, 365, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36589 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(0.0, 0, &ud); (winetest_set_location("vartest.c", 1437), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 1899 && ud.st.wMonth == 12 && ud.st.wDay == 30 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 6 && ud.wDayOfYear == 364)), szUdateFromDateFail, 0.0, ((HRESULT)0L), 30, 12, 1899, 0, 0, 0, 0, 6, 364, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36590 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(-657434.0, 0, &ud); (winetest_set_location("vartest.c", 1438), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 100 && ud.st.wMonth == 1 && ud.st.wDay == 1 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 5 && ud.wDayOfYear == 1)), szUdateFromDateFail, -657434.0, ((HRESULT)0L), 1, 1, 100, 0, 0, 0, 0, 5, 1, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36591 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(-657435.0, 0, &ud); (winetest_set_location("vartest.c", 1439), 0) ? 0 : winetest_ok(((HRESULT)0x80070057L) == res && (((HRESULT)(((HRESULT)0x80070057L))<0) || (ud.st.wYear == 0 && ud.st.wMonth == 0 && ud.st.wDay == 0 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 0 && ud.wDayOfYear == 0)), szUdateFromDateFail, -657435.0, ((HRESULT)0x80070057L), 0, 0, 0, 0, 0, 0, 0, 0, 0, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36592 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(2958465.0, 0, &ud); (winetest_set_location("vartest.c", 1440), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 9999 && ud.st.wMonth == 12 && ud.st.wDay == 31 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 5 && ud.wDayOfYear == 365)), szUdateFromDateFail, 2958465.0, ((HRESULT)0L), 31, 12, 9999, 0, 0, 0, 0, 5, 365, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36593 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(2958466.0, 0, &ud); (winetest_set_location("vartest.c", 1441), 0) ? 0 : winetest_ok(((HRESULT)0x80070057L) == res && (((HRESULT)(((HRESULT)0x80070057L))<0) || (ud.st.wYear == 0 && ud.st.wMonth == 0 && ud.st.wDay == 0 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 0 && ud.wDayOfYear == 0)), szUdateFromDateFail, 2958466.0, ((HRESULT)0x80070057L), 0, 0, 0, 0, 0, 0, 0, 0, 0, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36594 | ||
36595 | ||
36596 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(-657435.0, 0x004, &ud); (winetest_set_location("vartest.c", 1444), 0) ? 0 : winetest_ok(((HRESULT)0x80070057L) == res && (((HRESULT)(((HRESULT)0x80070057L))<0) || (ud.st.wYear == 0 && ud.st.wMonth == 0 && ud.st.wDay == 0 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 0 && ud.wDayOfYear == 0)), szUdateFromDateFail, -657435.0, ((HRESULT)0x80070057L), 0, 0, 0, 0, 0, 0, 0, 0, 0, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36597 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(2958466.0, 0x004, &ud); (winetest_set_location("vartest.c", 1445), 0) ? 0 : winetest_ok(((HRESULT)0x80070057L) == res && (((HRESULT)(((HRESULT)0x80070057L))<0) || (ud.st.wYear == 0 && ud.st.wMonth == 0 && ud.st.wDay == 0 && ud.st.wHour == 0 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 0 && ud.wDayOfYear == 0)), szUdateFromDateFail, 2958466.0, ((HRESULT)0x80070057L), 0, 0, 0, 0, 0, 0, 0, 0, 0, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36598 | ||
36599 | ||
36600 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(29221.25, 0, &ud); (winetest_set_location("vartest.c", 1448), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 1980 && ud.st.wMonth == 1 && ud.st.wDay == 1 && ud.st.wHour == 6 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 2 && ud.wDayOfYear == 1)), szUdateFromDateFail, 29221.25, ((HRESULT)0L), 1, 1, 1980, 6, 0, 0, 0, 2, 1, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36601 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(29221.33333333, 0, &ud); (winetest_set_location("vartest.c", 1449), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 1980 && ud.st.wMonth == 1 && ud.st.wDay == 1 && ud.st.wHour == 8 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 2 && ud.wDayOfYear == 1)), szUdateFromDateFail, 29221.33333333, ((HRESULT)0L), 1, 1, 1980, 8, 0, 0, 0, 2, 1, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36602 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(29221.5, 0, &ud); (winetest_set_location("vartest.c", 1450), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 1980 && ud.st.wMonth == 1 && ud.st.wDay == 1 && ud.st.wHour == 12 && ud.st.wMinute == 0 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 2 && ud.wDayOfYear == 1)), szUdateFromDateFail, 29221.5, ((HRESULT)0L), 1, 1, 1980, 12, 0, 0, 0, 2, 1, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36603 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(29221.9888884444, 0, &ud); (winetest_set_location("vartest.c", 1451), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 1980 && ud.st.wMonth == 1 && ud.st.wDay == 1 && ud.st.wHour == 23 && ud.st.wMinute == 44 && ud.st.wSecond == 0 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 2 && ud.wDayOfYear == 1)), szUdateFromDateFail, 29221.9888884444, ((HRESULT)0L), 1, 1, 1980, 23, 44, 0, 0, 2, 1, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36604 | memset(&ud, 0, sizeof(ud)); res = pVarUdateFromDate(29221.7508765432, 0, &ud); (winetest_set_location("vartest.c", 1452), 0) ? 0 : winetest_ok(((HRESULT)0L) == res && (((HRESULT)(((HRESULT)0L))<0) || (ud.st.wYear == 1980 && ud.st.wMonth == 1 && ud.st.wDay == 1 && ud.st.wHour == 18 && ud.st.wMinute == 1 && ud.st.wSecond == 16 && ud.st.wMilliseconds == 0 && ud.st.wDayOfWeek == 2 && ud.wDayOfYear == 1)), szUdateFromDateFail, 29221.7508765432, ((HRESULT)0L), 1, 1, 1980, 18, 1, 16, 0, 2, 1, res, ud.st.wDay, ud.st.wMonth, ud.st.wYear, ud.st.wHour, ud.st.wMinute, ud.st.wSecond, ud.st.wMilliseconds, ud.st.wDayOfWeek, ud.wDayOfYear); | |
36605 | } | |
36606 | # 1463 "vartest.c" | |
36607 | static void test_VarDateFromUdate(void) | |
36608 | { | |
36609 | UDATE ud; | |
36610 | double out; | |
36611 | HRESULT res; | |
36612 | ||
36613 | pVarDateFromUdate = (void*)GetProcAddress(hOleaut32, "VarDateFromUdate"); if (!pVarDateFromUdate) { (winetest_set_location("vartest.c", 1469), 0) ? (void)0 : winetest_trace("function " "VarDateFromUdate" " not available, not testing it\n"); return; }; | |
36614 | ud.st.wYear = (1980); ud.st.wMonth = (1); ud.st.wDay = (1); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (2); ud.wDayOfYear = (1); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1470), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(29221.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), 29221.0, res, out); | |
36615 | ud.st.wYear = (1980); ud.st.wMonth = (1); ud.st.wDay = (2); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (3); ud.wDayOfYear = (2); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1471), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(29222.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), 29222.0, res, out); | |
36616 | ud.st.wYear = (1990); ud.st.wMonth = (12); ud.st.wDay = (31); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (0); ud.wDayOfYear = (0); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1472), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(33238.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), 33238.0, res, out); | |
36617 | ud.st.wYear = (90); ud.st.wMonth = (12); ud.st.wDay = (31); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (0); ud.wDayOfYear = (0); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1473), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(33238.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), 33238.0, res, out); | |
36618 | ud.st.wYear = (1899); ud.st.wMonth = (12); ud.st.wDay = (30); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (6); ud.wDayOfYear = (364); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1474), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(0.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), 0.0, res, out); | |
36619 | ud.st.wYear = (100); ud.st.wMonth = (1); ud.st.wDay = (1); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (0); ud.wDayOfYear = (0); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1475), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(-657434.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), -657434.0, res, out); | |
36620 | ud.st.wYear = (9999); ud.st.wMonth = (12); ud.st.wDay = (31); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (0); ud.wDayOfYear = (0); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1476), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(2958465.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), 2958465.0, res, out); | |
36621 | ud.st.wYear = (10000); ud.st.wMonth = (1); ud.st.wDay = (1); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (0); ud.wDayOfYear = (0); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1477), 0) ? 0 : winetest_ok((((HRESULT)0x80070057L)) == res && (((HRESULT)(((HRESULT)0x80070057L))<0) || fabs(out-(0.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0x80070057L), 0.0, res, out); | |
36622 | ||
36623 | ud.st.wYear = (1980); ud.st.wMonth = (1); ud.st.wDay = (1); ud.st.wHour = (18); ud.st.wMinute = (1); ud.st.wSecond = (16); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (2); ud.wDayOfYear = (1); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1479), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(29221.75087962963)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), 29221.75087962963, res, out); | |
36624 | ||
36625 | ud.st.wYear = (1980); ud.st.wMonth = (1); ud.st.wDay = (0); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (2); ud.wDayOfYear = (1); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1481), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(29220.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), 29220.0, res, out); | |
36626 | ud.st.wYear = (1980); ud.st.wMonth = (13); ud.st.wDay = (1); ud.st.wHour = (0); ud.st.wMinute = (0); ud.st.wSecond = (0); ud.st.wMilliseconds = (0); ud.st.wDayOfWeek = (2); ud.wDayOfYear = (1); res = pVarDateFromUdate(&ud, (0), &out); (winetest_set_location("vartest.c", 1482), 0) ? 0 : winetest_ok((((HRESULT)0L)) == res && (((HRESULT)(((HRESULT)0L))<0) || fabs(out-(29587.0)) < 1.0e-11), "expected %lx, %.16g, got %lx, %.16g\n", ((HRESULT)0L), 29587.0, res, out); | |
36627 | } | |
36628 | # 1492 "vartest.c" | |
36629 | static void test_SystemTimeToVariantTime(void) | |
36630 | { | |
36631 | SYSTEMTIME st; | |
36632 | double out; | |
36633 | int res; | |
36634 | ||
36635 | pSystemTimeToVariantTime = (void*)GetProcAddress(hOleaut32, "SystemTimeToVariantTime"); if (!pSystemTimeToVariantTime) { (winetest_set_location("vartest.c", 1498), 0) ? (void)0 : winetest_trace("function " "SystemTimeToVariantTime" " not available, not testing it\n"); return; }; | |
36636 | st.wYear = 1980; st.wMonth = 1; st.wDay = 1; st.wHour = 0; st.wMinute = 0; st.wSecond = 0; st.wMilliseconds = 0; st.wDayOfWeek = 0; res = pSystemTimeToVariantTime(&st, &out); (winetest_set_location("vartest.c", 1499), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29221.0) < 1.0e-11), "expected %d, %.16g, got %d, %.16g\n", 1, 29221.0, res, out); | |
36637 | st.wYear = 1980; st.wMonth = 1; st.wDay = 2; st.wHour = 0; st.wMinute = 0; st.wSecond = 0; st.wMilliseconds = 0; st.wDayOfWeek = 0; res = pSystemTimeToVariantTime(&st, &out); (winetest_set_location("vartest.c", 1500), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29222.0) < 1.0e-11), "expected %d, %.16g, got %d, %.16g\n", 1, 29222.0, res, out); | |
36638 | st.wYear = 1980; st.wMonth = 1; st.wDay = 0; st.wHour = 0; st.wMinute = 0; st.wSecond = 0; st.wMilliseconds = 0; st.wDayOfWeek = 0; res = pSystemTimeToVariantTime(&st, &out); (winetest_set_location("vartest.c", 1501), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29220.0) < 1.0e-11), "expected %d, %.16g, got %d, %.16g\n", 1, 29220.0, res, out); | |
36639 | st.wYear = 1980; st.wMonth = 13; st.wDay = 1; st.wHour = 0; st.wMinute = 0; st.wSecond = 0; st.wMilliseconds = 0; st.wDayOfWeek = 0; res = pSystemTimeToVariantTime(&st, &out); (winetest_set_location("vartest.c", 1502), 0) ? 0 : winetest_ok(0 == res && (!0 || fabs(out-29587.0) < 1.0e-11), "expected %d, %.16g, got %d, %.16g\n", 0, 29587.0, res, out); | |
36640 | st.wYear = 90; st.wMonth = 12; st.wDay = 31; st.wHour = 0; st.wMinute = 0; st.wSecond = 0; st.wMilliseconds = 0; st.wDayOfWeek = 0; res = pSystemTimeToVariantTime(&st, &out); (winetest_set_location("vartest.c", 1503), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-33238.0) < 1.0e-11), "expected %d, %.16g, got %d, %.16g\n", 1, 33238.0, res, out); | |
36641 | } | |
36642 | # 1516 "vartest.c" | |
36643 | static void test_VariantTimeToSystemTime(void) | |
36644 | { | |
36645 | SYSTEMTIME st; | |
36646 | int res; | |
36647 | ||
36648 | pVariantTimeToSystemTime = (void*)GetProcAddress(hOleaut32, "VariantTimeToSystemTime"); if (!pVariantTimeToSystemTime) { (winetest_set_location("vartest.c", 1521), 0) ? (void)0 : winetest_trace("function " "VariantTimeToSystemTime" " not available, not testing it\n"); return; }; | |
36649 | memset(&st, 0, sizeof(st)); res = pVariantTimeToSystemTime(29221.0, &st); (winetest_set_location("vartest.c", 1522), 0) ? 0 : winetest_ok(1 == res && (!1 || (st.wYear == 1980 && st.wMonth == 1 && st.wDay == 1 && st.wHour == 0 && st.wMinute == 0 && st.wSecond == 0 && st.wMilliseconds == 0)), "%.16g expected %d, %d,%d,%d,%d,%d,%d,%d, got %d, %d,%d,%d,%d,%d,%d,%d\n", 29221.0, 1, 1, 1, 1980, 0, 0, 0, 0, res, st.wDay, st.wMonth, st.wYear, st.wHour, st.wMinute, st.wSecond, st.wMilliseconds); | |
36650 | memset(&st, 0, sizeof(st)); res = pVariantTimeToSystemTime(29222.0, &st); (winetest_set_location("vartest.c", 1523), 0) ? 0 : winetest_ok(1 == res && (!1 || (st.wYear == 1980 && st.wMonth == 1 && st.wDay == 2 && st.wHour == 0 && st.wMinute == 0 && st.wSecond == 0 && st.wMilliseconds == 0)), "%.16g expected %d, %d,%d,%d,%d,%d,%d,%d, got %d, %d,%d,%d,%d,%d,%d,%d\n", 29222.0, 1, 2, 1, 1980, 0, 0, 0, 0, res, st.wDay, st.wMonth, st.wYear, st.wHour, st.wMinute, st.wSecond, st.wMilliseconds); | |
36651 | } | |
36652 | ||
36653 | ||
36654 | ||
36655 | ||
36656 | static const char *szDosDateToVarTimeFail = "expected %d, %.16g, got %d, %.16g\n"; | |
36657 | ||
36658 | ||
36659 | ||
36660 | ||
36661 | ||
36662 | ||
36663 | ||
36664 | static void test_DosDateTimeToVariantTime(void) | |
36665 | { | |
36666 | USHORT dosDate, dosTime; | |
36667 | double out; | |
36668 | INT res; | |
36669 | ||
36670 | pDosDateTimeToVariantTime = (void*)GetProcAddress(hOleaut32, "DosDateTimeToVariantTime"); if (!pDosDateTimeToVariantTime) { (winetest_set_location("vartest.c", 1543), 0) ? (void)0 : winetest_trace("function " "DosDateTimeToVariantTime" " not available, not testing it\n"); return; }; | |
36671 | ||
36672 | ||
36673 | out = 0.0; dosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1546), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29221.0) < 1.0e-11), szDosDateToVarTimeFail, 1, 29221.0, res, out); | |
36674 | out = 0.0; dosDate = ((31 & 0x1f) | ((12 & 0xf) << 5) | (((2099 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1547), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-73050.0) < 1.0e-11), szDosDateToVarTimeFail, 1, 73050.0, res, out); | |
36675 | ||
36676 | out = 0.0; dosDate = ((31 & 0x1f) | ((12 & 0xf) << 5) | (((2100 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1549), 0) ? 0 : winetest_ok(0 == res && (!0 || fabs(out-0.0) < 1.0e-11), szDosDateToVarTimeFail, 0, 0.0, res, out); | |
36677 | ||
36678 | out = 0.0; dosDate = ((0 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1551), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29220.0) < 1.0e-11), szDosDateToVarTimeFail, 1, 29220.0, res, out); | |
36679 | out = 0.0; dosDate = ((1 & 0x1f) | ((0 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1552), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29190.0) < 1.0e-11), szDosDateToVarTimeFail, 1, 29190.0, res, out); | |
36680 | out = 0.0; dosDate = ((0 & 0x1f) | ((0 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1553), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29189.0) < 1.0e-11), szDosDateToVarTimeFail, 1, 29189.0, res, out); | |
36681 | ||
36682 | out = 0.0; dosDate = ((29 & 0x1f) | ((2 & 0xf) << 5) | (((1981 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1555), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29646.0) < 1.0e-11), szDosDateToVarTimeFail, 1, 29646.0, res, out); | |
36683 | out = 0.0; dosDate = ((30 & 0x1f) | ((2 & 0xf) << 5) | (((1981 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1556), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29647.0) < 1.0e-11), szDosDateToVarTimeFail, 1, 29647.0, res, out); | |
36684 | ||
36685 | out = 0.0; dosDate = ((29 & 0x1f) | ((2 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1558), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29280.0) < 1.0e-11), szDosDateToVarTimeFail, 1, 29280.0, res, out); | |
36686 | ||
36687 | out = 0.0; dosDate = ((2 & 0x1f) | ((13 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1560), 0) ? 0 : winetest_ok(0 == res && (!0 || fabs(out-0.0) < 1.0e-11), szDosDateToVarTimeFail, 0, 0.0, res, out); | |
36688 | ||
36689 | ||
36690 | out = 0.0; dosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((29>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1563), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29221.00032407407) < 1.0e-11), szDosDateToVarTimeFail, 1, 29221.00032407407, res, out); | |
36691 | out = 0.0; dosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((31>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1564), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29221.00034722222) < 1.0e-11), szDosDateToVarTimeFail, 1, 29221.00034722222, res, out); | |
36692 | out = 0.0; dosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((59 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1565), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29221.04097222222) < 1.0e-11), szDosDateToVarTimeFail, 1, 29221.04097222222, res, out); | |
36693 | out = 0.0; dosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((60 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1566), 0) ? 0 : winetest_ok(0 == res && (!0 || fabs(out-0.0) < 1.0e-11), szDosDateToVarTimeFail, 0, 0.0, res, out); | |
36694 | out = 0.0; dosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((23 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1567), 0) ? 0 : winetest_ok(1 == res && (!1 || fabs(out-29221.95833333333) < 1.0e-11), szDosDateToVarTimeFail, 1, 29221.95833333333, res, out); | |
36695 | out = 0.0; dosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); dosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((24 & 0x1f) << 11)); res = pDosDateTimeToVariantTime(dosDate, dosTime, &out); (winetest_set_location("vartest.c", 1568), 0) ? 0 : winetest_ok(0 == res && (!0 || fabs(out-0.0) < 1.0e-11), szDosDateToVarTimeFail, 0, 0.0, res, out); | |
36696 | } | |
36697 | # 1582 "vartest.c" | |
36698 | static void test_VariantTimeToDosDateTime(void) | |
36699 | { | |
36700 | USHORT dosDate, dosTime, expDosDate, expDosTime; | |
36701 | INT res; | |
36702 | ||
36703 | pVariantTimeToDosDateTime = (void*)GetProcAddress(hOleaut32, "VariantTimeToDosDateTime"); if (!pVariantTimeToDosDateTime) { (winetest_set_location("vartest.c", 1587), 0) ? (void)0 : winetest_trace("function " "VariantTimeToDosDateTime" " not available, not testing it\n"); return; }; | |
36704 | ||
36705 | ||
36706 | dosTime = dosDate = 0; expDosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); expDosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pVariantTimeToDosDateTime(29221.0, &dosDate, &dosTime); (winetest_set_location("vartest.c", 1590), 0) ? 0 : winetest_ok(1 == res && (!1 || (dosTime == expDosTime && dosDate == expDosDate)), "%g: expected %d,%d(%d/%d/%d),%d(%d:%d:%d) got %d,%d(%d/%d/%d),%d(%d:%d:%d)\n", 29221.0, 1, expDosDate, expDosDate & 0x1f, (expDosDate >> 5) & 0xf, 1980 + (expDosDate >> 9), expDosTime, expDosTime >> 11, (expDosTime >> 5) & 0x3f, (expDosTime & 0x1f), res, dosDate, dosDate & 0x1f, (dosDate >> 5) & 0xf, 1980 + (dosDate >> 9), dosTime, dosTime >> 11, (dosTime >> 5) & 0x3f, (dosTime & 0x1f)); | |
36707 | dosTime = dosDate = 0; expDosDate = ((31 & 0x1f) | ((12 & 0xf) << 5) | (((2099 -1980) & 0x7f) << 9)); expDosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pVariantTimeToDosDateTime(73050.0, &dosDate, &dosTime); (winetest_set_location("vartest.c", 1591), 0) ? 0 : winetest_ok(1 == res && (!1 || (dosTime == expDosTime && dosDate == expDosDate)), "%g: expected %d,%d(%d/%d/%d),%d(%d:%d:%d) got %d,%d(%d/%d/%d),%d(%d:%d:%d)\n", 73050.0, 1, expDosDate, expDosDate & 0x1f, (expDosDate >> 5) & 0xf, 1980 + (expDosDate >> 9), expDosTime, expDosTime >> 11, (expDosTime >> 5) & 0x3f, (expDosTime & 0x1f), res, dosDate, dosDate & 0x1f, (dosDate >> 5) & 0xf, 1980 + (dosDate >> 9), dosTime, dosTime >> 11, (dosTime >> 5) & 0x3f, (dosTime & 0x1f)); | |
36708 | dosTime = dosDate = 0; expDosDate = ((0 & 0x1f) | ((0 & 0xf) << 5) | (((0 -1980) & 0x7f) << 9)); expDosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pVariantTimeToDosDateTime(29220.0, &dosDate, &dosTime); (winetest_set_location("vartest.c", 1592), 0) ? 0 : winetest_ok(0 == res && (!0 || (dosTime == expDosTime && dosDate == expDosDate)), "%g: expected %d,%d(%d/%d/%d),%d(%d:%d:%d) got %d,%d(%d/%d/%d),%d(%d:%d:%d)\n", 29220.0, 0, expDosDate, expDosDate & 0x1f, (expDosDate >> 5) & 0xf, 1980 + (expDosDate >> 9), expDosTime, expDosTime >> 11, (expDosTime >> 5) & 0x3f, (expDosTime & 0x1f), res, dosDate, dosDate & 0x1f, (dosDate >> 5) & 0xf, 1980 + (dosDate >> 9), dosTime, dosTime >> 11, (dosTime >> 5) & 0x3f, (dosTime & 0x1f)); | |
36709 | dosTime = dosDate = 0; expDosDate = ((0 & 0x1f) | ((0 & 0xf) << 5) | (((0 -1980) & 0x7f) << 9)); expDosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pVariantTimeToDosDateTime(73415.0, &dosDate, &dosTime); (winetest_set_location("vartest.c", 1593), 0) ? 0 : winetest_ok(0 == res && (!0 || (dosTime == expDosTime && dosDate == expDosDate)), "%g: expected %d,%d(%d/%d/%d),%d(%d:%d:%d) got %d,%d(%d/%d/%d),%d(%d:%d:%d)\n", 73415.0, 0, expDosDate, expDosDate & 0x1f, (expDosDate >> 5) & 0xf, 1980 + (expDosDate >> 9), expDosTime, expDosTime >> 11, (expDosTime >> 5) & 0x3f, (expDosTime & 0x1f), res, dosDate, dosDate & 0x1f, (dosDate >> 5) & 0xf, 1980 + (dosDate >> 9), dosTime, dosTime >> 11, (dosTime >> 5) & 0x3f, (dosTime & 0x1f)); | |
36710 | ||
36711 | ||
36712 | dosTime = dosDate = 0; expDosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); expDosTime = (((29>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pVariantTimeToDosDateTime(29221.00032407407, &dosDate, &dosTime); (winetest_set_location("vartest.c", 1596), 0) ? 0 : winetest_ok(1 == res && (!1 || (dosTime == expDosTime && dosDate == expDosDate)), "%g: expected %d,%d(%d/%d/%d),%d(%d:%d:%d) got %d,%d(%d/%d/%d),%d(%d:%d:%d)\n", 29221.00032407407, 1, expDosDate, expDosDate & 0x1f, (expDosDate >> 5) & 0xf, 1980 + (expDosDate >> 9), expDosTime, expDosTime >> 11, (expDosTime >> 5) & 0x3f, (expDosTime & 0x1f), res, dosDate, dosDate & 0x1f, (dosDate >> 5) & 0xf, 1980 + (dosDate >> 9), dosTime, dosTime >> 11, (dosTime >> 5) & 0x3f, (dosTime & 0x1f)); | |
36713 | dosTime = dosDate = 0; expDosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); expDosTime = (((31>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pVariantTimeToDosDateTime(29221.00034722222, &dosDate, &dosTime); (winetest_set_location("vartest.c", 1597), 0) ? 0 : winetest_ok(1 == res && (!1 || (dosTime == expDosTime && dosDate == expDosDate)), "%g: expected %d,%d(%d/%d/%d),%d(%d:%d:%d) got %d,%d(%d/%d/%d),%d(%d:%d:%d)\n", 29221.00034722222, 1, expDosDate, expDosDate & 0x1f, (expDosDate >> 5) & 0xf, 1980 + (expDosDate >> 9), expDosTime, expDosTime >> 11, (expDosTime >> 5) & 0x3f, (expDosTime & 0x1f), res, dosDate, dosDate & 0x1f, (dosDate >> 5) & 0xf, 1980 + (dosDate >> 9), dosTime, dosTime >> 11, (dosTime >> 5) & 0x3f, (dosTime & 0x1f)); | |
36714 | dosTime = dosDate = 0; expDosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); expDosTime = (((0>>1) & 0x1f) | ((59 & 0x3f) << 5) | ((0 & 0x1f) << 11)); res = pVariantTimeToDosDateTime(29221.04097222222, &dosDate, &dosTime); (winetest_set_location("vartest.c", 1598), 0) ? 0 : winetest_ok(1 == res && (!1 || (dosTime == expDosTime && dosDate == expDosDate)), "%g: expected %d,%d(%d/%d/%d),%d(%d:%d:%d) got %d,%d(%d/%d/%d),%d(%d:%d:%d)\n", 29221.04097222222, 1, expDosDate, expDosDate & 0x1f, (expDosDate >> 5) & 0xf, 1980 + (expDosDate >> 9), expDosTime, expDosTime >> 11, (expDosTime >> 5) & 0x3f, (expDosTime & 0x1f), res, dosDate, dosDate & 0x1f, (dosDate >> 5) & 0xf, 1980 + (dosDate >> 9), dosTime, dosTime >> 11, (dosTime >> 5) & 0x3f, (dosTime & 0x1f)); | |
36715 | dosTime = dosDate = 0; expDosDate = ((1 & 0x1f) | ((1 & 0xf) << 5) | (((1980 -1980) & 0x7f) << 9)); expDosTime = (((0>>1) & 0x1f) | ((0 & 0x3f) << 5) | ((23 & 0x1f) << 11)); res = pVariantTimeToDosDateTime(29221.95833333333, &dosDate, &dosTime); (winetest_set_location("vartest.c", 1599), 0) ? 0 : winetest_ok(1 == res && (!1 || (dosTime == expDosTime && dosDate == expDosDate)), "%g: expected %d,%d(%d/%d/%d),%d(%d:%d:%d) got %d,%d(%d/%d/%d),%d(%d:%d:%d)\n", 29221.95833333333, 1, expDosDate, expDosDate & 0x1f, (expDosDate >> 5) & 0xf, 1980 + (expDosDate >> 9), expDosTime, expDosTime >> 11, (expDosTime >> 5) & 0x3f, (expDosTime & 0x1f), res, dosDate, dosDate & 0x1f, (dosDate >> 5) & 0xf, 1980 + (dosDate >> 9), dosTime, dosTime >> 11, (dosTime >> 5) & 0x3f, (dosTime & 0x1f)); | |
36716 | } | |
36717 | ||
36718 | static HRESULT (__attribute__((__stdcall__)) *pVarAbs)(LPVARIANT,LPVARIANT); | |
36719 | ||
36720 | static const char *szVarAbsFail = "VarAbs: expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
36721 | ||
36722 | ||
36723 | ||
36724 | ||
36725 | ||
36726 | ||
36727 | static void test_VarAbs(void) | |
36728 | { | |
36729 | static const WCHAR szNum[] = {'-','1','.','1','\0' }; | |
36730 | char buff[8]; | |
36731 | HRESULT hres; | |
36732 | VARIANT v, vDst; | |
36733 | size_t i; | |
36734 | ||
36735 | pVarAbs = (void*)GetProcAddress(hOleaut32, "VarAbs"); if (!pVarAbs) { (winetest_set_location("vartest.c", 1619), 0) ? (void)0 : winetest_trace("function " "VarAbs" " not available, not testing it\n"); return; }; | |
36736 | ||
36737 | ||
36738 | ||
36739 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
36740 | { | |
36741 | VARTYPE vt; | |
36742 | ||
36743 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
36744 | { | |
36745 | HRESULT hExpected = ((HRESULT)0x80020008L); | |
36746 | ||
36747 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
36748 | ||
36749 | memset(&v, 0, sizeof(v)); | |
36750 | ((&v)->n1.n2.vt) = vt | ExtraFlags[i]; | |
36751 | ((&vDst)->n1.n2.vt) = VT_EMPTY; | |
36752 | ||
36753 | hres = pVarAbs(&v,&vDst); | |
36754 | if (ExtraFlags[i] & (VT_ARRAY|VT_ARRAY) || | |
36755 | (!ExtraFlags[i] && (vt == VT_UNKNOWN || vt == VT_BSTR || | |
36756 | vt == VT_DISPATCH || vt == VT_ERROR || vt == VT_RECORD))) | |
36757 | { | |
36758 | hExpected = ((HRESULT)0x80020005L); | |
36759 | } | |
36760 | else if (ExtraFlags[i] || vt >= VT_CLSID || vt == VT_VARIANT) | |
36761 | { | |
36762 | hExpected = ((HRESULT)0x80020008L); | |
36763 | } | |
36764 | else if (IsValidVariantClearVT(vt, ExtraFlags[i])) | |
36765 | hExpected = ((HRESULT)0L); | |
36766 | ||
36767 | ||
36768 | ||
36769 | ||
36770 | if (vt == VT_I8 || vt == VT_UI8 || vt == VT_INT || vt == VT_UINT || | |
36771 | vt == VT_I1 || vt == VT_UI2 || vt == VT_UI4) | |
36772 | continue; | |
36773 | (winetest_set_location("vartest.c", 1657), 0) ? 0 : winetest_ok(hres == hExpected, "VarAbs: expected 0x%lX, got 0x%lX for vt %d | 0x%X\n", | |
36774 | hExpected, hres, vt, ExtraFlags[i]); | |
36775 | } | |
36776 | } | |
36777 | ||
36778 | ||
36779 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1663), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-((VARIANT_BOOL)0xFFFF)), szVarAbsFail, VT_I2, (int)(-((VARIANT_BOOL)0xFFFF)), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36780 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1664), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (((VARIANT_BOOL)0x0000)), szVarAbsFail, VT_I2, (int)(((VARIANT_BOOL)0x0000)), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36781 | ((&v)->n1.n2.vt) = VT_EMPTY; ((&v)->n1.n2.n3.lVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1665), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarAbsFail, VT_I2, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36782 | ((&v)->n1.n2.vt) = VT_EMPTY; ((&v)->n1.n2.n3.lVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1666), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarAbsFail, VT_I2, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36783 | ((&v)->n1.n2.vt) = VT_NULL; ((&v)->n1.n2.n3.lVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1667), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL && ((&vDst)->n1.n2.n3.lVal) == (0), szVarAbsFail, VT_NULL, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36784 | ((&v)->n1.n2.vt) = VT_NULL; ((&v)->n1.n2.n3.lVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1668), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL && ((&vDst)->n1.n2.n3.lVal) == (0), szVarAbsFail, VT_NULL, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36785 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1669), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (1), szVarAbsFail, VT_I2, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36786 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1670), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (1), szVarAbsFail, VT_I2, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36787 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1671), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (1), szVarAbsFail, VT_I4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36788 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1672), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (1), szVarAbsFail, VT_I4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36789 | ((&v)->n1.n2.vt) = VT_UI1; ((&v)->n1.n2.n3.bVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1673), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == (1), szVarAbsFail, VT_UI1, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.bVal)); | |
36790 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1674), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1), szVarAbsFail, VT_R4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
36791 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1675), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1), szVarAbsFail, VT_R4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
36792 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1676), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (1), szVarAbsFail, VT_R8, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
36793 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1677), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (1), szVarAbsFail, VT_R8, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
36794 | ((&v)->n1.n2.vt) = VT_DATE; ((&v)->n1.n2.n3.date) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1678), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DATE && ((&vDst)->n1.n2.n3.date) == (1), szVarAbsFail, VT_DATE, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.date)); | |
36795 | ((&v)->n1.n2.vt) = VT_DATE; ((&v)->n1.n2.n3.date) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarAbs(&v,&vDst); (winetest_set_location("vartest.c", 1679), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DATE && ((&vDst)->n1.n2.n3.date) == (1), szVarAbsFail, VT_DATE, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.date)); | |
36796 | ((&v)->n1.n2.vt) = VT_CY; | |
36797 | ((&v)->n1.n2.n3.cyVal).int64 = -10000; | |
36798 | memset(&vDst,0,sizeof(vDst)); | |
36799 | hres = pVarAbs(&v,&vDst); | |
36800 | (winetest_set_location("vartest.c", 1684), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_CY && ((&vDst)->n1.n2.n3.cyVal).int64 == 10000, | |
36801 | "VarAbs(CY): expected 0x0 got 0x%lX\n", hres); | |
36802 | GetLocaleInfoA(((((LONG)(((WORD)((DWORD_PTR)((((((WORD)(0x01))<<10) | (WORD)(0x00)))) & 0xFFFF)) | ((DWORD)((WORD)((DWORD_PTR)(0x0) & 0xFFFF))) << 16)))), 0x000E, buff, sizeof(buff)/sizeof(char)); | |
36803 | if (buff[0] != '.' || buff[1]) | |
36804 | { | |
36805 | (winetest_set_location("vartest.c", 1689), 0) ? (void)0 : winetest_trace("Skipping VarAbs(BSTR) as decimal separator is '%s'\n", buff); | |
36806 | return; | |
36807 | } | |
36808 | ((&v)->n1.n2.vt) = VT_BSTR; | |
36809 | ((&v)->n1.n2.n3.bstrVal) = (BSTR)szNum; | |
36810 | memset(&vDst,0,sizeof(vDst)); | |
36811 | hres = pVarAbs(&v,&vDst); | |
36812 | (winetest_set_location("vartest.c", 1696), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == 1.1, | |
36813 | "VarAbs: expected 0x0,%d,%g, got 0x%lX,%d,%g\n", VT_R8, 1.1, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.dblVal)); | |
36814 | } | |
36815 | ||
36816 | static HRESULT (__attribute__((__stdcall__)) *pVarNot)(LPVARIANT,LPVARIANT); | |
36817 | ||
36818 | static const char *szVarNotFail = "VarNot: expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
36819 | ||
36820 | ||
36821 | ||
36822 | ||
36823 | ||
36824 | ||
36825 | static void test_VarNot(void) | |
36826 | { | |
36827 | static const WCHAR szNum0[] = {'0','\0' }; | |
36828 | static const WCHAR szNum1[] = {'1','\0' }; | |
36829 | HRESULT hres; | |
36830 | VARIANT v, vDst; | |
36831 | DECIMAL *pdec = &((&v)->n1.decVal); | |
36832 | CY *pcy = &((&v)->n1.n2.n3.cyVal); | |
36833 | size_t i; | |
36834 | ||
36835 | pVarNot = (void*)GetProcAddress(hOleaut32, "VarNot"); if (!pVarNot) { (winetest_set_location("vartest.c", 1719), 0) ? (void)0 : winetest_trace("function " "VarNot" " not available, not testing it\n"); return; }; | |
36836 | ||
36837 | ||
36838 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
36839 | { | |
36840 | VARTYPE vt; | |
36841 | ||
36842 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
36843 | { | |
36844 | HRESULT hExpected = ((HRESULT)0x80020008L); | |
36845 | ||
36846 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
36847 | ||
36848 | memset(&v, 0, sizeof(v)); | |
36849 | ((&v)->n1.n2.vt) = vt | ExtraFlags[i]; | |
36850 | ((&vDst)->n1.n2.vt) = VT_EMPTY; | |
36851 | ||
36852 | switch (((&v)->n1.n2.vt)) | |
36853 | { | |
36854 | case VT_I1: case VT_UI1: case VT_I2: case VT_UI2: | |
36855 | case VT_INT: case VT_UINT: case VT_I4: case VT_UI4: | |
36856 | case VT_R4: case VT_R8: | |
36857 | case VT_DECIMAL: case VT_BOOL: case VT_NULL: case VT_EMPTY: | |
36858 | case VT_DATE: case VT_CY: | |
36859 | hExpected = ((HRESULT)0L); | |
36860 | break; | |
36861 | case VT_I8: case VT_UI8: | |
36862 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
36863 | hExpected = ((HRESULT)0L); | |
36864 | break; | |
36865 | case VT_RECORD: | |
36866 | if (((void*)GetProcAddress(hOleaut32, "SafeArraySetRecordInfo") != ((void *)0))) | |
36867 | hExpected = ((HRESULT)0x80020005L); | |
36868 | break; | |
36869 | case VT_UNKNOWN: case VT_BSTR: case VT_DISPATCH: case VT_ERROR: | |
36870 | hExpected = ((HRESULT)0x80020005L); | |
36871 | break; | |
36872 | default: | |
36873 | if (IsValidVariantClearVT(vt, ExtraFlags[i]) && vt != VT_CLSID) | |
36874 | hExpected = ((HRESULT)0x80020005L); | |
36875 | break; | |
36876 | } | |
36877 | ||
36878 | hres = pVarNot(&v,&vDst); | |
36879 | (winetest_set_location("vartest.c", 1763), 0) ? 0 : winetest_ok(hres == hExpected, "VarNot: expected 0x%lX, got 0x%lX vt %d|0x%X\n", | |
36880 | hExpected, hres, vt, ExtraFlags[i]); | |
36881 | } | |
36882 | } | |
36883 | ||
36884 | ((&v)->n1.n2.vt) = VT_EMPTY; ((&v)->n1.n2.n3.lVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1768), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), szVarNotFail, VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36885 | ((&v)->n1.n2.vt) = VT_EMPTY; ((&v)->n1.n2.n3.lVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1769), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), szVarNotFail, VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36886 | ((&v)->n1.n2.vt) = VT_NULL; ((&v)->n1.n2.n3.lVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1770), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL && ((&vDst)->n1.n2.n3.lVal) == (0), szVarNotFail, VT_NULL, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36887 | ((&v)->n1.n2.vt) = VT_NULL; ((&v)->n1.n2.n3.lVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1771), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL && ((&vDst)->n1.n2.n3.lVal) == (0), szVarNotFail, VT_NULL, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36888 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1772), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_BOOL && ((&vDst)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarNotFail, VT_BOOL, (int)(((VARIANT_BOOL)0x0000)), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.boolVal)); | |
36889 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1773), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_BOOL && ((&vDst)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarNotFail, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.boolVal)); | |
36890 | ((&v)->n1.n2.vt) = VT_I1; ((&v)->n1.n2.n3.cVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1774), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarNotFail, VT_I4, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36891 | ((&v)->n1.n2.vt) = VT_I1; ((&v)->n1.n2.n3.cVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1775), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36892 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1776), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarNotFail, VT_I2, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36893 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1777), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), szVarNotFail, VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36894 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1778), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-2), szVarNotFail, VT_I2, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
36895 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1779), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36896 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1780), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36897 | ((&v)->n1.n2.vt) = VT_UI1; ((&v)->n1.n2.n3.bVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1781), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == (254), szVarNotFail, VT_UI1, (int)(254), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.bVal)); | |
36898 | ((&v)->n1.n2.vt) = VT_UI1; ((&v)->n1.n2.n3.bVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1782), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == (255), szVarNotFail, VT_UI1, (int)(255), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.bVal)); | |
36899 | ((&v)->n1.n2.vt) = VT_UI2; ((&v)->n1.n2.n3.uiVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1783), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36900 | ((&v)->n1.n2.vt) = VT_UI2; ((&v)->n1.n2.n3.uiVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1784), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36901 | ((&v)->n1.n2.vt) = VT_UI4; ((&v)->n1.n2.n3.ulVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1785), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36902 | ((&v)->n1.n2.vt) = VT_UI4; ((&v)->n1.n2.n3.ulVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1786), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36903 | ((&v)->n1.n2.vt) = VT_INT; ((&v)->n1.n2.n3.intVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1787), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36904 | ((&v)->n1.n2.vt) = VT_INT; ((&v)->n1.n2.n3.intVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1788), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36905 | ((&v)->n1.n2.vt) = VT_UINT; ((&v)->n1.n2.n3.uintVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1789), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36906 | ((&v)->n1.n2.vt) = VT_UINT; ((&v)->n1.n2.n3.uintVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1790), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36907 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
36908 | { | |
36909 | ((&v)->n1.n2.vt) = VT_I8; ((&v)->n1.n2.n3.llVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1793), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (-2), szVarNotFail, VT_I8, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.llVal)); | |
36910 | ((&v)->n1.n2.vt) = VT_I8; ((&v)->n1.n2.n3.llVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1794), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (-1), szVarNotFail, VT_I8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.llVal)); | |
36911 | ((&v)->n1.n2.vt) = VT_UI8; ((&v)->n1.n2.n3.ullVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1795), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36912 | ((&v)->n1.n2.vt) = VT_UI8; ((&v)->n1.n2.n3.ullVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1796), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36913 | } | |
36914 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1798), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36915 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1799), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36916 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1800), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36917 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1801), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36918 | ((&v)->n1.n2.vt) = VT_DATE; ((&v)->n1.n2.n3.date) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1802), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36919 | ((&v)->n1.n2.vt) = VT_DATE; ((&v)->n1.n2.n3.date) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1803), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36920 | ((&v)->n1.n2.vt) = VT_BSTR; ((&v)->n1.n2.n3.bstrVal) = (BSTR)szNum0; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1804), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36921 | (winetest_set_location("vartest.c", 1805), 0) ? 0 : winetest_ok(((&v)->n1.n2.vt) == VT_BSTR && ((&v)->n1.n2.n3.bstrVal) == szNum0, "VarNot(0): changed input\n"); | |
36922 | ((&v)->n1.n2.vt) = VT_BSTR; ((&v)->n1.n2.n3.bstrVal) = (BSTR)szNum1; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1806), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36923 | (winetest_set_location("vartest.c", 1807), 0) ? 0 : winetest_ok(((&v)->n1.n2.vt) == VT_BSTR && ((&v)->n1.n2.n3.bstrVal) == szNum1, "VarNot(1): changed input\n"); | |
36924 | ||
36925 | ((&v)->n1.n2.vt) = VT_DECIMAL; | |
36926 | ((*pdec)).sign = ((BYTE)0x80); | |
36927 | ((*pdec)).scale = 0; | |
36928 | pdec->Hi32 = 0; | |
36929 | ((*pdec)).Mid32 = 0; | |
36930 | ((*pdec)).Lo32 = 1; | |
36931 | ((&v)->n1.n2.vt) = VT_DECIMAL; ((&v)->n1.decVal) = *pdec; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1815), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarNotFail, VT_I4, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36932 | ||
36933 | pcy->int64 = 10000; | |
36934 | ((&v)->n1.n2.vt) = VT_CY; ((&v)->n1.n2.n3.cyVal) = *pcy; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1818), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-2), szVarNotFail, VT_I4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36935 | ||
36936 | pcy->int64 = 0; | |
36937 | ((&v)->n1.n2.vt) = VT_CY; ((&v)->n1.n2.n3.cyVal) = *pcy; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1821), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36938 | ||
36939 | pcy->int64 = -1; | |
36940 | ((&v)->n1.n2.vt) = VT_CY; ((&v)->n1.n2.n3.cyVal) = *pcy; memset(&vDst,0,sizeof(vDst)); hres = pVarNot(&v,&vDst); (winetest_set_location("vartest.c", 1824), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNotFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
36941 | } | |
36942 | ||
36943 | static HRESULT (__attribute__((__stdcall__)) *pVarSub)(LPVARIANT,LPVARIANT,LPVARIANT); | |
36944 | ||
36945 | static const char *szVarSubI4 = "VarSub(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
36946 | static const char *szVarSubR8 = "VarSub(%d,%d): expected 0x0,%d,%f, got 0x%lX,%d,%f\n"; | |
36947 | # 1846 "vartest.c" | |
36948 | static void test_VarSub(void) | |
36949 | { | |
36950 | static const WCHAR sz12[] = {'1','2','\0'}; | |
36951 | VARIANT left, right, result, cy, dec; | |
36952 | VARTYPE i; | |
36953 | BSTR lbstr, rbstr; | |
36954 | HRESULT hres, expectedhres; | |
36955 | double r; | |
36956 | ||
36957 | pVarSub = (void*)GetProcAddress(hOleaut32, "VarSub"); if (!pVarSub) { (winetest_set_location("vartest.c", 1855), 0) ? (void)0 : winetest_trace("function " "VarSub" " not available, not testing it\n"); return; }; | |
36958 | ||
36959 | lbstr = SysAllocString(sz12); | |
36960 | rbstr = SysAllocString(sz12); | |
36961 | ||
36962 | VariantInit(&left); | |
36963 | VariantInit(&right); | |
36964 | VariantInit(&result); | |
36965 | ||
36966 | ||
36967 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
36968 | { | |
36969 | ||
36970 | VARTYPE leftvt, rightvt, resvt; | |
36971 | ||
36972 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
36973 | { | |
36974 | ||
36975 | if((leftvt > VT_CLSID+10) && (leftvt < VT_BSTR_BLOB-10)) continue;; | |
36976 | ||
36977 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
36978 | { | |
36979 | ||
36980 | if((rightvt > VT_CLSID+10) && (rightvt < VT_BSTR_BLOB-10)) continue;; | |
36981 | expectedhres = ((HRESULT)0L); | |
36982 | ||
36983 | memset(&left, 0, sizeof(left)); | |
36984 | memset(&right, 0, sizeof(right)); | |
36985 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
36986 | if (leftvt == VT_BSTR) | |
36987 | ((&left)->n1.n2.n3.bstrVal) = lbstr; | |
36988 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
36989 | if (rightvt == VT_BSTR) | |
36990 | ((&right)->n1.n2.n3.bstrVal) = rbstr; | |
36991 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
36992 | resvt = VT_ERROR; | |
36993 | ||
36994 | ||
36995 | if (ExtraFlags[i] == (VT_VECTOR|VT_BYREF|VT_RESERVED) || | |
36996 | ExtraFlags[i] == (VT_VECTOR|VT_RESERVED) || | |
36997 | ExtraFlags[i] == (VT_VECTOR|VT_BYREF) || | |
36998 | ExtraFlags[i] == (VT_BYREF|VT_RESERVED) || | |
36999 | ExtraFlags[i] == VT_VECTOR || | |
37000 | ExtraFlags[i] == VT_BYREF || | |
37001 | ExtraFlags[i] == VT_RESERVED) | |
37002 | { | |
37003 | expectedhres = ((HRESULT)0x80020008L); | |
37004 | resvt = VT_EMPTY; | |
37005 | } | |
37006 | else if (ExtraFlags[i] >= VT_ARRAY) | |
37007 | { | |
37008 | expectedhres = ((HRESULT)0x80020005L); | |
37009 | resvt = VT_EMPTY; | |
37010 | } | |
37011 | ||
37012 | ||
37013 | else if (!IsValidVariantClearVT(leftvt, ExtraFlags[i]) || | |
37014 | !IsValidVariantClearVT(rightvt, ExtraFlags[i]) || | |
37015 | leftvt == VT_CLSID || rightvt == VT_CLSID || | |
37016 | leftvt == VT_VARIANT || rightvt == VT_VARIANT || | |
37017 | leftvt == VT_I1 || rightvt == VT_I1 || | |
37018 | leftvt == VT_UI2 || rightvt == VT_UI2 || | |
37019 | leftvt == VT_UI4 || rightvt == VT_UI4 || | |
37020 | leftvt == VT_UI8 || rightvt == VT_UI8 || | |
37021 | leftvt == VT_INT || rightvt == VT_INT || | |
37022 | leftvt == VT_UINT || rightvt == VT_UINT || | |
37023 | leftvt == VT_UNKNOWN || rightvt == VT_UNKNOWN || | |
37024 | leftvt == VT_RECORD || rightvt == VT_RECORD) | |
37025 | { | |
37026 | if (leftvt == VT_RECORD && rightvt == VT_I8) | |
37027 | expectedhres = ((HRESULT)0x80020005L); | |
37028 | else if (leftvt < VT_UI1 && rightvt == VT_RECORD) | |
37029 | expectedhres = ((HRESULT)0x80020005L); | |
37030 | else if (leftvt >= VT_UI1 && rightvt == VT_RECORD) | |
37031 | expectedhres = ((HRESULT)0x80020005L); | |
37032 | else if (leftvt == VT_RECORD && rightvt <= VT_UI1) | |
37033 | expectedhres = ((HRESULT)0x80020005L); | |
37034 | else if (leftvt == VT_RECORD && rightvt > VT_UI1) | |
37035 | expectedhres = ((HRESULT)0x80020008L); | |
37036 | else | |
37037 | expectedhres = ((HRESULT)0x80020008L); | |
37038 | resvt = VT_EMPTY; | |
37039 | } | |
37040 | else if ((leftvt == VT_NULL && rightvt == VT_DISPATCH) || | |
37041 | (leftvt == VT_DISPATCH && rightvt == VT_NULL)) | |
37042 | resvt = VT_NULL; | |
37043 | else if (leftvt == VT_DISPATCH || rightvt == VT_DISPATCH || | |
37044 | leftvt == VT_ERROR || rightvt == VT_ERROR) | |
37045 | { | |
37046 | resvt = VT_EMPTY; | |
37047 | expectedhres = ((HRESULT)0x80020005L); | |
37048 | } | |
37049 | else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
37050 | resvt = VT_NULL; | |
37051 | else if ((leftvt == VT_EMPTY && rightvt == VT_BSTR) || | |
37052 | (leftvt == VT_DATE && rightvt == VT_DATE) || | |
37053 | (leftvt == VT_BSTR && rightvt == VT_EMPTY) || | |
37054 | (leftvt == VT_BSTR && rightvt == VT_BSTR)) | |
37055 | resvt = VT_R8; | |
37056 | else if (leftvt == VT_DECIMAL || rightvt == VT_DECIMAL) | |
37057 | resvt = VT_DECIMAL; | |
37058 | else if (leftvt == VT_DATE || rightvt == VT_DATE) | |
37059 | resvt = VT_DATE; | |
37060 | else if (leftvt == VT_CY || rightvt == VT_CY) | |
37061 | resvt = VT_CY; | |
37062 | else if (leftvt == VT_R8 || rightvt == VT_R8) | |
37063 | resvt = VT_R8; | |
37064 | else if (leftvt == VT_BSTR || rightvt == VT_BSTR) { | |
37065 | resvt = VT_R8; | |
37066 | } else if (leftvt == VT_R4 || rightvt == VT_R4) { | |
37067 | if (leftvt == VT_I4 || rightvt == VT_I4 || | |
37068 | leftvt == VT_I8 || rightvt == VT_I8) | |
37069 | resvt = VT_R8; | |
37070 | else | |
37071 | resvt = VT_R4; | |
37072 | } | |
37073 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
37074 | resvt = VT_I8; | |
37075 | else if (leftvt == VT_I4 || rightvt == VT_I4) | |
37076 | resvt = VT_I4; | |
37077 | else if (leftvt == VT_I2 || rightvt == VT_I2 || | |
37078 | leftvt == VT_BOOL || rightvt == VT_BOOL || | |
37079 | (leftvt == VT_EMPTY && rightvt == VT_EMPTY)) | |
37080 | resvt = VT_I2; | |
37081 | else if (leftvt == VT_UI1 || rightvt == VT_UI1) | |
37082 | resvt = VT_UI1; | |
37083 | else | |
37084 | { | |
37085 | resvt = VT_EMPTY; | |
37086 | expectedhres = ((HRESULT)0x80020005L); | |
37087 | } | |
37088 | ||
37089 | hres = pVarSub(&left, &right, &result); | |
37090 | ||
37091 | (winetest_set_location("vartest.c", 1989), 0) ? 0 : winetest_ok(hres == expectedhres && ((&result)->n1.n2.vt) == resvt, | |
37092 | "VarSub: %d|0x%X, %d|0x%X: Expected failure 0x%lX, " | |
37093 | "got 0x%lX, expected vt %d got vt %d\n", | |
37094 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], | |
37095 | expectedhres, hres, resvt, ((&result)->n1.n2.vt)); | |
37096 | } | |
37097 | } | |
37098 | } | |
37099 | ||
37100 | ||
37101 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 4; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 1999), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(2))<1e-7), szVarSubR8, VT_I4, VT_I4, VT_I4, (double)(2), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 1999), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarSubI4, VT_I4, VT_I4, VT_I4, (int)(2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
37102 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 4; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_I2 == VT_R4 || VT_I2 == VT_R8 || VT_I2 == VT_DATE) { (winetest_set_location("vartest.c", 2000), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && (fabs((((&result)->n1.n2.n3.iVal))-(2))<1e-7), szVarSubR8, VT_I2, VT_I2, VT_I2, (double)(2), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.iVal)); } else { (winetest_set_location("vartest.c", 2000), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (2), szVarSubI4, VT_I2, VT_I2, VT_I2, (int)(2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); }; | |
37103 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -13; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 5; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 2001), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(-18))<1e-7), szVarSubR8, VT_I2, VT_I4, VT_I4, (double)(-18), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 2001), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-18), szVarSubI4, VT_I2, VT_I4, VT_I4, (int)(-18), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
37104 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -13; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 5; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 2002), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(-18))<1e-7), szVarSubR8, VT_I4, VT_I4, VT_I4, (double)(-18), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 2002), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-18), szVarSubI4, VT_I4, VT_I4, VT_I4, (int)(-18), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
37105 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 7; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0.5; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8 || VT_R4 == VT_DATE) { (winetest_set_location("vartest.c", 2003), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(6.5))<1e-7), szVarSubR8, VT_I2, VT_R4, VT_R4, (double)(6.5), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 2003), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (6.5), szVarSubI4, VT_I2, VT_R4, VT_R4, (int)(6.5), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
37106 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0.5; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 5; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 2004), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(-4.5))<1e-7), szVarSubR8, VT_R4, VT_I4, VT_R8, (double)(-4.5), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 2004), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (-4.5), szVarSubI4, VT_R4, VT_I4, VT_R8, (int)(-4.5), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
37107 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 7.1; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 2005), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(7.1))<1e-7), szVarSubR8, VT_R8, VT_BOOL, VT_R8, (double)(7.1), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 2005), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (7.1), szVarSubI4, VT_R8, VT_BOOL, VT_R8, (int)(7.1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
37108 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 4; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 2006), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(8))<1e-7), szVarSubR8, VT_BSTR, VT_I2, VT_R8, (double)(8), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 2006), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (8), szVarSubI4, VT_BSTR, VT_I2, VT_R8, (int)(8), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
37109 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 2007), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(11))<1e-7), szVarSubR8, VT_BSTR, VT_BOOL, VT_R8, (double)(11), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 2007), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (11), szVarSubI4, VT_BSTR, VT_BOOL, VT_R8, (int)(11), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
37110 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0.1; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 2008), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(11.9))<1e-7), szVarSubR8, VT_BSTR, VT_R4, VT_R8, (double)(11.9), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 2008), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (11.9), szVarSubI4, VT_BSTR, VT_R4, VT_R8, (int)(11.9), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
37111 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0.2; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 2009), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(-11.8))<1e-7), szVarSubR8, VT_R4, VT_BSTR, VT_R8, (double)(-11.8), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 2009), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (-11.8), szVarSubI4, VT_R4, VT_BSTR, VT_R8, (int)(-11.8), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
37112 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 2.25; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 7; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_DATE == VT_R4 || VT_DATE == VT_R8 || VT_DATE == VT_DATE) { (winetest_set_location("vartest.c", 2010), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DATE && (fabs((((&result)->n1.n2.n3.date))-(-4.75))<1e-7), szVarSubR8, VT_DATE, VT_I4, VT_DATE, (double)(-4.75), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.date)); } else { (winetest_set_location("vartest.c", 2010), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DATE && ((&result)->n1.n2.n3.date) == (-4.75), szVarSubI4, VT_DATE, VT_I4, VT_DATE, (int)(-4.75), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.date)); }; | |
37113 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 1.25; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1.7; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_DATE == VT_R4 || VT_DATE == VT_R8 || VT_DATE == VT_DATE) { (winetest_set_location("vartest.c", 2011), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DATE && (fabs((((&result)->n1.n2.n3.date))-(2.95))<1e-7), szVarSubR8, VT_DATE, VT_R4, VT_DATE, (double)(2.95), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.date)); } else { (winetest_set_location("vartest.c", 2011), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DATE && ((&result)->n1.n2.n3.date) == (2.95), szVarSubI4, VT_DATE, VT_R4, VT_DATE, (int)(2.95), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.date)); }; | |
37114 | ||
37115 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0xff; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0xff; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_UI1 == VT_R4 || VT_UI1 == VT_R8 || VT_UI1 == VT_DATE) { (winetest_set_location("vartest.c", 2013), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && (fabs((((&result)->n1.n2.n3.bVal))-(0))<1e-7), szVarSubR8, VT_UI1, VT_UI1, VT_UI1, (double)(0), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.bVal)); } else { (winetest_set_location("vartest.c", 2013), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (0), szVarSubI4, VT_UI1, VT_UI1, VT_UI1, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); }; | |
37116 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0x7fff; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0x7fff; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_I2 == VT_R4 || VT_I2 == VT_R8 || VT_I2 == VT_DATE) { (winetest_set_location("vartest.c", 2014), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && (fabs((((&result)->n1.n2.n3.iVal))-(0))<1e-7), szVarSubR8, VT_I2, VT_I2, VT_I2, (double)(0), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.iVal)); } else { (winetest_set_location("vartest.c", 2014), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarSubI4, VT_I2, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); }; | |
37117 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = ((-0x7fff)-1); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = ((-0x7fff)-1); memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_I2 == VT_R4 || VT_I2 == VT_R8 || VT_I2 == VT_DATE) { (winetest_set_location("vartest.c", 2015), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && (fabs((((&result)->n1.n2.n3.iVal))-(0))<1e-7), szVarSubR8, VT_I2, VT_I2, VT_I2, (double)(0), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.iVal)); } else { (winetest_set_location("vartest.c", 2015), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarSubI4, VT_I2, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); }; | |
37118 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 2016), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(0.0))<1e-7), szVarSubR8, VT_I4, VT_I4, VT_I4, (double)(0.0), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 2016), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0.0), szVarSubI4, VT_I4, VT_I4, VT_I4, (int)(0.0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
37119 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = ((-0x7fffffff)-1); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = ((-0x7fffffff)-1); memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 2017), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(0.0))<1e-7), szVarSubR8, VT_I4, VT_I4, VT_I4, (double)(0.0), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 2017), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0.0), szVarSubI4, VT_I4, VT_I4, VT_I4, (int)(0.0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
37120 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 3.40282347e+38F; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8 || VT_R4 == VT_DATE) { (winetest_set_location("vartest.c", 2018), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(0.0))<1e-7), szVarSubR8, VT_R4, VT_R4, VT_R4, (double)(0.0), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 2018), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (0.0), szVarSubI4, VT_R4, VT_R4, VT_R4, (int)(0.0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
37121 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1.17549435e-38F; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8 || VT_R4 == VT_DATE) { (winetest_set_location("vartest.c", 2019), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(3.40282347e+38F - 1.17549435e-38F))<1e-7), szVarSubR8, VT_R4, VT_R4, VT_R4, (double)(3.40282347e+38F - 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 2019), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (3.40282347e+38F - 1.17549435e-38F), szVarSubI4, VT_R4, VT_R4, VT_R4, (int)(3.40282347e+38F - 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
37122 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 1.17549435e-38F; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1.17549435e-38F; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8 || VT_R4 == VT_DATE) { (winetest_set_location("vartest.c", 2020), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(0.0))<1e-7), szVarSubR8, VT_R4, VT_R4, VT_R4, (double)(0.0), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 2020), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (0.0), szVarSubI4, VT_R4, VT_R4, VT_R4, (int)(0.0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
37123 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 2021), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(1.7976931348623157e+308 - 2.2250738585072014e-308))<1e-7), szVarSubR8, VT_R8, VT_R8, VT_R8, (double)(1.7976931348623157e+308 - 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 2021), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (1.7976931348623157e+308 - 2.2250738585072014e-308), szVarSubI4, VT_R8, VT_R8, VT_R8, (int)(1.7976931348623157e+308 - 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
37124 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; memset(&result,0,sizeof(result)); hres = pVarSub(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 2022), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(0.0))<1e-7), szVarSubR8, VT_R8, VT_R8, VT_R8, (double)(0.0), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 2022), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (0.0), szVarSubI4, VT_R8, VT_R8, VT_R8, (int)(0.0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
37125 | ||
37126 | ||
37127 | ((&left)->n1.n2.vt) = VT_BSTR; | |
37128 | ((&left)->n1.n2.n3.bstrVal) = lbstr; | |
37129 | ((&right)->n1.n2.vt) = VT_BSTR; | |
37130 | ((&right)->n1.n2.n3.bstrVal) = rbstr; | |
37131 | hres = VarSub(&left, &right, &result); | |
37132 | (winetest_set_location("vartest.c", 2030), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
37133 | "VarSub: expected coerced type VT_R8, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
37134 | (winetest_set_location("vartest.c", 2032), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(0))<1e-14), | |
37135 | "VarSub: BSTR + BSTR, expected %f got %f\n", 0.0, ((&result)->n1.n2.n3.dblVal)); | |
37136 | ||
37137 | ||
37138 | ((&cy)->n1.n2.vt) = VT_CY; | |
37139 | hres = VarCyFromI4(4711, &((&cy)->n1.n2.n3.cyVal)); | |
37140 | (winetest_set_location("vartest.c", 2038), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCyFromI4 failed!\n"); | |
37141 | ((&dec)->n1.n2.vt) = VT_DECIMAL; | |
37142 | hres = VarDecFromR8(-4.2, &((&dec)->n1.decVal)); | |
37143 | (winetest_set_location("vartest.c", 2041), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarDecFromR4 failed!\n"); | |
37144 | memset(&left, 0, sizeof(left)); | |
37145 | memset(&right, 0, sizeof(right)); | |
37146 | ((&left)->n1.n2.vt) = VT_I4; | |
37147 | ((&left)->n1.n2.n3.lVal) = -11; | |
37148 | ((&right)->n1.n2.vt) = VT_UI1; | |
37149 | ((&right)->n1.n2.n3.bVal) = 9; | |
37150 | ||
37151 | hres = VarSub(&cy, &right, &result); | |
37152 | (winetest_set_location("vartest.c", 2050), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_CY, | |
37153 | "VarSub: expected coerced type VT_CY, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
37154 | hres = VarR8FromCy(((&result)->n1.n2.n3.cyVal), &r); | |
37155 | (winetest_set_location("vartest.c", 2053), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(4702))<1e-14), | |
37156 | "VarSub: CY value %f, expected %f\n", r, (double)4720); | |
37157 | ||
37158 | hres = VarSub(&left, &dec, &result); | |
37159 | (winetest_set_location("vartest.c", 2057), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DECIMAL, | |
37160 | "VarSub: expected coerced type VT_DECIMAL, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
37161 | hres = VarR8FromDec(&((&result)->n1.decVal), &r); | |
37162 | (winetest_set_location("vartest.c", 2060), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(-6.8))<1e-14), | |
37163 | "VarSub: DECIMAL value %f, expected %f\n", r, (double)-15.2); | |
37164 | ||
37165 | SysFreeString(lbstr); | |
37166 | SysFreeString(rbstr); | |
37167 | } | |
37168 | ||
37169 | static const char *szVarModFail = "VarMod: expected 0x%lx,%d(%s),%d, got 0x%lX,%d(%s),%d\n"; | |
37170 | ||
37171 | ||
37172 | ||
37173 | ||
37174 | ||
37175 | ||
37176 | ||
37177 | static const char *szVarMod2Fail = "VarMod: expected 0x%lx,%d(%s),%d, got 0x%lX,%d(%s),%d\n"; | |
37178 | ||
37179 | ||
37180 | ||
37181 | ||
37182 | ||
37183 | ||
37184 | ||
37185 | static HRESULT (__attribute__((__stdcall__)) *pVarMod)(LPVARIANT,LPVARIANT,LPVARIANT); | |
37186 | ||
37187 | static void test_VarMod(void) | |
37188 | { | |
37189 | VARIANT v1, v2, vDst; | |
37190 | HRESULT hres; | |
37191 | HRESULT hexpected = 0; | |
37192 | static const WCHAR szNum0[] = {'1','2','5','\0'}; | |
37193 | static const WCHAR szNum1[] = {'1','0','\0'}; | |
37194 | int l, r; | |
37195 | BOOL lFound, rFound; | |
37196 | BOOL lValid, rValid; | |
37197 | BSTR strNum0, strNum1; | |
37198 | ||
37199 | pVarMod = (void*)GetProcAddress(hOleaut32, "VarMod"); if (!pVarMod) { (winetest_set_location("vartest.c", 2097), 0) ? (void)0 : winetest_trace("function " "VarMod" " not available, not testing it\n"); return; }; | |
37200 | ||
37201 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2099), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37202 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2100), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37203 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2101), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37204 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2102), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37205 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2103), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37206 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2104), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37207 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2105), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37208 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2106), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37209 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2107), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37210 | ||
37211 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2109), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarModFail, ((HRESULT)0L), VT_I2, vtstr(VT_I2), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.iVal)); | |
37212 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2110), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37213 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2111), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == (0), szVarModFail, ((HRESULT)0L), VT_UI1, vtstr(VT_UI1), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.bVal)); | |
37214 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2112), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarModFail, ((HRESULT)0L), VT_I2, vtstr(VT_I2), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.iVal)); | |
37215 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2113), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37216 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2114), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37217 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2115), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37218 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2116), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37219 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2117), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37220 | ||
37221 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2119), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarModFail, ((HRESULT)0L), VT_I2, vtstr(VT_I2), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.iVal)); | |
37222 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2120), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37223 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2121), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarModFail, ((HRESULT)0L), VT_I2, vtstr(VT_I2), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.iVal)); | |
37224 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2122), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarModFail, ((HRESULT)0L), VT_I2, vtstr(VT_I2), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.iVal)); | |
37225 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2123), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37226 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2124), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37227 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2125), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37228 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2126), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37229 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2127), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37230 | ||
37231 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2129), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37232 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2130), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37233 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2131), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37234 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2132), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37235 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2133), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37236 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2134), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37237 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2135), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37238 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2136), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37239 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2137), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37240 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2138), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37241 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2139), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37242 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2140), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37243 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2141), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37244 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2142), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37245 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2143), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37246 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2144), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37247 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2145), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37248 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2146), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37249 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2147), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37250 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2148), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37251 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2149), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37252 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2150), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37253 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2151), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37254 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2152), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37255 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2153), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37256 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2154), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37257 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2155), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37258 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2156), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37259 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2157), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37260 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2158), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37261 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2159), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37262 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2160), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37263 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2161), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37264 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2162), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37265 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2163), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37266 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2164), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37267 | ||
37268 | ((&v1)->n1.n2.vt) = VT_INT; ((&v1)->n1.n2.n3.intVal) = 100; ((&v2)->n1.n2.vt) = VT_INT; ((&v2)->n1.n2.n3.intVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2166), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37269 | ((&v1)->n1.n2.vt) = VT_INT; ((&v1)->n1.n2.n3.intVal) = 100; ((&v2)->n1.n2.vt) = VT_UINT; ((&v2)->n1.n2.n3.uintVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2167), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37270 | ||
37271 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2169), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarModFail, ((HRESULT)0L), VT_I2, vtstr(VT_I2), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.iVal)); | |
37272 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2170), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37273 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2171), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarModFail, ((HRESULT)0L), VT_I2, vtstr(VT_I2), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.iVal)); | |
37274 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2172), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarModFail, ((HRESULT)0L), VT_I2, vtstr(VT_I2), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.iVal)); | |
37275 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2173), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37276 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2174), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37277 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2175), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37278 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2176), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37279 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2177), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37280 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_DATE; ((&v2)->n1.n2.n3.date) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2178), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37281 | ||
37282 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2180), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37283 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2181), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37284 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2182), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37285 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2183), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37286 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2184), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37287 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2185), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37288 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2186), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37289 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2187), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37290 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2188), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37291 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_DATE; ((&v2)->n1.n2.n3.date) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2189), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37292 | ||
37293 | strNum0 = SysAllocString(szNum0); | |
37294 | strNum1 = SysAllocString(szNum1); | |
37295 | ((&v1)->n1.n2.vt) = VT_BSTR; ((&v1)->n1.n2.n3.bstrVal) = strNum0; ((&v2)->n1.n2.vt) = VT_BSTR; ((&v2)->n1.n2.n3.bstrVal) = strNum1; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2193), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (5), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(5), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37296 | ((&v1)->n1.n2.vt) = VT_BSTR; ((&v1)->n1.n2.n3.bstrVal) = strNum0; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2194), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (5), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(5), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37297 | ((&v1)->n1.n2.vt) = VT_BSTR; ((&v1)->n1.n2.n3.bstrVal) = strNum0; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2195), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (5), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(5), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37298 | ((&v1)->n1.n2.vt) = VT_BSTR; ((&v1)->n1.n2.n3.bstrVal) = strNum0; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2196), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (5), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(5), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37299 | ((&v1)->n1.n2.vt) = VT_BSTR; ((&v1)->n1.n2.n3.bstrVal) = strNum0; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2197), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (5), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(5), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37300 | ((&v1)->n1.n2.vt) = VT_BSTR; ((&v1)->n1.n2.n3.bstrVal) = strNum0; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2198), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (5), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(5), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37301 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 125; ((&v2)->n1.n2.vt) = VT_BSTR; ((&v2)->n1.n2.n3.bstrVal) = strNum1; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2199), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (5), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(5), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37302 | ||
37303 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
37304 | { | |
37305 | ((&v1)->n1.n2.vt) = VT_BOOL; ((&v1)->n1.n2.n3.boolVal) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2203), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37306 | ((&v1)->n1.n2.vt) = VT_I1; ((&v1)->n1.n2.n3.cVal) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2204), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37307 | ((&v1)->n1.n2.vt) = VT_UI1; ((&v1)->n1.n2.n3.bVal) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2205), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37308 | ((&v1)->n1.n2.vt) = VT_I2; ((&v1)->n1.n2.n3.iVal) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2206), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37309 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2207), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37310 | ((&v1)->n1.n2.vt) = VT_UI4; ((&v1)->n1.n2.n3.ulVal) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2208), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37311 | ((&v1)->n1.n2.vt) = VT_R4; ((&v1)->n1.n2.n3.fltVal) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2209), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37312 | ((&v1)->n1.n2.vt) = VT_R8; ((&v1)->n1.n2.n3.dblVal) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2210), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37313 | ((&v1)->n1.n2.vt) = VT_DATE; ((&v1)->n1.n2.n3.date) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2211), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37314 | ||
37315 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_BOOL; ((&v2)->n1.n2.n3.boolVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2213), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37316 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_I1; ((&v2)->n1.n2.n3.cVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2214), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37317 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_UI1; ((&v2)->n1.n2.n3.bVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2215), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37318 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_I2; ((&v2)->n1.n2.n3.iVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2216), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37319 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_UI2; ((&v2)->n1.n2.n3.uiVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2217), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37320 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2218), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37321 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_UI4; ((&v2)->n1.n2.n3.ulVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2219), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37322 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_R4; ((&v2)->n1.n2.n3.fltVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2220), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37323 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_R8; ((&v2)->n1.n2.n3.dblVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2221), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37324 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.llVal) = 100; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2222), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (0), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37325 | ||
37326 | ((&v1)->n1.n2.vt) = VT_BSTR; ((&v1)->n1.n2.n3.bstrVal) = strNum0; ((&v2)->n1.n2.vt) = VT_I8; ((&v2)->n1.n2.n3.llVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2224), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (5), szVarModFail, ((HRESULT)0L), VT_I8, vtstr(VT_I8), (int)(5), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.llVal)); | |
37327 | } | |
37328 | ||
37329 | ||
37330 | for(l = 0; l < VT_BSTR_BLOB; l++) | |
37331 | { | |
37332 | if((l > VT_CLSID+10) && (l < VT_BSTR_BLOB-10)) continue;; | |
37333 | ||
37334 | for(r = 0; r < VT_BSTR_BLOB; r++) | |
37335 | { | |
37336 | if((r > VT_CLSID+10) && (r < VT_BSTR_BLOB-10)) continue;; | |
37337 | ||
37338 | if(l == VT_BSTR) continue; | |
37339 | if(l == VT_DISPATCH) continue; | |
37340 | if(r == VT_BSTR) continue; | |
37341 | if(r == VT_DISPATCH) continue; | |
37342 | ||
37343 | lFound = 1; | |
37344 | lValid = 1; | |
37345 | switch(l) | |
37346 | { | |
37347 | case VT_EMPTY: | |
37348 | case VT_NULL: | |
37349 | case VT_I1: | |
37350 | case VT_UI1: | |
37351 | case VT_I2: | |
37352 | case VT_UI2: | |
37353 | case VT_I4: | |
37354 | case VT_I8: | |
37355 | case VT_UI4: | |
37356 | case VT_UI8: | |
37357 | case VT_INT: | |
37358 | case VT_UINT: | |
37359 | case VT_R4: | |
37360 | case VT_R8: | |
37361 | case VT_BOOL: | |
37362 | case VT_DATE: | |
37363 | case VT_CY: | |
37364 | hexpected = ((HRESULT)0L); | |
37365 | break; | |
37366 | case VT_ERROR: | |
37367 | case VT_VARIANT: | |
37368 | case VT_UNKNOWN: | |
37369 | case VT_DECIMAL: | |
37370 | case VT_RECORD: | |
37371 | lValid = 0; | |
37372 | break; | |
37373 | default: | |
37374 | lFound = 0; | |
37375 | hexpected = ((HRESULT)0x80020008L); | |
37376 | break; | |
37377 | } | |
37378 | ||
37379 | rFound = 1; | |
37380 | rValid = 1; | |
37381 | switch(r) | |
37382 | { | |
37383 | case VT_EMPTY: | |
37384 | case VT_NULL: | |
37385 | case VT_I1: | |
37386 | case VT_UI1: | |
37387 | case VT_I2: | |
37388 | case VT_UI2: | |
37389 | case VT_I4: | |
37390 | case VT_I8: | |
37391 | case VT_UI4: | |
37392 | case VT_UI8: | |
37393 | case VT_INT: | |
37394 | case VT_UINT: | |
37395 | case VT_R4: | |
37396 | case VT_R8: | |
37397 | case VT_BOOL: | |
37398 | case VT_DATE: | |
37399 | case VT_CY: | |
37400 | hexpected = ((HRESULT)0L); | |
37401 | break; | |
37402 | case VT_ERROR: | |
37403 | case VT_VARIANT: | |
37404 | case VT_UNKNOWN: | |
37405 | case VT_DECIMAL: | |
37406 | case VT_RECORD: | |
37407 | rValid = 0; | |
37408 | break; | |
37409 | default: | |
37410 | rFound = 0; | |
37411 | break; | |
37412 | } | |
37413 | ||
37414 | if(((l == VT_I8) && (r == VT_INT)) || ((l == VT_INT) && (r == VT_I8))) | |
37415 | { | |
37416 | hexpected = ((HRESULT)0x80020005L); | |
37417 | } else if((l == VT_EMPTY) && (r == VT_NULL)) | |
37418 | { | |
37419 | hexpected = ((HRESULT)0L); | |
37420 | } else if((l == VT_NULL) && (r == VT_EMPTY)) | |
37421 | { | |
37422 | hexpected = ((HRESULT)0L); | |
37423 | } else if((l == VT_EMPTY) && (r == VT_CY)) | |
37424 | { | |
37425 | hexpected = ((HRESULT)0L); | |
37426 | } else if((l == VT_EMPTY) && (r == VT_RECORD)) | |
37427 | { | |
37428 | hexpected = ((HRESULT)0x80020005L); | |
37429 | } else if((r == VT_EMPTY) && lFound && lValid) | |
37430 | { | |
37431 | hexpected = ((HRESULT)0x80020012L); | |
37432 | } else if((l == VT_ERROR) || ((r == VT_ERROR) && lFound && lValid)) | |
37433 | { | |
37434 | hexpected = ((HRESULT)0x80020005L); | |
37435 | } else if((l == VT_NULL) && (r == VT_NULL)) | |
37436 | { | |
37437 | hexpected = ((HRESULT)0L); | |
37438 | } else if((l == VT_VARIANT) || ((r == VT_VARIANT) && lFound && lValid)) | |
37439 | { | |
37440 | hexpected = ((HRESULT)0x80020005L); | |
37441 | } else if((l == VT_NULL) && (r == VT_RECORD)) | |
37442 | { | |
37443 | hexpected = ((HRESULT)0x80020005L); | |
37444 | } else if((l == VT_NULL) && (r == VT_DECIMAL)) | |
37445 | { | |
37446 | hexpected = ((HRESULT)0x80070057L); | |
37447 | } else if((l == VT_UNKNOWN) || ((r == VT_UNKNOWN) && lFound && lValid)) | |
37448 | { | |
37449 | hexpected = ((HRESULT)0x80020005L); | |
37450 | } else if((l == VT_NULL) && rFound) | |
37451 | { | |
37452 | hexpected = ((HRESULT)0L); | |
37453 | } else if((l == VT_DECIMAL) || ((r == VT_DECIMAL) && lFound && lValid)) | |
37454 | { | |
37455 | hexpected = ((HRESULT)0x80070057L); | |
37456 | } else if(l == VT_RECORD) | |
37457 | { | |
37458 | hexpected = ((HRESULT)0x80020005L); | |
37459 | } else if((r == VT_RECORD) && lValid && lFound) | |
37460 | { | |
37461 | hexpected = ((HRESULT)0x80020005L); | |
37462 | } else if((l == VT_EMPTY) && (r == VT_EMPTY)) | |
37463 | { | |
37464 | hexpected = ((HRESULT)0x80020012L); | |
37465 | } else if((l == VT_CY) && !rFound) | |
37466 | { | |
37467 | hexpected = ((HRESULT)0x80020008L); | |
37468 | } else if(lFound && !rFound) | |
37469 | { | |
37470 | hexpected = ((HRESULT)0x80020008L); | |
37471 | } else if(!lFound && rFound) | |
37472 | { | |
37473 | hexpected = ((HRESULT)0x80020008L); | |
37474 | } else if((r == VT_NULL) && lFound && lValid) | |
37475 | { | |
37476 | hexpected = ((HRESULT)0L); | |
37477 | } else if((l == VT_NULL) || (r == VT_NULL)) | |
37478 | { | |
37479 | hexpected = ((HRESULT)0x80020008L); | |
37480 | } else if((l == VT_VARIANT) || (r == VT_VARIANT)) | |
37481 | { | |
37482 | hexpected = ((HRESULT)0x80020008L); | |
37483 | } else if(lFound && !rFound) | |
37484 | { | |
37485 | hexpected = ((HRESULT)0x80020008L); | |
37486 | } else if(!lFound && !rFound) | |
37487 | { | |
37488 | hexpected = ((HRESULT)0x80020008L); | |
37489 | } | |
37490 | ||
37491 | ((&v1)->n1.n2.vt) = l; | |
37492 | ((&v2)->n1.n2.vt) = r; | |
37493 | ||
37494 | if(l == VT_CY) | |
37495 | ((&v1)->n1.n2.n3.cyVal).int64 = 1000000; | |
37496 | else if(l == VT_R4) | |
37497 | ((&v1)->n1.n2.n3.fltVal) = 100; | |
37498 | else if(l == VT_R8) | |
37499 | ((&v1)->n1.n2.n3.dblVal) = 100; | |
37500 | else if(l == VT_UI8) | |
37501 | ((&v1)->n1.n2.n3.ullVal) = 100; | |
37502 | else if(l == VT_DATE) | |
37503 | ((&v1)->n1.n2.n3.date) = 1000; | |
37504 | else | |
37505 | ((&v1)->n1.n2.n3.lVal) = 10000; | |
37506 | ||
37507 | if(r == VT_CY) | |
37508 | ((&v2)->n1.n2.n3.cyVal).int64 = 10000; | |
37509 | else if(r == VT_R4) | |
37510 | ((&v2)->n1.n2.n3.fltVal) = 100; | |
37511 | else if(r == VT_R8) | |
37512 | ((&v2)->n1.n2.n3.dblVal) = 100; | |
37513 | else if(r == VT_UI8) | |
37514 | ((&v2)->n1.n2.n3.ullVal) = 100; | |
37515 | else if(r == VT_DATE) | |
37516 | ((&v2)->n1.n2.n3.date) = 1000; | |
37517 | else | |
37518 | ((&v2)->n1.n2.n3.lVal) = 10000; | |
37519 | ||
37520 | if ((l != VT_I8 && l != VT_UI8 && r != VT_I8 && r != VT_UI8) || ((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
37521 | { | |
37522 | hres = pVarMod(&v1,&v2,&vDst); | |
37523 | (winetest_set_location("vartest.c", 2421), 0) ? 0 : winetest_ok(hres == hexpected, | |
37524 | "VarMod: expected 0x%lx, got 0x%lX for l type of %d, r type of %d,\n", hexpected, hres, l, r); | |
37525 | } | |
37526 | } | |
37527 | } | |
37528 | ||
37529 | ||
37530 | ||
37531 | ||
37532 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = -1; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2430), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37533 | ||
37534 | ||
37535 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 0; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2433), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020012L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020012L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37536 | ||
37537 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 0; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2435), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarModFail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37538 | ||
37539 | ||
37540 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_EMPTY; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2438), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020012L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020012L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37541 | ||
37542 | ||
37543 | ((&v1)->n1.n2.vt) = VT_EMPTY; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2441), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37544 | ||
37545 | ||
37546 | ((&v1)->n1.n2.vt) = VT_NULL; ((&v1)->n1.n2.n3.lVal) = 125; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2444), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0L), VT_NULL, vtstr(VT_NULL), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37547 | ||
37548 | ||
37549 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_NULL; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2447), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0L), VT_NULL, vtstr(VT_NULL), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37550 | ||
37551 | ||
37552 | ((&v1)->n1.n2.vt) = VT_VOID; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2450), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37553 | ||
37554 | ||
37555 | ((&v1)->n1.n2.vt) = VT_I4; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_VOID; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2453), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37556 | ||
37557 | ||
37558 | ((&v1)->n1.n2.vt) = VT_NULL; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_VOID; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2456), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37559 | ||
37560 | ||
37561 | ((&v1)->n1.n2.vt) = VT_VOID; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_NULL; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2459), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37562 | ||
37563 | ||
37564 | ((&v1)->n1.n2.vt) = VT_CY; | |
37565 | ((&v2)->n1.n2.vt) = VT_CY; | |
37566 | ((&v1)->n1.n2.n3.cyVal).int64 = 100000; | |
37567 | ((&v2)->n1.n2.n3.cyVal).int64 = 100000; | |
37568 | hres = pVarMod(&v1,&v2,&vDst); | |
37569 | (winetest_set_location("vartest.c", 2467), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == 0, | |
37570 | "VarMod: expected 0x%lx,%d,%d, got 0x%lX,%d,%ld\n", ((HRESULT)0L), VT_I4, 0, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.lVal)); | |
37571 | ||
37572 | ((&v1)->n1.n2.vt) = VT_I4; | |
37573 | ((&v2)->n1.n2.vt) = VT_CY; | |
37574 | ((&v1)->n1.n2.n3.lVal) = 100; | |
37575 | ((&v2)->n1.n2.n3.cyVal).int64 = 100000; | |
37576 | hres = pVarMod(&v1,&v2,&vDst); | |
37577 | (winetest_set_location("vartest.c", 2475), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == 0, | |
37578 | "VarMod: expected 0x%lx,%d,%d, got 0x%lX,%d,%ld\n", ((HRESULT)0L), VT_I4, 0, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.lVal)); | |
37579 | ||
37580 | ||
37581 | for (winetest_start_todo("wine"); winetest_loop_todo(); winetest_end_todo("wine")) { | |
37582 | ((&v1)->n1.n2.vt) = VT_DECIMAL; | |
37583 | ((&v2)->n1.n2.vt) = VT_DECIMAL; | |
37584 | VarDecFromI4(100, &((&v1)->n1.decVal)); | |
37585 | VarDecFromI4(10, &((&v2)->n1.decVal)); | |
37586 | hres = pVarMod(&v1,&v2,&vDst); | |
37587 | (winetest_set_location("vartest.c", 2485), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == 0, | |
37588 | "VarMod: expected 0x%lx,%d,%d, got 0x%lX,%d,%ld\n", ((HRESULT)0L), VT_I4, 0, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.lVal)); | |
37589 | ||
37590 | ((&v1)->n1.n2.vt) = VT_I4; | |
37591 | ((&v2)->n1.n2.vt) = VT_DECIMAL; | |
37592 | ((&v1)->n1.n2.n3.lVal) = 100; | |
37593 | VarDecFromI4(10, &((&v2)->n1.decVal)); | |
37594 | hres = pVarMod(&v1,&v2,&vDst); | |
37595 | (winetest_set_location("vartest.c", 2493), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == 0, | |
37596 | "VarMod: expected 0x%lx,%d,%d, got 0x%lX,%d,%ld\n", ((HRESULT)0L), VT_I4, 0, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.lVal)); | |
37597 | } | |
37598 | ||
37599 | ((&v1)->n1.n2.vt) = VT_UINT; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2497), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0L), VT_I4, vtstr(VT_I4), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37600 | ||
37601 | ||
37602 | ((&v1)->n1.n2.vt) = VT_UNKNOWN; | |
37603 | ((&v2)->n1.n2.vt) = VT_EMPTY; | |
37604 | ((&v1)->n1.n2.n3.lVal) = 100; | |
37605 | ((&v2)->n1.n2.n3.cyVal).int64 = 100000; | |
37606 | ((&vDst)->n1.n2.vt) = VT_I4; | |
37607 | ((&vDst)->n1.n2.n3.lVal) = 1231; | |
37608 | hres = pVarMod(&v1,&v2,&vDst); | |
37609 | (winetest_set_location("vartest.c", 2507), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == 1231, | |
37610 | "VarMod: expected 0x%lx,%d,%d, got 0x%lX,%d,%ld\n", ((HRESULT)0x80020005L), VT_EMPTY, 1231, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.lVal)); | |
37611 | ||
37612 | ||
37613 | ||
37614 | ||
37615 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
37616 | { | |
37617 | ((&v1)->n1.n2.vt) = VT_I8; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_INT; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2515), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020005L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37618 | } | |
37619 | ((&v1)->n1.n2.vt) = VT_ERROR; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2517), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020005L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37620 | ((&v1)->n1.n2.vt) = VT_VARIANT; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2518), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020005L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37621 | ((&v1)->n1.n2.vt) = VT_UNKNOWN; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2519), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020005L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37622 | ((&v1)->n1.n2.vt) = VT_VOID; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2520), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37623 | ((&v1)->n1.n2.vt) = VT_HRESULT; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2521), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37624 | ((&v1)->n1.n2.vt) = VT_PTR; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2522), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37625 | ((&v1)->n1.n2.vt) = VT_SAFEARRAY; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2523), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37626 | ((&v1)->n1.n2.vt) = VT_CARRAY; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2524), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37627 | ((&v1)->n1.n2.vt) = VT_USERDEFINED; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2525), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37628 | ((&v1)->n1.n2.vt) = VT_LPSTR; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2526), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37629 | ((&v1)->n1.n2.vt) = VT_LPWSTR; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2527), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37630 | ((&v1)->n1.n2.vt) = VT_RECORD; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2528), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020005L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37631 | ((&v1)->n1.n2.vt) = VT_FILETIME; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2529), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37632 | ((&v1)->n1.n2.vt) = VT_BLOB; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2530), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37633 | ((&v1)->n1.n2.vt) = VT_STREAM; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2531), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37634 | ((&v1)->n1.n2.vt) = VT_STORAGE; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2532), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37635 | ((&v1)->n1.n2.vt) = VT_STREAMED_OBJECT; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2533), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37636 | ((&v1)->n1.n2.vt) = VT_STORED_OBJECT; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2534), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37637 | ((&v1)->n1.n2.vt) = VT_BLOB_OBJECT; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2535), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37638 | ((&v1)->n1.n2.vt) = VT_CF; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2536), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37639 | ((&v1)->n1.n2.vt) = VT_CLSID; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_CLSID; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2537), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37640 | ((&v1)->n1.n2.vt) = VT_VECTOR; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2538), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37641 | ((&v1)->n1.n2.vt) = VT_ARRAY; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2539), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37642 | ((&v1)->n1.n2.vt) = VT_BYREF; ((&v1)->n1.n2.n3.lVal) = 100; ((&v2)->n1.n2.vt) = VT_I4; ((&v2)->n1.n2.n3.lVal) = 10; memset(&vDst,0,sizeof(vDst)); hres = pVarMod(&v1,&v2,&vDst); (winetest_set_location("vartest.c", 2540), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == (0), szVarMod2Fail, ((HRESULT)0x80020008L), VT_EMPTY, vtstr(VT_EMPTY), (int)(0), hres, ((&vDst)->n1.n2.vt), vtstr(((&vDst)->n1.n2.vt)), (int)((&vDst)->n1.n2.n3.lVal)); | |
37643 | ||
37644 | ||
37645 | ((&v1)->n1.n2.vt) = 456; | |
37646 | ((&v2)->n1.n2.vt) = 234; | |
37647 | ((&v1)->n1.n2.n3.lVal) = 100; | |
37648 | ((&v2)->n1.n2.n3.lVal)= 10; | |
37649 | hres = pVarMod(&v1,&v2,&vDst); | |
37650 | (winetest_set_location("vartest.c", 2548), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020008L) && ((&vDst)->n1.n2.vt) == VT_EMPTY && ((&vDst)->n1.n2.n3.lVal) == 0, | |
37651 | "VarMod: expected 0x%lx,%d,%d, got 0x%lX,%d,%ld\n", ((HRESULT)0x80020008L), VT_EMPTY, 0, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.lVal)); | |
37652 | } | |
37653 | ||
37654 | static HRESULT (__attribute__((__stdcall__)) *pVarFix)(LPVARIANT,LPVARIANT); | |
37655 | ||
37656 | static const char *szVarFixFail = "VarFix: expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
37657 | ||
37658 | ||
37659 | ||
37660 | ||
37661 | ||
37662 | ||
37663 | static void test_VarFix(void) | |
37664 | { | |
37665 | static const WCHAR szNumMinus1[] = {'-','1','\0' }; | |
37666 | HRESULT hres; | |
37667 | VARIANT v, vDst; | |
37668 | DECIMAL *pdec = &((&v)->n1.decVal); | |
37669 | CY *pcy = &((&v)->n1.n2.n3.cyVal); | |
37670 | size_t i; | |
37671 | ||
37672 | pVarFix = (void*)GetProcAddress(hOleaut32, "VarFix"); if (!pVarFix) { (winetest_set_location("vartest.c", 2570), 0) ? (void)0 : winetest_trace("function " "VarFix" " not available, not testing it\n"); return; }; | |
37673 | ||
37674 | ||
37675 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
37676 | { | |
37677 | VARTYPE vt; | |
37678 | ||
37679 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
37680 | { | |
37681 | HRESULT bFail = 1; | |
37682 | ||
37683 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
37684 | ||
37685 | memset(&v, 0, sizeof(v)); | |
37686 | ((&v)->n1.n2.vt) = vt | ExtraFlags[i]; | |
37687 | ((&vDst)->n1.n2.vt) = VT_EMPTY; | |
37688 | ||
37689 | switch (((&v)->n1.n2.vt)) | |
37690 | { | |
37691 | case VT_UI1: case VT_I2: case VT_I4: case VT_R4: case VT_R8: | |
37692 | case VT_DECIMAL: case VT_BOOL: case VT_NULL: case VT_EMPTY: | |
37693 | case VT_DATE: case VT_CY: | |
37694 | bFail = 0; | |
37695 | break; | |
37696 | case VT_I8: | |
37697 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
37698 | bFail = 0; | |
37699 | break; | |
37700 | } | |
37701 | ||
37702 | hres = pVarFix(&v,&vDst); | |
37703 | if (bFail) | |
37704 | (winetest_set_location("vartest.c", 2602), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) || hres == ((HRESULT)0x80020008L), | |
37705 | "VarFix: expected failure, got 0x%lX vt %d|0x%X\n", | |
37706 | hres, vt, ExtraFlags[i]); | |
37707 | else | |
37708 | (winetest_set_location("vartest.c", 2606), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarFix: expected S_OK, got 0x%lX vt %d|0x%X\n", | |
37709 | hres, vt, ExtraFlags[i]); | |
37710 | } | |
37711 | } | |
37712 | ||
37713 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2611), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (((VARIANT_BOOL)0xFFFF)), szVarFixFail, VT_I2, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37714 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2612), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarFixFail, VT_I2, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37715 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2613), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (1), szVarFixFail, VT_I2, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37716 | ((&v)->n1.n2.vt) = VT_UI1; ((&v)->n1.n2.n3.bVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2614), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == (1), szVarFixFail, VT_UI1, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.bVal)); | |
37717 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2615), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), szVarFixFail, VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37718 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2616), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarFixFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
37719 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
37720 | { | |
37721 | ((&v)->n1.n2.vt) = VT_I8; ((&v)->n1.n2.n3.llVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2619), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (-1), szVarFixFail, VT_I8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.llVal)); | |
37722 | } | |
37723 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1.4; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2621), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1), szVarFixFail, VT_R4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37724 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1.5; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2622), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1), szVarFixFail, VT_R4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37725 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1.6; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2623), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1), szVarFixFail, VT_R4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37726 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = -1.4; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2624), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (-1), szVarFixFail, VT_R4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37727 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = -1.5; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2625), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (-1), szVarFixFail, VT_R4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37728 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = -1.6; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2626), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (-1), szVarFixFail, VT_R4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37729 | ||
37730 | ((&v)->n1.n2.vt) = VT_DATE; ((&v)->n1.n2.n3.date) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2628), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DATE && ((&vDst)->n1.n2.n3.date) == (-1), szVarFixFail, VT_DATE, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.date)); | |
37731 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2629), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (-1), szVarFixFail, VT_R8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
37732 | ((&v)->n1.n2.vt) = VT_BSTR; ((&v)->n1.n2.n3.bstrVal) = (BSTR)szNumMinus1; memset(&vDst,0,sizeof(vDst)); hres = pVarFix(&v,&vDst); (winetest_set_location("vartest.c", 2630), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (-1), szVarFixFail, VT_R8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
37733 | ||
37734 | ((&v)->n1.n2.vt) = VT_EMPTY; | |
37735 | hres = pVarFix(&v,&vDst); | |
37736 | (winetest_set_location("vartest.c", 2634), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == 0, | |
37737 | "VarFix: expected 0x0,%d,0 got 0x%lX,%d,%d\n", VT_EMPTY, | |
37738 | hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.iVal)); | |
37739 | ||
37740 | ((&v)->n1.n2.vt) = VT_NULL; | |
37741 | hres = pVarFix(&v,&vDst); | |
37742 | (winetest_set_location("vartest.c", 2640), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL, | |
37743 | "VarFix: expected 0x0,%d got 0x%lX,%d\n", VT_NULL, hres, ((&vDst)->n1.n2.vt)); | |
37744 | ||
37745 | ((&v)->n1.n2.vt) = VT_DECIMAL; | |
37746 | ((*pdec)).sign = ((BYTE)0x80); | |
37747 | ((*pdec)).scale = 0; | |
37748 | pdec->Hi32 = 0; | |
37749 | ((*pdec)).Mid32 = 0; | |
37750 | ((*pdec)).Lo32 = 1; | |
37751 | hres = pVarFix(&v,&vDst); | |
37752 | (winetest_set_location("vartest.c", 2650), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DECIMAL && !memcmp(&v, &vDst, sizeof(v)), | |
37753 | "VarFix: expected 0x0,%d,identical, got 0x%lX,%d\n", VT_DECIMAL, | |
37754 | hres, ((&vDst)->n1.n2.vt)); | |
37755 | ||
37756 | ||
37757 | ||
37758 | ((&v)->n1.n2.vt) = VT_CY; | |
37759 | pcy->int64 = -10000; | |
37760 | hres = pVarFix(&v,&vDst); | |
37761 | (winetest_set_location("vartest.c", 2659), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_CY && ((&vDst)->n1.n2.n3.cyVal).int64 == -10000, | |
37762 | "VarFix: VT_CY wrong, hres=0x%lX\n", hres); | |
37763 | ||
37764 | ((&v)->n1.n2.vt) = VT_CY; | |
37765 | pcy->int64 = -16000; | |
37766 | hres = pVarFix(&v,&vDst); | |
37767 | (winetest_set_location("vartest.c", 2665), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_CY && ((&vDst)->n1.n2.n3.cyVal).int64 == -10000, | |
37768 | "VarFix: VT_CY wrong, hres=0x%lX\n", hres); | |
37769 | } | |
37770 | ||
37771 | static HRESULT (__attribute__((__stdcall__)) *pVarInt)(LPVARIANT,LPVARIANT); | |
37772 | ||
37773 | static const char *szVarIntFail = "VarInt: expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
37774 | ||
37775 | ||
37776 | ||
37777 | ||
37778 | ||
37779 | ||
37780 | static void test_VarInt(void) | |
37781 | { | |
37782 | static const WCHAR szNumMinus1[] = {'-','1','\0' }; | |
37783 | HRESULT hres; | |
37784 | VARIANT v, vDst; | |
37785 | DECIMAL *pdec = &((&v)->n1.decVal); | |
37786 | CY *pcy = &((&v)->n1.n2.n3.cyVal); | |
37787 | size_t i; | |
37788 | ||
37789 | pVarInt = (void*)GetProcAddress(hOleaut32, "VarInt"); if (!pVarInt) { (winetest_set_location("vartest.c", 2687), 0) ? (void)0 : winetest_trace("function " "VarInt" " not available, not testing it\n"); return; }; | |
37790 | ||
37791 | ||
37792 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
37793 | { | |
37794 | VARTYPE vt; | |
37795 | ||
37796 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
37797 | { | |
37798 | HRESULT bFail = 1; | |
37799 | ||
37800 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
37801 | ||
37802 | memset(&v, 0, sizeof(v)); | |
37803 | ((&v)->n1.n2.vt) = vt | ExtraFlags[i]; | |
37804 | ((&vDst)->n1.n2.vt) = VT_EMPTY; | |
37805 | ||
37806 | switch (((&v)->n1.n2.vt)) | |
37807 | { | |
37808 | case VT_UI1: case VT_I2: case VT_I4: case VT_R4: case VT_R8: | |
37809 | case VT_DECIMAL: case VT_BOOL: case VT_NULL: case VT_EMPTY: | |
37810 | case VT_DATE: case VT_CY: | |
37811 | bFail = 0; | |
37812 | break; | |
37813 | case VT_I8: | |
37814 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
37815 | bFail = 0; | |
37816 | break; | |
37817 | } | |
37818 | ||
37819 | hres = pVarInt(&v,&vDst); | |
37820 | if (bFail) | |
37821 | (winetest_set_location("vartest.c", 2719), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) || hres == ((HRESULT)0x80020008L), | |
37822 | "VarInt: expected failure, got 0x%lX vt %d|0x%X\n", | |
37823 | hres, vt, ExtraFlags[i]); | |
37824 | else | |
37825 | (winetest_set_location("vartest.c", 2723), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarInt: expected S_OK, got 0x%lX vt %d|0x%X\n", | |
37826 | hres, vt, ExtraFlags[i]); | |
37827 | } | |
37828 | } | |
37829 | ||
37830 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2728), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (((VARIANT_BOOL)0xFFFF)), szVarIntFail, VT_I2, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37831 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2729), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarIntFail, VT_I2, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37832 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2730), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (1), szVarIntFail, VT_I2, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37833 | ((&v)->n1.n2.vt) = VT_UI1; ((&v)->n1.n2.n3.bVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2731), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == (1), szVarIntFail, VT_UI1, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.bVal)); | |
37834 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2732), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), szVarIntFail, VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37835 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2733), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarIntFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
37836 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
37837 | { | |
37838 | ((&v)->n1.n2.vt) = VT_I8; ((&v)->n1.n2.n3.llVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2736), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (-1), szVarIntFail, VT_I8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.llVal)); | |
37839 | } | |
37840 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1.4; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2738), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1), szVarIntFail, VT_R4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37841 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1.5; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2739), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1), szVarIntFail, VT_R4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37842 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1.6; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2740), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1), szVarIntFail, VT_R4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37843 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = -1.4; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2741), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (-2), szVarIntFail, VT_R4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37844 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = -1.5; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2742), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (-2), szVarIntFail, VT_R4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37845 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = -1.6; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2743), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (-2), szVarIntFail, VT_R4, (int)(-2), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37846 | ||
37847 | ((&v)->n1.n2.vt) = VT_DATE; ((&v)->n1.n2.n3.date) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2745), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DATE && ((&vDst)->n1.n2.n3.date) == (-1), szVarIntFail, VT_DATE, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.date)); | |
37848 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2746), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (-1), szVarIntFail, VT_R8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
37849 | ((&v)->n1.n2.vt) = VT_BSTR; ((&v)->n1.n2.n3.bstrVal) = (BSTR)szNumMinus1; memset(&vDst,0,sizeof(vDst)); hres = pVarInt(&v,&vDst); (winetest_set_location("vartest.c", 2747), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (-1), szVarIntFail, VT_R8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
37850 | ||
37851 | ((&v)->n1.n2.vt) = VT_EMPTY; | |
37852 | hres = pVarInt(&v,&vDst); | |
37853 | (winetest_set_location("vartest.c", 2751), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == 0, | |
37854 | "VarInt: expected 0x0,%d,0 got 0x%lX,%d,%d\n", VT_EMPTY, | |
37855 | hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.iVal)); | |
37856 | ||
37857 | ((&v)->n1.n2.vt) = VT_NULL; | |
37858 | hres = pVarInt(&v,&vDst); | |
37859 | (winetest_set_location("vartest.c", 2757), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL, | |
37860 | "VarInt: expected 0x0,%d got 0x%lX,%d\n", VT_NULL, hres, ((&vDst)->n1.n2.vt)); | |
37861 | ||
37862 | ((&v)->n1.n2.vt) = VT_DECIMAL; | |
37863 | ((*pdec)).sign = ((BYTE)0x80); | |
37864 | ((*pdec)).scale = 0; | |
37865 | pdec->Hi32 = 0; | |
37866 | ((*pdec)).Mid32 = 0; | |
37867 | ((*pdec)).Lo32 = 1; | |
37868 | hres = pVarInt(&v,&vDst); | |
37869 | (winetest_set_location("vartest.c", 2767), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DECIMAL && !memcmp(&v, &vDst, sizeof(v)), | |
37870 | "VarInt: expected 0x0,%d,identical, got 0x%lX,%d\n", VT_DECIMAL, | |
37871 | hres, ((&vDst)->n1.n2.vt)); | |
37872 | ||
37873 | ||
37874 | ||
37875 | ((&v)->n1.n2.vt) = VT_CY; | |
37876 | pcy->int64 = -10000; | |
37877 | hres = pVarInt(&v,&vDst); | |
37878 | (winetest_set_location("vartest.c", 2776), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_CY && ((&vDst)->n1.n2.n3.cyVal).int64 == -10000, | |
37879 | "VarInt: VT_CY wrong, hres=0x%lX\n", hres); | |
37880 | ||
37881 | ((&v)->n1.n2.vt) = VT_CY; | |
37882 | pcy->int64 = -11000; | |
37883 | hres = pVarInt(&v,&vDst); | |
37884 | (winetest_set_location("vartest.c", 2782), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_CY && ((&vDst)->n1.n2.n3.cyVal).int64 == -20000, | |
37885 | "VarInt: VT_CY wrong, hres=0x%lX %lld\n", hres,((&vDst)->n1.n2.n3.cyVal).int64); | |
37886 | } | |
37887 | ||
37888 | static HRESULT (__attribute__((__stdcall__)) *pVarNeg)(LPVARIANT,LPVARIANT); | |
37889 | ||
37890 | static const char *szVarNegFail = "VarNeg: expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
37891 | ||
37892 | ||
37893 | ||
37894 | ||
37895 | ||
37896 | ||
37897 | static void test_VarNeg(void) | |
37898 | { | |
37899 | static const WCHAR szNumMinus1[] = {'-','1','\0' }; | |
37900 | static const WCHAR szNum1[] = {'1','\0' }; | |
37901 | HRESULT hres; | |
37902 | VARIANT v, vDst; | |
37903 | DECIMAL *pdec = &((&v)->n1.decVal); | |
37904 | CY *pcy = &((&v)->n1.n2.n3.cyVal); | |
37905 | size_t i; | |
37906 | ||
37907 | pVarNeg = (void*)GetProcAddress(hOleaut32, "VarNeg"); if (!pVarNeg) { (winetest_set_location("vartest.c", 2805), 0) ? (void)0 : winetest_trace("function " "VarNeg" " not available, not testing it\n"); return; }; | |
37908 | ||
37909 | ||
37910 | ||
37911 | ||
37912 | ||
37913 | ||
37914 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
37915 | { | |
37916 | VARTYPE vt; | |
37917 | ||
37918 | for (vt = 0; vt <= VT_BSTR_BLOB; vt++) | |
37919 | { | |
37920 | HRESULT bFail = 1; | |
37921 | ||
37922 | if((vt > VT_CLSID+10) && (vt < VT_BSTR_BLOB-10)) continue;; | |
37923 | ||
37924 | memset(&v, 0, sizeof(v)); | |
37925 | ((&v)->n1.n2.vt) = vt | ExtraFlags[i]; | |
37926 | ((&vDst)->n1.n2.vt) = VT_EMPTY; | |
37927 | ||
37928 | switch (((&v)->n1.n2.vt)) | |
37929 | { | |
37930 | case VT_UI1: case VT_I2: case VT_I4: | |
37931 | case VT_R4: case VT_R8: | |
37932 | case VT_DECIMAL: case VT_BOOL: case VT_NULL: case VT_EMPTY: | |
37933 | case VT_DATE: case VT_CY: | |
37934 | bFail = 0; | |
37935 | break; | |
37936 | case VT_I8: | |
37937 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
37938 | bFail = 0; | |
37939 | } | |
37940 | ||
37941 | hres = pVarNeg(&v,&vDst); | |
37942 | if (bFail) | |
37943 | (winetest_set_location("vartest.c", 2841), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) || hres == ((HRESULT)0x80020008L), | |
37944 | "VarNeg: expected failure, got 0x%lX vt %d|0x%X\n", | |
37945 | hres, vt, ExtraFlags[i]); | |
37946 | else | |
37947 | (winetest_set_location("vartest.c", 2845), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarNeg: expected S_OK, got 0x%lX vt %d|0x%X\n", | |
37948 | hres, vt, ExtraFlags[i]); | |
37949 | } | |
37950 | } | |
37951 | ||
37952 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2850), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (1), szVarNegFail, VT_I2, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37953 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2851), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), szVarNegFail, VT_I2, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37954 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2852), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), szVarNegFail, VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37955 | ((&v)->n1.n2.vt) = VT_UI1; ((&v)->n1.n2.n3.bVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2853), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), szVarNegFail, VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37956 | ((&v)->n1.n2.vt) = VT_UI1; ((&v)->n1.n2.n3.bVal) = 254; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2854), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-254), szVarNegFail, VT_I2, (int)(-254), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37957 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = -32768; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2855), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (32768), szVarNegFail, VT_I4, (int)(32768), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
37958 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2856), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (1), szVarNegFail, VT_I2, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37959 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2857), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), szVarNegFail, VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
37960 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = -((int)(~0u >> 1)) - 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2858), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (-2147483648u), szVarNegFail, VT_R8, (int)(-2147483648u), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
37961 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2859), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (1), szVarNegFail, VT_I4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
37962 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2860), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), szVarNegFail, VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
37963 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
37964 | { | |
37965 | ((&v)->n1.n2.vt) = VT_I8; ((&v)->n1.n2.n3.llVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2863), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (-1), szVarNegFail, VT_I8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.llVal)); | |
37966 | ((&v)->n1.n2.vt) = VT_I8; ((&v)->n1.n2.n3.llVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2864), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I8 && ((&vDst)->n1.n2.n3.llVal) == (1), szVarNegFail, VT_I8, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.llVal)); | |
37967 | } | |
37968 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2866), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (-1), szVarNegFail, VT_R4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37969 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2867), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1), szVarNegFail, VT_R4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.fltVal)); | |
37970 | ((&v)->n1.n2.vt) = VT_DATE; ((&v)->n1.n2.n3.date) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2868), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DATE && ((&vDst)->n1.n2.n3.date) == (-1), szVarNegFail, VT_DATE, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.date)); | |
37971 | ((&v)->n1.n2.vt) = VT_DATE; ((&v)->n1.n2.n3.date) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2869), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DATE && ((&vDst)->n1.n2.n3.date) == (1), szVarNegFail, VT_DATE, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.date)); | |
37972 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2870), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (-1), szVarNegFail, VT_R8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
37973 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2871), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (1), szVarNegFail, VT_R8, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
37974 | ((&v)->n1.n2.vt) = VT_BSTR; ((&v)->n1.n2.n3.bstrVal) = (BSTR)szNumMinus1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2872), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (1), szVarNegFail, VT_R8, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
37975 | ((&v)->n1.n2.vt) = VT_BSTR; ((&v)->n1.n2.n3.bstrVal) = (BSTR)szNum1; memset(&vDst,0,sizeof(vDst)); hres = pVarNeg(&v,&vDst); (winetest_set_location("vartest.c", 2873), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (-1), szVarNegFail, VT_R8, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.dblVal)); | |
37976 | ||
37977 | ((&v)->n1.n2.vt) = VT_EMPTY; | |
37978 | hres = pVarNeg(&v,&vDst); | |
37979 | (winetest_set_location("vartest.c", 2877), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == 0, | |
37980 | "VarNeg: expected 0x0,%d,0 got 0x%lX,%d,%d\n", VT_EMPTY, | |
37981 | hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.iVal)); | |
37982 | ||
37983 | ((&v)->n1.n2.vt) = VT_NULL; | |
37984 | hres = pVarNeg(&v,&vDst); | |
37985 | (winetest_set_location("vartest.c", 2883), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL, | |
37986 | "VarNeg: expected 0x0,%d got 0x%lX,%d\n", VT_NULL, hres, ((&vDst)->n1.n2.vt)); | |
37987 | ||
37988 | ((&v)->n1.n2.vt) = VT_DECIMAL; | |
37989 | ((*pdec)).sign = ((BYTE)0x80); | |
37990 | ((*pdec)).scale = 0; | |
37991 | pdec->Hi32 = 0; | |
37992 | ((*pdec)).Mid32 = 0; | |
37993 | ((*pdec)).Lo32 = 1; | |
37994 | hres = pVarNeg(&v,&vDst); | |
37995 | (winetest_set_location("vartest.c", 2893), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DECIMAL && | |
37996 | ((((&vDst)->n1.decVal))).sign == 0, | |
37997 | "VarNeg: expected 0x0,%d,0x00, got 0x%lX,%d,%02x\n", VT_DECIMAL, | |
37998 | hres, ((&vDst)->n1.n2.vt), ((((&vDst)->n1.decVal))).sign); | |
37999 | ||
38000 | ((*pdec)).sign = 0; | |
38001 | hres = pVarNeg(&v,&vDst); | |
38002 | (winetest_set_location("vartest.c", 2900), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_DECIMAL && | |
38003 | ((((&vDst)->n1.decVal))).sign == ((BYTE)0x80), | |
38004 | "VarNeg: expected 0x0,%d,0x7f, got 0x%lX,%d,%02x\n", VT_DECIMAL, | |
38005 | hres, ((&vDst)->n1.n2.vt), ((((&vDst)->n1.decVal))).sign); | |
38006 | ||
38007 | ((&v)->n1.n2.vt) = VT_CY; | |
38008 | pcy->int64 = -10000; | |
38009 | hres = pVarNeg(&v,&vDst); | |
38010 | (winetest_set_location("vartest.c", 2908), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_CY && ((&vDst)->n1.n2.n3.cyVal).int64 == 10000, | |
38011 | "VarNeg: VT_CY wrong, hres=0x%lX\n", hres); | |
38012 | } | |
38013 | ||
38014 | static HRESULT (__attribute__((__stdcall__)) *pVarRound)(LPVARIANT,int,LPVARIANT); | |
38015 | # 2926 "vartest.c" | |
38016 | static void test_VarRound(void) | |
38017 | { | |
38018 | ||
38019 | ||
38020 | HRESULT hres; | |
38021 | VARIANT v, vDst; | |
38022 | CY *pcy = &((&v)->n1.n2.n3.cyVal); | |
38023 | ||
38024 | pVarRound = (void*)GetProcAddress(hOleaut32, "VarRound"); if (!pVarRound) { (winetest_set_location("vartest.c", 2934), 0) ? (void)0 : winetest_trace("function " "VarRound" " not available, not testing it\n"); return; }; | |
38025 | ||
38026 | ||
38027 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2937), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
38028 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2938), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (0), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, (int)(0), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
38029 | ((&v)->n1.n2.vt) = VT_BOOL; ((&v)->n1.n2.n3.boolVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2939), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (1), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
38030 | ((&v)->n1.n2.vt) = VT_UI1; ((&v)->n1.n2.n3.bVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2940), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == (1), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI1, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.bVal)); | |
38031 | ((&v)->n1.n2.vt) = VT_UI1; ((&v)->n1.n2.n3.bVal) = 254; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2941), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_UI1 && ((&vDst)->n1.n2.n3.bVal) == (254), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI1, (int)(254), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.bVal)); | |
38032 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = -32768; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2942), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-32768), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, (int)(-32768), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
38033 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2943), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (-1), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
38034 | ((&v)->n1.n2.vt) = VT_I2; ((&v)->n1.n2.n3.iVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2944), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == (1), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.iVal)); | |
38035 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = -((int)(~0u >> 1)) - 1; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2945), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-((int)(~0u >> 1)) - 1), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I4, (int)(-((int)(~0u >> 1)) - 1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
38036 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = -1; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2946), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (-1), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I4, (int)(-1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
38037 | ((&v)->n1.n2.vt) = VT_I4; ((&v)->n1.n2.n3.lVal) = 1; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2947), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I4 && ((&vDst)->n1.n2.n3.lVal) == (1), "VarRound: expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I4, (int)(1), hres, ((&vDst)->n1.n2.vt), (int)((&vDst)->n1.n2.n3.lVal)); | |
38038 | ||
38039 | ||
38040 | ||
38041 | ||
38042 | ||
38043 | ||
38044 | ||
38045 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = 1.0; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2955), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (1.0), "VarRound: expected 0x0,%d,%f, got 0x%lX,%d,%f\n", VT_R4, 1.0, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.fltVal)); | |
38046 | ((&v)->n1.n2.vt) = VT_R4; ((&v)->n1.n2.n3.fltVal) = -1.0; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2956), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R4 && ((&vDst)->n1.n2.n3.fltVal) == (-1.0), "VarRound: expected 0x0,%d,%f, got 0x%lX,%d,%f\n", VT_R4, -1.0, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.fltVal)); | |
38047 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = 1.0; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2957), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (1.0), "VarRound: expected 0x0,%d,%f, got 0x%lX,%d,%f\n", VT_R8, 1.0, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.dblVal)); | |
38048 | ((&v)->n1.n2.vt) = VT_R8; ((&v)->n1.n2.n3.dblVal) = -1.0; memset(&vDst,0,sizeof(vDst)); hres = pVarRound(&v,0,&vDst); (winetest_set_location("vartest.c", 2958), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_R8 && ((&vDst)->n1.n2.n3.dblVal) == (-1.0), "VarRound: expected 0x0,%d,%f, got 0x%lX,%d,%f\n", VT_R8, -1.0, hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.dblVal)); | |
38049 | # 2992 "vartest.c" | |
38050 | ((&v)->n1.n2.vt) = VT_EMPTY; | |
38051 | hres = pVarRound(&v,0,&vDst); | |
38052 | (winetest_set_location("vartest.c", 2994), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_I2 && ((&vDst)->n1.n2.n3.iVal) == 0, | |
38053 | "VarRound: expected 0x0,%d,0 got 0x%lX,%d,%d\n", VT_EMPTY, | |
38054 | hres, ((&vDst)->n1.n2.vt), ((&vDst)->n1.n2.n3.iVal)); | |
38055 | ||
38056 | ((&v)->n1.n2.vt) = VT_NULL; | |
38057 | hres = pVarRound(&v,0,&vDst); | |
38058 | (winetest_set_location("vartest.c", 3000), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_NULL, | |
38059 | "VarRound: expected 0x0,%d got 0x%lX,%d\n", VT_NULL, hres, ((&vDst)->n1.n2.vt)); | |
38060 | # 3027 "vartest.c" | |
38061 | ((&v)->n1.n2.vt) = VT_CY; | |
38062 | pcy->int64 = 10000; | |
38063 | hres = pVarRound(&v,0,&vDst); | |
38064 | (winetest_set_location("vartest.c", 3030), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&vDst)->n1.n2.vt) == VT_CY && ((&vDst)->n1.n2.n3.cyVal).int64 == 10000, | |
38065 | "VarRound: VT_CY wrong, hres=0x%lX\n", hres); | |
38066 | ||
38067 | } | |
38068 | ||
38069 | static HRESULT (__attribute__((__stdcall__)) *pVarXor)(LPVARIANT,LPVARIANT,LPVARIANT); | |
38070 | ||
38071 | static const char *szVarXorFail = "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
38072 | # 3059 "vartest.c" | |
38073 | static void test_VarXor(void) | |
38074 | { | |
38075 | static const WCHAR szFalse[] = { '#','F','A','L','S','E','#','\0' }; | |
38076 | static const WCHAR szTrue[] = { '#','T','R','U','E','#','\0' }; | |
38077 | VARIANT left, right, result; | |
38078 | BSTR lbstr, rbstr; | |
38079 | VARTYPE i; | |
38080 | HRESULT hres; | |
38081 | ||
38082 | pVarXor = (void*)GetProcAddress(hOleaut32, "VarXor"); if (!pVarXor) { (winetest_set_location("vartest.c", 3068), 0) ? (void)0 : winetest_trace("function " "VarXor" " not available, not testing it\n"); return; }; | |
38083 | ||
38084 | ||
38085 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
38086 | { | |
38087 | VARTYPE leftvt, rightvt, resvt; | |
38088 | ||
38089 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
38090 | { | |
38091 | ||
38092 | if((leftvt > VT_CLSID+10) && (leftvt < VT_BSTR_BLOB-10)) continue;; | |
38093 | ||
38094 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
38095 | { | |
38096 | BOOL bFail = 0; | |
38097 | ||
38098 | if((rightvt > VT_CLSID+10) && (rightvt < VT_BSTR_BLOB-10)) continue;; | |
38099 | ||
38100 | if (leftvt == VT_BSTR || rightvt == VT_BSTR || | |
38101 | leftvt == VT_DISPATCH || rightvt == VT_DISPATCH || | |
38102 | leftvt == VT_UNKNOWN || rightvt == VT_UNKNOWN) | |
38103 | continue; | |
38104 | ||
38105 | memset(&left, 0, sizeof(left)); | |
38106 | memset(&right, 0, sizeof(right)); | |
38107 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
38108 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
38109 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
38110 | resvt = VT_I4; | |
38111 | ||
38112 | if (ExtraFlags[i] & VT_ARRAY || ExtraFlags[i] & VT_BYREF || | |
38113 | !IsValidVariantClearVT(leftvt, ExtraFlags[i]) || | |
38114 | !IsValidVariantClearVT(rightvt, ExtraFlags[i]) || | |
38115 | leftvt == VT_CLSID || rightvt == VT_CLSID || | |
38116 | leftvt == VT_RECORD || rightvt == VT_RECORD || | |
38117 | leftvt == VT_VARIANT || rightvt == VT_VARIANT || | |
38118 | leftvt == VT_ERROR || rightvt == VT_ERROR) | |
38119 | { | |
38120 | bFail = 1; | |
38121 | } | |
38122 | if (leftvt == VT_EMPTY || rightvt == VT_EMPTY) | |
38123 | { | |
38124 | if (leftvt == rightvt || | |
38125 | leftvt == VT_I2 || rightvt == VT_I2 || | |
38126 | leftvt == VT_UI1 || rightvt == VT_UI1 || | |
38127 | leftvt == VT_BOOL || rightvt == VT_BOOL) | |
38128 | resvt = VT_I2; | |
38129 | else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
38130 | resvt = VT_NULL; | |
38131 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
38132 | resvt = VT_I8; | |
38133 | } | |
38134 | else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
38135 | { | |
38136 | resvt = VT_NULL; | |
38137 | } | |
38138 | else if (leftvt == VT_UI1 || rightvt == VT_UI1) | |
38139 | { | |
38140 | if (leftvt == rightvt) | |
38141 | resvt = VT_UI1; | |
38142 | else if (leftvt == rightvt || | |
38143 | leftvt == VT_I2 || rightvt == VT_I2 || | |
38144 | leftvt == VT_BOOL || rightvt == VT_BOOL) | |
38145 | { | |
38146 | resvt = VT_I2; | |
38147 | } | |
38148 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
38149 | resvt = VT_I8; | |
38150 | } | |
38151 | else if (leftvt == VT_I2 || rightvt == VT_I2) | |
38152 | { | |
38153 | if (leftvt == rightvt || | |
38154 | leftvt == VT_BOOL || rightvt == VT_BOOL) | |
38155 | resvt = VT_I2; | |
38156 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
38157 | resvt = VT_I8; | |
38158 | } | |
38159 | else if (leftvt == VT_BOOL && rightvt == VT_BOOL) | |
38160 | { | |
38161 | resvt = VT_BOOL; | |
38162 | } | |
38163 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
38164 | { | |
38165 | if (leftvt == VT_INT || rightvt == VT_INT) | |
38166 | bFail = 1; | |
38167 | else | |
38168 | resvt = VT_I8; | |
38169 | } | |
38170 | hres = pVarXor(&left, &right, &result); | |
38171 | if (bFail) | |
38172 | (winetest_set_location("vartest.c", 3158), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) || hres == ((HRESULT)0x80020008L), | |
38173 | "VarXor: %d|0x%X, %d|0x%X: Expected failure, got 0x%lX vt %d\n", | |
38174 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], hres, | |
38175 | ((&result)->n1.n2.vt)); | |
38176 | else | |
38177 | (winetest_set_location("vartest.c", 3163), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == resvt, | |
38178 | "VarXor: %d|0x%X, %d|0x%X: expected S_OK, vt %d, got 0x%lX vt %d\n", | |
38179 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], resvt, hres, | |
38180 | ((&result)->n1.n2.vt)); | |
38181 | } | |
38182 | } | |
38183 | } | |
38184 | ||
38185 | ||
38186 | ||
38187 | ||
38188 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3174), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_EMPTY, VT_EMPTY, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3174), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_EMPTY && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_EMPTY); | |
38189 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3175), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_EMPTY, VT_EMPTY, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3175), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 1 && ((&right)->n1.n2.vt) == VT_EMPTY && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_EMPTY); | |
38190 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3176), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_NULL, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3176), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_NULL && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_NULL); | |
38191 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3177), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_I1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3177), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_I1); | |
38192 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3178), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarXorFail, VT_EMPTY, VT_I1, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3178), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_I1); | |
38193 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3179), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_EMPTY, VT_UI1, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3179), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UI1); | |
38194 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3180), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (1), szVarXorFail, VT_EMPTY, VT_UI1, VT_I2, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3180), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UI1); | |
38195 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3181), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_EMPTY, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3181), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_I2); | |
38196 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3182), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (1), szVarXorFail, VT_EMPTY, VT_I2, VT_I2, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3182), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_I2); | |
38197 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3183), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3183), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UI2); | |
38198 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3184), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarXorFail, VT_EMPTY, VT_UI2, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3184), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UI2); | |
38199 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3185), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3185), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_I4); | |
38200 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3186), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarXorFail, VT_EMPTY, VT_I4, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3186), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_I4); | |
38201 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3187), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3187), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UI4); | |
38202 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3188), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarXorFail, VT_EMPTY, VT_UI4, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3188), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UI4); | |
38203 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38204 | { | |
38205 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3191), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_EMPTY, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3191), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_I8); | |
38206 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3192), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (1), szVarXorFail, VT_EMPTY, VT_I8, VT_I8, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3192), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_I8); | |
38207 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3193), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3193), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UI8); | |
38208 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3194), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarXorFail, VT_EMPTY, VT_UI8, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3194), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UI8); | |
38209 | } | |
38210 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3196), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3196), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_INT); | |
38211 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3197), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarXorFail, VT_EMPTY, VT_INT, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3197), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_INT); | |
38212 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3198), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3198), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UINT); | |
38213 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3199), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarXorFail, VT_EMPTY, VT_UINT, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3199), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_UINT); | |
38214 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3200), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_EMPTY, VT_BOOL, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3200), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_BOOL); | |
38215 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3201), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (1), szVarXorFail, VT_EMPTY, VT_BOOL, VT_I2, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3201), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_BOOL); | |
38216 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3202), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3202), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_R4); | |
38217 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3203), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarXorFail, VT_EMPTY, VT_R4, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3203), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_R4); | |
38218 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3204), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_EMPTY, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3204), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_R8); | |
38219 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3205), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarXorFail, VT_EMPTY, VT_R8, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3205), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_R8); | |
38220 | rbstr = SysAllocString(szFalse); | |
38221 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3207), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_EMPTY, VT_BSTR, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3207), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_BSTR); | |
38222 | rbstr = SysAllocString(szTrue); | |
38223 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3209), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarXorFail, VT_EMPTY, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3209), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_BSTR); | |
38224 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3210), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_EMPTY, VT_CY, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3210), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_EMPTY,VT_CY); | |
38225 | ||
38226 | ||
38227 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3213), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_NULL, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3213), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_NULL && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_NULL); | |
38228 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3214), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_NULL, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3214), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 1 && ((&right)->n1.n2.vt) == VT_NULL && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_NULL); | |
38229 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3215), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_I1, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3215), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_I1); | |
38230 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3216), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_I1, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3216), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_I1); | |
38231 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3217), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UI1, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3217), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UI1); | |
38232 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3218), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UI1, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3218), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UI1); | |
38233 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3219), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_I2, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3219), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_I2); | |
38234 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3220), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_I2, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3220), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_I2); | |
38235 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3221), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UI2, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3221), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UI2); | |
38236 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3222), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UI2, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3222), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UI2); | |
38237 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3223), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_I4, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3223), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_I4); | |
38238 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3224), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_I4, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3224), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_I4); | |
38239 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3225), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UI4, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3225), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UI4); | |
38240 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3226), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UI4, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3226), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UI4); | |
38241 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38242 | { | |
38243 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3229), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_I8, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3229), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_I8); | |
38244 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3230), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_I8, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3230), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_I8); | |
38245 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3231), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UI8, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3231), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UI8); | |
38246 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3232), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UI8, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3232), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UI8); | |
38247 | } | |
38248 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3234), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_INT, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3234), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_INT); | |
38249 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3235), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_INT, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3235), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_INT); | |
38250 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3236), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UINT, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3236), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UINT); | |
38251 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3237), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_UINT, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3237), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_UINT); | |
38252 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3238), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_BOOL, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3238), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_BOOL); | |
38253 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3239), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_BOOL, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3239), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_BOOL); | |
38254 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3240), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_R4, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3240), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_R4); | |
38255 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3241), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_R4, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3241), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_R4); | |
38256 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3242), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_R8, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3242), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_R8); | |
38257 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3243), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_R8, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3243), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 1, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_R8); | |
38258 | rbstr = SysAllocString(szFalse); | |
38259 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3245), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_BSTR, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3245), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_BSTR); | |
38260 | rbstr = SysAllocString(szTrue); | |
38261 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3247), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_NULL, VT_BSTR, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3247), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_BSTR); | |
38262 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3248), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_NULL, VT_CY, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3248), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_CY); | |
38263 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3249), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_NULL, VT_CY, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3249), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_NULL,VT_CY); | |
38264 | ||
38265 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3251), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarXorFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0x0000)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3251), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF), "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_BOOL); | |
38266 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3252), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarXorFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3252), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000), "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_BOOL); | |
38267 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3253), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarXorFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3253), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF), "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_BOOL); | |
38268 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3254), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarXorFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0x0000)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3254), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000), "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_BOOL); | |
38269 | ||
38270 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3256), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_I1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3256), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I1); | |
38271 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3257), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_I1, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3257), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I1); | |
38272 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3258), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_I1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3258), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I1); | |
38273 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 255; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3259), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-256), szVarXorFail, VT_BOOL, VT_UI1, VT_I2, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3259), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 255, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI1); | |
38274 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3260), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarXorFail, VT_BOOL, VT_UI1, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3260), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI1); | |
38275 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3261), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_BOOL, VT_UI1, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3261), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI1); | |
38276 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3262), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_BOOL, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3262), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I2); | |
38277 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3263), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarXorFail, VT_BOOL, VT_I2, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3263), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I2); | |
38278 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3264), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_BOOL, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3264), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I2); | |
38279 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3265), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_BOOL, VT_UI2, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3265), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI2); | |
38280 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3266), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_UI2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3266), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI2); | |
38281 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3267), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3267), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI2); | |
38282 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3268), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3268), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I4); | |
38283 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3269), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3269), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I4); | |
38284 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3270), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3270), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I4); | |
38285 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3271), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3271), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI4); | |
38286 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3272), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3272), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI4); | |
38287 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3273), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3273), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI4); | |
38288 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3274), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3274), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_R4); | |
38289 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3275), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3275), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_R4); | |
38290 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3276), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3276), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_R4); | |
38291 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3277), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3277), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_R8); | |
38292 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3278), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3278), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_R8); | |
38293 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3279), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3279), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_R8); | |
38294 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3280), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3280), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_DATE); | |
38295 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3281), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3281), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_DATE); | |
38296 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3282), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3282), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_DATE); | |
38297 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38298 | { | |
38299 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3285), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_BOOL, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3285), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I8); | |
38300 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3286), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_BOOL, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3286), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I8); | |
38301 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3287), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_BOOL, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3287), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_I8); | |
38302 | ||
38303 | ||
38304 | ||
38305 | ||
38306 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3292), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3292), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI8); | |
38307 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3293), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3293), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UI8); | |
38308 | } | |
38309 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3295), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3295), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_INT); | |
38310 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3296), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3296), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_INT); | |
38311 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3297), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3297), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_INT); | |
38312 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3298), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3298), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UINT); | |
38313 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3299), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_BOOL, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3299), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UINT); | |
38314 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3300), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_BOOL, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3300), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_UINT); | |
38315 | rbstr = SysAllocString(szFalse); | |
38316 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3302), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarXorFail, VT_BOOL, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0x0000)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3302), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_BSTR); | |
38317 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3303), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarXorFail, VT_BOOL, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3303), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_BSTR); | |
38318 | rbstr = SysAllocString(szTrue); | |
38319 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3305), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarXorFail, VT_BOOL, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3305), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_BSTR); | |
38320 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3306), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarXorFail, VT_BOOL, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0x0000)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3306), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_BSTR); | |
38321 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3307), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BOOL, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3307), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_CY); | |
38322 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3308), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BOOL, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3308), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_CY); | |
38323 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3309), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BOOL, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3309), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_BOOL,VT_CY); | |
38324 | ||
38325 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3311), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_I1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3311), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I1); | |
38326 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3312), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_I1, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3312), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I1); | |
38327 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3313), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_I1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3313), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I1); | |
38328 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 255; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3314), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-256), szVarXorFail, VT_I1, VT_UI1, VT_I4, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3314), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 255, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI1); | |
38329 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3315), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_UI1, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3315), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI1); | |
38330 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3316), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_UI1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3316), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI1); | |
38331 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3317), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_I2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3317), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I2); | |
38332 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3318), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_I2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3318), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I2); | |
38333 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3319), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_I2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3319), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I2); | |
38334 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3320), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_I1, VT_UI2, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3320), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI2); | |
38335 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3321), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_UI2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3321), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI2); | |
38336 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3322), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3322), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI2); | |
38337 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3323), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3323), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I4); | |
38338 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3324), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3324), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I4); | |
38339 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3325), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3325), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I4); | |
38340 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3326), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3326), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI4); | |
38341 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3327), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3327), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI4); | |
38342 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3328), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3328), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI4); | |
38343 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3329), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3329), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_R4); | |
38344 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3330), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3330), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_R4); | |
38345 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3331), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3331), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_R4); | |
38346 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3332), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3332), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_R8); | |
38347 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3333), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3333), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_R8); | |
38348 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3334), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3334), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_R8); | |
38349 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3335), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3335), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_DATE); | |
38350 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3336), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3336), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_DATE); | |
38351 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3337), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3337), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_DATE); | |
38352 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38353 | { | |
38354 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3340), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I1, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3340), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I8); | |
38355 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3341), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_I1, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3341), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I8); | |
38356 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3342), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I1, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3342), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_I8); | |
38357 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3343), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3343), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI8); | |
38358 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3344), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3344), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UI8); | |
38359 | } | |
38360 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3346), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3346), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_INT); | |
38361 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3347), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3347), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_INT); | |
38362 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3348), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3348), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_INT); | |
38363 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3349), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3349), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UINT); | |
38364 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3350), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3350), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UINT); | |
38365 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3351), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3351), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_UINT); | |
38366 | rbstr = SysAllocString(szFalse); | |
38367 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3353), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3353), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_BSTR); | |
38368 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3354), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3354), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_BSTR); | |
38369 | rbstr = SysAllocString(szTrue); | |
38370 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3356), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I1, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3356), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_BSTR); | |
38371 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3357), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I1, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3357), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_BSTR); | |
38372 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3358), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I1, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3358), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_CY); | |
38373 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3359), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I1, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3359), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_CY); | |
38374 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3360), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I1, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3360), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I1,VT_CY); | |
38375 | ||
38376 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 255; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3362), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (0), szVarXorFail, VT_UI1, VT_UI1, VT_UI1, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); (winetest_set_location("vartest.c", 3362), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 255, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI1); | |
38377 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3363), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (255), szVarXorFail, VT_UI1, VT_UI1, VT_UI1, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); (winetest_set_location("vartest.c", 3363), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI1); | |
38378 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3364), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (0), szVarXorFail, VT_UI1, VT_UI1, VT_UI1, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); (winetest_set_location("vartest.c", 3364), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI1); | |
38379 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3365), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-256), szVarXorFail, VT_UI1, VT_I2, VT_I2, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3365), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_I2); | |
38380 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3366), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (255), szVarXorFail, VT_UI1, VT_I2, VT_I2, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3366), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_I2); | |
38381 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3367), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_UI1, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3367), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_I2); | |
38382 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3368), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65280), szVarXorFail, VT_UI1, VT_UI2, VT_I4, (int)(65280), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3368), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI2); | |
38383 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3369), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarXorFail, VT_UI1, VT_UI2, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3369), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI2); | |
38384 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3370), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI1, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3370), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI2); | |
38385 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3371), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-256), szVarXorFail, VT_UI1, VT_I4, VT_I4, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3371), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_I4); | |
38386 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3372), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarXorFail, VT_UI1, VT_I4, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3372), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_I4); | |
38387 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3373), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI1, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3373), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_I4); | |
38388 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3374), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-256), szVarXorFail, VT_UI1, VT_UI4, VT_I4, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3374), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI4); | |
38389 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3375), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarXorFail, VT_UI1, VT_UI4, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3375), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI4); | |
38390 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3376), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI1, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3376), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI4); | |
38391 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3377), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-256), szVarXorFail, VT_UI1, VT_R4, VT_I4, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3377), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_R4); | |
38392 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3378), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarXorFail, VT_UI1, VT_R4, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3378), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_R4); | |
38393 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3379), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI1, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3379), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_R4); | |
38394 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3380), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-256), szVarXorFail, VT_UI1, VT_R8, VT_I4, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3380), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_R8); | |
38395 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3381), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarXorFail, VT_UI1, VT_R8, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3381), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_R8); | |
38396 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3382), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI1, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3382), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_R8); | |
38397 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3383), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-256), szVarXorFail, VT_UI1, VT_DATE, VT_I4, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3383), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_DATE); | |
38398 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3384), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarXorFail, VT_UI1, VT_DATE, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3384), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_DATE); | |
38399 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3385), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI1, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3385), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_DATE); | |
38400 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38401 | { | |
38402 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3388), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-256), szVarXorFail, VT_UI1, VT_I8, VT_I8, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3388), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_I8); | |
38403 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3389), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (255), szVarXorFail, VT_UI1, VT_I8, VT_I8, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3389), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_I8); | |
38404 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3390), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_UI1, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3390), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_I8); | |
38405 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3391), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarXorFail, VT_UI1, VT_UI8, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3391), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI8); | |
38406 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3392), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI1, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3392), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UI8); | |
38407 | } | |
38408 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3394), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-256), szVarXorFail, VT_UI1, VT_INT, VT_I4, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3394), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_INT); | |
38409 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3395), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarXorFail, VT_UI1, VT_INT, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3395), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_INT); | |
38410 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3396), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI1, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3396), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_INT); | |
38411 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3397), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-256), szVarXorFail, VT_UI1, VT_UINT, VT_I4, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3397), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UINT); | |
38412 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3398), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarXorFail, VT_UI1, VT_UINT, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3398), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UINT); | |
38413 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3399), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI1, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3399), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_UINT); | |
38414 | rbstr = SysAllocString(szFalse); | |
38415 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3401), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_UI1, VT_BSTR, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3401), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_BSTR); | |
38416 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3402), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (255), szVarXorFail, VT_UI1, VT_BSTR, VT_I2, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3402), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_BSTR); | |
38417 | rbstr = SysAllocString(szTrue); | |
38418 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3404), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarXorFail, VT_UI1, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3404), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_BSTR); | |
38419 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3405), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-256), szVarXorFail, VT_UI1, VT_BSTR, VT_I2, (int)(-256), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3405), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_BSTR); | |
38420 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3406), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (254), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI1, VT_CY, VT_I4, (int)(254), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3406), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_CY); | |
38421 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3407), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI1, VT_CY, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3407), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_CY); | |
38422 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3408), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI1, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3408), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI1,VT_CY); | |
38423 | ||
38424 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3410), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_I2, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3410), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_I2); | |
38425 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3411), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarXorFail, VT_I2, VT_I2, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3411), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_I2); | |
38426 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3412), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_I2, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3412), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_I2); | |
38427 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3413), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_I2, VT_UI2, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3413), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UI2); | |
38428 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3414), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I2, VT_UI2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3414), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UI2); | |
38429 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3415), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3415), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UI2); | |
38430 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3416), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3416), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_I4); | |
38431 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3417), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I2, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3417), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_I4); | |
38432 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3418), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3418), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_I4); | |
38433 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3419), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3419), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UI4); | |
38434 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3420), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I2, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3420), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UI4); | |
38435 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3421), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3421), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UI4); | |
38436 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3422), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3422), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_R4); | |
38437 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3423), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I2, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3423), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_R4); | |
38438 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3424), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3424), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_R4); | |
38439 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3425), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3425), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_R8); | |
38440 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3426), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I2, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3426), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_R8); | |
38441 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3427), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3427), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_R8); | |
38442 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3428), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3428), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_DATE); | |
38443 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3429), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I2, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3429), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_DATE); | |
38444 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3430), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3430), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_DATE); | |
38445 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38446 | { | |
38447 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3433), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I2, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3433), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_I8); | |
38448 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3434), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_I2, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3434), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_I8); | |
38449 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3435), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I2, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3435), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_I8); | |
38450 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3436), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I2, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3436), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UI8); | |
38451 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3437), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3437), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UI8); | |
38452 | } | |
38453 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3439), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3439), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_INT); | |
38454 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3440), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I2, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3440), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_INT); | |
38455 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3441), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3441), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_INT); | |
38456 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3442), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3442), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UINT); | |
38457 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3443), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I2, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3443), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UINT); | |
38458 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3444), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I2, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3444), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_UINT); | |
38459 | rbstr = SysAllocString(szFalse); | |
38460 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3446), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_I2, VT_BSTR, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3446), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_BSTR); | |
38461 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3447), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarXorFail, VT_I2, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3447), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_BSTR); | |
38462 | rbstr = SysAllocString(szTrue); | |
38463 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3449), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarXorFail, VT_I2, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3449), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_BSTR); | |
38464 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3450), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarXorFail, VT_I2, VT_BSTR, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3450), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_BSTR); | |
38465 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3451), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3451), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_CY); | |
38466 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3452), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3452), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_CY); | |
38467 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3453), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3453), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I2,VT_CY); | |
38468 | ||
38469 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3455), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3455), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UI2); | |
38470 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3456), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_UI2, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3456), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UI2); | |
38471 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3457), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3457), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UI2); | |
38472 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3458), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI2, VT_I4, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3458), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_I4); | |
38473 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3459), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_I4, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3459), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_I4); | |
38474 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3460), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3460), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_I4); | |
38475 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3461), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI2, VT_UI4, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3461), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UI4); | |
38476 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3462), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_UI4, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3462), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UI4); | |
38477 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3463), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3463), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UI4); | |
38478 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3464), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI2, VT_R4, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3464), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_R4); | |
38479 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3465), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_R4, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3465), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_R4); | |
38480 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3466), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3466), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_R4); | |
38481 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3467), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI2, VT_R8, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3467), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_R8); | |
38482 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3468), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_R8, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3468), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_R8); | |
38483 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3469), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3469), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_R8); | |
38484 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3470), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI2, VT_DATE, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3470), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_DATE); | |
38485 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3471), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_DATE, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3471), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_DATE); | |
38486 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3472), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3472), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_DATE); | |
38487 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38488 | { | |
38489 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3475), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-65536), szVarXorFail, VT_UI2, VT_I8, VT_I8, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3475), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_I8); | |
38490 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3476), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (65535), szVarXorFail, VT_UI2, VT_I8, VT_I8, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3476), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_I8); | |
38491 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3477), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_UI2, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3477), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_I8); | |
38492 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3478), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_UI8, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3478), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UI8); | |
38493 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3479), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3479), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UI8); | |
38494 | } | |
38495 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3481), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI2, VT_INT, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3481), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_INT); | |
38496 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3482), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_INT, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3482), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_INT); | |
38497 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3483), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3483), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_INT); | |
38498 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3484), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI2, VT_UINT, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3484), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UINT); | |
38499 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3485), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_UINT, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3485), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UINT); | |
38500 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3486), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3486), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_UINT); | |
38501 | rbstr = SysAllocString(szFalse); | |
38502 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3488), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI2, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3488), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_BSTR); | |
38503 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3489), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarXorFail, VT_UI2, VT_BSTR, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3489), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_BSTR); | |
38504 | rbstr = SysAllocString(szTrue); | |
38505 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3491), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI2, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3491), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_BSTR); | |
38506 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3492), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI2, VT_BSTR, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3492), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_BSTR); | |
38507 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3493), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65534), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI2, VT_CY, VT_I4, (int)(65534), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3493), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_CY); | |
38508 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3494), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI2, VT_CY, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3494), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_CY); | |
38509 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3495), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI2, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3495), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI2,VT_CY); | |
38510 | ||
38511 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3497), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3497), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_I4); | |
38512 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3498), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3498), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_I4); | |
38513 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3499), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3499), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_I4); | |
38514 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3500), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3500), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_UI4); | |
38515 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3501), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3501), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_UI4); | |
38516 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3502), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3502), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_UI4); | |
38517 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3503), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3503), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_R4); | |
38518 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3504), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3504), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_R4); | |
38519 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3505), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3505), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_R4); | |
38520 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3506), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3506), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_R8); | |
38521 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3507), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3507), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_R8); | |
38522 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3508), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3508), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_R8); | |
38523 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3509), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3509), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_DATE); | |
38524 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3510), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3510), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_DATE); | |
38525 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3511), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3511), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_DATE); | |
38526 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38527 | { | |
38528 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3514), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I4, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3514), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_I8); | |
38529 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3515), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_I4, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3515), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_I8); | |
38530 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3516), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I4, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3516), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_I8); | |
38531 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3517), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3517), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_UI8); | |
38532 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3518), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3518), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_UI8); | |
38533 | } | |
38534 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3520), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3520), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_INT); | |
38535 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3521), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3521), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_INT); | |
38536 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3522), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3522), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_INT); | |
38537 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3523), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3523), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_UINT); | |
38538 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3524), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3524), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_UINT); | |
38539 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3525), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3525), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_UINT); | |
38540 | rbstr = SysAllocString(szFalse); | |
38541 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3527), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3527), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_BSTR); | |
38542 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3528), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3528), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_BSTR); | |
38543 | rbstr = SysAllocString(szTrue); | |
38544 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3530), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_I4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3530), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_BSTR); | |
38545 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3531), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_I4, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3531), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_BSTR); | |
38546 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3532), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I4, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3532), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_CY); | |
38547 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3533), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I4, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3533), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_CY); | |
38548 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3534), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I4, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3534), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I4,VT_CY); | |
38549 | ||
38550 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3536), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3536), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_UI4); | |
38551 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3537), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI4, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3537), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_UI4); | |
38552 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3538), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3538), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_UI4); | |
38553 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3539), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3539), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_R4); | |
38554 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3540), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI4, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3540), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_R4); | |
38555 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3541), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3541), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_R4); | |
38556 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3542), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3542), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_R8); | |
38557 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3543), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI4, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3543), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_R8); | |
38558 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3544), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3544), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_R8); | |
38559 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3545), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3545), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_DATE); | |
38560 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3546), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI4, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3546), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_DATE); | |
38561 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3547), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3547), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_DATE); | |
38562 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38563 | { | |
38564 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3550), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0xffffffff), szVarXorFail, VT_UI4, VT_I8, VT_I8, (int)(0xffffffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3550), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_I8); | |
38565 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3551), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_UI4, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3551), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == ((VARIANT_BOOL)0x0000), "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_I8); | |
38566 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3552), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_UI4, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3552), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_I8); | |
38567 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3553), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI4, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3553), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_UI8); | |
38568 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3554), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3554), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_UI8); | |
38569 | } | |
38570 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3556), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3556), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_INT); | |
38571 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3557), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI4, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3557), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_INT); | |
38572 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3558), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3558), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_INT); | |
38573 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3559), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3559), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_UINT); | |
38574 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3560), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI4, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3560), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_UINT); | |
38575 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3561), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3561), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_UINT); | |
38576 | rbstr = SysAllocString(szFalse); | |
38577 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3563), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3563), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_BSTR); | |
38578 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3564), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3564), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_BSTR); | |
38579 | rbstr = SysAllocString(szTrue); | |
38580 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3566), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3566), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_BSTR); | |
38581 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3567), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI4, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3567), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_BSTR); | |
38582 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3568), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI4, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3568), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_CY); | |
38583 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3569), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI4, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3569), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_CY); | |
38584 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3570), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI4, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3570), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI4,VT_CY); | |
38585 | ||
38586 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3572), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3572), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_R4); | |
38587 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3573), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R4, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3573), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_R4); | |
38588 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3574), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3574), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_R4); | |
38589 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3575), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3575), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_R8); | |
38590 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3576), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R4, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3576), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_R8); | |
38591 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3577), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3577), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_R8); | |
38592 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3578), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3578), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_DATE); | |
38593 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3579), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R4, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3579), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_DATE); | |
38594 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3580), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3580), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_DATE); | |
38595 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38596 | { | |
38597 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3583), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_R4, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3583), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_I8); | |
38598 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3584), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_R4, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3584), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_I8); | |
38599 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3585), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_R4, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3585), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_I8); | |
38600 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3586), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R4, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3586), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_UI8); | |
38601 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3587), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3587), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_UI8); | |
38602 | } | |
38603 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3589), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3589), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_INT); | |
38604 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3590), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R4, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3590), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_INT); | |
38605 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3591), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3591), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_INT); | |
38606 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3592), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3592), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_UINT); | |
38607 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3593), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R4, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3593), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_UINT); | |
38608 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3594), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3594), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_UINT); | |
38609 | rbstr = SysAllocString(szFalse); | |
38610 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3596), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3596), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_BSTR); | |
38611 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3597), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3597), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_BSTR); | |
38612 | rbstr = SysAllocString(szTrue); | |
38613 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3599), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3599), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_BSTR); | |
38614 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3600), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R4, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3600), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_BSTR); | |
38615 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3601), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R4, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3601), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_CY); | |
38616 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3602), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R4, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3602), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_CY); | |
38617 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3603), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R4, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3603), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R4,VT_CY); | |
38618 | ||
38619 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3605), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3605), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_R8); | |
38620 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3606), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R8, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3606), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_R8); | |
38621 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3607), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3607), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_R8); | |
38622 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3608), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3608), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_DATE); | |
38623 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3609), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R8, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3609), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_DATE); | |
38624 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3610), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3610), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_DATE); | |
38625 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38626 | { | |
38627 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3613), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_R8, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3613), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_I8); | |
38628 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3614), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_R8, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3614), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_I8); | |
38629 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3615), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_R8, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3615), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_I8); | |
38630 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3616), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R8, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3616), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_UI8); | |
38631 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3617), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3617), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_UI8); | |
38632 | } | |
38633 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3619), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3619), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_INT); | |
38634 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3620), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R8, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3620), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_INT); | |
38635 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3621), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3621), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_INT); | |
38636 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3622), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3622), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_UINT); | |
38637 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3623), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R8, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3623), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_UINT); | |
38638 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3624), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3624), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_UINT); | |
38639 | rbstr = SysAllocString(szFalse); | |
38640 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3626), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3626), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_BSTR); | |
38641 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3627), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R8, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3627), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_BSTR); | |
38642 | rbstr = SysAllocString(szTrue); | |
38643 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3629), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_R8, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3629), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_BSTR); | |
38644 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3630), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_R8, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3630), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_BSTR); | |
38645 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3631), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R8, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3631), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_CY); | |
38646 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3632), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R8, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3632), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_CY); | |
38647 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3633), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R8, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3633), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_R8,VT_CY); | |
38648 | ||
38649 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3635), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_DATE, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3635), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_DATE); | |
38650 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3636), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_DATE, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3636), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_DATE); | |
38651 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3637), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_DATE, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3637), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_DATE); | |
38652 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38653 | { | |
38654 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3640), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_DATE, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3640), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_I8); | |
38655 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3641), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_DATE, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3641), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_I8); | |
38656 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3642), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_DATE, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3642), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_I8); | |
38657 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3643), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_DATE, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3643), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_UI8); | |
38658 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3644), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_DATE, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3644), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_UI8); | |
38659 | } | |
38660 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3646), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_DATE, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3646), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_INT); | |
38661 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3647), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_DATE, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3647), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_INT); | |
38662 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3648), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_DATE, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3648), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_INT); | |
38663 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3649), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_DATE, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3649), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_UINT); | |
38664 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3650), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_DATE, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3650), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_UINT); | |
38665 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3651), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_DATE, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3651), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_UINT); | |
38666 | rbstr = SysAllocString(szFalse); | |
38667 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3653), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_DATE, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3653), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_BSTR); | |
38668 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3654), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_DATE, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3654), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_BSTR); | |
38669 | rbstr = SysAllocString(szTrue); | |
38670 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3656), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_DATE, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3656), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_BSTR); | |
38671 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3657), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_DATE, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3657), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_BSTR); | |
38672 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3658), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_DATE, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3658), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_CY); | |
38673 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3659), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_DATE, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3659), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_CY); | |
38674 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3660), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_DATE, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3660), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_DATE,VT_CY); | |
38675 | ||
38676 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38677 | { | |
38678 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3664), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I8, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3664), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_I8); | |
38679 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3665), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_I8, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3665), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_I8); | |
38680 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3666), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I8, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3666), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_I8); | |
38681 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3667), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_I8, VT_UI8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3667), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_UI8); | |
38682 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3668), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I8, VT_UI8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3668), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_UI8); | |
38683 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3669), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_I8, VT_UINT, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3669), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_UINT); | |
38684 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3670), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I8, VT_UINT, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3670), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_UINT); | |
38685 | rbstr = SysAllocString(szFalse); | |
38686 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3672), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I8, VT_BSTR, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3672), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_BSTR); | |
38687 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3673), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_I8, VT_BSTR, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3673), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_BSTR); | |
38688 | rbstr = SysAllocString(szTrue); | |
38689 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3675), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarXorFail, VT_I8, VT_BSTR, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3675), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_BSTR); | |
38690 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3676), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarXorFail, VT_I8, VT_BSTR, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3676), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_BSTR); | |
38691 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3677), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I8, VT_CY, VT_I8, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3677), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_CY); | |
38692 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3678), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I8, VT_CY, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3678), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_CY); | |
38693 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3679), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I8, VT_CY, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3679), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_I8,VT_CY); | |
38694 | ||
38695 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3681), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI8, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3681), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0xffff, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_UI8); | |
38696 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3682), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarXorFail, VT_UI8, VT_UI8, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3682), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_UI8); | |
38697 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3683), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI8, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3683), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_UI8); | |
38698 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3684), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI8, VT_INT, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3684), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_INT); | |
38699 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3685), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarXorFail, VT_UI8, VT_INT, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3685), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_INT); | |
38700 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3686), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI8, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3686), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_INT); | |
38701 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3687), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI8, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3687), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffff, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_UINT); | |
38702 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3688), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarXorFail, VT_UI8, VT_UINT, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3688), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_UINT); | |
38703 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3689), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI8, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3689), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_UINT); | |
38704 | rbstr = SysAllocString(szFalse); | |
38705 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3691), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UI8, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3691), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_BSTR); | |
38706 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3692), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarXorFail, VT_UI8, VT_BSTR, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3692), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_BSTR); | |
38707 | rbstr = SysAllocString(szTrue); | |
38708 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3694), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UI8, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3694), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_BSTR); | |
38709 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3695), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UI8, VT_BSTR, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3695), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_BSTR); | |
38710 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3696), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65534), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI8, VT_CY, VT_I4, (int)(65534), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3696), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_CY); | |
38711 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3697), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI8, VT_CY, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3697), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_CY); | |
38712 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3698), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI8, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3698), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UI8,VT_CY); | |
38713 | } | |
38714 | ||
38715 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3701), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_INT, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3701), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_INT); | |
38716 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3702), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_INT, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3702), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_INT); | |
38717 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3703), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_INT, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3703), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_INT); | |
38718 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3704), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_INT, VT_UINT, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3704), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffff, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_UINT); | |
38719 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3705), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_INT, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3705), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_UINT); | |
38720 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3706), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_INT, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3706), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_UINT); | |
38721 | rbstr = SysAllocString(szFalse); | |
38722 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3708), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_INT, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3708), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_BSTR); | |
38723 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3709), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_INT, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3709), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_BSTR); | |
38724 | rbstr = SysAllocString(szTrue); | |
38725 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3711), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_INT, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3711), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_BSTR); | |
38726 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3712), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_INT, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3712), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_BSTR); | |
38727 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3713), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_INT, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3713), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_CY); | |
38728 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3714), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_INT, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3714), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_CY); | |
38729 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3715), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_INT, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3715), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_INT,VT_CY); | |
38730 | ||
38731 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3717), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UINT, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3717), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffff, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_UINT); | |
38732 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3718), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarXorFail, VT_UINT, VT_UINT, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3718), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_UINT); | |
38733 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3719), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UINT, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3719), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_UINT); | |
38734 | rbstr = SysAllocString(szFalse); | |
38735 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3721), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarXorFail, VT_UINT, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3721), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_BSTR); | |
38736 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3722), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarXorFail, VT_UINT, VT_BSTR, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3722), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_BSTR); | |
38737 | rbstr = SysAllocString(szTrue); | |
38738 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3724), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarXorFail, VT_UINT, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3724), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_BSTR); | |
38739 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3725), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65536), szVarXorFail, VT_UINT, VT_BSTR, VT_I4, (int)(-65536), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3725), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_BSTR); | |
38740 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3726), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65534), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UINT, VT_CY, VT_I4, (int)(65534), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3726), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_CY); | |
38741 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3727), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UINT, VT_CY, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3727), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_CY); | |
38742 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3728), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UINT, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3728), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarXor(%d,%d): Modified input arguments\n",VT_UINT,VT_CY); | |
38743 | ||
38744 | lbstr = SysAllocString(szFalse); | |
38745 | rbstr = SysAllocString(szFalse); | |
38746 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3732), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (0), szVarXorFail, VT_BSTR, VT_BSTR, VT_BOOL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3732), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_BSTR,VT_BSTR); | |
38747 | rbstr = SysAllocString(szTrue); | |
38748 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3734), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarXorFail, VT_BSTR, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3734), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_BSTR,VT_BSTR); | |
38749 | lbstr = SysAllocString(szTrue); | |
38750 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3736), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarXorFail, VT_BSTR, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0x0000)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3736), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, "VarXor(%d,%d): Modified input arguments\n",VT_BSTR,VT_BSTR); | |
38751 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3737), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BSTR, VT_CY, VT_I4, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3737), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_BSTR,VT_CY); | |
38752 | lbstr = SysAllocString(szFalse); | |
38753 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarXor(&left,&right,&result); (winetest_set_location("vartest.c", 3739), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), "VarXor(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BSTR, VT_CY, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3739), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarXor(%d,%d): Modified input arguments\n",VT_BSTR,VT_CY); | |
38754 | } | |
38755 | ||
38756 | static HRESULT (__attribute__((__stdcall__)) *pVarOr)(LPVARIANT,LPVARIANT,LPVARIANT); | |
38757 | ||
38758 | static const char *szVarOrFail = "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
38759 | static const char *szVarOrChanged = "VarOr(%d,%d): Modified input arguments\n"; | |
38760 | # 3767 "vartest.c" | |
38761 | static void test_VarOr(void) | |
38762 | { | |
38763 | static const WCHAR szFalse[] = { '#','F','A','L','S','E','#','\0' }; | |
38764 | static const WCHAR szTrue[] = { '#','T','R','U','E','#','\0' }; | |
38765 | VARIANT left, right, result; | |
38766 | BSTR lbstr, rbstr; | |
38767 | VARTYPE i; | |
38768 | HRESULT hres; | |
38769 | ||
38770 | pVarOr = (void*)GetProcAddress(hOleaut32, "VarOr"); if (!pVarOr) { (winetest_set_location("vartest.c", 3776), 0) ? (void)0 : winetest_trace("function " "VarOr" " not available, not testing it\n"); return; }; | |
38771 | ||
38772 | ||
38773 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
38774 | { | |
38775 | VARTYPE leftvt, rightvt, resvt; | |
38776 | ||
38777 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
38778 | { | |
38779 | ||
38780 | if((leftvt > VT_CLSID+10) && (leftvt < VT_BSTR_BLOB-10)) continue;; | |
38781 | ||
38782 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
38783 | { | |
38784 | BOOL bFail = 0; | |
38785 | ||
38786 | if((rightvt > VT_CLSID+10) && (rightvt < VT_BSTR_BLOB-10)) continue;; | |
38787 | ||
38788 | if (leftvt == VT_BSTR || rightvt == VT_BSTR || | |
38789 | leftvt == VT_DISPATCH || rightvt == VT_DISPATCH || | |
38790 | leftvt == VT_UNKNOWN || rightvt == VT_UNKNOWN) | |
38791 | continue; | |
38792 | ||
38793 | memset(&left, 0, sizeof(left)); | |
38794 | memset(&right, 0, sizeof(right)); | |
38795 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
38796 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
38797 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
38798 | resvt = VT_I4; | |
38799 | ||
38800 | if (ExtraFlags[i] & VT_ARRAY || ExtraFlags[i] & VT_BYREF || | |
38801 | !IsValidVariantClearVT(leftvt, ExtraFlags[i]) || | |
38802 | !IsValidVariantClearVT(rightvt, ExtraFlags[i]) || | |
38803 | leftvt == VT_CLSID || rightvt == VT_CLSID || | |
38804 | leftvt == VT_RECORD || rightvt == VT_RECORD || | |
38805 | leftvt == VT_VARIANT || rightvt == VT_VARIANT || | |
38806 | leftvt == VT_ERROR || rightvt == VT_ERROR) | |
38807 | { | |
38808 | bFail = 1; | |
38809 | } | |
38810 | if (leftvt == VT_EMPTY || rightvt == VT_EMPTY) | |
38811 | { | |
38812 | if (leftvt == rightvt || | |
38813 | leftvt == VT_I2 || rightvt == VT_I2 || | |
38814 | leftvt == VT_UI1 || rightvt == VT_UI1 || | |
38815 | leftvt == VT_BOOL || rightvt == VT_BOOL) | |
38816 | resvt = VT_I2; | |
38817 | else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
38818 | resvt = VT_NULL; | |
38819 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
38820 | resvt = VT_I8; | |
38821 | } | |
38822 | else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
38823 | { | |
38824 | resvt = VT_NULL; | |
38825 | } | |
38826 | else if (leftvt == VT_UI1 || rightvt == VT_UI1) | |
38827 | { | |
38828 | if (leftvt == rightvt) | |
38829 | resvt = VT_UI1; | |
38830 | else if (leftvt == rightvt || | |
38831 | leftvt == VT_I2 || rightvt == VT_I2 || | |
38832 | leftvt == VT_BOOL || rightvt == VT_BOOL) | |
38833 | { | |
38834 | resvt = VT_I2; | |
38835 | } | |
38836 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
38837 | resvt = VT_I8; | |
38838 | } | |
38839 | else if (leftvt == VT_I2 || rightvt == VT_I2) | |
38840 | { | |
38841 | if (leftvt == rightvt || | |
38842 | leftvt == VT_BOOL || rightvt == VT_BOOL) | |
38843 | resvt = VT_I2; | |
38844 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
38845 | resvt = VT_I8; | |
38846 | } | |
38847 | else if (leftvt == VT_BOOL && rightvt == VT_BOOL) | |
38848 | { | |
38849 | resvt = VT_BOOL; | |
38850 | } | |
38851 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
38852 | { | |
38853 | if (leftvt == VT_INT || rightvt == VT_INT) | |
38854 | bFail = 1; | |
38855 | else | |
38856 | resvt = VT_I8; | |
38857 | } | |
38858 | hres = pVarOr(&left, &right, &result); | |
38859 | if (bFail) | |
38860 | (winetest_set_location("vartest.c", 3866), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) || hres == ((HRESULT)0x80020008L), | |
38861 | "VarOr: %d|0x%X, %d|0x%X: Expected failure, got 0x%lX vt %d\n", | |
38862 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], hres, | |
38863 | ((&result)->n1.n2.vt)); | |
38864 | else | |
38865 | (winetest_set_location("vartest.c", 3871), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == resvt, | |
38866 | "VarOr: %d|0x%X, %d|0x%X: expected S_OK, vt %d, got 0x%lX vt %d\n", | |
38867 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], resvt, hres, | |
38868 | ((&result)->n1.n2.vt)); | |
38869 | } | |
38870 | } | |
38871 | } | |
38872 | ||
38873 | ||
38874 | ||
38875 | ||
38876 | ||
38877 | ||
38878 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3884), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_EMPTY, VT_EMPTY, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3884), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_EMPTY && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_EMPTY,VT_EMPTY); | |
38879 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3885), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_EMPTY, VT_EMPTY, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3885), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 1 && ((&right)->n1.n2.vt) == VT_EMPTY && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_EMPTY,VT_EMPTY); | |
38880 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3886), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_NULL, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3886), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_NULL && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_EMPTY,VT_NULL); | |
38881 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3887), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_I1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3887), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, szVarOrChanged,VT_EMPTY,VT_I1); | |
38882 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3888), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_EMPTY, VT_I1, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3888), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 1, szVarOrChanged,VT_EMPTY,VT_I1); | |
38883 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3889), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_EMPTY, VT_UI1, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3889), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, szVarOrChanged,VT_EMPTY,VT_UI1); | |
38884 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3890), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (1), szVarOrFail, VT_EMPTY, VT_UI1, VT_I2, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3890), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 1, szVarOrChanged,VT_EMPTY,VT_UI1); | |
38885 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3891), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_EMPTY, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3891), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_EMPTY,VT_I2); | |
38886 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3892), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (1), szVarOrFail, VT_EMPTY, VT_I2, VT_I2, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3892), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 1, szVarOrChanged,VT_EMPTY,VT_I2); | |
38887 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3893), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3893), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_EMPTY,VT_UI2); | |
38888 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3894), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_EMPTY, VT_UI2, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3894), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 1, szVarOrChanged,VT_EMPTY,VT_UI2); | |
38889 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3895), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3895), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_EMPTY,VT_I4); | |
38890 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3896), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_EMPTY, VT_I4, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3896), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 1, szVarOrChanged,VT_EMPTY,VT_I4); | |
38891 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3897), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3897), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_EMPTY,VT_UI4); | |
38892 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3898), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_EMPTY, VT_UI4, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3898), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 1, szVarOrChanged,VT_EMPTY,VT_UI4); | |
38893 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38894 | { | |
38895 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3901), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_EMPTY, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3901), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_EMPTY,VT_I8); | |
38896 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3902), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (1), szVarOrFail, VT_EMPTY, VT_I8, VT_I8, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3902), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 1, szVarOrChanged,VT_EMPTY,VT_I8); | |
38897 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3903), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3903), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_EMPTY,VT_UI8); | |
38898 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3904), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_EMPTY, VT_UI8, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3904), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 1, szVarOrChanged,VT_EMPTY,VT_UI8); | |
38899 | } | |
38900 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3906), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3906), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_EMPTY,VT_INT); | |
38901 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3907), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_EMPTY, VT_INT, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3907), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 1, szVarOrChanged,VT_EMPTY,VT_INT); | |
38902 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3908), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3908), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_EMPTY,VT_UINT); | |
38903 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3909), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_EMPTY, VT_UINT, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3909), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 1, szVarOrChanged,VT_EMPTY,VT_UINT); | |
38904 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3910), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_EMPTY, VT_BOOL, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3910), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == 0, szVarOrChanged,VT_EMPTY,VT_BOOL); | |
38905 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3911), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (1), szVarOrFail, VT_EMPTY, VT_BOOL, VT_I2, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3911), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == 1, szVarOrChanged,VT_EMPTY,VT_BOOL); | |
38906 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3912), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3912), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_EMPTY,VT_R4); | |
38907 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3913), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_EMPTY, VT_R4, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3913), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 1, szVarOrChanged,VT_EMPTY,VT_R4); | |
38908 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3914), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_EMPTY, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3914), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_EMPTY,VT_R8); | |
38909 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3915), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_EMPTY, VT_R8, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3915), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 1, szVarOrChanged,VT_EMPTY,VT_R8); | |
38910 | rbstr = SysAllocString(szFalse); | |
38911 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3917), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_EMPTY, VT_BSTR, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3917), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_EMPTY,VT_BSTR); | |
38912 | rbstr = SysAllocString(szTrue); | |
38913 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3919), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_EMPTY, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3919), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_EMPTY,VT_BSTR); | |
38914 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3920), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_EMPTY, VT_CY, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3920), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_EMPTY && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_EMPTY,VT_CY); | |
38915 | ||
38916 | ||
38917 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3923), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_NULL, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3923), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_NULL && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_NULL,VT_NULL); | |
38918 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3924), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_NULL, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3924), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 1 && ((&right)->n1.n2.vt) == VT_NULL && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_NULL,VT_NULL); | |
38919 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3925), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_I1, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3925), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, szVarOrChanged,VT_NULL,VT_I1); | |
38920 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3926), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_NULL, VT_I1, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3926), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 1, szVarOrChanged,VT_NULL,VT_I1); | |
38921 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3927), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_UI1, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3927), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, szVarOrChanged,VT_NULL,VT_UI1); | |
38922 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3928), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (1), szVarOrFail, VT_NULL, VT_UI1, VT_UI1, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); (winetest_set_location("vartest.c", 3928), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 1, szVarOrChanged,VT_NULL,VT_UI1); | |
38923 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3929), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_I2, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3929), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_NULL,VT_I2); | |
38924 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3930), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (1), szVarOrFail, VT_NULL, VT_I2, VT_I2, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3930), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 1, szVarOrChanged,VT_NULL,VT_I2); | |
38925 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3931), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_UI2, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3931), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_NULL,VT_UI2); | |
38926 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3932), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_NULL, VT_UI2, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3932), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 1, szVarOrChanged,VT_NULL,VT_UI2); | |
38927 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3933), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_I4, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3933), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_NULL,VT_I4); | |
38928 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3934), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_NULL, VT_I4, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3934), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 1, szVarOrChanged,VT_NULL,VT_I4); | |
38929 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3935), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_UI4, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3935), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_NULL,VT_UI4); | |
38930 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3936), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_NULL, VT_UI4, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3936), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 1, szVarOrChanged,VT_NULL,VT_UI4); | |
38931 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38932 | { | |
38933 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3939), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_I8, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3939), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_NULL,VT_I8); | |
38934 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3940), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (1), szVarOrFail, VT_NULL, VT_I8, VT_I8, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3940), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 1, szVarOrChanged,VT_NULL,VT_I8); | |
38935 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3941), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_UI8, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3941), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_NULL,VT_UI8); | |
38936 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3942), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_NULL, VT_UI8, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3942), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 1, szVarOrChanged,VT_NULL,VT_UI8); | |
38937 | } | |
38938 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3944), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_INT, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3944), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_NULL,VT_INT); | |
38939 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3945), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_NULL, VT_INT, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3945), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 1, szVarOrChanged,VT_NULL,VT_INT); | |
38940 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3946), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_UINT, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3946), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_NULL,VT_UINT); | |
38941 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3947), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_NULL, VT_UINT, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3947), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 1, szVarOrChanged,VT_NULL,VT_UINT); | |
38942 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3948), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_BOOL, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3948), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == 0, szVarOrChanged,VT_NULL,VT_BOOL); | |
38943 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3949), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (1), szVarOrFail, VT_NULL, VT_BOOL, VT_BOOL, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3949), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == 1, szVarOrChanged,VT_NULL,VT_BOOL); | |
38944 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3950), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_R4, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3950), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_NULL,VT_R4); | |
38945 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3951), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_NULL, VT_R4, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3951), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 1, szVarOrChanged,VT_NULL,VT_R4); | |
38946 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3952), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_R8, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3952), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_NULL,VT_R8); | |
38947 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3953), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarOrFail, VT_NULL, VT_R8, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3953), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 1, szVarOrChanged,VT_NULL,VT_R8); | |
38948 | rbstr = SysAllocString(szFalse); | |
38949 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3955), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_NULL, VT_BSTR, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3955), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_NULL,VT_BSTR); | |
38950 | rbstr = SysAllocString(szTrue); | |
38951 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3957), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarOrFail, VT_NULL, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3957), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_NULL,VT_BSTR); | |
38952 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3958), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_NULL, VT_CY, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3958), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_NULL,VT_CY); | |
38953 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3959), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_NULL, VT_CY, VT_NULL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3959), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_NULL && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_NULL,VT_CY); | |
38954 | ||
38955 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3961), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarOrFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3961), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF), szVarOrChanged,VT_BOOL,VT_BOOL); | |
38956 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3962), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarOrFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3962), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000), szVarOrChanged,VT_BOOL,VT_BOOL); | |
38957 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3963), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarOrFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3963), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF), szVarOrChanged,VT_BOOL,VT_BOOL); | |
38958 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3964), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarOrFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0x0000)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 3964), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_BOOL && ((&right)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000), szVarOrChanged,VT_BOOL,VT_BOOL); | |
38959 | ||
38960 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3966), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_I1, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3966), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == -1, szVarOrChanged,VT_BOOL,VT_I1); | |
38961 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3967), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_I1, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3967), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, szVarOrChanged,VT_BOOL,VT_I1); | |
38962 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3968), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_I1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3968), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, szVarOrChanged,VT_BOOL,VT_I1); | |
38963 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 255; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3969), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_BOOL, VT_UI1, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3969), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 255, szVarOrChanged,VT_BOOL,VT_UI1); | |
38964 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3970), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_BOOL, VT_UI1, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3970), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, szVarOrChanged,VT_BOOL,VT_UI1); | |
38965 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3971), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_BOOL, VT_UI1, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3971), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, szVarOrChanged,VT_BOOL,VT_UI1); | |
38966 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3972), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_BOOL, VT_I2, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3972), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == -1, szVarOrChanged,VT_BOOL,VT_I2); | |
38967 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3973), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_BOOL, VT_I2, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3973), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_BOOL,VT_I2); | |
38968 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3974), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_BOOL, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 3974), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_BOOL,VT_I2); | |
38969 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3975), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_UI2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3975), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, szVarOrChanged,VT_BOOL,VT_UI2); | |
38970 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3976), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_UI2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3976), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_BOOL,VT_UI2); | |
38971 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3977), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3977), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_BOOL,VT_UI2); | |
38972 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3978), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3978), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, szVarOrChanged,VT_BOOL,VT_I4); | |
38973 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3979), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3979), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_BOOL,VT_I4); | |
38974 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3980), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3980), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_BOOL,VT_I4); | |
38975 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3981), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3981), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, szVarOrChanged,VT_BOOL,VT_UI4); | |
38976 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3982), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3982), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_BOOL,VT_UI4); | |
38977 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3983), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3983), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_BOOL,VT_UI4); | |
38978 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3984), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3984), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, szVarOrChanged,VT_BOOL,VT_R4); | |
38979 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3985), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3985), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_BOOL,VT_R4); | |
38980 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3986), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3986), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_BOOL,VT_R4); | |
38981 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3987), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3987), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, szVarOrChanged,VT_BOOL,VT_R8); | |
38982 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3988), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3988), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_BOOL,VT_R8); | |
38983 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3989), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3989), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_BOOL,VT_R8); | |
38984 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3990), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3990), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_BOOL,VT_DATE); | |
38985 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3991), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3991), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_BOOL,VT_DATE); | |
38986 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3992), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 3992), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_BOOL,VT_DATE); | |
38987 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
38988 | { | |
38989 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3995), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_BOOL, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3995), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_BOOL,VT_I8); | |
38990 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3996), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_BOOL, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3996), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_BOOL,VT_I8); | |
38991 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 3997), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_BOOL, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 3997), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_BOOL,VT_I8); | |
38992 | ||
38993 | ||
38994 | ||
38995 | ||
38996 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4002), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4002), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_BOOL,VT_UI8); | |
38997 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4003), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4003), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_BOOL,VT_UI8); | |
38998 | } | |
38999 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4005), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4005), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_BOOL,VT_INT); | |
39000 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4006), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4006), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_BOOL,VT_INT); | |
39001 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4007), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4007), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_BOOL,VT_INT); | |
39002 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4008), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4008), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_BOOL,VT_UINT); | |
39003 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4009), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_BOOL, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4009), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_BOOL,VT_UINT); | |
39004 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4010), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_BOOL, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4010), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_BOOL,VT_UINT); | |
39005 | rbstr = SysAllocString(szFalse); | |
39006 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4012), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarOrFail, VT_BOOL, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0x0000)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 4012), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_BOOL,VT_BSTR); | |
39007 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4013), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarOrFail, VT_BOOL, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 4013), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_BOOL,VT_BSTR); | |
39008 | rbstr = SysAllocString(szTrue); | |
39009 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4015), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarOrFail, VT_BOOL, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 4015), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_BOOL,VT_BSTR); | |
39010 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4016), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarOrFail, VT_BOOL, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 4016), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_BOOL,VT_BSTR); | |
39011 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4017), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BOOL, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4017), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_BOOL,VT_CY); | |
39012 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4018), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BOOL, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4018), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0xFFFF) && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_BOOL,VT_CY); | |
39013 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4019), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BOOL, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4019), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BOOL && ((&left)->n1.n2.n3.boolVal) == ((VARIANT_BOOL)0x0000) && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_BOOL,VT_CY); | |
39014 | ||
39015 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4021), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_I1, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4021), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == -1, szVarOrChanged,VT_I1,VT_I1); | |
39016 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4022), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_I1, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4022), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, szVarOrChanged,VT_I1,VT_I1); | |
39017 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4023), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_I1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4023), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_I1 && ((&right)->n1.n2.n3.cVal) == 0, szVarOrChanged,VT_I1,VT_I1); | |
39018 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 255; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4024), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_UI1, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4024), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 255, szVarOrChanged,VT_I1,VT_UI1); | |
39019 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4025), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_UI1, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4025), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, szVarOrChanged,VT_I1,VT_UI1); | |
39020 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4026), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_UI1, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4026), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, szVarOrChanged,VT_I1,VT_UI1); | |
39021 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4027), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_I2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4027), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == -1, szVarOrChanged,VT_I1,VT_I2); | |
39022 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4028), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_I2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4028), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_I1,VT_I2); | |
39023 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4029), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_I2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4029), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_I1,VT_I2); | |
39024 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4030), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_UI2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4030), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, szVarOrChanged,VT_I1,VT_UI2); | |
39025 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4031), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_UI2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4031), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_I1,VT_UI2); | |
39026 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4032), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4032), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_I1,VT_UI2); | |
39027 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4033), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4033), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, szVarOrChanged,VT_I1,VT_I4); | |
39028 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4034), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4034), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_I1,VT_I4); | |
39029 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4035), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4035), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_I1,VT_I4); | |
39030 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4036), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4036), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, szVarOrChanged,VT_I1,VT_UI4); | |
39031 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4037), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4037), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_I1,VT_UI4); | |
39032 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4038), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4038), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_I1,VT_UI4); | |
39033 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4039), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4039), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, szVarOrChanged,VT_I1,VT_R4); | |
39034 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4040), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4040), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_I1,VT_R4); | |
39035 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4041), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4041), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_I1,VT_R4); | |
39036 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4042), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4042), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, szVarOrChanged,VT_I1,VT_R8); | |
39037 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4043), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4043), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_I1,VT_R8); | |
39038 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4044), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4044), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_I1,VT_R8); | |
39039 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4045), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4045), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_I1,VT_DATE); | |
39040 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4046), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4046), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_I1,VT_DATE); | |
39041 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4047), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4047), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_I1,VT_DATE); | |
39042 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39043 | { | |
39044 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4050), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I1, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4050), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_I1,VT_I8); | |
39045 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4051), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I1, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4051), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_I1,VT_I8); | |
39046 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4052), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_I1, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4052), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_I1,VT_I8); | |
39047 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4053), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4053), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_I1,VT_UI8); | |
39048 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4054), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4054), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_I1,VT_UI8); | |
39049 | } | |
39050 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4056), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4056), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_I1,VT_INT); | |
39051 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4057), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4057), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_I1,VT_INT); | |
39052 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4058), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4058), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_I1,VT_INT); | |
39053 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4059), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4059), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_I1,VT_UINT); | |
39054 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4060), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4060), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_I1,VT_UINT); | |
39055 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4061), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4061), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_I1,VT_UINT); | |
39056 | rbstr = SysAllocString(szFalse); | |
39057 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4063), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I1, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4063), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I1,VT_BSTR); | |
39058 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4064), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4064), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I1,VT_BSTR); | |
39059 | rbstr = SysAllocString(szTrue); | |
39060 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4066), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4066), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I1,VT_BSTR); | |
39061 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4067), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I1, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4067), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I1,VT_BSTR); | |
39062 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4068), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I1, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4068), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_I1,VT_CY); | |
39063 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4069), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I1, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4069), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_I1,VT_CY); | |
39064 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4070), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I1, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4070), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I1 && ((&left)->n1.n2.n3.cVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_I1,VT_CY); | |
39065 | ||
39066 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 255; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4072), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (255), szVarOrFail, VT_UI1, VT_UI1, VT_UI1, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); (winetest_set_location("vartest.c", 4072), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 255, szVarOrChanged,VT_UI1,VT_UI1); | |
39067 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4073), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (255), szVarOrFail, VT_UI1, VT_UI1, VT_UI1, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); (winetest_set_location("vartest.c", 4073), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, szVarOrChanged,VT_UI1,VT_UI1); | |
39068 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4074), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (0), szVarOrFail, VT_UI1, VT_UI1, VT_UI1, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); (winetest_set_location("vartest.c", 4074), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UI1 && ((&right)->n1.n2.n3.bVal) == 0, szVarOrChanged,VT_UI1,VT_UI1); | |
39069 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4075), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_UI1, VT_I2, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4075), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == -1, szVarOrChanged,VT_UI1,VT_I2); | |
39070 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4076), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (255), szVarOrFail, VT_UI1, VT_I2, VT_I2, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4076), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_UI1,VT_I2); | |
39071 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4077), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_UI1, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4077), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_UI1,VT_I2); | |
39072 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4078), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI1, VT_UI2, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4078), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, szVarOrChanged,VT_UI1,VT_UI2); | |
39073 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4079), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarOrFail, VT_UI1, VT_UI2, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4079), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_UI1,VT_UI2); | |
39074 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4080), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI1, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4080), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_UI1,VT_UI2); | |
39075 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4081), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI1, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4081), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, szVarOrChanged,VT_UI1,VT_I4); | |
39076 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4082), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarOrFail, VT_UI1, VT_I4, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4082), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_UI1,VT_I4); | |
39077 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4083), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI1, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4083), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_UI1,VT_I4); | |
39078 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4084), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI1, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4084), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, szVarOrChanged,VT_UI1,VT_UI4); | |
39079 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4085), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarOrFail, VT_UI1, VT_UI4, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4085), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_UI1,VT_UI4); | |
39080 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4086), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI1, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4086), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_UI1,VT_UI4); | |
39081 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4087), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI1, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4087), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, szVarOrChanged,VT_UI1,VT_R4); | |
39082 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4088), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarOrFail, VT_UI1, VT_R4, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4088), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_UI1,VT_R4); | |
39083 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4089), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI1, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4089), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_UI1,VT_R4); | |
39084 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4090), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI1, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4090), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, szVarOrChanged,VT_UI1,VT_R8); | |
39085 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4091), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarOrFail, VT_UI1, VT_R8, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4091), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_UI1,VT_R8); | |
39086 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4092), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI1, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4092), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_UI1,VT_R8); | |
39087 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4093), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI1, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4093), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_UI1,VT_DATE); | |
39088 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4094), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarOrFail, VT_UI1, VT_DATE, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4094), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_UI1,VT_DATE); | |
39089 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4095), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI1, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4095), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_UI1,VT_DATE); | |
39090 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39091 | { | |
39092 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4098), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_UI1, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4098), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_UI1,VT_I8); | |
39093 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4099), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (255), szVarOrFail, VT_UI1, VT_I8, VT_I8, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4099), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_UI1,VT_I8); | |
39094 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4100), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_UI1, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4100), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_UI1,VT_I8); | |
39095 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4101), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarOrFail, VT_UI1, VT_UI8, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4101), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_UI1,VT_UI8); | |
39096 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4102), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI1, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4102), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_UI1,VT_UI8); | |
39097 | } | |
39098 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4104), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI1, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4104), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_UI1,VT_INT); | |
39099 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4105), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarOrFail, VT_UI1, VT_INT, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4105), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_UI1,VT_INT); | |
39100 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4106), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI1, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4106), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_UI1,VT_INT); | |
39101 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4107), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI1, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4107), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_UI1,VT_UINT); | |
39102 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4108), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarOrFail, VT_UI1, VT_UINT, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4108), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UI1,VT_UINT); | |
39103 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4109), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI1, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4109), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UI1,VT_UINT); | |
39104 | rbstr = SysAllocString(szFalse); | |
39105 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4111), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_UI1, VT_BSTR, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4111), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI1,VT_BSTR); | |
39106 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4112), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (255), szVarOrFail, VT_UI1, VT_BSTR, VT_I2, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4112), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI1,VT_BSTR); | |
39107 | rbstr = SysAllocString(szTrue); | |
39108 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4114), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_UI1, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4114), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI1,VT_BSTR); | |
39109 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4115), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_UI1, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4115), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI1,VT_BSTR); | |
39110 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4116), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI1, VT_CY, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4116), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_UI1,VT_CY); | |
39111 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4117), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI1, VT_CY, VT_I4, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4117), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 255 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UI1,VT_CY); | |
39112 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4118), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI1, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4118), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI1 && ((&left)->n1.n2.n3.bVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UI1,VT_CY); | |
39113 | ||
39114 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4120), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_I2, VT_I2, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4120), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == -1, szVarOrChanged,VT_I2,VT_I2); | |
39115 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4121), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_I2, VT_I2, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4121), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_I2,VT_I2); | |
39116 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4122), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_I2, VT_I2, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4122), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_I2 && ((&right)->n1.n2.n3.iVal) == 0, szVarOrChanged,VT_I2,VT_I2); | |
39117 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4123), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_UI2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4123), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, szVarOrChanged,VT_I2,VT_UI2); | |
39118 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4124), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_UI2, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4124), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_I2,VT_UI2); | |
39119 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4125), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I2, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4125), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_I2,VT_UI2); | |
39120 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4126), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4126), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, szVarOrChanged,VT_I2,VT_I4); | |
39121 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4127), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4127), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_I2,VT_I4); | |
39122 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4128), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I2, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4128), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_I2,VT_I4); | |
39123 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4129), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4129), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, szVarOrChanged,VT_I2,VT_UI4); | |
39124 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4130), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4130), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_I2,VT_UI4); | |
39125 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4131), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I2, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4131), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_I2,VT_UI4); | |
39126 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4132), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4132), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, szVarOrChanged,VT_I2,VT_R4); | |
39127 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4133), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4133), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_I2,VT_R4); | |
39128 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4134), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I2, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4134), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_I2,VT_R4); | |
39129 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4135), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4135), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, szVarOrChanged,VT_I2,VT_R8); | |
39130 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4136), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4136), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_I2,VT_R8); | |
39131 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4137), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I2, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4137), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_I2,VT_R8); | |
39132 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4138), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4138), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_I2,VT_DATE); | |
39133 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4139), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4139), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_I2,VT_DATE); | |
39134 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4140), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I2, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4140), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_I2,VT_DATE); | |
39135 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39136 | { | |
39137 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4143), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I2, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4143), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_I2,VT_I8); | |
39138 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4144), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I2, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4144), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_I2,VT_I8); | |
39139 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4145), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_I2, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4145), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_I2,VT_I8); | |
39140 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4146), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4146), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_I2,VT_UI8); | |
39141 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4147), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I2, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4147), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_I2,VT_UI8); | |
39142 | } | |
39143 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4149), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4149), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_I2,VT_INT); | |
39144 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4150), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4150), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_I2,VT_INT); | |
39145 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4151), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I2, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4151), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_I2,VT_INT); | |
39146 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4152), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4152), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_I2,VT_UINT); | |
39147 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4153), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I2, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4153), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_I2,VT_UINT); | |
39148 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4154), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I2, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4154), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_I2,VT_UINT); | |
39149 | rbstr = SysAllocString(szFalse); | |
39150 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4156), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarOrFail, VT_I2, VT_BSTR, VT_I2, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4156), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I2,VT_BSTR); | |
39151 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4157), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_I2, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4157), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I2,VT_BSTR); | |
39152 | rbstr = SysAllocString(szTrue); | |
39153 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4159), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_I2, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4159), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I2,VT_BSTR); | |
39154 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4160), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarOrFail, VT_I2, VT_BSTR, VT_I2, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); (winetest_set_location("vartest.c", 4160), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I2,VT_BSTR); | |
39155 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4161), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4161), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_I2,VT_CY); | |
39156 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4162), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4162), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_I2,VT_CY); | |
39157 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4163), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I2, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4163), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I2 && ((&left)->n1.n2.n3.iVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_I2,VT_CY); | |
39158 | ||
39159 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4165), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_UI2, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4165), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 65535, szVarOrChanged,VT_UI2,VT_UI2); | |
39160 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4166), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_UI2, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4166), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_UI2,VT_UI2); | |
39161 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4167), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_UI2, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4167), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_UI2 && ((&right)->n1.n2.n3.uiVal) == 0, szVarOrChanged,VT_UI2,VT_UI2); | |
39162 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4168), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI2, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4168), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, szVarOrChanged,VT_UI2,VT_I4); | |
39163 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4169), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_I4, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4169), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_UI2,VT_I4); | |
39164 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4170), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4170), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_UI2,VT_I4); | |
39165 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4171), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI2, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4171), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, szVarOrChanged,VT_UI2,VT_UI4); | |
39166 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4172), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_UI4, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4172), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_UI2,VT_UI4); | |
39167 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4173), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4173), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_UI2,VT_UI4); | |
39168 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4174), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI2, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4174), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, szVarOrChanged,VT_UI2,VT_R4); | |
39169 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4175), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_R4, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4175), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_UI2,VT_R4); | |
39170 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4176), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4176), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_UI2,VT_R4); | |
39171 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4177), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI2, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4177), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, szVarOrChanged,VT_UI2,VT_R8); | |
39172 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4178), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_R8, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4178), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_UI2,VT_R8); | |
39173 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4179), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4179), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_UI2,VT_R8); | |
39174 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4180), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI2, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4180), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_UI2,VT_DATE); | |
39175 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4181), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_DATE, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4181), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_UI2,VT_DATE); | |
39176 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4182), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4182), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_UI2,VT_DATE); | |
39177 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39178 | { | |
39179 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4185), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_UI2, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4185), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_UI2,VT_I8); | |
39180 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4186), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (65535), szVarOrFail, VT_UI2, VT_I8, VT_I8, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4186), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_UI2,VT_I8); | |
39181 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4187), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_UI2, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4187), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_UI2,VT_I8); | |
39182 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4188), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_UI8, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4188), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_UI2,VT_UI8); | |
39183 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4189), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4189), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_UI2,VT_UI8); | |
39184 | } | |
39185 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4191), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI2, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4191), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_UI2,VT_INT); | |
39186 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4192), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_INT, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4192), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_UI2,VT_INT); | |
39187 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4193), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4193), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_UI2,VT_INT); | |
39188 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4194), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI2, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4194), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_UI2,VT_UINT); | |
39189 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4195), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_UINT, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4195), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UI2,VT_UINT); | |
39190 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4196), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4196), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UI2,VT_UINT); | |
39191 | rbstr = SysAllocString(szFalse); | |
39192 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4198), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI2, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4198), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI2,VT_BSTR); | |
39193 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4199), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarOrFail, VT_UI2, VT_BSTR, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4199), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI2,VT_BSTR); | |
39194 | rbstr = SysAllocString(szTrue); | |
39195 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4201), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI2, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4201), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI2,VT_BSTR); | |
39196 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4202), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI2, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4202), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI2,VT_BSTR); | |
39197 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4203), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI2, VT_CY, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4203), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_UI2,VT_CY); | |
39198 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4204), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI2, VT_CY, VT_I4, (int)(65535), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4204), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 65535 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UI2,VT_CY); | |
39199 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4205), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI2, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4205), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI2 && ((&left)->n1.n2.n3.uiVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UI2,VT_CY); | |
39200 | ||
39201 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4207), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4207), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == -1, szVarOrChanged,VT_I4,VT_I4); | |
39202 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4208), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_I4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4208), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_I4,VT_I4); | |
39203 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4209), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I4, VT_I4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4209), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I4 && ((&right)->n1.n2.n3.lVal) == 0, szVarOrChanged,VT_I4,VT_I4); | |
39204 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4210), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4210), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, szVarOrChanged,VT_I4,VT_UI4); | |
39205 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4211), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4211), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_I4,VT_UI4); | |
39206 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4212), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I4, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4212), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_I4,VT_UI4); | |
39207 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4213), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4213), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, szVarOrChanged,VT_I4,VT_R4); | |
39208 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4214), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4214), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_I4,VT_R4); | |
39209 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4215), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I4, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4215), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_I4,VT_R4); | |
39210 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4216), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4216), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, szVarOrChanged,VT_I4,VT_R8); | |
39211 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4217), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4217), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_I4,VT_R8); | |
39212 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4218), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I4, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4218), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_I4,VT_R8); | |
39213 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4219), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4219), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_I4,VT_DATE); | |
39214 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4220), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4220), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_I4,VT_DATE); | |
39215 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4221), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I4, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4221), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_I4,VT_DATE); | |
39216 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39217 | { | |
39218 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4224), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I4, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4224), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_I4,VT_I8); | |
39219 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4225), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I4, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4225), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_I4,VT_I8); | |
39220 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4226), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_I4, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4226), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_I4,VT_I8); | |
39221 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4227), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4227), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_I4,VT_UI8); | |
39222 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4228), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I4, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4228), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_I4,VT_UI8); | |
39223 | } | |
39224 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4230), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4230), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_I4,VT_INT); | |
39225 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4231), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4231), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_I4,VT_INT); | |
39226 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4232), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I4, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4232), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_I4,VT_INT); | |
39227 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4233), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4233), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_I4,VT_UINT); | |
39228 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4234), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4234), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_I4,VT_UINT); | |
39229 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4235), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I4, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4235), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_I4,VT_UINT); | |
39230 | rbstr = SysAllocString(szFalse); | |
39231 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4237), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_I4, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4237), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I4,VT_BSTR); | |
39232 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4238), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4238), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I4,VT_BSTR); | |
39233 | rbstr = SysAllocString(szTrue); | |
39234 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4240), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4240), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I4,VT_BSTR); | |
39235 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4241), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_I4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4241), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I4,VT_BSTR); | |
39236 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4242), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I4, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4242), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_I4,VT_CY); | |
39237 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4243), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I4, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4243), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_I4,VT_CY); | |
39238 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4244), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I4, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4244), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I4 && ((&left)->n1.n2.n3.lVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_I4,VT_CY); | |
39239 | ||
39240 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4246), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4246), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0xffffffff, szVarOrChanged,VT_UI4,VT_UI4); | |
39241 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4247), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_UI4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4247), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_UI4,VT_UI4); | |
39242 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4248), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI4, VT_UI4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4248), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_UI4 && ((&right)->n1.n2.n3.ulVal) == 0, szVarOrChanged,VT_UI4,VT_UI4); | |
39243 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4249), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4249), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, szVarOrChanged,VT_UI4,VT_R4); | |
39244 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4250), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4250), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_UI4,VT_R4); | |
39245 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4251), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI4, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4251), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_UI4,VT_R4); | |
39246 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4252), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4252), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, szVarOrChanged,VT_UI4,VT_R8); | |
39247 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4253), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4253), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_UI4,VT_R8); | |
39248 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4254), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI4, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4254), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_UI4,VT_R8); | |
39249 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4255), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4255), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_UI4,VT_DATE); | |
39250 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4256), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4256), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_UI4,VT_DATE); | |
39251 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4257), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI4, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4257), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_UI4,VT_DATE); | |
39252 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39253 | { | |
39254 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4260), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_UI4, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4260), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_UI4,VT_I8); | |
39255 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4261), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0xffffffff), szVarOrFail, VT_UI4, VT_I8, VT_I8, (int)(0xffffffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4261), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_UI4,VT_I8); | |
39256 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4262), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_UI4, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4262), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_UI4,VT_I8); | |
39257 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4263), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4263), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_UI4,VT_UI8); | |
39258 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4264), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI4, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4264), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_UI4,VT_UI8); | |
39259 | } | |
39260 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4266), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4266), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_UI4,VT_INT); | |
39261 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4267), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4267), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_UI4,VT_INT); | |
39262 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4268), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI4, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4268), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_UI4,VT_INT); | |
39263 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4269), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4269), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_UI4,VT_UINT); | |
39264 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4270), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4270), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UI4,VT_UINT); | |
39265 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4271), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI4, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4271), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UI4,VT_UINT); | |
39266 | rbstr = SysAllocString(szFalse); | |
39267 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4273), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI4, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4273), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI4,VT_BSTR); | |
39268 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4274), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4274), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI4,VT_BSTR); | |
39269 | rbstr = SysAllocString(szTrue); | |
39270 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4276), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4276), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI4,VT_BSTR); | |
39271 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4277), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4277), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI4,VT_BSTR); | |
39272 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4278), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI4, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4278), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_UI4,VT_CY); | |
39273 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4279), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI4, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4279), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0xffffffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UI4,VT_CY); | |
39274 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4280), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI4, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4280), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI4 && ((&left)->n1.n2.n3.ulVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UI4,VT_CY); | |
39275 | ||
39276 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4282), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4282), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == -1, szVarOrChanged,VT_R4,VT_R4); | |
39277 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4283), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_R4, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4283), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_R4,VT_R4); | |
39278 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4284), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R4, VT_R4, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4284), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_R4 && ((&right)->n1.n2.n3.fltVal) == 0, szVarOrChanged,VT_R4,VT_R4); | |
39279 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4285), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4285), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, szVarOrChanged,VT_R4,VT_R8); | |
39280 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4286), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4286), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_R4,VT_R8); | |
39281 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4287), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R4, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4287), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_R4,VT_R8); | |
39282 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4288), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4288), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_R4,VT_DATE); | |
39283 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4289), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4289), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_R4,VT_DATE); | |
39284 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4290), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R4, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4290), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_R4,VT_DATE); | |
39285 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39286 | { | |
39287 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4293), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_R4, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4293), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_R4,VT_I8); | |
39288 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4294), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_R4, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4294), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_R4,VT_I8); | |
39289 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4295), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_R4, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4295), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_R4,VT_I8); | |
39290 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4296), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4296), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_R4,VT_UI8); | |
39291 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4297), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R4, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4297), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_R4,VT_UI8); | |
39292 | } | |
39293 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4299), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4299), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_R4,VT_INT); | |
39294 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4300), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4300), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_R4,VT_INT); | |
39295 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4301), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R4, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4301), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_R4,VT_INT); | |
39296 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4302), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4302), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_R4,VT_UINT); | |
39297 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4303), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4303), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_R4,VT_UINT); | |
39298 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4304), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R4, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4304), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_R4,VT_UINT); | |
39299 | rbstr = SysAllocString(szFalse); | |
39300 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4306), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R4, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4306), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_R4,VT_BSTR); | |
39301 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4307), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4307), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_R4,VT_BSTR); | |
39302 | rbstr = SysAllocString(szTrue); | |
39303 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4309), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4309), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_R4,VT_BSTR); | |
39304 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4310), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R4, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4310), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_R4,VT_BSTR); | |
39305 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4311), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R4, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4311), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_R4,VT_CY); | |
39306 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4312), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R4, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4312), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_R4,VT_CY); | |
39307 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4313), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R4, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4313), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R4 && ((&left)->n1.n2.n3.fltVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_R4,VT_CY); | |
39308 | ||
39309 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4315), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4315), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == -1, szVarOrChanged,VT_R8,VT_R8); | |
39310 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4316), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_R8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4316), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_R8,VT_R8); | |
39311 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4317), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R8, VT_R8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4317), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_R8 && ((&right)->n1.n2.n3.dblVal) == 0, szVarOrChanged,VT_R8,VT_R8); | |
39312 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4318), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4318), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_R8,VT_DATE); | |
39313 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4319), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4319), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_R8,VT_DATE); | |
39314 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4320), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R8, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4320), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_R8,VT_DATE); | |
39315 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39316 | { | |
39317 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4323), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_R8, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4323), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_R8,VT_I8); | |
39318 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4324), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_R8, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4324), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_R8,VT_I8); | |
39319 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4325), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_R8, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4325), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_R8,VT_I8); | |
39320 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4326), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4326), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_R8,VT_UI8); | |
39321 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4327), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R8, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4327), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_R8,VT_UI8); | |
39322 | } | |
39323 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4329), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4329), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_R8,VT_INT); | |
39324 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4330), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4330), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_R8,VT_INT); | |
39325 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4331), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R8, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4331), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_R8,VT_INT); | |
39326 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4332), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4332), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_R8,VT_UINT); | |
39327 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4333), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4333), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_R8,VT_UINT); | |
39328 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4334), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R8, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4334), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_R8,VT_UINT); | |
39329 | rbstr = SysAllocString(szFalse); | |
39330 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4336), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_R8, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4336), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_R8,VT_BSTR); | |
39331 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4337), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4337), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_R8,VT_BSTR); | |
39332 | rbstr = SysAllocString(szTrue); | |
39333 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4339), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4339), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_R8,VT_BSTR); | |
39334 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4340), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_R8, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4340), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_R8,VT_BSTR); | |
39335 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4341), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R8, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4341), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_R8,VT_CY); | |
39336 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4342), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R8, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4342), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_R8,VT_CY); | |
39337 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4343), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_R8, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4343), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_R8 && ((&left)->n1.n2.n3.dblVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_R8,VT_CY); | |
39338 | ||
39339 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4345), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4345), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == -1, szVarOrChanged,VT_DATE,VT_DATE); | |
39340 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4346), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_DATE, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4346), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_DATE,VT_DATE); | |
39341 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4347), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_DATE, VT_DATE, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4347), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_DATE && ((&right)->n1.n2.n3.date) == 0, szVarOrChanged,VT_DATE,VT_DATE); | |
39342 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39343 | { | |
39344 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4350), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_DATE, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4350), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_DATE,VT_I8); | |
39345 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4351), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_DATE, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4351), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_DATE,VT_I8); | |
39346 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4352), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_DATE, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4352), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_DATE,VT_I8); | |
39347 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4353), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4353), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_DATE,VT_UI8); | |
39348 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4354), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_DATE, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4354), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_DATE,VT_UI8); | |
39349 | } | |
39350 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4356), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4356), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_DATE,VT_INT); | |
39351 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4357), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4357), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_DATE,VT_INT); | |
39352 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4358), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_DATE, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4358), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_DATE,VT_INT); | |
39353 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4359), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4359), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_DATE,VT_UINT); | |
39354 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4360), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4360), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_DATE,VT_UINT); | |
39355 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4361), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_DATE, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4361), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_DATE,VT_UINT); | |
39356 | rbstr = SysAllocString(szFalse); | |
39357 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4363), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_DATE, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4363), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_DATE,VT_BSTR); | |
39358 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4364), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4364), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_DATE,VT_BSTR); | |
39359 | rbstr = SysAllocString(szTrue); | |
39360 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4366), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4366), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_DATE,VT_BSTR); | |
39361 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4367), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_DATE, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4367), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_DATE,VT_BSTR); | |
39362 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4368), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_DATE, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4368), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_DATE,VT_CY); | |
39363 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4369), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_DATE, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4369), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_DATE,VT_CY); | |
39364 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4370), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_DATE, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4370), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_DATE && ((&left)->n1.n2.n3.date) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_DATE,VT_CY); | |
39365 | ||
39366 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39367 | { | |
39368 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4374), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I8, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4374), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == -1, szVarOrChanged,VT_I8,VT_I8); | |
39369 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4375), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I8, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4375), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_I8,VT_I8); | |
39370 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4376), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_I8, VT_I8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4376), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_I8 && ((&right)->n1.n2.n3.llVal) == 0, szVarOrChanged,VT_I8,VT_I8); | |
39371 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4377), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I8, VT_UI8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4377), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_I8,VT_UI8); | |
39372 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4378), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_I8, VT_UI8, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4378), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_I8,VT_UI8); | |
39373 | ||
39374 | ||
39375 | ||
39376 | ||
39377 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4383), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I8, VT_UINT, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4383), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffffffff, szVarOrChanged,VT_I8,VT_UINT); | |
39378 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4384), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I8, VT_UINT, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4384), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_I8,VT_UINT); | |
39379 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4385), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_I8, VT_UINT, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4385), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_I8,VT_UINT); | |
39380 | rbstr = SysAllocString(szFalse); | |
39381 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4387), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarOrFail, VT_I8, VT_BSTR, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4387), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I8,VT_BSTR); | |
39382 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4388), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I8, VT_BSTR, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4388), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I8,VT_BSTR); | |
39383 | rbstr = SysAllocString(szTrue); | |
39384 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4390), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I8, VT_BSTR, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4390), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I8,VT_BSTR); | |
39385 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4391), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarOrFail, VT_I8, VT_BSTR, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4391), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_I8,VT_BSTR); | |
39386 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4392), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I8, VT_CY, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4392), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_I8,VT_CY); | |
39387 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4393), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I8, VT_CY, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4393), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_I8,VT_CY); | |
39388 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4394), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_I8, VT_CY, VT_I8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); (winetest_set_location("vartest.c", 4394), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_I8 && ((&left)->n1.n2.n3.llVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_I8,VT_CY); | |
39389 | ||
39390 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4396), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarOrFail, VT_UI8, VT_UI8, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4396), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0xffff, szVarOrChanged,VT_UI8,VT_UI8); | |
39391 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4397), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarOrFail, VT_UI8, VT_UI8, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4397), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_UI8,VT_UI8); | |
39392 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4398), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI8, VT_UI8, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4398), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_UI8 && ((&right)->n1.n2.n3.ullVal) == 0, szVarOrChanged,VT_UI8,VT_UI8); | |
39393 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4399), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI8, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4399), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_UI8,VT_INT); | |
39394 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4400), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarOrFail, VT_UI8, VT_INT, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4400), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_UI8,VT_INT); | |
39395 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4401), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI8, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4401), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_UI8,VT_INT); | |
39396 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4402), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarOrFail, VT_UI8, VT_UINT, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4402), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffff, szVarOrChanged,VT_UI8,VT_UINT); | |
39397 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4403), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarOrFail, VT_UI8, VT_UINT, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4403), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UI8,VT_UINT); | |
39398 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4404), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI8, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4404), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UI8,VT_UINT); | |
39399 | rbstr = SysAllocString(szFalse); | |
39400 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4406), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UI8, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4406), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI8,VT_BSTR); | |
39401 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4407), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarOrFail, VT_UI8, VT_BSTR, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4407), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI8,VT_BSTR); | |
39402 | rbstr = SysAllocString(szTrue); | |
39403 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4409), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI8, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4409), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI8,VT_BSTR); | |
39404 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4410), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UI8, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4410), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UI8,VT_BSTR); | |
39405 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4411), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI8, VT_CY, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4411), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_UI8,VT_CY); | |
39406 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4412), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI8, VT_CY, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4412), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0xffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UI8,VT_CY); | |
39407 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4413), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UI8, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4413), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UI8 && ((&left)->n1.n2.n3.ullVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UI8,VT_CY); | |
39408 | } | |
39409 | ||
39410 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4416), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_INT, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4416), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == -1, szVarOrChanged,VT_INT,VT_INT); | |
39411 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4417), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_INT, VT_INT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4417), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_INT,VT_INT); | |
39412 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4418), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_INT, VT_INT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4418), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_INT && ((&right)->n1.n2.n3.intVal) == 0, szVarOrChanged,VT_INT,VT_INT); | |
39413 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4419), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_INT, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4419), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffff, szVarOrChanged,VT_INT,VT_UINT); | |
39414 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4420), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_INT, VT_UINT, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4420), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_INT,VT_UINT); | |
39415 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4421), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_INT, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4421), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_INT,VT_UINT); | |
39416 | rbstr = SysAllocString(szFalse); | |
39417 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4423), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_INT, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4423), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_INT,VT_BSTR); | |
39418 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4424), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_INT, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4424), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_INT,VT_BSTR); | |
39419 | rbstr = SysAllocString(szTrue); | |
39420 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4426), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_INT, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4426), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_INT,VT_BSTR); | |
39421 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4427), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_INT, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4427), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_INT,VT_BSTR); | |
39422 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4428), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_INT, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4428), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_INT,VT_CY); | |
39423 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4429), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_INT, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4429), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == -1 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_INT,VT_CY); | |
39424 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4430), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_INT, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4430), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_INT && ((&left)->n1.n2.n3.intVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_INT,VT_CY); | |
39425 | ||
39426 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4432), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarOrFail, VT_UINT, VT_UINT, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4432), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0xffff, szVarOrChanged,VT_UINT,VT_UINT); | |
39427 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4433), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarOrFail, VT_UINT, VT_UINT, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4433), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UINT,VT_UINT); | |
39428 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4434), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UINT, VT_UINT, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4434), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0 && ((&right)->n1.n2.vt) == VT_UINT && ((&right)->n1.n2.n3.uintVal) == 0, szVarOrChanged,VT_UINT,VT_UINT); | |
39429 | rbstr = SysAllocString(szFalse); | |
39430 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4436), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarOrFail, VT_UINT, VT_BSTR, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4436), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UINT,VT_BSTR); | |
39431 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4437), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarOrFail, VT_UINT, VT_BSTR, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4437), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UINT,VT_BSTR); | |
39432 | rbstr = SysAllocString(szTrue); | |
39433 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4439), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UINT, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4439), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0 && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UINT,VT_BSTR); | |
39434 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4440), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarOrFail, VT_UINT, VT_BSTR, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4440), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_UINT,VT_BSTR); | |
39435 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4441), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UINT, VT_CY, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4441), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_UINT,VT_CY); | |
39436 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4442), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UINT, VT_CY, VT_I4, (int)(0xffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4442), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0xffff && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UINT,VT_CY); | |
39437 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4443), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_UINT, VT_CY, VT_I4, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4443), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_UINT && ((&left)->n1.n2.n3.uintVal) == 0 && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 0, "VarOr(%d,%d): Modified input arguments\n",VT_UINT,VT_CY); | |
39438 | ||
39439 | lbstr = SysAllocString(szFalse); | |
39440 | rbstr = SysAllocString(szFalse); | |
39441 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4447), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (0), szVarOrFail, VT_BSTR, VT_BSTR, VT_BOOL, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 4447), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_BSTR,VT_BSTR); | |
39442 | rbstr = SysAllocString(szTrue); | |
39443 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4449), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarOrFail, VT_BSTR, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 4449), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_BSTR,VT_BSTR); | |
39444 | lbstr = SysAllocString(szTrue); | |
39445 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4451), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarOrFail, VT_BSTR, VT_BSTR, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); (winetest_set_location("vartest.c", 4451), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_BSTR && ((&right)->n1.n2.n3.bstrVal) == rbstr, szVarOrChanged,VT_BSTR,VT_BSTR); | |
39446 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4452), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BSTR, VT_CY, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4452), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_BSTR,VT_CY); | |
39447 | lbstr = SysAllocString(szFalse); | |
39448 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarOr(&left,&right,&result); (winetest_set_location("vartest.c", 4454), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), "VarOr(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n", VT_BSTR, VT_CY, VT_I4, (int)(1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); (winetest_set_location("vartest.c", 4454), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) == VT_BSTR && ((&left)->n1.n2.n3.bstrVal) == lbstr && ((&right)->n1.n2.vt) == VT_CY && ((&right)->n1.n2.n3.cyVal).int64 == 10000, "VarOr(%d,%d): Modified input arguments\n",VT_BSTR,VT_CY); | |
39449 | } | |
39450 | ||
39451 | static HRESULT (__attribute__((__stdcall__)) *pVarEqv)(LPVARIANT,LPVARIANT,LPVARIANT); | |
39452 | ||
39453 | static const char *szVarEqvFail = "VarEqv(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
39454 | # 4468 "vartest.c" | |
39455 | static void test_VarEqv(void) | |
39456 | { | |
39457 | VARIANT left, right, result; | |
39458 | VARTYPE i; | |
39459 | HRESULT hres; | |
39460 | ||
39461 | pVarEqv = (void*)GetProcAddress(hOleaut32, "VarEqv"); if (!pVarEqv) { (winetest_set_location("vartest.c", 4474), 0) ? (void)0 : winetest_trace("function " "VarEqv" " not available, not testing it\n"); return; }; | |
39462 | ||
39463 | ||
39464 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
39465 | { | |
39466 | VARTYPE leftvt, rightvt, resvt; | |
39467 | ||
39468 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
39469 | { | |
39470 | if((leftvt > VT_CLSID+10) && (leftvt < VT_BSTR_BLOB-10)) continue;; | |
39471 | ||
39472 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
39473 | { | |
39474 | BOOL bFail = 0; | |
39475 | ||
39476 | if((rightvt > VT_CLSID+10) && (rightvt < VT_BSTR_BLOB-10)) continue;; | |
39477 | ||
39478 | if (leftvt == VT_BSTR || rightvt == VT_BSTR || | |
39479 | leftvt == VT_DISPATCH || rightvt == VT_DISPATCH || | |
39480 | leftvt == VT_UNKNOWN || rightvt == VT_UNKNOWN) | |
39481 | continue; | |
39482 | ||
39483 | memset(&left, 0, sizeof(left)); | |
39484 | memset(&right, 0, sizeof(right)); | |
39485 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
39486 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
39487 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
39488 | resvt = VT_I4; | |
39489 | ||
39490 | if (ExtraFlags[i] & VT_ARRAY || ExtraFlags[i] & VT_BYREF || | |
39491 | !IsValidVariantClearVT(leftvt, ExtraFlags[i]) || | |
39492 | !IsValidVariantClearVT(rightvt, ExtraFlags[i]) || | |
39493 | leftvt == VT_CLSID || rightvt == VT_CLSID || | |
39494 | leftvt == VT_RECORD || rightvt == VT_RECORD || | |
39495 | leftvt == VT_VARIANT || rightvt == VT_VARIANT || | |
39496 | leftvt == VT_ERROR || rightvt == VT_ERROR) | |
39497 | { | |
39498 | bFail = 1; | |
39499 | } | |
39500 | if (leftvt == VT_EMPTY || rightvt == VT_EMPTY) | |
39501 | { | |
39502 | if (leftvt == rightvt || | |
39503 | leftvt == VT_I2 || rightvt == VT_I2 || | |
39504 | leftvt == VT_UI1 || rightvt == VT_UI1 || | |
39505 | leftvt == VT_BOOL || rightvt == VT_BOOL) | |
39506 | resvt = VT_I2; | |
39507 | else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
39508 | resvt = VT_NULL; | |
39509 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
39510 | resvt = VT_I8; | |
39511 | } | |
39512 | else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
39513 | { | |
39514 | resvt = VT_NULL; | |
39515 | } | |
39516 | else if (leftvt == VT_UI1 || rightvt == VT_UI1) | |
39517 | { | |
39518 | if (leftvt == rightvt) | |
39519 | resvt = VT_UI1; | |
39520 | else if (leftvt == rightvt || | |
39521 | leftvt == VT_I2 || rightvt == VT_I2 || | |
39522 | leftvt == VT_BOOL || rightvt == VT_BOOL) | |
39523 | { | |
39524 | resvt = VT_I2; | |
39525 | } | |
39526 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
39527 | resvt = VT_I8; | |
39528 | } | |
39529 | else if (leftvt == VT_I2 || rightvt == VT_I2) | |
39530 | { | |
39531 | if (leftvt == rightvt || | |
39532 | leftvt == VT_BOOL || rightvt == VT_BOOL) | |
39533 | resvt = VT_I2; | |
39534 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
39535 | resvt = VT_I8; | |
39536 | } | |
39537 | else if (leftvt == VT_BOOL && rightvt == VT_BOOL) | |
39538 | { | |
39539 | resvt = VT_BOOL; | |
39540 | } | |
39541 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
39542 | { | |
39543 | if (leftvt == VT_INT || rightvt == VT_INT) | |
39544 | bFail = 1; | |
39545 | else | |
39546 | resvt = VT_I8; | |
39547 | } | |
39548 | hres = pVarEqv(&left, &right, &result); | |
39549 | if (bFail) | |
39550 | (winetest_set_location("vartest.c", 4563), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) || hres == ((HRESULT)0x80020008L), | |
39551 | "VarEqv: %d|0x%X, %d|0x%X: Expected failure, got 0x%lX vt %d\n", | |
39552 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], hres, | |
39553 | ((&result)->n1.n2.vt)); | |
39554 | else | |
39555 | (winetest_set_location("vartest.c", 4568), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == resvt, | |
39556 | "VarEqv: %d|0x%X, %d|0x%X: expected S_OK, vt %d, got 0x%lX vt %d\n", | |
39557 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], resvt, hres, | |
39558 | ((&result)->n1.n2.vt)); | |
39559 | } | |
39560 | } | |
39561 | } | |
39562 | ||
39563 | ||
39564 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4577), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarEqvFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); | |
39565 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4578), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarEqvFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0x0000)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); | |
39566 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = 1; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4579), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarEqvFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); | |
39567 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4580), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarEqvFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); | |
39568 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = 1; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4581), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (-2), szVarEqvFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); | |
39569 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4582), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (-2), szVarEqvFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); | |
39570 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = 6; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 7; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4583), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (-2), szVarEqvFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); | |
39571 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = 6; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 6; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4584), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarEqvFail, VT_BOOL, VT_BOOL, VT_BOOL, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.boolVal)); | |
39572 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4585), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (((VARIANT_BOOL)0xFFFF)), szVarEqvFail, VT_BOOL, VT_I2, VT_I2, (int)(((VARIANT_BOOL)0xFFFF)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); | |
39573 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4586), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (((VARIANT_BOOL)0x0000)), szVarEqvFail, VT_BOOL, VT_I2, VT_I2, (int)(((VARIANT_BOOL)0x0000)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); | |
39574 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = 6; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 7; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4587), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-2), szVarEqvFail, VT_BOOL, VT_I2, VT_I2, (int)(-2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); | |
39575 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4588), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (255), szVarEqvFail, VT_UI1, VT_UI1, VT_UI1, (int)(255), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); | |
39576 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4589), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (254), szVarEqvFail, VT_UI1, VT_UI1, VT_UI1, (int)(254), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); | |
39577 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4590), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (254), szVarEqvFail, VT_UI1, VT_UI1, VT_UI1, (int)(254), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.bVal)); | |
39578 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
39579 | { | |
39580 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4593), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarEqvFail, VT_UI4, VT_I8, VT_I8, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); | |
39581 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 5; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 19; memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4594), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-23), szVarEqvFail, VT_UI4, VT_I8, VT_I8, (int)(-23), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.llVal)); | |
39582 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarEqv(&left,&right,&result); (winetest_set_location("vartest.c", 4595), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarEqvFail, VT_UI4, VT_UI8, VT_I4, (int)(-1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); | |
39583 | } | |
39584 | } | |
39585 | ||
39586 | static HRESULT (__attribute__((__stdcall__)) *pVarMul)(LPVARIANT,LPVARIANT,LPVARIANT); | |
39587 | ||
39588 | static const char *szVarMulI4 = "VarMul(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
39589 | static const char *szVarMulR8 = "VarMul(%d,%d): expected 0x0,%d,%f, got 0x%lX,%d,%f\n"; | |
39590 | # 4618 "vartest.c" | |
39591 | static void test_VarMul(void) | |
39592 | { | |
39593 | static const WCHAR sz12[] = {'1','2','\0'}; | |
39594 | VARIANT left, right, result, cy, dec; | |
39595 | VARTYPE i; | |
39596 | BSTR lbstr, rbstr; | |
39597 | HRESULT hres; | |
39598 | double r; | |
39599 | ||
39600 | pVarMul = (void*)GetProcAddress(hOleaut32, "VarMul"); if (!pVarMul) { (winetest_set_location("vartest.c", 4627), 0) ? (void)0 : winetest_trace("function " "VarMul" " not available, not testing it\n"); return; }; | |
39601 | ||
39602 | lbstr = SysAllocString(sz12); | |
39603 | rbstr = SysAllocString(sz12); | |
39604 | ||
39605 | ||
39606 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
39607 | { | |
39608 | VARTYPE leftvt, rightvt, resvt; | |
39609 | ||
39610 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
39611 | { | |
39612 | ||
39613 | if((leftvt > VT_CLSID+10) && (leftvt < VT_BSTR_BLOB-10)) continue;; | |
39614 | ||
39615 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
39616 | { | |
39617 | BOOL bFail = 0; | |
39618 | ||
39619 | if((rightvt > VT_CLSID+10) && (rightvt < VT_BSTR_BLOB-10)) continue;; | |
39620 | ||
39621 | if (leftvt == VT_DISPATCH || rightvt == VT_DISPATCH || | |
39622 | leftvt == VT_UNKNOWN || rightvt == VT_UNKNOWN) | |
39623 | continue; | |
39624 | ||
39625 | memset(&left, 0, sizeof(left)); | |
39626 | memset(&right, 0, sizeof(right)); | |
39627 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
39628 | if (leftvt == VT_BSTR) | |
39629 | ((&left)->n1.n2.n3.bstrVal) = lbstr; | |
39630 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
39631 | if (rightvt == VT_BSTR) | |
39632 | ((&right)->n1.n2.n3.bstrVal) = rbstr; | |
39633 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
39634 | resvt = VT_UNKNOWN; | |
39635 | ||
39636 | ||
39637 | ||
39638 | ||
39639 | if (ExtraFlags[i] & VT_ARRAY || ExtraFlags[i] & VT_BYREF || | |
39640 | !IsValidVariantClearVT(leftvt, ExtraFlags[i]) || | |
39641 | !IsValidVariantClearVT(rightvt, ExtraFlags[i]) || | |
39642 | leftvt == VT_CLSID || rightvt == VT_CLSID || | |
39643 | leftvt == VT_RECORD || rightvt == VT_RECORD || | |
39644 | leftvt == VT_VARIANT || rightvt == VT_VARIANT || | |
39645 | leftvt == VT_ERROR || rightvt == VT_ERROR || | |
39646 | leftvt == VT_I1 || rightvt == VT_I1 || | |
39647 | leftvt == VT_UI2 || rightvt == VT_UI2 || | |
39648 | leftvt == VT_UI4 || rightvt == VT_UI4 || | |
39649 | leftvt == VT_UI8 || rightvt == VT_UI8 || | |
39650 | leftvt == VT_INT || rightvt == VT_INT || | |
39651 | leftvt == VT_UINT || rightvt == VT_UINT) { | |
39652 | bFail = 1; | |
39653 | } | |
39654 | ||
39655 | if (leftvt == VT_NULL || rightvt == VT_NULL) | |
39656 | resvt = VT_NULL; | |
39657 | else if (leftvt == VT_DECIMAL || rightvt == VT_DECIMAL) | |
39658 | resvt = VT_DECIMAL; | |
39659 | else if (leftvt == VT_R8 || rightvt == VT_R8 || | |
39660 | leftvt == VT_BSTR || rightvt == VT_BSTR || | |
39661 | leftvt == VT_DATE || rightvt == VT_DATE) | |
39662 | resvt = VT_R8; | |
39663 | else if (leftvt == VT_R4 || rightvt == VT_R4) { | |
39664 | if (leftvt == VT_I4 || rightvt == VT_I4 || | |
39665 | leftvt == VT_I8 || rightvt == VT_I8 || | |
39666 | leftvt == VT_CY || rightvt == VT_CY) | |
39667 | resvt = VT_R8; | |
39668 | else | |
39669 | resvt = VT_R4; | |
39670 | } else if (leftvt == VT_CY || rightvt == VT_CY) | |
39671 | resvt = VT_CY; | |
39672 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
39673 | resvt = VT_I8; | |
39674 | else if (leftvt == VT_I4 || rightvt == VT_I4) | |
39675 | resvt = VT_I4; | |
39676 | else if (leftvt == VT_I2 || rightvt == VT_I2 || | |
39677 | leftvt == VT_BOOL || rightvt == VT_BOOL || | |
39678 | (leftvt == VT_EMPTY && rightvt == VT_EMPTY)) | |
39679 | resvt = VT_I2; | |
39680 | else if (leftvt == VT_UI1 || rightvt == VT_UI1) | |
39681 | resvt = VT_UI1; | |
39682 | ||
39683 | hres = pVarMul(&left, &right, &result); | |
39684 | if (bFail) { | |
39685 | (winetest_set_location("vartest.c", 4712), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) || hres == ((HRESULT)0x80020008L), | |
39686 | "VarMul: %d|0x%X, %d|0x%X: Expected failure, got 0x%lX vt %d\n", | |
39687 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], hres, | |
39688 | ((&result)->n1.n2.vt)); | |
39689 | } else { | |
39690 | (winetest_set_location("vartest.c", 4717), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == resvt, | |
39691 | "VarMul: %d|0x%X, %d|0x%X: expected S_OK, vt %d, got 0x%lX vt %d\n", | |
39692 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], resvt, hres, | |
39693 | ((&result)->n1.n2.vt)); | |
39694 | } | |
39695 | } | |
39696 | } | |
39697 | } | |
39698 | ||
39699 | ||
39700 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 4; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8) { (winetest_set_location("vartest.c", 4727), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(8))<1e-7), szVarMulR8, VT_I4, VT_I4, VT_I4, (double)(8), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4727), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (8), szVarMulI4, VT_I4, VT_I4, VT_I4, (int)(8), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39701 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 4; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_I2 == VT_R4 || VT_I2 == VT_R8) { (winetest_set_location("vartest.c", 4728), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && (fabs((((&result)->n1.n2.n3.iVal))-(8))<1e-7), szVarMulR8, VT_I2, VT_I2, VT_I2, (double)(8), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.iVal)); } else { (winetest_set_location("vartest.c", 4728), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (8), szVarMulI4, VT_I2, VT_I2, VT_I2, (int)(8), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); }; | |
39702 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -13; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 5; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8) { (winetest_set_location("vartest.c", 4729), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(-65))<1e-7), szVarMulR8, VT_I2, VT_I4, VT_I4, (double)(-65), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4729), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65), szVarMulI4, VT_I2, VT_I4, VT_I4, (int)(-65), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39703 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -13; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 5; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8) { (winetest_set_location("vartest.c", 4730), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(-65))<1e-7), szVarMulR8, VT_I4, VT_I4, VT_I4, (double)(-65), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4730), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-65), szVarMulI4, VT_I4, VT_I4, VT_I4, (int)(-65), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39704 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 7; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0.5; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8) { (winetest_set_location("vartest.c", 4731), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(3.5))<1e-7), szVarMulR8, VT_I2, VT_R4, VT_R4, (double)(3.5), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 4731), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (3.5), szVarMulI4, VT_I2, VT_R4, VT_R4, (int)(3.5), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
39705 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0.5; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 5; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4732), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(2.5))<1e-7), szVarMulR8, VT_R4, VT_I4, VT_R8, (double)(2.5), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4732), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (2.5), szVarMulI4, VT_R4, VT_I4, VT_R8, (int)(2.5), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39706 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 7.1; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4733), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(0))<1e-7), szVarMulR8, VT_R8, VT_BOOL, VT_R8, (double)(0), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4733), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (0), szVarMulI4, VT_R8, VT_BOOL, VT_R8, (int)(0), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39707 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 4; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4734), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(48))<1e-7), szVarMulR8, VT_BSTR, VT_I2, VT_R8, (double)(48), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4734), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (48), szVarMulI4, VT_BSTR, VT_I2, VT_R8, (int)(48), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39708 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4735), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(12))<1e-7), szVarMulR8, VT_BSTR, VT_BOOL, VT_R8, (double)(12), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4735), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (12), szVarMulI4, VT_BSTR, VT_BOOL, VT_R8, (int)(12), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39709 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0.1; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4736), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(1.2))<1e-7), szVarMulR8, VT_BSTR, VT_R4, VT_R8, (double)(1.2), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4736), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (1.2), szVarMulI4, VT_BSTR, VT_R4, VT_R8, (int)(1.2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39710 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4737), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(144))<1e-7), szVarMulR8, VT_BSTR, VT_BSTR, VT_R8, (double)(144), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4737), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (144), szVarMulI4, VT_BSTR, VT_BSTR, VT_R8, (int)(144), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39711 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0.2; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4738), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(2.4))<1e-7), szVarMulR8, VT_R4, VT_BSTR, VT_R8, (double)(2.4), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4738), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (2.4), szVarMulI4, VT_R4, VT_BSTR, VT_R8, (int)(2.4), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39712 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 2.25; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 7; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4739), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(15.75))<1e-7), szVarMulR8, VT_DATE, VT_I4, VT_R8, (double)(15.75), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4739), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (15.75), szVarMulI4, VT_DATE, VT_I4, VT_R8, (int)(15.75), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39713 | ||
39714 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0xff; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0xff; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8) { (winetest_set_location("vartest.c", 4741), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(0xff * 0xff))<1e-7), szVarMulR8, VT_UI1, VT_UI1, VT_I4, (double)(0xff * 0xff), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4741), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xff * 0xff), szVarMulI4, VT_UI1, VT_UI1, VT_I4, (int)(0xff * 0xff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39715 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0x7fff; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0x7fff; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8) { (winetest_set_location("vartest.c", 4742), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(0x7fff * 0x7fff))<1e-7), szVarMulR8, VT_I2, VT_I2, VT_I4, (double)(0x7fff * 0x7fff), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4742), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0x7fff * 0x7fff), szVarMulI4, VT_I2, VT_I2, VT_I4, (int)(0x7fff * 0x7fff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39716 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0x7fff; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = ((-0x7fff)-1); memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8) { (winetest_set_location("vartest.c", 4743), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(0x7fff * ((-0x7fff)-1)))<1e-7), szVarMulR8, VT_I2, VT_I2, VT_I4, (double)(0x7fff * ((-0x7fff)-1)), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4743), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0x7fff * ((-0x7fff)-1)), szVarMulI4, VT_I2, VT_I2, VT_I4, (int)(0x7fff * ((-0x7fff)-1)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39717 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = ((-0x7fff)-1); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = ((-0x7fff)-1); memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8) { (winetest_set_location("vartest.c", 4744), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(((-0x7fff)-1) * ((-0x7fff)-1)))<1e-7), szVarMulR8, VT_I2, VT_I2, VT_I4, (double)(((-0x7fff)-1) * ((-0x7fff)-1)), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4744), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (((-0x7fff)-1) * ((-0x7fff)-1)), szVarMulI4, VT_I2, VT_I2, VT_I4, (int)(((-0x7fff)-1) * ((-0x7fff)-1)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39718 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4745), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((double)0x7fffffff * 0x7fffffff))<1e-7), szVarMulR8, VT_I4, VT_I4, VT_R8, (double)((double)0x7fffffff * 0x7fffffff), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4745), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == ((double)0x7fffffff * 0x7fffffff), szVarMulI4, VT_I4, VT_I4, VT_R8, (int)((double)0x7fffffff * 0x7fffffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39719 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = ((-0x7fffffff)-1); memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4746), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((double)0x7fffffff * ((-0x7fffffff)-1)))<1e-7), szVarMulR8, VT_I4, VT_I4, VT_R8, (double)((double)0x7fffffff * ((-0x7fffffff)-1)), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4746), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == ((double)0x7fffffff * ((-0x7fffffff)-1)), szVarMulI4, VT_I4, VT_I4, VT_R8, (int)((double)0x7fffffff * ((-0x7fffffff)-1)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39720 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = ((-0x7fffffff)-1); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = ((-0x7fffffff)-1); memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4747), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((double)((-0x7fffffff)-1) * ((-0x7fffffff)-1)))<1e-7), szVarMulR8, VT_I4, VT_I4, VT_R8, (double)((double)((-0x7fffffff)-1) * ((-0x7fffffff)-1)), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4747), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == ((double)((-0x7fffffff)-1) * ((-0x7fffffff)-1)), szVarMulI4, VT_I4, VT_I4, VT_R8, (int)((double)((-0x7fffffff)-1) * ((-0x7fffffff)-1)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39721 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 3.40282347e+38F; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4748), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((double)3.40282347e+38F * 3.40282347e+38F))<1e-7), szVarMulR8, VT_R4, VT_R4, VT_R8, (double)((double)3.40282347e+38F * 3.40282347e+38F), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4748), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == ((double)3.40282347e+38F * 3.40282347e+38F), szVarMulI4, VT_R4, VT_R4, VT_R8, (int)((double)3.40282347e+38F * 3.40282347e+38F), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39722 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1.17549435e-38F; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8) { (winetest_set_location("vartest.c", 4749), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(3.40282347e+38F * 1.17549435e-38F))<1e-7), szVarMulR8, VT_R4, VT_R4, VT_R4, (double)(3.40282347e+38F * 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 4749), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (3.40282347e+38F * 1.17549435e-38F), szVarMulI4, VT_R4, VT_R4, VT_R4, (int)(3.40282347e+38F * 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
39723 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 1.17549435e-38F; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1.17549435e-38F; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8) { (winetest_set_location("vartest.c", 4750), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(1.17549435e-38F * 1.17549435e-38F))<1e-7), szVarMulR8, VT_R4, VT_R4, VT_R4, (double)(1.17549435e-38F * 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 4750), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (1.17549435e-38F * 1.17549435e-38F), szVarMulI4, VT_R4, VT_R4, VT_R4, (int)(1.17549435e-38F * 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
39724 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4751), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(1.7976931348623157e+308 * 2.2250738585072014e-308))<1e-7), szVarMulR8, VT_R8, VT_R8, VT_R8, (double)(1.7976931348623157e+308 * 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4751), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (1.7976931348623157e+308 * 2.2250738585072014e-308), szVarMulI4, VT_R8, VT_R8, VT_R8, (int)(1.7976931348623157e+308 * 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39725 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; memset(&result,0,sizeof(result)); hres = pVarMul(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8) { (winetest_set_location("vartest.c", 4752), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(2.2250738585072014e-308 * 2.2250738585072014e-308))<1e-7), szVarMulR8, VT_R8, VT_R8, VT_R8, (double)(2.2250738585072014e-308 * 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4752), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (2.2250738585072014e-308 * 2.2250738585072014e-308), szVarMulI4, VT_R8, VT_R8, VT_R8, (int)(2.2250738585072014e-308 * 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39726 | ||
39727 | ||
39728 | ((&cy)->n1.n2.vt) = VT_CY; | |
39729 | hres = VarCyFromI4(4711, &((&cy)->n1.n2.n3.cyVal)); | |
39730 | (winetest_set_location("vartest.c", 4757), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCyFromI4 failed!\n"); | |
39731 | ((&dec)->n1.n2.vt) = VT_DECIMAL; | |
39732 | hres = VarDecFromR8(-4.2, &((&dec)->n1.decVal)); | |
39733 | (winetest_set_location("vartest.c", 4760), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarDecFromR4 failed!\n"); | |
39734 | memset(&left, 0, sizeof(left)); | |
39735 | memset(&right, 0, sizeof(right)); | |
39736 | ((&left)->n1.n2.vt) = VT_I4; | |
39737 | ((&left)->n1.n2.n3.lVal) = -11; | |
39738 | ((&right)->n1.n2.vt) = VT_UI1; | |
39739 | ((&right)->n1.n2.n3.bVal) = 9; | |
39740 | ||
39741 | hres = VarMul(&cy, &right, &result); | |
39742 | (winetest_set_location("vartest.c", 4769), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_CY, "VarMul: expected coerced type VT_CY, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
39743 | hres = VarR8FromCy(((&result)->n1.n2.n3.cyVal), &r); | |
39744 | (winetest_set_location("vartest.c", 4771), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(42399))<1e-14), "VarMul: CY value %f, expected %f\n", r, (double)42399); | |
39745 | ||
39746 | hres = VarMul(&left, &dec, &result); | |
39747 | (winetest_set_location("vartest.c", 4774), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DECIMAL, "VarMul: expected coerced type VT_DECIMAL, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
39748 | hres = VarR8FromDec(&((&result)->n1.decVal), &r); | |
39749 | (winetest_set_location("vartest.c", 4776), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(46.2))<1e-14), "VarMul: DECIMAL value %f, expected %f\n", r, (double)46.2); | |
39750 | ||
39751 | SysFreeString(lbstr); | |
39752 | SysFreeString(rbstr); | |
39753 | } | |
39754 | ||
39755 | static HRESULT (__attribute__((__stdcall__)) *pVarAdd)(LPVARIANT,LPVARIANT,LPVARIANT); | |
39756 | ||
39757 | static const char *szVarAddI4 = "VarAdd(%d,%d): expected 0x0,%d,%d, got 0x%lX,%d,%d\n"; | |
39758 | static const char *szVarAddR8 = "VarAdd(%d,%d): expected 0x0,%d,%f, got 0x%lX,%d,%f\n"; | |
39759 | # 4801 "vartest.c" | |
39760 | static void test_VarAdd(void) | |
39761 | { | |
39762 | static const WCHAR sz12[] = {'1','2','\0'}; | |
39763 | VARIANT left, right, result, cy, dec; | |
39764 | VARTYPE i; | |
39765 | BSTR lbstr, rbstr; | |
39766 | HRESULT hres; | |
39767 | double r; | |
39768 | ||
39769 | pVarAdd = (void*)GetProcAddress(hOleaut32, "VarAdd"); if (!pVarAdd) { (winetest_set_location("vartest.c", 4810), 0) ? (void)0 : winetest_trace("function " "VarAdd" " not available, not testing it\n"); return; }; | |
39770 | ||
39771 | lbstr = SysAllocString(sz12); | |
39772 | rbstr = SysAllocString(sz12); | |
39773 | ||
39774 | ||
39775 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
39776 | { | |
39777 | VARTYPE leftvt, rightvt, resvt; | |
39778 | ||
39779 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
39780 | { | |
39781 | ||
39782 | if((leftvt > VT_CLSID+10) && (leftvt < VT_BSTR_BLOB-10)) continue;; | |
39783 | ||
39784 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
39785 | { | |
39786 | BOOL bFail = 0; | |
39787 | ||
39788 | if((rightvt > VT_CLSID+10) && (rightvt < VT_BSTR_BLOB-10)) continue;; | |
39789 | ||
39790 | if (leftvt == VT_UNKNOWN || rightvt == VT_UNKNOWN) | |
39791 | continue; | |
39792 | ||
39793 | memset(&left, 0, sizeof(left)); | |
39794 | memset(&right, 0, sizeof(right)); | |
39795 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
39796 | if (leftvt == VT_BSTR) | |
39797 | ((&left)->n1.n2.n3.bstrVal) = lbstr; | |
39798 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
39799 | if (rightvt == VT_BSTR) | |
39800 | ((&right)->n1.n2.n3.bstrVal) = rbstr; | |
39801 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
39802 | resvt = VT_ERROR; | |
39803 | ||
39804 | ||
39805 | ||
39806 | ||
39807 | if (ExtraFlags[i] & VT_ARRAY || ExtraFlags[i] & VT_BYREF || | |
39808 | !IsValidVariantClearVT(leftvt, ExtraFlags[i]) || | |
39809 | !IsValidVariantClearVT(rightvt, ExtraFlags[i]) || | |
39810 | leftvt == VT_CLSID || rightvt == VT_CLSID || | |
39811 | leftvt == VT_RECORD || rightvt == VT_RECORD || | |
39812 | leftvt == VT_VARIANT || rightvt == VT_VARIANT || | |
39813 | leftvt == VT_ERROR || rightvt == VT_ERROR || | |
39814 | leftvt == VT_I1 || rightvt == VT_I1 || | |
39815 | leftvt == VT_UI2 || rightvt == VT_UI2 || | |
39816 | leftvt == VT_UI4 || rightvt == VT_UI4 || | |
39817 | leftvt == VT_UI8 || rightvt == VT_UI8 || | |
39818 | leftvt == VT_INT || rightvt == VT_INT || | |
39819 | leftvt == VT_UINT || rightvt == VT_UINT) { | |
39820 | bFail = 1; | |
39821 | } | |
39822 | ||
39823 | if (leftvt == VT_NULL || rightvt == VT_NULL) | |
39824 | resvt = VT_NULL; | |
39825 | else if (leftvt == VT_DISPATCH || rightvt == VT_DISPATCH) | |
39826 | bFail = 1; | |
39827 | else if (leftvt == VT_DECIMAL || rightvt == VT_DECIMAL) | |
39828 | resvt = VT_DECIMAL; | |
39829 | else if (leftvt == VT_DATE || rightvt == VT_DATE) | |
39830 | resvt = VT_DATE; | |
39831 | else if (leftvt == VT_CY || rightvt == VT_CY) | |
39832 | resvt = VT_CY; | |
39833 | else if (leftvt == VT_R8 || rightvt == VT_R8) | |
39834 | resvt = VT_R8; | |
39835 | else if (leftvt == VT_BSTR || rightvt == VT_BSTR) { | |
39836 | if ((leftvt == VT_BSTR && rightvt == VT_BSTR) || | |
39837 | leftvt == VT_EMPTY || rightvt == VT_EMPTY) | |
39838 | resvt = VT_BSTR; | |
39839 | else | |
39840 | resvt = VT_R8; | |
39841 | } else if (leftvt == VT_R4 || rightvt == VT_R4) { | |
39842 | if (leftvt == VT_I4 || rightvt == VT_I4 || | |
39843 | leftvt == VT_I8 || rightvt == VT_I8) | |
39844 | resvt = VT_R8; | |
39845 | else | |
39846 | resvt = VT_R4; | |
39847 | } | |
39848 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
39849 | resvt = VT_I8; | |
39850 | else if (leftvt == VT_I4 || rightvt == VT_I4) | |
39851 | resvt = VT_I4; | |
39852 | else if (leftvt == VT_I2 || rightvt == VT_I2 || | |
39853 | leftvt == VT_BOOL || rightvt == VT_BOOL || | |
39854 | (leftvt == VT_EMPTY && rightvt == VT_EMPTY)) | |
39855 | resvt = VT_I2; | |
39856 | else if (leftvt == VT_UI1 || rightvt == VT_UI1) | |
39857 | resvt = VT_UI1; | |
39858 | ||
39859 | hres = pVarAdd(&left, &right, &result); | |
39860 | if (bFail) { | |
39861 | (winetest_set_location("vartest.c", 4902), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) || hres == ((HRESULT)0x80020008L), | |
39862 | "VarAdd: %d|0x%X, %d|0x%X: Expected failure, got 0x%lX vt %d\n", | |
39863 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], hres, | |
39864 | ((&result)->n1.n2.vt)); | |
39865 | } else { | |
39866 | (winetest_set_location("vartest.c", 4907), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == resvt, | |
39867 | "VarAdd: %d|0x%X, %d|0x%X: expected S_OK, vt %d, got 0x%lX vt %d\n", | |
39868 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], resvt, hres, | |
39869 | ((&result)->n1.n2.vt)); | |
39870 | } | |
39871 | } | |
39872 | } | |
39873 | } | |
39874 | ||
39875 | ||
39876 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 4; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 4917), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(6))<1e-7), szVarAddR8, VT_I4, VT_I4, VT_I4, (double)(6), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4917), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (6), szVarAddI4, VT_I4, VT_I4, VT_I4, (int)(6), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39877 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 4; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_I2 == VT_R4 || VT_I2 == VT_R8 || VT_I2 == VT_DATE) { (winetest_set_location("vartest.c", 4918), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && (fabs((((&result)->n1.n2.n3.iVal))-(6))<1e-7), szVarAddR8, VT_I2, VT_I2, VT_I2, (double)(6), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.iVal)); } else { (winetest_set_location("vartest.c", 4918), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (6), szVarAddI4, VT_I2, VT_I2, VT_I2, (int)(6), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); }; | |
39878 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -13; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 5; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 4919), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(-8))<1e-7), szVarAddR8, VT_I2, VT_I4, VT_I4, (double)(-8), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4919), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-8), szVarAddI4, VT_I2, VT_I4, VT_I4, (int)(-8), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39879 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -13; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 5; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 4920), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(-8))<1e-7), szVarAddR8, VT_I4, VT_I4, VT_I4, (double)(-8), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4920), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-8), szVarAddI4, VT_I4, VT_I4, VT_I4, (int)(-8), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39880 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 7; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0.5; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8 || VT_R4 == VT_DATE) { (winetest_set_location("vartest.c", 4921), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(7.5))<1e-7), szVarAddR8, VT_I2, VT_R4, VT_R4, (double)(7.5), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 4921), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (7.5), szVarAddI4, VT_I2, VT_R4, VT_R4, (int)(7.5), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
39881 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0.5; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 5; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4922), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(5.5))<1e-7), szVarAddR8, VT_R4, VT_I4, VT_R8, (double)(5.5), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4922), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (5.5), szVarAddI4, VT_R4, VT_I4, VT_R8, (int)(5.5), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39882 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 7.1; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4923), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(7.1))<1e-7), szVarAddR8, VT_R8, VT_BOOL, VT_R8, (double)(7.1), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4923), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (7.1), szVarAddI4, VT_R8, VT_BOOL, VT_R8, (int)(7.1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39883 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 4; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4924), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(16))<1e-7), szVarAddR8, VT_BSTR, VT_I2, VT_R8, (double)(16), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4924), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (16), szVarAddI4, VT_BSTR, VT_I2, VT_R8, (int)(16), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39884 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4925), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(13))<1e-7), szVarAddR8, VT_BSTR, VT_BOOL, VT_R8, (double)(13), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4925), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (13), szVarAddI4, VT_BSTR, VT_BOOL, VT_R8, (int)(13), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39885 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = lbstr; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0.1; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4926), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(12.1))<1e-7), szVarAddR8, VT_BSTR, VT_R4, VT_R8, (double)(12.1), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4926), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (12.1), szVarAddI4, VT_BSTR, VT_R4, VT_R8, (int)(12.1), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39886 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0.2; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = rbstr; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4927), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(12.2))<1e-7), szVarAddR8, VT_R4, VT_BSTR, VT_R8, (double)(12.2), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4927), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (12.2), szVarAddI4, VT_R4, VT_BSTR, VT_R8, (int)(12.2), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39887 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 2.25; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 7; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_DATE == VT_R4 || VT_DATE == VT_R8 || VT_DATE == VT_DATE) { (winetest_set_location("vartest.c", 4928), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DATE && (fabs((((&result)->n1.n2.n3.date))-(9.25))<1e-7), szVarAddR8, VT_DATE, VT_I4, VT_DATE, (double)(9.25), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.date)); } else { (winetest_set_location("vartest.c", 4928), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DATE && ((&result)->n1.n2.n3.date) == (9.25), szVarAddI4, VT_DATE, VT_I4, VT_DATE, (int)(9.25), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.date)); }; | |
39888 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 1.25; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1.7; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_DATE == VT_R4 || VT_DATE == VT_R8 || VT_DATE == VT_DATE) { (winetest_set_location("vartest.c", 4929), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DATE && (fabs((((&result)->n1.n2.n3.date))-(-0.45))<1e-7), szVarAddR8, VT_DATE, VT_R4, VT_DATE, (double)(-0.45), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.date)); } else { (winetest_set_location("vartest.c", 4929), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DATE && ((&result)->n1.n2.n3.date) == (-0.45), szVarAddI4, VT_DATE, VT_R4, VT_DATE, (int)(-0.45), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.date)); }; | |
39889 | ||
39890 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0xff; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0xff; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_I2 == VT_R4 || VT_I2 == VT_R8 || VT_I2 == VT_DATE) { (winetest_set_location("vartest.c", 4931), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && (fabs((((&result)->n1.n2.n3.iVal))-(0xff + 0xff))<1e-7), szVarAddR8, VT_UI1, VT_UI1, VT_I2, (double)(0xff + 0xff), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.iVal)); } else { (winetest_set_location("vartest.c", 4931), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0xff + 0xff), szVarAddI4, VT_UI1, VT_UI1, VT_I2, (int)(0xff + 0xff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); }; | |
39891 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0x7fff; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0x7fff; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 4932), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(0x7fff + 0x7fff))<1e-7), szVarAddR8, VT_I2, VT_I2, VT_I4, (double)(0x7fff + 0x7fff), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4932), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0x7fff + 0x7fff), szVarAddI4, VT_I2, VT_I2, VT_I4, (int)(0x7fff + 0x7fff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39892 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0x7fff; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = ((-0x7fff)-1); memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_I2 == VT_R4 || VT_I2 == VT_R8 || VT_I2 == VT_DATE) { (winetest_set_location("vartest.c", 4933), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && (fabs((((&result)->n1.n2.n3.iVal))-(0x7fff + ((-0x7fff)-1)))<1e-7), szVarAddR8, VT_I2, VT_I2, VT_I2, (double)(0x7fff + ((-0x7fff)-1)), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.iVal)); } else { (winetest_set_location("vartest.c", 4933), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0x7fff + ((-0x7fff)-1)), szVarAddI4, VT_I2, VT_I2, VT_I2, (int)(0x7fff + ((-0x7fff)-1)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.iVal)); }; | |
39893 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = ((-0x7fff)-1); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = ((-0x7fff)-1); memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 4934), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(((-0x7fff)-1) + ((-0x7fff)-1)))<1e-7), szVarAddR8, VT_I2, VT_I2, VT_I4, (double)(((-0x7fff)-1) + ((-0x7fff)-1)), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4934), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (((-0x7fff)-1) + ((-0x7fff)-1)), szVarAddI4, VT_I2, VT_I2, VT_I4, (int)(((-0x7fff)-1) + ((-0x7fff)-1)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39894 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = ((-0x7fffffff)-1); memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_I4 == VT_R4 || VT_I4 == VT_R8 || VT_I4 == VT_DATE) { (winetest_set_location("vartest.c", 4935), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && (fabs((((&result)->n1.n2.n3.lVal))-(0x7fffffff + ((-0x7fffffff)-1)))<1e-7), szVarAddR8, VT_I4, VT_I4, VT_I4, (double)(0x7fffffff + ((-0x7fffffff)-1)), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.lVal)); } else { (winetest_set_location("vartest.c", 4935), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0x7fffffff + ((-0x7fffffff)-1)), szVarAddI4, VT_I4, VT_I4, VT_I4, (int)(0x7fffffff + ((-0x7fffffff)-1)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.lVal)); }; | |
39895 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4936), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((double)0x7fffffff + 0x7fffffff))<1e-7), szVarAddR8, VT_I4, VT_I4, VT_R8, (double)((double)0x7fffffff + 0x7fffffff), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4936), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == ((double)0x7fffffff + 0x7fffffff), szVarAddI4, VT_I4, VT_I4, VT_R8, (int)((double)0x7fffffff + 0x7fffffff), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39896 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = ((-0x7fffffff)-1); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = ((-0x7fffffff)-1); memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4937), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((double)((-0x7fffffff)-1) + ((-0x7fffffff)-1)))<1e-7), szVarAddR8, VT_I4, VT_I4, VT_R8, (double)((double)((-0x7fffffff)-1) + ((-0x7fffffff)-1)), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4937), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == ((double)((-0x7fffffff)-1) + ((-0x7fffffff)-1)), szVarAddI4, VT_I4, VT_I4, VT_R8, (int)((double)((-0x7fffffff)-1) + ((-0x7fffffff)-1)), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39897 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 3.40282347e+38F; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4938), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((double)3.40282347e+38F + 3.40282347e+38F))<1e-7), szVarAddR8, VT_R4, VT_R4, VT_R8, (double)((double)3.40282347e+38F + 3.40282347e+38F), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4938), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == ((double)3.40282347e+38F + 3.40282347e+38F), szVarAddI4, VT_R4, VT_R4, VT_R8, (int)((double)3.40282347e+38F + 3.40282347e+38F), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39898 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1.17549435e-38F; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8 || VT_R4 == VT_DATE) { (winetest_set_location("vartest.c", 4939), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(3.40282347e+38F + 1.17549435e-38F))<1e-7), szVarAddR8, VT_R4, VT_R4, VT_R4, (double)(3.40282347e+38F + 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 4939), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (3.40282347e+38F + 1.17549435e-38F), szVarAddI4, VT_R4, VT_R4, VT_R4, (int)(3.40282347e+38F + 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
39899 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 1.17549435e-38F; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1.17549435e-38F; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R4 == VT_R4 || VT_R4 == VT_R8 || VT_R4 == VT_DATE) { (winetest_set_location("vartest.c", 4940), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-(1.17549435e-38F + 1.17549435e-38F))<1e-7), szVarAddR8, VT_R4, VT_R4, VT_R4, (double)(1.17549435e-38F + 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.fltVal)); } else { (winetest_set_location("vartest.c", 4940), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && ((&result)->n1.n2.n3.fltVal) == (1.17549435e-38F + 1.17549435e-38F), szVarAddI4, VT_R4, VT_R4, VT_R4, (int)(1.17549435e-38F + 1.17549435e-38F), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.fltVal)); }; | |
39900 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4941), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(1.7976931348623157e+308 + 2.2250738585072014e-308))<1e-7), szVarAddR8, VT_R8, VT_R8, VT_R8, (double)(1.7976931348623157e+308 + 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4941), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (1.7976931348623157e+308 + 2.2250738585072014e-308), szVarAddI4, VT_R8, VT_R8, VT_R8, (int)(1.7976931348623157e+308 + 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39901 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; memset(&result,0,sizeof(result)); hres = pVarAdd(&left,&right,&result); if (VT_R8 == VT_R4 || VT_R8 == VT_R8 || VT_R8 == VT_DATE) { (winetest_set_location("vartest.c", 4942), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-(2.2250738585072014e-308 + 2.2250738585072014e-308))<1e-7), szVarAddR8, VT_R8, VT_R8, VT_R8, (double)(2.2250738585072014e-308 + 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (double)((&result)->n1.n2.n3.dblVal)); } else { (winetest_set_location("vartest.c", 4942), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && ((&result)->n1.n2.n3.dblVal) == (2.2250738585072014e-308 + 2.2250738585072014e-308), szVarAddI4, VT_R8, VT_R8, VT_R8, (int)(2.2250738585072014e-308 + 2.2250738585072014e-308), hres, ((&result)->n1.n2.vt), (int)((&result)->n1.n2.n3.dblVal)); }; | |
39902 | ||
39903 | ||
39904 | ((&left)->n1.n2.vt) = VT_BSTR; | |
39905 | ((&left)->n1.n2.n3.bstrVal) = lbstr; | |
39906 | ((&right)->n1.n2.vt) = VT_BSTR; | |
39907 | ((&right)->n1.n2.n3.bstrVal) = rbstr; | |
39908 | hres = VarAdd(&left, &right, &result); | |
39909 | (winetest_set_location("vartest.c", 4950), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BSTR, "VarAdd: expected coerced type VT_BSTR, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
39910 | hres = VarR8FromStr(((&result)->n1.n2.n3.bstrVal), 0, 0, &r); | |
39911 | (winetest_set_location("vartest.c", 4952), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(1212))<1e-14), "VarAdd: BSTR value %f, expected %f\n", r, (double)1212); | |
39912 | ||
39913 | ||
39914 | ((&cy)->n1.n2.vt) = VT_CY; | |
39915 | hres = VarCyFromI4(4711, &((&cy)->n1.n2.n3.cyVal)); | |
39916 | (winetest_set_location("vartest.c", 4957), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCyFromI4 failed!\n"); | |
39917 | ((&dec)->n1.n2.vt) = VT_DECIMAL; | |
39918 | hres = VarDecFromR8(-4.2, &((&dec)->n1.decVal)); | |
39919 | (winetest_set_location("vartest.c", 4960), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarDecFromR4 failed!\n"); | |
39920 | memset(&left, 0, sizeof(left)); | |
39921 | memset(&right, 0, sizeof(right)); | |
39922 | ((&left)->n1.n2.vt) = VT_I4; | |
39923 | ((&left)->n1.n2.n3.lVal) = -11; | |
39924 | ((&right)->n1.n2.vt) = VT_UI1; | |
39925 | ((&right)->n1.n2.n3.bVal) = 9; | |
39926 | ||
39927 | hres = VarAdd(&cy, &right, &result); | |
39928 | (winetest_set_location("vartest.c", 4969), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_CY, "VarAdd: expected coerced type VT_CY, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
39929 | hres = VarR8FromCy(((&result)->n1.n2.n3.cyVal), &r); | |
39930 | (winetest_set_location("vartest.c", 4971), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(4720))<1e-14), "VarAdd: CY value %f, expected %f\n", r, (double)4720); | |
39931 | ||
39932 | hres = VarAdd(&left, &dec, &result); | |
39933 | (winetest_set_location("vartest.c", 4974), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DECIMAL, "VarAdd: expected coerced type VT_DECIMAL, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
39934 | hres = VarR8FromDec(&((&result)->n1.decVal), &r); | |
39935 | (winetest_set_location("vartest.c", 4976), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(-15.2))<1e-14), "VarAdd: DECIMAL value %f, expected %f\n", r, (double)-15.2); | |
39936 | ||
39937 | SysFreeString(lbstr); | |
39938 | SysFreeString(rbstr); | |
39939 | } | |
39940 | ||
39941 | static void test_VarCat(void) | |
39942 | { | |
39943 | LCID lcid; | |
39944 | VARIANT left, right, result, expected; | |
39945 | static const WCHAR sz12[] = {'1','2','\0'}; | |
39946 | static const WCHAR sz34[] = {'3','4','\0'}; | |
39947 | static const WCHAR sz1234[] = {'1','2','3','4','\0'}; | |
39948 | static const WCHAR date_sz12[] = {'9','/','3','0','/','1','9','8','0','1','2','\0'}; | |
39949 | static const WCHAR sz12_date[] = {'1','2','9','/','3','0','/','1','9','8','0','\0'}; | |
39950 | static const WCHAR sz_empty[] = {'\0'}; | |
39951 | static const WCHAR sz12_true[] = {'1','2','T','r','u','e','\0'}; | |
39952 | static const WCHAR sz12_false[] = {'1','2','F','a','l','s','e','\0'}; | |
39953 | TCHAR orig_date_format[128]; | |
39954 | VARTYPE leftvt, rightvt, resultvt; | |
39955 | HRESULT hres; | |
39956 | HRESULT expected_error_num; | |
39957 | ||
39958 | ||
39959 | lcid = ((((LONG)(((WORD)((DWORD_PTR)((((((WORD)(0x01))<<10) | (WORD)(0x00)))) & 0xFFFF)) | ((DWORD)((WORD)((DWORD_PTR)(0x0) & 0xFFFF))) << 16)))); | |
39960 | GetLocaleInfoA(lcid,0x001F,orig_date_format,128); | |
39961 | SetLocaleInfoA(lcid,0x001F,"M/d/yyyy"); | |
39962 | ||
39963 | VariantInit(&left); | |
39964 | VariantInit(&right); | |
39965 | VariantInit(&result); | |
39966 | VariantInit(&expected); | |
39967 | ||
39968 | ||
39969 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
39970 | { | |
39971 | ||
39972 | if((leftvt > VT_CLSID+10) && (leftvt < VT_BSTR_BLOB-10)) continue;; | |
39973 | ||
39974 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
39975 | { | |
39976 | ||
39977 | if((rightvt > VT_CLSID+10) && (rightvt < VT_BSTR_BLOB-10)) continue;; | |
39978 | expected_error_num = ((HRESULT)0L); | |
39979 | resultvt = VT_EMPTY; | |
39980 | ||
39981 | if (leftvt == VT_DISPATCH || rightvt == VT_DISPATCH || | |
39982 | leftvt == VT_UNKNOWN || rightvt == VT_UNKNOWN || | |
39983 | leftvt == VT_RECORD || rightvt == VT_RECORD || | |
39984 | leftvt == 15 || rightvt == 15 ) | |
39985 | continue; | |
39986 | ||
39987 | if (leftvt == VT_NULL && rightvt == VT_NULL) | |
39988 | resultvt = VT_NULL; | |
39989 | else if (leftvt == VT_VARIANT && (rightvt == VT_ERROR || | |
39990 | rightvt == VT_DATE || rightvt == VT_DECIMAL)) | |
39991 | expected_error_num = ((HRESULT)0x80020005L); | |
39992 | else if ((leftvt == VT_I2 || leftvt == VT_I4 || | |
39993 | leftvt == VT_R4 || leftvt == VT_R8 || | |
39994 | leftvt == VT_CY || leftvt == VT_BOOL || | |
39995 | leftvt == VT_BSTR || leftvt == VT_I1 || | |
39996 | leftvt == VT_UI1 || leftvt == VT_UI2 || | |
39997 | leftvt == VT_UI4 || leftvt == VT_I8 || | |
39998 | leftvt == VT_UI8 || leftvt == VT_INT || | |
39999 | leftvt == VT_UINT || leftvt == VT_EMPTY || | |
40000 | leftvt == VT_NULL || leftvt == VT_DECIMAL || | |
40001 | leftvt == VT_DATE) | |
40002 | && | |
40003 | (rightvt == VT_I2 || rightvt == VT_I4 || | |
40004 | rightvt == VT_R4 || rightvt == VT_R8 || | |
40005 | rightvt == VT_CY || rightvt == VT_BOOL || | |
40006 | rightvt == VT_BSTR || rightvt == VT_I1 || | |
40007 | rightvt == VT_UI1 || rightvt == VT_UI2 || | |
40008 | rightvt == VT_UI4 || rightvt == VT_I8 || | |
40009 | rightvt == VT_UI8 || rightvt == VT_INT || | |
40010 | rightvt == VT_UINT || rightvt == VT_EMPTY || | |
40011 | rightvt == VT_NULL || rightvt == VT_DECIMAL || | |
40012 | rightvt == VT_DATE)) | |
40013 | resultvt = VT_BSTR; | |
40014 | else if (rightvt == VT_ERROR && leftvt < VT_VOID) | |
40015 | expected_error_num = ((HRESULT)0x80020005L); | |
40016 | else if (leftvt == VT_ERROR && (rightvt == VT_DATE || | |
40017 | rightvt == VT_ERROR || rightvt == VT_DECIMAL)) | |
40018 | expected_error_num = ((HRESULT)0x80020005L); | |
40019 | else if (rightvt == VT_DATE || rightvt == VT_ERROR || | |
40020 | rightvt == VT_DECIMAL) | |
40021 | expected_error_num = ((HRESULT)0x80020008L); | |
40022 | else if (leftvt == VT_ERROR || rightvt == VT_ERROR) | |
40023 | expected_error_num = ((HRESULT)0x80020005L); | |
40024 | else if (leftvt == VT_VARIANT) | |
40025 | expected_error_num = ((HRESULT)0x80020005L); | |
40026 | else if (rightvt == VT_VARIANT && (leftvt == VT_EMPTY || | |
40027 | leftvt == VT_NULL || leftvt == VT_I2 || | |
40028 | leftvt == VT_I4 || leftvt == VT_R4 || | |
40029 | leftvt == VT_R8 || leftvt == VT_CY || | |
40030 | leftvt == VT_DATE || leftvt == VT_BSTR || | |
40031 | leftvt == VT_BOOL || leftvt == VT_DECIMAL || | |
40032 | leftvt == VT_I1 || leftvt == VT_UI1 || | |
40033 | leftvt == VT_UI2 || leftvt == VT_UI4 || | |
40034 | leftvt == VT_I8 || leftvt == VT_UI8 || | |
40035 | leftvt == VT_INT || leftvt == VT_UINT | |
40036 | )) | |
40037 | expected_error_num = ((HRESULT)0x80020005L); | |
40038 | else | |
40039 | expected_error_num = ((HRESULT)0x80020008L); | |
40040 | ||
40041 | ((&left)->n1.n2.vt) = leftvt; | |
40042 | ((&right)->n1.n2.vt) = rightvt; | |
40043 | ||
40044 | if (leftvt == VT_BSTR) | |
40045 | ((&left)->n1.n2.n3.bstrVal) = SysAllocString(sz_empty); | |
40046 | if (rightvt == VT_BSTR) | |
40047 | ((&right)->n1.n2.n3.bstrVal) = SysAllocString(sz_empty); | |
40048 | if (leftvt == VT_DATE) | |
40049 | ((&left)->n1.n2.n3.date) = 0.0; | |
40050 | if (rightvt == VT_DATE) | |
40051 | ((&right)->n1.n2.n3.date) = 0.0; | |
40052 | if (leftvt == VT_DECIMAL) | |
40053 | VarDecFromR8(0.0, &((&left)->n1.decVal)); | |
40054 | if (rightvt == VT_DECIMAL) | |
40055 | VarDecFromR8(0.0, &((&right)->n1.decVal)); | |
40056 | ||
40057 | hres = VarCat(&left, &right, &result); | |
40058 | ||
40059 | ||
40060 | (winetest_set_location("vartest.c", 5101), 0) ? 0 : winetest_ok(hres == expected_error_num, | |
40061 | "VarCat: %d, %d returned error, 0x%lX expected 0x%lX.\n", | |
40062 | leftvt, rightvt, expected_error_num, hres); | |
40063 | ||
40064 | ||
40065 | (winetest_set_location("vartest.c", 5106), 0) ? 0 : winetest_ok(((&result)->n1.n2.vt) == resultvt, | |
40066 | "VarCat: %d, %d: expected vt %d, got vt %d\n", | |
40067 | leftvt, rightvt, resultvt, ((&result)->n1.n2.vt)); | |
40068 | ||
40069 | VariantClear(&left); | |
40070 | VariantClear(&right); | |
40071 | VariantClear(&result); | |
40072 | } | |
40073 | } | |
40074 | ||
40075 | ||
40076 | ||
40077 | ||
40078 | ((&left)->n1.n2.vt) = VT_BSTR; | |
40079 | ((&right)->n1.n2.vt) = VT_BSTR; | |
40080 | ((&expected)->n1.n2.vt) = VT_BSTR; | |
40081 | ((&left)->n1.n2.n3.bstrVal) = SysAllocString(sz12); | |
40082 | ((&right)->n1.n2.n3.bstrVal) = SysAllocString(sz34); | |
40083 | ((&expected)->n1.n2.n3.bstrVal) = SysAllocString(sz1234); | |
40084 | hres = VarCat(&left,&right,&result); | |
40085 | (winetest_set_location("vartest.c", 5126), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCat failed with error 0x%08lx\n", hres); | |
40086 | (winetest_set_location("vartest.c", 5127), 0) ? 0 : winetest_ok(VarCmp(&result,&expected,lcid,0) == 1, | |
40087 | "VarCat: VT_BSTR concat with VT_BSTR failed to return correct result\n"); | |
40088 | ||
40089 | VariantClear(&left); | |
40090 | VariantClear(&right); | |
40091 | VariantClear(&result); | |
40092 | ||
40093 | ||
40094 | ((&left)->n1.n2.vt) = VT_ERROR; | |
40095 | ((&right)->n1.n2.vt) = VT_BSTR; | |
40096 | ((&right)->n1.n2.n3.bstrVal) = SysAllocString(sz1234); | |
40097 | hres = VarCat(&left,&right,&result); | |
40098 | (winetest_set_location("vartest.c", 5139), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L), "VarCat should have returned DISP_E_TYPEMISMATCH instead of 0x%08lx\n", hres); | |
40099 | (winetest_set_location("vartest.c", 5140), 0) ? 0 : winetest_ok(((&result)->n1.n2.vt) == VT_EMPTY, | |
40100 | "VarCat: VT_ERROR concat with VT_BSTR should have returned VT_EMPTY\n"); | |
40101 | ||
40102 | VariantClear(&left); | |
40103 | VariantClear(&right); | |
40104 | VariantClear(&result); | |
40105 | ||
40106 | ((&left)->n1.n2.vt) = VT_BSTR; | |
40107 | ((&right)->n1.n2.vt) = VT_ERROR; | |
40108 | ((&left)->n1.n2.n3.bstrVal) = SysAllocString(sz1234); | |
40109 | hres = VarCat(&left,&right,&result); | |
40110 | (winetest_set_location("vartest.c", 5151), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L), "VarCat should have returned DISP_E_TYPEMISMATCH instead of 0x%08lx\n", hres); | |
40111 | (winetest_set_location("vartest.c", 5152), 0) ? 0 : winetest_ok(((&result)->n1.n2.vt) == VT_EMPTY, | |
40112 | "VarCat: VT_BSTR concat with VT_ERROR should have returned VT_EMPTY\n"); | |
40113 | ||
40114 | VariantClear(&left); | |
40115 | VariantClear(&right); | |
40116 | VariantClear(&result); | |
40117 | VariantClear(&expected); | |
40118 | ||
40119 | ||
40120 | ((&left)->n1.n2.vt) = VT_INT; | |
40121 | ((&right)->n1.n2.vt) = VT_BOOL; | |
40122 | ((&expected)->n1.n2.vt) = VT_BSTR; | |
40123 | ((&left)->n1.n2.n3.intVal) = 12; | |
40124 | ((&right)->n1.n2.n3.boolVal) = 1; | |
40125 | ((&expected)->n1.n2.n3.bstrVal) = SysAllocString(sz12_true); | |
40126 | hres = VarCat(&left,&right,&result); | |
40127 | (winetest_set_location("vartest.c", 5168), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCat failed with error 0x%08lx\n", hres); | |
40128 | (winetest_set_location("vartest.c", 5169), 0) ? 0 : winetest_ok(VarCmp(&result,&expected,lcid,0) == 1, | |
40129 | "VarCat: VT_INT concat with VT_BOOL (TRUE) returned inncorrect result\n"); | |
40130 | ||
40131 | VariantClear(&left); | |
40132 | VariantClear(&right); | |
40133 | VariantClear(&result); | |
40134 | VariantClear(&expected); | |
40135 | ||
40136 | ((&left)->n1.n2.vt) = VT_INT; | |
40137 | ((&right)->n1.n2.vt) = VT_BOOL; | |
40138 | ((&expected)->n1.n2.vt) = VT_BSTR; | |
40139 | ((&left)->n1.n2.n3.intVal) = 12; | |
40140 | ((&right)->n1.n2.n3.boolVal) = 0; | |
40141 | ((&expected)->n1.n2.n3.bstrVal) = SysAllocString(sz12_false); | |
40142 | hres = VarCat(&left,&right,&result); | |
40143 | (winetest_set_location("vartest.c", 5184), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCat failed with error 0x%08lx\n", hres); | |
40144 | (winetest_set_location("vartest.c", 5185), 0) ? 0 : winetest_ok(VarCmp(&result,&expected,lcid,0) == 1, | |
40145 | "VarCat: VT_INT concat with VT_BOOL (FALSE) returned inncorrect result\n"); | |
40146 | ||
40147 | VariantClear(&left); | |
40148 | VariantClear(&right); | |
40149 | VariantClear(&result); | |
40150 | VariantClear(&expected); | |
40151 | ||
40152 | ||
40153 | ((&left)->n1.n2.vt) = VT_INT; | |
40154 | ((&right)->n1.n2.vt) = VT_INT; | |
40155 | ((&expected)->n1.n2.vt) = VT_BSTR; | |
40156 | ((&left)->n1.n2.n3.intVal) = 12; | |
40157 | ((&right)->n1.n2.n3.intVal) = 34; | |
40158 | ((&expected)->n1.n2.n3.bstrVal) = SysAllocString(sz1234); | |
40159 | hres = VarCat(&left,&right,&result); | |
40160 | (winetest_set_location("vartest.c", 5201), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCat failed with error 0x%08lx\n", hres); | |
40161 | (winetest_set_location("vartest.c", 5202), 0) ? 0 : winetest_ok(VarCmp(&result,&expected,lcid,0) == 1, | |
40162 | "VarCat: NUMBER concat with NUMBER returned inncorrect result\n"); | |
40163 | ||
40164 | VariantClear(&left); | |
40165 | VariantClear(&right); | |
40166 | VariantClear(&result); | |
40167 | ||
40168 | ||
40169 | ((&left)->n1.n2.vt) = VT_INT; | |
40170 | ((&right)->n1.n2.vt) = VT_BSTR; | |
40171 | ((&left)->n1.n2.n3.intVal) = 12; | |
40172 | ((&right)->n1.n2.n3.bstrVal) = SysAllocString(sz34); | |
40173 | hres = VarCat(&left,&right,&result); | |
40174 | (winetest_set_location("vartest.c", 5215), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCat failed with error 0x%08lx\n", hres); | |
40175 | (winetest_set_location("vartest.c", 5216), 0) ? 0 : winetest_ok(VarCmp(&result,&expected,lcid,0) == 1, | |
40176 | "VarCat: NUMBER concat with VT_BSTR, inncorrect result\n"); | |
40177 | ||
40178 | VariantClear(&left); | |
40179 | VariantClear(&right); | |
40180 | VariantClear(&result); | |
40181 | ||
40182 | ((&left)->n1.n2.vt) = VT_BSTR; | |
40183 | ((&right)->n1.n2.vt) = VT_INT; | |
40184 | ((&left)->n1.n2.n3.bstrVal) = SysAllocString(sz12); | |
40185 | ((&right)->n1.n2.n3.intVal) = 34; | |
40186 | hres = VarCat(&left,&right,&result); | |
40187 | (winetest_set_location("vartest.c", 5228), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCat failed with error 0x%08lx\n", hres); | |
40188 | (winetest_set_location("vartest.c", 5229), 0) ? 0 : winetest_ok(VarCmp(&result,&expected,lcid,0) == 1, | |
40189 | "VarCat: VT_BSTR concat with NUMBER, inncorrect result\n"); | |
40190 | ||
40191 | VariantClear(&left); | |
40192 | VariantClear(&right); | |
40193 | VariantClear(&result); | |
40194 | ||
40195 | ||
40196 | ((&left)->n1.n2.vt) = VT_BSTR; | |
40197 | ((&right)->n1.n2.vt) = VT_DATE; | |
40198 | ((&expected)->n1.n2.vt) = VT_BSTR; | |
40199 | ((&left)->n1.n2.n3.bstrVal) = SysAllocString(sz12); | |
40200 | ((&right)->n1.n2.n3.date) = 29494.0; | |
40201 | ((&expected)->n1.n2.n3.bstrVal)= SysAllocString(sz12_date); | |
40202 | hres = VarCat(&left,&right,&result); | |
40203 | (winetest_set_location("vartest.c", 5244), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCat failed with error 0x%08lx\n", hres); | |
40204 | (winetest_set_location("vartest.c", 5245), 0) ? 0 : winetest_ok(VarCmp(&result,&expected,lcid,0) == 1, | |
40205 | "VarCat: VT_BSTR concat with VT_DATE returned inncorrect result\n"); | |
40206 | ||
40207 | VariantClear(&left); | |
40208 | VariantClear(&right); | |
40209 | VariantClear(&result); | |
40210 | VariantClear(&expected); | |
40211 | ||
40212 | ((&left)->n1.n2.vt) = VT_DATE; | |
40213 | ((&right)->n1.n2.vt) = VT_BSTR; | |
40214 | ((&expected)->n1.n2.vt) = VT_BSTR; | |
40215 | ((&left)->n1.n2.n3.date) = 29494.0; | |
40216 | ((&right)->n1.n2.n3.bstrVal) = SysAllocString(sz12); | |
40217 | ((&expected)->n1.n2.n3.bstrVal)= SysAllocString(date_sz12); | |
40218 | hres = VarCat(&left,&right,&result); | |
40219 | (winetest_set_location("vartest.c", 5260), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCat failed with error 0x%08lx\n", hres); | |
40220 | (winetest_set_location("vartest.c", 5261), 0) ? 0 : winetest_ok(VarCmp(&result,&expected,lcid,0) == 1, | |
40221 | "VarCat: VT_DATE concat with VT_BSTR returned inncorrect result\n"); | |
40222 | ||
40223 | VariantClear(&left); | |
40224 | VariantClear(&right); | |
40225 | VariantClear(&result); | |
40226 | VariantClear(&expected); | |
40227 | ||
40228 | ||
40229 | ((&left)->n1.n2.vt) = VT_BSTR; | |
40230 | ((&right)->n1.n2.vt) = VT_BSTR; | |
40231 | ((&expected)->n1.n2.vt) = VT_BSTR; | |
40232 | ((&left)->n1.n2.n3.bstrVal) = SysAllocString(sz_empty); | |
40233 | ((&right)->n1.n2.n3.bstrVal) = SysAllocString(sz_empty); | |
40234 | ((&expected)->n1.n2.n3.bstrVal)= SysAllocString(sz_empty); | |
40235 | hres = VarCat(&left,&right,&result); | |
40236 | (winetest_set_location("vartest.c", 5277), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCat failed with error 0x%08lx\n", hres); | |
40237 | (winetest_set_location("vartest.c", 5278), 0) ? 0 : winetest_ok(VarCmp(&result,&left,lcid,0) == 1, | |
40238 | "VarCat: EMPTY concat with EMPTY did not return empty VT_BSTR\n"); | |
40239 | ||
40240 | ||
40241 | SetLocaleInfoA(lcid,0x001F,orig_date_format); | |
40242 | ||
40243 | VariantClear(&left); | |
40244 | VariantClear(&right); | |
40245 | VariantClear(&result); | |
40246 | VariantClear(&expected); | |
40247 | } | |
40248 | ||
40249 | static HRESULT (__attribute__((__stdcall__)) *pVarAnd)(LPVARIANT,LPVARIANT,LPVARIANT); | |
40250 | ||
40251 | static const char *szVarAndFail = "VarAnd(%s,%s): expected 0x0,%s,%d, got 0x%lX,%s,%d\n"; | |
40252 | # 5316 "vartest.c" | |
40253 | static void test_VarAnd(void) | |
40254 | { | |
40255 | static const WCHAR szFalse[] = { '#','F','A','L','S','E','#','\0' }; | |
40256 | static const WCHAR szTrue[] = { '#','T','R','U','E','#','\0' }; | |
40257 | VARIANT left, right, result; | |
40258 | BSTR false_str, true_str; | |
40259 | VARTYPE i; | |
40260 | HRESULT hres; | |
40261 | ||
40262 | true_str = SysAllocString(szTrue); | |
40263 | false_str = SysAllocString(szFalse); | |
40264 | ||
40265 | pVarAnd = (void*)GetProcAddress(hOleaut32, "VarAnd"); if (!pVarAnd) { (winetest_set_location("vartest.c", 5328), 0) ? (void)0 : winetest_trace("function " "VarAnd" " not available, not testing it\n"); return; }; | |
40266 | ||
40267 | ||
40268 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
40269 | { | |
40270 | VARTYPE leftvt, rightvt, resvt; | |
40271 | ||
40272 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
40273 | { | |
40274 | if (leftvt == VT_ERROR || leftvt == VT_VARIANT || leftvt == VT_DISPATCH || leftvt == VT_UNKNOWN || leftvt > VT_UINT || leftvt == 15 ) continue;; | |
40275 | ||
40276 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
40277 | { | |
40278 | BOOL bFail = 0; | |
40279 | if (rightvt == VT_ERROR || rightvt == VT_VARIANT || rightvt == VT_DISPATCH || rightvt == VT_UNKNOWN || rightvt > VT_UINT || rightvt == 15 ) continue;; | |
40280 | ||
40281 | memset(&left, 0, sizeof(left)); | |
40282 | memset(&right, 0, sizeof(right)); | |
40283 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
40284 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
40285 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
40286 | resvt = VT_EMPTY; | |
40287 | if (leftvt == VT_BSTR) | |
40288 | ((&left)->n1.n2.n3.bstrVal) = true_str; | |
40289 | if (rightvt == VT_BSTR) | |
40290 | ((&right)->n1.n2.n3.bstrVal) = true_str; | |
40291 | ||
40292 | ||
40293 | ||
40294 | ||
40295 | if ((leftvt == VT_I8 && rightvt == VT_INT) || | |
40296 | (leftvt == VT_INT && rightvt == VT_I8) || | |
40297 | ExtraFlags[i] != 0) | |
40298 | bFail = 1; | |
40299 | ||
40300 | ||
40301 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
40302 | resvt = VT_I8; | |
40303 | else if (leftvt == VT_I4 || rightvt == VT_I4 || | |
40304 | leftvt == VT_UINT || rightvt == VT_UINT || | |
40305 | leftvt == VT_INT || rightvt == VT_INT || | |
40306 | leftvt == VT_UINT || rightvt == VT_UINT || | |
40307 | leftvt == VT_R4 || rightvt == VT_R4 || | |
40308 | leftvt == VT_R8 || rightvt == VT_R8 || | |
40309 | leftvt == VT_CY || rightvt == VT_CY || | |
40310 | leftvt == VT_DATE || rightvt == VT_DATE || | |
40311 | leftvt == VT_I1 || rightvt == VT_I1 || | |
40312 | leftvt == VT_UI2 || rightvt == VT_UI2 || | |
40313 | leftvt == VT_UI4 || rightvt == VT_UI4 || | |
40314 | leftvt == VT_UI8 || rightvt == VT_UI8 || | |
40315 | leftvt == VT_DECIMAL || rightvt == VT_DECIMAL) | |
40316 | resvt = VT_I4; | |
40317 | else if (leftvt == VT_UI1 || rightvt == VT_UI1 || | |
40318 | leftvt == VT_I2 || rightvt == VT_I2 || | |
40319 | leftvt == VT_EMPTY || rightvt == VT_EMPTY) | |
40320 | if ((leftvt == VT_NULL && rightvt == VT_UI1) || | |
40321 | (leftvt == VT_UI1 && rightvt == VT_NULL) || | |
40322 | (leftvt == VT_UI1 && rightvt == VT_UI1)) | |
40323 | resvt = VT_UI1; | |
40324 | else | |
40325 | resvt = VT_I2; | |
40326 | else if (leftvt == VT_BOOL || rightvt == VT_BOOL || | |
40327 | (leftvt == VT_BSTR && rightvt == VT_BSTR)) | |
40328 | resvt = VT_BOOL; | |
40329 | else if (leftvt == VT_NULL || rightvt == VT_NULL || | |
40330 | leftvt == VT_BSTR || rightvt == VT_BSTR) | |
40331 | resvt = VT_NULL; | |
40332 | else | |
40333 | bFail = 1; | |
40334 | ||
40335 | hres = pVarAnd(&left, &right, &result); | |
40336 | ||
40337 | ||
40338 | if (bFail) | |
40339 | (winetest_set_location("vartest.c", 5402), 0) ? 0 : winetest_ok (hres == ((HRESULT)0x80020008L) || hres == ((HRESULT)0x80020005L), | |
40340 | "VarAnd: %s|0x%X, %s|0x%X: got vt %s hr 0x%lX\n", | |
40341 | vtstr(leftvt), ExtraFlags[i], vtstr(rightvt), ExtraFlags[i], | |
40342 | vtstr(((&result)->n1.n2.vt)), hres); | |
40343 | else | |
40344 | (winetest_set_location("vartest.c", 5407), 0) ? 0 : winetest_ok (hres == ((HRESULT)0L) && resvt == ((&result)->n1.n2.vt), | |
40345 | "VarAnd: %s|0x%X, %s|0x%X: expected vt %s hr 0x%lX, got vt %s hr 0x%lX\n", | |
40346 | vtstr(leftvt), ExtraFlags[i], vtstr(rightvt), ExtraFlags[i], vtstr(resvt), | |
40347 | ((HRESULT)0L), vtstr(((&result)->n1.n2.vt)), hres); | |
40348 | } | |
40349 | } | |
40350 | } | |
40351 | ||
40352 | ||
40353 | ||
40354 | ||
40355 | ||
40356 | ||
40357 | ||
40358 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5421), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_EMPTY), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40359 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5422), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_EMPTY), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40360 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5423), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_EMPTY), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40361 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5424), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_NULL), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40362 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5425), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_NULL), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40363 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5426), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_NULL), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40364 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5427), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40365 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5428), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40366 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5429), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40367 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5430), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI1), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40368 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5431), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI1), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40369 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5432), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI1), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40370 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5433), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40371 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5434), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40372 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5435), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40373 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5436), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40374 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5437), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40375 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5438), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40376 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5439), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40377 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5440), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40378 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5441), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40379 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5442), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40380 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5443), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40381 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5444), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40382 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40383 | { | |
40384 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5447), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40385 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5448), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40386 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5449), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40387 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5450), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40388 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5451), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40389 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5452), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40390 | } | |
40391 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5454), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40392 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5455), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40393 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5456), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40394 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5457), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40395 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5458), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40396 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5459), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40397 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5460), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_BOOL), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40398 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5461), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_BOOL), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40399 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5462), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_BOOL), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40400 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5463), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40401 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5464), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40402 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5465), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40403 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5466), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40404 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5467), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40405 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5468), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40406 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5469), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_BSTR), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40407 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5470), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_BSTR), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40408 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5471), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_EMPTY), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40409 | ||
40410 | ||
40411 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5474), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40412 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5475), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40413 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5476), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_I1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40414 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5477), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_I1), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40415 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5478), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UI1), vtstr(VT_UI1), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.bVal));; | |
40416 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5479), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UI1), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40417 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5480), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40418 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5481), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_I2), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40419 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5482), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40420 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5483), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UI2), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40421 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5484), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40422 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5485), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_I4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40423 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5486), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40424 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5487), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UI4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40425 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40426 | { | |
40427 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5490), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40428 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5491), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_I8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40429 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5492), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40430 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5493), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UI8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40431 | } | |
40432 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5495), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40433 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5496), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_INT), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40434 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5497), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40435 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5498), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_UINT), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40436 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5499), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_BOOL), vtstr(VT_BOOL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40437 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5500), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_BOOL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40438 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5501), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40439 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5502), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_R4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40440 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5503), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40441 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5504), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_R8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40442 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5505), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_BSTR), vtstr(VT_BOOL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40443 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5506), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (((VARIANT_BOOL)0x0000)), szVarAndFail, vtstr(VT_NULL), vtstr(VT_BSTR), vtstr(VT_NULL), (int)(((VARIANT_BOOL)0x0000)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40444 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5507), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_CY), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40445 | ((&left)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5508), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_NULL), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40446 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5509), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_BOOL), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0xFFFF)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40447 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5510), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_BOOL), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0x0000)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40448 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5511), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_BOOL), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0x0000)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40449 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5512), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_BOOL), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0x0000)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40450 | ||
40451 | ||
40452 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5515), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I1), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40453 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5516), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40454 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5517), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40455 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 255; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5518), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (255), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI1), vtstr(VT_I2), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40456 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5519), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI1), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40457 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5520), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI1), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40458 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5521), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I2), vtstr(VT_I2), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40459 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5522), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40460 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5523), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40461 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5524), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI2), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40462 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5525), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40463 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5526), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40464 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5527), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40465 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5528), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40466 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5529), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40467 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5530), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40468 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5531), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40469 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5532), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40470 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5533), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_R4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40471 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5534), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40472 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5535), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40473 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5536), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_R8), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40474 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5537), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40475 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5538), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40476 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5539), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_DATE), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40477 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5540), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40478 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5541), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40479 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40480 | { | |
40481 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5544), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I8), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40482 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5545), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40483 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5546), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40484 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5547), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40485 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5548), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40486 | } | |
40487 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5550), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40488 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5551), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40489 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5552), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40490 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5553), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UINT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40491 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5554), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40492 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5555), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40493 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5556), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_BSTR), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0x0000)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40494 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5557), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_BSTR), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0x0000)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40495 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5558), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_BSTR), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0x0000)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40496 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5559), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_BSTR), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0xFFFF)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40497 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5560), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40498 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5561), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40499 | ((&left)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5562), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BOOL), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40500 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5563), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_I1), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40501 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5564), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_I1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40502 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.n3.cVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5565), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_I1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40503 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 255; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5566), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI1), vtstr(VT_I4), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40504 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5567), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40505 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5568), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40506 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5569), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_I2), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40507 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5570), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_I2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40508 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5571), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_I2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40509 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5572), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI2), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40510 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5573), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40511 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5574), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40512 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5575), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_I4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40513 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5576), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40514 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5577), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40515 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5578), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40516 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5579), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40517 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5580), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40518 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5581), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_R4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40519 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5582), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40520 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5583), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40521 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5584), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_R8), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40522 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5585), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40523 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5586), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40524 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5587), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_DATE), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40525 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5588), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40526 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5589), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40527 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40528 | { | |
40529 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5592), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_I8), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40530 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5593), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40531 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5594), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40532 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5595), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40533 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5596), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40534 | } | |
40535 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5598), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40536 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5599), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40537 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5600), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40538 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5601), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_UINT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40539 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5602), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40540 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5603), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40541 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5604), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40542 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5605), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40543 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5606), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40544 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5607), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I1), vtstr(VT_BSTR), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40545 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5608), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_I1), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40546 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5609), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40547 | ((&left)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5610), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I1), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40548 | ||
40549 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 255; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5612), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI1), vtstr(VT_UI1), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.bVal));; | |
40550 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5613), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI1), vtstr(VT_UI1), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.bVal));; | |
40551 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.n3.bVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5614), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI1), vtstr(VT_UI1), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.bVal));; | |
40552 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5615), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_I2), vtstr(VT_I2), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40553 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5616), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40554 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5617), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40555 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5618), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI2), vtstr(VT_I4), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40556 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5619), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40557 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5620), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40558 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5621), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_I4), vtstr(VT_I4), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40559 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5622), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40560 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5623), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40561 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5624), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI4), vtstr(VT_I4), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40562 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5625), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40563 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5626), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40564 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5627), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_R4), vtstr(VT_I4), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40565 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5628), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40566 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5629), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40567 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5630), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_R8), vtstr(VT_I4), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40568 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5631), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40569 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5632), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40570 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5633), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_DATE), vtstr(VT_I4), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40571 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5634), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40572 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5635), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40573 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40574 | { | |
40575 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5638), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_I8), vtstr(VT_I8), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40576 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5639), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40577 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5640), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40578 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5641), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40579 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5642), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40580 | } | |
40581 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5644), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_INT), vtstr(VT_I4), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40582 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5645), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40583 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5646), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40584 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5647), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UINT), vtstr(VT_I4), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40585 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5648), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40586 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5649), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40587 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5650), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_BSTR), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40588 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5651), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_BSTR), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40589 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5652), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_BSTR), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40590 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5653), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (255), szVarAndFail, vtstr(VT_UI1), vtstr(VT_BSTR), vtstr(VT_I2), (int)(255), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40591 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5654), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_UI1), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40592 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 255; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5655), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40593 | ((&left)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5656), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI1), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40594 | ||
40595 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5658), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_I2), vtstr(VT_I2), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40596 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5659), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40597 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.n3.iVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5660), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40598 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5661), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_I2), vtstr(VT_UI2), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40599 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5662), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40600 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5663), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40601 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5664), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_I4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40602 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5665), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40603 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5666), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40604 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5667), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_UI4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40605 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5668), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40606 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5669), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40607 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5670), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_R4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40608 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5671), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40609 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5672), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40610 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5673), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_R8), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40611 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5674), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40612 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5675), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40613 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5676), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_DATE), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40614 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5677), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40615 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5678), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40616 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40617 | { | |
40618 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5681), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_I8), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40619 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5682), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40620 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5683), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40621 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5684), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40622 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5685), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40623 | } | |
40624 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5687), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40625 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5688), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40626 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5689), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40627 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5690), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_UINT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40628 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5691), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40629 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5692), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40630 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5693), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_BSTR), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40631 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5694), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_BSTR), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40632 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5695), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_BSTR), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40633 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5696), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarAndFail, vtstr(VT_I2), vtstr(VT_BSTR), vtstr(VT_I2), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
40634 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5697), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_I2), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40635 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5698), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40636 | ((&left)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5699), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I2), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40637 | ||
40638 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 65535; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5701), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UI2), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40639 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5702), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40640 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.n3.uiVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5703), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40641 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5704), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_I4), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40642 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5705), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40643 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5706), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40644 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5707), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UI4), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40645 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5708), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40646 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5709), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40647 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5710), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_R4), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40648 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5711), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40649 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5712), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40650 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5713), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_R8), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40651 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5714), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40652 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5715), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40653 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5716), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_DATE), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40654 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5717), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40655 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5718), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40656 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40657 | { | |
40658 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5721), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_I8), vtstr(VT_I8), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40659 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5722), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40660 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5723), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40661 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5724), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40662 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5725), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40663 | } | |
40664 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5727), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_INT), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40665 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5728), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40666 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5729), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40667 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5730), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UINT), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40668 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5731), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40669 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5732), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40670 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5733), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40671 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5734), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40672 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5735), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40673 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5736), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI2), vtstr(VT_BSTR), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40674 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5737), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_UI2), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40675 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 65535; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5738), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40676 | ((&left)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5739), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI2), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40677 | ||
40678 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5741), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I4), vtstr(VT_I4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40679 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5742), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40680 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5743), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40681 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5744), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I4), vtstr(VT_UI4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40682 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5745), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40683 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5746), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40684 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5747), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I4), vtstr(VT_R4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40685 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5748), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40686 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5749), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40687 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5750), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I4), vtstr(VT_R8), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40688 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5751), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40689 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5752), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40690 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5753), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I4), vtstr(VT_DATE), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40691 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5754), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40692 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5755), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40693 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40694 | { | |
40695 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5758), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarAndFail, vtstr(VT_I4), vtstr(VT_I8), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40696 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5759), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40697 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5760), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40698 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5761), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40699 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5762), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40700 | } | |
40701 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5764), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I4), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40702 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5765), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40703 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5766), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40704 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5767), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I4), vtstr(VT_UINT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40705 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5768), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40706 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5769), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40707 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5770), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40708 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5771), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40709 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5772), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40710 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5773), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_I4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40711 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5774), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_I4), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40712 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5775), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40713 | ((&left)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5776), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_I4), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40714 | ||
40715 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5778), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_UI4), vtstr(VT_UI4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40716 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5779), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40717 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.n3.ulVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5780), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40718 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5781), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_UI4), vtstr(VT_R4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40719 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5782), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40720 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5783), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40721 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5784), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_UI4), vtstr(VT_R8), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40722 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5785), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40723 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5786), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40724 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5787), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_UI4), vtstr(VT_DATE), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40725 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5788), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40726 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5789), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40727 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40728 | { | |
40729 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5792), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40730 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5793), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40731 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5794), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40732 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5795), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40733 | } | |
40734 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5797), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_UI4), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40735 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5798), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40736 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5799), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40737 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5800), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_UI4), vtstr(VT_UINT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40738 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5801), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40739 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5802), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40740 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5803), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40741 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5804), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40742 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5805), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40743 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5806), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_UI4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40744 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5807), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_UI4), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40745 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0xffffffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5808), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40746 | ((&left)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5809), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI4), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40747 | ||
40748 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5811), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R4), vtstr(VT_R4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40749 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5812), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40750 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.n3.fltVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5813), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40751 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5814), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R4), vtstr(VT_R8), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40752 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5815), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40753 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5816), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40754 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5817), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R4), vtstr(VT_DATE), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40755 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5818), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40756 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5819), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40757 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40758 | { | |
40759 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5822), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarAndFail, vtstr(VT_R4), vtstr(VT_I8), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40760 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5823), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40761 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5824), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40762 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5825), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40763 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5826), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40764 | } | |
40765 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5828), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R4), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40766 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5829), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40767 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5830), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40768 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5831), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R4), vtstr(VT_UINT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40769 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5832), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40770 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5833), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40771 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5834), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40772 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5835), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40773 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5836), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40774 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5837), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40775 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5838), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_R4), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40776 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5839), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40777 | ((&left)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5840), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R4), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40778 | ||
40779 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5842), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R8), vtstr(VT_R8), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40780 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5843), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40781 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.n3.dblVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5844), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40782 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5845), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R8), vtstr(VT_DATE), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40783 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5846), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40784 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5847), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40785 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40786 | { | |
40787 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5850), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarAndFail, vtstr(VT_R8), vtstr(VT_I8), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40788 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5851), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40789 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5852), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40790 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5853), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40791 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5854), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40792 | } | |
40793 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5856), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R8), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40794 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5857), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40795 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5858), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40796 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5859), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R8), vtstr(VT_UINT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40797 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5860), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40798 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5861), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40799 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5862), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40800 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5863), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40801 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5864), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40802 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5865), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_R8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40803 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5866), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_R8), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40804 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5867), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40805 | ((&left)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5868), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_R8), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40806 | ||
40807 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5870), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_DATE), vtstr(VT_DATE), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40808 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5871), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40809 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.n3.date) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5872), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40810 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40811 | { | |
40812 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5875), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarAndFail, vtstr(VT_DATE), vtstr(VT_I8), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40813 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5876), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40814 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5877), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40815 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5878), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40816 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5879), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40817 | } | |
40818 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5881), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_DATE), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40819 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5882), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40820 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5883), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40821 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffffffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5884), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_DATE), vtstr(VT_UINT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40822 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5885), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40823 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5886), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40824 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5887), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40825 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5888), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40826 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5889), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40827 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5890), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_DATE), vtstr(VT_BSTR), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40828 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5891), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_DATE), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40829 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5892), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40830 | ((&left)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5893), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_DATE), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40831 | ||
40832 | if (((void*)GetProcAddress(hOleaut32, "VarI8FromI1") != ((void *)0))) | |
40833 | { | |
40834 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5897), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarAndFail, vtstr(VT_I8), vtstr(VT_I8), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40835 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5898), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40836 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.n3.llVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5899), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40837 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5900), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_UI8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40838 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5901), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_UI8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40839 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5902), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_UINT), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40840 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5903), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_UINT), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40841 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5904), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_BSTR), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40842 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5905), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_BSTR), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40843 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5906), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_BSTR), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40844 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5907), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarAndFail, vtstr(VT_I8), vtstr(VT_BSTR), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40845 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5908), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (1), szVarAndFail, vtstr(VT_I8), vtstr(VT_CY), vtstr(VT_I8), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40846 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5909), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_CY), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40847 | ((&left)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5910), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarAndFail, vtstr(VT_I8), vtstr(VT_CY), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
40848 | ||
40849 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5912), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarAndFail, vtstr(VT_UI8), vtstr(VT_UI8), vtstr(VT_I4), (int)(0xffff), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40850 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5913), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40851 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.n3.ullVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5914), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40852 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5915), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI8), vtstr(VT_INT), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40853 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5916), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40854 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5917), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40855 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5918), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarAndFail, vtstr(VT_UI8), vtstr(VT_UINT), vtstr(VT_I4), (int)(0xffff), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40856 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5919), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40857 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5920), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40858 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5921), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40859 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5922), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40860 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5923), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40861 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5924), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UI8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40862 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5925), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_UI8), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40863 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5926), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40864 | ((&left)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5927), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UI8), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40865 | } | |
40866 | ||
40867 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = -1; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5930), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_INT), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40868 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5931), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_INT), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40869 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.n3.intVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5932), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_INT), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40870 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5933), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_INT), vtstr(VT_UINT), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40871 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5934), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_INT), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40872 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5935), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_INT), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40873 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5936), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_INT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40874 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5937), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_INT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40875 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5938), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_INT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40876 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5939), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarAndFail, vtstr(VT_INT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40877 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5940), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_INT), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40878 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = -1; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5941), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_INT), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40879 | ((&left)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5942), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_INT), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40880 | ||
40881 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0xffff; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5944), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0xffff), szVarAndFail, vtstr(VT_UINT), vtstr(VT_UINT), vtstr(VT_I4), (int)(0xffff), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40882 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5945), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UINT), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40883 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.n3.uintVal) = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5946), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UINT), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40884 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5947), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UINT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40885 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5948), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UINT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40886 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5949), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UINT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40887 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5950), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (65535), szVarAndFail, vtstr(VT_UINT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(65535), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40888 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5951), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_UINT), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40889 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0xffff; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5952), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UINT), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40890 | ((&left)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 0; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 0; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5953), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_UINT), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40891 | ||
40892 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = false_str; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5955), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (0), szVarAndFail, vtstr(VT_BSTR), vtstr(VT_BSTR), vtstr(VT_BOOL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40893 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = true_str; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = false_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5956), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0x0000)), szVarAndFail, vtstr(VT_BSTR), vtstr(VT_BSTR), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0x0000)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40894 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = true_str; ((&right)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.n3.bstrVal) = true_str; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5957), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_BOOL && ((&result)->n1.n2.n3.boolVal) == (((VARIANT_BOOL)0xFFFF)), szVarAndFail, vtstr(VT_BSTR), vtstr(VT_BSTR), vtstr(VT_BOOL), (int)(((VARIANT_BOOL)0xFFFF)), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.boolVal));; | |
40895 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = true_str; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5958), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (1), szVarAndFail, vtstr(VT_BSTR), vtstr(VT_CY), vtstr(VT_I4), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40896 | ((&left)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = false_str; ((&right)->n1.n2.vt) = VT_CY; ((&right)->n1.n2.n3.cyVal).int64 = 10000; memset(&result,0,sizeof(result)); hres = pVarAnd(&left,&right,&result); (winetest_set_location("vartest.c", 5959), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarAndFail, vtstr(VT_BSTR), vtstr(VT_CY), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
40897 | ||
40898 | SysFreeString(true_str); | |
40899 | SysFreeString(false_str); | |
40900 | } | |
40901 | ||
40902 | static HRESULT (__attribute__((__stdcall__)) *pVarCmp)(LPVARIANT,LPVARIANT,LCID,ULONG); | |
40903 | # 5985 "vartest.c" | |
40904 | static void test_VarCmp(void) | |
40905 | { | |
40906 | VARIANT left, right; | |
40907 | VARTYPE i; | |
40908 | LCID lcid; | |
40909 | HRESULT hres; | |
40910 | DECIMAL dec; | |
40911 | static const WCHAR szhuh[] = {'h','u','h','?','\0'}; | |
40912 | static const WCHAR sz2cents[] = {'2','c','e','n','t','s','\0'}; | |
40913 | static const WCHAR szempty[] = {'\0'}; | |
40914 | static const WCHAR sz0[] = {'0','\0'}; | |
40915 | static const WCHAR sz1[] = {'1','\0'}; | |
40916 | static const WCHAR sz7[] = {'7','\0'}; | |
40917 | static const WCHAR sz42[] = {'4','2','\0'}; | |
40918 | static const WCHAR sz1neg[] = {'-','1','\0'}; | |
40919 | static const WCHAR sz666neg[] = {'-','6','6','6','\0'}; | |
40920 | static const WCHAR sz1few[] = {'1','.','0','0','0','0','0','0','0','1','\0'}; | |
40921 | BSTR bstrhuh, bstrempty, bstr0, bstr1, bstr7, bstr42, bstr1neg, bstr666neg; | |
40922 | BSTR bstr2cents, bstr1few; | |
40923 | ||
40924 | pVarCmp = (void*)GetProcAddress(hOleaut32, "VarCmp"); if (!pVarCmp) { (winetest_set_location("vartest.c", 6005), 0) ? (void)0 : winetest_trace("function " "VarCmp" " not available, not testing it\n"); return; }; | |
40925 | ||
40926 | lcid = (((LONG)(((WORD)((DWORD_PTR)(((((WORD)(0x01))<<10) | (WORD)(0x09))) & 0xFFFF)) | ((DWORD)((WORD)((DWORD_PTR)(0x0) & 0xFFFF))) << 16))); | |
40927 | bstrempty = SysAllocString(szempty); | |
40928 | bstrhuh = SysAllocString(szhuh); | |
40929 | bstr2cents = SysAllocString(sz2cents); | |
40930 | bstr0 = SysAllocString(sz0); | |
40931 | bstr1 = SysAllocString(sz1); | |
40932 | bstr7 = SysAllocString(sz7); | |
40933 | bstr42 = SysAllocString(sz42); | |
40934 | bstr1neg = SysAllocString(sz1neg); | |
40935 | bstr666neg = SysAllocString(sz666neg); | |
40936 | bstr1few = SysAllocString(sz1few); | |
40937 | ||
40938 | ||
40939 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
40940 | { | |
40941 | VARTYPE leftvt, rightvt; | |
40942 | ||
40943 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
40944 | { | |
40945 | ||
40946 | if((leftvt > VT_CLSID+10) && (leftvt < VT_BSTR_BLOB-10)) continue;; | |
40947 | ||
40948 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
40949 | { | |
40950 | BOOL bFail = 0; | |
40951 | HRESULT expect = 1; | |
40952 | ||
40953 | if((rightvt > VT_CLSID+10) && (rightvt < VT_BSTR_BLOB-10)) continue;; | |
40954 | ||
40955 | memset(&left, 0, sizeof(left)); | |
40956 | memset(&right, 0, sizeof(right)); | |
40957 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
40958 | if (leftvt == VT_BSTR) { | |
40959 | ((&left)->n1.n2.n3.bstrVal) = bstr1neg; | |
40960 | if (ExtraFlags[i] & VT_RESERVED) | |
40961 | expect = 0; | |
40962 | else | |
40963 | expect = 2; | |
40964 | } | |
40965 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
40966 | if (rightvt == VT_BSTR) { | |
40967 | ((&right)->n1.n2.n3.bstrVal) = bstr1neg; | |
40968 | if (ExtraFlags[i] & VT_RESERVED) | |
40969 | expect = 2; | |
40970 | else | |
40971 | expect = 0; | |
40972 | } | |
40973 | ||
40974 | ||
40975 | ||
40976 | ||
40977 | ||
40978 | if (ExtraFlags[i] & VT_ARRAY || ExtraFlags[i] & VT_BYREF || | |
40979 | !IsValidVariantClearVT(leftvt, ExtraFlags[i] & ~VT_RESERVED) || | |
40980 | !IsValidVariantClearVT(rightvt, ExtraFlags[i] & ~VT_RESERVED) || | |
40981 | leftvt == VT_CLSID || rightvt == VT_CLSID || | |
40982 | leftvt == VT_DISPATCH || rightvt == VT_DISPATCH || | |
40983 | leftvt == VT_ERROR || rightvt == VT_ERROR || | |
40984 | leftvt == VT_RECORD || rightvt == VT_RECORD || | |
40985 | leftvt == VT_UNKNOWN || rightvt == VT_UNKNOWN || | |
40986 | leftvt == VT_VARIANT || rightvt == VT_VARIANT || | |
40987 | leftvt == VT_I1 || rightvt == VT_I1 || | |
40988 | leftvt == VT_UI2 || rightvt == VT_UI2 || | |
40989 | leftvt == VT_UI4 || rightvt == VT_UI4 || | |
40990 | leftvt == VT_UI8 || rightvt == VT_UI8 || | |
40991 | rightvt == VT_INT || | |
40992 | leftvt == VT_UINT || rightvt == VT_UINT) { | |
40993 | bFail = 1; | |
40994 | } | |
40995 | ||
40996 | if (leftvt == VT_ERROR && rightvt == VT_ERROR && | |
40997 | !(ExtraFlags[i] & ~VT_RESERVED)) { | |
40998 | expect = 1; | |
40999 | bFail = 0; | |
41000 | } else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
41001 | expect = 3; | |
41002 | else if (leftvt == VT_BSTR && rightvt == VT_BSTR) | |
41003 | expect = 1; | |
41004 | else if (leftvt == VT_BSTR && rightvt == VT_EMPTY) | |
41005 | expect = 2; | |
41006 | else if (leftvt == VT_EMPTY && rightvt == VT_BSTR) | |
41007 | expect = 0; | |
41008 | ||
41009 | hres = pVarCmp(&left, &right, ((((LONG)(((WORD)((DWORD_PTR)((((((WORD)(0x01))<<10) | (WORD)(0x00)))) & 0xFFFF)) | ((DWORD)((WORD)((DWORD_PTR)(0x0) & 0xFFFF))) << 16)))), 0); | |
41010 | if (bFail) { | |
41011 | (winetest_set_location("vartest.c", 6092), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L) || hres == ((HRESULT)0x80020008L), | |
41012 | "VarCmp: %d|0x%X, %d|0x%X: Expected failure, got 0x%lX\n", | |
41013 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], hres); | |
41014 | } else { | |
41015 | (winetest_set_location("vartest.c", 6096), 0) ? 0 : winetest_ok(hres == expect, | |
41016 | "VarCmp: %d|0x%X, %d|0x%X: Expected 0x%lX, got 0x%lX\n", | |
41017 | leftvt, ExtraFlags[i], rightvt, ExtraFlags[i], expect, | |
41018 | hres); | |
41019 | } | |
41020 | } | |
41021 | } | |
41022 | } | |
41023 | ||
41024 | ||
41025 | ||
41026 | ||
41027 | ((&left)->n1.n2.n3.intVal) = 4711; ((&left)->n1.n2.vt) = VT_INT | 0; ((&right)->n1.n2.n3.iVal) = 4711; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6108), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "INT" "|" "0" ",VT_" "I2" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.intVal) = 4711; ((&left)->n1.n2.vt) = VT_INT | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 4711; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6108), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "INT" "|" "VT_RESERVED" ",VT_" "I2" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.intVal) = 4711; ((&left)->n1.n2.vt) = VT_INT | 0; ((&right)->n1.n2.n3.iVal) = 4711; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6108), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "INT" "|" "0" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.intVal) = 4711; ((&left)->n1.n2.vt) = VT_INT | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 4711; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6108), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "INT" "|" "VT_RESERVED" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41028 | (winetest_set_location("vartest.c", 6109), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) & ((&right)->n1.n2.vt) & VT_RESERVED, "VT_RESERVED filtered out!\n"); | |
41029 | ((&left)->n1.n2.n3.intVal) = 4711; ((&left)->n1.n2.vt) = VT_INT | 0; ((&right)->n1.n2.n3.iVal) = -4711; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6110), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "INT" "|" "0" ",VT_" "I2" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.intVal) = 4711; ((&left)->n1.n2.vt) = VT_INT | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = -4711; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6110), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "INT" "|" "VT_RESERVED" ",VT_" "I2" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.intVal) = 4711; ((&left)->n1.n2.vt) = VT_INT | 0; ((&right)->n1.n2.n3.iVal) = -4711; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6110), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "INT" "|" "0" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.intVal) = 4711; ((&left)->n1.n2.vt) = VT_INT | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = -4711; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6110), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "INT" "|" "VT_RESERVED" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41030 | ((&left)->n1.n2.n3.scode) = 0; ((&left)->n1.n2.vt) = VT_ERROR | 0; ((&right)->n1.n2.n3.scode) = 0; ((&right)->n1.n2.vt) = VT_ERROR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6111), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "ERROR" "|" "0" ",VT_" "ERROR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.scode) = 0; ((&left)->n1.n2.vt) = VT_ERROR | VT_RESERVED; ((&right)->n1.n2.n3.scode) = 0; ((&right)->n1.n2.vt) = VT_ERROR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6111), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "ERROR" "|" "VT_RESERVED" ",VT_" "ERROR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.scode) = 0; ((&left)->n1.n2.vt) = VT_ERROR | 0; ((&right)->n1.n2.n3.scode) = 0; ((&right)->n1.n2.vt) = VT_ERROR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6111), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "ERROR" "|" "0" ",VT_" "ERROR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.scode) = 0; ((&left)->n1.n2.vt) = VT_ERROR | VT_RESERVED; ((&right)->n1.n2.n3.scode) = 0; ((&right)->n1.n2.vt) = VT_ERROR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6111), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "ERROR" "|" "VT_RESERVED" ",VT_" "ERROR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41031 | ((&left)->n1.n2.n3.scode) = 0; ((&left)->n1.n2.vt) = VT_ERROR | 0; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6112), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L), "VarCmp(VT_" "ERROR" "|" "0" ",VT_" "UI1" "|" "0" "): expected " "((HRESULT)0x80020005L)" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.scode) = 0; ((&left)->n1.n2.vt) = VT_ERROR | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6112), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L), "VarCmp(VT_" "ERROR" "|" "VT_RESERVED" ",VT_" "UI1" "|" "0" "): expected " "((HRESULT)0x80020005L)" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.scode) = 0; ((&left)->n1.n2.vt) = VT_ERROR | 0; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6112), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L), "VarCmp(VT_" "ERROR" "|" "0" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "((HRESULT)0x80020005L)" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.scode) = 0; ((&left)->n1.n2.vt) = VT_ERROR | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6112), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020005L), "VarCmp(VT_" "ERROR" "|" "VT_RESERVED" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "((HRESULT)0x80020005L)" ", got hres=0x%lx\n", hres); | |
41032 | ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6113), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "EMPTY" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6113), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6113), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6113), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41033 | ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_I4 | 0; ((&right)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6114), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I4" "|" "0" ",VT_" "R8" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_I4 | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6114), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I4" "|" "VT_RESERVED" ",VT_" "R8" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_I4 | 0; ((&right)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6114), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I4" "|" "0" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_I4 | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6114), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I4" "|" "VT_RESERVED" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41034 | ((&left)->n1.n2.n3.lVal) = 19; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6115), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "I2" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 19; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6115), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "I2" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 19; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6115), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 19; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6115), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41035 | (winetest_set_location("vartest.c", 6116), 0) ? 0 : winetest_ok(((&left)->n1.n2.n3.lVal) == 19, "VT_EMPTY modified!\n"); | |
41036 | (winetest_set_location("vartest.c", 6117), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) & ((&right)->n1.n2.vt) & VT_RESERVED, "VT_RESERVED filtered out!\n"); | |
41037 | ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_I4 | 0; ((&right)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6118), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I4" "|" "0" ",VT_" "UI1" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_I4 | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6118), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I4" "|" "VT_RESERVED" ",VT_" "UI1" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_I4 | 0; ((&right)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6118), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I4" "|" "0" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_I4 | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6118), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I4" "|" "VT_RESERVED" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41038 | ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6119), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I2" "|" "0" ",VT_" "I2" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6119), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "I2" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6119), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I2" "|" "0" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6119), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41039 | ((&left)->n1.n2.n3.iVal) = 1; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6120), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I2" "|" "0" ",VT_" "I2" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 1; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6120), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "I2" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 1; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6120), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I2" "|" "0" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 1; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6120), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41040 | ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6121), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I2" "|" "0" ",VT_" "I2" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6121), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "I2" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6121), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I2" "|" "0" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6121), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41041 | ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6122), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I2" "|" "0" ",VT_" "EMPTY" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6122), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6122), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I2" "|" "0" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6122), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41042 | ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_NULL | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6123), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "I2" "|" "0" ",VT_" "NULL_" "|" "0" "): expected " "3" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_NULL | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6123), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "NULL_" "|" "0" "): expected " "3" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_NULL | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6123), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "I2" "|" "0" ",VT_" "NULL_" "|" "VT_RESERVED" "): expected " "3" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 2; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_NULL | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6123), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "NULL_" "|" "VT_RESERVED" "): expected " "3" ", got hres=0x%lx\n", hres); | |
41043 | ||
41044 | ||
41045 | ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6126), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "NULL_" "|" "0" "): expected " "3" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6126), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "NULL_" "|" "0" "): expected " "3" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6126), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "NULL_" "|" "VT_RESERVED" "): expected " "3" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6126), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "NULL_" "|" "VT_RESERVED" "): expected " "3" ", got hres=0x%lx\n", hres); | |
41046 | ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6127), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6127), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6127), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6127), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41047 | ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6128), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6128), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6128), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6128), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41048 | ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6129), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6129), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6129), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6129), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41049 | ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr1neg; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6130), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr1neg; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6130), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr1neg; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6130), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr1neg; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6130), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41050 | ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6131), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6131), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6131), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6131), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41051 | ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6132), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6132), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6132), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6132), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41052 | ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6133), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6133), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6133), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6133), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41053 | ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6134), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "EMPTY" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6134), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6134), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6134), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41054 | ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6135), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6135), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6135), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6135), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41055 | ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6136), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6136), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6136), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6136), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41056 | ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6137), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6137), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_EMPTY | 0; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6137), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 1; ((&left)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6137), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "EMPTY" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41057 | ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6138), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "EMPTY" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6138), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6138), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6138), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41058 | ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6139), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "EMPTY" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6139), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6139), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6139), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41059 | ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6140), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "UI1" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6140), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "UI1" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6140), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6140), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41060 | ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6141), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I2" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6141), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I2" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6141), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrempty; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = -1; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6141), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41061 | ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_I4 | 0; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6142), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I4" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_I4 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6142), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I4" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_I4 | 0; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6142), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I4" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 0; ((&left)->n1.n2.vt) = VT_I4 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstrempty; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6142), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I4" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41062 | ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6143), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "UI1" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6143), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "UI1" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6143), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = ((void *)0); ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6143), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41063 | ((&left)->n1.n2.n3.lVal) = 7; ((&left)->n1.n2.vt) = VT_I4 | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6144), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I4" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 7; ((&left)->n1.n2.vt) = VT_I4 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6144), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I4" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 7; ((&left)->n1.n2.vt) = VT_I4 | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6144), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "I4" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.lVal) = 7; ((&left)->n1.n2.vt) = VT_I4 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6144), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I4" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41064 | ((&left)->n1.n2.n3.bstrVal) = (BSTR)100; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.iVal) = 100; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6145), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I2" "|" "0" "): expected " "VARCMP_GT" ", got hres=0x%lx\n", hres); | |
41065 | ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6146), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "UI1" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6146), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "UI1" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6146), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bVal) = 0; ((&right)->n1.n2.vt) = VT_UI1 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6146), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "UI1" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41066 | ((&left)->n1.n2.n3.iVal) = 0; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6147), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I2" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 0; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6147), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 0; ((&left)->n1.n2.vt) = VT_I2 | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6147), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "I2" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.iVal) = 0; ((&left)->n1.n2.vt) = VT_I2 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6147), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "I2" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41067 | (winetest_set_location("vartest.c", 6148), 0) ? 0 : winetest_ok(((&left)->n1.n2.vt) & ((&right)->n1.n2.vt) & VT_RESERVED, "VT_RESERVED filtered out!\n"); | |
41068 | ((&left)->n1.n2.n3.bstrVal) = bstrhuh; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6149), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrhuh; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6149), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrhuh; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6149), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstrhuh; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6149), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41069 | ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6150), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6150), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6150), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6150), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41070 | ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6151), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6151), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6151), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6151), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41071 | ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6152), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6152), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6152), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6152), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41072 | ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6153), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6153), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6153), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr2cents; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6153), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41073 | ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6154), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I2" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6154), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I2" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6154), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.iVal) = 0; ((&right)->n1.n2.vt) = VT_I2 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6154), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I2" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41074 | ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6155), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6155), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6155), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6155), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41075 | ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6156), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6156), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6156), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr0; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6156), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41076 | ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6157), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6157), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6157), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6157), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41077 | ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6158), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6158), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6158), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6158), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41078 | ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6159), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6159), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6159), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6159), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41079 | ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6160), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6160), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6160), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6160), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41080 | ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6161), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6161), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6161), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6161), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41081 | ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6162), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6162), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6162), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6162), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41082 | ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6163), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6163), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6163), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6163), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41083 | ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6164), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6164), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6164), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6164), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41084 | ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6165), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6165), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6165), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6165), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41085 | ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6166), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6166), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6166), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6166), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41086 | ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6167), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6167), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6167), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6167), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41087 | ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6168), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6168), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6168), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6168), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41088 | ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6169), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6169), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6169), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6169), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41089 | ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6170), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6170), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6170), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr1neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6170), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41090 | ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6171), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6171), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6171), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6171), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41091 | ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6172), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6172), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6172), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 7; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6172), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41092 | ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6173), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6173), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6173), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 42; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6173), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41093 | ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6174), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6174), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6174), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0x7fffffff; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6174), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41094 | ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6175), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6175), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6175), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -1; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6175), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41095 | ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6176), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6176), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6176), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr666neg; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = -666; ((&right)->n1.n2.vt) = VT_I4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6176), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "I4" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41096 | ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.dblVal) = 7.0; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6177), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "R8" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 7.0; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6177), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "R8" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.dblVal) = 7.0; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6177), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 7.0; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6177), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41097 | ((&left)->n1.n2.n3.dblVal) = 3.141592; ((&left)->n1.n2.vt) = VT_R8 | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6178), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R8" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 3.141592; ((&left)->n1.n2.vt) = VT_R8 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6178), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R8" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 3.141592; ((&left)->n1.n2.vt) = VT_R8 | 0; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6178), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "R8" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 3.141592; ((&left)->n1.n2.vt) = VT_R8 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = ((void *)0); ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6178), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R8" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41098 | ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr7; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6179), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr7; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6179), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr7; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6179), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr7; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6179), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41099 | ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr42; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6180), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr42; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6180), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr42; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6180), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr7; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr42; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6180), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41100 | ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr7; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6181), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr7; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6181), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | 0; ((&right)->n1.n2.n3.bstrVal) = bstr7; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6181), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.bstrVal) = bstr42; ((&left)->n1.n2.vt) = VT_BSTR | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr7; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6181), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "BSTR" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41101 | ||
41102 | ||
41103 | ((dec)).scale = (BYTE)0; ((dec)).sign = (BYTE)0; dec.Hi32 = (ULONG)0; (dec).Lo64 = (ULONG64)0; | |
41104 | ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6185), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6185), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6185), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr0; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6185), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41105 | ((dec)).scale = (BYTE)0; ((dec)).sign = (BYTE)0; dec.Hi32 = (ULONG)0xFFFFFFFF; ((dec)).Mid32 = 0xFFFFFFFF; ((dec)).Lo32 = 0xFFFFFFFF;; | |
41106 | ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6187), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "R8" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6187), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "R8" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6187), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6187), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41107 | ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.date) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6188), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "DATE" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.date) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6188), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "DATE" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.date) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6188), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.date) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6188), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41108 | ((dec)).scale = (BYTE)0; ((dec)).sign = (BYTE)0x80; dec.Hi32 = (ULONG)0xFFFFFFFF; ((dec)).Mid32 = 0xFFFFFFFF; ((dec)).Lo32 = 0xFFFFFFFF;; | |
41109 | ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.dblVal) = -1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6190), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "R8" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = -1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6190), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "R8" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.dblVal) = -1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6190), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = -1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6190), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41110 | ((dec)).scale = (BYTE)20; ((dec)).sign = (BYTE)0; dec.Hi32 = (ULONG)0x5; ((dec)).Mid32 = 0x6BC75E2D; ((dec)).Lo32 = 0x63100001;; | |
41111 | ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.dblVal) = 1; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6192), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "R8" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6192), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "R8" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | 0; ((&right)->n1.n2.n3.dblVal) = 1; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6192), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DECIMAL" "|" "0" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.decVal) = dec; ((&left)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6192), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DECIMAL" "|" "VT_RESERVED" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41112 | ||
41113 | ||
41114 | ((&left)->n1.n2.n3.date) = 2958465; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 2958465 +1; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6195), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 2958465; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 2958465 +1; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6195), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 2958465; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 2958465 +1; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6195), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 2958465; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 2958465 +1; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6195), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41115 | ((&left)->n1.n2.n3.date) = -657434; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = -657434 -1; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6196), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = -657434; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = -657434 -1; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6196), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = -657434; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = -657434 -1; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6196), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = -657434; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = -657434 -1; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6196), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41116 | ((&left)->n1.n2.n3.date) = 2.2250738585072014e-308; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6197), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "R8" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 2.2250738585072014e-308; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6197), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "R8" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 2.2250738585072014e-308; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6197), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 2.2250738585072014e-308; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 2.2250738585072014e-308; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6197), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41117 | ((&left)->n1.n2.n3.date) = 1; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 1+1e-15; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6198), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 1; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 1+1e-15; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6198), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 1; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 1+1e-15; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6198), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 1; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 1+1e-15; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6198), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41118 | ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 25570.0; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6199), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 25570.0; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6199), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 25570.0; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6199), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 25570.0; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6199), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41119 | ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 25571.0; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6200), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 25571.0; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6200), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 25571.0; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6200), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 25571.0; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6200), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41120 | ((&left)->n1.n2.n3.date) = 25571.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 25570.0; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6201), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25571.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 25570.0; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6201), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25571.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.date) = 25570.0; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6201), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25571.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.date) = 25570.0; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6201), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41121 | ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6202), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "EMPTY" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6202), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6202), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_EMPTY | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6202), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "EMPTY" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41122 | ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6203), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "NULL_" "|" "0" "): expected " "3" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6203), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "NULL_" "|" "0" "): expected " "3" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | 0; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6203), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "DATE" "|" "0" ",VT_" "NULL_" "|" "VT_RESERVED" "): expected " "3" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.date) = 25570.0; ((&left)->n1.n2.vt) = VT_DATE | VT_RESERVED; ((&right)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.vt) = VT_NULL | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6203), 0) ? 0 : winetest_ok(hres == 3, "VarCmp(VT_" "DATE" "|" "VT_RESERVED" ",VT_" "NULL_" "|" "VT_RESERVED" "): expected " "3" ", got hres=0x%lx\n", hres); | |
41123 | ||
41124 | ||
41125 | ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.n2.n3.dblVal) = 1+1e-8; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6206), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R4" "|" "0" ",VT_" "R8" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1+1e-8; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6206), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "R8" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.n2.n3.dblVal) = 1+1e-8; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6206), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R4" "|" "0" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1+1e-8; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6206), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41126 | ((&left)->n1.n2.n3.dblVal) = 1+1e-8; ((&left)->n1.n2.vt) = VT_R8 | 0; ((&right)->n1.n2.n3.fltVal) = 1; ((&right)->n1.n2.vt) = VT_R4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6207), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R8" "|" "0" ",VT_" "R4" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 1+1e-8; ((&left)->n1.n2.vt) = VT_R8 | VT_RESERVED; ((&right)->n1.n2.n3.fltVal) = 1; ((&right)->n1.n2.vt) = VT_R4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6207), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R8" "|" "VT_RESERVED" ",VT_" "R4" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 1+1e-8; ((&left)->n1.n2.vt) = VT_R8 | 0; ((&right)->n1.n2.n3.fltVal) = 1; ((&right)->n1.n2.vt) = VT_R4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6207), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R8" "|" "0" ",VT_" "R4" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 1+1e-8; ((&left)->n1.n2.vt) = VT_R8 | VT_RESERVED; ((&right)->n1.n2.n3.fltVal) = 1; ((&right)->n1.n2.vt) = VT_R4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6207), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R8" "|" "VT_RESERVED" ",VT_" "R4" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41127 | ((&left)->n1.n2.n3.dblVal) = 1+1e-8; ((&left)->n1.n2.vt) = VT_R8 | 0; ((&right)->n1.n2.n3.dblVal) = 1; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6208), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "R8" "|" "0" ",VT_" "R8" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 1+1e-8; ((&left)->n1.n2.vt) = VT_R8 | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6208), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "R8" "|" "VT_RESERVED" ",VT_" "R8" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 1+1e-8; ((&left)->n1.n2.vt) = VT_R8 | 0; ((&right)->n1.n2.n3.dblVal) = 1; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6208), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "R8" "|" "0" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 1+1e-8; ((&left)->n1.n2.vt) = VT_R8 | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6208), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "R8" "|" "VT_RESERVED" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41128 | ((&left)->n1.n2.n3.dblVal) = 3.40282347e+38F*1.1; ((&left)->n1.n2.vt) = VT_R8 | 0; ((&right)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6209), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "R8" "|" "0" ",VT_" "R4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 3.40282347e+38F*1.1; ((&left)->n1.n2.vt) = VT_R8 | VT_RESERVED; ((&right)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6209), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "R8" "|" "VT_RESERVED" ",VT_" "R4" "|" "0" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 3.40282347e+38F*1.1; ((&left)->n1.n2.vt) = VT_R8 | 0; ((&right)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6209), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "R8" "|" "0" ",VT_" "R4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.dblVal) = 3.40282347e+38F*1.1; ((&left)->n1.n2.vt) = VT_R8 | VT_RESERVED; ((&right)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&right)->n1.n2.vt) = VT_R4 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6209), 0) ? 0 : winetest_ok(hres == 2, "VarCmp(VT_" "R8" "|" "VT_RESERVED" ",VT_" "R4" "|" "VT_RESERVED" "): expected " "2" ", got hres=0x%lx\n", hres); | |
41129 | ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6210), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "0" ",VT_" "R8" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6210), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "R8" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6210), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "0" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 3.40282347e+38F; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.n2.n3.dblVal) = 1.7976931348623157e+308; ((&right)->n1.n2.vt) = VT_R8 | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6210), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "R8" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41130 | ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.n2.n3.date) = 1+1e-8; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6211), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R4" "|" "0" ",VT_" "DATE" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.n2.n3.date) = 1+1e-8; ((&right)->n1.n2.vt) = VT_DATE | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6211), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "DATE" "|" "0" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.n2.n3.date) = 1+1e-8; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6211), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R4" "|" "0" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.n2.n3.date) = 1+1e-8; ((&right)->n1.n2.vt) = VT_DATE | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6211), 0) ? 0 : winetest_ok(hres == 1, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "DATE" "|" "VT_RESERVED" "): expected " "1" ", got hres=0x%lx\n", hres); | |
41131 | ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.n2.n3.bstrVal) = bstr1few; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6212), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "0" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr1few; ((&right)->n1.n2.vt) = VT_BSTR | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6212), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.n2.n3.bstrVal) = bstr1few; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6212), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "0" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.n2.n3.bstrVal) = bstr1few; ((&right)->n1.n2.vt) = VT_BSTR | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6212), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "BSTR" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41132 | ((dec)).scale = (BYTE)8; ((dec)).sign = (BYTE)0; dec.Hi32 = (ULONG)0; (dec).Lo64 = (ULONG64)0x5F5E101; | |
41133 | ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.decVal) = dec; ((&right)->n1.n2.vt) = VT_DECIMAL | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6214), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "0" ",VT_" "DECIMAL" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.decVal) = dec; ((&right)->n1.n2.vt) = VT_DECIMAL | 0; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6214), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "DECIMAL" "|" "0" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | 0; ((&right)->n1.decVal) = dec; ((&right)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6214), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "0" ",VT_" "DECIMAL" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); ((&left)->n1.n2.n3.fltVal) = 1; ((&left)->n1.n2.vt) = VT_R4 | VT_RESERVED; ((&right)->n1.decVal) = dec; ((&right)->n1.n2.vt) = VT_DECIMAL | VT_RESERVED; hres = pVarCmp(&left,&right,lcid,0); (winetest_set_location("vartest.c", 6214), 0) ? 0 : winetest_ok(hres == 0, "VarCmp(VT_" "R4" "|" "VT_RESERVED" ",VT_" "DECIMAL" "|" "VT_RESERVED" "): expected " "0" ", got hres=0x%lx\n", hres); | |
41134 | ||
41135 | SysFreeString(bstrhuh); | |
41136 | SysFreeString(bstrempty); | |
41137 | SysFreeString(bstr0); | |
41138 | SysFreeString(bstr1); | |
41139 | SysFreeString(bstr7); | |
41140 | SysFreeString(bstr42); | |
41141 | SysFreeString(bstr1neg); | |
41142 | SysFreeString(bstr666neg); | |
41143 | SysFreeString(bstr2cents); | |
41144 | SysFreeString(bstr1few); | |
41145 | } | |
41146 | ||
41147 | static HRESULT (__attribute__((__stdcall__)) *pVarPow)(LPVARIANT,LPVARIANT,LPVARIANT); | |
41148 | ||
41149 | static const char *szVarPowFail = "VarPow(%s,%s): expected 0x0,%s,%d, got 0x%lX,%s,%d\n"; | |
41150 | # 6251 "vartest.c" | |
41151 | static void test_VarPow(void) | |
41152 | { | |
41153 | static const WCHAR str2[] = { '2','\0' }; | |
41154 | static const WCHAR str3[] = { '3','\0' }; | |
41155 | VARIANT left, right, result, cy, dec; | |
41156 | BSTR num2_str, num3_str; | |
41157 | VARTYPE i; | |
41158 | HRESULT hres; | |
41159 | ||
41160 | pVarPow = (void*)GetProcAddress(hOleaut32, "VarPow"); if (!pVarPow) { (winetest_set_location("vartest.c", 6260), 0) ? (void)0 : winetest_trace("function " "VarPow" " not available, not testing it\n"); return; }; | |
41161 | ||
41162 | num2_str = SysAllocString(str2); | |
41163 | num3_str = SysAllocString(str3); | |
41164 | ||
41165 | ||
41166 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
41167 | { | |
41168 | VARTYPE leftvt, rightvt, resvt; | |
41169 | ||
41170 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
41171 | { | |
41172 | if (leftvt == VT_ERROR || leftvt == VT_VARIANT || leftvt == VT_DISPATCH || leftvt == VT_UNKNOWN || leftvt == VT_RECORD || leftvt > VT_UINT || leftvt == 15 ) continue;; | |
41173 | ||
41174 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
41175 | { | |
41176 | BOOL bFail = 0; | |
41177 | if (rightvt == VT_ERROR || rightvt == VT_VARIANT || rightvt == VT_DISPATCH || rightvt == VT_UNKNOWN || rightvt == VT_RECORD || rightvt > VT_UINT || rightvt == 15 ) continue;; | |
41178 | ||
41179 | ||
41180 | if (ExtraFlags[i] == VT_BYREF) | |
41181 | continue; | |
41182 | ||
41183 | memset(&left, 0, sizeof(left)); | |
41184 | memset(&right, 0, sizeof(right)); | |
41185 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
41186 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
41187 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
41188 | resvt = VT_EMPTY; | |
41189 | ||
41190 | if (leftvt == VT_BSTR) | |
41191 | ((&left)->n1.n2.n3.bstrVal) = num2_str; | |
41192 | if (rightvt == VT_BSTR) | |
41193 | ((&right)->n1.n2.n3.bstrVal) = num2_str; | |
41194 | ||
41195 | ||
41196 | if (ExtraFlags[i] != 0) | |
41197 | bFail = 1; | |
41198 | ||
41199 | ||
41200 | else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
41201 | resvt = VT_NULL; | |
41202 | else if ((leftvt == VT_EMPTY || leftvt == VT_I2 || | |
41203 | leftvt == VT_I4 || leftvt == VT_R4 || | |
41204 | leftvt == VT_R8 || leftvt == VT_CY || | |
41205 | leftvt == VT_DATE || leftvt == VT_BSTR || | |
41206 | leftvt == VT_BOOL || leftvt == VT_DECIMAL || | |
41207 | (leftvt >= VT_I1 && leftvt <= VT_UINT)) && | |
41208 | (rightvt == VT_EMPTY || rightvt == VT_I2 || | |
41209 | rightvt == VT_I4 || rightvt == VT_R4 || | |
41210 | rightvt == VT_R8 || rightvt == VT_CY || | |
41211 | rightvt == VT_DATE || rightvt == VT_BSTR || | |
41212 | rightvt == VT_BOOL || rightvt == VT_DECIMAL || | |
41213 | (rightvt >= VT_I1 && rightvt <= VT_UINT))) | |
41214 | resvt = VT_R8; | |
41215 | else | |
41216 | bFail = 1; | |
41217 | ||
41218 | hres = pVarPow(&left, &right, &result); | |
41219 | ||
41220 | ||
41221 | if (bFail) | |
41222 | (winetest_set_location("vartest.c", 6322), 0) ? 0 : winetest_ok (hres == ((HRESULT)0x80020008L) || hres == ((HRESULT)0x80020005L), | |
41223 | "VarPow: %s|0x%X, %s|0x%X: got vt %s hr 0x%lX\n", | |
41224 | vtstr(leftvt), ExtraFlags[i], vtstr(rightvt), ExtraFlags[i], | |
41225 | vtstr(((&result)->n1.n2.vt)), hres); | |
41226 | else | |
41227 | (winetest_set_location("vartest.c", 6327), 0) ? 0 : winetest_ok (hres == ((HRESULT)0L) && resvt == ((&result)->n1.n2.vt), | |
41228 | "VarPow: %s|0x%X, %s|0x%X: expected vt %s hr 0x%lX, got vt %s hr 0x%lX\n", | |
41229 | vtstr(leftvt), ExtraFlags[i], vtstr(rightvt), ExtraFlags[i], vtstr(resvt), | |
41230 | ((HRESULT)0L), vtstr(((&result)->n1.n2.vt)), hres); | |
41231 | } | |
41232 | } | |
41233 | } | |
41234 | ||
41235 | ||
41236 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6336), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41237 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6337), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41238 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6338), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_I2), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41239 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6339), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_I4), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41240 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6340), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_R4), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41241 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6341), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_R8), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41242 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6342), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41243 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6343), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41244 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6344), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41245 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6345), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_I1), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41246 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6346), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_UI1), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41247 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6347), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_UI2), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41248 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6348), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_UI4), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41249 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6349), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_I8), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41250 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6350), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_UI8), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41251 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6351), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_INT), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41252 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6352), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarPowFail, vtstr(VT_EMPTY), vtstr(VT_UINT), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41253 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6353), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_EMPTY), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41254 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6354), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41255 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6355), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_I2), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41256 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6356), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_I4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41257 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6357), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_R4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41258 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6358), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_R8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41259 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6359), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_DATE), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41260 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6360), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_BSTR), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41261 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6361), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_BOOL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41262 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6362), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_I1), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41263 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6363), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_UI1), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41264 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6364), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_UI2), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41265 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6365), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_UI4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41266 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6366), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_I8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41267 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6367), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_UI8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41268 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6368), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_INT), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41269 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6369), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_NULL), vtstr(VT_UINT), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41270 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6370), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41271 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6371), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41272 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6372), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41273 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6373), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41274 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6374), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41275 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6375), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41276 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6376), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41277 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6377), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41278 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6378), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41279 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6379), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41280 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6380), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41281 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6381), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41282 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6382), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41283 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6383), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41284 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6384), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41285 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6385), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41286 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6386), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I2), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41287 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6387), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41288 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6388), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41289 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6389), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41290 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6390), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41291 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6391), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41292 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6392), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41293 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6393), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41294 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6394), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41295 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6395), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41296 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6396), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41297 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6397), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41298 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6398), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41299 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6399), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41300 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6400), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41301 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6401), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41302 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6402), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41303 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6403), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I4), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41304 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6404), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41305 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6405), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41306 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6406), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41307 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6407), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41308 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6408), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41309 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6409), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41310 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6410), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41311 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6411), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41312 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6412), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41313 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6413), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41314 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6414), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41315 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6415), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41316 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6416), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41317 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6417), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41318 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6418), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41319 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6419), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41320 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.fltVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6420), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R4), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41321 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6421), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41322 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6422), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41323 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6423), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41324 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6424), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41325 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6425), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41326 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6426), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41327 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6427), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41328 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6428), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41329 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6429), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41330 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6430), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41331 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6431), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41332 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6432), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41333 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6433), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41334 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6434), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41335 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6435), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41336 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6436), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41337 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.dblVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6437), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_R8), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41338 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6438), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41339 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6439), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41340 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6440), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41341 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6441), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41342 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6442), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41343 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6443), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41344 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6444), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41345 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6445), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41346 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6446), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41347 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6447), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41348 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6448), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41349 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6449), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41350 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6450), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41351 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6451), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41352 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6452), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41353 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6453), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41354 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6454), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_DATE), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41355 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6455), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41356 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6456), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41357 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6457), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41358 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6458), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41359 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6459), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41360 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6460), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41361 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6461), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41362 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6462), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41363 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6463), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41364 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6464), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41365 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6465), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41366 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6466), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41367 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6467), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41368 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6468), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41369 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6469), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41370 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6470), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41371 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6471), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_BSTR), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41372 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6472), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41373 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6473), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41374 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6474), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_I2), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41375 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6475), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_I4), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41376 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6476), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_R4), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41377 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6477), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_R8), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41378 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6478), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_DATE), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41379 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6479), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_BSTR), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41380 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6480), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_BOOL), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41381 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6481), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_I1), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41382 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6482), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_UI1), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41383 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6483), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_UI2), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41384 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6484), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_UI4), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41385 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6485), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_I8), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41386 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6486), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_UI8), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41387 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6487), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_INT), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41388 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6488), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarPowFail, vtstr(VT_BOOL), vtstr(VT_UINT), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41389 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6489), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41390 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6490), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41391 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6491), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41392 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6492), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41393 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6493), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41394 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6494), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41395 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6495), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41396 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6496), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41397 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6497), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41398 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6498), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41399 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6499), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41400 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6500), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41401 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6501), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41402 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6502), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41403 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6503), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41404 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6504), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41405 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6505), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I1), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41406 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6506), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41407 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6507), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41408 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6508), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41409 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6509), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41410 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6510), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41411 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6511), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41412 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6512), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41413 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6513), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41414 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6514), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41415 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6515), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41416 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6516), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41417 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6517), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41418 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6518), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41419 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6519), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41420 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6520), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41421 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6521), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41422 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6522), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI1), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41423 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6523), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41424 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6524), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41425 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6525), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41426 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6526), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41427 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6527), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41428 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6528), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41429 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6529), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41430 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6530), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41431 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6531), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41432 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6532), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41433 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6533), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41434 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6534), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41435 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6535), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41436 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6536), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41437 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6537), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41438 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6538), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41439 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6539), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI2), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41440 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6540), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41441 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6541), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41442 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6542), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41443 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6543), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41444 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6544), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41445 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6545), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41446 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6546), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41447 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6547), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41448 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6548), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41449 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6549), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41450 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6550), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41451 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6551), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41452 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6552), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41453 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6553), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41454 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6554), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41455 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6555), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41456 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6556), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI4), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41457 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6557), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41458 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6558), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41459 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6559), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41460 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6560), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41461 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6561), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41462 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6562), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41463 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6563), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41464 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6564), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41465 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6565), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41466 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6566), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41467 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6567), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41468 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6568), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41469 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6569), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41470 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6570), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41471 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6571), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41472 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6572), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41473 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6573), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_I8), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41474 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6574), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41475 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6575), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41476 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6576), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41477 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6577), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41478 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6578), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41479 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6579), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41480 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6580), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41481 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6581), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41482 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6582), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41483 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6583), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41484 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6584), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41485 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6585), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41486 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6586), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41487 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6587), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41488 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6588), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41489 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6589), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UI8), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41490 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6590), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41491 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6591), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41492 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6592), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41493 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6593), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41494 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6594), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41495 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6595), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41496 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6596), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41497 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6597), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41498 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6598), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41499 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6599), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41500 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6600), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41501 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6601), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41502 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6602), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41503 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6603), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41504 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6604), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41505 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6605), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41506 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6606), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_INT), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41507 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6607), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_EMPTY), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41508 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6608), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41509 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.iVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6609), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_I2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41510 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.lVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6610), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_I4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41511 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.fltVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6611), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_R4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41512 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.dblVal) = 3.0; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6612), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_R8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41513 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.date) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6613), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_DATE), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41514 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num3_str; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6614), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_BSTR), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41515 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6615), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41516 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.cVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6616), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_I1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41517 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.bVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6617), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_UI1), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41518 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.uiVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6618), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_UI2), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41519 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.ulVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6619), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_UI4), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41520 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.llVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6620), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_I8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41521 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.ullVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6621), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_UI8), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41522 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.intVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6622), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_INT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41523 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.uintVal) = 3; memset(&result,0,sizeof(result)); hres = pVarPow(&left,&right,&result); (winetest_set_location("vartest.c", 6623), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((8.0)))<1e-14), szVarPowFail, vtstr(VT_UINT), vtstr(VT_UINT), vtstr(VT_R8), (int)(8.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41524 | ||
41525 | ||
41526 | ((&cy)->n1.n2.vt) = VT_CY; | |
41527 | hres = VarCyFromI4(2, &((&cy)->n1.n2.n3.cyVal)); | |
41528 | (winetest_set_location("vartest.c", 6628), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCyFromI4 failed!\n"); | |
41529 | ((&dec)->n1.n2.vt) = VT_DECIMAL; | |
41530 | hres = VarDecFromR8(2.0, &((&dec)->n1.decVal)); | |
41531 | (winetest_set_location("vartest.c", 6631), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarDecFromR4 failed!\n"); | |
41532 | memset(&left, 0, sizeof(left)); | |
41533 | memset(&right, 0, sizeof(right)); | |
41534 | ((&left)->n1.n2.vt) = VT_I4; | |
41535 | ((&left)->n1.n2.n3.lVal) = 100; | |
41536 | ((&right)->n1.n2.vt) = VT_I8; | |
41537 | ((&right)->n1.n2.n3.bVal) = 2; | |
41538 | ||
41539 | hres = pVarPow(&cy, &cy, &result); | |
41540 | (winetest_set_location("vartest.c", 6640), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
41541 | "VARPOW: expected coerced hres 0x%lX type VT_R8, got hres 0x%lX type %s!\n", | |
41542 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
41543 | (winetest_set_location("vartest.c", 6643), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(4.0))<1e-14), | |
41544 | "VARPOW: CY value %f, expected %f\n", ((&result)->n1.n2.n3.dblVal), 4.0); | |
41545 | ||
41546 | hres = pVarPow(&cy, &right, &result); | |
41547 | (winetest_set_location("vartest.c", 6647), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
41548 | "VARPOW: expected coerced hres 0x%lX type VT_R8, got hres 0x%lX type %s!\n", | |
41549 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
41550 | (winetest_set_location("vartest.c", 6650), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(4.0))<1e-14), | |
41551 | "VARPOW: CY value %f, expected %f\n", ((&result)->n1.n2.n3.dblVal), 4.0); | |
41552 | ||
41553 | hres = pVarPow(&left, &cy, &result); | |
41554 | (winetest_set_location("vartest.c", 6654), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
41555 | "VARPOW: expected coerced hres 0x%lX type VT_R8, got hres 0x%lX type %s!\n", | |
41556 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
41557 | (winetest_set_location("vartest.c", 6657), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(10000.0))<1e-14), | |
41558 | "VARPOW: CY value %f, expected %f\n", ((&result)->n1.n2.n3.dblVal), 10000.0); | |
41559 | ||
41560 | hres = pVarPow(&left, &dec, &result); | |
41561 | (winetest_set_location("vartest.c", 6661), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
41562 | "VARPOW: expected coerced hres 0x%lX type VT_R8, got hres 0x%lX type %s!\n", | |
41563 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
41564 | (winetest_set_location("vartest.c", 6664), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(10000.0))<1e-14), | |
41565 | "VARPOW: DECIMAL value %f, expected %f\n", ((&result)->n1.n2.n3.dblVal), 10000.0); | |
41566 | ||
41567 | hres = pVarPow(&dec, &dec, &result); | |
41568 | (winetest_set_location("vartest.c", 6668), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
41569 | "VARPOW: expected coerced hres 0x%lX type VT_R8, got hres 0x%lX type %s!\n", | |
41570 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
41571 | (winetest_set_location("vartest.c", 6671), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(4.0))<1e-14), | |
41572 | "VARPOW: DECIMAL value %f, expected %f\n", ((&result)->n1.n2.n3.dblVal), 4.0); | |
41573 | ||
41574 | hres = pVarPow(&dec, &right, &result); | |
41575 | (winetest_set_location("vartest.c", 6675), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
41576 | "VARPOW: expected coerced hres 0x%lX type VT_R8, got hres 0x%lX type%s!\n", | |
41577 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
41578 | (winetest_set_location("vartest.c", 6678), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(4.0))<1e-14), | |
41579 | "VARPOW: DECIMAL value %f, expected %f\n", ((&result)->n1.n2.n3.dblVal), 4.0); | |
41580 | ||
41581 | SysFreeString(num2_str); | |
41582 | SysFreeString(num3_str); | |
41583 | } | |
41584 | ||
41585 | static HRESULT (__attribute__((__stdcall__)) *pVarDiv)(LPVARIANT,LPVARIANT,LPVARIANT); | |
41586 | ||
41587 | static const char *szVarDivFail = "VarDiv(%s,%s): expected 0x0,%s,%d, got 0x%lX,%s,%d\n"; | |
41588 | # 6711 "vartest.c" | |
41589 | static void test_VarDiv(void) | |
41590 | { | |
41591 | static const WCHAR str1[] = { '1','\0' }; | |
41592 | static const WCHAR str2[] = { '2','\0' }; | |
41593 | VARIANT left, right, result, cy, dec; | |
41594 | BSTR num1_str, num2_str; | |
41595 | VARTYPE i; | |
41596 | HRESULT hres, expectedhres; | |
41597 | double r; | |
41598 | ||
41599 | num1_str = SysAllocString(str1); | |
41600 | num2_str = SysAllocString(str2); | |
41601 | ||
41602 | pVarDiv = (void*)GetProcAddress(hOleaut32, "VarDiv"); if (!pVarDiv) { (winetest_set_location("vartest.c", 6724), 0) ? (void)0 : winetest_trace("function " "VarDiv" " not available, not testing it\n"); return; }; | |
41603 | ||
41604 | ||
41605 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
41606 | { | |
41607 | VARTYPE leftvt, rightvt, resvt; | |
41608 | ||
41609 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
41610 | { | |
41611 | if (leftvt == VT_ERROR || leftvt == VT_VARIANT || leftvt == VT_DISPATCH || leftvt == VT_UNKNOWN || leftvt == VT_RECORD || leftvt > VT_UINT || leftvt == VT_I1 || leftvt == VT_UI8 || leftvt == VT_INT || leftvt == VT_UINT || leftvt == VT_UI2 || leftvt == VT_UI4 || leftvt == 15 ) continue;; | |
41612 | ||
41613 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
41614 | { | |
41615 | BOOL bFail = 0; | |
41616 | if (rightvt == VT_ERROR || rightvt == VT_VARIANT || rightvt == VT_DISPATCH || rightvt == VT_UNKNOWN || rightvt == VT_RECORD || rightvt > VT_UINT || rightvt == VT_I1 || rightvt == VT_UI8 || rightvt == VT_INT || rightvt == VT_UINT || rightvt == VT_UI2 || rightvt == VT_UI4 || rightvt == 15 ) continue;; | |
41617 | ||
41618 | ||
41619 | if (ExtraFlags[i] == VT_BYREF) | |
41620 | continue; | |
41621 | ||
41622 | memset(&left, 0, sizeof(left)); | |
41623 | memset(&right, 0, sizeof(right)); | |
41624 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
41625 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
41626 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
41627 | resvt = VT_EMPTY; | |
41628 | expectedhres = ((HRESULT)0L); | |
41629 | ||
41630 | if (leftvt == VT_BSTR) | |
41631 | ((&left)->n1.n2.n3.bstrVal) = num2_str; | |
41632 | else if (leftvt == VT_DECIMAL) | |
41633 | { | |
41634 | VarDecFromR8(2.0, &((&left)->n1.decVal)); | |
41635 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
41636 | } | |
41637 | ||
41638 | ||
41639 | switch(rightvt) | |
41640 | { | |
41641 | case VT_BSTR: | |
41642 | ((&right)->n1.n2.n3.bstrVal) = num2_str; | |
41643 | break; | |
41644 | case VT_DECIMAL: | |
41645 | VarDecFromR8(2.0, &((&right)->n1.decVal)); | |
41646 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
41647 | break; | |
41648 | case VT_BOOL: | |
41649 | ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); | |
41650 | break; | |
41651 | case VT_I2: ((&right)->n1.n2.n3.iVal) = 2; break; | |
41652 | case VT_I4: ((&right)->n1.n2.n3.lVal) = 2; break; | |
41653 | case VT_R4: ((&right)->n1.n2.n3.fltVal) = 2.0; break; | |
41654 | case VT_R8: ((&right)->n1.n2.n3.dblVal) = 2.0; break; | |
41655 | case VT_CY: ((&right)->n1.n2.n3.cyVal).int64 = 2; break; | |
41656 | case VT_DATE: ((&right)->n1.n2.n3.date) = 2; break; | |
41657 | case VT_UI1: ((&right)->n1.n2.n3.bVal) = 2; break; | |
41658 | case VT_I8: ((&right)->n1.n2.n3.llVal) = 2; break; | |
41659 | default: break; | |
41660 | } | |
41661 | ||
41662 | ||
41663 | if (!(rightvt == VT_EMPTY)) | |
41664 | { | |
41665 | if (leftvt == VT_NULL || rightvt == VT_NULL) | |
41666 | resvt = VT_NULL; | |
41667 | else if (leftvt == VT_DECIMAL || rightvt == VT_DECIMAL) | |
41668 | resvt = VT_DECIMAL; | |
41669 | else if (leftvt == VT_I8 || rightvt == VT_I8 || | |
41670 | leftvt == VT_CY || rightvt == VT_CY || | |
41671 | leftvt == VT_DATE || rightvt == VT_DATE || | |
41672 | leftvt == VT_I4 || rightvt == VT_I4 || | |
41673 | leftvt == VT_BSTR || rightvt == VT_BSTR || | |
41674 | leftvt == VT_I2 || rightvt == VT_I2 || | |
41675 | leftvt == VT_BOOL || rightvt == VT_BOOL || | |
41676 | leftvt == VT_R8 || rightvt == VT_R8 || | |
41677 | leftvt == VT_UI1 || rightvt == VT_UI1) | |
41678 | { | |
41679 | if ((leftvt == VT_UI1 && rightvt == VT_R4) || | |
41680 | (leftvt == VT_R4 && rightvt == VT_UI1)) | |
41681 | resvt = VT_R4; | |
41682 | else if ((leftvt == VT_R4 && (rightvt == VT_BOOL || | |
41683 | rightvt == VT_I2)) || (rightvt == VT_R4 && | |
41684 | (leftvt == VT_BOOL || leftvt == VT_I2))) | |
41685 | resvt = VT_R4; | |
41686 | else | |
41687 | resvt = VT_R8; | |
41688 | } | |
41689 | else if (leftvt == VT_R4 || rightvt == VT_R4) | |
41690 | resvt = VT_R4; | |
41691 | } | |
41692 | else if (leftvt == VT_NULL && rightvt == VT_EMPTY) | |
41693 | resvt = VT_NULL; | |
41694 | else | |
41695 | bFail = 1; | |
41696 | ||
41697 | ||
41698 | if (ExtraFlags[i] != 0) | |
41699 | bFail = 1; | |
41700 | ||
41701 | hres = pVarDiv(&left, &right, &result); | |
41702 | ||
41703 | ||
41704 | if (bFail) | |
41705 | (winetest_set_location("vartest.c", 6827), 0) ? 0 : winetest_ok (hres == ((HRESULT)0x80020008L) || hres == ((HRESULT)0x80020005L) || | |
41706 | hres == ((HRESULT)0x8002000AL) || hres == ((HRESULT)0x80020012L), | |
41707 | "VarDiv: %s|0x%X, %s|0x%X: got vt %s hr 0x%lX\n", | |
41708 | vtstr(leftvt), ExtraFlags[i], vtstr(rightvt), ExtraFlags[i], | |
41709 | vtstr(((&result)->n1.n2.vt)), hres); | |
41710 | else | |
41711 | (winetest_set_location("vartest.c", 6833), 0) ? 0 : winetest_ok (hres == ((HRESULT)0L) && resvt == ((&result)->n1.n2.vt), | |
41712 | "VarDiv: %s|0x%X, %s|0x%X: expected vt %s hr 0x%lX, got vt %s hr 0x%lX\n", | |
41713 | vtstr(leftvt), ExtraFlags[i], vtstr(rightvt), ExtraFlags[i], vtstr(resvt), | |
41714 | ((HRESULT)0L), vtstr(((&result)->n1.n2.vt)), hres); | |
41715 | } | |
41716 | } | |
41717 | } | |
41718 | ||
41719 | ||
41720 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6842), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41721 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6843), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_I2), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41722 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6844), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_I4), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41723 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.fltVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6845), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_R4), vtstr(VT_R4), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.fltVal));; | |
41724 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6846), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_R8), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41725 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.date) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6847), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41726 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6848), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41727 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6849), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_BOOL), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41728 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6850), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_UI1), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41729 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.llVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6851), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_EMPTY), vtstr(VT_I8), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41730 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6852), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_EMPTY), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41731 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6853), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41732 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6854), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_I2), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41733 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6855), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_I4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41734 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.fltVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6856), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_R4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41735 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6857), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_R8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41736 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6858), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_DATE), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41737 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6859), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_BSTR), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41738 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6860), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_BOOL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41739 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6861), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_UI1), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41740 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.llVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6862), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_NULL), vtstr(VT_I8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41741 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6863), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_I2), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41742 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6864), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I2), vtstr(VT_I2), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41743 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6865), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I2), vtstr(VT_I4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41744 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.n3.fltVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6866), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I2), vtstr(VT_R4), vtstr(VT_R4), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.fltVal));; | |
41745 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6867), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I2), vtstr(VT_R8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41746 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6868), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I2), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41747 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6869), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_I2), vtstr(VT_BOOL), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41748 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6870), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I2), vtstr(VT_UI1), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41749 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.iVal) = 1; ((&right)->n1.n2.n3.llVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6871), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I2), vtstr(VT_I8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41750 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6872), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41751 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6873), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_I2), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41752 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6874), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_I4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41753 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.fltVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6875), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_R4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41754 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6876), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_R8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41755 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6877), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41756 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6878), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41757 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6879), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_BOOL), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41758 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6880), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_UI1), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41759 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.lVal) = 1; ((&right)->n1.n2.n3.llVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6881), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I4), vtstr(VT_I8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41760 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6882), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41761 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6883), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_I2), vtstr(VT_R4), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.fltVal));; | |
41762 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6884), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_I4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41763 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.fltVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6885), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_R4), vtstr(VT_R4), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.fltVal));; | |
41764 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6886), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_R8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41765 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6887), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41766 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6888), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41767 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6889), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-((-1)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_BOOL), vtstr(VT_R4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.fltVal));; | |
41768 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6890), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_UI1), vtstr(VT_R4), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.fltVal));; | |
41769 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.fltVal) = 1.0; ((&right)->n1.n2.n3.llVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6891), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R4), vtstr(VT_I8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41770 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6892), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41771 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6893), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_I2), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41772 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6894), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_I4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41773 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.fltVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6895), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_R4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41774 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6896), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_R8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41775 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6897), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41776 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6898), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41777 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6899), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_BOOL), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41778 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6900), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_UI1), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41779 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.dblVal) = 1.0; ((&right)->n1.n2.n3.llVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6901), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_R8), vtstr(VT_I8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41780 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6902), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41781 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6903), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_I2), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41782 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6904), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_I4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41783 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.fltVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6905), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_R4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41784 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6906), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_R8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41785 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6907), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41786 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6908), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41787 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6909), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_BOOL), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41788 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6910), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_UI1), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41789 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.date) = 1; ((&right)->n1.n2.n3.llVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6911), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_DATE), vtstr(VT_I8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41790 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6912), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41791 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6913), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_I2), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41792 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6914), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_I4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41793 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.fltVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6915), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_R4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41794 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6916), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_R8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41795 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6917), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41796 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6918), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41797 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6919), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_BOOL), vtstr(VT_R8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41798 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6920), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_UI1), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41799 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.bstrVal) = num1_str; ((&right)->n1.n2.n3.llVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6921), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_BSTR), vtstr(VT_I8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41800 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6922), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41801 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6923), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_I2), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41802 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6924), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_I2), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41803 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6925), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_I4), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41804 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6926), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_I4), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41805 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6927), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_R4), vtstr(VT_R4), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.fltVal));; | |
41806 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6928), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_R4), vtstr(VT_R4), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.fltVal));; | |
41807 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6929), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_R8), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41808 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6930), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_R8), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41809 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6931), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41810 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6932), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41811 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6933), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((1.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_BOOL), vtstr(VT_R8), (int)(1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41812 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0x0000); ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6934), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_BOOL), vtstr(VT_R8), (int)(0.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41813 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6935), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_UI1), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41814 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6936), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1.0)))<1e-14), szVarDivFail, vtstr(VT_BOOL), vtstr(VT_I8), vtstr(VT_R8), (int)(-1.0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41815 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6937), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41816 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6938), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_I2), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41817 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6939), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_I4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41818 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.fltVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6940), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R4 && (fabs((((&result)->n1.n2.n3.fltVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_R4), vtstr(VT_R4), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.fltVal));; | |
41819 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6941), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_R8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41820 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6942), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41821 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6943), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41822 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6944), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_BOOL), vtstr(VT_R8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41823 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6945), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_UI1), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41824 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.bVal) = 1; ((&right)->n1.n2.n3.llVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6946), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_UI1), vtstr(VT_I8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41825 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6947), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && (fabs((((&result)->n1.n2.n3.lVal))-((0)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
41826 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.iVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6948), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_I2), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41827 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.lVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6949), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_I4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41828 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.fltVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6950), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_R4), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41829 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.dblVal) = 2.0; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6951), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_R8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41830 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.date) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6952), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_DATE), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41831 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.bstrVal) = num2_str; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6953), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_BSTR), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41832 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6954), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((-1)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_BOOL), vtstr(VT_R8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41833 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.bVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6955), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_UI1), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41834 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 1; ((&right)->n1.n2.n3.llVal) = 2; memset(&result,0,sizeof(result)); hres = pVarDiv(&left,&right,&result); (winetest_set_location("vartest.c", 6956), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8 && (fabs((((&result)->n1.n2.n3.dblVal))-((0.5)))<1e-14), szVarDivFail, vtstr(VT_I8), vtstr(VT_I8), vtstr(VT_R8), (int)(0.5), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.dblVal));; | |
41835 | ||
41836 | ||
41837 | ((&cy)->n1.n2.vt) = VT_CY; | |
41838 | hres = VarCyFromI4(10000, &((&cy)->n1.n2.n3.cyVal)); | |
41839 | (winetest_set_location("vartest.c", 6961), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCyFromI4 failed!\n"); | |
41840 | ((&dec)->n1.n2.vt) = VT_DECIMAL; | |
41841 | hres = VarDecFromR8(2.0, &((&dec)->n1.decVal)); | |
41842 | (winetest_set_location("vartest.c", 6964), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarDecFromR4 failed!\n"); | |
41843 | memset(&left, 0, sizeof(left)); | |
41844 | memset(&right, 0, sizeof(right)); | |
41845 | ((&left)->n1.n2.vt) = VT_I4; | |
41846 | ((&left)->n1.n2.n3.lVal) = 100; | |
41847 | ((&right)->n1.n2.vt) = VT_UI1; | |
41848 | ((&right)->n1.n2.n3.bVal) = 2; | |
41849 | ||
41850 | hres = pVarDiv(&cy, &cy, &result); | |
41851 | (winetest_set_location("vartest.c", 6973), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
41852 | "VARDIV: expected coerced type VT_R8, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
41853 | (winetest_set_location("vartest.c", 6975), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(1.0))<1e-14), | |
41854 | "VARDIV: CY value %f, expected %f\n", ((&result)->n1.n2.n3.dblVal), (double)1.0); | |
41855 | ||
41856 | hres = pVarDiv(&cy, &right, &result); | |
41857 | (winetest_set_location("vartest.c", 6979), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
41858 | "VARDIV: expected coerced type VT_R8, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
41859 | (winetest_set_location("vartest.c", 6981), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(5000.0))<1e-14), | |
41860 | "VARDIV: CY value %f, expected %f\n", ((&result)->n1.n2.n3.dblVal), (double)5000.0); | |
41861 | ||
41862 | hres = pVarDiv(&left, &cy, &result); | |
41863 | (winetest_set_location("vartest.c", 6985), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_R8, | |
41864 | "VARDIV: expected coerced type VT_R8, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
41865 | (winetest_set_location("vartest.c", 6987), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((((&result)->n1.n2.n3.dblVal))-(0.01))<1e-14), | |
41866 | "VARDIV: CY value %f, expected %f\n", ((&result)->n1.n2.n3.dblVal), (double)0.01); | |
41867 | ||
41868 | hres = pVarDiv(&left, &dec, &result); | |
41869 | (winetest_set_location("vartest.c", 6991), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DECIMAL, | |
41870 | "VARDIV: expected coerced type VT_DECIMAL, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
41871 | hres = VarR8FromDec(&((&result)->n1.decVal), &r); | |
41872 | (winetest_set_location("vartest.c", 6994), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(50.0))<1e-14), | |
41873 | "VARDIV: DECIMAL value %f, expected %f\n", r, (double)50.0); | |
41874 | ||
41875 | hres = pVarDiv(&dec, &dec, &result); | |
41876 | (winetest_set_location("vartest.c", 6998), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DECIMAL, | |
41877 | "VARDIV: expected coerced type VT_DECIMAL, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
41878 | hres = VarR8FromDec(&((&result)->n1.decVal), &r); | |
41879 | (winetest_set_location("vartest.c", 7001), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(1.0))<1e-14), | |
41880 | "VARDIV: DECIMAL value %f, expected %f\n", r, (double)1.0); | |
41881 | ||
41882 | hres = pVarDiv(&dec, &right, &result); | |
41883 | (winetest_set_location("vartest.c", 7005), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_DECIMAL, | |
41884 | "VARDIV: expected coerced type VT_DECIMAL, got %s!\n", vtstr(((&result)->n1.n2.vt))); | |
41885 | hres = VarR8FromDec(&((&result)->n1.decVal), &r); | |
41886 | (winetest_set_location("vartest.c", 7008), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && (fabs((r)-(1.0))<1e-14), | |
41887 | "VARDIV: DECIMAL value %f, expected %f\n", r, (double)1.0); | |
41888 | ||
41889 | ||
41890 | ((&left)->n1.n2.vt) = VT_R8; | |
41891 | ((&left)->n1.n2.n3.lVal) = 1.0; | |
41892 | ((&right)->n1.n2.vt) = VT_R8; | |
41893 | ((&right)->n1.n2.n3.lVal) = 0.0; | |
41894 | hres = pVarDiv(&left, &right, &result); | |
41895 | (winetest_set_location("vartest.c", 7017), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020012L) && ((&result)->n1.n2.vt) == VT_EMPTY, | |
41896 | "VARDIV: Division by (1.0/0.0) should result in DISP_E_DIVBYZERO but got 0x%lX\n", hres); | |
41897 | ||
41898 | ((&left)->n1.n2.vt) = VT_R8; | |
41899 | ((&left)->n1.n2.n3.lVal) = 0.0; | |
41900 | ((&right)->n1.n2.vt) = VT_R8; | |
41901 | ((&right)->n1.n2.n3.lVal) = 0.0; | |
41902 | hres = pVarDiv(&left, &right, &result); | |
41903 | (winetest_set_location("vartest.c", 7025), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x8002000AL) && ((&result)->n1.n2.vt) == VT_EMPTY, | |
41904 | "VARDIV: Division by (0.0/0.0) should result in DISP_E_OVERFLOW but got 0x%lX\n", hres); | |
41905 | ||
41906 | SysFreeString(num1_str); | |
41907 | SysFreeString(num2_str); | |
41908 | } | |
41909 | ||
41910 | static HRESULT (__attribute__((__stdcall__)) *pVarIdiv)(LPVARIANT,LPVARIANT,LPVARIANT); | |
41911 | ||
41912 | static const char *szVarIdivFail = "VarIdiv(%s,%s): expected 0x0,%s,%d, got 0x%lX,%s,%d\n"; | |
41913 | # 7055 "vartest.c" | |
41914 | static void test_VarIdiv(void) | |
41915 | { | |
41916 | static const WCHAR str1[] = { '1','\0' }; | |
41917 | static const WCHAR str2[] = { '2','\0' }; | |
41918 | VARIANT left, right, result, cy, dec; | |
41919 | BSTR num1_str, num2_str; | |
41920 | VARTYPE i; | |
41921 | HRESULT hres; | |
41922 | ||
41923 | pVarIdiv = (void*)GetProcAddress(hOleaut32, "VarIdiv"); if (!pVarIdiv) { (winetest_set_location("vartest.c", 7064), 0) ? (void)0 : winetest_trace("function " "VarIdiv" " not available, not testing it\n"); return; }; | |
41924 | ||
41925 | num1_str = SysAllocString(str1); | |
41926 | num2_str = SysAllocString(str2); | |
41927 | ||
41928 | ||
41929 | for (i = 0; i < sizeof(ExtraFlags)/sizeof(ExtraFlags[0]); i++) | |
41930 | { | |
41931 | VARTYPE leftvt, rightvt, resvt; | |
41932 | ||
41933 | for (leftvt = 0; leftvt <= VT_BSTR_BLOB; leftvt++) | |
41934 | { | |
41935 | if (leftvt == VT_ERROR || leftvt == VT_VARIANT || leftvt == VT_DISPATCH || leftvt == VT_UNKNOWN || leftvt == VT_RECORD || leftvt > VT_UINT || leftvt == 15 ) continue;; | |
41936 | ||
41937 | for (rightvt = 0; rightvt <= VT_BSTR_BLOB; rightvt++) | |
41938 | { | |
41939 | BOOL bFail = 0; | |
41940 | if (rightvt == VT_ERROR || rightvt == VT_VARIANT || rightvt == VT_DISPATCH || rightvt == VT_UNKNOWN || rightvt == VT_RECORD || rightvt > VT_UINT || rightvt == 15 ) continue;; | |
41941 | ||
41942 | ||
41943 | if (ExtraFlags[i] == VT_BYREF) | |
41944 | continue; | |
41945 | ||
41946 | memset(&left, 0, sizeof(left)); | |
41947 | memset(&right, 0, sizeof(right)); | |
41948 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
41949 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
41950 | ((&result)->n1.n2.vt) = VT_EMPTY; | |
41951 | resvt = VT_EMPTY; | |
41952 | ||
41953 | if (leftvt == VT_BSTR) | |
41954 | ((&left)->n1.n2.n3.bstrVal) = num2_str; | |
41955 | else if (leftvt == VT_DECIMAL) | |
41956 | { | |
41957 | VarDecFromR8(2.0, &((&left)->n1.decVal)); | |
41958 | ((&left)->n1.n2.vt) = leftvt | ExtraFlags[i]; | |
41959 | } | |
41960 | ||
41961 | ||
41962 | switch(rightvt) | |
41963 | { | |
41964 | case VT_BSTR: | |
41965 | ((&right)->n1.n2.n3.bstrVal) = num2_str; | |
41966 | break; | |
41967 | case VT_DECIMAL: | |
41968 | VarDecFromR8(2.0, &((&right)->n1.decVal)); | |
41969 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
41970 | break; | |
41971 | case VT_BOOL: | |
41972 | ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); | |
41973 | break; | |
41974 | case VT_CY: | |
41975 | VarCyFromI4(10000, &((&right)->n1.n2.n3.cyVal)); | |
41976 | ((&right)->n1.n2.vt) = rightvt | ExtraFlags[i]; | |
41977 | break; | |
41978 | case VT_I2: ((&right)->n1.n2.n3.iVal) = 2; break; | |
41979 | case VT_I4: ((&right)->n1.n2.n3.lVal) = 2; break; | |
41980 | case VT_R4: ((&right)->n1.n2.n3.fltVal) = 2.0; break; | |
41981 | case VT_R8: ((&right)->n1.n2.n3.dblVal) = 2.0; break; | |
41982 | case VT_DATE: ((&right)->n1.n2.n3.date) = 2; break; | |
41983 | case VT_I1: ((&right)->n1.n2.n3.cVal) = 2; break; | |
41984 | case VT_UI1: ((&right)->n1.n2.n3.bVal) = 2; break; | |
41985 | case VT_UI2: ((&right)->n1.n2.n3.uiVal) = 2; break; | |
41986 | case VT_UI4: ((&right)->n1.n2.n3.ulVal) = 2; break; | |
41987 | case VT_I8: ((&right)->n1.n2.n3.llVal) = 2; break; | |
41988 | case VT_UI8: ((&right)->n1.n2.n3.ullVal) = 2; break; | |
41989 | case VT_INT: ((&right)->n1.n2.n3.intVal) = 2; break; | |
41990 | case VT_UINT: ((&right)->n1.n2.n3.uintVal) = 2; break; | |
41991 | default: break; | |
41992 | } | |
41993 | ||
41994 | ||
41995 | ||
41996 | ||
41997 | if ((leftvt == VT_I8 && rightvt == VT_INT) || | |
41998 | (leftvt == VT_INT && rightvt == VT_I8) || | |
41999 | (rightvt == VT_EMPTY && leftvt != VT_NULL) || | |
42000 | ExtraFlags[i] != 0) | |
42001 | bFail = 1; | |
42002 | ||
42003 | ||
42004 | else if (leftvt == VT_NULL || rightvt == VT_NULL) | |
42005 | resvt = VT_NULL; | |
42006 | else if (leftvt == VT_I8 || rightvt == VT_I8) | |
42007 | resvt = VT_I8; | |
42008 | else if (leftvt == VT_I4 || rightvt == VT_I4 || | |
42009 | leftvt == VT_INT || rightvt == VT_INT || | |
42010 | leftvt == VT_UINT || rightvt == VT_UINT || | |
42011 | leftvt == VT_UI8 || rightvt == VT_UI8 || | |
42012 | leftvt == VT_UI4 || rightvt == VT_UI4 || | |
42013 | leftvt == VT_UI2 || rightvt == VT_UI2 || | |
42014 | leftvt == VT_I1 || rightvt == VT_I1 || | |
42015 | leftvt == VT_BSTR || rightvt == VT_BSTR || | |
42016 | leftvt == VT_DATE || rightvt == VT_DATE || | |
42017 | leftvt == VT_CY || rightvt == VT_CY || | |
42018 | leftvt == VT_DECIMAL || rightvt == VT_DECIMAL || | |
42019 | leftvt == VT_R8 || rightvt == VT_R8 || | |
42020 | leftvt == VT_R4 || rightvt == VT_R4) | |
42021 | resvt = VT_I4; | |
42022 | else if (leftvt == VT_I2 || rightvt == VT_I2 || | |
42023 | leftvt == VT_BOOL || rightvt == VT_BOOL || | |
42024 | leftvt == VT_EMPTY) | |
42025 | resvt = VT_I2; | |
42026 | else if (leftvt == VT_UI1 || rightvt == VT_UI1) | |
42027 | resvt = VT_UI1; | |
42028 | else | |
42029 | bFail = 1; | |
42030 | ||
42031 | hres = pVarIdiv(&left, &right, &result); | |
42032 | ||
42033 | ||
42034 | if (bFail) | |
42035 | (winetest_set_location("vartest.c", 7176), 0) ? 0 : winetest_ok (hres == ((HRESULT)0x80020008L) || hres == ((HRESULT)0x80020005L) || | |
42036 | hres == ((HRESULT)0x80020012L), | |
42037 | "VarIdiv: %s|0x%X, %s|0x%X: got vt %s hr 0x%lX\n", | |
42038 | vtstr(leftvt), ExtraFlags[i], vtstr(rightvt), ExtraFlags[i], | |
42039 | vtstr(((&result)->n1.n2.vt)), hres); | |
42040 | else | |
42041 | (winetest_set_location("vartest.c", 7182), 0) ? 0 : winetest_ok (hres == ((HRESULT)0L) && resvt == ((&result)->n1.n2.vt), | |
42042 | "VarIdiv: %s|0x%X, %s|0x%X: expected vt %s hr 0x%lX, got vt %s hr 0x%lX\n", | |
42043 | vtstr(leftvt), ExtraFlags[i], vtstr(rightvt), ExtraFlags[i], vtstr(resvt), | |
42044 | ((HRESULT)0L), vtstr(((&result)->n1.n2.vt)), hres); | |
42045 | } | |
42046 | } | |
42047 | } | |
42048 | ||
42049 | ||
42050 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7191), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42051 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7192), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_I2), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42052 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7193), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_I4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42053 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7194), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_R4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42054 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7195), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_R8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42055 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.date) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7196), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_DATE), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42056 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7197), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_BSTR), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42057 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7198), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_BOOL), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42058 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7199), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_I1), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42059 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7200), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_UI1), vtstr(VT_I2), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42060 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7201), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_UI2), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42061 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7202), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_UI4), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42062 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7203), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_I8), vtstr(VT_I8), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42063 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7204), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_UI8), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42064 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7205), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_INT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42065 | ((&left)->n1.n2.vt) = VT_EMPTY; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7206), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_EMPTY), vtstr(VT_UINT), vtstr(VT_I4), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42066 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_EMPTY; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7207), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_EMPTY), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42067 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7208), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42068 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7209), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_I2), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42069 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7210), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_I4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42070 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7211), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_R4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42071 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7212), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_R8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42072 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7213), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_DATE), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42073 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7214), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_BSTR), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42074 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7215), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_BOOL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42075 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7216), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_I1), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42076 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7217), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_UI1), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42077 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7218), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_UI2), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42078 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7219), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_UI4), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42079 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7220), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_I8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42080 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7221), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_UI8), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42081 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7222), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_INT), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42082 | ((&left)->n1.n2.vt) = VT_NULL; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.lVal) = 0; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7223), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_NULL), vtstr(VT_UINT), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42083 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7224), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_I2), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42084 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7225), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_I2), vtstr(VT_I2), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42085 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7226), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42086 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7227), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42087 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7228), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42088 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7229), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42089 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7230), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42090 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7231), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_BOOL), vtstr(VT_I2), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42091 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7232), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42092 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7233), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_UI1), vtstr(VT_I2), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42093 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7234), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42094 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7235), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42095 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7236), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42096 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7237), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42097 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7238), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42098 | ((&left)->n1.n2.vt) = VT_I2; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.iVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7239), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I2), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42099 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7240), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_I4), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42100 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7241), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42101 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7242), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42102 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7243), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42103 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7244), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42104 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7245), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42105 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7246), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42106 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7247), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42107 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7248), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42108 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7249), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42109 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7250), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42110 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7251), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42111 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7252), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42112 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7253), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42113 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7254), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42114 | ((&left)->n1.n2.vt) = VT_I4; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.lVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7255), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I4), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42115 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7256), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_R4), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42116 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7257), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42117 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7258), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42118 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7259), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42119 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7260), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42120 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7261), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42121 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7262), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42122 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7263), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42123 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7264), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42124 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7265), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42125 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7266), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42126 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7267), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42127 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7268), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42128 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7269), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42129 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7270), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42130 | ((&left)->n1.n2.vt) = VT_R4; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.fltVal) = 2.0; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7271), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R4), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42131 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7272), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_R8), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42132 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7273), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42133 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7274), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42134 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7275), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42135 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7276), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42136 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7277), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42137 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7278), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42138 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7279), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42139 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7280), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42140 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7281), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42141 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7282), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42142 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7283), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42143 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7284), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42144 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7285), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42145 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7286), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42146 | ((&left)->n1.n2.vt) = VT_R8; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.dblVal) = 2.0; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7287), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_R8), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42147 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7288), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42148 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7289), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42149 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7290), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42150 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.fltVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7291), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42151 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.dblVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7292), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42152 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7293), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42153 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7294), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42154 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7295), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42155 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7296), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42156 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7297), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42157 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7298), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42158 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7299), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42159 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7300), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42160 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7301), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42161 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7302), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42162 | ((&left)->n1.n2.vt) = VT_DATE; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.date) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7303), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_DATE), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42163 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7304), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42164 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7305), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42165 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7306), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42166 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7307), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42167 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7308), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42168 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7309), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42169 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7310), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42170 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7311), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42171 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7312), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42172 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7313), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42173 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7314), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42174 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7315), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42175 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7316), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42176 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7317), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42177 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7318), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42178 | ((&left)->n1.n2.vt) = VT_BSTR; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.bstrVal) = num2_str; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7319), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_BSTR), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42179 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7320), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42180 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7321), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_I2), vtstr(VT_I2), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42181 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7322), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_I4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42182 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7323), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_R4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42183 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7324), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_R8), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42184 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7325), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_DATE), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42185 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7326), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_BSTR), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42186 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7327), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_BOOL), vtstr(VT_I2), (int)(1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42187 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7328), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_I1), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42188 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7329), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_UI1), vtstr(VT_I2), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42189 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7330), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_UI2), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42190 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7331), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_UI4), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42191 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7332), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_I8), vtstr(VT_I8), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42192 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7333), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_UI8), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42193 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7334), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_INT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42194 | ((&left)->n1.n2.vt) = VT_BOOL; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7335), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-1), szVarIdivFail, vtstr(VT_BOOL), vtstr(VT_UINT), vtstr(VT_I4), (int)(-1), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42195 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7336), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_I1), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42196 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7337), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42197 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7338), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42198 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7339), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42199 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7340), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42200 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7341), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42201 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7342), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42202 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7343), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42203 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7344), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42204 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7345), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42205 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7346), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42206 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7347), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42207 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7348), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42208 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7349), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42209 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7350), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42210 | ((&left)->n1.n2.vt) = VT_I1; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.cVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7351), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_I1), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42211 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7352), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42212 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7353), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_I2), vtstr(VT_I2), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42213 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7354), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42214 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7355), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42215 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7356), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42216 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7357), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42217 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7358), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42218 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7359), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I2 && ((&result)->n1.n2.n3.iVal) == (-2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_BOOL), vtstr(VT_I2), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.iVal));; | |
42219 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7360), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42220 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7361), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_UI1 && ((&result)->n1.n2.n3.bVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_UI1), vtstr(VT_UI1), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.bVal));; | |
42221 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7362), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42222 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7363), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42223 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7364), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42224 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7365), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42225 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7366), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42226 | ((&left)->n1.n2.vt) = VT_UI1; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.bVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7367), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI1), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42227 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7368), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42228 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7369), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42229 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7370), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42230 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7371), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42231 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7372), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42232 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7373), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42233 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7374), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42234 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7375), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42235 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7376), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42236 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7377), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42237 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7378), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42238 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7379), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42239 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7380), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42240 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7381), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42241 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7382), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42242 | ((&left)->n1.n2.vt) = VT_UI2; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uiVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7383), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI2), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42243 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7384), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42244 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7385), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42245 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7386), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42246 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7387), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42247 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7388), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42248 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7389), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42249 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7390), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42250 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7391), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42251 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7392), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42252 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7393), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42253 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7394), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42254 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7395), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42255 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7396), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42256 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7397), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42257 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7398), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42258 | ((&left)->n1.n2.vt) = VT_UI4; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.ulVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7399), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI4), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42259 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7400), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_I8), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42260 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7401), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_I2), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42261 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7402), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_I4), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42262 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7403), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_R4), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42263 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7404), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_R8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42264 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7405), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_DATE), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42265 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7406), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_BSTR), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42266 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.boolVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7407), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_BOOL), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42267 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7408), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_I1), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42268 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7409), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_UI1), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42269 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7410), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_UI2), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42270 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7411), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_UI4), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42271 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7412), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42272 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7413), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_UI8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42273 | ((&left)->n1.n2.vt) = VT_I8; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.llVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7414), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_I8), vtstr(VT_UINT), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42274 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7415), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42275 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7416), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42276 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7417), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42277 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7418), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42278 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7419), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42279 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7420), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42280 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7421), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42281 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7422), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42282 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7423), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42283 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7424), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42284 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7425), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42285 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7426), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42286 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7427), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42287 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7428), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42288 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7429), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42289 | ((&left)->n1.n2.vt) = VT_UI8; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.ullVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7430), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UI8), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42290 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7431), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_INT), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42291 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7432), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42292 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7433), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42293 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7434), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42294 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7435), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42295 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7436), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42296 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7437), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42297 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7438), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42298 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7439), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42299 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7440), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42300 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7441), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42301 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7442), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42302 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7443), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42303 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7444), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42304 | ((&left)->n1.n2.vt) = VT_INT; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.intVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7445), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_INT), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42305 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_NULL; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.lVal) = 0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7446), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_NULL && ((&result)->n1.n2.n3.lVal) == (0), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_NULL), vtstr(VT_NULL), (int)(0), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42306 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_I2; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.iVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7447), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_I2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42307 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_I4; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.lVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7448), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_I4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42308 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_R4; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.fltVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7449), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_R4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42309 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_R8; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.dblVal) = 1.0; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7450), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_R8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42310 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_DATE; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.date) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7451), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_DATE), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42311 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_BSTR; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.bstrVal) = num1_str; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7452), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_BSTR), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42312 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_BOOL; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.boolVal) = ((VARIANT_BOOL)0xFFFF); memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7453), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (-2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_BOOL), vtstr(VT_I4), (int)(-2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42313 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_I1; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.cVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7454), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_I1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42314 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UI1; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.bVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7455), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_UI1), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42315 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UI2; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.uiVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7456), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_UI2), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42316 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UI4; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.ulVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7457), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_UI4), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42317 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_I8; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.llVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7458), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8 && ((&result)->n1.n2.n3.llVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_I8), vtstr(VT_I8), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.llVal));; | |
42318 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UI8; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.ullVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7459), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_UI8), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42319 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_INT; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.intVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7460), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_INT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42320 | ((&left)->n1.n2.vt) = VT_UINT; ((&right)->n1.n2.vt) = VT_UINT; ((&left)->n1.n2.n3.uintVal) = 2; ((&right)->n1.n2.n3.uintVal) = 1; memset(&result,0,sizeof(result)); hres = pVarIdiv(&left,&right,&result); (winetest_set_location("vartest.c", 7461), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4 && ((&result)->n1.n2.n3.lVal) == (2), szVarIdivFail, vtstr(VT_UINT), vtstr(VT_UINT), vtstr(VT_I4), (int)(2), hres, vtstr(((&result)->n1.n2.vt)), (int)((&result)->n1.n2.n3.lVal));; | |
42321 | ||
42322 | ||
42323 | ((&cy)->n1.n2.vt) = VT_CY; | |
42324 | hres = VarCyFromI4(10000, &((&cy)->n1.n2.n3.cyVal)); | |
42325 | (winetest_set_location("vartest.c", 7466), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarCyFromI4 failed!\n"); | |
42326 | ((&dec)->n1.n2.vt) = VT_DECIMAL; | |
42327 | hres = VarDecFromR8(2.0, &((&dec)->n1.decVal)); | |
42328 | (winetest_set_location("vartest.c", 7469), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L), "VarDecFromR4 failed!\n"); | |
42329 | memset(&left, 0, sizeof(left)); | |
42330 | memset(&right, 0, sizeof(right)); | |
42331 | ((&left)->n1.n2.vt) = VT_I4; | |
42332 | ((&left)->n1.n2.n3.lVal) = 100; | |
42333 | ((&right)->n1.n2.vt) = VT_I8; | |
42334 | ((&right)->n1.n2.n3.bVal) = 2; | |
42335 | ||
42336 | hres = VarIdiv(&cy, &cy, &result); | |
42337 | (winetest_set_location("vartest.c", 7478), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4, | |
42338 | "VARIDIV: expected coerced hres 0x%lX type VT_I4, got hres 0x%lX type %s!\n", | |
42339 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
42340 | (winetest_set_location("vartest.c", 7481), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.n3.lVal) == 1, | |
42341 | "VARIDIV: CY value %ld, expected %d\n", ((&result)->n1.n2.n3.lVal), 1); | |
42342 | ||
42343 | hres = VarIdiv(&cy, &right, &result); | |
42344 | (winetest_set_location("vartest.c", 7485), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8, | |
42345 | "VARIDIV: expected coerced hres 0x%lX type VT_I8, got hres 0x%lX type %s!\n", | |
42346 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
42347 | (winetest_set_location("vartest.c", 7488), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.n3.llVal) == 5000, | |
42348 | "VARIDIV: CY value %lld, expected %d\n", ((&result)->n1.n2.n3.llVal), 5000); | |
42349 | ||
42350 | hres = VarIdiv(&left, &cy, &result); | |
42351 | (winetest_set_location("vartest.c", 7492), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4, | |
42352 | "VARIDIV: expected coerced hres 0x%lX type VT_I4, got hres 0x%lX type %s!\n", | |
42353 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
42354 | (winetest_set_location("vartest.c", 7495), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.n3.lVal) == 0, | |
42355 | "VARIDIV: CY value %ld, expected %d\n", ((&result)->n1.n2.n3.lVal), 0); | |
42356 | ||
42357 | hres = VarIdiv(&left, &dec, &result); | |
42358 | (winetest_set_location("vartest.c", 7499), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4, | |
42359 | "VARIDIV: expected coerced hres 0x%lX type VT_I4, got hres 0x%lX type %s!\n", | |
42360 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
42361 | (winetest_set_location("vartest.c", 7502), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.n3.lVal) == 50, | |
42362 | "VARIDIV: DECIMAL value %ld, expected %d\n", ((&result)->n1.n2.n3.lVal), 50); | |
42363 | ||
42364 | hres = VarIdiv(&dec, &dec, &result); | |
42365 | (winetest_set_location("vartest.c", 7506), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I4, | |
42366 | "VARIDIV: expected coerced hres 0x%lX type VT_I4, got hres 0x%lX type %s!\n", | |
42367 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
42368 | (winetest_set_location("vartest.c", 7509), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.n3.lVal) == 1, | |
42369 | "VARIDIV: DECIMAL value %ld, expected %d\n", ((&result)->n1.n2.n3.lVal), 1); | |
42370 | ||
42371 | hres = VarIdiv(&dec, &right, &result); | |
42372 | (winetest_set_location("vartest.c", 7513), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.vt) == VT_I8, | |
42373 | "VARIDIV: expected coerced hres 0x%lX type VT_I8, got hres 0x%lX type%s!\n", | |
42374 | ((HRESULT)0L), hres, vtstr(((&result)->n1.n2.vt))); | |
42375 | (winetest_set_location("vartest.c", 7516), 0) ? 0 : winetest_ok(hres == ((HRESULT)0L) && ((&result)->n1.n2.n3.llVal) == 1, | |
42376 | "VARIDIV: DECIMAL value %lld, expected %d\n", ((&result)->n1.n2.n3.llVal), 1); | |
42377 | ||
42378 | ||
42379 | ((&left)->n1.n2.vt) = VT_INT; | |
42380 | ((&left)->n1.n2.n3.lVal) = 1; | |
42381 | ((&right)->n1.n2.vt) = VT_INT; | |
42382 | ((&right)->n1.n2.n3.lVal) = 0; | |
42383 | hres = pVarIdiv(&left, &right, &result); | |
42384 | (winetest_set_location("vartest.c", 7525), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020012L) && ((&result)->n1.n2.vt) == VT_EMPTY, | |
42385 | "VARIDIV: Division by 0 should result in DISP_E_DIVBYZERO but got 0x%lX\n", hres); | |
42386 | ||
42387 | ((&left)->n1.n2.vt) = VT_INT; | |
42388 | ((&left)->n1.n2.n3.lVal) = 0; | |
42389 | ((&right)->n1.n2.vt) = VT_INT; | |
42390 | ((&right)->n1.n2.n3.lVal) = 0; | |
42391 | hres = pVarIdiv(&left, &right, &result); | |
42392 | (winetest_set_location("vartest.c", 7533), 0) ? 0 : winetest_ok(hres == ((HRESULT)0x80020012L) && ((&result)->n1.n2.vt) == VT_EMPTY, | |
42393 | "VARIDIV: Division by 0 should result in DISP_E_DIVBYZERO but got 0x%lX\n", hres); | |
42394 | ||
42395 | SysFreeString(num1_str); | |
42396 | SysFreeString(num2_str); | |
42397 | } | |
42398 | ||
42399 | void func_vartest(void) | |
42400 | { | |
42401 | hOleaut32 = LoadLibraryA("oleaut32.dll"); | |
42402 | ||
42403 | test_VariantInit(); | |
42404 | test_VariantClear(); | |
42405 | test_VariantCopy(); | |
42406 | test_VariantCopyInd(); | |
42407 | test_VarParseNumFromStr(); | |
42408 | test_VarNumFromParseNum(); | |
42409 | test_VarUdateFromDate(); | |
42410 | test_VarDateFromUdate(); | |
42411 | test_SystemTimeToVariantTime(); | |
42412 | test_VariantTimeToSystemTime(); | |
42413 | test_DosDateTimeToVariantTime(); | |
42414 | test_VariantTimeToDosDateTime(); | |
42415 | test_VarAbs(); | |
42416 | test_VarNot(); | |
42417 | test_VarSub(); | |
42418 | test_VarMod(); | |
42419 | test_VarFix(); | |
42420 | test_VarInt(); | |
42421 | test_VarNeg(); | |
42422 | test_VarRound(); | |
42423 | test_VarXor(); | |
42424 | test_VarOr(); | |
42425 | test_VarPow(); | |
42426 | test_VarEqv(); | |
42427 | test_VarMul(); | |
42428 | test_VarAdd(); | |
42429 | test_VarCat(); | |
42430 | test_VarCmp(); | |
42431 | test_VarAnd(); | |
42432 | test_VarDiv(); | |
42433 | test_VarIdiv(); | |
42434 | } |