OSDN Git Service

20021009版ソース
[seraphyscrtools/SeraphyScriptTools.git] / SeraphyScriptTools.h
1
2
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6  /* File created by MIDL compiler version 8.00.0603 */
7 /* at Sun Jul 19 17:53:12 2015
8  */
9 /* Compiler settings for SeraphyScriptTools.idl:
10     Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603 
11     protocol : dce , ms_ext, c_ext, robust
12     error checks: allocation ref bounds_check enum stub_data 
13     VC __declspec() decoration level: 
14          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
15          DECLSPEC_UUID(), MIDL_INTERFACE()
16 */
17 /* @@MIDL_FILE_HEADING(  ) */
18
19 #pragma warning( disable: 4049 )  /* more than 64k source lines */
20
21
22 /* verify that the <rpcndr.h> version is high enough to compile this file*/
23 #ifndef __REQUIRED_RPCNDR_H_VERSION__
24 #define __REQUIRED_RPCNDR_H_VERSION__ 475
25 #endif
26
27 #include "rpc.h"
28 #include "rpcndr.h"
29
30 #ifndef __RPCNDR_H_VERSION__
31 #error this stub requires an updated version of <rpcndr.h>
32 #endif // __RPCNDR_H_VERSION__
33
34 #ifndef COM_NO_WINDOWS_H
35 #include "windows.h"
36 #include "ole2.h"
37 #endif /*COM_NO_WINDOWS_H*/
38
39 #ifndef __SeraphyScriptTools_h__
40 #define __SeraphyScriptTools_h__
41
42 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
43 #pragma once
44 #endif
45
46 /* Forward Declarations */ 
47
48 #ifndef __ICommDialog_FWD_DEFINED__
49 #define __ICommDialog_FWD_DEFINED__
50 typedef interface ICommDialog ICommDialog;
51
52 #endif  /* __ICommDialog_FWD_DEFINED__ */
53
54
55 #ifndef ___ICommDialogEvents_FWD_DEFINED__
56 #define ___ICommDialogEvents_FWD_DEFINED__
57 typedef interface _ICommDialogEvents _ICommDialogEvents;
58
59 #endif  /* ___ICommDialogEvents_FWD_DEFINED__ */
60
61
62 #ifndef __IOverlappedWindow_FWD_DEFINED__
63 #define __IOverlappedWindow_FWD_DEFINED__
64 typedef interface IOverlappedWindow IOverlappedWindow;
65
66 #endif  /* __IOverlappedWindow_FWD_DEFINED__ */
67
68
69 #ifndef __CommDialog_FWD_DEFINED__
70 #define __CommDialog_FWD_DEFINED__
71
72 #ifdef __cplusplus
73 typedef class CommDialog CommDialog;
74 #else
75 typedef struct CommDialog CommDialog;
76 #endif /* __cplusplus */
77
78 #endif  /* __CommDialog_FWD_DEFINED__ */
79
80
81 #ifndef ___IOverlappedWindowEvents_FWD_DEFINED__
82 #define ___IOverlappedWindowEvents_FWD_DEFINED__
83 typedef interface _IOverlappedWindowEvents _IOverlappedWindowEvents;
84
85 #endif  /* ___IOverlappedWindowEvents_FWD_DEFINED__ */
86
87
88 #ifndef __IControl_FWD_DEFINED__
89 #define __IControl_FWD_DEFINED__
90 typedef interface IControl IControl;
91
92 #endif  /* __IControl_FWD_DEFINED__ */
93
94
95 #ifndef __OverlappedWindow_FWD_DEFINED__
96 #define __OverlappedWindow_FWD_DEFINED__
97
98 #ifdef __cplusplus
99 typedef class OverlappedWindow OverlappedWindow;
100 #else
101 typedef struct OverlappedWindow OverlappedWindow;
102 #endif /* __cplusplus */
103
104 #endif  /* __OverlappedWindow_FWD_DEFINED__ */
105
106
107 #ifndef ___IControlEvents_FWD_DEFINED__
108 #define ___IControlEvents_FWD_DEFINED__
109 typedef interface _IControlEvents _IControlEvents;
110
111 #endif  /* ___IControlEvents_FWD_DEFINED__ */
112
113
114 #ifndef __ICanvas_FWD_DEFINED__
115 #define __ICanvas_FWD_DEFINED__
116 typedef interface ICanvas ICanvas;
117
118 #endif  /* __ICanvas_FWD_DEFINED__ */
119
120
121 #ifndef __Control_FWD_DEFINED__
122 #define __Control_FWD_DEFINED__
123
124 #ifdef __cplusplus
125 typedef class Control Control;
126 #else
127 typedef struct Control Control;
128 #endif /* __cplusplus */
129
130 #endif  /* __Control_FWD_DEFINED__ */
131
132
133 #ifndef ___ICanvasEvents_FWD_DEFINED__
134 #define ___ICanvasEvents_FWD_DEFINED__
135 typedef interface _ICanvasEvents _ICanvasEvents;
136
137 #endif  /* ___ICanvasEvents_FWD_DEFINED__ */
138
139
140 #ifndef __ILayer_FWD_DEFINED__
141 #define __ILayer_FWD_DEFINED__
142 typedef interface ILayer ILayer;
143
144 #endif  /* __ILayer_FWD_DEFINED__ */
145
146
147 #ifndef __Canvas_FWD_DEFINED__
148 #define __Canvas_FWD_DEFINED__
149
150 #ifdef __cplusplus
151 typedef class Canvas Canvas;
152 #else
153 typedef struct Canvas Canvas;
154 #endif /* __cplusplus */
155
156 #endif  /* __Canvas_FWD_DEFINED__ */
157
158
159 #ifndef ___ILayerEvents_FWD_DEFINED__
160 #define ___ILayerEvents_FWD_DEFINED__
161 typedef interface _ILayerEvents _ILayerEvents;
162
163 #endif  /* ___ILayerEvents_FWD_DEFINED__ */
164
165
166 #ifndef __IForm_FWD_DEFINED__
167 #define __IForm_FWD_DEFINED__
168 typedef interface IForm IForm;
169
170 #endif  /* __IForm_FWD_DEFINED__ */
171
172
173 #ifndef __Layer_FWD_DEFINED__
174 #define __Layer_FWD_DEFINED__
175
176 #ifdef __cplusplus
177 typedef class Layer Layer;
178 #else
179 typedef struct Layer Layer;
180 #endif /* __cplusplus */
181
182 #endif  /* __Layer_FWD_DEFINED__ */
183
184
185 #ifndef ___IFormEvents_FWD_DEFINED__
186 #define ___IFormEvents_FWD_DEFINED__
187 typedef interface _IFormEvents _IFormEvents;
188
189 #endif  /* ___IFormEvents_FWD_DEFINED__ */
190
191
192 #ifndef __IEvent_FWD_DEFINED__
193 #define __IEvent_FWD_DEFINED__
194 typedef interface IEvent IEvent;
195
196 #endif  /* __IEvent_FWD_DEFINED__ */
197
198
199 #ifndef __Form_FWD_DEFINED__
200 #define __Form_FWD_DEFINED__
201
202 #ifdef __cplusplus
203 typedef class Form Form;
204 #else
205 typedef struct Form Form;
206 #endif /* __cplusplus */
207
208 #endif  /* __Form_FWD_DEFINED__ */
209
210
211 #ifndef ___IEventEvents_FWD_DEFINED__
212 #define ___IEventEvents_FWD_DEFINED__
213 typedef interface _IEventEvents _IEventEvents;
214
215 #endif  /* ___IEventEvents_FWD_DEFINED__ */
216
217
218 #ifndef __ISeraphyScriptTools_Instance_FWD_DEFINED__
219 #define __ISeraphyScriptTools_Instance_FWD_DEFINED__
220 typedef interface ISeraphyScriptTools_Instance ISeraphyScriptTools_Instance;
221
222 #endif  /* __ISeraphyScriptTools_Instance_FWD_DEFINED__ */
223
224
225 #ifndef __Event_FWD_DEFINED__
226 #define __Event_FWD_DEFINED__
227
228 #ifdef __cplusplus
229 typedef class Event Event;
230 #else
231 typedef struct Event Event;
232 #endif /* __cplusplus */
233
234 #endif  /* __Event_FWD_DEFINED__ */
235
236
237 #ifndef ___ISeraphyScriptTools_InstanceEvents_FWD_DEFINED__
238 #define ___ISeraphyScriptTools_InstanceEvents_FWD_DEFINED__
239 typedef interface _ISeraphyScriptTools_InstanceEvents _ISeraphyScriptTools_InstanceEvents;
240
241 #endif  /* ___ISeraphyScriptTools_InstanceEvents_FWD_DEFINED__ */
242
243
244 #ifndef __ITreeItem_FWD_DEFINED__
245 #define __ITreeItem_FWD_DEFINED__
246 typedef interface ITreeItem ITreeItem;
247
248 #endif  /* __ITreeItem_FWD_DEFINED__ */
249
250
251 #ifndef __IObjectMap_FWD_DEFINED__
252 #define __IObjectMap_FWD_DEFINED__
253 typedef interface IObjectMap IObjectMap;
254
255 #endif  /* __IObjectMap_FWD_DEFINED__ */
256
257
258 #ifndef __ISeraphyScriptTools_Shell_FWD_DEFINED__
259 #define __ISeraphyScriptTools_Shell_FWD_DEFINED__
260 typedef interface ISeraphyScriptTools_Shell ISeraphyScriptTools_Shell;
261
262 #endif  /* __ISeraphyScriptTools_Shell_FWD_DEFINED__ */
263
264
265 #ifndef __IShellExecObj_FWD_DEFINED__
266 #define __IShellExecObj_FWD_DEFINED__
267 typedef interface IShellExecObj IShellExecObj;
268
269 #endif  /* __IShellExecObj_FWD_DEFINED__ */
270
271
272 #ifndef __IObjectVector_FWD_DEFINED__
273 #define __IObjectVector_FWD_DEFINED__
274 typedef interface IObjectVector IObjectVector;
275
276 #endif  /* __IObjectVector_FWD_DEFINED__ */
277
278
279 #ifndef __ISeraphyScriptTools_ProfileSection_FWD_DEFINED__
280 #define __ISeraphyScriptTools_ProfileSection_FWD_DEFINED__
281 typedef interface ISeraphyScriptTools_ProfileSection ISeraphyScriptTools_ProfileSection;
282
283 #endif  /* __ISeraphyScriptTools_ProfileSection_FWD_DEFINED__ */
284
285
286 #ifndef __ISeraphyScriptTool_ParseName_FWD_DEFINED__
287 #define __ISeraphyScriptTool_ParseName_FWD_DEFINED__
288 typedef interface ISeraphyScriptTool_ParseName ISeraphyScriptTool_ParseName;
289
290 #endif  /* __ISeraphyScriptTool_ParseName_FWD_DEFINED__ */
291
292
293 #ifndef __IPrivateProfile_FWD_DEFINED__
294 #define __IPrivateProfile_FWD_DEFINED__
295 typedef interface IPrivateProfile IPrivateProfile;
296
297 #endif  /* __IPrivateProfile_FWD_DEFINED__ */
298
299
300 #ifndef __SeraphyScriptTools_Instance_FWD_DEFINED__
301 #define __SeraphyScriptTools_Instance_FWD_DEFINED__
302
303 #ifdef __cplusplus
304 typedef class SeraphyScriptTools_Instance SeraphyScriptTools_Instance;
305 #else
306 typedef struct SeraphyScriptTools_Instance SeraphyScriptTools_Instance;
307 #endif /* __cplusplus */
308
309 #endif  /* __SeraphyScriptTools_Instance_FWD_DEFINED__ */
310
311
312 #ifndef __TreeItem_FWD_DEFINED__
313 #define __TreeItem_FWD_DEFINED__
314
315 #ifdef __cplusplus
316 typedef class TreeItem TreeItem;
317 #else
318 typedef struct TreeItem TreeItem;
319 #endif /* __cplusplus */
320
321 #endif  /* __TreeItem_FWD_DEFINED__ */
322
323
324 #ifndef __ObjectMap_FWD_DEFINED__
325 #define __ObjectMap_FWD_DEFINED__
326
327 #ifdef __cplusplus
328 typedef class ObjectMap ObjectMap;
329 #else
330 typedef struct ObjectMap ObjectMap;
331 #endif /* __cplusplus */
332
333 #endif  /* __ObjectMap_FWD_DEFINED__ */
334
335
336 #ifndef __SeraphyScriptTools_Shell_FWD_DEFINED__
337 #define __SeraphyScriptTools_Shell_FWD_DEFINED__
338
339 #ifdef __cplusplus
340 typedef class SeraphyScriptTools_Shell SeraphyScriptTools_Shell;
341 #else
342 typedef struct SeraphyScriptTools_Shell SeraphyScriptTools_Shell;
343 #endif /* __cplusplus */
344
345 #endif  /* __SeraphyScriptTools_Shell_FWD_DEFINED__ */
346
347
348 #ifndef __ShellExecObj_FWD_DEFINED__
349 #define __ShellExecObj_FWD_DEFINED__
350
351 #ifdef __cplusplus
352 typedef class ShellExecObj ShellExecObj;
353 #else
354 typedef struct ShellExecObj ShellExecObj;
355 #endif /* __cplusplus */
356
357 #endif  /* __ShellExecObj_FWD_DEFINED__ */
358
359
360 #ifndef __ObjectVector_FWD_DEFINED__
361 #define __ObjectVector_FWD_DEFINED__
362
363 #ifdef __cplusplus
364 typedef class ObjectVector ObjectVector;
365 #else
366 typedef struct ObjectVector ObjectVector;
367 #endif /* __cplusplus */
368
369 #endif  /* __ObjectVector_FWD_DEFINED__ */
370
371
372 #ifndef __ProfileSection_FWD_DEFINED__
373 #define __ProfileSection_FWD_DEFINED__
374
375 #ifdef __cplusplus
376 typedef class ProfileSection ProfileSection;
377 #else
378 typedef struct ProfileSection ProfileSection;
379 #endif /* __cplusplus */
380
381 #endif  /* __ProfileSection_FWD_DEFINED__ */
382
383
384 #ifndef __ParseName_FWD_DEFINED__
385 #define __ParseName_FWD_DEFINED__
386
387 #ifdef __cplusplus
388 typedef class ParseName ParseName;
389 #else
390 typedef struct ParseName ParseName;
391 #endif /* __cplusplus */
392
393 #endif  /* __ParseName_FWD_DEFINED__ */
394
395
396 #ifndef __PrivateProfile_FWD_DEFINED__
397 #define __PrivateProfile_FWD_DEFINED__
398
399 #ifdef __cplusplus
400 typedef class PrivateProfile PrivateProfile;
401 #else
402 typedef struct PrivateProfile PrivateProfile;
403 #endif /* __cplusplus */
404
405 #endif  /* __PrivateProfile_FWD_DEFINED__ */
406
407
408 /* header files for imported files */
409 #include "oaidl.h"
410 #include "ocidl.h"
411
412 #ifdef __cplusplus
413 extern "C"{
414 #endif 
415
416
417 #ifndef __ICommDialog_INTERFACE_DEFINED__
418 #define __ICommDialog_INTERFACE_DEFINED__
419
420 /* interface ICommDialog */
421 /* [unique][helpstring][dual][uuid][object] */ 
422
423
424 EXTERN_C const IID IID_ICommDialog;
425
426 #if defined(__cplusplus) && !defined(CINTERFACE)
427     
428     MIDL_INTERFACE("112D2DFC-DC6E-4EEB-B7AE-9A29C293090B")
429     ICommDialog : public IDispatch
430     {
431     public:
432         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OpenFileCaption( 
433             /* [retval][out] */ BSTR *pVal) = 0;
434         
435         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OpenFileCaption( 
436             /* [in] */ BSTR newVal) = 0;
437         
438         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SaveFileCaption( 
439             /* [retval][out] */ BSTR *pVal) = 0;
440         
441         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SaveFileCaption( 
442             /* [in] */ BSTR newVal) = 0;
443         
444         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnableCreatePrompt( 
445             /* [retval][out] */ BOOL *pVal) = 0;
446         
447         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EnableCreatePrompt( 
448             /* [in] */ BOOL newVal) = 0;
449         
450         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnableReadOnly( 
451             /* [retval][out] */ BOOL *pVal) = 0;
452         
453         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EnableReadOnly( 
454             /* [in] */ BOOL newVal) = 0;
455         
456         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReadOnly( 
457             /* [retval][out] */ BOOL *pVal) = 0;
458         
459         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ReadOnly( 
460             /* [in] */ BOOL newVal) = 0;
461         
462         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NoDereferenceLinks( 
463             /* [retval][out] */ BOOL *pVal) = 0;
464         
465         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NoDereferenceLinks( 
466             /* [in] */ BOOL newVal) = 0;
467         
468         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InitialDir( 
469             /* [retval][out] */ BSTR *pVal) = 0;
470         
471         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_InitialDir( 
472             /* [in] */ BSTR newVal) = 0;
473         
474         virtual /* [hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HWND( 
475             /* [retval][out] */ long *pVal) = 0;
476         
477         virtual /* [hidden][helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HWND( 
478             /* [in] */ long newVal) = 0;
479         
480         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BrowseForFolderCaption( 
481             /* [retval][out] */ BSTR *pVal) = 0;
482         
483         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BrowseForFolderCaption( 
484             /* [in] */ BSTR newVal) = 0;
485         
486         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MessageCaption( 
487             /* [retval][out] */ BSTR *pVal) = 0;
488         
489         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MessageCaption( 
490             /* [in] */ BSTR newVal) = 0;
491         
492         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ColorDialog( 
493             /* [retval][out] */ VARIANT *pcolorVal) = 0;
494         
495         virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Caption( 
496             /* [in] */ BSTR strCaption) = 0;
497         
498         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Caption( 
499             /* [retval][out] */ BSTR *pstrCaption) = 0;
500         
501         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMainWindow( 
502             /* [in] */ VARIANT varUnk) = 0;
503         
504         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OpenFileDialog( 
505             /* [optional][in] */ VARIANT varPathName,
506             /* [optional][in] */ VARIANT varFilter,
507             /* [retval][out] */ VARIANT *result) = 0;
508         
509         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveFileDialog( 
510             /* [optional][in] */ VARIANT varPathName,
511             /* [optional][in] */ VARIANT varFilter,
512             /* [retval][out] */ VARIANT *result) = 0;
513         
514         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MultiOpenFileDialog( 
515             /* [optional][in] */ VARIANT varMulti,
516             /* [optional][in] */ VARIANT varFilter,
517             /* [retval][out] */ VARIANT *pbResult) = 0;
518         
519         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BrowseForFolder( 
520             /* [optional][in] */ VARIANT caption,
521             /* [optional][in] */ VARIANT varDir,
522             /* [optional][in] */ VARIANT varMode,
523             /* [retval][out] */ VARIANT *pvarReturn) = 0;
524         
525         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MessageBox( 
526             /* [in] */ VARIANT mes,
527             /* [optional][in] */ VARIANT typ,
528             /* [optional][in] */ VARIANT icon,
529             /* [retval][out] */ VARIANT *pRet) = 0;
530         
531     };
532     
533     
534 #else   /* C style interface */
535
536     typedef struct ICommDialogVtbl
537     {
538         BEGIN_INTERFACE
539         
540         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
541             ICommDialog * This,
542             /* [in] */ REFIID riid,
543             /* [annotation][iid_is][out] */ 
544             _COM_Outptr_  void **ppvObject);
545         
546         ULONG ( STDMETHODCALLTYPE *AddRef )( 
547             ICommDialog * This);
548         
549         ULONG ( STDMETHODCALLTYPE *Release )( 
550             ICommDialog * This);
551         
552         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
553             ICommDialog * This,
554             /* [out] */ UINT *pctinfo);
555         
556         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
557             ICommDialog * This,
558             /* [in] */ UINT iTInfo,
559             /* [in] */ LCID lcid,
560             /* [out] */ ITypeInfo **ppTInfo);
561         
562         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
563             ICommDialog * This,
564             /* [in] */ REFIID riid,
565             /* [size_is][in] */ LPOLESTR *rgszNames,
566             /* [range][in] */ UINT cNames,
567             /* [in] */ LCID lcid,
568             /* [size_is][out] */ DISPID *rgDispId);
569         
570         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
571             ICommDialog * This,
572             /* [annotation][in] */ 
573             _In_  DISPID dispIdMember,
574             /* [annotation][in] */ 
575             _In_  REFIID riid,
576             /* [annotation][in] */ 
577             _In_  LCID lcid,
578             /* [annotation][in] */ 
579             _In_  WORD wFlags,
580             /* [annotation][out][in] */ 
581             _In_  DISPPARAMS *pDispParams,
582             /* [annotation][out] */ 
583             _Out_opt_  VARIANT *pVarResult,
584             /* [annotation][out] */ 
585             _Out_opt_  EXCEPINFO *pExcepInfo,
586             /* [annotation][out] */ 
587             _Out_opt_  UINT *puArgErr);
588         
589         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OpenFileCaption )( 
590             ICommDialog * This,
591             /* [retval][out] */ BSTR *pVal);
592         
593         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OpenFileCaption )( 
594             ICommDialog * This,
595             /* [in] */ BSTR newVal);
596         
597         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SaveFileCaption )( 
598             ICommDialog * This,
599             /* [retval][out] */ BSTR *pVal);
600         
601         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SaveFileCaption )( 
602             ICommDialog * This,
603             /* [in] */ BSTR newVal);
604         
605         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnableCreatePrompt )( 
606             ICommDialog * This,
607             /* [retval][out] */ BOOL *pVal);
608         
609         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EnableCreatePrompt )( 
610             ICommDialog * This,
611             /* [in] */ BOOL newVal);
612         
613         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnableReadOnly )( 
614             ICommDialog * This,
615             /* [retval][out] */ BOOL *pVal);
616         
617         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EnableReadOnly )( 
618             ICommDialog * This,
619             /* [in] */ BOOL newVal);
620         
621         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReadOnly )( 
622             ICommDialog * This,
623             /* [retval][out] */ BOOL *pVal);
624         
625         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ReadOnly )( 
626             ICommDialog * This,
627             /* [in] */ BOOL newVal);
628         
629         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NoDereferenceLinks )( 
630             ICommDialog * This,
631             /* [retval][out] */ BOOL *pVal);
632         
633         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NoDereferenceLinks )( 
634             ICommDialog * This,
635             /* [in] */ BOOL newVal);
636         
637         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InitialDir )( 
638             ICommDialog * This,
639             /* [retval][out] */ BSTR *pVal);
640         
641         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_InitialDir )( 
642             ICommDialog * This,
643             /* [in] */ BSTR newVal);
644         
645         /* [hidden][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HWND )( 
646             ICommDialog * This,
647             /* [retval][out] */ long *pVal);
648         
649         /* [hidden][helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HWND )( 
650             ICommDialog * This,
651             /* [in] */ long newVal);
652         
653         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BrowseForFolderCaption )( 
654             ICommDialog * This,
655             /* [retval][out] */ BSTR *pVal);
656         
657         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BrowseForFolderCaption )( 
658             ICommDialog * This,
659             /* [in] */ BSTR newVal);
660         
661         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageCaption )( 
662             ICommDialog * This,
663             /* [retval][out] */ BSTR *pVal);
664         
665         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageCaption )( 
666             ICommDialog * This,
667             /* [in] */ BSTR newVal);
668         
669         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ColorDialog )( 
670             ICommDialog * This,
671             /* [retval][out] */ VARIANT *pcolorVal);
672         
673         /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Caption )( 
674             ICommDialog * This,
675             /* [in] */ BSTR strCaption);
676         
677         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Caption )( 
678             ICommDialog * This,
679             /* [retval][out] */ BSTR *pstrCaption);
680         
681         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMainWindow )( 
682             ICommDialog * This,
683             /* [in] */ VARIANT varUnk);
684         
685         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OpenFileDialog )( 
686             ICommDialog * This,
687             /* [optional][in] */ VARIANT varPathName,
688             /* [optional][in] */ VARIANT varFilter,
689             /* [retval][out] */ VARIANT *result);
690         
691         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveFileDialog )( 
692             ICommDialog * This,
693             /* [optional][in] */ VARIANT varPathName,
694             /* [optional][in] */ VARIANT varFilter,
695             /* [retval][out] */ VARIANT *result);
696         
697         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MultiOpenFileDialog )( 
698             ICommDialog * This,
699             /* [optional][in] */ VARIANT varMulti,
700             /* [optional][in] */ VARIANT varFilter,
701             /* [retval][out] */ VARIANT *pbResult);
702         
703         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BrowseForFolder )( 
704             ICommDialog * This,
705             /* [optional][in] */ VARIANT caption,
706             /* [optional][in] */ VARIANT varDir,
707             /* [optional][in] */ VARIANT varMode,
708             /* [retval][out] */ VARIANT *pvarReturn);
709         
710         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MessageBox )( 
711             ICommDialog * This,
712             /* [in] */ VARIANT mes,
713             /* [optional][in] */ VARIANT typ,
714             /* [optional][in] */ VARIANT icon,
715             /* [retval][out] */ VARIANT *pRet);
716         
717         END_INTERFACE
718     } ICommDialogVtbl;
719
720     interface ICommDialog
721     {
722         CONST_VTBL struct ICommDialogVtbl *lpVtbl;
723     };
724
725     
726
727 #ifdef COBJMACROS
728
729
730 #define ICommDialog_QueryInterface(This,riid,ppvObject) \
731     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
732
733 #define ICommDialog_AddRef(This)        \
734     ( (This)->lpVtbl -> AddRef(This) ) 
735
736 #define ICommDialog_Release(This)       \
737     ( (This)->lpVtbl -> Release(This) ) 
738
739
740 #define ICommDialog_GetTypeInfoCount(This,pctinfo)      \
741     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
742
743 #define ICommDialog_GetTypeInfo(This,iTInfo,lcid,ppTInfo)       \
744     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
745
746 #define ICommDialog_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)     \
747     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
748
749 #define ICommDialog_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)       \
750     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
751
752
753 #define ICommDialog_get_OpenFileCaption(This,pVal)      \
754     ( (This)->lpVtbl -> get_OpenFileCaption(This,pVal) ) 
755
756 #define ICommDialog_put_OpenFileCaption(This,newVal)    \
757     ( (This)->lpVtbl -> put_OpenFileCaption(This,newVal) ) 
758
759 #define ICommDialog_get_SaveFileCaption(This,pVal)      \
760     ( (This)->lpVtbl -> get_SaveFileCaption(This,pVal) ) 
761
762 #define ICommDialog_put_SaveFileCaption(This,newVal)    \
763     ( (This)->lpVtbl -> put_SaveFileCaption(This,newVal) ) 
764
765 #define ICommDialog_get_EnableCreatePrompt(This,pVal)   \
766     ( (This)->lpVtbl -> get_EnableCreatePrompt(This,pVal) ) 
767
768 #define ICommDialog_put_EnableCreatePrompt(This,newVal) \
769     ( (This)->lpVtbl -> put_EnableCreatePrompt(This,newVal) ) 
770
771 #define ICommDialog_get_EnableReadOnly(This,pVal)       \
772     ( (This)->lpVtbl -> get_EnableReadOnly(This,pVal) ) 
773
774 #define ICommDialog_put_EnableReadOnly(This,newVal)     \
775     ( (This)->lpVtbl -> put_EnableReadOnly(This,newVal) ) 
776
777 #define ICommDialog_get_ReadOnly(This,pVal)     \
778     ( (This)->lpVtbl -> get_ReadOnly(This,pVal) ) 
779
780 #define ICommDialog_put_ReadOnly(This,newVal)   \
781     ( (This)->lpVtbl -> put_ReadOnly(This,newVal) ) 
782
783 #define ICommDialog_get_NoDereferenceLinks(This,pVal)   \
784     ( (This)->lpVtbl -> get_NoDereferenceLinks(This,pVal) ) 
785
786 #define ICommDialog_put_NoDereferenceLinks(This,newVal) \
787     ( (This)->lpVtbl -> put_NoDereferenceLinks(This,newVal) ) 
788
789 #define ICommDialog_get_InitialDir(This,pVal)   \
790     ( (This)->lpVtbl -> get_InitialDir(This,pVal) ) 
791
792 #define ICommDialog_put_InitialDir(This,newVal) \
793     ( (This)->lpVtbl -> put_InitialDir(This,newVal) ) 
794
795 #define ICommDialog_get_HWND(This,pVal) \
796     ( (This)->lpVtbl -> get_HWND(This,pVal) ) 
797
798 #define ICommDialog_put_HWND(This,newVal)       \
799     ( (This)->lpVtbl -> put_HWND(This,newVal) ) 
800
801 #define ICommDialog_get_BrowseForFolderCaption(This,pVal)       \
802     ( (This)->lpVtbl -> get_BrowseForFolderCaption(This,pVal) ) 
803
804 #define ICommDialog_put_BrowseForFolderCaption(This,newVal)     \
805     ( (This)->lpVtbl -> put_BrowseForFolderCaption(This,newVal) ) 
806
807 #define ICommDialog_get_MessageCaption(This,pVal)       \
808     ( (This)->lpVtbl -> get_MessageCaption(This,pVal) ) 
809
810 #define ICommDialog_put_MessageCaption(This,newVal)     \
811     ( (This)->lpVtbl -> put_MessageCaption(This,newVal) ) 
812
813 #define ICommDialog_ColorDialog(This,pcolorVal) \
814     ( (This)->lpVtbl -> ColorDialog(This,pcolorVal) ) 
815
816 #define ICommDialog_put_Caption(This,strCaption)        \
817     ( (This)->lpVtbl -> put_Caption(This,strCaption) ) 
818
819 #define ICommDialog_get_Caption(This,pstrCaption)       \
820     ( (This)->lpVtbl -> get_Caption(This,pstrCaption) ) 
821
822 #define ICommDialog_SetMainWindow(This,varUnk)  \
823     ( (This)->lpVtbl -> SetMainWindow(This,varUnk) ) 
824
825 #define ICommDialog_OpenFileDialog(This,varPathName,varFilter,result)   \
826     ( (This)->lpVtbl -> OpenFileDialog(This,varPathName,varFilter,result) ) 
827
828 #define ICommDialog_SaveFileDialog(This,varPathName,varFilter,result)   \
829     ( (This)->lpVtbl -> SaveFileDialog(This,varPathName,varFilter,result) ) 
830
831 #define ICommDialog_MultiOpenFileDialog(This,varMulti,varFilter,pbResult)       \
832     ( (This)->lpVtbl -> MultiOpenFileDialog(This,varMulti,varFilter,pbResult) ) 
833
834 #define ICommDialog_BrowseForFolder(This,caption,varDir,varMode,pvarReturn)     \
835     ( (This)->lpVtbl -> BrowseForFolder(This,caption,varDir,varMode,pvarReturn) ) 
836
837 #define ICommDialog_MessageBox(This,mes,typ,icon,pRet)  \
838     ( (This)->lpVtbl -> MessageBox(This,mes,typ,icon,pRet) ) 
839
840 #endif /* COBJMACROS */
841
842
843 #endif  /* C style interface */
844
845
846
847
848 #endif  /* __ICommDialog_INTERFACE_DEFINED__ */
849
850
851
852 #ifndef __SERAPHYSCRIPTTOOLSLib_LIBRARY_DEFINED__
853 #define __SERAPHYSCRIPTTOOLSLib_LIBRARY_DEFINED__
854
855 /* library SERAPHYSCRIPTTOOLSLib */
856 /* [helpstring][version][uuid] */ 
857
858
859 EXTERN_C const IID LIBID_SERAPHYSCRIPTTOOLSLib;
860
861 #ifndef ___ICommDialogEvents_DISPINTERFACE_DEFINED__
862 #define ___ICommDialogEvents_DISPINTERFACE_DEFINED__
863
864 /* dispinterface _ICommDialogEvents */
865 /* [helpstring][uuid] */ 
866
867
868 EXTERN_C const IID DIID__ICommDialogEvents;
869
870 #if defined(__cplusplus) && !defined(CINTERFACE)
871
872     MIDL_INTERFACE("938B1269-05AD-403A-B049-24D623417B37")
873     _ICommDialogEvents : public IDispatch
874     {
875     };
876     
877 #else   /* C style interface */
878
879     typedef struct _ICommDialogEventsVtbl
880     {
881         BEGIN_INTERFACE
882         
883         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
884             _ICommDialogEvents * This,
885             /* [in] */ REFIID riid,
886             /* [annotation][iid_is][out] */ 
887             _COM_Outptr_  void **ppvObject);
888         
889         ULONG ( STDMETHODCALLTYPE *AddRef )( 
890             _ICommDialogEvents * This);
891         
892         ULONG ( STDMETHODCALLTYPE *Release )( 
893             _ICommDialogEvents * This);
894         
895         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
896             _ICommDialogEvents * This,
897             /* [out] */ UINT *pctinfo);
898         
899         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
900             _ICommDialogEvents * This,
901             /* [in] */ UINT iTInfo,
902             /* [in] */ LCID lcid,
903             /* [out] */ ITypeInfo **ppTInfo);
904         
905         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
906             _ICommDialogEvents * This,
907             /* [in] */ REFIID riid,
908             /* [size_is][in] */ LPOLESTR *rgszNames,
909             /* [range][in] */ UINT cNames,
910             /* [in] */ LCID lcid,
911             /* [size_is][out] */ DISPID *rgDispId);
912         
913         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
914             _ICommDialogEvents * This,
915             /* [annotation][in] */ 
916             _In_  DISPID dispIdMember,
917             /* [annotation][in] */ 
918             _In_  REFIID riid,
919             /* [annotation][in] */ 
920             _In_  LCID lcid,
921             /* [annotation][in] */ 
922             _In_  WORD wFlags,
923             /* [annotation][out][in] */ 
924             _In_  DISPPARAMS *pDispParams,
925             /* [annotation][out] */ 
926             _Out_opt_  VARIANT *pVarResult,
927             /* [annotation][out] */ 
928             _Out_opt_  EXCEPINFO *pExcepInfo,
929             /* [annotation][out] */ 
930             _Out_opt_  UINT *puArgErr);
931         
932         END_INTERFACE
933     } _ICommDialogEventsVtbl;
934
935     interface _ICommDialogEvents
936     {
937         CONST_VTBL struct _ICommDialogEventsVtbl *lpVtbl;
938     };
939
940     
941
942 #ifdef COBJMACROS
943
944
945 #define _ICommDialogEvents_QueryInterface(This,riid,ppvObject)  \
946     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
947
948 #define _ICommDialogEvents_AddRef(This) \
949     ( (This)->lpVtbl -> AddRef(This) ) 
950
951 #define _ICommDialogEvents_Release(This)        \
952     ( (This)->lpVtbl -> Release(This) ) 
953
954
955 #define _ICommDialogEvents_GetTypeInfoCount(This,pctinfo)       \
956     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
957
958 #define _ICommDialogEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)        \
959     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
960
961 #define _ICommDialogEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)      \
962     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
963
964 #define _ICommDialogEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)        \
965     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
966
967 #endif /* COBJMACROS */
968
969
970 #endif  /* C style interface */
971
972
973 #endif  /* ___ICommDialogEvents_DISPINTERFACE_DEFINED__ */
974
975
976 #ifndef __IOverlappedWindow_INTERFACE_DEFINED__
977 #define __IOverlappedWindow_INTERFACE_DEFINED__
978
979 /* interface IOverlappedWindow */
980 /* [unique][helpstring][dual][uuid][object] */ 
981
982
983 EXTERN_C const IID IID_IOverlappedWindow;
984
985 #if defined(__cplusplus) && !defined(CINTERFACE)
986     
987     MIDL_INTERFACE("0B0433B0-97BD-4CCA-AE53-5DD46F901B2F")
988     IOverlappedWindow : public IDispatch
989     {
990     public:
991         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsEventEmpty( 
992             /* [retval][out] */ BOOL *pVal) = 0;
993         
994         virtual /* [hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DoubleBuffer( 
995             /* [retval][out] */ BOOL *pVal) = 0;
996         
997         virtual /* [hidden][helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DoubleBuffer( 
998             /* [in] */ BOOL newVal) = 0;
999         
1000         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CreateNoCloseWindow( 
1001             /* [in] */ BOOL newVal) = 0;
1002         
1003         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CreateNoCloseWindow( 
1004             /* [retval][out] */ BOOL *pVal) = 0;
1005         
1006         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Quit( 
1007             /* [retval][out] */ BOOL *pVal) = 0;
1008         
1009         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Quit( 
1010             /* [in] */ BOOL newVal) = 0;
1011         
1012         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Style( 
1013             /* [retval][out] */ long *pVal) = 0;
1014         
1015         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Style( 
1016             /* [in] */ long newVal) = 0;
1017         
1018         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Exstyle( 
1019             /* [retval][out] */ long *pVal) = 0;
1020         
1021         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Exstyle( 
1022             /* [in] */ long newVal) = 0;
1023         
1024         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WindowClassName( 
1025             /* [retval][out] */ BSTR *pVal) = 0;
1026         
1027         virtual /* [hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoMessageLoop( 
1028             /* [retval][out] */ BOOL *pVal) = 0;
1029         
1030         virtual /* [hidden][helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoMessageLoop( 
1031             /* [in] */ BOOL newVal) = 0;
1032         
1033         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoClose( 
1034             /* [retval][out] */ BOOL *pVal) = 0;
1035         
1036         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoClose( 
1037             /* [in] */ BOOL newVal) = 0;
1038         
1039         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_backColor( 
1040             /* [retval][out] */ long *pVal) = 0;
1041         
1042         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_backColor( 
1043             /* [in] */ long newVal) = 0;
1044         
1045         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TopMost( 
1046             /* [retval][out] */ BOOL *pVal) = 0;
1047         
1048         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TopMost( 
1049             /* [in] */ BOOL newVal) = 0;
1050         
1051         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PosX( 
1052             /* [retval][out] */ short *pVal) = 0;
1053         
1054         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PosX( 
1055             /* [in] */ short newVal) = 0;
1056         
1057         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PosY( 
1058             /* [retval][out] */ short *pVal) = 0;
1059         
1060         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PosY( 
1061             /* [in] */ short newVal) = 0;
1062         
1063         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Width( 
1064             /* [retval][out] */ short *pVal) = 0;
1065         
1066         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Width( 
1067             /* [in] */ short newVal) = 0;
1068         
1069         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Height( 
1070             /* [retval][out] */ short *pVal) = 0;
1071         
1072         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Height( 
1073             /* [in] */ short newVal) = 0;
1074         
1075         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AcceptFiles( 
1076             /* [retval][out] */ BOOL *pVal) = 0;
1077         
1078         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AcceptFiles( 
1079             /* [in] */ BOOL newVal) = 0;
1080         
1081         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enable( 
1082             /* [retval][out] */ BOOL *pVal) = 0;
1083         
1084         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Enable( 
1085             /* [in] */ BOOL newVal) = 0;
1086         
1087         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Iconic( 
1088             /* [retval][out] */ BOOL *pVal) = 0;
1089         
1090         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Iconic( 
1091             /* [in] */ BOOL newVal) = 0;
1092         
1093         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Zoomed( 
1094             /* [retval][out] */ BOOL *pVal) = 0;
1095         
1096         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Zoomed( 
1097             /* [in] */ BOOL newVal) = 0;
1098         
1099         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Visible( 
1100             /* [retval][out] */ BOOL *pVal) = 0;
1101         
1102         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Visible( 
1103             /* [in] */ BOOL newVal) = 0;
1104         
1105         virtual /* [hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HWND( 
1106             /* [retval][out] */ long *pVal) = 0;
1107         
1108         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DropFiles( 
1109             /* [retval][out] */ VARIANT *pVal) = 0;
1110         
1111         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Canvas( 
1112             /* [retval][out] */ VARIANT *pVal) = 0;
1113         
1114         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
1115             /* [retval][out] */ VARIANT *pVal) = 0;
1116         
1117         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Form( 
1118             /* [retval][out] */ VARIANT *pVal) = 0;
1119         
1120         virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Caption( 
1121             /* [in] */ BSTR strCaption) = 0;
1122         
1123         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Caption( 
1124             /* [retval][out] */ BSTR *pstrCaption) = 0;
1125         
1126         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Object( 
1127             /* [optional][in] */ VARIANT idx,
1128             /* [retval][out] */ VARIANT *pVal) = 0;
1129         
1130         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExitCode( 
1131             /* [retval][out] */ short *pVal) = 0;
1132         
1133         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ExitCode( 
1134             /* [in] */ short newVal) = 0;
1135         
1136         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WaitCursor( 
1137             /* [retval][out] */ short *pVal) = 0;
1138         
1139         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WaitCursor( 
1140             /* [in] */ short newVal) = 0;
1141         
1142         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadIcon( 
1143             /* [in] */ VARIANT text) = 0;
1144         
1145         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CenterWindow( void) = 0;
1146         
1147         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClassObject( 
1148             /* [retval][out] */ VARIANT *pVal) = 0;
1149         
1150         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ClassObject( 
1151             /* [in] */ VARIANT newVal) = 0;
1152         
1153         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClientWidth( 
1154             /* [retval][out] */ long *pVal) = 0;
1155         
1156         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClientHeight( 
1157             /* [retval][out] */ long *pVal) = 0;
1158         
1159         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_innerWidth( 
1160             /* [retval][out] */ double *pVal) = 0;
1161         
1162         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_innerHeight( 
1163             /* [retval][out] */ double *pVal) = 0;
1164         
1165         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoReleaseClassObject( 
1166             /* [retval][out] */ BOOL *pVal) = 0;
1167         
1168         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoReleaseClassObject( 
1169             /* [in] */ BOOL newVal) = 0;
1170         
1171         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DefaultAction( 
1172             /* [retval][out] */ BOOL *pVal) = 0;
1173         
1174         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DefaultAction( 
1175             /* [in] */ BOOL newVal) = 0;
1176         
1177         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetClipboardText( 
1178             /* [in] */ BSTR text) = 0;
1179         
1180         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetClipboardText( 
1181             /* [retval][out] */ VARIANT *pVarText) = 0;
1182         
1183         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WaitEvent( 
1184             /* [optional][in] */ VARIANT varTim,
1185             /* [retval][out] */ BOOL *pRet) = 0;
1186         
1187         virtual /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE DoEvent( 
1188             /* [retval][out] */ VARIANT *varResult) = 0;
1189         
1190         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DoModal( 
1191             /* [retval][out] */ VARIANT *pRetcode) = 0;
1192         
1193         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateChild( 
1194             /* [retval][out] */ VARIANT *pvarUnk) = 0;
1195         
1196         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Open( 
1197             /* [optional][in] */ VARIANT caption,
1198             /* [retval][out] */ VARIANT *pvarUnk) = 0;
1199         
1200         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
1201         
1202         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetPlacement( 
1203             /* [optional][in] */ VARIANT x,
1204             /* [optional][in] */ VARIANT y,
1205             /* [optional][in] */ VARIANT w,
1206             /* [optional][in] */ VARIANT h,
1207             /* [retval][out] */ VARIANT *pvarUnk) = 0;
1208         
1209         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetWindowStyle( 
1210             /* [in] */ VARIANT frametype,
1211             /* [optional][in] */ VARIANT caption_system,
1212             /* [optional][in] */ VARIANT maxmin,
1213             /* [retval][out] */ VARIANT *pvarUnk) = 0;
1214         
1215         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetFocus( void) = 0;
1216         
1217         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMenu( 
1218             /* [in] */ VARIANT fmt) = 0;
1219         
1220         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetForegroundWindow( void) = 0;
1221         
1222         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TrackPopupMenu( 
1223             /* [in] */ VARIANT text,
1224             /* [optional][in] */ VARIANT cmd,
1225             /* [retval][out] */ VARIANT *pRet) = 0;
1226         
1227         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckMenu( 
1228             /* [in] */ VARIANT cmd,
1229             /* [in] */ VARIANT mode) = 0;
1230         
1231         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableMenu( 
1232             /* [in] */ VARIANT cmd,
1233             /* [in] */ VARIANT mode) = 0;
1234         
1235         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
1236         
1237         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Draw( void) = 0;
1238         
1239         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetTimer( 
1240             /* [in] */ VARIANT tim,
1241             /* [retval][out] */ BOOL *pVal) = 0;
1242         
1243         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSysColor( 
1244             /* [in] */ VARIANT typ,
1245             /* [retval][out] */ VARIANT *col) = 0;
1246         
1247     };
1248     
1249     
1250 #else   /* C style interface */
1251
1252     typedef struct IOverlappedWindowVtbl
1253     {
1254         BEGIN_INTERFACE
1255         
1256         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
1257             IOverlappedWindow * This,
1258             /* [in] */ REFIID riid,
1259             /* [annotation][iid_is][out] */ 
1260             _COM_Outptr_  void **ppvObject);
1261         
1262         ULONG ( STDMETHODCALLTYPE *AddRef )( 
1263             IOverlappedWindow * This);
1264         
1265         ULONG ( STDMETHODCALLTYPE *Release )( 
1266             IOverlappedWindow * This);
1267         
1268         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
1269             IOverlappedWindow * This,
1270             /* [out] */ UINT *pctinfo);
1271         
1272         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
1273             IOverlappedWindow * This,
1274             /* [in] */ UINT iTInfo,
1275             /* [in] */ LCID lcid,
1276             /* [out] */ ITypeInfo **ppTInfo);
1277         
1278         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
1279             IOverlappedWindow * This,
1280             /* [in] */ REFIID riid,
1281             /* [size_is][in] */ LPOLESTR *rgszNames,
1282             /* [range][in] */ UINT cNames,
1283             /* [in] */ LCID lcid,
1284             /* [size_is][out] */ DISPID *rgDispId);
1285         
1286         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
1287             IOverlappedWindow * This,
1288             /* [annotation][in] */ 
1289             _In_  DISPID dispIdMember,
1290             /* [annotation][in] */ 
1291             _In_  REFIID riid,
1292             /* [annotation][in] */ 
1293             _In_  LCID lcid,
1294             /* [annotation][in] */ 
1295             _In_  WORD wFlags,
1296             /* [annotation][out][in] */ 
1297             _In_  DISPPARAMS *pDispParams,
1298             /* [annotation][out] */ 
1299             _Out_opt_  VARIANT *pVarResult,
1300             /* [annotation][out] */ 
1301             _Out_opt_  EXCEPINFO *pExcepInfo,
1302             /* [annotation][out] */ 
1303             _Out_opt_  UINT *puArgErr);
1304         
1305         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsEventEmpty )( 
1306             IOverlappedWindow * This,
1307             /* [retval][out] */ BOOL *pVal);
1308         
1309         /* [hidden][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DoubleBuffer )( 
1310             IOverlappedWindow * This,
1311             /* [retval][out] */ BOOL *pVal);
1312         
1313         /* [hidden][helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DoubleBuffer )( 
1314             IOverlappedWindow * This,
1315             /* [in] */ BOOL newVal);
1316         
1317         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CreateNoCloseWindow )( 
1318             IOverlappedWindow * This,
1319             /* [in] */ BOOL newVal);
1320         
1321         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CreateNoCloseWindow )( 
1322             IOverlappedWindow * This,
1323             /* [retval][out] */ BOOL *pVal);
1324         
1325         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Quit )( 
1326             IOverlappedWindow * This,
1327             /* [retval][out] */ BOOL *pVal);
1328         
1329         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Quit )( 
1330             IOverlappedWindow * This,
1331             /* [in] */ BOOL newVal);
1332         
1333         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Style )( 
1334             IOverlappedWindow * This,
1335             /* [retval][out] */ long *pVal);
1336         
1337         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Style )( 
1338             IOverlappedWindow * This,
1339             /* [in] */ long newVal);
1340         
1341         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Exstyle )( 
1342             IOverlappedWindow * This,
1343             /* [retval][out] */ long *pVal);
1344         
1345         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Exstyle )( 
1346             IOverlappedWindow * This,
1347             /* [in] */ long newVal);
1348         
1349         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WindowClassName )( 
1350             IOverlappedWindow * This,
1351             /* [retval][out] */ BSTR *pVal);
1352         
1353         /* [hidden][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoMessageLoop )( 
1354             IOverlappedWindow * This,
1355             /* [retval][out] */ BOOL *pVal);
1356         
1357         /* [hidden][helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoMessageLoop )( 
1358             IOverlappedWindow * This,
1359             /* [in] */ BOOL newVal);
1360         
1361         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoClose )( 
1362             IOverlappedWindow * This,
1363             /* [retval][out] */ BOOL *pVal);
1364         
1365         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoClose )( 
1366             IOverlappedWindow * This,
1367             /* [in] */ BOOL newVal);
1368         
1369         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_backColor )( 
1370             IOverlappedWindow * This,
1371             /* [retval][out] */ long *pVal);
1372         
1373         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_backColor )( 
1374             IOverlappedWindow * This,
1375             /* [in] */ long newVal);
1376         
1377         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TopMost )( 
1378             IOverlappedWindow * This,
1379             /* [retval][out] */ BOOL *pVal);
1380         
1381         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TopMost )( 
1382             IOverlappedWindow * This,
1383             /* [in] */ BOOL newVal);
1384         
1385         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PosX )( 
1386             IOverlappedWindow * This,
1387             /* [retval][out] */ short *pVal);
1388         
1389         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PosX )( 
1390             IOverlappedWindow * This,
1391             /* [in] */ short newVal);
1392         
1393         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PosY )( 
1394             IOverlappedWindow * This,
1395             /* [retval][out] */ short *pVal);
1396         
1397         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PosY )( 
1398             IOverlappedWindow * This,
1399             /* [in] */ short newVal);
1400         
1401         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Width )( 
1402             IOverlappedWindow * This,
1403             /* [retval][out] */ short *pVal);
1404         
1405         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Width )( 
1406             IOverlappedWindow * This,
1407             /* [in] */ short newVal);
1408         
1409         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Height )( 
1410             IOverlappedWindow * This,
1411             /* [retval][out] */ short *pVal);
1412         
1413         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Height )( 
1414             IOverlappedWindow * This,
1415             /* [in] */ short newVal);
1416         
1417         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AcceptFiles )( 
1418             IOverlappedWindow * This,
1419             /* [retval][out] */ BOOL *pVal);
1420         
1421         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AcceptFiles )( 
1422             IOverlappedWindow * This,
1423             /* [in] */ BOOL newVal);
1424         
1425         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enable )( 
1426             IOverlappedWindow * This,
1427             /* [retval][out] */ BOOL *pVal);
1428         
1429         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enable )( 
1430             IOverlappedWindow * This,
1431             /* [in] */ BOOL newVal);
1432         
1433         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Iconic )( 
1434             IOverlappedWindow * This,
1435             /* [retval][out] */ BOOL *pVal);
1436         
1437         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Iconic )( 
1438             IOverlappedWindow * This,
1439             /* [in] */ BOOL newVal);
1440         
1441         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Zoomed )( 
1442             IOverlappedWindow * This,
1443             /* [retval][out] */ BOOL *pVal);
1444         
1445         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Zoomed )( 
1446             IOverlappedWindow * This,
1447             /* [in] */ BOOL newVal);
1448         
1449         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )( 
1450             IOverlappedWindow * This,
1451             /* [retval][out] */ BOOL *pVal);
1452         
1453         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Visible )( 
1454             IOverlappedWindow * This,
1455             /* [in] */ BOOL newVal);
1456         
1457         /* [hidden][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HWND )( 
1458             IOverlappedWindow * This,
1459             /* [retval][out] */ long *pVal);
1460         
1461         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DropFiles )( 
1462             IOverlappedWindow * This,
1463             /* [retval][out] */ VARIANT *pVal);
1464         
1465         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Canvas )( 
1466             IOverlappedWindow * This,
1467             /* [retval][out] */ VARIANT *pVal);
1468         
1469         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
1470             IOverlappedWindow * This,
1471             /* [retval][out] */ VARIANT *pVal);
1472         
1473         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Form )( 
1474             IOverlappedWindow * This,
1475             /* [retval][out] */ VARIANT *pVal);
1476         
1477         /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Caption )( 
1478             IOverlappedWindow * This,
1479             /* [in] */ BSTR strCaption);
1480         
1481         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Caption )( 
1482             IOverlappedWindow * This,
1483             /* [retval][out] */ BSTR *pstrCaption);
1484         
1485         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Object )( 
1486             IOverlappedWindow * This,
1487             /* [optional][in] */ VARIANT idx,
1488             /* [retval][out] */ VARIANT *pVal);
1489         
1490         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExitCode )( 
1491             IOverlappedWindow * This,
1492             /* [retval][out] */ short *pVal);
1493         
1494         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ExitCode )( 
1495             IOverlappedWindow * This,
1496             /* [in] */ short newVal);
1497         
1498         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WaitCursor )( 
1499             IOverlappedWindow * This,
1500             /* [retval][out] */ short *pVal);
1501         
1502         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WaitCursor )( 
1503             IOverlappedWindow * This,
1504             /* [in] */ short newVal);
1505         
1506         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadIcon )( 
1507             IOverlappedWindow * This,
1508             /* [in] */ VARIANT text);
1509         
1510         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CenterWindow )( 
1511             IOverlappedWindow * This);
1512         
1513         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassObject )( 
1514             IOverlappedWindow * This,
1515             /* [retval][out] */ VARIANT *pVal);
1516         
1517         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ClassObject )( 
1518             IOverlappedWindow * This,
1519             /* [in] */ VARIANT newVal);
1520         
1521         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClientWidth )( 
1522             IOverlappedWindow * This,
1523             /* [retval][out] */ long *pVal);
1524         
1525         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClientHeight )( 
1526             IOverlappedWindow * This,
1527             /* [retval][out] */ long *pVal);
1528         
1529         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_innerWidth )( 
1530             IOverlappedWindow * This,
1531             /* [retval][out] */ double *pVal);
1532         
1533         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_innerHeight )( 
1534             IOverlappedWindow * This,
1535             /* [retval][out] */ double *pVal);
1536         
1537         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoReleaseClassObject )( 
1538             IOverlappedWindow * This,
1539             /* [retval][out] */ BOOL *pVal);
1540         
1541         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoReleaseClassObject )( 
1542             IOverlappedWindow * This,
1543             /* [in] */ BOOL newVal);
1544         
1545         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DefaultAction )( 
1546             IOverlappedWindow * This,
1547             /* [retval][out] */ BOOL *pVal);
1548         
1549         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DefaultAction )( 
1550             IOverlappedWindow * This,
1551             /* [in] */ BOOL newVal);
1552         
1553         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetClipboardText )( 
1554             IOverlappedWindow * This,
1555             /* [in] */ BSTR text);
1556         
1557         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetClipboardText )( 
1558             IOverlappedWindow * This,
1559             /* [retval][out] */ VARIANT *pVarText);
1560         
1561         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitEvent )( 
1562             IOverlappedWindow * This,
1563             /* [optional][in] */ VARIANT varTim,
1564             /* [retval][out] */ BOOL *pRet);
1565         
1566         /* [hidden][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DoEvent )( 
1567             IOverlappedWindow * This,
1568             /* [retval][out] */ VARIANT *varResult);
1569         
1570         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DoModal )( 
1571             IOverlappedWindow * This,
1572             /* [retval][out] */ VARIANT *pRetcode);
1573         
1574         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateChild )( 
1575             IOverlappedWindow * This,
1576             /* [retval][out] */ VARIANT *pvarUnk);
1577         
1578         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Open )( 
1579             IOverlappedWindow * This,
1580             /* [optional][in] */ VARIANT caption,
1581             /* [retval][out] */ VARIANT *pvarUnk);
1582         
1583         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Close )( 
1584             IOverlappedWindow * This);
1585         
1586         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetPlacement )( 
1587             IOverlappedWindow * This,
1588             /* [optional][in] */ VARIANT x,
1589             /* [optional][in] */ VARIANT y,
1590             /* [optional][in] */ VARIANT w,
1591             /* [optional][in] */ VARIANT h,
1592             /* [retval][out] */ VARIANT *pvarUnk);
1593         
1594         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetWindowStyle )( 
1595             IOverlappedWindow * This,
1596             /* [in] */ VARIANT frametype,
1597             /* [optional][in] */ VARIANT caption_system,
1598             /* [optional][in] */ VARIANT maxmin,
1599             /* [retval][out] */ VARIANT *pvarUnk);
1600         
1601         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetFocus )( 
1602             IOverlappedWindow * This);
1603         
1604         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMenu )( 
1605             IOverlappedWindow * This,
1606             /* [in] */ VARIANT fmt);
1607         
1608         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetForegroundWindow )( 
1609             IOverlappedWindow * This);
1610         
1611         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TrackPopupMenu )( 
1612             IOverlappedWindow * This,
1613             /* [in] */ VARIANT text,
1614             /* [optional][in] */ VARIANT cmd,
1615             /* [retval][out] */ VARIANT *pRet);
1616         
1617         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CheckMenu )( 
1618             IOverlappedWindow * This,
1619             /* [in] */ VARIANT cmd,
1620             /* [in] */ VARIANT mode);
1621         
1622         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableMenu )( 
1623             IOverlappedWindow * This,
1624             /* [in] */ VARIANT cmd,
1625             /* [in] */ VARIANT mode);
1626         
1627         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( 
1628             IOverlappedWindow * This);
1629         
1630         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Draw )( 
1631             IOverlappedWindow * This);
1632         
1633         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetTimer )( 
1634             IOverlappedWindow * This,
1635             /* [in] */ VARIANT tim,
1636             /* [retval][out] */ BOOL *pVal);
1637         
1638         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSysColor )( 
1639             IOverlappedWindow * This,
1640             /* [in] */ VARIANT typ,
1641             /* [retval][out] */ VARIANT *col);
1642         
1643         END_INTERFACE
1644     } IOverlappedWindowVtbl;
1645
1646     interface IOverlappedWindow
1647     {
1648         CONST_VTBL struct IOverlappedWindowVtbl *lpVtbl;
1649     };
1650
1651     
1652
1653 #ifdef COBJMACROS
1654
1655
1656 #define IOverlappedWindow_QueryInterface(This,riid,ppvObject)   \
1657     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
1658
1659 #define IOverlappedWindow_AddRef(This)  \
1660     ( (This)->lpVtbl -> AddRef(This) ) 
1661
1662 #define IOverlappedWindow_Release(This) \
1663     ( (This)->lpVtbl -> Release(This) ) 
1664
1665
1666 #define IOverlappedWindow_GetTypeInfoCount(This,pctinfo)        \
1667     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
1668
1669 #define IOverlappedWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
1670     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
1671
1672 #define IOverlappedWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)       \
1673     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
1674
1675 #define IOverlappedWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
1676     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
1677
1678
1679 #define IOverlappedWindow_get_IsEventEmpty(This,pVal)   \
1680     ( (This)->lpVtbl -> get_IsEventEmpty(This,pVal) ) 
1681
1682 #define IOverlappedWindow_get_DoubleBuffer(This,pVal)   \
1683     ( (This)->lpVtbl -> get_DoubleBuffer(This,pVal) ) 
1684
1685 #define IOverlappedWindow_put_DoubleBuffer(This,newVal) \
1686     ( (This)->lpVtbl -> put_DoubleBuffer(This,newVal) ) 
1687
1688 #define IOverlappedWindow_put_CreateNoCloseWindow(This,newVal)  \
1689     ( (This)->lpVtbl -> put_CreateNoCloseWindow(This,newVal) ) 
1690
1691 #define IOverlappedWindow_get_CreateNoCloseWindow(This,pVal)    \
1692     ( (This)->lpVtbl -> get_CreateNoCloseWindow(This,pVal) ) 
1693
1694 #define IOverlappedWindow_get_Quit(This,pVal)   \
1695     ( (This)->lpVtbl -> get_Quit(This,pVal) ) 
1696
1697 #define IOverlappedWindow_put_Quit(This,newVal) \
1698     ( (This)->lpVtbl -> put_Quit(This,newVal) ) 
1699
1700 #define IOverlappedWindow_get_Style(This,pVal)  \
1701     ( (This)->lpVtbl -> get_Style(This,pVal) ) 
1702
1703 #define IOverlappedWindow_put_Style(This,newVal)        \
1704     ( (This)->lpVtbl -> put_Style(This,newVal) ) 
1705
1706 #define IOverlappedWindow_get_Exstyle(This,pVal)        \
1707     ( (This)->lpVtbl -> get_Exstyle(This,pVal) ) 
1708
1709 #define IOverlappedWindow_put_Exstyle(This,newVal)      \
1710     ( (This)->lpVtbl -> put_Exstyle(This,newVal) ) 
1711
1712 #define IOverlappedWindow_get_WindowClassName(This,pVal)        \
1713     ( (This)->lpVtbl -> get_WindowClassName(This,pVal) ) 
1714
1715 #define IOverlappedWindow_get_AutoMessageLoop(This,pVal)        \
1716     ( (This)->lpVtbl -> get_AutoMessageLoop(This,pVal) ) 
1717
1718 #define IOverlappedWindow_put_AutoMessageLoop(This,newVal)      \
1719     ( (This)->lpVtbl -> put_AutoMessageLoop(This,newVal) ) 
1720
1721 #define IOverlappedWindow_get_AutoClose(This,pVal)      \
1722     ( (This)->lpVtbl -> get_AutoClose(This,pVal) ) 
1723
1724 #define IOverlappedWindow_put_AutoClose(This,newVal)    \
1725     ( (This)->lpVtbl -> put_AutoClose(This,newVal) ) 
1726
1727 #define IOverlappedWindow_get_backColor(This,pVal)      \
1728     ( (This)->lpVtbl -> get_backColor(This,pVal) ) 
1729
1730 #define IOverlappedWindow_put_backColor(This,newVal)    \
1731     ( (This)->lpVtbl -> put_backColor(This,newVal) ) 
1732
1733 #define IOverlappedWindow_get_TopMost(This,pVal)        \
1734     ( (This)->lpVtbl -> get_TopMost(This,pVal) ) 
1735
1736 #define IOverlappedWindow_put_TopMost(This,newVal)      \
1737     ( (This)->lpVtbl -> put_TopMost(This,newVal) ) 
1738
1739 #define IOverlappedWindow_get_PosX(This,pVal)   \
1740     ( (This)->lpVtbl -> get_PosX(This,pVal) ) 
1741
1742 #define IOverlappedWindow_put_PosX(This,newVal) \
1743     ( (This)->lpVtbl -> put_PosX(This,newVal) ) 
1744
1745 #define IOverlappedWindow_get_PosY(This,pVal)   \
1746     ( (This)->lpVtbl -> get_PosY(This,pVal) ) 
1747
1748 #define IOverlappedWindow_put_PosY(This,newVal) \
1749     ( (This)->lpVtbl -> put_PosY(This,newVal) ) 
1750
1751 #define IOverlappedWindow_get_Width(This,pVal)  \
1752     ( (This)->lpVtbl -> get_Width(This,pVal) ) 
1753
1754 #define IOverlappedWindow_put_Width(This,newVal)        \
1755     ( (This)->lpVtbl -> put_Width(This,newVal) ) 
1756
1757 #define IOverlappedWindow_get_Height(This,pVal) \
1758     ( (This)->lpVtbl -> get_Height(This,pVal) ) 
1759
1760 #define IOverlappedWindow_put_Height(This,newVal)       \
1761     ( (This)->lpVtbl -> put_Height(This,newVal) ) 
1762
1763 #define IOverlappedWindow_get_AcceptFiles(This,pVal)    \
1764     ( (This)->lpVtbl -> get_AcceptFiles(This,pVal) ) 
1765
1766 #define IOverlappedWindow_put_AcceptFiles(This,newVal)  \
1767     ( (This)->lpVtbl -> put_AcceptFiles(This,newVal) ) 
1768
1769 #define IOverlappedWindow_get_Enable(This,pVal) \
1770     ( (This)->lpVtbl -> get_Enable(This,pVal) ) 
1771
1772 #define IOverlappedWindow_put_Enable(This,newVal)       \
1773     ( (This)->lpVtbl -> put_Enable(This,newVal) ) 
1774
1775 #define IOverlappedWindow_get_Iconic(This,pVal) \
1776     ( (This)->lpVtbl -> get_Iconic(This,pVal) ) 
1777
1778 #define IOverlappedWindow_put_Iconic(This,newVal)       \
1779     ( (This)->lpVtbl -> put_Iconic(This,newVal) ) 
1780
1781 #define IOverlappedWindow_get_Zoomed(This,pVal) \
1782     ( (This)->lpVtbl -> get_Zoomed(This,pVal) ) 
1783
1784 #define IOverlappedWindow_put_Zoomed(This,newVal)       \
1785     ( (This)->lpVtbl -> put_Zoomed(This,newVal) ) 
1786
1787 #define IOverlappedWindow_get_Visible(This,pVal)        \
1788     ( (This)->lpVtbl -> get_Visible(This,pVal) ) 
1789
1790 #define IOverlappedWindow_put_Visible(This,newVal)      \
1791     ( (This)->lpVtbl -> put_Visible(This,newVal) ) 
1792
1793 #define IOverlappedWindow_get_HWND(This,pVal)   \
1794     ( (This)->lpVtbl -> get_HWND(This,pVal) ) 
1795
1796 #define IOverlappedWindow_get_DropFiles(This,pVal)      \
1797     ( (This)->lpVtbl -> get_DropFiles(This,pVal) ) 
1798
1799 #define IOverlappedWindow_get_Canvas(This,pVal) \
1800     ( (This)->lpVtbl -> get_Canvas(This,pVal) ) 
1801
1802 #define IOverlappedWindow_get_Event(This,pVal)  \
1803     ( (This)->lpVtbl -> get_Event(This,pVal) ) 
1804
1805 #define IOverlappedWindow_get_Form(This,pVal)   \
1806     ( (This)->lpVtbl -> get_Form(This,pVal) ) 
1807
1808 #define IOverlappedWindow_put_Caption(This,strCaption)  \
1809     ( (This)->lpVtbl -> put_Caption(This,strCaption) ) 
1810
1811 #define IOverlappedWindow_get_Caption(This,pstrCaption) \
1812     ( (This)->lpVtbl -> get_Caption(This,pstrCaption) ) 
1813
1814 #define IOverlappedWindow_get_Object(This,idx,pVal)     \
1815     ( (This)->lpVtbl -> get_Object(This,idx,pVal) ) 
1816
1817 #define IOverlappedWindow_get_ExitCode(This,pVal)       \
1818     ( (This)->lpVtbl -> get_ExitCode(This,pVal) ) 
1819
1820 #define IOverlappedWindow_put_ExitCode(This,newVal)     \
1821     ( (This)->lpVtbl -> put_ExitCode(This,newVal) ) 
1822
1823 #define IOverlappedWindow_get_WaitCursor(This,pVal)     \
1824     ( (This)->lpVtbl -> get_WaitCursor(This,pVal) ) 
1825
1826 #define IOverlappedWindow_put_WaitCursor(This,newVal)   \
1827     ( (This)->lpVtbl -> put_WaitCursor(This,newVal) ) 
1828
1829 #define IOverlappedWindow_LoadIcon(This,text)   \
1830     ( (This)->lpVtbl -> LoadIcon(This,text) ) 
1831
1832 #define IOverlappedWindow_CenterWindow(This)    \
1833     ( (This)->lpVtbl -> CenterWindow(This) ) 
1834
1835 #define IOverlappedWindow_get_ClassObject(This,pVal)    \
1836     ( (This)->lpVtbl -> get_ClassObject(This,pVal) ) 
1837
1838 #define IOverlappedWindow_put_ClassObject(This,newVal)  \
1839     ( (This)->lpVtbl -> put_ClassObject(This,newVal) ) 
1840
1841 #define IOverlappedWindow_get_ClientWidth(This,pVal)    \
1842     ( (This)->lpVtbl -> get_ClientWidth(This,pVal) ) 
1843
1844 #define IOverlappedWindow_get_ClientHeight(This,pVal)   \
1845     ( (This)->lpVtbl -> get_ClientHeight(This,pVal) ) 
1846
1847 #define IOverlappedWindow_get_innerWidth(This,pVal)     \
1848     ( (This)->lpVtbl -> get_innerWidth(This,pVal) ) 
1849
1850 #define IOverlappedWindow_get_innerHeight(This,pVal)    \
1851     ( (This)->lpVtbl -> get_innerHeight(This,pVal) ) 
1852
1853 #define IOverlappedWindow_get_AutoReleaseClassObject(This,pVal) \
1854     ( (This)->lpVtbl -> get_AutoReleaseClassObject(This,pVal) ) 
1855
1856 #define IOverlappedWindow_put_AutoReleaseClassObject(This,newVal)       \
1857     ( (This)->lpVtbl -> put_AutoReleaseClassObject(This,newVal) ) 
1858
1859 #define IOverlappedWindow_get_DefaultAction(This,pVal)  \
1860     ( (This)->lpVtbl -> get_DefaultAction(This,pVal) ) 
1861
1862 #define IOverlappedWindow_put_DefaultAction(This,newVal)        \
1863     ( (This)->lpVtbl -> put_DefaultAction(This,newVal) ) 
1864
1865 #define IOverlappedWindow_SetClipboardText(This,text)   \
1866     ( (This)->lpVtbl -> SetClipboardText(This,text) ) 
1867
1868 #define IOverlappedWindow_GetClipboardText(This,pVarText)       \
1869     ( (This)->lpVtbl -> GetClipboardText(This,pVarText) ) 
1870
1871 #define IOverlappedWindow_WaitEvent(This,varTim,pRet)   \
1872     ( (This)->lpVtbl -> WaitEvent(This,varTim,pRet) ) 
1873
1874 #define IOverlappedWindow_DoEvent(This,varResult)       \
1875     ( (This)->lpVtbl -> DoEvent(This,varResult) ) 
1876
1877 #define IOverlappedWindow_DoModal(This,pRetcode)        \
1878     ( (This)->lpVtbl -> DoModal(This,pRetcode) ) 
1879
1880 #define IOverlappedWindow_CreateChild(This,pvarUnk)     \
1881     ( (This)->lpVtbl -> CreateChild(This,pvarUnk) ) 
1882
1883 #define IOverlappedWindow_Open(This,caption,pvarUnk)    \
1884     ( (This)->lpVtbl -> Open(This,caption,pvarUnk) ) 
1885
1886 #define IOverlappedWindow_Close(This)   \
1887     ( (This)->lpVtbl -> Close(This) ) 
1888
1889 #define IOverlappedWindow_SetPlacement(This,x,y,w,h,pvarUnk)    \
1890     ( (This)->lpVtbl -> SetPlacement(This,x,y,w,h,pvarUnk) ) 
1891
1892 #define IOverlappedWindow_SetWindowStyle(This,frametype,caption_system,maxmin,pvarUnk)  \
1893     ( (This)->lpVtbl -> SetWindowStyle(This,frametype,caption_system,maxmin,pvarUnk) ) 
1894
1895 #define IOverlappedWindow_SetFocus(This)        \
1896     ( (This)->lpVtbl -> SetFocus(This) ) 
1897
1898 #define IOverlappedWindow_SetMenu(This,fmt)     \
1899     ( (This)->lpVtbl -> SetMenu(This,fmt) ) 
1900
1901 #define IOverlappedWindow_SetForegroundWindow(This)     \
1902     ( (This)->lpVtbl -> SetForegroundWindow(This) ) 
1903
1904 #define IOverlappedWindow_TrackPopupMenu(This,text,cmd,pRet)    \
1905     ( (This)->lpVtbl -> TrackPopupMenu(This,text,cmd,pRet) ) 
1906
1907 #define IOverlappedWindow_CheckMenu(This,cmd,mode)      \
1908     ( (This)->lpVtbl -> CheckMenu(This,cmd,mode) ) 
1909
1910 #define IOverlappedWindow_EnableMenu(This,cmd,mode)     \
1911     ( (This)->lpVtbl -> EnableMenu(This,cmd,mode) ) 
1912
1913 #define IOverlappedWindow_Refresh(This) \
1914     ( (This)->lpVtbl -> Refresh(This) ) 
1915
1916 #define IOverlappedWindow_Draw(This)    \
1917     ( (This)->lpVtbl -> Draw(This) ) 
1918
1919 #define IOverlappedWindow_SetTimer(This,tim,pVal)       \
1920     ( (This)->lpVtbl -> SetTimer(This,tim,pVal) ) 
1921
1922 #define IOverlappedWindow_GetSysColor(This,typ,col)     \
1923     ( (This)->lpVtbl -> GetSysColor(This,typ,col) ) 
1924
1925 #endif /* COBJMACROS */
1926
1927
1928 #endif  /* C style interface */
1929
1930
1931
1932
1933 #endif  /* __IOverlappedWindow_INTERFACE_DEFINED__ */
1934
1935
1936 EXTERN_C const CLSID CLSID_CommDialog;
1937
1938 #ifdef __cplusplus
1939
1940 class DECLSPEC_UUID("E0F061C5-A9E7-4DAD-97C7-051F91C2D1EC")
1941 CommDialog;
1942 #endif
1943
1944 #ifndef ___IOverlappedWindowEvents_DISPINTERFACE_DEFINED__
1945 #define ___IOverlappedWindowEvents_DISPINTERFACE_DEFINED__
1946
1947 /* dispinterface _IOverlappedWindowEvents */
1948 /* [helpstring][uuid] */ 
1949
1950
1951 EXTERN_C const IID DIID__IOverlappedWindowEvents;
1952
1953 #if defined(__cplusplus) && !defined(CINTERFACE)
1954
1955     MIDL_INTERFACE("73421190-1EAF-4798-B35F-92D228F253D9")
1956     _IOverlappedWindowEvents : public IDispatch
1957     {
1958     };
1959     
1960 #else   /* C style interface */
1961
1962     typedef struct _IOverlappedWindowEventsVtbl
1963     {
1964         BEGIN_INTERFACE
1965         
1966         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
1967             _IOverlappedWindowEvents * This,
1968             /* [in] */ REFIID riid,
1969             /* [annotation][iid_is][out] */ 
1970             _COM_Outptr_  void **ppvObject);
1971         
1972         ULONG ( STDMETHODCALLTYPE *AddRef )( 
1973             _IOverlappedWindowEvents * This);
1974         
1975         ULONG ( STDMETHODCALLTYPE *Release )( 
1976             _IOverlappedWindowEvents * This);
1977         
1978         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
1979             _IOverlappedWindowEvents * This,
1980             /* [out] */ UINT *pctinfo);
1981         
1982         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
1983             _IOverlappedWindowEvents * This,
1984             /* [in] */ UINT iTInfo,
1985             /* [in] */ LCID lcid,
1986             /* [out] */ ITypeInfo **ppTInfo);
1987         
1988         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
1989             _IOverlappedWindowEvents * This,
1990             /* [in] */ REFIID riid,
1991             /* [size_is][in] */ LPOLESTR *rgszNames,
1992             /* [range][in] */ UINT cNames,
1993             /* [in] */ LCID lcid,
1994             /* [size_is][out] */ DISPID *rgDispId);
1995         
1996         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
1997             _IOverlappedWindowEvents * This,
1998             /* [annotation][in] */ 
1999             _In_  DISPID dispIdMember,
2000             /* [annotation][in] */ 
2001             _In_  REFIID riid,
2002             /* [annotation][in] */ 
2003             _In_  LCID lcid,
2004             /* [annotation][in] */ 
2005             _In_  WORD wFlags,
2006             /* [annotation][out][in] */ 
2007             _In_  DISPPARAMS *pDispParams,
2008             /* [annotation][out] */ 
2009             _Out_opt_  VARIANT *pVarResult,
2010             /* [annotation][out] */ 
2011             _Out_opt_  EXCEPINFO *pExcepInfo,
2012             /* [annotation][out] */ 
2013             _Out_opt_  UINT *puArgErr);
2014         
2015         END_INTERFACE
2016     } _IOverlappedWindowEventsVtbl;
2017
2018     interface _IOverlappedWindowEvents
2019     {
2020         CONST_VTBL struct _IOverlappedWindowEventsVtbl *lpVtbl;
2021     };
2022
2023     
2024
2025 #ifdef COBJMACROS
2026
2027
2028 #define _IOverlappedWindowEvents_QueryInterface(This,riid,ppvObject)    \
2029     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
2030
2031 #define _IOverlappedWindowEvents_AddRef(This)   \
2032     ( (This)->lpVtbl -> AddRef(This) ) 
2033
2034 #define _IOverlappedWindowEvents_Release(This)  \
2035     ( (This)->lpVtbl -> Release(This) ) 
2036
2037
2038 #define _IOverlappedWindowEvents_GetTypeInfoCount(This,pctinfo) \
2039     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
2040
2041 #define _IOverlappedWindowEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)  \
2042     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
2043
2044 #define _IOverlappedWindowEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)        \
2045     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
2046
2047 #define _IOverlappedWindowEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)  \
2048     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
2049
2050 #endif /* COBJMACROS */
2051
2052
2053 #endif  /* C style interface */
2054
2055
2056 #endif  /* ___IOverlappedWindowEvents_DISPINTERFACE_DEFINED__ */
2057
2058
2059 #ifndef __IControl_INTERFACE_DEFINED__
2060 #define __IControl_INTERFACE_DEFINED__
2061
2062 /* interface IControl */
2063 /* [unique][helpstring][dual][uuid][object] */ 
2064
2065
2066 EXTERN_C const IID IID_IControl;
2067
2068 #if defined(__cplusplus) && !defined(CINTERFACE)
2069     
2070     MIDL_INTERFACE("504DDD1C-D928-45B4-994B-0E18E4CFCB71")
2071     IControl : public IDispatch
2072     {
2073     public:
2074         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Text( 
2075             /* [retval][out] */ BSTR *pVal) = 0;
2076         
2077         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Text( 
2078             /* [in] */ BSTR newVal) = 0;
2079         
2080         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ID( 
2081             /* [retval][out] */ short *pVal) = 0;
2082         
2083         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ID( 
2084             /* [in] */ short newVal) = 0;
2085         
2086         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Visibility( 
2087             /* [retval][out] */ BOOL *pVal) = 0;
2088         
2089         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Visibility( 
2090             /* [in] */ BOOL newVal) = 0;
2091         
2092         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enable( 
2093             /* [retval][out] */ BOOL *pVal) = 0;
2094         
2095         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Enable( 
2096             /* [in] */ BOOL newVal) = 0;
2097         
2098         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CheckState( 
2099             /* [retval][out] */ short *pVal) = 0;
2100         
2101         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CheckState( 
2102             /* [in] */ short newVal) = 0;
2103         
2104         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Width( 
2105             /* [retval][out] */ short *pVal) = 0;
2106         
2107         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Width( 
2108             /* [in] */ short newVal) = 0;
2109         
2110         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Height( 
2111             /* [retval][out] */ short *pVal) = 0;
2112         
2113         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Height( 
2114             /* [in] */ short newVal) = 0;
2115         
2116         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PosX( 
2117             /* [retval][out] */ short *pVal) = 0;
2118         
2119         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PosX( 
2120             /* [in] */ short newVal) = 0;
2121         
2122         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PosY( 
2123             /* [retval][out] */ short *pVal) = 0;
2124         
2125         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PosY( 
2126             /* [in] */ short newVal) = 0;
2127         
2128         virtual /* [hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Style( 
2129             /* [retval][out] */ long *pVal) = 0;
2130         
2131         virtual /* [hidden][helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Style( 
2132             /* [in] */ long newVal) = 0;
2133         
2134         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Exstyle( 
2135             /* [retval][out] */ long *pVal) = 0;
2136         
2137         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Exstyle( 
2138             /* [in] */ long newVal) = 0;
2139         
2140         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClassName( 
2141             /* [retval][out] */ BSTR *pVal) = 0;
2142         
2143         virtual /* [hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HWND( 
2144             /* [retval][out] */ long *pVal) = 0;
2145         
2146         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentSelectedItem( 
2147             /* [retval][out] */ VARIANT *pVal) = 0;
2148         
2149         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CurrentSelectedItem( 
2150             /* [in] */ VARIANT newVal) = 0;
2151         
2152         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ItemSelectState( 
2153             /* [in] */ VARIANT idx,
2154             /* [retval][out] */ VARIANT *pVal) = 0;
2155         
2156         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ItemSelectState( 
2157             /* [in] */ VARIANT idx,
2158             /* [in] */ VARIANT newVal) = 0;
2159         
2160         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SelectedCount( 
2161             /* [retval][out] */ short *pVal) = 0;
2162         
2163         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TreeRoot( 
2164             /* [retval][out] */ VARIANT *pVal) = 0;
2165         
2166         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ItemObject( 
2167             /* [in] */ VARIANT idx,
2168             /* [retval][out] */ VARIANT *pVal) = 0;
2169         
2170         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAllItems( void) = 0;
2171         
2172         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ItemCheckState( 
2173             /* [in] */ VARIANT idx,
2174             /* [retval][out] */ BOOL *pVal) = 0;
2175         
2176         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ItemCheckState( 
2177             /* [in] */ VARIANT idx,
2178             /* [in] */ BOOL newVal) = 0;
2179         
2180         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteSelectedItem( void) = 0;
2181         
2182         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ItemText( 
2183             /* [in] */ VARIANT idx,
2184             /* [retval][out] */ BSTR *pVal) = 0;
2185         
2186         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ItemText( 
2187             /* [in] */ VARIANT idx,
2188             /* [in] */ BSTR newVal) = 0;
2189         
2190         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetClassEvent( 
2191             /* [in] */ BSTR name,
2192             /* [retval][out] */ VARIANT *pvarUnk) = 0;
2193         
2194         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateChild( 
2195             /* [in] */ VARIANT text,
2196             /* [in] */ VARIANT varItem,
2197             /* [retval][out] */ VARIANT *pvarUnk) = 0;
2198         
2199         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
2200             /* [retval][out] */ IUnknown **pVal) = 0;
2201         
2202         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
2203         
2204         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetPlacement( 
2205             /* [optional][in] */ VARIANT x,
2206             /* [optional][in] */ VARIANT y,
2207             /* [optional][in] */ VARIANT w,
2208             /* [optional][in] */ VARIANT h,
2209             /* [retval][out] */ VARIANT *pvarUnk) = 0;
2210         
2211         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetCheck( 
2212             /* [retval][out] */ VARIANT *pvarUnk) = 0;
2213         
2214         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetID( 
2215             /* [in] */ VARIANT varID,
2216             /* [retval][out] */ VARIANT *pvarUnk) = 0;
2217         
2218         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddString( 
2219             /* [in] */ VARIANT text,
2220             /* [retval][out] */ VARIANT *pRet) = 0;
2221         
2222         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetColumnText( 
2223             /* [in] */ VARIANT item,
2224             /* [in] */ VARIANT col,
2225             /* [in] */ VARIANT text) = 0;
2226         
2227         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColumnText( 
2228             /* [in] */ VARIANT idx,
2229             /* [in] */ VARIANT col,
2230             /* [retval][out] */ VARIANT *pText) = 0;
2231         
2232         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteString( 
2233             /* [in] */ VARIANT idx,
2234             /* [retval][out] */ VARIANT *pRet) = 0;
2235         
2236         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCount( 
2237             /* [retval][out] */ VARIANT *pRet) = 0;
2238         
2239     };
2240     
2241     
2242 #else   /* C style interface */
2243
2244     typedef struct IControlVtbl
2245     {
2246         BEGIN_INTERFACE
2247         
2248         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
2249             IControl * This,
2250             /* [in] */ REFIID riid,
2251             /* [annotation][iid_is][out] */ 
2252             _COM_Outptr_  void **ppvObject);
2253         
2254         ULONG ( STDMETHODCALLTYPE *AddRef )( 
2255             IControl * This);
2256         
2257         ULONG ( STDMETHODCALLTYPE *Release )( 
2258             IControl * This);
2259         
2260         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
2261             IControl * This,
2262             /* [out] */ UINT *pctinfo);
2263         
2264         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
2265             IControl * This,
2266             /* [in] */ UINT iTInfo,
2267             /* [in] */ LCID lcid,
2268             /* [out] */ ITypeInfo **ppTInfo);
2269         
2270         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
2271             IControl * This,
2272             /* [in] */ REFIID riid,
2273             /* [size_is][in] */ LPOLESTR *rgszNames,
2274             /* [range][in] */ UINT cNames,
2275             /* [in] */ LCID lcid,
2276             /* [size_is][out] */ DISPID *rgDispId);
2277         
2278         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
2279             IControl * This,
2280             /* [annotation][in] */ 
2281             _In_  DISPID dispIdMember,
2282             /* [annotation][in] */ 
2283             _In_  REFIID riid,
2284             /* [annotation][in] */ 
2285             _In_  LCID lcid,
2286             /* [annotation][in] */ 
2287             _In_  WORD wFlags,
2288             /* [annotation][out][in] */ 
2289             _In_  DISPPARAMS *pDispParams,
2290             /* [annotation][out] */ 
2291             _Out_opt_  VARIANT *pVarResult,
2292             /* [annotation][out] */ 
2293             _Out_opt_  EXCEPINFO *pExcepInfo,
2294             /* [annotation][out] */ 
2295             _Out_opt_  UINT *puArgErr);
2296         
2297         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Text )( 
2298             IControl * This,
2299             /* [retval][out] */ BSTR *pVal);
2300         
2301         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Text )( 
2302             IControl * This,
2303             /* [in] */ BSTR newVal);
2304         
2305         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ID )( 
2306             IControl * This,
2307             /* [retval][out] */ short *pVal);
2308         
2309         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ID )( 
2310             IControl * This,
2311             /* [in] */ short newVal);
2312         
2313         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Visibility )( 
2314             IControl * This,
2315             /* [retval][out] */ BOOL *pVal);
2316         
2317         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Visibility )( 
2318             IControl * This,
2319             /* [in] */ BOOL newVal);
2320         
2321         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enable )( 
2322             IControl * This,
2323             /* [retval][out] */ BOOL *pVal);
2324         
2325         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enable )( 
2326             IControl * This,
2327             /* [in] */ BOOL newVal);
2328         
2329         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CheckState )( 
2330             IControl * This,
2331             /* [retval][out] */ short *pVal);
2332         
2333         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CheckState )( 
2334             IControl * This,
2335             /* [in] */ short newVal);
2336         
2337         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Width )( 
2338             IControl * This,
2339             /* [retval][out] */ short *pVal);
2340         
2341         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Width )( 
2342             IControl * This,
2343             /* [in] */ short newVal);
2344         
2345         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Height )( 
2346             IControl * This,
2347             /* [retval][out] */ short *pVal);
2348         
2349         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Height )( 
2350             IControl * This,
2351             /* [in] */ short newVal);
2352         
2353         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PosX )( 
2354             IControl * This,
2355             /* [retval][out] */ short *pVal);
2356         
2357         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PosX )( 
2358             IControl * This,
2359             /* [in] */ short newVal);
2360         
2361         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PosY )( 
2362             IControl * This,
2363             /* [retval][out] */ short *pVal);
2364         
2365         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PosY )( 
2366             IControl * This,
2367             /* [in] */ short newVal);
2368         
2369         /* [hidden][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Style )( 
2370             IControl * This,
2371             /* [retval][out] */ long *pVal);
2372         
2373         /* [hidden][helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Style )( 
2374             IControl * This,
2375             /* [in] */ long newVal);
2376         
2377         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Exstyle )( 
2378             IControl * This,
2379             /* [retval][out] */ long *pVal);
2380         
2381         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Exstyle )( 
2382             IControl * This,
2383             /* [in] */ long newVal);
2384         
2385         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassName )( 
2386             IControl * This,
2387             /* [retval][out] */ BSTR *pVal);
2388         
2389         /* [hidden][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HWND )( 
2390             IControl * This,
2391             /* [retval][out] */ long *pVal);
2392         
2393         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentSelectedItem )( 
2394             IControl * This,
2395             /* [retval][out] */ VARIANT *pVal);
2396         
2397         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CurrentSelectedItem )( 
2398             IControl * This,
2399             /* [in] */ VARIANT newVal);
2400         
2401         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ItemSelectState )( 
2402             IControl * This,
2403             /* [in] */ VARIANT idx,
2404             /* [retval][out] */ VARIANT *pVal);
2405         
2406         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ItemSelectState )( 
2407             IControl * This,
2408             /* [in] */ VARIANT idx,
2409             /* [in] */ VARIANT newVal);
2410         
2411         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SelectedCount )( 
2412             IControl * This,
2413             /* [retval][out] */ short *pVal);
2414         
2415         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TreeRoot )( 
2416             IControl * This,
2417             /* [retval][out] */ VARIANT *pVal);
2418         
2419         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ItemObject )( 
2420             IControl * This,
2421             /* [in] */ VARIANT idx,
2422             /* [retval][out] */ VARIANT *pVal);
2423         
2424         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAllItems )( 
2425             IControl * This);
2426         
2427         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ItemCheckState )( 
2428             IControl * This,
2429             /* [in] */ VARIANT idx,
2430             /* [retval][out] */ BOOL *pVal);
2431         
2432         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ItemCheckState )( 
2433             IControl * This,
2434             /* [in] */ VARIANT idx,
2435             /* [in] */ BOOL newVal);
2436         
2437         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteSelectedItem )( 
2438             IControl * This);
2439         
2440         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ItemText )( 
2441             IControl * This,
2442             /* [in] */ VARIANT idx,
2443             /* [retval][out] */ BSTR *pVal);
2444         
2445         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ItemText )( 
2446             IControl * This,
2447             /* [in] */ VARIANT idx,
2448             /* [in] */ BSTR newVal);
2449         
2450         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetClassEvent )( 
2451             IControl * This,
2452             /* [in] */ BSTR name,
2453             /* [retval][out] */ VARIANT *pvarUnk);
2454         
2455         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateChild )( 
2456             IControl * This,
2457             /* [in] */ VARIANT text,
2458             /* [in] */ VARIANT varItem,
2459             /* [retval][out] */ VARIANT *pvarUnk);
2460         
2461         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
2462             IControl * This,
2463             /* [retval][out] */ IUnknown **pVal);
2464         
2465         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( 
2466             IControl * This);
2467         
2468         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetPlacement )( 
2469             IControl * This,
2470             /* [optional][in] */ VARIANT x,
2471             /* [optional][in] */ VARIANT y,
2472             /* [optional][in] */ VARIANT w,
2473             /* [optional][in] */ VARIANT h,
2474             /* [retval][out] */ VARIANT *pvarUnk);
2475         
2476         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetCheck )( 
2477             IControl * This,
2478             /* [retval][out] */ VARIANT *pvarUnk);
2479         
2480         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetID )( 
2481             IControl * This,
2482             /* [in] */ VARIANT varID,
2483             /* [retval][out] */ VARIANT *pvarUnk);
2484         
2485         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddString )( 
2486             IControl * This,
2487             /* [in] */ VARIANT text,
2488             /* [retval][out] */ VARIANT *pRet);
2489         
2490         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetColumnText )( 
2491             IControl * This,
2492             /* [in] */ VARIANT item,
2493             /* [in] */ VARIANT col,
2494             /* [in] */ VARIANT text);
2495         
2496         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetColumnText )( 
2497             IControl * This,
2498             /* [in] */ VARIANT idx,
2499             /* [in] */ VARIANT col,
2500             /* [retval][out] */ VARIANT *pText);
2501         
2502         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteString )( 
2503             IControl * This,
2504             /* [in] */ VARIANT idx,
2505             /* [retval][out] */ VARIANT *pRet);
2506         
2507         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCount )( 
2508             IControl * This,
2509             /* [retval][out] */ VARIANT *pRet);
2510         
2511         END_INTERFACE
2512     } IControlVtbl;
2513
2514     interface IControl
2515     {
2516         CONST_VTBL struct IControlVtbl *lpVtbl;
2517     };
2518
2519     
2520
2521 #ifdef COBJMACROS
2522
2523
2524 #define IControl_QueryInterface(This,riid,ppvObject)    \
2525     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
2526
2527 #define IControl_AddRef(This)   \
2528     ( (This)->lpVtbl -> AddRef(This) ) 
2529
2530 #define IControl_Release(This)  \
2531     ( (This)->lpVtbl -> Release(This) ) 
2532
2533
2534 #define IControl_GetTypeInfoCount(This,pctinfo) \
2535     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
2536
2537 #define IControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo)  \
2538     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
2539
2540 #define IControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)        \
2541     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
2542
2543 #define IControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)  \
2544     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
2545
2546
2547 #define IControl_get_Text(This,pVal)    \
2548     ( (This)->lpVtbl -> get_Text(This,pVal) ) 
2549
2550 #define IControl_put_Text(This,newVal)  \
2551     ( (This)->lpVtbl -> put_Text(This,newVal) ) 
2552
2553 #define IControl_get_ID(This,pVal)      \
2554     ( (This)->lpVtbl -> get_ID(This,pVal) ) 
2555
2556 #define IControl_put_ID(This,newVal)    \
2557     ( (This)->lpVtbl -> put_ID(This,newVal) ) 
2558
2559 #define IControl_get_Visibility(This,pVal)      \
2560     ( (This)->lpVtbl -> get_Visibility(This,pVal) ) 
2561
2562 #define IControl_put_Visibility(This,newVal)    \
2563     ( (This)->lpVtbl -> put_Visibility(This,newVal) ) 
2564
2565 #define IControl_get_Enable(This,pVal)  \
2566     ( (This)->lpVtbl -> get_Enable(This,pVal) ) 
2567
2568 #define IControl_put_Enable(This,newVal)        \
2569     ( (This)->lpVtbl -> put_Enable(This,newVal) ) 
2570
2571 #define IControl_get_CheckState(This,pVal)      \
2572     ( (This)->lpVtbl -> get_CheckState(This,pVal) ) 
2573
2574 #define IControl_put_CheckState(This,newVal)    \
2575     ( (This)->lpVtbl -> put_CheckState(This,newVal) ) 
2576
2577 #define IControl_get_Width(This,pVal)   \
2578     ( (This)->lpVtbl -> get_Width(This,pVal) ) 
2579
2580 #define IControl_put_Width(This,newVal) \
2581     ( (This)->lpVtbl -> put_Width(This,newVal) ) 
2582
2583 #define IControl_get_Height(This,pVal)  \
2584     ( (This)->lpVtbl -> get_Height(This,pVal) ) 
2585
2586 #define IControl_put_Height(This,newVal)        \
2587     ( (This)->lpVtbl -> put_Height(This,newVal) ) 
2588
2589 #define IControl_get_PosX(This,pVal)    \
2590     ( (This)->lpVtbl -> get_PosX(This,pVal) ) 
2591
2592 #define IControl_put_PosX(This,newVal)  \
2593     ( (This)->lpVtbl -> put_PosX(This,newVal) ) 
2594
2595 #define IControl_get_PosY(This,pVal)    \
2596     ( (This)->lpVtbl -> get_PosY(This,pVal) ) 
2597
2598 #define IControl_put_PosY(This,newVal)  \
2599     ( (This)->lpVtbl -> put_PosY(This,newVal) ) 
2600
2601 #define IControl_get_Style(This,pVal)   \
2602     ( (This)->lpVtbl -> get_Style(This,pVal) ) 
2603
2604 #define IControl_put_Style(This,newVal) \
2605     ( (This)->lpVtbl -> put_Style(This,newVal) ) 
2606
2607 #define IControl_get_Exstyle(This,pVal) \
2608     ( (This)->lpVtbl -> get_Exstyle(This,pVal) ) 
2609
2610 #define IControl_put_Exstyle(This,newVal)       \
2611     ( (This)->lpVtbl -> put_Exstyle(This,newVal) ) 
2612
2613 #define IControl_get_ClassName(This,pVal)       \
2614     ( (This)->lpVtbl -> get_ClassName(This,pVal) ) 
2615
2616 #define IControl_get_HWND(This,pVal)    \
2617     ( (This)->lpVtbl -> get_HWND(This,pVal) ) 
2618
2619 #define IControl_get_CurrentSelectedItem(This,pVal)     \
2620     ( (This)->lpVtbl -> get_CurrentSelectedItem(This,pVal) ) 
2621
2622 #define IControl_put_CurrentSelectedItem(This,newVal)   \
2623     ( (This)->lpVtbl -> put_CurrentSelectedItem(This,newVal) ) 
2624
2625 #define IControl_get_ItemSelectState(This,idx,pVal)     \
2626     ( (This)->lpVtbl -> get_ItemSelectState(This,idx,pVal) ) 
2627
2628 #define IControl_put_ItemSelectState(This,idx,newVal)   \
2629     ( (This)->lpVtbl -> put_ItemSelectState(This,idx,newVal) ) 
2630
2631 #define IControl_get_SelectedCount(This,pVal)   \
2632     ( (This)->lpVtbl -> get_SelectedCount(This,pVal) ) 
2633
2634 #define IControl_get_TreeRoot(This,pVal)        \
2635     ( (This)->lpVtbl -> get_TreeRoot(This,pVal) ) 
2636
2637 #define IControl_get_ItemObject(This,idx,pVal)  \
2638     ( (This)->lpVtbl -> get_ItemObject(This,idx,pVal) ) 
2639
2640 #define IControl_DeleteAllItems(This)   \
2641     ( (This)->lpVtbl -> DeleteAllItems(This) ) 
2642
2643 #define IControl_get_ItemCheckState(This,idx,pVal)      \
2644     ( (This)->lpVtbl -> get_ItemCheckState(This,idx,pVal) ) 
2645
2646 #define IControl_put_ItemCheckState(This,idx,newVal)    \
2647     ( (This)->lpVtbl -> put_ItemCheckState(This,idx,newVal) ) 
2648
2649 #define IControl_DeleteSelectedItem(This)       \
2650     ( (This)->lpVtbl -> DeleteSelectedItem(This) ) 
2651
2652 #define IControl_get_ItemText(This,idx,pVal)    \
2653     ( (This)->lpVtbl -> get_ItemText(This,idx,pVal) ) 
2654
2655 #define IControl_put_ItemText(This,idx,newVal)  \
2656     ( (This)->lpVtbl -> put_ItemText(This,idx,newVal) ) 
2657
2658 #define IControl_SetClassEvent(This,name,pvarUnk)       \
2659     ( (This)->lpVtbl -> SetClassEvent(This,name,pvarUnk) ) 
2660
2661 #define IControl_CreateChild(This,text,varItem,pvarUnk) \
2662     ( (This)->lpVtbl -> CreateChild(This,text,varItem,pvarUnk) ) 
2663
2664 #define IControl_get__NewEnum(This,pVal)        \
2665     ( (This)->lpVtbl -> get__NewEnum(This,pVal) ) 
2666
2667 #define IControl_Refresh(This)  \
2668     ( (This)->lpVtbl -> Refresh(This) ) 
2669
2670 #define IControl_SetPlacement(This,x,y,w,h,pvarUnk)     \
2671     ( (This)->lpVtbl -> SetPlacement(This,x,y,w,h,pvarUnk) ) 
2672
2673 #define IControl_SetCheck(This,pvarUnk) \
2674     ( (This)->lpVtbl -> SetCheck(This,pvarUnk) ) 
2675
2676 #define IControl_SetID(This,varID,pvarUnk)      \
2677     ( (This)->lpVtbl -> SetID(This,varID,pvarUnk) ) 
2678
2679 #define IControl_AddString(This,text,pRet)      \
2680     ( (This)->lpVtbl -> AddString(This,text,pRet) ) 
2681
2682 #define IControl_SetColumnText(This,item,col,text)      \
2683     ( (This)->lpVtbl -> SetColumnText(This,item,col,text) ) 
2684
2685 #define IControl_GetColumnText(This,idx,col,pText)      \
2686     ( (This)->lpVtbl -> GetColumnText(This,idx,col,pText) ) 
2687
2688 #define IControl_DeleteString(This,idx,pRet)    \
2689     ( (This)->lpVtbl -> DeleteString(This,idx,pRet) ) 
2690
2691 #define IControl_GetCount(This,pRet)    \
2692     ( (This)->lpVtbl -> GetCount(This,pRet) ) 
2693
2694 #endif /* COBJMACROS */
2695
2696
2697 #endif  /* C style interface */
2698
2699
2700
2701
2702 #endif  /* __IControl_INTERFACE_DEFINED__ */
2703
2704
2705 EXTERN_C const CLSID CLSID_OverlappedWindow;
2706
2707 #ifdef __cplusplus
2708
2709 class DECLSPEC_UUID("B2946768-9331-43B8-BCD8-54FB6086A721")
2710 OverlappedWindow;
2711 #endif
2712
2713 #ifndef ___IControlEvents_DISPINTERFACE_DEFINED__
2714 #define ___IControlEvents_DISPINTERFACE_DEFINED__
2715
2716 /* dispinterface _IControlEvents */
2717 /* [helpstring][uuid] */ 
2718
2719
2720 EXTERN_C const IID DIID__IControlEvents;
2721
2722 #if defined(__cplusplus) && !defined(CINTERFACE)
2723
2724     MIDL_INTERFACE("64A4FBF7-2BAE-4C78-A00D-ADCFAEACEEBF")
2725     _IControlEvents : public IDispatch
2726     {
2727     };
2728     
2729 #else   /* C style interface */
2730
2731     typedef struct _IControlEventsVtbl
2732     {
2733         BEGIN_INTERFACE
2734         
2735         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
2736             _IControlEvents * This,
2737             /* [in] */ REFIID riid,
2738             /* [annotation][iid_is][out] */ 
2739             _COM_Outptr_  void **ppvObject);
2740         
2741         ULONG ( STDMETHODCALLTYPE *AddRef )( 
2742             _IControlEvents * This);
2743         
2744         ULONG ( STDMETHODCALLTYPE *Release )( 
2745             _IControlEvents * This);
2746         
2747         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
2748             _IControlEvents * This,
2749             /* [out] */ UINT *pctinfo);
2750         
2751         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
2752             _IControlEvents * This,
2753             /* [in] */ UINT iTInfo,
2754             /* [in] */ LCID lcid,
2755             /* [out] */ ITypeInfo **ppTInfo);
2756         
2757         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
2758             _IControlEvents * This,
2759             /* [in] */ REFIID riid,
2760             /* [size_is][in] */ LPOLESTR *rgszNames,
2761             /* [range][in] */ UINT cNames,
2762             /* [in] */ LCID lcid,
2763             /* [size_is][out] */ DISPID *rgDispId);
2764         
2765         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
2766             _IControlEvents * This,
2767             /* [annotation][in] */ 
2768             _In_  DISPID dispIdMember,
2769             /* [annotation][in] */ 
2770             _In_  REFIID riid,
2771             /* [annotation][in] */ 
2772             _In_  LCID lcid,
2773             /* [annotation][in] */ 
2774             _In_  WORD wFlags,
2775             /* [annotation][out][in] */ 
2776             _In_  DISPPARAMS *pDispParams,
2777             /* [annotation][out] */ 
2778             _Out_opt_  VARIANT *pVarResult,
2779             /* [annotation][out] */ 
2780             _Out_opt_  EXCEPINFO *pExcepInfo,
2781             /* [annotation][out] */ 
2782             _Out_opt_  UINT *puArgErr);
2783         
2784         END_INTERFACE
2785     } _IControlEventsVtbl;
2786
2787     interface _IControlEvents
2788     {
2789         CONST_VTBL struct _IControlEventsVtbl *lpVtbl;
2790     };
2791
2792     
2793
2794 #ifdef COBJMACROS
2795
2796
2797 #define _IControlEvents_QueryInterface(This,riid,ppvObject)     \
2798     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
2799
2800 #define _IControlEvents_AddRef(This)    \
2801     ( (This)->lpVtbl -> AddRef(This) ) 
2802
2803 #define _IControlEvents_Release(This)   \
2804     ( (This)->lpVtbl -> Release(This) ) 
2805
2806
2807 #define _IControlEvents_GetTypeInfoCount(This,pctinfo)  \
2808     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
2809
2810 #define _IControlEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)   \
2811     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
2812
2813 #define _IControlEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
2814     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
2815
2816 #define _IControlEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)   \
2817     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
2818
2819 #endif /* COBJMACROS */
2820
2821
2822 #endif  /* C style interface */
2823
2824
2825 #endif  /* ___IControlEvents_DISPINTERFACE_DEFINED__ */
2826
2827
2828 #ifndef __ICanvas_INTERFACE_DEFINED__
2829 #define __ICanvas_INTERFACE_DEFINED__
2830
2831 /* interface ICanvas */
2832 /* [unique][helpstring][dual][uuid][object] */ 
2833
2834
2835 EXTERN_C const IID IID_ICanvas;
2836
2837 #if defined(__cplusplus) && !defined(CINTERFACE)
2838     
2839     MIDL_INTERFACE("644FE99A-D161-44A1-BF25-9589DB48CAAB")
2840     ICanvas : public IDispatch
2841     {
2842     public:
2843         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Layer( 
2844             /* [in] */ VARIANT varLay,
2845             /* [retval][out] */ VARIANT *pVal) = 0;
2846         
2847         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MarginWidth( 
2848             /* [retval][out] */ long *pVal) = 0;
2849         
2850         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MarginWidth( 
2851             /* [in] */ long newVal) = 0;
2852         
2853         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MarginHeight( 
2854             /* [retval][out] */ long *pVal) = 0;
2855         
2856         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MarginHeight( 
2857             /* [in] */ long newVal) = 0;
2858         
2859         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Print( void) = 0;
2860         
2861         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PrintAs( 
2862             /* [optional][in] */ VARIANT print,
2863             /* [retval][out] */ VARIANT *pRet) = 0;
2864         
2865         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPrinterDefault( 
2866             /* [optional][in] */ VARIANT name) = 0;
2867         
2868         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadPicture( 
2869             /* [in] */ VARIANT path,
2870             /* [retval][out] */ VARIANT *punkVal) = 0;
2871         
2872     };
2873     
2874     
2875 #else   /* C style interface */
2876
2877     typedef struct ICanvasVtbl
2878     {
2879         BEGIN_INTERFACE
2880         
2881         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
2882             ICanvas * This,
2883             /* [in] */ REFIID riid,
2884             /* [annotation][iid_is][out] */ 
2885             _COM_Outptr_  void **ppvObject);
2886         
2887         ULONG ( STDMETHODCALLTYPE *AddRef )( 
2888             ICanvas * This);
2889         
2890         ULONG ( STDMETHODCALLTYPE *Release )( 
2891             ICanvas * This);
2892         
2893         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
2894             ICanvas * This,
2895             /* [out] */ UINT *pctinfo);
2896         
2897         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
2898             ICanvas * This,
2899             /* [in] */ UINT iTInfo,
2900             /* [in] */ LCID lcid,
2901             /* [out] */ ITypeInfo **ppTInfo);
2902         
2903         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
2904             ICanvas * This,
2905             /* [in] */ REFIID riid,
2906             /* [size_is][in] */ LPOLESTR *rgszNames,
2907             /* [range][in] */ UINT cNames,
2908             /* [in] */ LCID lcid,
2909             /* [size_is][out] */ DISPID *rgDispId);
2910         
2911         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
2912             ICanvas * This,
2913             /* [annotation][in] */ 
2914             _In_  DISPID dispIdMember,
2915             /* [annotation][in] */ 
2916             _In_  REFIID riid,
2917             /* [annotation][in] */ 
2918             _In_  LCID lcid,
2919             /* [annotation][in] */ 
2920             _In_  WORD wFlags,
2921             /* [annotation][out][in] */ 
2922             _In_  DISPPARAMS *pDispParams,
2923             /* [annotation][out] */ 
2924             _Out_opt_  VARIANT *pVarResult,
2925             /* [annotation][out] */ 
2926             _Out_opt_  EXCEPINFO *pExcepInfo,
2927             /* [annotation][out] */ 
2928             _Out_opt_  UINT *puArgErr);
2929         
2930         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Layer )( 
2931             ICanvas * This,
2932             /* [in] */ VARIANT varLay,
2933             /* [retval][out] */ VARIANT *pVal);
2934         
2935         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MarginWidth )( 
2936             ICanvas * This,
2937             /* [retval][out] */ long *pVal);
2938         
2939         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MarginWidth )( 
2940             ICanvas * This,
2941             /* [in] */ long newVal);
2942         
2943         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MarginHeight )( 
2944             ICanvas * This,
2945             /* [retval][out] */ long *pVal);
2946         
2947         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MarginHeight )( 
2948             ICanvas * This,
2949             /* [in] */ long newVal);
2950         
2951         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Print )( 
2952             ICanvas * This);
2953         
2954         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PrintAs )( 
2955             ICanvas * This,
2956             /* [optional][in] */ VARIANT print,
2957             /* [retval][out] */ VARIANT *pRet);
2958         
2959         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPrinterDefault )( 
2960             ICanvas * This,
2961             /* [optional][in] */ VARIANT name);
2962         
2963         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadPicture )( 
2964             ICanvas * This,
2965             /* [in] */ VARIANT path,
2966             /* [retval][out] */ VARIANT *punkVal);
2967         
2968         END_INTERFACE
2969     } ICanvasVtbl;
2970
2971     interface ICanvas
2972     {
2973         CONST_VTBL struct ICanvasVtbl *lpVtbl;
2974     };
2975
2976     
2977
2978 #ifdef COBJMACROS
2979
2980
2981 #define ICanvas_QueryInterface(This,riid,ppvObject)     \
2982     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
2983
2984 #define ICanvas_AddRef(This)    \
2985     ( (This)->lpVtbl -> AddRef(This) ) 
2986
2987 #define ICanvas_Release(This)   \
2988     ( (This)->lpVtbl -> Release(This) ) 
2989
2990
2991 #define ICanvas_GetTypeInfoCount(This,pctinfo)  \
2992     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
2993
2994 #define ICanvas_GetTypeInfo(This,iTInfo,lcid,ppTInfo)   \
2995     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
2996
2997 #define ICanvas_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
2998     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
2999
3000 #define ICanvas_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)   \
3001     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
3002
3003
3004 #define ICanvas_get_Layer(This,varLay,pVal)     \
3005     ( (This)->lpVtbl -> get_Layer(This,varLay,pVal) ) 
3006
3007 #define ICanvas_get_MarginWidth(This,pVal)      \
3008     ( (This)->lpVtbl -> get_MarginWidth(This,pVal) ) 
3009
3010 #define ICanvas_put_MarginWidth(This,newVal)    \
3011     ( (This)->lpVtbl -> put_MarginWidth(This,newVal) ) 
3012
3013 #define ICanvas_get_MarginHeight(This,pVal)     \
3014     ( (This)->lpVtbl -> get_MarginHeight(This,pVal) ) 
3015
3016 #define ICanvas_put_MarginHeight(This,newVal)   \
3017     ( (This)->lpVtbl -> put_MarginHeight(This,newVal) ) 
3018
3019 #define ICanvas_Print(This)     \
3020     ( (This)->lpVtbl -> Print(This) ) 
3021
3022 #define ICanvas_PrintAs(This,print,pRet)        \
3023     ( (This)->lpVtbl -> PrintAs(This,print,pRet) ) 
3024
3025 #define ICanvas_GetPrinterDefault(This,name)    \
3026     ( (This)->lpVtbl -> GetPrinterDefault(This,name) ) 
3027
3028 #define ICanvas_LoadPicture(This,path,punkVal)  \
3029     ( (This)->lpVtbl -> LoadPicture(This,path,punkVal) ) 
3030
3031 #endif /* COBJMACROS */
3032
3033
3034 #endif  /* C style interface */
3035
3036
3037
3038
3039 #endif  /* __ICanvas_INTERFACE_DEFINED__ */
3040
3041
3042 EXTERN_C const CLSID CLSID_Control;
3043
3044 #ifdef __cplusplus
3045
3046 class DECLSPEC_UUID("AE3E878A-9C96-415D-88CB-F6F993DFAFE4")
3047 Control;
3048 #endif
3049
3050 #ifndef ___ICanvasEvents_DISPINTERFACE_DEFINED__
3051 #define ___ICanvasEvents_DISPINTERFACE_DEFINED__
3052
3053 /* dispinterface _ICanvasEvents */
3054 /* [helpstring][uuid] */ 
3055
3056
3057 EXTERN_C const IID DIID__ICanvasEvents;
3058
3059 #if defined(__cplusplus) && !defined(CINTERFACE)
3060
3061     MIDL_INTERFACE("374972C2-30A0-45D5-9CE3-50962F39D376")
3062     _ICanvasEvents : public IDispatch
3063     {
3064     };
3065     
3066 #else   /* C style interface */
3067
3068     typedef struct _ICanvasEventsVtbl
3069     {
3070         BEGIN_INTERFACE
3071         
3072         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
3073             _ICanvasEvents * This,
3074             /* [in] */ REFIID riid,
3075             /* [annotation][iid_is][out] */ 
3076             _COM_Outptr_  void **ppvObject);
3077         
3078         ULONG ( STDMETHODCALLTYPE *AddRef )( 
3079             _ICanvasEvents * This);
3080         
3081         ULONG ( STDMETHODCALLTYPE *Release )( 
3082             _ICanvasEvents * This);
3083         
3084         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
3085             _ICanvasEvents * This,
3086             /* [out] */ UINT *pctinfo);
3087         
3088         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
3089             _ICanvasEvents * This,
3090             /* [in] */ UINT iTInfo,
3091             /* [in] */ LCID lcid,
3092             /* [out] */ ITypeInfo **ppTInfo);
3093         
3094         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
3095             _ICanvasEvents * This,
3096             /* [in] */ REFIID riid,
3097             /* [size_is][in] */ LPOLESTR *rgszNames,
3098             /* [range][in] */ UINT cNames,
3099             /* [in] */ LCID lcid,
3100             /* [size_is][out] */ DISPID *rgDispId);
3101         
3102         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
3103             _ICanvasEvents * This,
3104             /* [annotation][in] */ 
3105             _In_  DISPID dispIdMember,
3106             /* [annotation][in] */ 
3107             _In_  REFIID riid,
3108             /* [annotation][in] */ 
3109             _In_  LCID lcid,
3110             /* [annotation][in] */ 
3111             _In_  WORD wFlags,
3112             /* [annotation][out][in] */ 
3113             _In_  DISPPARAMS *pDispParams,
3114             /* [annotation][out] */ 
3115             _Out_opt_  VARIANT *pVarResult,
3116             /* [annotation][out] */ 
3117             _Out_opt_  EXCEPINFO *pExcepInfo,
3118             /* [annotation][out] */ 
3119             _Out_opt_  UINT *puArgErr);
3120         
3121         END_INTERFACE
3122     } _ICanvasEventsVtbl;
3123
3124     interface _ICanvasEvents
3125     {
3126         CONST_VTBL struct _ICanvasEventsVtbl *lpVtbl;
3127     };
3128
3129     
3130
3131 #ifdef COBJMACROS
3132
3133
3134 #define _ICanvasEvents_QueryInterface(This,riid,ppvObject)      \
3135     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
3136
3137 #define _ICanvasEvents_AddRef(This)     \
3138     ( (This)->lpVtbl -> AddRef(This) ) 
3139
3140 #define _ICanvasEvents_Release(This)    \
3141     ( (This)->lpVtbl -> Release(This) ) 
3142
3143
3144 #define _ICanvasEvents_GetTypeInfoCount(This,pctinfo)   \
3145     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
3146
3147 #define _ICanvasEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
3148     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
3149
3150 #define _ICanvasEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)  \
3151     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
3152
3153 #define _ICanvasEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
3154     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
3155
3156 #endif /* COBJMACROS */
3157
3158
3159 #endif  /* C style interface */
3160
3161
3162 #endif  /* ___ICanvasEvents_DISPINTERFACE_DEFINED__ */
3163
3164
3165 #ifndef __ILayer_INTERFACE_DEFINED__
3166 #define __ILayer_INTERFACE_DEFINED__
3167
3168 /* interface ILayer */
3169 /* [unique][helpstring][dual][uuid][object] */ 
3170
3171
3172 EXTERN_C const IID IID_ILayer;
3173
3174 #if defined(__cplusplus) && !defined(CINTERFACE)
3175     
3176     MIDL_INTERFACE("5E9EFBAD-D673-4095-A8D0-9F915E0E9A86")
3177     ILayer : public IDispatch
3178     {
3179     public:
3180         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Color( 
3181             /* [retval][out] */ long *pVal) = 0;
3182         
3183         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Color( 
3184             /* [in] */ long newVal) = 0;
3185         
3186         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FillColor( 
3187             /* [retval][out] */ long *pVal) = 0;
3188         
3189         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FillColor( 
3190             /* [in] */ long newVal) = 0;
3191         
3192         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FontColor( 
3193             /* [retval][out] */ long *pVal) = 0;
3194         
3195         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FontColor( 
3196             /* [in] */ long newVal) = 0;
3197         
3198         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FontName( 
3199             /* [retval][out] */ BSTR *pVal) = 0;
3200         
3201         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FontName( 
3202             /* [in] */ BSTR newVal) = 0;
3203         
3204         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FontSize( 
3205             /* [in] */ short newVal) = 0;
3206         
3207         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FontSize( 
3208             /* [retval][out] */ short *pVal) = 0;
3209         
3210         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Visible( 
3211             /* [retval][out] */ BOOL *pVal) = 0;
3212         
3213         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Visible( 
3214             /* [in] */ BOOL newVal) = 0;
3215         
3216         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
3217         
3218         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Circle( 
3219             /* [in] */ VARIANT x,
3220             /* [in] */ VARIANT y,
3221             /* [in] */ VARIANT radius) = 0;
3222         
3223         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Line( 
3224             /* [in] */ VARIANT sx,
3225             /* [in] */ VARIANT sy,
3226             /* [in] */ VARIANT ex,
3227             /* [in] */ VARIANT ey) = 0;
3228         
3229         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Box( 
3230             /* [in] */ VARIANT sx,
3231             /* [in] */ VARIANT sy,
3232             /* [in] */ VARIANT ex,
3233             /* [in] */ VARIANT ey) = 0;
3234         
3235         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Arc( 
3236             /* [in] */ VARIANT x1,
3237             /* [in] */ VARIANT y1,
3238             /* [in] */ VARIANT x2,
3239             /* [in] */ VARIANT y2,
3240             /* [in] */ VARIANT sx,
3241             /* [in] */ VARIANT sy,
3242             /* [in] */ VARIANT ex,
3243             /* [in] */ VARIANT ey) = 0;
3244         
3245         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FillBox( 
3246             /* [in] */ VARIANT sx,
3247             /* [in] */ VARIANT sy,
3248             /* [in] */ VARIANT ex,
3249             /* [in] */ VARIANT ey) = 0;
3250         
3251         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FillCircle( 
3252             /* [in] */ VARIANT x,
3253             /* [in] */ VARIANT y,
3254             /* [in] */ VARIANT radius) = 0;
3255         
3256         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FillArc( 
3257             /* [in] */ VARIANT x1,
3258             /* [in] */ VARIANT y1,
3259             /* [in] */ VARIANT x2,
3260             /* [in] */ VARIANT y2,
3261             /* [in] */ VARIANT sx,
3262             /* [in] */ VARIANT sy,
3263             /* [in] */ VARIANT ex,
3264             /* [in] */ VARIANT ey) = 0;
3265         
3266         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Text( 
3267             /* [in] */ VARIANT x,
3268             /* [in] */ VARIANT y,
3269             /* [in] */ VARIANT text) = 0;
3270         
3271         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TextBox( 
3272             /* [in] */ VARIANT sx,
3273             /* [in] */ VARIANT sy,
3274             /* [in] */ VARIANT ex,
3275             /* [in] */ VARIANT ey,
3276             /* [in] */ VARIANT text,
3277             /* [optional][in] */ VARIANT fmt) = 0;
3278         
3279         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FillRBox( 
3280             /* [in] */ VARIANT sx,
3281             /* [in] */ VARIANT sy,
3282             /* [in] */ VARIANT ex,
3283             /* [in] */ VARIANT ey,
3284             /* [in] */ VARIANT w,
3285             /* [in] */ VARIANT h) = 0;
3286         
3287         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Polygon( 
3288             /* [in] */ VARIANT cx,
3289             /* [in] */ VARIANT cy,
3290             /* [in] */ VARIANT arrayPt) = 0;
3291         
3292         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Picture( 
3293             /* [in] */ VARIANT idx,
3294             /* [in] */ VARIANT x,
3295             /* [in] */ VARIANT y,
3296             /* [optional][in] */ VARIANT w,
3297             /* [optional][in] */ VARIANT h) = 0;
3298         
3299         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMappingMode( 
3300             /* [in] */ VARIANT mode) = 0;
3301         
3302     };
3303     
3304     
3305 #else   /* C style interface */
3306
3307     typedef struct ILayerVtbl
3308     {
3309         BEGIN_INTERFACE
3310         
3311         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
3312             ILayer * This,
3313             /* [in] */ REFIID riid,
3314             /* [annotation][iid_is][out] */ 
3315             _COM_Outptr_  void **ppvObject);
3316         
3317         ULONG ( STDMETHODCALLTYPE *AddRef )( 
3318             ILayer * This);
3319         
3320         ULONG ( STDMETHODCALLTYPE *Release )( 
3321             ILayer * This);
3322         
3323         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
3324             ILayer * This,
3325             /* [out] */ UINT *pctinfo);
3326         
3327         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
3328             ILayer * This,
3329             /* [in] */ UINT iTInfo,
3330             /* [in] */ LCID lcid,
3331             /* [out] */ ITypeInfo **ppTInfo);
3332         
3333         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
3334             ILayer * This,
3335             /* [in] */ REFIID riid,
3336             /* [size_is][in] */ LPOLESTR *rgszNames,
3337             /* [range][in] */ UINT cNames,
3338             /* [in] */ LCID lcid,
3339             /* [size_is][out] */ DISPID *rgDispId);
3340         
3341         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
3342             ILayer * This,
3343             /* [annotation][in] */ 
3344             _In_  DISPID dispIdMember,
3345             /* [annotation][in] */ 
3346             _In_  REFIID riid,
3347             /* [annotation][in] */ 
3348             _In_  LCID lcid,
3349             /* [annotation][in] */ 
3350             _In_  WORD wFlags,
3351             /* [annotation][out][in] */ 
3352             _In_  DISPPARAMS *pDispParams,
3353             /* [annotation][out] */ 
3354             _Out_opt_  VARIANT *pVarResult,
3355             /* [annotation][out] */ 
3356             _Out_opt_  EXCEPINFO *pExcepInfo,
3357             /* [annotation][out] */ 
3358             _Out_opt_  UINT *puArgErr);
3359         
3360         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Color )( 
3361             ILayer * This,
3362             /* [retval][out] */ long *pVal);
3363         
3364         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Color )( 
3365             ILayer * This,
3366             /* [in] */ long newVal);
3367         
3368         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FillColor )( 
3369             ILayer * This,
3370             /* [retval][out] */ long *pVal);
3371         
3372         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FillColor )( 
3373             ILayer * This,
3374             /* [in] */ long newVal);
3375         
3376         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FontColor )( 
3377             ILayer * This,
3378             /* [retval][out] */ long *pVal);
3379         
3380         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FontColor )( 
3381             ILayer * This,
3382             /* [in] */ long newVal);
3383         
3384         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FontName )( 
3385             ILayer * This,
3386             /* [retval][out] */ BSTR *pVal);
3387         
3388         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FontName )( 
3389             ILayer * This,
3390             /* [in] */ BSTR newVal);
3391         
3392         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FontSize )( 
3393             ILayer * This,
3394             /* [in] */ short newVal);
3395         
3396         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FontSize )( 
3397             ILayer * This,
3398             /* [retval][out] */ short *pVal);
3399         
3400         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )( 
3401             ILayer * This,
3402             /* [retval][out] */ BOOL *pVal);
3403         
3404         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Visible )( 
3405             ILayer * This,
3406             /* [in] */ BOOL newVal);
3407         
3408         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )( 
3409             ILayer * This);
3410         
3411         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Circle )( 
3412             ILayer * This,
3413             /* [in] */ VARIANT x,
3414             /* [in] */ VARIANT y,
3415             /* [in] */ VARIANT radius);
3416         
3417         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Line )( 
3418             ILayer * This,
3419             /* [in] */ VARIANT sx,
3420             /* [in] */ VARIANT sy,
3421             /* [in] */ VARIANT ex,
3422             /* [in] */ VARIANT ey);
3423         
3424         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Box )( 
3425             ILayer * This,
3426             /* [in] */ VARIANT sx,
3427             /* [in] */ VARIANT sy,
3428             /* [in] */ VARIANT ex,
3429             /* [in] */ VARIANT ey);
3430         
3431         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Arc )( 
3432             ILayer * This,
3433             /* [in] */ VARIANT x1,
3434             /* [in] */ VARIANT y1,
3435             /* [in] */ VARIANT x2,
3436             /* [in] */ VARIANT y2,
3437             /* [in] */ VARIANT sx,
3438             /* [in] */ VARIANT sy,
3439             /* [in] */ VARIANT ex,
3440             /* [in] */ VARIANT ey);
3441         
3442         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FillBox )( 
3443             ILayer * This,
3444             /* [in] */ VARIANT sx,
3445             /* [in] */ VARIANT sy,
3446             /* [in] */ VARIANT ex,
3447             /* [in] */ VARIANT ey);
3448         
3449         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FillCircle )( 
3450             ILayer * This,
3451             /* [in] */ VARIANT x,
3452             /* [in] */ VARIANT y,
3453             /* [in] */ VARIANT radius);
3454         
3455         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FillArc )( 
3456             ILayer * This,
3457             /* [in] */ VARIANT x1,
3458             /* [in] */ VARIANT y1,
3459             /* [in] */ VARIANT x2,
3460             /* [in] */ VARIANT y2,
3461             /* [in] */ VARIANT sx,
3462             /* [in] */ VARIANT sy,
3463             /* [in] */ VARIANT ex,
3464             /* [in] */ VARIANT ey);
3465         
3466         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Text )( 
3467             ILayer * This,
3468             /* [in] */ VARIANT x,
3469             /* [in] */ VARIANT y,
3470             /* [in] */ VARIANT text);
3471         
3472         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TextBox )( 
3473             ILayer * This,
3474             /* [in] */ VARIANT sx,
3475             /* [in] */ VARIANT sy,
3476             /* [in] */ VARIANT ex,
3477             /* [in] */ VARIANT ey,
3478             /* [in] */ VARIANT text,
3479             /* [optional][in] */ VARIANT fmt);
3480         
3481         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FillRBox )( 
3482             ILayer * This,
3483             /* [in] */ VARIANT sx,
3484             /* [in] */ VARIANT sy,
3485             /* [in] */ VARIANT ex,
3486             /* [in] */ VARIANT ey,
3487             /* [in] */ VARIANT w,
3488             /* [in] */ VARIANT h);
3489         
3490         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Polygon )( 
3491             ILayer * This,
3492             /* [in] */ VARIANT cx,
3493             /* [in] */ VARIANT cy,
3494             /* [in] */ VARIANT arrayPt);
3495         
3496         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Picture )( 
3497             ILayer * This,
3498             /* [in] */ VARIANT idx,
3499             /* [in] */ VARIANT x,
3500             /* [in] */ VARIANT y,
3501             /* [optional][in] */ VARIANT w,
3502             /* [optional][in] */ VARIANT h);
3503         
3504         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMappingMode )( 
3505             ILayer * This,
3506             /* [in] */ VARIANT mode);
3507         
3508         END_INTERFACE
3509     } ILayerVtbl;
3510
3511     interface ILayer
3512     {
3513         CONST_VTBL struct ILayerVtbl *lpVtbl;
3514     };
3515
3516     
3517
3518 #ifdef COBJMACROS
3519
3520
3521 #define ILayer_QueryInterface(This,riid,ppvObject)      \
3522     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
3523
3524 #define ILayer_AddRef(This)     \
3525     ( (This)->lpVtbl -> AddRef(This) ) 
3526
3527 #define ILayer_Release(This)    \
3528     ( (This)->lpVtbl -> Release(This) ) 
3529
3530
3531 #define ILayer_GetTypeInfoCount(This,pctinfo)   \
3532     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
3533
3534 #define ILayer_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
3535     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
3536
3537 #define ILayer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)  \
3538     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
3539
3540 #define ILayer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
3541     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
3542
3543
3544 #define ILayer_get_Color(This,pVal)     \
3545     ( (This)->lpVtbl -> get_Color(This,pVal) ) 
3546
3547 #define ILayer_put_Color(This,newVal)   \
3548     ( (This)->lpVtbl -> put_Color(This,newVal) ) 
3549
3550 #define ILayer_get_FillColor(This,pVal) \
3551     ( (This)->lpVtbl -> get_FillColor(This,pVal) ) 
3552
3553 #define ILayer_put_FillColor(This,newVal)       \
3554     ( (This)->lpVtbl -> put_FillColor(This,newVal) ) 
3555
3556 #define ILayer_get_FontColor(This,pVal) \
3557     ( (This)->lpVtbl -> get_FontColor(This,pVal) ) 
3558
3559 #define ILayer_put_FontColor(This,newVal)       \
3560     ( (This)->lpVtbl -> put_FontColor(This,newVal) ) 
3561
3562 #define ILayer_get_FontName(This,pVal)  \
3563     ( (This)->lpVtbl -> get_FontName(This,pVal) ) 
3564
3565 #define ILayer_put_FontName(This,newVal)        \
3566     ( (This)->lpVtbl -> put_FontName(This,newVal) ) 
3567
3568 #define ILayer_put_FontSize(This,newVal)        \
3569     ( (This)->lpVtbl -> put_FontSize(This,newVal) ) 
3570
3571 #define ILayer_get_FontSize(This,pVal)  \
3572     ( (This)->lpVtbl -> get_FontSize(This,pVal) ) 
3573
3574 #define ILayer_get_Visible(This,pVal)   \
3575     ( (This)->lpVtbl -> get_Visible(This,pVal) ) 
3576
3577 #define ILayer_put_Visible(This,newVal) \
3578     ( (This)->lpVtbl -> put_Visible(This,newVal) ) 
3579
3580 #define ILayer_Clear(This)      \
3581     ( (This)->lpVtbl -> Clear(This) ) 
3582
3583 #define ILayer_Circle(This,x,y,radius)  \
3584     ( (This)->lpVtbl -> Circle(This,x,y,radius) ) 
3585
3586 #define ILayer_Line(This,sx,sy,ex,ey)   \
3587     ( (This)->lpVtbl -> Line(This,sx,sy,ex,ey) ) 
3588
3589 #define ILayer_Box(This,sx,sy,ex,ey)    \
3590     ( (This)->lpVtbl -> Box(This,sx,sy,ex,ey) ) 
3591
3592 #define ILayer_Arc(This,x1,y1,x2,y2,sx,sy,ex,ey)        \
3593     ( (This)->lpVtbl -> Arc(This,x1,y1,x2,y2,sx,sy,ex,ey) ) 
3594
3595 #define ILayer_FillBox(This,sx,sy,ex,ey)        \
3596     ( (This)->lpVtbl -> FillBox(This,sx,sy,ex,ey) ) 
3597
3598 #define ILayer_FillCircle(This,x,y,radius)      \
3599     ( (This)->lpVtbl -> FillCircle(This,x,y,radius) ) 
3600
3601 #define ILayer_FillArc(This,x1,y1,x2,y2,sx,sy,ex,ey)    \
3602     ( (This)->lpVtbl -> FillArc(This,x1,y1,x2,y2,sx,sy,ex,ey) ) 
3603
3604 #define ILayer_Text(This,x,y,text)      \
3605     ( (This)->lpVtbl -> Text(This,x,y,text) ) 
3606
3607 #define ILayer_TextBox(This,sx,sy,ex,ey,text,fmt)       \
3608     ( (This)->lpVtbl -> TextBox(This,sx,sy,ex,ey,text,fmt) ) 
3609
3610 #define ILayer_FillRBox(This,sx,sy,ex,ey,w,h)   \
3611     ( (This)->lpVtbl -> FillRBox(This,sx,sy,ex,ey,w,h) ) 
3612
3613 #define ILayer_Polygon(This,cx,cy,arrayPt)      \
3614     ( (This)->lpVtbl -> Polygon(This,cx,cy,arrayPt) ) 
3615
3616 #define ILayer_Picture(This,idx,x,y,w,h)        \
3617     ( (This)->lpVtbl -> Picture(This,idx,x,y,w,h) ) 
3618
3619 #define ILayer_SetMappingMode(This,mode)        \
3620     ( (This)->lpVtbl -> SetMappingMode(This,mode) ) 
3621
3622 #endif /* COBJMACROS */
3623
3624
3625 #endif  /* C style interface */
3626
3627
3628
3629
3630 #endif  /* __ILayer_INTERFACE_DEFINED__ */
3631
3632
3633 EXTERN_C const CLSID CLSID_Canvas;
3634
3635 #ifdef __cplusplus
3636
3637 class DECLSPEC_UUID("88197854-3CFF-4873-BE89-F508FC768ECD")
3638 Canvas;
3639 #endif
3640
3641 #ifndef ___ILayerEvents_DISPINTERFACE_DEFINED__
3642 #define ___ILayerEvents_DISPINTERFACE_DEFINED__
3643
3644 /* dispinterface _ILayerEvents */
3645 /* [helpstring][uuid] */ 
3646
3647
3648 EXTERN_C const IID DIID__ILayerEvents;
3649
3650 #if defined(__cplusplus) && !defined(CINTERFACE)
3651
3652     MIDL_INTERFACE("21BB44A7-996C-4FEA-B32E-1E64FFB14A72")
3653     _ILayerEvents : public IDispatch
3654     {
3655     };
3656     
3657 #else   /* C style interface */
3658
3659     typedef struct _ILayerEventsVtbl
3660     {
3661         BEGIN_INTERFACE
3662         
3663         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
3664             _ILayerEvents * This,
3665             /* [in] */ REFIID riid,
3666             /* [annotation][iid_is][out] */ 
3667             _COM_Outptr_  void **ppvObject);
3668         
3669         ULONG ( STDMETHODCALLTYPE *AddRef )( 
3670             _ILayerEvents * This);
3671         
3672         ULONG ( STDMETHODCALLTYPE *Release )( 
3673             _ILayerEvents * This);
3674         
3675         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
3676             _ILayerEvents * This,
3677             /* [out] */ UINT *pctinfo);
3678         
3679         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
3680             _ILayerEvents * This,
3681             /* [in] */ UINT iTInfo,
3682             /* [in] */ LCID lcid,
3683             /* [out] */ ITypeInfo **ppTInfo);
3684         
3685         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
3686             _ILayerEvents * This,
3687             /* [in] */ REFIID riid,
3688             /* [size_is][in] */ LPOLESTR *rgszNames,
3689             /* [range][in] */ UINT cNames,
3690             /* [in] */ LCID lcid,
3691             /* [size_is][out] */ DISPID *rgDispId);
3692         
3693         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
3694             _ILayerEvents * This,
3695             /* [annotation][in] */ 
3696             _In_  DISPID dispIdMember,
3697             /* [annotation][in] */ 
3698             _In_  REFIID riid,
3699             /* [annotation][in] */ 
3700             _In_  LCID lcid,
3701             /* [annotation][in] */ 
3702             _In_  WORD wFlags,
3703             /* [annotation][out][in] */ 
3704             _In_  DISPPARAMS *pDispParams,
3705             /* [annotation][out] */ 
3706             _Out_opt_  VARIANT *pVarResult,
3707             /* [annotation][out] */ 
3708             _Out_opt_  EXCEPINFO *pExcepInfo,
3709             /* [annotation][out] */ 
3710             _Out_opt_  UINT *puArgErr);
3711         
3712         END_INTERFACE
3713     } _ILayerEventsVtbl;
3714
3715     interface _ILayerEvents
3716     {
3717         CONST_VTBL struct _ILayerEventsVtbl *lpVtbl;
3718     };
3719
3720     
3721
3722 #ifdef COBJMACROS
3723
3724
3725 #define _ILayerEvents_QueryInterface(This,riid,ppvObject)       \
3726     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
3727
3728 #define _ILayerEvents_AddRef(This)      \
3729     ( (This)->lpVtbl -> AddRef(This) ) 
3730
3731 #define _ILayerEvents_Release(This)     \
3732     ( (This)->lpVtbl -> Release(This) ) 
3733
3734
3735 #define _ILayerEvents_GetTypeInfoCount(This,pctinfo)    \
3736     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
3737
3738 #define _ILayerEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)     \
3739     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
3740
3741 #define _ILayerEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)   \
3742     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
3743
3744 #define _ILayerEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)     \
3745     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
3746
3747 #endif /* COBJMACROS */
3748
3749
3750 #endif  /* C style interface */
3751
3752
3753 #endif  /* ___ILayerEvents_DISPINTERFACE_DEFINED__ */
3754
3755
3756 #ifndef __IForm_INTERFACE_DEFINED__
3757 #define __IForm_INTERFACE_DEFINED__
3758
3759 /* interface IForm */
3760 /* [unique][helpstring][dual][uuid][object] */ 
3761
3762
3763 EXTERN_C const IID IID_IForm;
3764
3765 #if defined(__cplusplus) && !defined(CINTERFACE)
3766     
3767     MIDL_INTERFACE("28090FEE-0F7F-4909-99C4-80166D2BBB64")
3768     IForm : public IDispatch
3769     {
3770     public:
3771         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Control( 
3772             /* [in] */ VARIANT varNum,
3773             /* [retval][out] */ VARIANT *pVal) = 0;
3774         
3775         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LeftMargin( 
3776             /* [retval][out] */ short *pVal) = 0;
3777         
3778         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LeftMargin( 
3779             /* [in] */ short newVal) = 0;
3780         
3781         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RightMargin( 
3782             /* [retval][out] */ short *pVal) = 0;
3783         
3784         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RightMargin( 
3785             /* [in] */ short newVal) = 0;
3786         
3787         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetControlFont( 
3788             /* [in] */ VARIANT fontname,
3789             /* [in] */ VARIANT fontsize) = 0;
3790         
3791         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Label( 
3792             /* [in] */ VARIANT text,
3793             /* [optional][in] */ VARIANT width,
3794             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3795         
3796         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Button( 
3797             /* [in] */ VARIANT text,
3798             /* [optional][in] */ VARIANT width,
3799             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3800         
3801         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckBox( 
3802             /* [in] */ VARIANT text,
3803             /* [optional][in] */ VARIANT width,
3804             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3805         
3806         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Edit( 
3807             /* [optional][in] */ VARIANT text,
3808             /* [optional][in] */ VARIANT width,
3809             /* [optional][in] */ VARIANT height,
3810             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3811         
3812         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClearControls( void) = 0;
3813         
3814         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ControlBreak( void) = 0;
3815         
3816         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ControlGroup( void) = 0;
3817         
3818         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RadioButton( 
3819             /* [in] */ VARIANT text,
3820             /* [optional][in] */ VARIANT width,
3821             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3822         
3823         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ControlPad( 
3824             /* [in] */ VARIANT width,
3825             /* [optional][in] */ VARIANT height) = 0;
3826         
3827         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PasswordEdit( 
3828             /* [in] */ VARIANT text,
3829             /* [optional][in] */ VARIANT width,
3830             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3831         
3832         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReadonlyEdit( 
3833             /* [in] */ VARIANT text,
3834             /* [optional][in] */ VARIANT width,
3835             /* [optional][in] */ VARIANT height,
3836             /* [retval][out] */ VARIANT *punkVal) = 0;
3837         
3838         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckBox3state( 
3839             /* [in] */ VARIANT text,
3840             /* [optional][in] */ VARIANT width,
3841             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3842         
3843         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PushCheckButton( 
3844             /* [in] */ VARIANT text,
3845             /* [optional][in] */ VARIANT width,
3846             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3847         
3848         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PushRadioButton( 
3849             /* [in] */ VARIANT text,
3850             /* [optional][in] */ VARIANT width,
3851             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3852         
3853         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StatusLabel( 
3854             /* [in] */ VARIANT text,
3855             /* [optional][in] */ VARIANT width,
3856             /* [optional][in] */ VARIANT height,
3857             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3858         
3859         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ControlUseStaticEdge( 
3860             /* [in] */ VARIANT mode) = 0;
3861         
3862         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ListBox( 
3863             /* [optional][in] */ VARIANT width,
3864             /* [optional][in] */ VARIANT height,
3865             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3866         
3867         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MultiListBox( 
3868             /* [optional][in] */ VARIANT width,
3869             /* [optional][in] */ VARIANT height,
3870             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3871         
3872         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DropdownList( 
3873             /* [optional][in] */ VARIANT width,
3874             /* [optional][in] */ VARIANT height,
3875             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3876         
3877         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DropdownEdit( 
3878             /* [optional][in] */ VARIANT text,
3879             /* [optional][in] */ VARIANT width,
3880             /* [optional][in] */ VARIANT height,
3881             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3882         
3883         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TreeView( 
3884             /* [optional][in] */ VARIANT width,
3885             /* [optional][in] */ VARIANT height,
3886             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3887         
3888         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ListView( 
3889             /* [optional][in] */ VARIANT column,
3890             /* [optional][in] */ VARIANT width,
3891             /* [optional][in] */ VARIANT height,
3892             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3893         
3894         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EditListView( 
3895             /* [optional][in] */ VARIANT colum,
3896             /* [optional][in] */ VARIANT width,
3897             /* [optional][in] */ VARIANT height,
3898             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3899         
3900         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckListView( 
3901             /* [optional][in] */ VARIANT colum,
3902             /* [optional][in] */ VARIANT width,
3903             /* [optional][in] */ VARIANT height,
3904             /* [retval][out] */ VARIANT *pvarUnk) = 0;
3905         
3906         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ControlColor( 
3907             /* [retval][out] */ long *pVal) = 0;
3908         
3909         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ControlColor( 
3910             /* [in] */ long newVal) = 0;
3911         
3912     };
3913     
3914     
3915 #else   /* C style interface */
3916
3917     typedef struct IFormVtbl
3918     {
3919         BEGIN_INTERFACE
3920         
3921         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
3922             IForm * This,
3923             /* [in] */ REFIID riid,
3924             /* [annotation][iid_is][out] */ 
3925             _COM_Outptr_  void **ppvObject);
3926         
3927         ULONG ( STDMETHODCALLTYPE *AddRef )( 
3928             IForm * This);
3929         
3930         ULONG ( STDMETHODCALLTYPE *Release )( 
3931             IForm * This);
3932         
3933         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
3934             IForm * This,
3935             /* [out] */ UINT *pctinfo);
3936         
3937         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
3938             IForm * This,
3939             /* [in] */ UINT iTInfo,
3940             /* [in] */ LCID lcid,
3941             /* [out] */ ITypeInfo **ppTInfo);
3942         
3943         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
3944             IForm * This,
3945             /* [in] */ REFIID riid,
3946             /* [size_is][in] */ LPOLESTR *rgszNames,
3947             /* [range][in] */ UINT cNames,
3948             /* [in] */ LCID lcid,
3949             /* [size_is][out] */ DISPID *rgDispId);
3950         
3951         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
3952             IForm * This,
3953             /* [annotation][in] */ 
3954             _In_  DISPID dispIdMember,
3955             /* [annotation][in] */ 
3956             _In_  REFIID riid,
3957             /* [annotation][in] */ 
3958             _In_  LCID lcid,
3959             /* [annotation][in] */ 
3960             _In_  WORD wFlags,
3961             /* [annotation][out][in] */ 
3962             _In_  DISPPARAMS *pDispParams,
3963             /* [annotation][out] */ 
3964             _Out_opt_  VARIANT *pVarResult,
3965             /* [annotation][out] */ 
3966             _Out_opt_  EXCEPINFO *pExcepInfo,
3967             /* [annotation][out] */ 
3968             _Out_opt_  UINT *puArgErr);
3969         
3970         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Control )( 
3971             IForm * This,
3972             /* [in] */ VARIANT varNum,
3973             /* [retval][out] */ VARIANT *pVal);
3974         
3975         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LeftMargin )( 
3976             IForm * This,
3977             /* [retval][out] */ short *pVal);
3978         
3979         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LeftMargin )( 
3980             IForm * This,
3981             /* [in] */ short newVal);
3982         
3983         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RightMargin )( 
3984             IForm * This,
3985             /* [retval][out] */ short *pVal);
3986         
3987         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RightMargin )( 
3988             IForm * This,
3989             /* [in] */ short newVal);
3990         
3991         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetControlFont )( 
3992             IForm * This,
3993             /* [in] */ VARIANT fontname,
3994             /* [in] */ VARIANT fontsize);
3995         
3996         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Label )( 
3997             IForm * This,
3998             /* [in] */ VARIANT text,
3999             /* [optional][in] */ VARIANT width,
4000             /* [retval][out] */ VARIANT *pvarUnk);
4001         
4002         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Button )( 
4003             IForm * This,
4004             /* [in] */ VARIANT text,
4005             /* [optional][in] */ VARIANT width,
4006             /* [retval][out] */ VARIANT *pvarUnk);
4007         
4008         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CheckBox )( 
4009             IForm * This,
4010             /* [in] */ VARIANT text,
4011             /* [optional][in] */ VARIANT width,
4012             /* [retval][out] */ VARIANT *pvarUnk);
4013         
4014         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Edit )( 
4015             IForm * This,
4016             /* [optional][in] */ VARIANT text,
4017             /* [optional][in] */ VARIANT width,
4018             /* [optional][in] */ VARIANT height,
4019             /* [retval][out] */ VARIANT *pvarUnk);
4020         
4021         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClearControls )( 
4022             IForm * This);
4023         
4024         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ControlBreak )( 
4025             IForm * This);
4026         
4027         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ControlGroup )( 
4028             IForm * This);
4029         
4030         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RadioButton )( 
4031             IForm * This,
4032             /* [in] */ VARIANT text,
4033             /* [optional][in] */ VARIANT width,
4034             /* [retval][out] */ VARIANT *pvarUnk);
4035         
4036         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ControlPad )( 
4037             IForm * This,
4038             /* [in] */ VARIANT width,
4039             /* [optional][in] */ VARIANT height);
4040         
4041         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PasswordEdit )( 
4042             IForm * This,
4043             /* [in] */ VARIANT text,
4044             /* [optional][in] */ VARIANT width,
4045             /* [retval][out] */ VARIANT *pvarUnk);
4046         
4047         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReadonlyEdit )( 
4048             IForm * This,
4049             /* [in] */ VARIANT text,
4050             /* [optional][in] */ VARIANT width,
4051             /* [optional][in] */ VARIANT height,
4052             /* [retval][out] */ VARIANT *punkVal);
4053         
4054         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CheckBox3state )( 
4055             IForm * This,
4056             /* [in] */ VARIANT text,
4057             /* [optional][in] */ VARIANT width,
4058             /* [retval][out] */ VARIANT *pvarUnk);
4059         
4060         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PushCheckButton )( 
4061             IForm * This,
4062             /* [in] */ VARIANT text,
4063             /* [optional][in] */ VARIANT width,
4064             /* [retval][out] */ VARIANT *pvarUnk);
4065         
4066         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PushRadioButton )( 
4067             IForm * This,
4068             /* [in] */ VARIANT text,
4069             /* [optional][in] */ VARIANT width,
4070             /* [retval][out] */ VARIANT *pvarUnk);
4071         
4072         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StatusLabel )( 
4073             IForm * This,
4074             /* [in] */ VARIANT text,
4075             /* [optional][in] */ VARIANT width,
4076             /* [optional][in] */ VARIANT height,
4077             /* [retval][out] */ VARIANT *pvarUnk);
4078         
4079         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ControlUseStaticEdge )( 
4080             IForm * This,
4081             /* [in] */ VARIANT mode);
4082         
4083         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ListBox )( 
4084             IForm * This,
4085             /* [optional][in] */ VARIANT width,
4086             /* [optional][in] */ VARIANT height,
4087             /* [retval][out] */ VARIANT *pvarUnk);
4088         
4089         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MultiListBox )( 
4090             IForm * This,
4091             /* [optional][in] */ VARIANT width,
4092             /* [optional][in] */ VARIANT height,
4093             /* [retval][out] */ VARIANT *pvarUnk);
4094         
4095         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DropdownList )( 
4096             IForm * This,
4097             /* [optional][in] */ VARIANT width,
4098             /* [optional][in] */ VARIANT height,
4099             /* [retval][out] */ VARIANT *pvarUnk);
4100         
4101         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DropdownEdit )( 
4102             IForm * This,
4103             /* [optional][in] */ VARIANT text,
4104             /* [optional][in] */ VARIANT width,
4105             /* [optional][in] */ VARIANT height,
4106             /* [retval][out] */ VARIANT *pvarUnk);
4107         
4108         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TreeView )( 
4109             IForm * This,
4110             /* [optional][in] */ VARIANT width,
4111             /* [optional][in] */ VARIANT height,
4112             /* [retval][out] */ VARIANT *pvarUnk);
4113         
4114         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ListView )( 
4115             IForm * This,
4116             /* [optional][in] */ VARIANT column,
4117             /* [optional][in] */ VARIANT width,
4118             /* [optional][in] */ VARIANT height,
4119             /* [retval][out] */ VARIANT *pvarUnk);
4120         
4121         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EditListView )( 
4122             IForm * This,
4123             /* [optional][in] */ VARIANT colum,
4124             /* [optional][in] */ VARIANT width,
4125             /* [optional][in] */ VARIANT height,
4126             /* [retval][out] */ VARIANT *pvarUnk);
4127         
4128         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CheckListView )( 
4129             IForm * This,
4130             /* [optional][in] */ VARIANT colum,
4131             /* [optional][in] */ VARIANT width,
4132             /* [optional][in] */ VARIANT height,
4133             /* [retval][out] */ VARIANT *pvarUnk);
4134         
4135         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ControlColor )( 
4136             IForm * This,
4137             /* [retval][out] */ long *pVal);
4138         
4139         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ControlColor )( 
4140             IForm * This,
4141             /* [in] */ long newVal);
4142         
4143         END_INTERFACE
4144     } IFormVtbl;
4145
4146     interface IForm
4147     {
4148         CONST_VTBL struct IFormVtbl *lpVtbl;
4149     };
4150
4151     
4152
4153 #ifdef COBJMACROS
4154
4155
4156 #define IForm_QueryInterface(This,riid,ppvObject)       \
4157     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
4158
4159 #define IForm_AddRef(This)      \
4160     ( (This)->lpVtbl -> AddRef(This) ) 
4161
4162 #define IForm_Release(This)     \
4163     ( (This)->lpVtbl -> Release(This) ) 
4164
4165
4166 #define IForm_GetTypeInfoCount(This,pctinfo)    \
4167     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
4168
4169 #define IForm_GetTypeInfo(This,iTInfo,lcid,ppTInfo)     \
4170     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
4171
4172 #define IForm_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)   \
4173     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
4174
4175 #define IForm_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)     \
4176     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
4177
4178
4179 #define IForm_get_Control(This,varNum,pVal)     \
4180     ( (This)->lpVtbl -> get_Control(This,varNum,pVal) ) 
4181
4182 #define IForm_get_LeftMargin(This,pVal) \
4183     ( (This)->lpVtbl -> get_LeftMargin(This,pVal) ) 
4184
4185 #define IForm_put_LeftMargin(This,newVal)       \
4186     ( (This)->lpVtbl -> put_LeftMargin(This,newVal) ) 
4187
4188 #define IForm_get_RightMargin(This,pVal)        \
4189     ( (This)->lpVtbl -> get_RightMargin(This,pVal) ) 
4190
4191 #define IForm_put_RightMargin(This,newVal)      \
4192     ( (This)->lpVtbl -> put_RightMargin(This,newVal) ) 
4193
4194 #define IForm_SetControlFont(This,fontname,fontsize)    \
4195     ( (This)->lpVtbl -> SetControlFont(This,fontname,fontsize) ) 
4196
4197 #define IForm_Label(This,text,width,pvarUnk)    \
4198     ( (This)->lpVtbl -> Label(This,text,width,pvarUnk) ) 
4199
4200 #define IForm_Button(This,text,width,pvarUnk)   \
4201     ( (This)->lpVtbl -> Button(This,text,width,pvarUnk) ) 
4202
4203 #define IForm_CheckBox(This,text,width,pvarUnk) \
4204     ( (This)->lpVtbl -> CheckBox(This,text,width,pvarUnk) ) 
4205
4206 #define IForm_Edit(This,text,width,height,pvarUnk)      \
4207     ( (This)->lpVtbl -> Edit(This,text,width,height,pvarUnk) ) 
4208
4209 #define IForm_ClearControls(This)       \
4210     ( (This)->lpVtbl -> ClearControls(This) ) 
4211
4212 #define IForm_ControlBreak(This)        \
4213     ( (This)->lpVtbl -> ControlBreak(This) ) 
4214
4215 #define IForm_ControlGroup(This)        \
4216     ( (This)->lpVtbl -> ControlGroup(This) ) 
4217
4218 #define IForm_RadioButton(This,text,width,pvarUnk)      \
4219     ( (This)->lpVtbl -> RadioButton(This,text,width,pvarUnk) ) 
4220
4221 #define IForm_ControlPad(This,width,height)     \
4222     ( (This)->lpVtbl -> ControlPad(This,width,height) ) 
4223
4224 #define IForm_PasswordEdit(This,text,width,pvarUnk)     \
4225     ( (This)->lpVtbl -> PasswordEdit(This,text,width,pvarUnk) ) 
4226
4227 #define IForm_ReadonlyEdit(This,text,width,height,punkVal)      \
4228     ( (This)->lpVtbl -> ReadonlyEdit(This,text,width,height,punkVal) ) 
4229
4230 #define IForm_CheckBox3state(This,text,width,pvarUnk)   \
4231     ( (This)->lpVtbl -> CheckBox3state(This,text,width,pvarUnk) ) 
4232
4233 #define IForm_PushCheckButton(This,text,width,pvarUnk)  \
4234     ( (This)->lpVtbl -> PushCheckButton(This,text,width,pvarUnk) ) 
4235
4236 #define IForm_PushRadioButton(This,text,width,pvarUnk)  \
4237     ( (This)->lpVtbl -> PushRadioButton(This,text,width,pvarUnk) ) 
4238
4239 #define IForm_StatusLabel(This,text,width,height,pvarUnk)       \
4240     ( (This)->lpVtbl -> StatusLabel(This,text,width,height,pvarUnk) ) 
4241
4242 #define IForm_ControlUseStaticEdge(This,mode)   \
4243     ( (This)->lpVtbl -> ControlUseStaticEdge(This,mode) ) 
4244
4245 #define IForm_ListBox(This,width,height,pvarUnk)        \
4246     ( (This)->lpVtbl -> ListBox(This,width,height,pvarUnk) ) 
4247
4248 #define IForm_MultiListBox(This,width,height,pvarUnk)   \
4249     ( (This)->lpVtbl -> MultiListBox(This,width,height,pvarUnk) ) 
4250
4251 #define IForm_DropdownList(This,width,height,pvarUnk)   \
4252     ( (This)->lpVtbl -> DropdownList(This,width,height,pvarUnk) ) 
4253
4254 #define IForm_DropdownEdit(This,text,width,height,pvarUnk)      \
4255     ( (This)->lpVtbl -> DropdownEdit(This,text,width,height,pvarUnk) ) 
4256
4257 #define IForm_TreeView(This,width,height,pvarUnk)       \
4258     ( (This)->lpVtbl -> TreeView(This,width,height,pvarUnk) ) 
4259
4260 #define IForm_ListView(This,column,width,height,pvarUnk)        \
4261     ( (This)->lpVtbl -> ListView(This,column,width,height,pvarUnk) ) 
4262
4263 #define IForm_EditListView(This,colum,width,height,pvarUnk)     \
4264     ( (This)->lpVtbl -> EditListView(This,colum,width,height,pvarUnk) ) 
4265
4266 #define IForm_CheckListView(This,colum,width,height,pvarUnk)    \
4267     ( (This)->lpVtbl -> CheckListView(This,colum,width,height,pvarUnk) ) 
4268
4269 #define IForm_get_ControlColor(This,pVal)       \
4270     ( (This)->lpVtbl -> get_ControlColor(This,pVal) ) 
4271
4272 #define IForm_put_ControlColor(This,newVal)     \
4273     ( (This)->lpVtbl -> put_ControlColor(This,newVal) ) 
4274
4275 #endif /* COBJMACROS */
4276
4277
4278 #endif  /* C style interface */
4279
4280
4281
4282
4283 #endif  /* __IForm_INTERFACE_DEFINED__ */
4284
4285
4286 EXTERN_C const CLSID CLSID_Layer;
4287
4288 #ifdef __cplusplus
4289
4290 class DECLSPEC_UUID("AF8351BD-890F-470F-A33D-D7F78F8B8E9B")
4291 Layer;
4292 #endif
4293
4294 #ifndef ___IFormEvents_DISPINTERFACE_DEFINED__
4295 #define ___IFormEvents_DISPINTERFACE_DEFINED__
4296
4297 /* dispinterface _IFormEvents */
4298 /* [helpstring][uuid] */ 
4299
4300
4301 EXTERN_C const IID DIID__IFormEvents;
4302
4303 #if defined(__cplusplus) && !defined(CINTERFACE)
4304
4305     MIDL_INTERFACE("46E2D67F-EC2B-46D1-A104-D6B358B79D79")
4306     _IFormEvents : public IDispatch
4307     {
4308     };
4309     
4310 #else   /* C style interface */
4311
4312     typedef struct _IFormEventsVtbl
4313     {
4314         BEGIN_INTERFACE
4315         
4316         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
4317             _IFormEvents * This,
4318             /* [in] */ REFIID riid,
4319             /* [annotation][iid_is][out] */ 
4320             _COM_Outptr_  void **ppvObject);
4321         
4322         ULONG ( STDMETHODCALLTYPE *AddRef )( 
4323             _IFormEvents * This);
4324         
4325         ULONG ( STDMETHODCALLTYPE *Release )( 
4326             _IFormEvents * This);
4327         
4328         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
4329             _IFormEvents * This,
4330             /* [out] */ UINT *pctinfo);
4331         
4332         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
4333             _IFormEvents * This,
4334             /* [in] */ UINT iTInfo,
4335             /* [in] */ LCID lcid,
4336             /* [out] */ ITypeInfo **ppTInfo);
4337         
4338         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
4339             _IFormEvents * This,
4340             /* [in] */ REFIID riid,
4341             /* [size_is][in] */ LPOLESTR *rgszNames,
4342             /* [range][in] */ UINT cNames,
4343             /* [in] */ LCID lcid,
4344             /* [size_is][out] */ DISPID *rgDispId);
4345         
4346         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
4347             _IFormEvents * This,
4348             /* [annotation][in] */ 
4349             _In_  DISPID dispIdMember,
4350             /* [annotation][in] */ 
4351             _In_  REFIID riid,
4352             /* [annotation][in] */ 
4353             _In_  LCID lcid,
4354             /* [annotation][in] */ 
4355             _In_  WORD wFlags,
4356             /* [annotation][out][in] */ 
4357             _In_  DISPPARAMS *pDispParams,
4358             /* [annotation][out] */ 
4359             _Out_opt_  VARIANT *pVarResult,
4360             /* [annotation][out] */ 
4361             _Out_opt_  EXCEPINFO *pExcepInfo,
4362             /* [annotation][out] */ 
4363             _Out_opt_  UINT *puArgErr);
4364         
4365         END_INTERFACE
4366     } _IFormEventsVtbl;
4367
4368     interface _IFormEvents
4369     {
4370         CONST_VTBL struct _IFormEventsVtbl *lpVtbl;
4371     };
4372
4373     
4374
4375 #ifdef COBJMACROS
4376
4377
4378 #define _IFormEvents_QueryInterface(This,riid,ppvObject)        \
4379     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
4380
4381 #define _IFormEvents_AddRef(This)       \
4382     ( (This)->lpVtbl -> AddRef(This) ) 
4383
4384 #define _IFormEvents_Release(This)      \
4385     ( (This)->lpVtbl -> Release(This) ) 
4386
4387
4388 #define _IFormEvents_GetTypeInfoCount(This,pctinfo)     \
4389     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
4390
4391 #define _IFormEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)      \
4392     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
4393
4394 #define _IFormEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
4395     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
4396
4397 #define _IFormEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)      \
4398     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
4399
4400 #endif /* COBJMACROS */
4401
4402
4403 #endif  /* C style interface */
4404
4405
4406 #endif  /* ___IFormEvents_DISPINTERFACE_DEFINED__ */
4407
4408
4409 #ifndef __IEvent_INTERFACE_DEFINED__
4410 #define __IEvent_INTERFACE_DEFINED__
4411
4412 /* interface IEvent */
4413 /* [unique][helpstring][dual][uuid][object] */ 
4414
4415
4416 EXTERN_C const IID IID_IEvent;
4417
4418 #if defined(__cplusplus) && !defined(CINTERFACE)
4419     
4420     MIDL_INTERFACE("FBFFA998-55F3-4F27-B44E-2E764C33364D")
4421     IEvent : public IDispatch
4422     {
4423     public:
4424         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Message( 
4425             /* [retval][out] */ short *pVal) = 0;
4426         
4427         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Parameter( 
4428             /* [retval][out] */ short *pVal) = 0;
4429         
4430         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PosX( 
4431             /* [retval][out] */ double *pVal) = 0;
4432         
4433         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PosY( 
4434             /* [retval][out] */ double *pVal) = 0;
4435         
4436         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_time( 
4437             /* [retval][out] */ DATE *pVal) = 0;
4438         
4439         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsMouseMove( 
4440             /* [retval][out] */ BOOL *pResult) = 0;
4441         
4442         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsClick( 
4443             /* [retval][out] */ BOOL *pResult) = 0;
4444         
4445         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsRClick( 
4446             /* [retval][out] */ BOOL *pResult) = 0;
4447         
4448         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsClickCancel( 
4449             /* [retval][out] */ BOOL *pResult) = 0;
4450         
4451         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsRClickCancel( 
4452             /* [retval][out] */ BOOL *pResult) = 0;
4453         
4454         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsClickOut( 
4455             /* [retval][out] */ BOOL *pResult) = 0;
4456         
4457         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsRClickOut( 
4458             /* [retval][out] */ BOOL *pResult) = 0;
4459         
4460         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsCommand( 
4461             /* [retval][out] */ BOOL *pResult) = 0;
4462         
4463         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsTimer( 
4464             /* [retval][out] */ BOOL *pResult) = 0;
4465         
4466         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsSize( 
4467             /* [retval][out] */ BOOL *pResult) = 0;
4468         
4469         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsExit( 
4470             /* [retval][out] */ BOOL *pResult) = 0;
4471         
4472         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsOK( 
4473             /* [retval][out] */ BOOL *pResult) = 0;
4474         
4475         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsCancel( 
4476             /* [retval][out] */ BOOL *pResult) = 0;
4477         
4478         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsDblClick( 
4479             /* [retval][out] */ BOOL *pResult) = 0;
4480         
4481         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsRDblClick( 
4482             /* [retval][out] */ BOOL *pResult) = 0;
4483         
4484         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtParameter( 
4485             /* [retval][out] */ long *pVal) = 0;
4486         
4487         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsContextMenu( 
4488             /* [retval][out] */ BOOL *pResult) = 0;
4489         
4490         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsContextDelete( 
4491             /* [retval][out] */ BOOL *pResult) = 0;
4492         
4493         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsKeydown( 
4494             /* [retval][out] */ BOOL *pResult) = 0;
4495         
4496         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DPosX( 
4497             /* [retval][out] */ long *pVal) = 0;
4498         
4499         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DPosY( 
4500             /* [retval][out] */ long *pVal) = 0;
4501         
4502         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsKeydown2( 
4503             /* [retval][out] */ BOOL *pResult) = 0;
4504         
4505     };
4506     
4507     
4508 #else   /* C style interface */
4509
4510     typedef struct IEventVtbl
4511     {
4512         BEGIN_INTERFACE
4513         
4514         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
4515             IEvent * This,
4516             /* [in] */ REFIID riid,
4517             /* [annotation][iid_is][out] */ 
4518             _COM_Outptr_  void **ppvObject);
4519         
4520         ULONG ( STDMETHODCALLTYPE *AddRef )( 
4521             IEvent * This);
4522         
4523         ULONG ( STDMETHODCALLTYPE *Release )( 
4524             IEvent * This);
4525         
4526         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
4527             IEvent * This,
4528             /* [out] */ UINT *pctinfo);
4529         
4530         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
4531             IEvent * This,
4532             /* [in] */ UINT iTInfo,
4533             /* [in] */ LCID lcid,
4534             /* [out] */ ITypeInfo **ppTInfo);
4535         
4536         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
4537             IEvent * This,
4538             /* [in] */ REFIID riid,
4539             /* [size_is][in] */ LPOLESTR *rgszNames,
4540             /* [range][in] */ UINT cNames,
4541             /* [in] */ LCID lcid,
4542             /* [size_is][out] */ DISPID *rgDispId);
4543         
4544         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
4545             IEvent * This,
4546             /* [annotation][in] */ 
4547             _In_  DISPID dispIdMember,
4548             /* [annotation][in] */ 
4549             _In_  REFIID riid,
4550             /* [annotation][in] */ 
4551             _In_  LCID lcid,
4552             /* [annotation][in] */ 
4553             _In_  WORD wFlags,
4554             /* [annotation][out][in] */ 
4555             _In_  DISPPARAMS *pDispParams,
4556             /* [annotation][out] */ 
4557             _Out_opt_  VARIANT *pVarResult,
4558             /* [annotation][out] */ 
4559             _Out_opt_  EXCEPINFO *pExcepInfo,
4560             /* [annotation][out] */ 
4561             _Out_opt_  UINT *puArgErr);
4562         
4563         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Message )( 
4564             IEvent * This,
4565             /* [retval][out] */ short *pVal);
4566         
4567         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parameter )( 
4568             IEvent * This,
4569             /* [retval][out] */ short *pVal);
4570         
4571         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PosX )( 
4572             IEvent * This,
4573             /* [retval][out] */ double *pVal);
4574         
4575         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PosY )( 
4576             IEvent * This,
4577             /* [retval][out] */ double *pVal);
4578         
4579         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_time )( 
4580             IEvent * This,
4581             /* [retval][out] */ DATE *pVal);
4582         
4583         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsMouseMove )( 
4584             IEvent * This,
4585             /* [retval][out] */ BOOL *pResult);
4586         
4587         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsClick )( 
4588             IEvent * This,
4589             /* [retval][out] */ BOOL *pResult);
4590         
4591         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsRClick )( 
4592             IEvent * This,
4593             /* [retval][out] */ BOOL *pResult);
4594         
4595         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsClickCancel )( 
4596             IEvent * This,
4597             /* [retval][out] */ BOOL *pResult);
4598         
4599         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsRClickCancel )( 
4600             IEvent * This,
4601             /* [retval][out] */ BOOL *pResult);
4602         
4603         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsClickOut )( 
4604             IEvent * This,
4605             /* [retval][out] */ BOOL *pResult);
4606         
4607         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsRClickOut )( 
4608             IEvent * This,
4609             /* [retval][out] */ BOOL *pResult);
4610         
4611         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsCommand )( 
4612             IEvent * This,
4613             /* [retval][out] */ BOOL *pResult);
4614         
4615         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsTimer )( 
4616             IEvent * This,
4617             /* [retval][out] */ BOOL *pResult);
4618         
4619         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsSize )( 
4620             IEvent * This,
4621             /* [retval][out] */ BOOL *pResult);
4622         
4623         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsExit )( 
4624             IEvent * This,
4625             /* [retval][out] */ BOOL *pResult);
4626         
4627         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsOK )( 
4628             IEvent * This,
4629             /* [retval][out] */ BOOL *pResult);
4630         
4631         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsCancel )( 
4632             IEvent * This,
4633             /* [retval][out] */ BOOL *pResult);
4634         
4635         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsDblClick )( 
4636             IEvent * This,
4637             /* [retval][out] */ BOOL *pResult);
4638         
4639         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsRDblClick )( 
4640             IEvent * This,
4641             /* [retval][out] */ BOOL *pResult);
4642         
4643         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtParameter )( 
4644             IEvent * This,
4645             /* [retval][out] */ long *pVal);
4646         
4647         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsContextMenu )( 
4648             IEvent * This,
4649             /* [retval][out] */ BOOL *pResult);
4650         
4651         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsContextDelete )( 
4652             IEvent * This,
4653             /* [retval][out] */ BOOL *pResult);
4654         
4655         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsKeydown )( 
4656             IEvent * This,
4657             /* [retval][out] */ BOOL *pResult);
4658         
4659         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DPosX )( 
4660             IEvent * This,
4661             /* [retval][out] */ long *pVal);
4662         
4663         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DPosY )( 
4664             IEvent * This,
4665             /* [retval][out] */ long *pVal);
4666         
4667         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsKeydown2 )( 
4668             IEvent * This,
4669             /* [retval][out] */ BOOL *pResult);
4670         
4671         END_INTERFACE
4672     } IEventVtbl;
4673
4674     interface IEvent
4675     {
4676         CONST_VTBL struct IEventVtbl *lpVtbl;
4677     };
4678
4679     
4680
4681 #ifdef COBJMACROS
4682
4683
4684 #define IEvent_QueryInterface(This,riid,ppvObject)      \
4685     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
4686
4687 #define IEvent_AddRef(This)     \
4688     ( (This)->lpVtbl -> AddRef(This) ) 
4689
4690 #define IEvent_Release(This)    \
4691     ( (This)->lpVtbl -> Release(This) ) 
4692
4693
4694 #define IEvent_GetTypeInfoCount(This,pctinfo)   \
4695     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
4696
4697 #define IEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
4698     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
4699
4700 #define IEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)  \
4701     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
4702
4703 #define IEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
4704     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
4705
4706
4707 #define IEvent_get_Message(This,pVal)   \
4708     ( (This)->lpVtbl -> get_Message(This,pVal) ) 
4709
4710 #define IEvent_get_Parameter(This,pVal) \
4711     ( (This)->lpVtbl -> get_Parameter(This,pVal) ) 
4712
4713 #define IEvent_get_PosX(This,pVal)      \
4714     ( (This)->lpVtbl -> get_PosX(This,pVal) ) 
4715
4716 #define IEvent_get_PosY(This,pVal)      \
4717     ( (This)->lpVtbl -> get_PosY(This,pVal) ) 
4718
4719 #define IEvent_get_time(This,pVal)      \
4720     ( (This)->lpVtbl -> get_time(This,pVal) ) 
4721
4722 #define IEvent_IsMouseMove(This,pResult)        \
4723     ( (This)->lpVtbl -> IsMouseMove(This,pResult) ) 
4724
4725 #define IEvent_IsClick(This,pResult)    \
4726     ( (This)->lpVtbl -> IsClick(This,pResult) ) 
4727
4728 #define IEvent_IsRClick(This,pResult)   \
4729     ( (This)->lpVtbl -> IsRClick(This,pResult) ) 
4730
4731 #define IEvent_IsClickCancel(This,pResult)      \
4732     ( (This)->lpVtbl -> IsClickCancel(This,pResult) ) 
4733
4734 #define IEvent_IsRClickCancel(This,pResult)     \
4735     ( (This)->lpVtbl -> IsRClickCancel(This,pResult) ) 
4736
4737 #define IEvent_IsClickOut(This,pResult) \
4738     ( (This)->lpVtbl -> IsClickOut(This,pResult) ) 
4739
4740 #define IEvent_IsRClickOut(This,pResult)        \
4741     ( (This)->lpVtbl -> IsRClickOut(This,pResult) ) 
4742
4743 #define IEvent_IsCommand(This,pResult)  \
4744     ( (This)->lpVtbl -> IsCommand(This,pResult) ) 
4745
4746 #define IEvent_IsTimer(This,pResult)    \
4747     ( (This)->lpVtbl -> IsTimer(This,pResult) ) 
4748
4749 #define IEvent_IsSize(This,pResult)     \
4750     ( (This)->lpVtbl -> IsSize(This,pResult) ) 
4751
4752 #define IEvent_IsExit(This,pResult)     \
4753     ( (This)->lpVtbl -> IsExit(This,pResult) ) 
4754
4755 #define IEvent_IsOK(This,pResult)       \
4756     ( (This)->lpVtbl -> IsOK(This,pResult) ) 
4757
4758 #define IEvent_IsCancel(This,pResult)   \
4759     ( (This)->lpVtbl -> IsCancel(This,pResult) ) 
4760
4761 #define IEvent_IsDblClick(This,pResult) \
4762     ( (This)->lpVtbl -> IsDblClick(This,pResult) ) 
4763
4764 #define IEvent_IsRDblClick(This,pResult)        \
4765     ( (This)->lpVtbl -> IsRDblClick(This,pResult) ) 
4766
4767 #define IEvent_get_ExtParameter(This,pVal)      \
4768     ( (This)->lpVtbl -> get_ExtParameter(This,pVal) ) 
4769
4770 #define IEvent_IsContextMenu(This,pResult)      \
4771     ( (This)->lpVtbl -> IsContextMenu(This,pResult) ) 
4772
4773 #define IEvent_IsContextDelete(This,pResult)    \
4774     ( (This)->lpVtbl -> IsContextDelete(This,pResult) ) 
4775
4776 #define IEvent_IsKeydown(This,pResult)  \
4777     ( (This)->lpVtbl -> IsKeydown(This,pResult) ) 
4778
4779 #define IEvent_get_DPosX(This,pVal)     \
4780     ( (This)->lpVtbl -> get_DPosX(This,pVal) ) 
4781
4782 #define IEvent_get_DPosY(This,pVal)     \
4783     ( (This)->lpVtbl -> get_DPosY(This,pVal) ) 
4784
4785 #define IEvent_IsKeydown2(This,pResult) \
4786     ( (This)->lpVtbl -> IsKeydown2(This,pResult) ) 
4787
4788 #endif /* COBJMACROS */
4789
4790
4791 #endif  /* C style interface */
4792
4793
4794
4795
4796 #endif  /* __IEvent_INTERFACE_DEFINED__ */
4797
4798
4799 EXTERN_C const CLSID CLSID_Form;
4800
4801 #ifdef __cplusplus
4802
4803 class DECLSPEC_UUID("5869FF04-ED73-4EEC-BC48-29AADF4EFE61")
4804 Form;
4805 #endif
4806
4807 #ifndef ___IEventEvents_DISPINTERFACE_DEFINED__
4808 #define ___IEventEvents_DISPINTERFACE_DEFINED__
4809
4810 /* dispinterface _IEventEvents */
4811 /* [helpstring][uuid] */ 
4812
4813
4814 EXTERN_C const IID DIID__IEventEvents;
4815
4816 #if defined(__cplusplus) && !defined(CINTERFACE)
4817
4818     MIDL_INTERFACE("EF80D99E-D8EB-4EE7-8868-C05578F23E4B")
4819     _IEventEvents : public IDispatch
4820     {
4821     };
4822     
4823 #else   /* C style interface */
4824
4825     typedef struct _IEventEventsVtbl
4826     {
4827         BEGIN_INTERFACE
4828         
4829         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
4830             _IEventEvents * This,
4831             /* [in] */ REFIID riid,
4832             /* [annotation][iid_is][out] */ 
4833             _COM_Outptr_  void **ppvObject);
4834         
4835         ULONG ( STDMETHODCALLTYPE *AddRef )( 
4836             _IEventEvents * This);
4837         
4838         ULONG ( STDMETHODCALLTYPE *Release )( 
4839             _IEventEvents * This);
4840         
4841         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
4842             _IEventEvents * This,
4843             /* [out] */ UINT *pctinfo);
4844         
4845         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
4846             _IEventEvents * This,
4847             /* [in] */ UINT iTInfo,
4848             /* [in] */ LCID lcid,
4849             /* [out] */ ITypeInfo **ppTInfo);
4850         
4851         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
4852             _IEventEvents * This,
4853             /* [in] */ REFIID riid,
4854             /* [size_is][in] */ LPOLESTR *rgszNames,
4855             /* [range][in] */ UINT cNames,
4856             /* [in] */ LCID lcid,
4857             /* [size_is][out] */ DISPID *rgDispId);
4858         
4859         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
4860             _IEventEvents * This,
4861             /* [annotation][in] */ 
4862             _In_  DISPID dispIdMember,
4863             /* [annotation][in] */ 
4864             _In_  REFIID riid,
4865             /* [annotation][in] */ 
4866             _In_  LCID lcid,
4867             /* [annotation][in] */ 
4868             _In_  WORD wFlags,
4869             /* [annotation][out][in] */ 
4870             _In_  DISPPARAMS *pDispParams,
4871             /* [annotation][out] */ 
4872             _Out_opt_  VARIANT *pVarResult,
4873             /* [annotation][out] */ 
4874             _Out_opt_  EXCEPINFO *pExcepInfo,
4875             /* [annotation][out] */ 
4876             _Out_opt_  UINT *puArgErr);
4877         
4878         END_INTERFACE
4879     } _IEventEventsVtbl;
4880
4881     interface _IEventEvents
4882     {
4883         CONST_VTBL struct _IEventEventsVtbl *lpVtbl;
4884     };
4885
4886     
4887
4888 #ifdef COBJMACROS
4889
4890
4891 #define _IEventEvents_QueryInterface(This,riid,ppvObject)       \
4892     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
4893
4894 #define _IEventEvents_AddRef(This)      \
4895     ( (This)->lpVtbl -> AddRef(This) ) 
4896
4897 #define _IEventEvents_Release(This)     \
4898     ( (This)->lpVtbl -> Release(This) ) 
4899
4900
4901 #define _IEventEvents_GetTypeInfoCount(This,pctinfo)    \
4902     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
4903
4904 #define _IEventEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)     \
4905     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
4906
4907 #define _IEventEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)   \
4908     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
4909
4910 #define _IEventEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)     \
4911     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
4912
4913 #endif /* COBJMACROS */
4914
4915
4916 #endif  /* C style interface */
4917
4918
4919 #endif  /* ___IEventEvents_DISPINTERFACE_DEFINED__ */
4920
4921
4922 #ifndef __ISeraphyScriptTools_Instance_INTERFACE_DEFINED__
4923 #define __ISeraphyScriptTools_Instance_INTERFACE_DEFINED__
4924
4925 /* interface ISeraphyScriptTools_Instance */
4926 /* [unique][helpstring][dual][uuid][object] */ 
4927
4928
4929 EXTERN_C const IID IID_ISeraphyScriptTools_Instance;
4930
4931 #if defined(__cplusplus) && !defined(CINTERFACE)
4932     
4933     MIDL_INTERFACE("80E13A41-FB92-4D5D-8042-1E556B681855")
4934     ISeraphyScriptTools_Instance : public IDispatch
4935     {
4936     public:
4937         virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Caption( 
4938             /* [in] */ BSTR strCaption) = 0;
4939         
4940         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Caption( 
4941             /* [retval][out] */ BSTR *pstrCaption) = 0;
4942         
4943         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Dialog( 
4944             /* [retval][out] */ VARIANT *pVal) = 0;
4945         
4946         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MainFrame( 
4947             /* [retval][out] */ VARIANT *pVal) = 0;
4948         
4949         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateFrame( 
4950             /* [retval][out] */ VARIANT *pvarUnk) = 0;
4951         
4952         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WaitEvent( 
4953             /* [optional][in] */ VARIANT varTim,
4954             /* [retval][out] */ VARIANT *pvarUnk) = 0;
4955         
4956         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WaitCursor( 
4957             /* [retval][out] */ short *pVal) = 0;
4958         
4959         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WaitCursor( 
4960             /* [in] */ short newVal) = 0;
4961         
4962         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Keyboard( 
4963             /* [in] */ VARIANT vk,
4964             /* [retval][out] */ BOOL *pVal) = 0;
4965         
4966         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MousePosX( 
4967             /* [retval][out] */ short *pVal) = 0;
4968         
4969         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MousePosY( 
4970             /* [retval][out] */ short *pVal) = 0;
4971         
4972         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Version( 
4973             /* [retval][out] */ double *pVal) = 0;
4974         
4975     };
4976     
4977     
4978 #else   /* C style interface */
4979
4980     typedef struct ISeraphyScriptTools_InstanceVtbl
4981     {
4982         BEGIN_INTERFACE
4983         
4984         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
4985             ISeraphyScriptTools_Instance * This,
4986             /* [in] */ REFIID riid,
4987             /* [annotation][iid_is][out] */ 
4988             _COM_Outptr_  void **ppvObject);
4989         
4990         ULONG ( STDMETHODCALLTYPE *AddRef )( 
4991             ISeraphyScriptTools_Instance * This);
4992         
4993         ULONG ( STDMETHODCALLTYPE *Release )( 
4994             ISeraphyScriptTools_Instance * This);
4995         
4996         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
4997             ISeraphyScriptTools_Instance * This,
4998             /* [out] */ UINT *pctinfo);
4999         
5000         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
5001             ISeraphyScriptTools_Instance * This,
5002             /* [in] */ UINT iTInfo,
5003             /* [in] */ LCID lcid,
5004             /* [out] */ ITypeInfo **ppTInfo);
5005         
5006         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
5007             ISeraphyScriptTools_Instance * This,
5008             /* [in] */ REFIID riid,
5009             /* [size_is][in] */ LPOLESTR *rgszNames,
5010             /* [range][in] */ UINT cNames,
5011             /* [in] */ LCID lcid,
5012             /* [size_is][out] */ DISPID *rgDispId);
5013         
5014         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
5015             ISeraphyScriptTools_Instance * This,
5016             /* [annotation][in] */ 
5017             _In_  DISPID dispIdMember,
5018             /* [annotation][in] */ 
5019             _In_  REFIID riid,
5020             /* [annotation][in] */ 
5021             _In_  LCID lcid,
5022             /* [annotation][in] */ 
5023             _In_  WORD wFlags,
5024             /* [annotation][out][in] */ 
5025             _In_  DISPPARAMS *pDispParams,
5026             /* [annotation][out] */ 
5027             _Out_opt_  VARIANT *pVarResult,
5028             /* [annotation][out] */ 
5029             _Out_opt_  EXCEPINFO *pExcepInfo,
5030             /* [annotation][out] */ 
5031             _Out_opt_  UINT *puArgErr);
5032         
5033         /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Caption )( 
5034             ISeraphyScriptTools_Instance * This,
5035             /* [in] */ BSTR strCaption);
5036         
5037         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Caption )( 
5038             ISeraphyScriptTools_Instance * This,
5039             /* [retval][out] */ BSTR *pstrCaption);
5040         
5041         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Dialog )( 
5042             ISeraphyScriptTools_Instance * This,
5043             /* [retval][out] */ VARIANT *pVal);
5044         
5045         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MainFrame )( 
5046             ISeraphyScriptTools_Instance * This,
5047             /* [retval][out] */ VARIANT *pVal);
5048         
5049         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateFrame )( 
5050             ISeraphyScriptTools_Instance * This,
5051             /* [retval][out] */ VARIANT *pvarUnk);
5052         
5053         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitEvent )( 
5054             ISeraphyScriptTools_Instance * This,
5055             /* [optional][in] */ VARIANT varTim,
5056             /* [retval][out] */ VARIANT *pvarUnk);
5057         
5058         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WaitCursor )( 
5059             ISeraphyScriptTools_Instance * This,
5060             /* [retval][out] */ short *pVal);
5061         
5062         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WaitCursor )( 
5063             ISeraphyScriptTools_Instance * This,
5064             /* [in] */ short newVal);
5065         
5066         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Keyboard )( 
5067             ISeraphyScriptTools_Instance * This,
5068             /* [in] */ VARIANT vk,
5069             /* [retval][out] */ BOOL *pVal);
5070         
5071         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MousePosX )( 
5072             ISeraphyScriptTools_Instance * This,
5073             /* [retval][out] */ short *pVal);
5074         
5075         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MousePosY )( 
5076             ISeraphyScriptTools_Instance * This,
5077             /* [retval][out] */ short *pVal);
5078         
5079         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Version )( 
5080             ISeraphyScriptTools_Instance * This,
5081             /* [retval][out] */ double *pVal);
5082         
5083         END_INTERFACE
5084     } ISeraphyScriptTools_InstanceVtbl;
5085
5086     interface ISeraphyScriptTools_Instance
5087     {
5088         CONST_VTBL struct ISeraphyScriptTools_InstanceVtbl *lpVtbl;
5089     };
5090
5091     
5092
5093 #ifdef COBJMACROS
5094
5095
5096 #define ISeraphyScriptTools_Instance_QueryInterface(This,riid,ppvObject)        \
5097     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
5098
5099 #define ISeraphyScriptTools_Instance_AddRef(This)       \
5100     ( (This)->lpVtbl -> AddRef(This) ) 
5101
5102 #define ISeraphyScriptTools_Instance_Release(This)      \
5103     ( (This)->lpVtbl -> Release(This) ) 
5104
5105
5106 #define ISeraphyScriptTools_Instance_GetTypeInfoCount(This,pctinfo)     \
5107     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
5108
5109 #define ISeraphyScriptTools_Instance_GetTypeInfo(This,iTInfo,lcid,ppTInfo)      \
5110     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
5111
5112 #define ISeraphyScriptTools_Instance_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
5113     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
5114
5115 #define ISeraphyScriptTools_Instance_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)      \
5116     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
5117
5118
5119 #define ISeraphyScriptTools_Instance_put_Caption(This,strCaption)       \
5120     ( (This)->lpVtbl -> put_Caption(This,strCaption) ) 
5121
5122 #define ISeraphyScriptTools_Instance_get_Caption(This,pstrCaption)      \
5123     ( (This)->lpVtbl -> get_Caption(This,pstrCaption) ) 
5124
5125 #define ISeraphyScriptTools_Instance_get_Dialog(This,pVal)      \
5126     ( (This)->lpVtbl -> get_Dialog(This,pVal) ) 
5127
5128 #define ISeraphyScriptTools_Instance_get_MainFrame(This,pVal)   \
5129     ( (This)->lpVtbl -> get_MainFrame(This,pVal) ) 
5130
5131 #define ISeraphyScriptTools_Instance_CreateFrame(This,pvarUnk)  \
5132     ( (This)->lpVtbl -> CreateFrame(This,pvarUnk) ) 
5133
5134 #define ISeraphyScriptTools_Instance_WaitEvent(This,varTim,pvarUnk)     \
5135     ( (This)->lpVtbl -> WaitEvent(This,varTim,pvarUnk) ) 
5136
5137 #define ISeraphyScriptTools_Instance_get_WaitCursor(This,pVal)  \
5138     ( (This)->lpVtbl -> get_WaitCursor(This,pVal) ) 
5139
5140 #define ISeraphyScriptTools_Instance_put_WaitCursor(This,newVal)        \
5141     ( (This)->lpVtbl -> put_WaitCursor(This,newVal) ) 
5142
5143 #define ISeraphyScriptTools_Instance_get_Keyboard(This,vk,pVal) \
5144     ( (This)->lpVtbl -> get_Keyboard(This,vk,pVal) ) 
5145
5146 #define ISeraphyScriptTools_Instance_get_MousePosX(This,pVal)   \
5147     ( (This)->lpVtbl -> get_MousePosX(This,pVal) ) 
5148
5149 #define ISeraphyScriptTools_Instance_get_MousePosY(This,pVal)   \
5150     ( (This)->lpVtbl -> get_MousePosY(This,pVal) ) 
5151
5152 #define ISeraphyScriptTools_Instance_get_Version(This,pVal)     \
5153     ( (This)->lpVtbl -> get_Version(This,pVal) ) 
5154
5155 #endif /* COBJMACROS */
5156
5157
5158 #endif  /* C style interface */
5159
5160
5161
5162
5163 #endif  /* __ISeraphyScriptTools_Instance_INTERFACE_DEFINED__ */
5164
5165
5166 EXTERN_C const CLSID CLSID_Event;
5167
5168 #ifdef __cplusplus
5169
5170 class DECLSPEC_UUID("6E7538A4-2A3E-4631-BB79-6A9D923DB432")
5171 Event;
5172 #endif
5173
5174 #ifndef ___ISeraphyScriptTools_InstanceEvents_DISPINTERFACE_DEFINED__
5175 #define ___ISeraphyScriptTools_InstanceEvents_DISPINTERFACE_DEFINED__
5176
5177 /* dispinterface _ISeraphyScriptTools_InstanceEvents */
5178 /* [helpstring][uuid] */ 
5179
5180
5181 EXTERN_C const IID DIID__ISeraphyScriptTools_InstanceEvents;
5182
5183 #if defined(__cplusplus) && !defined(CINTERFACE)
5184
5185     MIDL_INTERFACE("B63BD6A9-2157-4578-8138-895E34BDD5F0")
5186     _ISeraphyScriptTools_InstanceEvents : public IDispatch
5187     {
5188     };
5189     
5190 #else   /* C style interface */
5191
5192     typedef struct _ISeraphyScriptTools_InstanceEventsVtbl
5193     {
5194         BEGIN_INTERFACE
5195         
5196         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
5197             _ISeraphyScriptTools_InstanceEvents * This,
5198             /* [in] */ REFIID riid,
5199             /* [annotation][iid_is][out] */ 
5200             _COM_Outptr_  void **ppvObject);
5201         
5202         ULONG ( STDMETHODCALLTYPE *AddRef )( 
5203             _ISeraphyScriptTools_InstanceEvents * This);
5204         
5205         ULONG ( STDMETHODCALLTYPE *Release )( 
5206             _ISeraphyScriptTools_InstanceEvents * This);
5207         
5208         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
5209             _ISeraphyScriptTools_InstanceEvents * This,
5210             /* [out] */ UINT *pctinfo);
5211         
5212         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
5213             _ISeraphyScriptTools_InstanceEvents * This,
5214             /* [in] */ UINT iTInfo,
5215             /* [in] */ LCID lcid,
5216             /* [out] */ ITypeInfo **ppTInfo);
5217         
5218         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
5219             _ISeraphyScriptTools_InstanceEvents * This,
5220             /* [in] */ REFIID riid,
5221             /* [size_is][in] */ LPOLESTR *rgszNames,
5222             /* [range][in] */ UINT cNames,
5223             /* [in] */ LCID lcid,
5224             /* [size_is][out] */ DISPID *rgDispId);
5225         
5226         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
5227             _ISeraphyScriptTools_InstanceEvents * This,
5228             /* [annotation][in] */ 
5229             _In_  DISPID dispIdMember,
5230             /* [annotation][in] */ 
5231             _In_  REFIID riid,
5232             /* [annotation][in] */ 
5233             _In_  LCID lcid,
5234             /* [annotation][in] */ 
5235             _In_  WORD wFlags,
5236             /* [annotation][out][in] */ 
5237             _In_  DISPPARAMS *pDispParams,
5238             /* [annotation][out] */ 
5239             _Out_opt_  VARIANT *pVarResult,
5240             /* [annotation][out] */ 
5241             _Out_opt_  EXCEPINFO *pExcepInfo,
5242             /* [annotation][out] */ 
5243             _Out_opt_  UINT *puArgErr);
5244         
5245         END_INTERFACE
5246     } _ISeraphyScriptTools_InstanceEventsVtbl;
5247
5248     interface _ISeraphyScriptTools_InstanceEvents
5249     {
5250         CONST_VTBL struct _ISeraphyScriptTools_InstanceEventsVtbl *lpVtbl;
5251     };
5252
5253     
5254
5255 #ifdef COBJMACROS
5256
5257
5258 #define _ISeraphyScriptTools_InstanceEvents_QueryInterface(This,riid,ppvObject) \
5259     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
5260
5261 #define _ISeraphyScriptTools_InstanceEvents_AddRef(This)        \
5262     ( (This)->lpVtbl -> AddRef(This) ) 
5263
5264 #define _ISeraphyScriptTools_InstanceEvents_Release(This)       \
5265     ( (This)->lpVtbl -> Release(This) ) 
5266
5267
5268 #define _ISeraphyScriptTools_InstanceEvents_GetTypeInfoCount(This,pctinfo)      \
5269     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
5270
5271 #define _ISeraphyScriptTools_InstanceEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)       \
5272     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
5273
5274 #define _ISeraphyScriptTools_InstanceEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)     \
5275     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
5276
5277 #define _ISeraphyScriptTools_InstanceEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)       \
5278     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
5279
5280 #endif /* COBJMACROS */
5281
5282
5283 #endif  /* C style interface */
5284
5285
5286 #endif  /* ___ISeraphyScriptTools_InstanceEvents_DISPINTERFACE_DEFINED__ */
5287
5288
5289 #ifndef __ITreeItem_INTERFACE_DEFINED__
5290 #define __ITreeItem_INTERFACE_DEFINED__
5291
5292 /* interface ITreeItem */
5293 /* [unique][helpstring][dual][uuid][object] */ 
5294
5295
5296 EXTERN_C const IID IID_ITreeItem;
5297
5298 #if defined(__cplusplus) && !defined(CINTERFACE)
5299     
5300     MIDL_INTERFACE("12DA362D-72CE-4BB9-981F-B46B90DAE9AF")
5301     ITreeItem : public IDispatch
5302     {
5303     public:
5304         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Parent( 
5305             /* [retval][out] */ IUnknown **pVal) = 0;
5306         
5307         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ChildItem( 
5308             /* [retval][out] */ IUnknown **pVal) = 0;
5309         
5310         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NextItem( 
5311             /* [retval][out] */ IUnknown **pVal) = 0;
5312         
5313         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PrevItem( 
5314             /* [retval][out] */ IUnknown **pVal) = 0;
5315         
5316         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Text( 
5317             /* [retval][out] */ BSTR *pVal) = 0;
5318         
5319         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Text( 
5320             /* [in] */ BSTR newVal) = 0;
5321         
5322         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Object( 
5323             /* [optional][in] */ VARIANT idx,
5324             /* [retval][out] */ VARIANT *pVal) = 0;
5325         
5326         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Create( 
5327             /* [in] */ VARIANT text,
5328             /* [retval][out] */ IUnknown **punkVal) = 0;
5329         
5330         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Erase( void) = 0;
5331         
5332         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Select( void) = 0;
5333         
5334         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Expand( void) = 0;
5335         
5336         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Sort( void) = 0;
5337         
5338         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsValid( 
5339             /* [retval][out] */ BOOL *pResult) = 0;
5340         
5341     };
5342     
5343     
5344 #else   /* C style interface */
5345
5346     typedef struct ITreeItemVtbl
5347     {
5348         BEGIN_INTERFACE
5349         
5350         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
5351             ITreeItem * This,
5352             /* [in] */ REFIID riid,
5353             /* [annotation][iid_is][out] */ 
5354             _COM_Outptr_  void **ppvObject);
5355         
5356         ULONG ( STDMETHODCALLTYPE *AddRef )( 
5357             ITreeItem * This);
5358         
5359         ULONG ( STDMETHODCALLTYPE *Release )( 
5360             ITreeItem * This);
5361         
5362         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
5363             ITreeItem * This,
5364             /* [out] */ UINT *pctinfo);
5365         
5366         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
5367             ITreeItem * This,
5368             /* [in] */ UINT iTInfo,
5369             /* [in] */ LCID lcid,
5370             /* [out] */ ITypeInfo **ppTInfo);
5371         
5372         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
5373             ITreeItem * This,
5374             /* [in] */ REFIID riid,
5375             /* [size_is][in] */ LPOLESTR *rgszNames,
5376             /* [range][in] */ UINT cNames,
5377             /* [in] */ LCID lcid,
5378             /* [size_is][out] */ DISPID *rgDispId);
5379         
5380         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
5381             ITreeItem * This,
5382             /* [annotation][in] */ 
5383             _In_  DISPID dispIdMember,
5384             /* [annotation][in] */ 
5385             _In_  REFIID riid,
5386             /* [annotation][in] */ 
5387             _In_  LCID lcid,
5388             /* [annotation][in] */ 
5389             _In_  WORD wFlags,
5390             /* [annotation][out][in] */ 
5391             _In_  DISPPARAMS *pDispParams,
5392             /* [annotation][out] */ 
5393             _Out_opt_  VARIANT *pVarResult,
5394             /* [annotation][out] */ 
5395             _Out_opt_  EXCEPINFO *pExcepInfo,
5396             /* [annotation][out] */ 
5397             _Out_opt_  UINT *puArgErr);
5398         
5399         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )( 
5400             ITreeItem * This,
5401             /* [retval][out] */ IUnknown **pVal);
5402         
5403         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ChildItem )( 
5404             ITreeItem * This,
5405             /* [retval][out] */ IUnknown **pVal);
5406         
5407         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NextItem )( 
5408             ITreeItem * This,
5409             /* [retval][out] */ IUnknown **pVal);
5410         
5411         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PrevItem )( 
5412             ITreeItem * This,
5413             /* [retval][out] */ IUnknown **pVal);
5414         
5415         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Text )( 
5416             ITreeItem * This,
5417             /* [retval][out] */ BSTR *pVal);
5418         
5419         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Text )( 
5420             ITreeItem * This,
5421             /* [in] */ BSTR newVal);
5422         
5423         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Object )( 
5424             ITreeItem * This,
5425             /* [optional][in] */ VARIANT idx,
5426             /* [retval][out] */ VARIANT *pVal);
5427         
5428         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Create )( 
5429             ITreeItem * This,
5430             /* [in] */ VARIANT text,
5431             /* [retval][out] */ IUnknown **punkVal);
5432         
5433         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Erase )( 
5434             ITreeItem * This);
5435         
5436         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Select )( 
5437             ITreeItem * This);
5438         
5439         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Expand )( 
5440             ITreeItem * This);
5441         
5442         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Sort )( 
5443             ITreeItem * This);
5444         
5445         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsValid )( 
5446             ITreeItem * This,
5447             /* [retval][out] */ BOOL *pResult);
5448         
5449         END_INTERFACE
5450     } ITreeItemVtbl;
5451
5452     interface ITreeItem
5453     {
5454         CONST_VTBL struct ITreeItemVtbl *lpVtbl;
5455     };
5456
5457     
5458
5459 #ifdef COBJMACROS
5460
5461
5462 #define ITreeItem_QueryInterface(This,riid,ppvObject)   \
5463     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
5464
5465 #define ITreeItem_AddRef(This)  \
5466     ( (This)->lpVtbl -> AddRef(This) ) 
5467
5468 #define ITreeItem_Release(This) \
5469     ( (This)->lpVtbl -> Release(This) ) 
5470
5471
5472 #define ITreeItem_GetTypeInfoCount(This,pctinfo)        \
5473     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
5474
5475 #define ITreeItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
5476     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
5477
5478 #define ITreeItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)       \
5479     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
5480
5481 #define ITreeItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
5482     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
5483
5484
5485 #define ITreeItem_get_Parent(This,pVal) \
5486     ( (This)->lpVtbl -> get_Parent(This,pVal) ) 
5487
5488 #define ITreeItem_get_ChildItem(This,pVal)      \
5489     ( (This)->lpVtbl -> get_ChildItem(This,pVal) ) 
5490
5491 #define ITreeItem_get_NextItem(This,pVal)       \
5492     ( (This)->lpVtbl -> get_NextItem(This,pVal) ) 
5493
5494 #define ITreeItem_get_PrevItem(This,pVal)       \
5495     ( (This)->lpVtbl -> get_PrevItem(This,pVal) ) 
5496
5497 #define ITreeItem_get_Text(This,pVal)   \
5498     ( (This)->lpVtbl -> get_Text(This,pVal) ) 
5499
5500 #define ITreeItem_put_Text(This,newVal) \
5501     ( (This)->lpVtbl -> put_Text(This,newVal) ) 
5502
5503 #define ITreeItem_get_Object(This,idx,pVal)     \
5504     ( (This)->lpVtbl -> get_Object(This,idx,pVal) ) 
5505
5506 #define ITreeItem_Create(This,text,punkVal)     \
5507     ( (This)->lpVtbl -> Create(This,text,punkVal) ) 
5508
5509 #define ITreeItem_Erase(This)   \
5510     ( (This)->lpVtbl -> Erase(This) ) 
5511
5512 #define ITreeItem_Select(This)  \
5513     ( (This)->lpVtbl -> Select(This) ) 
5514
5515 #define ITreeItem_Expand(This)  \
5516     ( (This)->lpVtbl -> Expand(This) ) 
5517
5518 #define ITreeItem_Sort(This)    \
5519     ( (This)->lpVtbl -> Sort(This) ) 
5520
5521 #define ITreeItem_IsValid(This,pResult) \
5522     ( (This)->lpVtbl -> IsValid(This,pResult) ) 
5523
5524 #endif /* COBJMACROS */
5525
5526
5527 #endif  /* C style interface */
5528
5529
5530
5531
5532 #endif  /* __ITreeItem_INTERFACE_DEFINED__ */
5533
5534
5535 #ifndef __IObjectMap_INTERFACE_DEFINED__
5536 #define __IObjectMap_INTERFACE_DEFINED__
5537
5538 /* interface IObjectMap */
5539 /* [unique][helpstring][dual][uuid][object] */ 
5540
5541
5542 EXTERN_C const IID IID_IObjectMap;
5543
5544 #if defined(__cplusplus) && !defined(CINTERFACE)
5545     
5546     MIDL_INTERFACE("E911BCA5-E5CA-4A49-9A48-9F6D933B5DCC")
5547     IObjectMap : public IDispatch
5548     {
5549     public:
5550         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value( 
5551             /* [in] */ VARIANT key,
5552             /* [retval][out] */ VARIANT *pVal) = 0;
5553         
5554         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value( 
5555             /* [in] */ VARIANT key,
5556             /* [in] */ VARIANT newVal) = 0;
5557         
5558         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
5559             /* [retval][out] */ long *pVal) = 0;
5560         
5561         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
5562         
5563         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Duplicate( 
5564             /* [retval][out] */ IUnknown **punkVal) = 0;
5565         
5566         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateMap( 
5567             /* [retval][out] */ IUnknown **punkVal) = 0;
5568         
5569         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindNear( 
5570             /* [in] */ VARIANT key,
5571             /* [retval][out] */ VARIANT *pVal) = 0;
5572         
5573         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NearValue( 
5574             /* [in] */ VARIANT key,
5575             /* [retval][out] */ VARIANT *pVal) = 0;
5576         
5577         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExpandVariables( 
5578             /* [in] */ VARIANT text,
5579             /* [optional][in] */ VARIANT env,
5580             /* [retval][out] */ VARIANT *pVal) = 0;
5581         
5582         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsExist( 
5583             /* [in] */ VARIANT key,
5584             /* [retval][out] */ BOOL *pVal) = 0;
5585         
5586         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Erase( 
5587             /* [in] */ VARIANT key) = 0;
5588         
5589         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadProfile( 
5590             /* [in] */ IUnknown *punkVal) = 0;
5591         
5592         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveProfile( 
5593             /* [in] */ IUnknown *punkVal) = 0;
5594         
5595         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
5596             /* [retval][out] */ IUnknown **pVal) = 0;
5597         
5598     };
5599     
5600     
5601 #else   /* C style interface */
5602
5603     typedef struct IObjectMapVtbl
5604     {
5605         BEGIN_INTERFACE
5606         
5607         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
5608             IObjectMap * This,
5609             /* [in] */ REFIID riid,
5610             /* [annotation][iid_is][out] */ 
5611             _COM_Outptr_  void **ppvObject);
5612         
5613         ULONG ( STDMETHODCALLTYPE *AddRef )( 
5614             IObjectMap * This);
5615         
5616         ULONG ( STDMETHODCALLTYPE *Release )( 
5617             IObjectMap * This);
5618         
5619         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
5620             IObjectMap * This,
5621             /* [out] */ UINT *pctinfo);
5622         
5623         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
5624             IObjectMap * This,
5625             /* [in] */ UINT iTInfo,
5626             /* [in] */ LCID lcid,
5627             /* [out] */ ITypeInfo **ppTInfo);
5628         
5629         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
5630             IObjectMap * This,
5631             /* [in] */ REFIID riid,
5632             /* [size_is][in] */ LPOLESTR *rgszNames,
5633             /* [range][in] */ UINT cNames,
5634             /* [in] */ LCID lcid,
5635             /* [size_is][out] */ DISPID *rgDispId);
5636         
5637         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
5638             IObjectMap * This,
5639             /* [annotation][in] */ 
5640             _In_  DISPID dispIdMember,
5641             /* [annotation][in] */ 
5642             _In_  REFIID riid,
5643             /* [annotation][in] */ 
5644             _In_  LCID lcid,
5645             /* [annotation][in] */ 
5646             _In_  WORD wFlags,
5647             /* [annotation][out][in] */ 
5648             _In_  DISPPARAMS *pDispParams,
5649             /* [annotation][out] */ 
5650             _Out_opt_  VARIANT *pVarResult,
5651             /* [annotation][out] */ 
5652             _Out_opt_  EXCEPINFO *pExcepInfo,
5653             /* [annotation][out] */ 
5654             _Out_opt_  UINT *puArgErr);
5655         
5656         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( 
5657             IObjectMap * This,
5658             /* [in] */ VARIANT key,
5659             /* [retval][out] */ VARIANT *pVal);
5660         
5661         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )( 
5662             IObjectMap * This,
5663             /* [in] */ VARIANT key,
5664             /* [in] */ VARIANT newVal);
5665         
5666         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
5667             IObjectMap * This,
5668             /* [retval][out] */ long *pVal);
5669         
5670         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )( 
5671             IObjectMap * This);
5672         
5673         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Duplicate )( 
5674             IObjectMap * This,
5675             /* [retval][out] */ IUnknown **punkVal);
5676         
5677         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateMap )( 
5678             IObjectMap * This,
5679             /* [retval][out] */ IUnknown **punkVal);
5680         
5681         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindNear )( 
5682             IObjectMap * This,
5683             /* [in] */ VARIANT key,
5684             /* [retval][out] */ VARIANT *pVal);
5685         
5686         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NearValue )( 
5687             IObjectMap * This,
5688             /* [in] */ VARIANT key,
5689             /* [retval][out] */ VARIANT *pVal);
5690         
5691         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExpandVariables )( 
5692             IObjectMap * This,
5693             /* [in] */ VARIANT text,
5694             /* [optional][in] */ VARIANT env,
5695             /* [retval][out] */ VARIANT *pVal);
5696         
5697         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsExist )( 
5698             IObjectMap * This,
5699             /* [in] */ VARIANT key,
5700             /* [retval][out] */ BOOL *pVal);
5701         
5702         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Erase )( 
5703             IObjectMap * This,
5704             /* [in] */ VARIANT key);
5705         
5706         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadProfile )( 
5707             IObjectMap * This,
5708             /* [in] */ IUnknown *punkVal);
5709         
5710         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveProfile )( 
5711             IObjectMap * This,
5712             /* [in] */ IUnknown *punkVal);
5713         
5714         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
5715             IObjectMap * This,
5716             /* [retval][out] */ IUnknown **pVal);
5717         
5718         END_INTERFACE
5719     } IObjectMapVtbl;
5720
5721     interface IObjectMap
5722     {
5723         CONST_VTBL struct IObjectMapVtbl *lpVtbl;
5724     };
5725
5726     
5727
5728 #ifdef COBJMACROS
5729
5730
5731 #define IObjectMap_QueryInterface(This,riid,ppvObject)  \
5732     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
5733
5734 #define IObjectMap_AddRef(This) \
5735     ( (This)->lpVtbl -> AddRef(This) ) 
5736
5737 #define IObjectMap_Release(This)        \
5738     ( (This)->lpVtbl -> Release(This) ) 
5739
5740
5741 #define IObjectMap_GetTypeInfoCount(This,pctinfo)       \
5742     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
5743
5744 #define IObjectMap_GetTypeInfo(This,iTInfo,lcid,ppTInfo)        \
5745     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
5746
5747 #define IObjectMap_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)      \
5748     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
5749
5750 #define IObjectMap_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)        \
5751     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
5752
5753
5754 #define IObjectMap_get_Value(This,key,pVal)     \
5755     ( (This)->lpVtbl -> get_Value(This,key,pVal) ) 
5756
5757 #define IObjectMap_put_Value(This,key,newVal)   \
5758     ( (This)->lpVtbl -> put_Value(This,key,newVal) ) 
5759
5760 #define IObjectMap_get_Count(This,pVal) \
5761     ( (This)->lpVtbl -> get_Count(This,pVal) ) 
5762
5763 #define IObjectMap_Clear(This)  \
5764     ( (This)->lpVtbl -> Clear(This) ) 
5765
5766 #define IObjectMap_Duplicate(This,punkVal)      \
5767     ( (This)->lpVtbl -> Duplicate(This,punkVal) ) 
5768
5769 #define IObjectMap_CreateMap(This,punkVal)      \
5770     ( (This)->lpVtbl -> CreateMap(This,punkVal) ) 
5771
5772 #define IObjectMap_FindNear(This,key,pVal)      \
5773     ( (This)->lpVtbl -> FindNear(This,key,pVal) ) 
5774
5775 #define IObjectMap_get_NearValue(This,key,pVal) \
5776     ( (This)->lpVtbl -> get_NearValue(This,key,pVal) ) 
5777
5778 #define IObjectMap_ExpandVariables(This,text,env,pVal)  \
5779     ( (This)->lpVtbl -> ExpandVariables(This,text,env,pVal) ) 
5780
5781 #define IObjectMap_get_IsExist(This,key,pVal)   \
5782     ( (This)->lpVtbl -> get_IsExist(This,key,pVal) ) 
5783
5784 #define IObjectMap_Erase(This,key)      \
5785     ( (This)->lpVtbl -> Erase(This,key) ) 
5786
5787 #define IObjectMap_LoadProfile(This,punkVal)    \
5788     ( (This)->lpVtbl -> LoadProfile(This,punkVal) ) 
5789
5790 #define IObjectMap_SaveProfile(This,punkVal)    \
5791     ( (This)->lpVtbl -> SaveProfile(This,punkVal) ) 
5792
5793 #define IObjectMap_get__NewEnum(This,pVal)      \
5794     ( (This)->lpVtbl -> get__NewEnum(This,pVal) ) 
5795
5796 #endif /* COBJMACROS */
5797
5798
5799 #endif  /* C style interface */
5800
5801
5802
5803
5804 #endif  /* __IObjectMap_INTERFACE_DEFINED__ */
5805
5806
5807 #ifndef __ISeraphyScriptTools_Shell_INTERFACE_DEFINED__
5808 #define __ISeraphyScriptTools_Shell_INTERFACE_DEFINED__
5809
5810 /* interface ISeraphyScriptTools_Shell */
5811 /* [unique][helpstring][dual][uuid][object] */ 
5812
5813
5814 EXTERN_C const IID IID_ISeraphyScriptTools_Shell;
5815
5816 #if defined(__cplusplus) && !defined(CINTERFACE)
5817     
5818     MIDL_INTERFACE("F8B84F95-7454-463B-BDC4-DE3EB9A96550")
5819     ISeraphyScriptTools_Shell : public IDispatch
5820     {
5821     public:
5822         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ShellExecute( 
5823             /* [in] */ VARIANT path,
5824             /* [optional][in] */ VARIANT param,
5825             /* [optional][in] */ VARIANT initdir,
5826             /* [optional][in] */ VARIANT mode,
5827             /* [retval][out] */ VARIANT *punkVal) = 0;
5828         
5829         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSpecialFolderLocations( 
5830             /* [in] */ IUnknown *punkVal) = 0;
5831         
5832         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsWindowNT( 
5833             /* [retval][out] */ BOOL *pVal) = 0;
5834         
5835         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WindowsVersion( 
5836             /* [retval][out] */ long *pVal) = 0;
5837         
5838         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDLLVersion( 
5839             /* [in] */ VARIANT text,
5840             /* [optional][in] */ VARIANT min,
5841             /* [retval][out] */ VARIANT *pVal) = 0;
5842         
5843         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ParseName( 
5844             /* [optional][in] */ VARIANT text,
5845             /* [retval][out] */ VARIANT *pVal) = 0;
5846         
5847         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Copy( 
5848             /* [in] */ VARIANT from,
5849             /* [in] */ VARIANT to,
5850             /* [retval][out] */ VARIANT *pVal) = 0;
5851         
5852         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyRenameOnCollision( 
5853             /* [in] */ VARIANT from,
5854             /* [in] */ VARIANT to,
5855             /* [retval][out] */ VARIANT *pVal) = 0;
5856         
5857         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Move( 
5858             /* [in] */ VARIANT from,
5859             /* [in] */ VARIANT to,
5860             /* [retval][out] */ VARIANT *pVal) = 0;
5861         
5862         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( 
5863             /* [in] */ VARIANT from,
5864             /* [retval][out] */ VARIANT *pVal) = 0;
5865         
5866         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Confirm( 
5867             /* [retval][out] */ BOOL *pVal) = 0;
5868         
5869         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Confirm( 
5870             /* [in] */ BOOL newVal) = 0;
5871         
5872         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Silent( 
5873             /* [retval][out] */ BOOL *pVal) = 0;
5874         
5875         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Silent( 
5876             /* [in] */ BOOL newVal) = 0;
5877         
5878         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EmptyRecycleBin( 
5879             /* [optional][in] */ VARIANT dir) = 0;
5880         
5881         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RecentDocs( 
5882             /* [optional][in] */ VARIANT text) = 0;
5883         
5884         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMainWindow( 
5885             /* [in] */ VARIANT varUnk) = 0;
5886         
5887         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsExist( 
5888             /* [in] */ VARIANT name,
5889             /* [retval][out] */ VARIANT *pVal) = 0;
5890         
5891     };
5892     
5893     
5894 #else   /* C style interface */
5895
5896     typedef struct ISeraphyScriptTools_ShellVtbl
5897     {
5898         BEGIN_INTERFACE
5899         
5900         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
5901             ISeraphyScriptTools_Shell * This,
5902             /* [in] */ REFIID riid,
5903             /* [annotation][iid_is][out] */ 
5904             _COM_Outptr_  void **ppvObject);
5905         
5906         ULONG ( STDMETHODCALLTYPE *AddRef )( 
5907             ISeraphyScriptTools_Shell * This);
5908         
5909         ULONG ( STDMETHODCALLTYPE *Release )( 
5910             ISeraphyScriptTools_Shell * This);
5911         
5912         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
5913             ISeraphyScriptTools_Shell * This,
5914             /* [out] */ UINT *pctinfo);
5915         
5916         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
5917             ISeraphyScriptTools_Shell * This,
5918             /* [in] */ UINT iTInfo,
5919             /* [in] */ LCID lcid,
5920             /* [out] */ ITypeInfo **ppTInfo);
5921         
5922         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
5923             ISeraphyScriptTools_Shell * This,
5924             /* [in] */ REFIID riid,
5925             /* [size_is][in] */ LPOLESTR *rgszNames,
5926             /* [range][in] */ UINT cNames,
5927             /* [in] */ LCID lcid,
5928             /* [size_is][out] */ DISPID *rgDispId);
5929         
5930         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
5931             ISeraphyScriptTools_Shell * This,
5932             /* [annotation][in] */ 
5933             _In_  DISPID dispIdMember,
5934             /* [annotation][in] */ 
5935             _In_  REFIID riid,
5936             /* [annotation][in] */ 
5937             _In_  LCID lcid,
5938             /* [annotation][in] */ 
5939             _In_  WORD wFlags,
5940             /* [annotation][out][in] */ 
5941             _In_  DISPPARAMS *pDispParams,
5942             /* [annotation][out] */ 
5943             _Out_opt_  VARIANT *pVarResult,
5944             /* [annotation][out] */ 
5945             _Out_opt_  EXCEPINFO *pExcepInfo,
5946             /* [annotation][out] */ 
5947             _Out_opt_  UINT *puArgErr);
5948         
5949         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ShellExecute )( 
5950             ISeraphyScriptTools_Shell * This,
5951             /* [in] */ VARIANT path,
5952             /* [optional][in] */ VARIANT param,
5953             /* [optional][in] */ VARIANT initdir,
5954             /* [optional][in] */ VARIANT mode,
5955             /* [retval][out] */ VARIANT *punkVal);
5956         
5957         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSpecialFolderLocations )( 
5958             ISeraphyScriptTools_Shell * This,
5959             /* [in] */ IUnknown *punkVal);
5960         
5961         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsWindowNT )( 
5962             ISeraphyScriptTools_Shell * This,
5963             /* [retval][out] */ BOOL *pVal);
5964         
5965         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WindowsVersion )( 
5966             ISeraphyScriptTools_Shell * This,
5967             /* [retval][out] */ long *pVal);
5968         
5969         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDLLVersion )( 
5970             ISeraphyScriptTools_Shell * This,
5971             /* [in] */ VARIANT text,
5972             /* [optional][in] */ VARIANT min,
5973             /* [retval][out] */ VARIANT *pVal);
5974         
5975         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ParseName )( 
5976             ISeraphyScriptTools_Shell * This,
5977             /* [optional][in] */ VARIANT text,
5978             /* [retval][out] */ VARIANT *pVal);
5979         
5980         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Copy )( 
5981             ISeraphyScriptTools_Shell * This,
5982             /* [in] */ VARIANT from,
5983             /* [in] */ VARIANT to,
5984             /* [retval][out] */ VARIANT *pVal);
5985         
5986         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyRenameOnCollision )( 
5987             ISeraphyScriptTools_Shell * This,
5988             /* [in] */ VARIANT from,
5989             /* [in] */ VARIANT to,
5990             /* [retval][out] */ VARIANT *pVal);
5991         
5992         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Move )( 
5993             ISeraphyScriptTools_Shell * This,
5994             /* [in] */ VARIANT from,
5995             /* [in] */ VARIANT to,
5996             /* [retval][out] */ VARIANT *pVal);
5997         
5998         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( 
5999             ISeraphyScriptTools_Shell * This,
6000             /* [in] */ VARIANT from,
6001             /* [retval][out] */ VARIANT *pVal);
6002         
6003         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Confirm )( 
6004             ISeraphyScriptTools_Shell * This,
6005             /* [retval][out] */ BOOL *pVal);
6006         
6007         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Confirm )( 
6008             ISeraphyScriptTools_Shell * This,
6009             /* [in] */ BOOL newVal);
6010         
6011         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Silent )( 
6012             ISeraphyScriptTools_Shell * This,
6013             /* [retval][out] */ BOOL *pVal);
6014         
6015         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Silent )( 
6016             ISeraphyScriptTools_Shell * This,
6017             /* [in] */ BOOL newVal);
6018         
6019         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EmptyRecycleBin )( 
6020             ISeraphyScriptTools_Shell * This,
6021             /* [optional][in] */ VARIANT dir);
6022         
6023         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RecentDocs )( 
6024             ISeraphyScriptTools_Shell * This,
6025             /* [optional][in] */ VARIANT text);
6026         
6027         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMainWindow )( 
6028             ISeraphyScriptTools_Shell * This,
6029             /* [in] */ VARIANT varUnk);
6030         
6031         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsExist )( 
6032             ISeraphyScriptTools_Shell * This,
6033             /* [in] */ VARIANT name,
6034             /* [retval][out] */ VARIANT *pVal);
6035         
6036         END_INTERFACE
6037     } ISeraphyScriptTools_ShellVtbl;
6038
6039     interface ISeraphyScriptTools_Shell
6040     {
6041         CONST_VTBL struct ISeraphyScriptTools_ShellVtbl *lpVtbl;
6042     };
6043
6044     
6045
6046 #ifdef COBJMACROS
6047
6048
6049 #define ISeraphyScriptTools_Shell_QueryInterface(This,riid,ppvObject)   \
6050     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
6051
6052 #define ISeraphyScriptTools_Shell_AddRef(This)  \
6053     ( (This)->lpVtbl -> AddRef(This) ) 
6054
6055 #define ISeraphyScriptTools_Shell_Release(This) \
6056     ( (This)->lpVtbl -> Release(This) ) 
6057
6058
6059 #define ISeraphyScriptTools_Shell_GetTypeInfoCount(This,pctinfo)        \
6060     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
6061
6062 #define ISeraphyScriptTools_Shell_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
6063     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
6064
6065 #define ISeraphyScriptTools_Shell_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)       \
6066     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
6067
6068 #define ISeraphyScriptTools_Shell_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
6069     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
6070
6071
6072 #define ISeraphyScriptTools_Shell_ShellExecute(This,path,param,initdir,mode,punkVal)    \
6073     ( (This)->lpVtbl -> ShellExecute(This,path,param,initdir,mode,punkVal) ) 
6074
6075 #define ISeraphyScriptTools_Shell_GetSpecialFolderLocations(This,punkVal)       \
6076     ( (This)->lpVtbl -> GetSpecialFolderLocations(This,punkVal) ) 
6077
6078 #define ISeraphyScriptTools_Shell_get_IsWindowNT(This,pVal)     \
6079     ( (This)->lpVtbl -> get_IsWindowNT(This,pVal) ) 
6080
6081 #define ISeraphyScriptTools_Shell_get_WindowsVersion(This,pVal) \
6082     ( (This)->lpVtbl -> get_WindowsVersion(This,pVal) ) 
6083
6084 #define ISeraphyScriptTools_Shell_GetDLLVersion(This,text,min,pVal)     \
6085     ( (This)->lpVtbl -> GetDLLVersion(This,text,min,pVal) ) 
6086
6087 #define ISeraphyScriptTools_Shell_ParseName(This,text,pVal)     \
6088     ( (This)->lpVtbl -> ParseName(This,text,pVal) ) 
6089
6090 #define ISeraphyScriptTools_Shell_Copy(This,from,to,pVal)       \
6091     ( (This)->lpVtbl -> Copy(This,from,to,pVal) ) 
6092
6093 #define ISeraphyScriptTools_Shell_CopyRenameOnCollision(This,from,to,pVal)      \
6094     ( (This)->lpVtbl -> CopyRenameOnCollision(This,from,to,pVal) ) 
6095
6096 #define ISeraphyScriptTools_Shell_Move(This,from,to,pVal)       \
6097     ( (This)->lpVtbl -> Move(This,from,to,pVal) ) 
6098
6099 #define ISeraphyScriptTools_Shell_Delete(This,from,pVal)        \
6100     ( (This)->lpVtbl -> Delete(This,from,pVal) ) 
6101
6102 #define ISeraphyScriptTools_Shell_get_Confirm(This,pVal)        \
6103     ( (This)->lpVtbl -> get_Confirm(This,pVal) ) 
6104
6105 #define ISeraphyScriptTools_Shell_put_Confirm(This,newVal)      \
6106     ( (This)->lpVtbl -> put_Confirm(This,newVal) ) 
6107
6108 #define ISeraphyScriptTools_Shell_get_Silent(This,pVal) \
6109     ( (This)->lpVtbl -> get_Silent(This,pVal) ) 
6110
6111 #define ISeraphyScriptTools_Shell_put_Silent(This,newVal)       \
6112     ( (This)->lpVtbl -> put_Silent(This,newVal) ) 
6113
6114 #define ISeraphyScriptTools_Shell_EmptyRecycleBin(This,dir)     \
6115     ( (This)->lpVtbl -> EmptyRecycleBin(This,dir) ) 
6116
6117 #define ISeraphyScriptTools_Shell_RecentDocs(This,text) \
6118     ( (This)->lpVtbl -> RecentDocs(This,text) ) 
6119
6120 #define ISeraphyScriptTools_Shell_SetMainWindow(This,varUnk)    \
6121     ( (This)->lpVtbl -> SetMainWindow(This,varUnk) ) 
6122
6123 #define ISeraphyScriptTools_Shell_IsExist(This,name,pVal)       \
6124     ( (This)->lpVtbl -> IsExist(This,name,pVal) ) 
6125
6126 #endif /* COBJMACROS */
6127
6128
6129 #endif  /* C style interface */
6130
6131
6132
6133
6134 #endif  /* __ISeraphyScriptTools_Shell_INTERFACE_DEFINED__ */
6135
6136
6137 #ifndef __IShellExecObj_INTERFACE_DEFINED__
6138 #define __IShellExecObj_INTERFACE_DEFINED__
6139
6140 /* interface IShellExecObj */
6141 /* [unique][helpstring][dual][uuid][object] */ 
6142
6143
6144 EXTERN_C const IID IID_IShellExecObj;
6145
6146 #if defined(__cplusplus) && !defined(CINTERFACE)
6147     
6148     MIDL_INTERFACE("690ED5D8-DBA9-4982-9E6E-C8B69342C47E")
6149     IShellExecObj : public IDispatch
6150     {
6151     public:
6152         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Wait( 
6153             /* [optional][in] */ VARIANT tim,
6154             /* [retval][out] */ VARIANT *pVal) = 0;
6155         
6156         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExitCode( 
6157             /* [retval][out] */ long *pVal) = 0;
6158         
6159     };
6160     
6161     
6162 #else   /* C style interface */
6163
6164     typedef struct IShellExecObjVtbl
6165     {
6166         BEGIN_INTERFACE
6167         
6168         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
6169             IShellExecObj * This,
6170             /* [in] */ REFIID riid,
6171             /* [annotation][iid_is][out] */ 
6172             _COM_Outptr_  void **ppvObject);
6173         
6174         ULONG ( STDMETHODCALLTYPE *AddRef )( 
6175             IShellExecObj * This);
6176         
6177         ULONG ( STDMETHODCALLTYPE *Release )( 
6178             IShellExecObj * This);
6179         
6180         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
6181             IShellExecObj * This,
6182             /* [out] */ UINT *pctinfo);
6183         
6184         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
6185             IShellExecObj * This,
6186             /* [in] */ UINT iTInfo,
6187             /* [in] */ LCID lcid,
6188             /* [out] */ ITypeInfo **ppTInfo);
6189         
6190         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
6191             IShellExecObj * This,
6192             /* [in] */ REFIID riid,
6193             /* [size_is][in] */ LPOLESTR *rgszNames,
6194             /* [range][in] */ UINT cNames,
6195             /* [in] */ LCID lcid,
6196             /* [size_is][out] */ DISPID *rgDispId);
6197         
6198         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
6199             IShellExecObj * This,
6200             /* [annotation][in] */ 
6201             _In_  DISPID dispIdMember,
6202             /* [annotation][in] */ 
6203             _In_  REFIID riid,
6204             /* [annotation][in] */ 
6205             _In_  LCID lcid,
6206             /* [annotation][in] */ 
6207             _In_  WORD wFlags,
6208             /* [annotation][out][in] */ 
6209             _In_  DISPPARAMS *pDispParams,
6210             /* [annotation][out] */ 
6211             _Out_opt_  VARIANT *pVarResult,
6212             /* [annotation][out] */ 
6213             _Out_opt_  EXCEPINFO *pExcepInfo,
6214             /* [annotation][out] */ 
6215             _Out_opt_  UINT *puArgErr);
6216         
6217         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Wait )( 
6218             IShellExecObj * This,
6219             /* [optional][in] */ VARIANT tim,
6220             /* [retval][out] */ VARIANT *pVal);
6221         
6222         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExitCode )( 
6223             IShellExecObj * This,
6224             /* [retval][out] */ long *pVal);
6225         
6226         END_INTERFACE
6227     } IShellExecObjVtbl;
6228
6229     interface IShellExecObj
6230     {
6231         CONST_VTBL struct IShellExecObjVtbl *lpVtbl;
6232     };
6233
6234     
6235
6236 #ifdef COBJMACROS
6237
6238
6239 #define IShellExecObj_QueryInterface(This,riid,ppvObject)       \
6240     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
6241
6242 #define IShellExecObj_AddRef(This)      \
6243     ( (This)->lpVtbl -> AddRef(This) ) 
6244
6245 #define IShellExecObj_Release(This)     \
6246     ( (This)->lpVtbl -> Release(This) ) 
6247
6248
6249 #define IShellExecObj_GetTypeInfoCount(This,pctinfo)    \
6250     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
6251
6252 #define IShellExecObj_GetTypeInfo(This,iTInfo,lcid,ppTInfo)     \
6253     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
6254
6255 #define IShellExecObj_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)   \
6256     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
6257
6258 #define IShellExecObj_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)     \
6259     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
6260
6261
6262 #define IShellExecObj_Wait(This,tim,pVal)       \
6263     ( (This)->lpVtbl -> Wait(This,tim,pVal) ) 
6264
6265 #define IShellExecObj_get_ExitCode(This,pVal)   \
6266     ( (This)->lpVtbl -> get_ExitCode(This,pVal) ) 
6267
6268 #endif /* COBJMACROS */
6269
6270
6271 #endif  /* C style interface */
6272
6273
6274
6275
6276 #endif  /* __IShellExecObj_INTERFACE_DEFINED__ */
6277
6278
6279 #ifndef __IObjectVector_INTERFACE_DEFINED__
6280 #define __IObjectVector_INTERFACE_DEFINED__
6281
6282 /* interface IObjectVector */
6283 /* [unique][helpstring][dual][uuid][object] */ 
6284
6285
6286 EXTERN_C const IID IID_IObjectVector;
6287
6288 #if defined(__cplusplus) && !defined(CINTERFACE)
6289     
6290     MIDL_INTERFACE("C9C4F4B0-BE0D-481F-889A-0CCF249494F7")
6291     IObjectVector : public IDispatch
6292     {
6293     public:
6294         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateVector( 
6295             /* [retval][out] */ IUnknown **punkVal) = 0;
6296         
6297         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Duplicate( 
6298             /* [optional][in] */ VARIANT idx,
6299             /* [optional][in] */ VARIANT count,
6300             /* [retval][out] */ IUnknown **punkVal) = 0;
6301         
6302         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
6303         
6304         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Erase( 
6305             /* [in] */ VARIANT start,
6306             /* [optional][in] */ VARIANT count) = 0;
6307         
6308         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Push( 
6309             /* [in] */ VARIANT newVal) = 0;
6310         
6311         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Pop( 
6312             /* [retval][out] */ VARIANT *pVal) = 0;
6313         
6314         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Insert( 
6315             /* [in] */ VARIANT idx,
6316             /* [in] */ VARIANT newVal) = 0;
6317         
6318         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value( 
6319             /* [optional][in] */ VARIANT idx,
6320             /* [retval][out] */ VARIANT *pVal) = 0;
6321         
6322         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value( 
6323             /* [optional][in] */ VARIANT idx,
6324             /* [in] */ VARIANT newVal) = 0;
6325         
6326         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
6327             /* [retval][out] */ long *pVal) = 0;
6328         
6329         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Merge( 
6330             /* [in] */ VARIANT unkVal) = 0;
6331         
6332         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MakeArray( 
6333             /* [retval][out] */ VARIANT *pVal) = 0;
6334         
6335         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
6336             /* [retval][out] */ IUnknown **pVal) = 0;
6337         
6338     };
6339     
6340     
6341 #else   /* C style interface */
6342
6343     typedef struct IObjectVectorVtbl
6344     {
6345         BEGIN_INTERFACE
6346         
6347         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
6348             IObjectVector * This,
6349             /* [in] */ REFIID riid,
6350             /* [annotation][iid_is][out] */ 
6351             _COM_Outptr_  void **ppvObject);
6352         
6353         ULONG ( STDMETHODCALLTYPE *AddRef )( 
6354             IObjectVector * This);
6355         
6356         ULONG ( STDMETHODCALLTYPE *Release )( 
6357             IObjectVector * This);
6358         
6359         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
6360             IObjectVector * This,
6361             /* [out] */ UINT *pctinfo);
6362         
6363         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
6364             IObjectVector * This,
6365             /* [in] */ UINT iTInfo,
6366             /* [in] */ LCID lcid,
6367             /* [out] */ ITypeInfo **ppTInfo);
6368         
6369         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
6370             IObjectVector * This,
6371             /* [in] */ REFIID riid,
6372             /* [size_is][in] */ LPOLESTR *rgszNames,
6373             /* [range][in] */ UINT cNames,
6374             /* [in] */ LCID lcid,
6375             /* [size_is][out] */ DISPID *rgDispId);
6376         
6377         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
6378             IObjectVector * This,
6379             /* [annotation][in] */ 
6380             _In_  DISPID dispIdMember,
6381             /* [annotation][in] */ 
6382             _In_  REFIID riid,
6383             /* [annotation][in] */ 
6384             _In_  LCID lcid,
6385             /* [annotation][in] */ 
6386             _In_  WORD wFlags,
6387             /* [annotation][out][in] */ 
6388             _In_  DISPPARAMS *pDispParams,
6389             /* [annotation][out] */ 
6390             _Out_opt_  VARIANT *pVarResult,
6391             /* [annotation][out] */ 
6392             _Out_opt_  EXCEPINFO *pExcepInfo,
6393             /* [annotation][out] */ 
6394             _Out_opt_  UINT *puArgErr);
6395         
6396         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateVector )( 
6397             IObjectVector * This,
6398             /* [retval][out] */ IUnknown **punkVal);
6399         
6400         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Duplicate )( 
6401             IObjectVector * This,
6402             /* [optional][in] */ VARIANT idx,
6403             /* [optional][in] */ VARIANT count,
6404             /* [retval][out] */ IUnknown **punkVal);
6405         
6406         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )( 
6407             IObjectVector * This);
6408         
6409         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Erase )( 
6410             IObjectVector * This,
6411             /* [in] */ VARIANT start,
6412             /* [optional][in] */ VARIANT count);
6413         
6414         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Push )( 
6415             IObjectVector * This,
6416             /* [in] */ VARIANT newVal);
6417         
6418         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Pop )( 
6419             IObjectVector * This,
6420             /* [retval][out] */ VARIANT *pVal);
6421         
6422         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Insert )( 
6423             IObjectVector * This,
6424             /* [in] */ VARIANT idx,
6425             /* [in] */ VARIANT newVal);
6426         
6427         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( 
6428             IObjectVector * This,
6429             /* [optional][in] */ VARIANT idx,
6430             /* [retval][out] */ VARIANT *pVal);
6431         
6432         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )( 
6433             IObjectVector * This,
6434             /* [optional][in] */ VARIANT idx,
6435             /* [in] */ VARIANT newVal);
6436         
6437         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
6438             IObjectVector * This,
6439             /* [retval][out] */ long *pVal);
6440         
6441         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Merge )( 
6442             IObjectVector * This,
6443             /* [in] */ VARIANT unkVal);
6444         
6445         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MakeArray )( 
6446             IObjectVector * This,
6447             /* [retval][out] */ VARIANT *pVal);
6448         
6449         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
6450             IObjectVector * This,
6451             /* [retval][out] */ IUnknown **pVal);
6452         
6453         END_INTERFACE
6454     } IObjectVectorVtbl;
6455
6456     interface IObjectVector
6457     {
6458         CONST_VTBL struct IObjectVectorVtbl *lpVtbl;
6459     };
6460
6461     
6462
6463 #ifdef COBJMACROS
6464
6465
6466 #define IObjectVector_QueryInterface(This,riid,ppvObject)       \
6467     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
6468
6469 #define IObjectVector_AddRef(This)      \
6470     ( (This)->lpVtbl -> AddRef(This) ) 
6471
6472 #define IObjectVector_Release(This)     \
6473     ( (This)->lpVtbl -> Release(This) ) 
6474
6475
6476 #define IObjectVector_GetTypeInfoCount(This,pctinfo)    \
6477     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
6478
6479 #define IObjectVector_GetTypeInfo(This,iTInfo,lcid,ppTInfo)     \
6480     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
6481
6482 #define IObjectVector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)   \
6483     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
6484
6485 #define IObjectVector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)     \
6486     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
6487
6488
6489 #define IObjectVector_CreateVector(This,punkVal)        \
6490     ( (This)->lpVtbl -> CreateVector(This,punkVal) ) 
6491
6492 #define IObjectVector_Duplicate(This,idx,count,punkVal) \
6493     ( (This)->lpVtbl -> Duplicate(This,idx,count,punkVal) ) 
6494
6495 #define IObjectVector_Clear(This)       \
6496     ( (This)->lpVtbl -> Clear(This) ) 
6497
6498 #define IObjectVector_Erase(This,start,count)   \
6499     ( (This)->lpVtbl -> Erase(This,start,count) ) 
6500
6501 #define IObjectVector_Push(This,newVal) \
6502     ( (This)->lpVtbl -> Push(This,newVal) ) 
6503
6504 #define IObjectVector_Pop(This,pVal)    \
6505     ( (This)->lpVtbl -> Pop(This,pVal) ) 
6506
6507 #define IObjectVector_Insert(This,idx,newVal)   \
6508     ( (This)->lpVtbl -> Insert(This,idx,newVal) ) 
6509
6510 #define IObjectVector_get_Value(This,idx,pVal)  \
6511     ( (This)->lpVtbl -> get_Value(This,idx,pVal) ) 
6512
6513 #define IObjectVector_put_Value(This,idx,newVal)        \
6514     ( (This)->lpVtbl -> put_Value(This,idx,newVal) ) 
6515
6516 #define IObjectVector_get_Count(This,pVal)      \
6517     ( (This)->lpVtbl -> get_Count(This,pVal) ) 
6518
6519 #define IObjectVector_Merge(This,unkVal)        \
6520     ( (This)->lpVtbl -> Merge(This,unkVal) ) 
6521
6522 #define IObjectVector_MakeArray(This,pVal)      \
6523     ( (This)->lpVtbl -> MakeArray(This,pVal) ) 
6524
6525 #define IObjectVector_get__NewEnum(This,pVal)   \
6526     ( (This)->lpVtbl -> get__NewEnum(This,pVal) ) 
6527
6528 #endif /* COBJMACROS */
6529
6530
6531 #endif  /* C style interface */
6532
6533
6534
6535
6536 #endif  /* __IObjectVector_INTERFACE_DEFINED__ */
6537
6538
6539 #ifndef __ISeraphyScriptTools_ProfileSection_INTERFACE_DEFINED__
6540 #define __ISeraphyScriptTools_ProfileSection_INTERFACE_DEFINED__
6541
6542 /* interface ISeraphyScriptTools_ProfileSection */
6543 /* [unique][helpstring][dual][uuid][object] */ 
6544
6545
6546 EXTERN_C const IID IID_ISeraphyScriptTools_ProfileSection;
6547
6548 #if defined(__cplusplus) && !defined(CINTERFACE)
6549     
6550     MIDL_INTERFACE("8402BE8E-3972-42F4-BEE3-2717CDC51949")
6551     ISeraphyScriptTools_ProfileSection : public IDispatch
6552     {
6553     public:
6554         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value( 
6555             /* [in] */ VARIANT idx,
6556             /* [retval][out] */ VARIANT *pVal) = 0;
6557         
6558         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value( 
6559             /* [in] */ VARIANT idx,
6560             /* [in] */ VARIANT newVal) = 0;
6561         
6562         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetValue( 
6563             /* [in] */ VARIANT idx,
6564             /* [optional][in] */ VARIANT def,
6565             /* [retval][out] */ VARIANT *pVal) = 0;
6566         
6567         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetKeyNames( 
6568             /* [retval][out] */ VARIANT *pVal) = 0;
6569         
6570     };
6571     
6572     
6573 #else   /* C style interface */
6574
6575     typedef struct ISeraphyScriptTools_ProfileSectionVtbl
6576     {
6577         BEGIN_INTERFACE
6578         
6579         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
6580             ISeraphyScriptTools_ProfileSection * This,
6581             /* [in] */ REFIID riid,
6582             /* [annotation][iid_is][out] */ 
6583             _COM_Outptr_  void **ppvObject);
6584         
6585         ULONG ( STDMETHODCALLTYPE *AddRef )( 
6586             ISeraphyScriptTools_ProfileSection * This);
6587         
6588         ULONG ( STDMETHODCALLTYPE *Release )( 
6589             ISeraphyScriptTools_ProfileSection * This);
6590         
6591         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
6592             ISeraphyScriptTools_ProfileSection * This,
6593             /* [out] */ UINT *pctinfo);
6594         
6595         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
6596             ISeraphyScriptTools_ProfileSection * This,
6597             /* [in] */ UINT iTInfo,
6598             /* [in] */ LCID lcid,
6599             /* [out] */ ITypeInfo **ppTInfo);
6600         
6601         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
6602             ISeraphyScriptTools_ProfileSection * This,
6603             /* [in] */ REFIID riid,
6604             /* [size_is][in] */ LPOLESTR *rgszNames,
6605             /* [range][in] */ UINT cNames,
6606             /* [in] */ LCID lcid,
6607             /* [size_is][out] */ DISPID *rgDispId);
6608         
6609         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
6610             ISeraphyScriptTools_ProfileSection * This,
6611             /* [annotation][in] */ 
6612             _In_  DISPID dispIdMember,
6613             /* [annotation][in] */ 
6614             _In_  REFIID riid,
6615             /* [annotation][in] */ 
6616             _In_  LCID lcid,
6617             /* [annotation][in] */ 
6618             _In_  WORD wFlags,
6619             /* [annotation][out][in] */ 
6620             _In_  DISPPARAMS *pDispParams,
6621             /* [annotation][out] */ 
6622             _Out_opt_  VARIANT *pVarResult,
6623             /* [annotation][out] */ 
6624             _Out_opt_  EXCEPINFO *pExcepInfo,
6625             /* [annotation][out] */ 
6626             _Out_opt_  UINT *puArgErr);
6627         
6628         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( 
6629             ISeraphyScriptTools_ProfileSection * This,
6630             /* [in] */ VARIANT idx,
6631             /* [retval][out] */ VARIANT *pVal);
6632         
6633         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )( 
6634             ISeraphyScriptTools_ProfileSection * This,
6635             /* [in] */ VARIANT idx,
6636             /* [in] */ VARIANT newVal);
6637         
6638         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetValue )( 
6639             ISeraphyScriptTools_ProfileSection * This,
6640             /* [in] */ VARIANT idx,
6641             /* [optional][in] */ VARIANT def,
6642             /* [retval][out] */ VARIANT *pVal);
6643         
6644         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetKeyNames )( 
6645             ISeraphyScriptTools_ProfileSection * This,
6646             /* [retval][out] */ VARIANT *pVal);
6647         
6648         END_INTERFACE
6649     } ISeraphyScriptTools_ProfileSectionVtbl;
6650
6651     interface ISeraphyScriptTools_ProfileSection
6652     {
6653         CONST_VTBL struct ISeraphyScriptTools_ProfileSectionVtbl *lpVtbl;
6654     };
6655
6656     
6657
6658 #ifdef COBJMACROS
6659
6660
6661 #define ISeraphyScriptTools_ProfileSection_QueryInterface(This,riid,ppvObject)  \
6662     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
6663
6664 #define ISeraphyScriptTools_ProfileSection_AddRef(This) \
6665     ( (This)->lpVtbl -> AddRef(This) ) 
6666
6667 #define ISeraphyScriptTools_ProfileSection_Release(This)        \
6668     ( (This)->lpVtbl -> Release(This) ) 
6669
6670
6671 #define ISeraphyScriptTools_ProfileSection_GetTypeInfoCount(This,pctinfo)       \
6672     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
6673
6674 #define ISeraphyScriptTools_ProfileSection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)        \
6675     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
6676
6677 #define ISeraphyScriptTools_ProfileSection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)      \
6678     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
6679
6680 #define ISeraphyScriptTools_ProfileSection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)        \
6681     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
6682
6683
6684 #define ISeraphyScriptTools_ProfileSection_get_Value(This,idx,pVal)     \
6685     ( (This)->lpVtbl -> get_Value(This,idx,pVal) ) 
6686
6687 #define ISeraphyScriptTools_ProfileSection_put_Value(This,idx,newVal)   \
6688     ( (This)->lpVtbl -> put_Value(This,idx,newVal) ) 
6689
6690 #define ISeraphyScriptTools_ProfileSection_GetValue(This,idx,def,pVal)  \
6691     ( (This)->lpVtbl -> GetValue(This,idx,def,pVal) ) 
6692
6693 #define ISeraphyScriptTools_ProfileSection_GetKeyNames(This,pVal)       \
6694     ( (This)->lpVtbl -> GetKeyNames(This,pVal) ) 
6695
6696 #endif /* COBJMACROS */
6697
6698
6699 #endif  /* C style interface */
6700
6701
6702
6703
6704 #endif  /* __ISeraphyScriptTools_ProfileSection_INTERFACE_DEFINED__ */
6705
6706
6707 #ifndef __ISeraphyScriptTool_ParseName_INTERFACE_DEFINED__
6708 #define __ISeraphyScriptTool_ParseName_INTERFACE_DEFINED__
6709
6710 /* interface ISeraphyScriptTool_ParseName */
6711 /* [unique][helpstring][dual][uuid][object] */ 
6712
6713
6714 EXTERN_C const IID IID_ISeraphyScriptTool_ParseName;
6715
6716 #if defined(__cplusplus) && !defined(CINTERFACE)
6717     
6718     MIDL_INTERFACE("26F24F9B-3FFF-49BC-9D87-A46469D90DCA")
6719     ISeraphyScriptTool_ParseName : public IDispatch
6720     {
6721     public:
6722         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PathName( 
6723             /* [retval][out] */ BSTR *pVal) = 0;
6724         
6725         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PathName( 
6726             /* [in] */ BSTR newVal) = 0;
6727         
6728         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FileName( 
6729             /* [retval][out] */ BSTR *pVal) = 0;
6730         
6731         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FileName( 
6732             /* [in] */ BSTR newVal) = 0;
6733         
6734         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Extention( 
6735             /* [retval][out] */ BSTR *pVal) = 0;
6736         
6737         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Extention( 
6738             /* [in] */ BSTR newVal) = 0;
6739         
6740         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
6741             /* [retval][out] */ BSTR *pVal) = 0;
6742         
6743         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( 
6744             /* [in] */ BSTR newVal) = 0;
6745         
6746         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Drive( 
6747             /* [retval][out] */ BSTR *pVal) = 0;
6748         
6749         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Drive( 
6750             /* [in] */ BSTR newVal) = 0;
6751         
6752         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Directory( 
6753             /* [retval][out] */ BSTR *pVal) = 0;
6754         
6755     };
6756     
6757     
6758 #else   /* C style interface */
6759
6760     typedef struct ISeraphyScriptTool_ParseNameVtbl
6761     {
6762         BEGIN_INTERFACE
6763         
6764         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
6765             ISeraphyScriptTool_ParseName * This,
6766             /* [in] */ REFIID riid,
6767             /* [annotation][iid_is][out] */ 
6768             _COM_Outptr_  void **ppvObject);
6769         
6770         ULONG ( STDMETHODCALLTYPE *AddRef )( 
6771             ISeraphyScriptTool_ParseName * This);
6772         
6773         ULONG ( STDMETHODCALLTYPE *Release )( 
6774             ISeraphyScriptTool_ParseName * This);
6775         
6776         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
6777             ISeraphyScriptTool_ParseName * This,
6778             /* [out] */ UINT *pctinfo);
6779         
6780         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
6781             ISeraphyScriptTool_ParseName * This,
6782             /* [in] */ UINT iTInfo,
6783             /* [in] */ LCID lcid,
6784             /* [out] */ ITypeInfo **ppTInfo);
6785         
6786         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
6787             ISeraphyScriptTool_ParseName * This,
6788             /* [in] */ REFIID riid,
6789             /* [size_is][in] */ LPOLESTR *rgszNames,
6790             /* [range][in] */ UINT cNames,
6791             /* [in] */ LCID lcid,
6792             /* [size_is][out] */ DISPID *rgDispId);
6793         
6794         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
6795             ISeraphyScriptTool_ParseName * This,
6796             /* [annotation][in] */ 
6797             _In_  DISPID dispIdMember,
6798             /* [annotation][in] */ 
6799             _In_  REFIID riid,
6800             /* [annotation][in] */ 
6801             _In_  LCID lcid,
6802             /* [annotation][in] */ 
6803             _In_  WORD wFlags,
6804             /* [annotation][out][in] */ 
6805             _In_  DISPPARAMS *pDispParams,
6806             /* [annotation][out] */ 
6807             _Out_opt_  VARIANT *pVarResult,
6808             /* [annotation][out] */ 
6809             _Out_opt_  EXCEPINFO *pExcepInfo,
6810             /* [annotation][out] */ 
6811             _Out_opt_  UINT *puArgErr);
6812         
6813         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PathName )( 
6814             ISeraphyScriptTool_ParseName * This,
6815             /* [retval][out] */ BSTR *pVal);
6816         
6817         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PathName )( 
6818             ISeraphyScriptTool_ParseName * This,
6819             /* [in] */ BSTR newVal);
6820         
6821         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileName )( 
6822             ISeraphyScriptTool_ParseName * This,
6823             /* [retval][out] */ BSTR *pVal);
6824         
6825         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileName )( 
6826             ISeraphyScriptTool_ParseName * This,
6827             /* [in] */ BSTR newVal);
6828         
6829         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Extention )( 
6830             ISeraphyScriptTool_ParseName * This,
6831             /* [retval][out] */ BSTR *pVal);
6832         
6833         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Extention )( 
6834             ISeraphyScriptTool_ParseName * This,
6835             /* [in] */ BSTR newVal);
6836         
6837         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
6838             ISeraphyScriptTool_ParseName * This,
6839             /* [retval][out] */ BSTR *pVal);
6840         
6841         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( 
6842             ISeraphyScriptTool_ParseName * This,
6843             /* [in] */ BSTR newVal);
6844         
6845         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Drive )( 
6846             ISeraphyScriptTool_ParseName * This,
6847             /* [retval][out] */ BSTR *pVal);
6848         
6849         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Drive )( 
6850             ISeraphyScriptTool_ParseName * This,
6851             /* [in] */ BSTR newVal);
6852         
6853         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Directory )( 
6854             ISeraphyScriptTool_ParseName * This,
6855             /* [retval][out] */ BSTR *pVal);
6856         
6857         END_INTERFACE
6858     } ISeraphyScriptTool_ParseNameVtbl;
6859
6860     interface ISeraphyScriptTool_ParseName
6861     {
6862         CONST_VTBL struct ISeraphyScriptTool_ParseNameVtbl *lpVtbl;
6863     };
6864
6865     
6866
6867 #ifdef COBJMACROS
6868
6869
6870 #define ISeraphyScriptTool_ParseName_QueryInterface(This,riid,ppvObject)        \
6871     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
6872
6873 #define ISeraphyScriptTool_ParseName_AddRef(This)       \
6874     ( (This)->lpVtbl -> AddRef(This) ) 
6875
6876 #define ISeraphyScriptTool_ParseName_Release(This)      \
6877     ( (This)->lpVtbl -> Release(This) ) 
6878
6879
6880 #define ISeraphyScriptTool_ParseName_GetTypeInfoCount(This,pctinfo)     \
6881     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
6882
6883 #define ISeraphyScriptTool_ParseName_GetTypeInfo(This,iTInfo,lcid,ppTInfo)      \
6884     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
6885
6886 #define ISeraphyScriptTool_ParseName_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
6887     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
6888
6889 #define ISeraphyScriptTool_ParseName_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)      \
6890     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
6891
6892
6893 #define ISeraphyScriptTool_ParseName_get_PathName(This,pVal)    \
6894     ( (This)->lpVtbl -> get_PathName(This,pVal) ) 
6895
6896 #define ISeraphyScriptTool_ParseName_put_PathName(This,newVal)  \
6897     ( (This)->lpVtbl -> put_PathName(This,newVal) ) 
6898
6899 #define ISeraphyScriptTool_ParseName_get_FileName(This,pVal)    \
6900     ( (This)->lpVtbl -> get_FileName(This,pVal) ) 
6901
6902 #define ISeraphyScriptTool_ParseName_put_FileName(This,newVal)  \
6903     ( (This)->lpVtbl -> put_FileName(This,newVal) ) 
6904
6905 #define ISeraphyScriptTool_ParseName_get_Extention(This,pVal)   \
6906     ( (This)->lpVtbl -> get_Extention(This,pVal) ) 
6907
6908 #define ISeraphyScriptTool_ParseName_put_Extention(This,newVal) \
6909     ( (This)->lpVtbl -> put_Extention(This,newVal) ) 
6910
6911 #define ISeraphyScriptTool_ParseName_get_Name(This,pVal)        \
6912     ( (This)->lpVtbl -> get_Name(This,pVal) ) 
6913
6914 #define ISeraphyScriptTool_ParseName_put_Name(This,newVal)      \
6915     ( (This)->lpVtbl -> put_Name(This,newVal) ) 
6916
6917 #define ISeraphyScriptTool_ParseName_get_Drive(This,pVal)       \
6918     ( (This)->lpVtbl -> get_Drive(This,pVal) ) 
6919
6920 #define ISeraphyScriptTool_ParseName_put_Drive(This,newVal)     \
6921     ( (This)->lpVtbl -> put_Drive(This,newVal) ) 
6922
6923 #define ISeraphyScriptTool_ParseName_get_Directory(This,pVal)   \
6924     ( (This)->lpVtbl -> get_Directory(This,pVal) ) 
6925
6926 #endif /* COBJMACROS */
6927
6928
6929 #endif  /* C style interface */
6930
6931
6932
6933
6934 #endif  /* __ISeraphyScriptTool_ParseName_INTERFACE_DEFINED__ */
6935
6936
6937 #ifndef __IPrivateProfile_INTERFACE_DEFINED__
6938 #define __IPrivateProfile_INTERFACE_DEFINED__
6939
6940 /* interface IPrivateProfile */
6941 /* [unique][helpstring][dual][uuid][object] */ 
6942
6943
6944 EXTERN_C const IID IID_IPrivateProfile;
6945
6946 #if defined(__cplusplus) && !defined(CINTERFACE)
6947     
6948     MIDL_INTERFACE("B95767D2-7FFF-4709-9938-A64A558855DE")
6949     IPrivateProfile : public IDispatch
6950     {
6951     public:
6952         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ProfilePath( 
6953             /* [retval][out] */ BSTR *pVal) = 0;
6954         
6955         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ProfilePath( 
6956             /* [in] */ BSTR newVal) = 0;
6957         
6958         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OpenSection( 
6959             /* [in] */ VARIANT text,
6960             /* [retval][out] */ VARIANT *pVal) = 0;
6961         
6962     };
6963     
6964     
6965 #else   /* C style interface */
6966
6967     typedef struct IPrivateProfileVtbl
6968     {
6969         BEGIN_INTERFACE
6970         
6971         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
6972             IPrivateProfile * This,
6973             /* [in] */ REFIID riid,
6974             /* [annotation][iid_is][out] */ 
6975             _COM_Outptr_  void **ppvObject);
6976         
6977         ULONG ( STDMETHODCALLTYPE *AddRef )( 
6978             IPrivateProfile * This);
6979         
6980         ULONG ( STDMETHODCALLTYPE *Release )( 
6981             IPrivateProfile * This);
6982         
6983         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
6984             IPrivateProfile * This,
6985             /* [out] */ UINT *pctinfo);
6986         
6987         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
6988             IPrivateProfile * This,
6989             /* [in] */ UINT iTInfo,
6990             /* [in] */ LCID lcid,
6991             /* [out] */ ITypeInfo **ppTInfo);
6992         
6993         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
6994             IPrivateProfile * This,
6995             /* [in] */ REFIID riid,
6996             /* [size_is][in] */ LPOLESTR *rgszNames,
6997             /* [range][in] */ UINT cNames,
6998             /* [in] */ LCID lcid,
6999             /* [size_is][out] */ DISPID *rgDispId);
7000         
7001         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
7002             IPrivateProfile * This,
7003             /* [annotation][in] */ 
7004             _In_  DISPID dispIdMember,
7005             /* [annotation][in] */ 
7006             _In_  REFIID riid,
7007             /* [annotation][in] */ 
7008             _In_  LCID lcid,
7009             /* [annotation][in] */ 
7010             _In_  WORD wFlags,
7011             /* [annotation][out][in] */ 
7012             _In_  DISPPARAMS *pDispParams,
7013             /* [annotation][out] */ 
7014             _Out_opt_  VARIANT *pVarResult,
7015             /* [annotation][out] */ 
7016             _Out_opt_  EXCEPINFO *pExcepInfo,
7017             /* [annotation][out] */ 
7018             _Out_opt_  UINT *puArgErr);
7019         
7020         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProfilePath )( 
7021             IPrivateProfile * This,
7022             /* [retval][out] */ BSTR *pVal);
7023         
7024         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ProfilePath )( 
7025             IPrivateProfile * This,
7026             /* [in] */ BSTR newVal);
7027         
7028         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OpenSection )( 
7029             IPrivateProfile * This,
7030             /* [in] */ VARIANT text,
7031             /* [retval][out] */ VARIANT *pVal);
7032         
7033         END_INTERFACE
7034     } IPrivateProfileVtbl;
7035
7036     interface IPrivateProfile
7037     {
7038         CONST_VTBL struct IPrivateProfileVtbl *lpVtbl;
7039     };
7040
7041     
7042
7043 #ifdef COBJMACROS
7044
7045
7046 #define IPrivateProfile_QueryInterface(This,riid,ppvObject)     \
7047     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
7048
7049 #define IPrivateProfile_AddRef(This)    \
7050     ( (This)->lpVtbl -> AddRef(This) ) 
7051
7052 #define IPrivateProfile_Release(This)   \
7053     ( (This)->lpVtbl -> Release(This) ) 
7054
7055
7056 #define IPrivateProfile_GetTypeInfoCount(This,pctinfo)  \
7057     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
7058
7059 #define IPrivateProfile_GetTypeInfo(This,iTInfo,lcid,ppTInfo)   \
7060     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
7061
7062 #define IPrivateProfile_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
7063     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
7064
7065 #define IPrivateProfile_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)   \
7066     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
7067
7068
7069 #define IPrivateProfile_get_ProfilePath(This,pVal)      \
7070     ( (This)->lpVtbl -> get_ProfilePath(This,pVal) ) 
7071
7072 #define IPrivateProfile_put_ProfilePath(This,newVal)    \
7073     ( (This)->lpVtbl -> put_ProfilePath(This,newVal) ) 
7074
7075 #define IPrivateProfile_OpenSection(This,text,pVal)     \
7076     ( (This)->lpVtbl -> OpenSection(This,text,pVal) ) 
7077
7078 #endif /* COBJMACROS */
7079
7080
7081 #endif  /* C style interface */
7082
7083
7084
7085
7086 #endif  /* __IPrivateProfile_INTERFACE_DEFINED__ */
7087
7088
7089 EXTERN_C const CLSID CLSID_SeraphyScriptTools_Instance;
7090
7091 #ifdef __cplusplus
7092
7093 class DECLSPEC_UUID("D952EC87-3C30-46CC-879E-06AC42A006BC")
7094 SeraphyScriptTools_Instance;
7095 #endif
7096
7097 EXTERN_C const CLSID CLSID_TreeItem;
7098
7099 #ifdef __cplusplus
7100
7101 class DECLSPEC_UUID("300F33B2-A6C8-4712-A818-52964AAC531B")
7102 TreeItem;
7103 #endif
7104
7105 EXTERN_C const CLSID CLSID_ObjectMap;
7106
7107 #ifdef __cplusplus
7108
7109 class DECLSPEC_UUID("E368625A-EE53-43BA-8433-B7FE6E995DEA")
7110 ObjectMap;
7111 #endif
7112
7113 EXTERN_C const CLSID CLSID_SeraphyScriptTools_Shell;
7114
7115 #ifdef __cplusplus
7116
7117 class DECLSPEC_UUID("A1F18502-8397-4586-AE93-8F6384056403")
7118 SeraphyScriptTools_Shell;
7119 #endif
7120
7121 EXTERN_C const CLSID CLSID_ShellExecObj;
7122
7123 #ifdef __cplusplus
7124
7125 class DECLSPEC_UUID("B7168409-78F6-4C7A-A7E6-15D978B65634")
7126 ShellExecObj;
7127 #endif
7128
7129 EXTERN_C const CLSID CLSID_ObjectVector;
7130
7131 #ifdef __cplusplus
7132
7133 class DECLSPEC_UUID("FFA411CA-1872-4A89-92F2-A7EBCBB83241")
7134 ObjectVector;
7135 #endif
7136
7137 EXTERN_C const CLSID CLSID_ProfileSection;
7138
7139 #ifdef __cplusplus
7140
7141 class DECLSPEC_UUID("E6DE44A6-32C5-4818-99FB-45BB5E6DB1FF")
7142 ProfileSection;
7143 #endif
7144
7145 EXTERN_C const CLSID CLSID_ParseName;
7146
7147 #ifdef __cplusplus
7148
7149 class DECLSPEC_UUID("43AB6371-EFA9-4C25-897A-6D6249872022")
7150 ParseName;
7151 #endif
7152
7153 EXTERN_C const CLSID CLSID_PrivateProfile;
7154
7155 #ifdef __cplusplus
7156
7157 class DECLSPEC_UUID("A1DADEC9-00B3-4D99-8D4A-17779E94A8AA")
7158 PrivateProfile;
7159 #endif
7160 #endif /* __SERAPHYSCRIPTTOOLSLib_LIBRARY_DEFINED__ */
7161
7162 /* Additional Prototypes for ALL interfaces */
7163
7164 unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
7165 unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
7166 unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
7167 void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
7168
7169 unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
7170 unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
7171 unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
7172 void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
7173
7174 /* end of Additional Prototypes */
7175
7176 #ifdef __cplusplus
7177 }
7178 #endif
7179
7180 #endif
7181
7182