VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/oaidl.h@ 33281

Last change on this file since 33281 was 28475, checked in by vboxsync, 15 years ago

crOpenGL: update to wine 1.1.43

  • Property svn:eol-style set to native
File size: 161.5 KB
Line 
1/*** Autogenerated by WIDL 1.1.43 from ../../include/oaidl.idl - Do not edit ***/
2
3#include <rpc.h>
4#include <rpcndr.h>
5
6#ifndef __WIDL_OAIDL_H
7#define __WIDL_OAIDL_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/* Headers for imported files */
14
15#include <objidl.h>
16
17/* Forward declarations */
18
19#ifndef __IDispatch_FWD_DEFINED__
20#define __IDispatch_FWD_DEFINED__
21typedef interface IDispatch IDispatch;
22#endif
23
24#ifndef __IEnumVARIANT_FWD_DEFINED__
25#define __IEnumVARIANT_FWD_DEFINED__
26typedef interface IEnumVARIANT IEnumVARIANT;
27#endif
28
29#ifndef __ITypeComp_FWD_DEFINED__
30#define __ITypeComp_FWD_DEFINED__
31typedef interface ITypeComp ITypeComp;
32#endif
33
34#ifndef __ITypeInfo_FWD_DEFINED__
35#define __ITypeInfo_FWD_DEFINED__
36typedef interface ITypeInfo ITypeInfo;
37#endif
38
39#ifndef __ITypeInfo2_FWD_DEFINED__
40#define __ITypeInfo2_FWD_DEFINED__
41typedef interface ITypeInfo2 ITypeInfo2;
42#endif
43
44#ifndef __ITypeLib_FWD_DEFINED__
45#define __ITypeLib_FWD_DEFINED__
46typedef interface ITypeLib ITypeLib;
47#endif
48
49#ifndef __ITypeLib2_FWD_DEFINED__
50#define __ITypeLib2_FWD_DEFINED__
51typedef interface ITypeLib2 ITypeLib2;
52#endif
53
54#ifndef __ITypeChangeEvents_FWD_DEFINED__
55#define __ITypeChangeEvents_FWD_DEFINED__
56typedef interface ITypeChangeEvents ITypeChangeEvents;
57#endif
58
59#ifndef __IErrorInfo_FWD_DEFINED__
60#define __IErrorInfo_FWD_DEFINED__
61typedef interface IErrorInfo IErrorInfo;
62#endif
63
64#ifndef __ICreateErrorInfo_FWD_DEFINED__
65#define __ICreateErrorInfo_FWD_DEFINED__
66typedef interface ICreateErrorInfo ICreateErrorInfo;
67#endif
68
69#ifndef __ISupportErrorInfo_FWD_DEFINED__
70#define __ISupportErrorInfo_FWD_DEFINED__
71typedef interface ISupportErrorInfo ISupportErrorInfo;
72#endif
73
74#ifndef __ITypeFactory_FWD_DEFINED__
75#define __ITypeFactory_FWD_DEFINED__
76typedef interface ITypeFactory ITypeFactory;
77#endif
78
79#ifndef __ITypeMarshal_FWD_DEFINED__
80#define __ITypeMarshal_FWD_DEFINED__
81typedef interface ITypeMarshal ITypeMarshal;
82#endif
83
84#ifndef __IRecordInfo_FWD_DEFINED__
85#define __IRecordInfo_FWD_DEFINED__
86typedef interface IRecordInfo IRecordInfo;
87#endif
88
89#ifndef __ICreateTypeInfo_FWD_DEFINED__
90#define __ICreateTypeInfo_FWD_DEFINED__
91typedef interface ICreateTypeInfo ICreateTypeInfo;
92#endif
93
94#ifndef __ICreateTypeInfo2_FWD_DEFINED__
95#define __ICreateTypeInfo2_FWD_DEFINED__
96typedef interface ICreateTypeInfo2 ICreateTypeInfo2;
97#endif
98
99#ifndef __ICreateTypeLib_FWD_DEFINED__
100#define __ICreateTypeLib_FWD_DEFINED__
101typedef interface ICreateTypeLib ICreateTypeLib;
102#endif
103
104#ifndef __ICreateTypeLib2_FWD_DEFINED__
105#define __ICreateTypeLib2_FWD_DEFINED__
106typedef interface ICreateTypeLib2 ICreateTypeLib2;
107#endif
108
109#ifndef __IErrorLog_FWD_DEFINED__
110#define __IErrorLog_FWD_DEFINED__
111typedef interface IErrorLog IErrorLog;
112#endif
113
114#ifndef __IPropertyBag_FWD_DEFINED__
115#define __IPropertyBag_FWD_DEFINED__
116typedef interface IPropertyBag IPropertyBag;
117#endif
118
119
120#ifndef __IDispatch_FWD_DEFINED__
121#define __IDispatch_FWD_DEFINED__
122typedef interface IDispatch IDispatch;
123#endif
124
125#ifndef __ITypeInfo_FWD_DEFINED__
126#define __ITypeInfo_FWD_DEFINED__
127typedef interface ITypeInfo ITypeInfo;
128#endif
129
130#ifndef __ITypeLib_FWD_DEFINED__
131#define __ITypeLib_FWD_DEFINED__
132typedef interface ITypeLib ITypeLib;
133#endif
134
135#ifndef __IRecordInfo_FWD_DEFINED__
136#define __IRecordInfo_FWD_DEFINED__
137typedef interface IRecordInfo IRecordInfo;
138#endif
139
140void * __RPC_USER MIDL_user_allocate(SIZE_T);
141void __RPC_USER MIDL_user_free(void *);
142
143/*****************************************************************************
144 * IOleAutomationTypes interface (v1.0)
145 */
146#ifndef __IOleAutomationTypes_INTERFACE_DEFINED__
147#define __IOleAutomationTypes_INTERFACE_DEFINED__
148
149extern RPC_IF_HANDLE IOleAutomationTypes_v1_0_c_ifspec;
150extern RPC_IF_HANDLE IOleAutomationTypes_v1_0_s_ifspec;
151typedef CY CURRENCY;
152typedef struct tagSAFEARRAYBOUND {
153 ULONG cElements;
154 LONG lLbound;
155} SAFEARRAYBOUND;
156typedef struct tagSAFEARRAYBOUND *LPSAFEARRAYBOUND;
157typedef struct _wireVARIANT *wireVARIANT;
158typedef struct _wireBRECORD *wireBRECORD;
159typedef struct _wireSAFEARR_BSTR {
160 ULONG Size;
161 wireBSTR *aBstr;
162} SAFEARR_BSTR;
163typedef struct _wireSAFEARR_UNKNOWN {
164 ULONG Size;
165 IUnknown **apUnknown;
166} SAFEARR_UNKNOWN;
167typedef struct _wireSAFEARR_DISPATCH {
168 ULONG Size;
169 IDispatch **apDispatch;
170} SAFEARR_DISPATCH;
171typedef struct _wireSAFEARR_VARIANT {
172 ULONG Size;
173 wireVARIANT *aVariant;
174} SAFEARR_VARIANT;
175typedef struct _wireSAFEARR_BRECORD {
176 ULONG Size;
177 wireBRECORD *aRecord;
178} SAFEARR_BRECORD;
179typedef struct _wireSAFEARR_HAVEIID {
180 ULONG Size;
181 IUnknown **apUnknown;
182 IID iid;
183} SAFEARR_HAVEIID;
184typedef enum tagSF_TYPE {
185 SF_ERROR = VT_ERROR,
186 SF_I1 = VT_I1,
187 SF_I2 = VT_I2,
188 SF_I4 = VT_I4,
189 SF_I8 = VT_I8,
190 SF_BSTR = VT_BSTR,
191 SF_UNKNOWN = VT_UNKNOWN,
192 SF_DISPATCH = VT_DISPATCH,
193 SF_VARIANT = VT_VARIANT,
194 SF_RECORD = VT_RECORD,
195 SF_HAVEIID = VT_UNKNOWN | VT_RESERVED
196} SF_TYPE;
197typedef struct _wireSAFEARRAY_UNION {
198 ULONG sfType;
199 union {
200 SAFEARR_BSTR BstrStr;
201 SAFEARR_UNKNOWN UnknownStr;
202 SAFEARR_DISPATCH DispatchStr;
203 SAFEARR_VARIANT VariantStr;
204 SAFEARR_BRECORD RecordStr;
205 SAFEARR_HAVEIID HaveIidStr;
206 BYTE_SIZEDARR ByteStr;
207 WORD_SIZEDARR WordStr;
208 DWORD_SIZEDARR LongStr;
209 HYPER_SIZEDARR HyperStr;
210 } u;
211} SAFEARRAYUNION;
212typedef struct _wireSAFEARRAY {
213 USHORT cDims;
214 USHORT fFeatures;
215 ULONG cbElements;
216 ULONG cLocks;
217 SAFEARRAYUNION uArrayStructs;
218 SAFEARRAYBOUND rgsabound[1];
219} *wireSAFEARRAY;
220typedef wireSAFEARRAY *wirePSAFEARRAY;
221typedef struct tagSAFEARRAY {
222 USHORT cDims;
223 USHORT fFeatures;
224 ULONG cbElements;
225 ULONG cLocks;
226 PVOID pvData;
227 SAFEARRAYBOUND rgsabound[1];
228} SAFEARRAY;
229typedef SAFEARRAY *LPSAFEARRAY;
230#define FADF_AUTO (0x1)
231
232#define FADF_STATIC (0x2)
233
234#define FADF_EMBEDDED (0x4)
235
236#define FADF_FIXEDSIZE (0x10)
237
238#define FADF_RECORD (0x20)
239
240#define FADF_HAVEIID (0x40)
241
242#define FADF_HAVEVARTYPE (0x80)
243
244#define FADF_BSTR (0x100)
245
246#define FADF_UNKNOWN (0x200)
247
248#define FADF_DISPATCH (0x400)
249
250#define FADF_VARIANT (0x800)
251
252#define FADF_RESERVED (0xf008)
253
254#define FADF_DATADELETED (0x1000)
255
256#define FADF_CREATEVECTOR (0x2000)
257
258#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION)
259#define __VARIANT_NAME_1 n1
260#define __VARIANT_NAME_2 n2
261#define __VARIANT_NAME_3 n3
262#define __VARIANT_NAME_4 brecVal
263#else
264#define __tagVARIANT
265#define __VARIANT_NAME_1
266#define __VARIANT_NAME_2
267#define __VARIANT_NAME_3
268#define __tagBRECORD
269#define __VARIANT_NAME_4
270#endif
271typedef struct tagVARIANT VARIANT;
272struct tagVARIANT {
273 union {
274 struct __tagVARIANT {
275 VARTYPE vt;
276 WORD wReserved1;
277 WORD wReserved2;
278 WORD wReserved3;
279 union {
280 signed char cVal;
281 USHORT uiVal;
282 ULONG ulVal;
283 INT intVal;
284 UINT uintVal;
285 BYTE bVal;
286 SHORT iVal;
287 LONG lVal;
288 FLOAT fltVal;
289 DOUBLE dblVal;
290 VARIANT_BOOL boolVal;
291 SCODE scode;
292 DATE date;
293 BSTR bstrVal;
294 CY cyVal;
295 IUnknown *punkVal;
296 IDispatch *pdispVal;
297 SAFEARRAY *parray;
298 LONGLONG llVal;
299 ULONGLONG ullVal;
300 signed char *pcVal;
301 USHORT *puiVal;
302 ULONG *pulVal;
303 INT *pintVal;
304 UINT *puintVal;
305 BYTE *pbVal;
306 SHORT *piVal;
307 LONG *plVal;
308 FLOAT *pfltVal;
309 DOUBLE *pdblVal;
310 VARIANT_BOOL *pboolVal;
311 SCODE *pscode;
312 DATE *pdate;
313 BSTR *pbstrVal;
314 VARIANT *pvarVal;
315 PVOID byref;
316 CY *pcyVal;
317 DECIMAL *pdecVal;
318 IUnknown **ppunkVal;
319 IDispatch **ppdispVal;
320 SAFEARRAY **pparray;
321 LONGLONG *pllVal;
322 ULONGLONG *pullVal;
323 struct __tagBRECORD {
324 PVOID pvRecord;
325 IRecordInfo *pRecInfo;
326 } __VARIANT_NAME_4;
327 } __VARIANT_NAME_3;
328 } __VARIANT_NAME_2;
329 DECIMAL decVal;
330 } __VARIANT_NAME_1;
331};
332
333typedef VARIANT *LPVARIANT;
334typedef VARIANT VARIANTARG;
335typedef VARIANTARG *LPVARIANTARG;
336struct _wireBRECORD {
337 ULONG fFlags;
338 ULONG clSize;
339 IRecordInfo *pRecInfo;
340 byte *pRecord;
341};
342
343struct _wireVARIANT {
344 DWORD clSize;
345 DWORD rpcReserved;
346 USHORT vt;
347 USHORT wReserved1;
348 USHORT wReserved2;
349 USHORT wReserved3;
350 union {
351 signed char cVal;
352 USHORT uiVal;
353 ULONG ulVal;
354 INT intVal;
355 UINT uintVal;
356 BYTE bVal;
357 SHORT iVal;
358 LONG lVal;
359 FLOAT fltVal;
360 DOUBLE dblVal;
361 VARIANT_BOOL boolVal;
362 SCODE scode;
363 DATE date;
364 wireBSTR bstrVal;
365 CY cyVal;
366 DECIMAL decVal;
367 IUnknown *punkVal;
368 IDispatch *pdispVal;
369 wireSAFEARRAY parray;
370 signed char *pcVal;
371 USHORT *puiVal;
372 ULONG *pulVal;
373 INT *pintVal;
374 UINT *puintVal;
375 BYTE *pbVal;
376 SHORT *piVal;
377 LONG *plVal;
378 FLOAT *pfltVal;
379 DOUBLE *pdblVal;
380 VARIANT_BOOL *pboolVal;
381 SCODE *pscode;
382 DATE *pdate;
383 wireBSTR *pbstrVal;
384 wireVARIANT *pvarVal;
385 CY *pcyVal;
386 DECIMAL *pdecVal;
387 IUnknown **ppunkVal;
388 IDispatch **ppdispVal;
389 wireSAFEARRAY *pparray;
390 wireBRECORD brecVal;
391 } DUMMYUNIONNAME;
392};
393
394typedef LONG DISPID;
395typedef DWORD HREFTYPE;
396typedef DISPID MEMBERID;
397typedef enum tagTYPEKIND {
398 TKIND_ENUM = 0,
399 TKIND_RECORD = 1,
400 TKIND_MODULE = 2,
401 TKIND_INTERFACE = 3,
402 TKIND_DISPATCH = 4,
403 TKIND_COCLASS = 5,
404 TKIND_ALIAS = 6,
405 TKIND_UNION = 7,
406 TKIND_MAX = 8
407} TYPEKIND;
408typedef struct tagTYPEDESC {
409 union {
410 struct tagTYPEDESC *lptdesc;
411 struct tagARRAYDESC *lpadesc;
412 HREFTYPE hreftype;
413 } DUMMYUNIONNAME;
414 VARTYPE vt;
415} TYPEDESC;
416typedef struct tagARRAYDESC {
417 TYPEDESC tdescElem;
418 USHORT cDims;
419 SAFEARRAYBOUND rgbounds[1];
420} ARRAYDESC;
421typedef struct tagPARAMDESCEX {
422 ULONG cBytes;
423 VARIANTARG varDefaultValue;
424} PARAMDESCEX;
425typedef struct tagPARAMDESCEX *LPPARAMDESCEX;
426typedef struct tagPARAMDESC {
427 LPPARAMDESCEX pparamdescex;
428 USHORT wParamFlags;
429} PARAMDESC;
430typedef struct tagPARAMDESC *LPPARAMDESC;
431#define PARAMFLAG_NONE (0x0)
432
433#define PARAMFLAG_FIN (0x1)
434
435#define PARAMFLAG_FOUT (0x2)
436
437#define PARAMFLAG_FLCID (0x4)
438
439#define PARAMFLAG_FRETVAL (0x8)
440
441#define PARAMFLAG_FOPT (0x10)
442
443#define PARAMFLAG_FHASDEFAULT (0x20)
444
445#define PARAMFLAG_FHASCUSTDATA (0x40)
446
447typedef struct tagIDLDESC {
448 ULONG_PTR dwReserved;
449 USHORT wIDLFlags;
450} IDLDESC;
451typedef struct tagIDLDESC *LPIDLDESC;
452#define IDLFLAG_NONE (PARAMFLAG_NONE)
453
454#define IDLFLAG_FIN (PARAMFLAG_FIN)
455
456#define IDLFLAG_FOUT (PARAMFLAG_FOUT)
457
458#define IDLFLAG_FLCID (PARAMFLAG_FLCID)
459
460#define IDLFLAG_FRETVAL (PARAMFLAG_FRETVAL)
461
462#if 0
463typedef struct tagELEMDESC {
464 TYPEDESC tdesc;
465 PARAMDESC paramdesc;
466} ELEMDESC;
467#else
468typedef struct tagELEMDESC {
469 TYPEDESC tdesc;
470 union {
471 IDLDESC idldesc;
472 PARAMDESC paramdesc;
473 } DUMMYUNIONNAME;
474} ELEMDESC, *LPELEMDESC;
475#endif
476typedef struct tagTYPEATTR {
477 GUID guid;
478 LCID lcid;
479 DWORD dwReserved;
480 MEMBERID memidConstructor;
481 MEMBERID memidDestructor;
482 LPOLESTR lpstrSchema;
483 ULONG cbSizeInstance;
484 TYPEKIND typekind;
485 WORD cFuncs;
486 WORD cVars;
487 WORD cImplTypes;
488 WORD cbSizeVft;
489 WORD cbAlignment;
490 WORD wTypeFlags;
491 WORD wMajorVerNum;
492 WORD wMinorVerNum;
493 TYPEDESC tdescAlias;
494 IDLDESC idldescType;
495} TYPEATTR;
496typedef struct tagTYPEATTR *LPTYPEATTR;
497typedef struct tagDISPPARAMS {
498 VARIANTARG *rgvarg;
499 DISPID *rgdispidNamedArgs;
500 UINT cArgs;
501 UINT cNamedArgs;
502} DISPPARAMS;
503#if 0
504typedef struct tagEXCEPINFO {
505 WORD wCode;
506 WORD wReserved;
507 BSTR bstrSource;
508 BSTR bstrDescription;
509 BSTR bstrHelpFile;
510 DWORD dwHelpContext;
511 ULONG_PTR pvReserved;
512 ULONG_PTR pfnDeferredFillIn;
513 SCODE scode;
514} EXCEPINFO;
515#else
516typedef struct tagEXCEPINFO {
517 WORD wCode;
518 WORD wReserved;
519 BSTR bstrSource;
520 BSTR bstrDescription;
521 BSTR bstrHelpFile;
522 DWORD dwHelpContext;
523 PVOID pvReserved;
524 HRESULT (__stdcall *pfnDeferredFillIn)(struct tagEXCEPINFO *);
525 SCODE scode;
526} EXCEPINFO, *LPEXCEPINFO;
527#endif
528typedef enum tagCALLCONV {
529 CC_FASTCALL = 0,
530 CC_CDECL = 1,
531 CC_MSCPASCAL = 2,
532 CC_PASCAL = CC_MSCPASCAL,
533 CC_MACPASCAL = 3,
534 CC_STDCALL = 4,
535 CC_FPFASTCALL = 5,
536 CC_SYSCALL = 6,
537 CC_MPWCDECL = 7,
538 CC_MPWPASCAL = 8,
539 CC_MAX = 9
540} CALLCONV;
541typedef enum tagFUNCKIND {
542 FUNC_VIRTUAL = 0,
543 FUNC_PUREVIRTUAL = 1,
544 FUNC_NONVIRTUAL = 2,
545 FUNC_STATIC = 3,
546 FUNC_DISPATCH = 4
547} FUNCKIND;
548typedef enum tagINVOKEKIND {
549 INVOKE_FUNC = 1,
550 INVOKE_PROPERTYGET = 2,
551 INVOKE_PROPERTYPUT = 4,
552 INVOKE_PROPERTYPUTREF = 8
553} INVOKEKIND;
554typedef struct tagFUNCDESC {
555 MEMBERID memid;
556 SCODE *lprgscode;
557 ELEMDESC *lprgelemdescParam;
558 FUNCKIND funckind;
559 INVOKEKIND invkind;
560 CALLCONV callconv;
561 SHORT cParams;
562 SHORT cParamsOpt;
563 SHORT oVft;
564 SHORT cScodes;
565 ELEMDESC elemdescFunc;
566 WORD wFuncFlags;
567} FUNCDESC;
568typedef struct tagFUNCDESC *LPFUNCDESC;
569typedef enum tagVARKIND {
570 VAR_PERINSTANCE = 0,
571 VAR_STATIC = 1,
572 VAR_CONST = 2,
573 VAR_DISPATCH = 3
574} VARKIND;
575#define IMPLTYPEFLAG_FDEFAULT (0x1)
576
577#define IMPLTYPEFLAG_FSOURCE (0x2)
578
579#define IMPLTYPEFLAG_FRESTRICTED (0x4)
580
581#define IMPLTYPEFLAG_FDEFAULTVTABLE (0x8)
582
583typedef struct tagVARDESC {
584 MEMBERID memid;
585 LPOLESTR lpstrSchema;
586 union {
587 ULONG oInst;
588 VARIANT *lpvarValue;
589 } DUMMYUNIONNAME;
590 ELEMDESC elemdescVar;
591 WORD wVarFlags;
592 VARKIND varkind;
593} VARDESC;
594typedef struct tagVARDESC *LPVARDESC;
595typedef enum tagTYPEFLAGS {
596 TYPEFLAG_FAPPOBJECT = 0x1,
597 TYPEFLAG_FCANCREATE = 0x2,
598 TYPEFLAG_FLICENSED = 0x4,
599 TYPEFLAG_FPREDECLID = 0x8,
600 TYPEFLAG_FHIDDEN = 0x10,
601 TYPEFLAG_FCONTROL = 0x20,
602 TYPEFLAG_FDUAL = 0x40,
603 TYPEFLAG_FNONEXTENSIBLE = 0x80,
604 TYPEFLAG_FOLEAUTOMATION = 0x100,
605 TYPEFLAG_FRESTRICTED = 0x200,
606 TYPEFLAG_FAGGREGATABLE = 0x400,
607 TYPEFLAG_FREPLACEABLE = 0x800,
608 TYPEFLAG_FDISPATCHABLE = 0x1000,
609 TYPEFLAG_FREVERSEBIND = 0x2000,
610 TYPEFLAG_FPROXY = 0x4000
611} TYPEFLAGS;
612typedef enum tagFUNCFLAGS {
613 FUNCFLAG_FRESTRICTED = 0x1,
614 FUNCFLAG_FSOURCE = 0x2,
615 FUNCFLAG_FBINDABLE = 0x4,
616 FUNCFLAG_FREQUESTEDIT = 0x8,
617 FUNCFLAG_FDISPLAYBIND = 0x10,
618 FUNCFLAG_FDEFAULTBIND = 0x20,
619 FUNCFLAG_FHIDDEN = 0x40,
620 FUNCFLAG_FUSESGETLASTERROR = 0x80,
621 FUNCFLAG_FDEFAULTCOLLELEM = 0x100,
622 FUNCFLAG_FUIDEFAULT = 0x200,
623 FUNCFLAG_FNONBROWSABLE = 0x400,
624 FUNCFLAG_FREPLACEABLE = 0x800,
625 FUNCFLAG_FIMMEDIATEBIND = 0x1000
626} FUNCFLAGS;
627typedef enum tagVARFLAGS {
628 VARFLAG_FREADONLY = 0x1,
629 VARFLAG_FSOURCE = 0x2,
630 VARFLAG_FBINDABLE = 0x4,
631 VARFLAG_FREQUESTEDIT = 0x8,
632 VARFLAG_FDISPLAYBIND = 0x10,
633 VARFLAG_FDEFAULTBIND = 0x20,
634 VARFLAG_FHIDDEN = 0x40,
635 VARFLAG_FRESTRICTED = 0x80,
636 VARFLAG_FDEFAULTCOLLELEM = 0x100,
637 VARFLAG_FUIDEFAULT = 0x200,
638 VARFLAG_FNONBROWSABLE = 0x400,
639 VARFLAG_FREPLACEABLE = 0x800,
640 VARFLAG_FIMMEDIATEBIND = 0x1000
641} VARFLAGS;
642typedef struct tagCLEANLOCALSTORAGE {
643 IUnknown *pInterface;
644 PVOID pStorage;
645 DWORD flags;
646} CLEANLOCALSTORAGE;
647typedef struct tagCUSTDATAITEM {
648 GUID guid;
649 VARIANTARG varValue;
650} CUSTDATAITEM;
651typedef struct tagCUSTDATAITEM *LPCUSTDATAITEM;
652typedef struct tagCUSTDATA {
653 DWORD cCustData;
654 LPCUSTDATAITEM prgCustData;
655} CUSTDATA;
656typedef struct tagCUSTDATA *LPCUSTDATA;
657
658#endif /* __IOleAutomationTypes_INTERFACE_DEFINED__ */
659
660/*****************************************************************************
661 * IDispatch interface
662 */
663#ifndef __IDispatch_INTERFACE_DEFINED__
664#define __IDispatch_INTERFACE_DEFINED__
665
666typedef IDispatch *LPDISPATCH;
667#define DISPID_UNKNOWN (-1)
668
669#define DISPID_VALUE (0)
670
671#define DISPID_PROPERTYPUT (-3)
672
673#define DISPID_NEWENUM (-4)
674
675#define DISPID_EVALUATE (-5)
676
677#define DISPID_CONSTRUCTOR (-6)
678
679#define DISPID_DESTRUCTOR (-7)
680
681#define DISPID_COLLECT (-8)
682
683DEFINE_GUID(IID_IDispatch, 0x00020400, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
684#if defined(__cplusplus) && !defined(CINTERFACE)
685interface IDispatch : public IUnknown
686{
687 virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount(
688 UINT *pctinfo) = 0;
689
690 virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(
691 UINT iTInfo,
692 LCID lcid,
693 ITypeInfo **ppTInfo) = 0;
694
695 virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames(
696 REFIID riid,
697 LPOLESTR *rgszNames,
698 UINT cNames,
699 LCID lcid,
700 DISPID *rgDispId) = 0;
701
702 virtual HRESULT STDMETHODCALLTYPE Invoke(
703 DISPID dispIdMember,
704 REFIID riid,
705 LCID lcid,
706 WORD wFlags,
707 DISPPARAMS *pDispParams,
708 VARIANT *pVarResult,
709 EXCEPINFO *pExcepInfo,
710 UINT *puArgErr) = 0;
711
712};
713#else
714typedef struct IDispatchVtbl {
715 BEGIN_INTERFACE
716
717 /*** IUnknown methods ***/
718 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
719 IDispatch* This,
720 REFIID riid,
721 void **ppvObject);
722
723 ULONG (STDMETHODCALLTYPE *AddRef)(
724 IDispatch* This);
725
726 ULONG (STDMETHODCALLTYPE *Release)(
727 IDispatch* This);
728
729 /*** IDispatch methods ***/
730 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
731 IDispatch* This,
732 UINT *pctinfo);
733
734 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
735 IDispatch* This,
736 UINT iTInfo,
737 LCID lcid,
738 ITypeInfo **ppTInfo);
739
740 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
741 IDispatch* This,
742 REFIID riid,
743 LPOLESTR *rgszNames,
744 UINT cNames,
745 LCID lcid,
746 DISPID *rgDispId);
747
748 HRESULT (STDMETHODCALLTYPE *Invoke)(
749 IDispatch* This,
750 DISPID dispIdMember,
751 REFIID riid,
752 LCID lcid,
753 WORD wFlags,
754 DISPPARAMS *pDispParams,
755 VARIANT *pVarResult,
756 EXCEPINFO *pExcepInfo,
757 UINT *puArgErr);
758
759 END_INTERFACE
760} IDispatchVtbl;
761interface IDispatch {
762 CONST_VTBL IDispatchVtbl* lpVtbl;
763};
764
765#ifdef COBJMACROS
766/*** IUnknown methods ***/
767#define IDispatch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
768#define IDispatch_AddRef(This) (This)->lpVtbl->AddRef(This)
769#define IDispatch_Release(This) (This)->lpVtbl->Release(This)
770/*** IDispatch methods ***/
771#define IDispatch_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
772#define IDispatch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
773#define IDispatch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
774#define IDispatch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
775#endif
776
777#endif
778
779HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfoCount_Proxy(
780 IDispatch* This,
781 UINT *pctinfo);
782void __RPC_STUB IDispatch_GetTypeInfoCount_Stub(
783 IRpcStubBuffer* This,
784 IRpcChannelBuffer* pRpcChannelBuffer,
785 PRPC_MESSAGE pRpcMessage,
786 DWORD* pdwStubPhase);
787HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfo_Proxy(
788 IDispatch* This,
789 UINT iTInfo,
790 LCID lcid,
791 ITypeInfo **ppTInfo);
792void __RPC_STUB IDispatch_GetTypeInfo_Stub(
793 IRpcStubBuffer* This,
794 IRpcChannelBuffer* pRpcChannelBuffer,
795 PRPC_MESSAGE pRpcMessage,
796 DWORD* pdwStubPhase);
797HRESULT STDMETHODCALLTYPE IDispatch_GetIDsOfNames_Proxy(
798 IDispatch* This,
799 REFIID riid,
800 LPOLESTR *rgszNames,
801 UINT cNames,
802 LCID lcid,
803 DISPID *rgDispId);
804void __RPC_STUB IDispatch_GetIDsOfNames_Stub(
805 IRpcStubBuffer* This,
806 IRpcChannelBuffer* pRpcChannelBuffer,
807 PRPC_MESSAGE pRpcMessage,
808 DWORD* pdwStubPhase);
809HRESULT STDMETHODCALLTYPE IDispatch_RemoteInvoke_Proxy(
810 IDispatch* This,
811 DISPID dispIdMember,
812 REFIID riid,
813 LCID lcid,
814 DWORD dwFlags,
815 DISPPARAMS *pDispParams,
816 VARIANT *pVarResult,
817 EXCEPINFO *pExcepInfo,
818 UINT *pArgErr,
819 UINT cVarRef,
820 UINT *rgVarRefIdx,
821 VARIANTARG *rgVarRef);
822void __RPC_STUB IDispatch_RemoteInvoke_Stub(
823 IRpcStubBuffer* This,
824 IRpcChannelBuffer* pRpcChannelBuffer,
825 PRPC_MESSAGE pRpcMessage,
826 DWORD* pdwStubPhase);
827HRESULT CALLBACK IDispatch_Invoke_Proxy(
828 IDispatch* This,
829 DISPID dispIdMember,
830 REFIID riid,
831 LCID lcid,
832 WORD wFlags,
833 DISPPARAMS *pDispParams,
834 VARIANT *pVarResult,
835 EXCEPINFO *pExcepInfo,
836 UINT *puArgErr);
837HRESULT __RPC_STUB IDispatch_Invoke_Stub(
838 IDispatch* This,
839 DISPID dispIdMember,
840 REFIID riid,
841 LCID lcid,
842 DWORD dwFlags,
843 DISPPARAMS *pDispParams,
844 VARIANT *pVarResult,
845 EXCEPINFO *pExcepInfo,
846 UINT *pArgErr,
847 UINT cVarRef,
848 UINT *rgVarRefIdx,
849 VARIANTARG *rgVarRef);
850
851#endif /* __IDispatch_INTERFACE_DEFINED__ */
852
853/*****************************************************************************
854 * IEnumVARIANT interface
855 */
856#ifndef __IEnumVARIANT_INTERFACE_DEFINED__
857#define __IEnumVARIANT_INTERFACE_DEFINED__
858
859typedef IEnumVARIANT *LPENUMVARIANT;
860DEFINE_GUID(IID_IEnumVARIANT, 0x00020404, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
861#if defined(__cplusplus) && !defined(CINTERFACE)
862interface IEnumVARIANT : public IUnknown
863{
864 virtual HRESULT STDMETHODCALLTYPE Next(
865 ULONG celt,
866 VARIANT *rgVar,
867 ULONG *pCeltFetched) = 0;
868
869 virtual HRESULT STDMETHODCALLTYPE Skip(
870 ULONG celt) = 0;
871
872 virtual HRESULT STDMETHODCALLTYPE Reset(
873 ) = 0;
874
875 virtual HRESULT STDMETHODCALLTYPE Clone(
876 IEnumVARIANT **ppEnum) = 0;
877
878};
879#else
880typedef struct IEnumVARIANTVtbl {
881 BEGIN_INTERFACE
882
883 /*** IUnknown methods ***/
884 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
885 IEnumVARIANT* This,
886 REFIID riid,
887 void **ppvObject);
888
889 ULONG (STDMETHODCALLTYPE *AddRef)(
890 IEnumVARIANT* This);
891
892 ULONG (STDMETHODCALLTYPE *Release)(
893 IEnumVARIANT* This);
894
895 /*** IEnumVARIANT methods ***/
896 HRESULT (STDMETHODCALLTYPE *Next)(
897 IEnumVARIANT* This,
898 ULONG celt,
899 VARIANT *rgVar,
900 ULONG *pCeltFetched);
901
902 HRESULT (STDMETHODCALLTYPE *Skip)(
903 IEnumVARIANT* This,
904 ULONG celt);
905
906 HRESULT (STDMETHODCALLTYPE *Reset)(
907 IEnumVARIANT* This);
908
909 HRESULT (STDMETHODCALLTYPE *Clone)(
910 IEnumVARIANT* This,
911 IEnumVARIANT **ppEnum);
912
913 END_INTERFACE
914} IEnumVARIANTVtbl;
915interface IEnumVARIANT {
916 CONST_VTBL IEnumVARIANTVtbl* lpVtbl;
917};
918
919#ifdef COBJMACROS
920/*** IUnknown methods ***/
921#define IEnumVARIANT_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
922#define IEnumVARIANT_AddRef(This) (This)->lpVtbl->AddRef(This)
923#define IEnumVARIANT_Release(This) (This)->lpVtbl->Release(This)
924/*** IEnumVARIANT methods ***/
925#define IEnumVARIANT_Next(This,celt,rgVar,pCeltFetched) (This)->lpVtbl->Next(This,celt,rgVar,pCeltFetched)
926#define IEnumVARIANT_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
927#define IEnumVARIANT_Reset(This) (This)->lpVtbl->Reset(This)
928#define IEnumVARIANT_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
929#endif
930
931#endif
932
933HRESULT STDMETHODCALLTYPE IEnumVARIANT_RemoteNext_Proxy(
934 IEnumVARIANT* This,
935 ULONG celt,
936 VARIANT *rgVar,
937 ULONG *pCeltFetched);
938void __RPC_STUB IEnumVARIANT_RemoteNext_Stub(
939 IRpcStubBuffer* This,
940 IRpcChannelBuffer* pRpcChannelBuffer,
941 PRPC_MESSAGE pRpcMessage,
942 DWORD* pdwStubPhase);
943HRESULT STDMETHODCALLTYPE IEnumVARIANT_Skip_Proxy(
944 IEnumVARIANT* This,
945 ULONG celt);
946void __RPC_STUB IEnumVARIANT_Skip_Stub(
947 IRpcStubBuffer* This,
948 IRpcChannelBuffer* pRpcChannelBuffer,
949 PRPC_MESSAGE pRpcMessage,
950 DWORD* pdwStubPhase);
951HRESULT STDMETHODCALLTYPE IEnumVARIANT_Reset_Proxy(
952 IEnumVARIANT* This);
953void __RPC_STUB IEnumVARIANT_Reset_Stub(
954 IRpcStubBuffer* This,
955 IRpcChannelBuffer* pRpcChannelBuffer,
956 PRPC_MESSAGE pRpcMessage,
957 DWORD* pdwStubPhase);
958HRESULT STDMETHODCALLTYPE IEnumVARIANT_Clone_Proxy(
959 IEnumVARIANT* This,
960 IEnumVARIANT **ppEnum);
961void __RPC_STUB IEnumVARIANT_Clone_Stub(
962 IRpcStubBuffer* This,
963 IRpcChannelBuffer* pRpcChannelBuffer,
964 PRPC_MESSAGE pRpcMessage,
965 DWORD* pdwStubPhase);
966HRESULT CALLBACK IEnumVARIANT_Next_Proxy(
967 IEnumVARIANT* This,
968 ULONG celt,
969 VARIANT *rgVar,
970 ULONG *pCeltFetched);
971HRESULT __RPC_STUB IEnumVARIANT_Next_Stub(
972 IEnumVARIANT* This,
973 ULONG celt,
974 VARIANT *rgVar,
975 ULONG *pCeltFetched);
976
977#endif /* __IEnumVARIANT_INTERFACE_DEFINED__ */
978
979/*****************************************************************************
980 * ITypeComp interface
981 */
982#ifndef __ITypeComp_INTERFACE_DEFINED__
983#define __ITypeComp_INTERFACE_DEFINED__
984
985typedef ITypeComp *LPTYPECOMP;
986typedef enum tagDESCKIND {
987 DESCKIND_NONE = 0,
988 DESCKIND_FUNCDESC = 1,
989 DESCKIND_VARDESC = 2,
990 DESCKIND_TYPECOMP = 3,
991 DESCKIND_IMPLICITAPPOBJ = 4,
992 DESCKIND_MAX = 5
993} DESCKIND;
994typedef union tagBINDPTR {
995 FUNCDESC *lpfuncdesc;
996 VARDESC *lpvardesc;
997 ITypeComp *lptcomp;
998} BINDPTR;
999typedef union tagBINDPTR *LPBINDPTR;
1000DEFINE_GUID(IID_ITypeComp, 0x00020403, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1001#if defined(__cplusplus) && !defined(CINTERFACE)
1002interface ITypeComp : public IUnknown
1003{
1004 virtual HRESULT STDMETHODCALLTYPE Bind(
1005 LPOLESTR szName,
1006 ULONG lHashVal,
1007 WORD wFlags,
1008 ITypeInfo **ppTInfo,
1009 DESCKIND *pDescKind,
1010 BINDPTR *pBindPtr) = 0;
1011
1012 virtual HRESULT STDMETHODCALLTYPE BindType(
1013 LPOLESTR szName,
1014 ULONG lHashVal,
1015 ITypeInfo **ppTInfo,
1016 ITypeComp **ppTComp) = 0;
1017
1018};
1019#else
1020typedef struct ITypeCompVtbl {
1021 BEGIN_INTERFACE
1022
1023 /*** IUnknown methods ***/
1024 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1025 ITypeComp* This,
1026 REFIID riid,
1027 void **ppvObject);
1028
1029 ULONG (STDMETHODCALLTYPE *AddRef)(
1030 ITypeComp* This);
1031
1032 ULONG (STDMETHODCALLTYPE *Release)(
1033 ITypeComp* This);
1034
1035 /*** ITypeComp methods ***/
1036 HRESULT (STDMETHODCALLTYPE *Bind)(
1037 ITypeComp* This,
1038 LPOLESTR szName,
1039 ULONG lHashVal,
1040 WORD wFlags,
1041 ITypeInfo **ppTInfo,
1042 DESCKIND *pDescKind,
1043 BINDPTR *pBindPtr);
1044
1045 HRESULT (STDMETHODCALLTYPE *BindType)(
1046 ITypeComp* This,
1047 LPOLESTR szName,
1048 ULONG lHashVal,
1049 ITypeInfo **ppTInfo,
1050 ITypeComp **ppTComp);
1051
1052 END_INTERFACE
1053} ITypeCompVtbl;
1054interface ITypeComp {
1055 CONST_VTBL ITypeCompVtbl* lpVtbl;
1056};
1057
1058#ifdef COBJMACROS
1059/*** IUnknown methods ***/
1060#define ITypeComp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1061#define ITypeComp_AddRef(This) (This)->lpVtbl->AddRef(This)
1062#define ITypeComp_Release(This) (This)->lpVtbl->Release(This)
1063/*** ITypeComp methods ***/
1064#define ITypeComp_Bind(This,szName,lHashVal,wFlags,ppTInfo,pDescKind,pBindPtr) (This)->lpVtbl->Bind(This,szName,lHashVal,wFlags,ppTInfo,pDescKind,pBindPtr)
1065#define ITypeComp_BindType(This,szName,lHashVal,ppTInfo,ppTComp) (This)->lpVtbl->BindType(This,szName,lHashVal,ppTInfo,ppTComp)
1066#endif
1067
1068#endif
1069
1070HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBind_Proxy(
1071 ITypeComp* This,
1072 LPOLESTR szName,
1073 ULONG lHashVal,
1074 WORD wFlags,
1075 ITypeInfo **ppTInfo,
1076 DESCKIND *pDescKind,
1077 LPFUNCDESC *ppFuncDesc,
1078 LPVARDESC *ppVarDesc,
1079 ITypeComp **ppTypeComp,
1080 CLEANLOCALSTORAGE *pDummy);
1081void __RPC_STUB ITypeComp_RemoteBind_Stub(
1082 IRpcStubBuffer* This,
1083 IRpcChannelBuffer* pRpcChannelBuffer,
1084 PRPC_MESSAGE pRpcMessage,
1085 DWORD* pdwStubPhase);
1086HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBindType_Proxy(
1087 ITypeComp* This,
1088 LPOLESTR szName,
1089 ULONG lHashVal,
1090 ITypeInfo **ppTInfo);
1091void __RPC_STUB ITypeComp_RemoteBindType_Stub(
1092 IRpcStubBuffer* This,
1093 IRpcChannelBuffer* pRpcChannelBuffer,
1094 PRPC_MESSAGE pRpcMessage,
1095 DWORD* pdwStubPhase);
1096HRESULT CALLBACK ITypeComp_Bind_Proxy(
1097 ITypeComp* This,
1098 LPOLESTR szName,
1099 ULONG lHashVal,
1100 WORD wFlags,
1101 ITypeInfo **ppTInfo,
1102 DESCKIND *pDescKind,
1103 BINDPTR *pBindPtr);
1104HRESULT __RPC_STUB ITypeComp_Bind_Stub(
1105 ITypeComp* This,
1106 LPOLESTR szName,
1107 ULONG lHashVal,
1108 WORD wFlags,
1109 ITypeInfo **ppTInfo,
1110 DESCKIND *pDescKind,
1111 LPFUNCDESC *ppFuncDesc,
1112 LPVARDESC *ppVarDesc,
1113 ITypeComp **ppTypeComp,
1114 CLEANLOCALSTORAGE *pDummy);
1115HRESULT CALLBACK ITypeComp_BindType_Proxy(
1116 ITypeComp* This,
1117 LPOLESTR szName,
1118 ULONG lHashVal,
1119 ITypeInfo **ppTInfo,
1120 ITypeComp **ppTComp);
1121HRESULT __RPC_STUB ITypeComp_BindType_Stub(
1122 ITypeComp* This,
1123 LPOLESTR szName,
1124 ULONG lHashVal,
1125 ITypeInfo **ppTInfo);
1126
1127#endif /* __ITypeComp_INTERFACE_DEFINED__ */
1128
1129/*****************************************************************************
1130 * ITypeInfo interface
1131 */
1132#ifndef __ITypeInfo_INTERFACE_DEFINED__
1133#define __ITypeInfo_INTERFACE_DEFINED__
1134
1135typedef ITypeInfo *LPTYPEINFO;
1136DEFINE_GUID(IID_ITypeInfo, 0x00020401, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1137#if defined(__cplusplus) && !defined(CINTERFACE)
1138interface ITypeInfo : public IUnknown
1139{
1140 virtual HRESULT STDMETHODCALLTYPE GetTypeAttr(
1141 TYPEATTR **ppTypeAttr) = 0;
1142
1143 virtual HRESULT STDMETHODCALLTYPE GetTypeComp(
1144 ITypeComp **ppTComp) = 0;
1145
1146 virtual HRESULT STDMETHODCALLTYPE GetFuncDesc(
1147 UINT index,
1148 FUNCDESC **ppFuncDesc) = 0;
1149
1150 virtual HRESULT STDMETHODCALLTYPE GetVarDesc(
1151 UINT index,
1152 VARDESC **ppVarDesc) = 0;
1153
1154 virtual HRESULT STDMETHODCALLTYPE GetNames(
1155 MEMBERID memid,
1156 BSTR *rgBstrNames,
1157 UINT cMaxNames,
1158 UINT *pcNames) = 0;
1159
1160 virtual HRESULT STDMETHODCALLTYPE GetRefTypeOfImplType(
1161 UINT index,
1162 HREFTYPE *pRefType) = 0;
1163
1164 virtual HRESULT STDMETHODCALLTYPE GetImplTypeFlags(
1165 UINT index,
1166 INT *pImplTypeFlags) = 0;
1167
1168 virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames(
1169 LPOLESTR *rgszNames,
1170 UINT cNames,
1171 MEMBERID *pMemId) = 0;
1172
1173 virtual HRESULT STDMETHODCALLTYPE Invoke(
1174 PVOID pvInstance,
1175 MEMBERID memid,
1176 WORD wFlags,
1177 DISPPARAMS *pDispParams,
1178 VARIANT *pVarResult,
1179 EXCEPINFO *pExcepInfo,
1180 UINT *puArgErr) = 0;
1181
1182 virtual HRESULT STDMETHODCALLTYPE GetDocumentation(
1183 MEMBERID memid,
1184 BSTR *pBstrName,
1185 BSTR *pBstrDocString,
1186 DWORD *pdwHelpContext,
1187 BSTR *pBstrHelpFile) = 0;
1188
1189 virtual HRESULT STDMETHODCALLTYPE GetDllEntry(
1190 MEMBERID memid,
1191 INVOKEKIND invKind,
1192 BSTR *pBstrDllName,
1193 BSTR *pBstrName,
1194 WORD *pwOrdinal) = 0;
1195
1196 virtual HRESULT STDMETHODCALLTYPE GetRefTypeInfo(
1197 HREFTYPE hRefType,
1198 ITypeInfo **ppTInfo) = 0;
1199
1200 virtual HRESULT STDMETHODCALLTYPE AddressOfMember(
1201 MEMBERID memid,
1202 INVOKEKIND invKind,
1203 PVOID *ppv) = 0;
1204
1205 virtual HRESULT STDMETHODCALLTYPE CreateInstance(
1206 IUnknown *pUnkOuter,
1207 REFIID riid,
1208 PVOID *ppvObj) = 0;
1209
1210 virtual HRESULT STDMETHODCALLTYPE GetMops(
1211 MEMBERID memid,
1212 BSTR *pBstrMops) = 0;
1213
1214 virtual HRESULT STDMETHODCALLTYPE GetContainingTypeLib(
1215 ITypeLib **ppTLib,
1216 UINT *pIndex) = 0;
1217
1218 virtual void STDMETHODCALLTYPE ReleaseTypeAttr(
1219 TYPEATTR *pTypeAttr) = 0;
1220
1221 virtual void STDMETHODCALLTYPE ReleaseFuncDesc(
1222 FUNCDESC *pFuncDesc) = 0;
1223
1224 virtual void STDMETHODCALLTYPE ReleaseVarDesc(
1225 VARDESC *pVarDesc) = 0;
1226
1227};
1228#else
1229typedef struct ITypeInfoVtbl {
1230 BEGIN_INTERFACE
1231
1232 /*** IUnknown methods ***/
1233 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1234 ITypeInfo* This,
1235 REFIID riid,
1236 void **ppvObject);
1237
1238 ULONG (STDMETHODCALLTYPE *AddRef)(
1239 ITypeInfo* This);
1240
1241 ULONG (STDMETHODCALLTYPE *Release)(
1242 ITypeInfo* This);
1243
1244 /*** ITypeInfo methods ***/
1245 HRESULT (STDMETHODCALLTYPE *GetTypeAttr)(
1246 ITypeInfo* This,
1247 TYPEATTR **ppTypeAttr);
1248
1249 HRESULT (STDMETHODCALLTYPE *GetTypeComp)(
1250 ITypeInfo* This,
1251 ITypeComp **ppTComp);
1252
1253 HRESULT (STDMETHODCALLTYPE *GetFuncDesc)(
1254 ITypeInfo* This,
1255 UINT index,
1256 FUNCDESC **ppFuncDesc);
1257
1258 HRESULT (STDMETHODCALLTYPE *GetVarDesc)(
1259 ITypeInfo* This,
1260 UINT index,
1261 VARDESC **ppVarDesc);
1262
1263 HRESULT (STDMETHODCALLTYPE *GetNames)(
1264 ITypeInfo* This,
1265 MEMBERID memid,
1266 BSTR *rgBstrNames,
1267 UINT cMaxNames,
1268 UINT *pcNames);
1269
1270 HRESULT (STDMETHODCALLTYPE *GetRefTypeOfImplType)(
1271 ITypeInfo* This,
1272 UINT index,
1273 HREFTYPE *pRefType);
1274
1275 HRESULT (STDMETHODCALLTYPE *GetImplTypeFlags)(
1276 ITypeInfo* This,
1277 UINT index,
1278 INT *pImplTypeFlags);
1279
1280 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
1281 ITypeInfo* This,
1282 LPOLESTR *rgszNames,
1283 UINT cNames,
1284 MEMBERID *pMemId);
1285
1286 HRESULT (STDMETHODCALLTYPE *Invoke)(
1287 ITypeInfo* This,
1288 PVOID pvInstance,
1289 MEMBERID memid,
1290 WORD wFlags,
1291 DISPPARAMS *pDispParams,
1292 VARIANT *pVarResult,
1293 EXCEPINFO *pExcepInfo,
1294 UINT *puArgErr);
1295
1296 HRESULT (STDMETHODCALLTYPE *GetDocumentation)(
1297 ITypeInfo* This,
1298 MEMBERID memid,
1299 BSTR *pBstrName,
1300 BSTR *pBstrDocString,
1301 DWORD *pdwHelpContext,
1302 BSTR *pBstrHelpFile);
1303
1304 HRESULT (STDMETHODCALLTYPE *GetDllEntry)(
1305 ITypeInfo* This,
1306 MEMBERID memid,
1307 INVOKEKIND invKind,
1308 BSTR *pBstrDllName,
1309 BSTR *pBstrName,
1310 WORD *pwOrdinal);
1311
1312 HRESULT (STDMETHODCALLTYPE *GetRefTypeInfo)(
1313 ITypeInfo* This,
1314 HREFTYPE hRefType,
1315 ITypeInfo **ppTInfo);
1316
1317 HRESULT (STDMETHODCALLTYPE *AddressOfMember)(
1318 ITypeInfo* This,
1319 MEMBERID memid,
1320 INVOKEKIND invKind,
1321 PVOID *ppv);
1322
1323 HRESULT (STDMETHODCALLTYPE *CreateInstance)(
1324 ITypeInfo* This,
1325 IUnknown *pUnkOuter,
1326 REFIID riid,
1327 PVOID *ppvObj);
1328
1329 HRESULT (STDMETHODCALLTYPE *GetMops)(
1330 ITypeInfo* This,
1331 MEMBERID memid,
1332 BSTR *pBstrMops);
1333
1334 HRESULT (STDMETHODCALLTYPE *GetContainingTypeLib)(
1335 ITypeInfo* This,
1336 ITypeLib **ppTLib,
1337 UINT *pIndex);
1338
1339 void (STDMETHODCALLTYPE *ReleaseTypeAttr)(
1340 ITypeInfo* This,
1341 TYPEATTR *pTypeAttr);
1342
1343 void (STDMETHODCALLTYPE *ReleaseFuncDesc)(
1344 ITypeInfo* This,
1345 FUNCDESC *pFuncDesc);
1346
1347 void (STDMETHODCALLTYPE *ReleaseVarDesc)(
1348 ITypeInfo* This,
1349 VARDESC *pVarDesc);
1350
1351 END_INTERFACE
1352} ITypeInfoVtbl;
1353interface ITypeInfo {
1354 CONST_VTBL ITypeInfoVtbl* lpVtbl;
1355};
1356
1357#ifdef COBJMACROS
1358/*** IUnknown methods ***/
1359#define ITypeInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1360#define ITypeInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
1361#define ITypeInfo_Release(This) (This)->lpVtbl->Release(This)
1362/*** ITypeInfo methods ***/
1363#define ITypeInfo_GetTypeAttr(This,ppTypeAttr) (This)->lpVtbl->GetTypeAttr(This,ppTypeAttr)
1364#define ITypeInfo_GetTypeComp(This,ppTComp) (This)->lpVtbl->GetTypeComp(This,ppTComp)
1365#define ITypeInfo_GetFuncDesc(This,index,ppFuncDesc) (This)->lpVtbl->GetFuncDesc(This,index,ppFuncDesc)
1366#define ITypeInfo_GetVarDesc(This,index,ppVarDesc) (This)->lpVtbl->GetVarDesc(This,index,ppVarDesc)
1367#define ITypeInfo_GetNames(This,memid,rgBstrNames,cMaxNames,pcNames) (This)->lpVtbl->GetNames(This,memid,rgBstrNames,cMaxNames,pcNames)
1368#define ITypeInfo_GetRefTypeOfImplType(This,index,pRefType) (This)->lpVtbl->GetRefTypeOfImplType(This,index,pRefType)
1369#define ITypeInfo_GetImplTypeFlags(This,index,pImplTypeFlags) (This)->lpVtbl->GetImplTypeFlags(This,index,pImplTypeFlags)
1370#define ITypeInfo_GetIDsOfNames(This,rgszNames,cNames,pMemId) (This)->lpVtbl->GetIDsOfNames(This,rgszNames,cNames,pMemId)
1371#define ITypeInfo_Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1372#define ITypeInfo_GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) (This)->lpVtbl->GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile)
1373#define ITypeInfo_GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal) (This)->lpVtbl->GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal)
1374#define ITypeInfo_GetRefTypeInfo(This,hRefType,ppTInfo) (This)->lpVtbl->GetRefTypeInfo(This,hRefType,ppTInfo)
1375#define ITypeInfo_AddressOfMember(This,memid,invKind,ppv) (This)->lpVtbl->AddressOfMember(This,memid,invKind,ppv)
1376#define ITypeInfo_CreateInstance(This,pUnkOuter,riid,ppvObj) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObj)
1377#define ITypeInfo_GetMops(This,memid,pBstrMops) (This)->lpVtbl->GetMops(This,memid,pBstrMops)
1378#define ITypeInfo_GetContainingTypeLib(This,ppTLib,pIndex) (This)->lpVtbl->GetContainingTypeLib(This,ppTLib,pIndex)
1379#define ITypeInfo_ReleaseTypeAttr(This,pTypeAttr) (This)->lpVtbl->ReleaseTypeAttr(This,pTypeAttr)
1380#define ITypeInfo_ReleaseFuncDesc(This,pFuncDesc) (This)->lpVtbl->ReleaseFuncDesc(This,pFuncDesc)
1381#define ITypeInfo_ReleaseVarDesc(This,pVarDesc) (This)->lpVtbl->ReleaseVarDesc(This,pVarDesc)
1382#endif
1383
1384#endif
1385
1386HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetTypeAttr_Proxy(
1387 ITypeInfo* This,
1388 LPTYPEATTR *ppTypeAttr,
1389 CLEANLOCALSTORAGE *pDummy);
1390void __RPC_STUB ITypeInfo_RemoteGetTypeAttr_Stub(
1391 IRpcStubBuffer* This,
1392 IRpcChannelBuffer* pRpcChannelBuffer,
1393 PRPC_MESSAGE pRpcMessage,
1394 DWORD* pdwStubPhase);
1395HRESULT STDMETHODCALLTYPE ITypeInfo_GetTypeComp_Proxy(
1396 ITypeInfo* This,
1397 ITypeComp **ppTComp);
1398void __RPC_STUB ITypeInfo_GetTypeComp_Stub(
1399 IRpcStubBuffer* This,
1400 IRpcChannelBuffer* pRpcChannelBuffer,
1401 PRPC_MESSAGE pRpcMessage,
1402 DWORD* pdwStubPhase);
1403HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetFuncDesc_Proxy(
1404 ITypeInfo* This,
1405 UINT index,
1406 LPFUNCDESC *ppFuncDesc,
1407 CLEANLOCALSTORAGE *pDummy);
1408void __RPC_STUB ITypeInfo_RemoteGetFuncDesc_Stub(
1409 IRpcStubBuffer* This,
1410 IRpcChannelBuffer* pRpcChannelBuffer,
1411 PRPC_MESSAGE pRpcMessage,
1412 DWORD* pdwStubPhase);
1413HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetVarDesc_Proxy(
1414 ITypeInfo* This,
1415 UINT index,
1416 LPVARDESC *ppVarDesc,
1417 CLEANLOCALSTORAGE *pDummy);
1418void __RPC_STUB ITypeInfo_RemoteGetVarDesc_Stub(
1419 IRpcStubBuffer* This,
1420 IRpcChannelBuffer* pRpcChannelBuffer,
1421 PRPC_MESSAGE pRpcMessage,
1422 DWORD* pdwStubPhase);
1423HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetNames_Proxy(
1424 ITypeInfo* This,
1425 MEMBERID memid,
1426 BSTR *rgBstrNames,
1427 UINT cMaxNames,
1428 UINT *pcNames);
1429void __RPC_STUB ITypeInfo_RemoteGetNames_Stub(
1430 IRpcStubBuffer* This,
1431 IRpcChannelBuffer* pRpcChannelBuffer,
1432 PRPC_MESSAGE pRpcMessage,
1433 DWORD* pdwStubPhase);
1434HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeOfImplType_Proxy(
1435 ITypeInfo* This,
1436 UINT index,
1437 HREFTYPE *pRefType);
1438void __RPC_STUB ITypeInfo_GetRefTypeOfImplType_Stub(
1439 IRpcStubBuffer* This,
1440 IRpcChannelBuffer* pRpcChannelBuffer,
1441 PRPC_MESSAGE pRpcMessage,
1442 DWORD* pdwStubPhase);
1443HRESULT STDMETHODCALLTYPE ITypeInfo_GetImplTypeFlags_Proxy(
1444 ITypeInfo* This,
1445 UINT index,
1446 INT *pImplTypeFlags);
1447void __RPC_STUB ITypeInfo_GetImplTypeFlags_Stub(
1448 IRpcStubBuffer* This,
1449 IRpcChannelBuffer* pRpcChannelBuffer,
1450 PRPC_MESSAGE pRpcMessage,
1451 DWORD* pdwStubPhase);
1452HRESULT STDMETHODCALLTYPE ITypeInfo_LocalGetIDsOfNames_Proxy(
1453 ITypeInfo* This);
1454void __RPC_STUB ITypeInfo_LocalGetIDsOfNames_Stub(
1455 IRpcStubBuffer* This,
1456 IRpcChannelBuffer* pRpcChannelBuffer,
1457 PRPC_MESSAGE pRpcMessage,
1458 DWORD* pdwStubPhase);
1459HRESULT STDMETHODCALLTYPE ITypeInfo_LocalInvoke_Proxy(
1460 ITypeInfo* This);
1461void __RPC_STUB ITypeInfo_LocalInvoke_Stub(
1462 IRpcStubBuffer* This,
1463 IRpcChannelBuffer* pRpcChannelBuffer,
1464 PRPC_MESSAGE pRpcMessage,
1465 DWORD* pdwStubPhase);
1466HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDocumentation_Proxy(
1467 ITypeInfo* This,
1468 MEMBERID memid,
1469 DWORD refPtrFlags,
1470 BSTR *pBstrName,
1471 BSTR *pBstrDocString,
1472 DWORD *pdwHelpContext,
1473 BSTR *pBstrHelpFile);
1474void __RPC_STUB ITypeInfo_RemoteGetDocumentation_Stub(
1475 IRpcStubBuffer* This,
1476 IRpcChannelBuffer* pRpcChannelBuffer,
1477 PRPC_MESSAGE pRpcMessage,
1478 DWORD* pdwStubPhase);
1479HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDllEntry_Proxy(
1480 ITypeInfo* This,
1481 MEMBERID memid,
1482 INVOKEKIND invKind,
1483 DWORD refPtrFlags,
1484 BSTR *pBstrDllName,
1485 BSTR *pBstrName,
1486 WORD *pwOrdinal);
1487void __RPC_STUB ITypeInfo_RemoteGetDllEntry_Stub(
1488 IRpcStubBuffer* This,
1489 IRpcChannelBuffer* pRpcChannelBuffer,
1490 PRPC_MESSAGE pRpcMessage,
1491 DWORD* pdwStubPhase);
1492HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeInfo_Proxy(
1493 ITypeInfo* This,
1494 HREFTYPE hRefType,
1495 ITypeInfo **ppTInfo);
1496void __RPC_STUB ITypeInfo_GetRefTypeInfo_Stub(
1497 IRpcStubBuffer* This,
1498 IRpcChannelBuffer* pRpcChannelBuffer,
1499 PRPC_MESSAGE pRpcMessage,
1500 DWORD* pdwStubPhase);
1501HRESULT STDMETHODCALLTYPE ITypeInfo_LocalAddressOfMember_Proxy(
1502 ITypeInfo* This);
1503void __RPC_STUB ITypeInfo_LocalAddressOfMember_Stub(
1504 IRpcStubBuffer* This,
1505 IRpcChannelBuffer* pRpcChannelBuffer,
1506 PRPC_MESSAGE pRpcMessage,
1507 DWORD* pdwStubPhase);
1508HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteCreateInstance_Proxy(
1509 ITypeInfo* This,
1510 REFIID riid,
1511 IUnknown **ppvObj);
1512void __RPC_STUB ITypeInfo_RemoteCreateInstance_Stub(
1513 IRpcStubBuffer* This,
1514 IRpcChannelBuffer* pRpcChannelBuffer,
1515 PRPC_MESSAGE pRpcMessage,
1516 DWORD* pdwStubPhase);
1517HRESULT STDMETHODCALLTYPE ITypeInfo_GetMops_Proxy(
1518 ITypeInfo* This,
1519 MEMBERID memid,
1520 BSTR *pBstrMops);
1521void __RPC_STUB ITypeInfo_GetMops_Stub(
1522 IRpcStubBuffer* This,
1523 IRpcChannelBuffer* pRpcChannelBuffer,
1524 PRPC_MESSAGE pRpcMessage,
1525 DWORD* pdwStubPhase);
1526HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetContainingTypeLib_Proxy(
1527 ITypeInfo* This,
1528 ITypeLib **ppTLib,
1529 UINT *pIndex);
1530void __RPC_STUB ITypeInfo_RemoteGetContainingTypeLib_Stub(
1531 IRpcStubBuffer* This,
1532 IRpcChannelBuffer* pRpcChannelBuffer,
1533 PRPC_MESSAGE pRpcMessage,
1534 DWORD* pdwStubPhase);
1535HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseTypeAttr_Proxy(
1536 ITypeInfo* This);
1537void __RPC_STUB ITypeInfo_LocalReleaseTypeAttr_Stub(
1538 IRpcStubBuffer* This,
1539 IRpcChannelBuffer* pRpcChannelBuffer,
1540 PRPC_MESSAGE pRpcMessage,
1541 DWORD* pdwStubPhase);
1542HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseFuncDesc_Proxy(
1543 ITypeInfo* This);
1544void __RPC_STUB ITypeInfo_LocalReleaseFuncDesc_Stub(
1545 IRpcStubBuffer* This,
1546 IRpcChannelBuffer* pRpcChannelBuffer,
1547 PRPC_MESSAGE pRpcMessage,
1548 DWORD* pdwStubPhase);
1549HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseVarDesc_Proxy(
1550 ITypeInfo* This);
1551void __RPC_STUB ITypeInfo_LocalReleaseVarDesc_Stub(
1552 IRpcStubBuffer* This,
1553 IRpcChannelBuffer* pRpcChannelBuffer,
1554 PRPC_MESSAGE pRpcMessage,
1555 DWORD* pdwStubPhase);
1556HRESULT CALLBACK ITypeInfo_GetTypeAttr_Proxy(
1557 ITypeInfo* This,
1558 TYPEATTR **ppTypeAttr);
1559HRESULT __RPC_STUB ITypeInfo_GetTypeAttr_Stub(
1560 ITypeInfo* This,
1561 LPTYPEATTR *ppTypeAttr,
1562 CLEANLOCALSTORAGE *pDummy);
1563HRESULT CALLBACK ITypeInfo_GetFuncDesc_Proxy(
1564 ITypeInfo* This,
1565 UINT index,
1566 FUNCDESC **ppFuncDesc);
1567HRESULT __RPC_STUB ITypeInfo_GetFuncDesc_Stub(
1568 ITypeInfo* This,
1569 UINT index,
1570 LPFUNCDESC *ppFuncDesc,
1571 CLEANLOCALSTORAGE *pDummy);
1572HRESULT CALLBACK ITypeInfo_GetVarDesc_Proxy(
1573 ITypeInfo* This,
1574 UINT index,
1575 VARDESC **ppVarDesc);
1576HRESULT __RPC_STUB ITypeInfo_GetVarDesc_Stub(
1577 ITypeInfo* This,
1578 UINT index,
1579 LPVARDESC *ppVarDesc,
1580 CLEANLOCALSTORAGE *pDummy);
1581HRESULT CALLBACK ITypeInfo_GetNames_Proxy(
1582 ITypeInfo* This,
1583 MEMBERID memid,
1584 BSTR *rgBstrNames,
1585 UINT cMaxNames,
1586 UINT *pcNames);
1587HRESULT __RPC_STUB ITypeInfo_GetNames_Stub(
1588 ITypeInfo* This,
1589 MEMBERID memid,
1590 BSTR *rgBstrNames,
1591 UINT cMaxNames,
1592 UINT *pcNames);
1593HRESULT CALLBACK ITypeInfo_GetIDsOfNames_Proxy(
1594 ITypeInfo* This,
1595 LPOLESTR *rgszNames,
1596 UINT cNames,
1597 MEMBERID *pMemId);
1598HRESULT __RPC_STUB ITypeInfo_GetIDsOfNames_Stub(
1599 ITypeInfo* This);
1600HRESULT CALLBACK ITypeInfo_Invoke_Proxy(
1601 ITypeInfo* This,
1602 PVOID pvInstance,
1603 MEMBERID memid,
1604 WORD wFlags,
1605 DISPPARAMS *pDispParams,
1606 VARIANT *pVarResult,
1607 EXCEPINFO *pExcepInfo,
1608 UINT *puArgErr);
1609HRESULT __RPC_STUB ITypeInfo_Invoke_Stub(
1610 ITypeInfo* This);
1611HRESULT CALLBACK ITypeInfo_GetDocumentation_Proxy(
1612 ITypeInfo* This,
1613 MEMBERID memid,
1614 BSTR *pBstrName,
1615 BSTR *pBstrDocString,
1616 DWORD *pdwHelpContext,
1617 BSTR *pBstrHelpFile);
1618HRESULT __RPC_STUB ITypeInfo_GetDocumentation_Stub(
1619 ITypeInfo* This,
1620 MEMBERID memid,
1621 DWORD refPtrFlags,
1622 BSTR *pBstrName,
1623 BSTR *pBstrDocString,
1624 DWORD *pdwHelpContext,
1625 BSTR *pBstrHelpFile);
1626HRESULT CALLBACK ITypeInfo_GetDllEntry_Proxy(
1627 ITypeInfo* This,
1628 MEMBERID memid,
1629 INVOKEKIND invKind,
1630 BSTR *pBstrDllName,
1631 BSTR *pBstrName,
1632 WORD *pwOrdinal);
1633HRESULT __RPC_STUB ITypeInfo_GetDllEntry_Stub(
1634 ITypeInfo* This,
1635 MEMBERID memid,
1636 INVOKEKIND invKind,
1637 DWORD refPtrFlags,
1638 BSTR *pBstrDllName,
1639 BSTR *pBstrName,
1640 WORD *pwOrdinal);
1641HRESULT CALLBACK ITypeInfo_AddressOfMember_Proxy(
1642 ITypeInfo* This,
1643 MEMBERID memid,
1644 INVOKEKIND invKind,
1645 PVOID *ppv);
1646HRESULT __RPC_STUB ITypeInfo_AddressOfMember_Stub(
1647 ITypeInfo* This);
1648HRESULT CALLBACK ITypeInfo_CreateInstance_Proxy(
1649 ITypeInfo* This,
1650 IUnknown *pUnkOuter,
1651 REFIID riid,
1652 PVOID *ppvObj);
1653HRESULT __RPC_STUB ITypeInfo_CreateInstance_Stub(
1654 ITypeInfo* This,
1655 REFIID riid,
1656 IUnknown **ppvObj);
1657HRESULT CALLBACK ITypeInfo_GetContainingTypeLib_Proxy(
1658 ITypeInfo* This,
1659 ITypeLib **ppTLib,
1660 UINT *pIndex);
1661HRESULT __RPC_STUB ITypeInfo_GetContainingTypeLib_Stub(
1662 ITypeInfo* This,
1663 ITypeLib **ppTLib,
1664 UINT *pIndex);
1665void CALLBACK ITypeInfo_ReleaseTypeAttr_Proxy(
1666 ITypeInfo* This,
1667 TYPEATTR *pTypeAttr);
1668HRESULT __RPC_STUB ITypeInfo_ReleaseTypeAttr_Stub(
1669 ITypeInfo* This);
1670void CALLBACK ITypeInfo_ReleaseFuncDesc_Proxy(
1671 ITypeInfo* This,
1672 FUNCDESC *pFuncDesc);
1673HRESULT __RPC_STUB ITypeInfo_ReleaseFuncDesc_Stub(
1674 ITypeInfo* This);
1675void CALLBACK ITypeInfo_ReleaseVarDesc_Proxy(
1676 ITypeInfo* This,
1677 VARDESC *pVarDesc);
1678HRESULT __RPC_STUB ITypeInfo_ReleaseVarDesc_Stub(
1679 ITypeInfo* This);
1680
1681#endif /* __ITypeInfo_INTERFACE_DEFINED__ */
1682
1683/*****************************************************************************
1684 * ITypeInfo2 interface
1685 */
1686#ifndef __ITypeInfo2_INTERFACE_DEFINED__
1687#define __ITypeInfo2_INTERFACE_DEFINED__
1688
1689typedef ITypeInfo2 *LPTYPEINFO2;
1690DEFINE_GUID(IID_ITypeInfo2, 0x00020412, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1691#if defined(__cplusplus) && !defined(CINTERFACE)
1692interface ITypeInfo2 : public ITypeInfo
1693{
1694 virtual HRESULT STDMETHODCALLTYPE GetTypeKind(
1695 TYPEKIND *pTypeKind) = 0;
1696
1697 virtual HRESULT STDMETHODCALLTYPE GetTypeFlags(
1698 ULONG *pTypeFlags) = 0;
1699
1700 virtual HRESULT STDMETHODCALLTYPE GetFuncIndexOfMemId(
1701 MEMBERID memid,
1702 INVOKEKIND invKind,
1703 UINT *pFuncIndex) = 0;
1704
1705 virtual HRESULT STDMETHODCALLTYPE GetVarIndexOfMemId(
1706 MEMBERID memid,
1707 UINT *pVarIndex) = 0;
1708
1709 virtual HRESULT STDMETHODCALLTYPE GetCustData(
1710 REFGUID guid,
1711 VARIANT *pVarVal) = 0;
1712
1713 virtual HRESULT STDMETHODCALLTYPE GetFuncCustData(
1714 UINT index,
1715 REFGUID guid,
1716 VARIANT *pVarVal) = 0;
1717
1718 virtual HRESULT STDMETHODCALLTYPE GetParamCustData(
1719 UINT indexFunc,
1720 UINT indexParam,
1721 REFGUID guid,
1722 VARIANT *pVarVal) = 0;
1723
1724 virtual HRESULT STDMETHODCALLTYPE GetVarCustData(
1725 UINT index,
1726 REFGUID guid,
1727 VARIANT *pVarVal) = 0;
1728
1729 virtual HRESULT STDMETHODCALLTYPE GetImplTypeCustData(
1730 UINT index,
1731 REFGUID guid,
1732 VARIANT *pVarVal) = 0;
1733
1734 virtual HRESULT STDMETHODCALLTYPE GetDocumentation2(
1735 MEMBERID memid,
1736 LCID lcid,
1737 BSTR *pbstrHelpString,
1738 DWORD *pdwHelpStringContext,
1739 BSTR *pbstrHelpStringDll) = 0;
1740
1741 virtual HRESULT STDMETHODCALLTYPE GetAllCustData(
1742 CUSTDATA *pCustData) = 0;
1743
1744 virtual HRESULT STDMETHODCALLTYPE GetAllFuncCustData(
1745 UINT index,
1746 CUSTDATA *pCustData) = 0;
1747
1748 virtual HRESULT STDMETHODCALLTYPE GetAllParamCustData(
1749 UINT indexFunc,
1750 UINT indexParam,
1751 CUSTDATA *pCustData) = 0;
1752
1753 virtual HRESULT STDMETHODCALLTYPE GetAllVarCustData(
1754 UINT index,
1755 CUSTDATA *pCustData) = 0;
1756
1757 virtual HRESULT STDMETHODCALLTYPE GetAllImplTypeCustData(
1758 UINT index,
1759 CUSTDATA *pCustData) = 0;
1760
1761};
1762#else
1763typedef struct ITypeInfo2Vtbl {
1764 BEGIN_INTERFACE
1765
1766 /*** IUnknown methods ***/
1767 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1768 ITypeInfo2* This,
1769 REFIID riid,
1770 void **ppvObject);
1771
1772 ULONG (STDMETHODCALLTYPE *AddRef)(
1773 ITypeInfo2* This);
1774
1775 ULONG (STDMETHODCALLTYPE *Release)(
1776 ITypeInfo2* This);
1777
1778 /*** ITypeInfo methods ***/
1779 HRESULT (STDMETHODCALLTYPE *GetTypeAttr)(
1780 ITypeInfo2* This,
1781 TYPEATTR **ppTypeAttr);
1782
1783 HRESULT (STDMETHODCALLTYPE *GetTypeComp)(
1784 ITypeInfo2* This,
1785 ITypeComp **ppTComp);
1786
1787 HRESULT (STDMETHODCALLTYPE *GetFuncDesc)(
1788 ITypeInfo2* This,
1789 UINT index,
1790 FUNCDESC **ppFuncDesc);
1791
1792 HRESULT (STDMETHODCALLTYPE *GetVarDesc)(
1793 ITypeInfo2* This,
1794 UINT index,
1795 VARDESC **ppVarDesc);
1796
1797 HRESULT (STDMETHODCALLTYPE *GetNames)(
1798 ITypeInfo2* This,
1799 MEMBERID memid,
1800 BSTR *rgBstrNames,
1801 UINT cMaxNames,
1802 UINT *pcNames);
1803
1804 HRESULT (STDMETHODCALLTYPE *GetRefTypeOfImplType)(
1805 ITypeInfo2* This,
1806 UINT index,
1807 HREFTYPE *pRefType);
1808
1809 HRESULT (STDMETHODCALLTYPE *GetImplTypeFlags)(
1810 ITypeInfo2* This,
1811 UINT index,
1812 INT *pImplTypeFlags);
1813
1814 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
1815 ITypeInfo2* This,
1816 LPOLESTR *rgszNames,
1817 UINT cNames,
1818 MEMBERID *pMemId);
1819
1820 HRESULT (STDMETHODCALLTYPE *Invoke)(
1821 ITypeInfo2* This,
1822 PVOID pvInstance,
1823 MEMBERID memid,
1824 WORD wFlags,
1825 DISPPARAMS *pDispParams,
1826 VARIANT *pVarResult,
1827 EXCEPINFO *pExcepInfo,
1828 UINT *puArgErr);
1829
1830 HRESULT (STDMETHODCALLTYPE *GetDocumentation)(
1831 ITypeInfo2* This,
1832 MEMBERID memid,
1833 BSTR *pBstrName,
1834 BSTR *pBstrDocString,
1835 DWORD *pdwHelpContext,
1836 BSTR *pBstrHelpFile);
1837
1838 HRESULT (STDMETHODCALLTYPE *GetDllEntry)(
1839 ITypeInfo2* This,
1840 MEMBERID memid,
1841 INVOKEKIND invKind,
1842 BSTR *pBstrDllName,
1843 BSTR *pBstrName,
1844 WORD *pwOrdinal);
1845
1846 HRESULT (STDMETHODCALLTYPE *GetRefTypeInfo)(
1847 ITypeInfo2* This,
1848 HREFTYPE hRefType,
1849 ITypeInfo **ppTInfo);
1850
1851 HRESULT (STDMETHODCALLTYPE *AddressOfMember)(
1852 ITypeInfo2* This,
1853 MEMBERID memid,
1854 INVOKEKIND invKind,
1855 PVOID *ppv);
1856
1857 HRESULT (STDMETHODCALLTYPE *CreateInstance)(
1858 ITypeInfo2* This,
1859 IUnknown *pUnkOuter,
1860 REFIID riid,
1861 PVOID *ppvObj);
1862
1863 HRESULT (STDMETHODCALLTYPE *GetMops)(
1864 ITypeInfo2* This,
1865 MEMBERID memid,
1866 BSTR *pBstrMops);
1867
1868 HRESULT (STDMETHODCALLTYPE *GetContainingTypeLib)(
1869 ITypeInfo2* This,
1870 ITypeLib **ppTLib,
1871 UINT *pIndex);
1872
1873 void (STDMETHODCALLTYPE *ReleaseTypeAttr)(
1874 ITypeInfo2* This,
1875 TYPEATTR *pTypeAttr);
1876
1877 void (STDMETHODCALLTYPE *ReleaseFuncDesc)(
1878 ITypeInfo2* This,
1879 FUNCDESC *pFuncDesc);
1880
1881 void (STDMETHODCALLTYPE *ReleaseVarDesc)(
1882 ITypeInfo2* This,
1883 VARDESC *pVarDesc);
1884
1885 /*** ITypeInfo2 methods ***/
1886 HRESULT (STDMETHODCALLTYPE *GetTypeKind)(
1887 ITypeInfo2* This,
1888 TYPEKIND *pTypeKind);
1889
1890 HRESULT (STDMETHODCALLTYPE *GetTypeFlags)(
1891 ITypeInfo2* This,
1892 ULONG *pTypeFlags);
1893
1894 HRESULT (STDMETHODCALLTYPE *GetFuncIndexOfMemId)(
1895 ITypeInfo2* This,
1896 MEMBERID memid,
1897 INVOKEKIND invKind,
1898 UINT *pFuncIndex);
1899
1900 HRESULT (STDMETHODCALLTYPE *GetVarIndexOfMemId)(
1901 ITypeInfo2* This,
1902 MEMBERID memid,
1903 UINT *pVarIndex);
1904
1905 HRESULT (STDMETHODCALLTYPE *GetCustData)(
1906 ITypeInfo2* This,
1907 REFGUID guid,
1908 VARIANT *pVarVal);
1909
1910 HRESULT (STDMETHODCALLTYPE *GetFuncCustData)(
1911 ITypeInfo2* This,
1912 UINT index,
1913 REFGUID guid,
1914 VARIANT *pVarVal);
1915
1916 HRESULT (STDMETHODCALLTYPE *GetParamCustData)(
1917 ITypeInfo2* This,
1918 UINT indexFunc,
1919 UINT indexParam,
1920 REFGUID guid,
1921 VARIANT *pVarVal);
1922
1923 HRESULT (STDMETHODCALLTYPE *GetVarCustData)(
1924 ITypeInfo2* This,
1925 UINT index,
1926 REFGUID guid,
1927 VARIANT *pVarVal);
1928
1929 HRESULT (STDMETHODCALLTYPE *GetImplTypeCustData)(
1930 ITypeInfo2* This,
1931 UINT index,
1932 REFGUID guid,
1933 VARIANT *pVarVal);
1934
1935 HRESULT (STDMETHODCALLTYPE *GetDocumentation2)(
1936 ITypeInfo2* This,
1937 MEMBERID memid,
1938 LCID lcid,
1939 BSTR *pbstrHelpString,
1940 DWORD *pdwHelpStringContext,
1941 BSTR *pbstrHelpStringDll);
1942
1943 HRESULT (STDMETHODCALLTYPE *GetAllCustData)(
1944 ITypeInfo2* This,
1945 CUSTDATA *pCustData);
1946
1947 HRESULT (STDMETHODCALLTYPE *GetAllFuncCustData)(
1948 ITypeInfo2* This,
1949 UINT index,
1950 CUSTDATA *pCustData);
1951
1952 HRESULT (STDMETHODCALLTYPE *GetAllParamCustData)(
1953 ITypeInfo2* This,
1954 UINT indexFunc,
1955 UINT indexParam,
1956 CUSTDATA *pCustData);
1957
1958 HRESULT (STDMETHODCALLTYPE *GetAllVarCustData)(
1959 ITypeInfo2* This,
1960 UINT index,
1961 CUSTDATA *pCustData);
1962
1963 HRESULT (STDMETHODCALLTYPE *GetAllImplTypeCustData)(
1964 ITypeInfo2* This,
1965 UINT index,
1966 CUSTDATA *pCustData);
1967
1968 END_INTERFACE
1969} ITypeInfo2Vtbl;
1970interface ITypeInfo2 {
1971 CONST_VTBL ITypeInfo2Vtbl* lpVtbl;
1972};
1973
1974#ifdef COBJMACROS
1975/*** IUnknown methods ***/
1976#define ITypeInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1977#define ITypeInfo2_AddRef(This) (This)->lpVtbl->AddRef(This)
1978#define ITypeInfo2_Release(This) (This)->lpVtbl->Release(This)
1979/*** ITypeInfo methods ***/
1980#define ITypeInfo2_GetTypeAttr(This,ppTypeAttr) (This)->lpVtbl->GetTypeAttr(This,ppTypeAttr)
1981#define ITypeInfo2_GetTypeComp(This,ppTComp) (This)->lpVtbl->GetTypeComp(This,ppTComp)
1982#define ITypeInfo2_GetFuncDesc(This,index,ppFuncDesc) (This)->lpVtbl->GetFuncDesc(This,index,ppFuncDesc)
1983#define ITypeInfo2_GetVarDesc(This,index,ppVarDesc) (This)->lpVtbl->GetVarDesc(This,index,ppVarDesc)
1984#define ITypeInfo2_GetNames(This,memid,rgBstrNames,cMaxNames,pcNames) (This)->lpVtbl->GetNames(This,memid,rgBstrNames,cMaxNames,pcNames)
1985#define ITypeInfo2_GetRefTypeOfImplType(This,index,pRefType) (This)->lpVtbl->GetRefTypeOfImplType(This,index,pRefType)
1986#define ITypeInfo2_GetImplTypeFlags(This,index,pImplTypeFlags) (This)->lpVtbl->GetImplTypeFlags(This,index,pImplTypeFlags)
1987#define ITypeInfo2_GetIDsOfNames(This,rgszNames,cNames,pMemId) (This)->lpVtbl->GetIDsOfNames(This,rgszNames,cNames,pMemId)
1988#define ITypeInfo2_Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,pvInstance,memid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1989#define ITypeInfo2_GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) (This)->lpVtbl->GetDocumentation(This,memid,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile)
1990#define ITypeInfo2_GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal) (This)->lpVtbl->GetDllEntry(This,memid,invKind,pBstrDllName,pBstrName,pwOrdinal)
1991#define ITypeInfo2_GetRefTypeInfo(This,hRefType,ppTInfo) (This)->lpVtbl->GetRefTypeInfo(This,hRefType,ppTInfo)
1992#define ITypeInfo2_AddressOfMember(This,memid,invKind,ppv) (This)->lpVtbl->AddressOfMember(This,memid,invKind,ppv)
1993#define ITypeInfo2_CreateInstance(This,pUnkOuter,riid,ppvObj) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObj)
1994#define ITypeInfo2_GetMops(This,memid,pBstrMops) (This)->lpVtbl->GetMops(This,memid,pBstrMops)
1995#define ITypeInfo2_GetContainingTypeLib(This,ppTLib,pIndex) (This)->lpVtbl->GetContainingTypeLib(This,ppTLib,pIndex)
1996#define ITypeInfo2_ReleaseTypeAttr(This,pTypeAttr) (This)->lpVtbl->ReleaseTypeAttr(This,pTypeAttr)
1997#define ITypeInfo2_ReleaseFuncDesc(This,pFuncDesc) (This)->lpVtbl->ReleaseFuncDesc(This,pFuncDesc)
1998#define ITypeInfo2_ReleaseVarDesc(This,pVarDesc) (This)->lpVtbl->ReleaseVarDesc(This,pVarDesc)
1999/*** ITypeInfo2 methods ***/
2000#define ITypeInfo2_GetTypeKind(This,pTypeKind) (This)->lpVtbl->GetTypeKind(This,pTypeKind)
2001#define ITypeInfo2_GetTypeFlags(This,pTypeFlags) (This)->lpVtbl->GetTypeFlags(This,pTypeFlags)
2002#define ITypeInfo2_GetFuncIndexOfMemId(This,memid,invKind,pFuncIndex) (This)->lpVtbl->GetFuncIndexOfMemId(This,memid,invKind,pFuncIndex)
2003#define ITypeInfo2_GetVarIndexOfMemId(This,memid,pVarIndex) (This)->lpVtbl->GetVarIndexOfMemId(This,memid,pVarIndex)
2004#define ITypeInfo2_GetCustData(This,guid,pVarVal) (This)->lpVtbl->GetCustData(This,guid,pVarVal)
2005#define ITypeInfo2_GetFuncCustData(This,index,guid,pVarVal) (This)->lpVtbl->GetFuncCustData(This,index,guid,pVarVal)
2006#define ITypeInfo2_GetParamCustData(This,indexFunc,indexParam,guid,pVarVal) (This)->lpVtbl->GetParamCustData(This,indexFunc,indexParam,guid,pVarVal)
2007#define ITypeInfo2_GetVarCustData(This,index,guid,pVarVal) (This)->lpVtbl->GetVarCustData(This,index,guid,pVarVal)
2008#define ITypeInfo2_GetImplTypeCustData(This,index,guid,pVarVal) (This)->lpVtbl->GetImplTypeCustData(This,index,guid,pVarVal)
2009#define ITypeInfo2_GetDocumentation2(This,memid,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll) (This)->lpVtbl->GetDocumentation2(This,memid,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll)
2010#define ITypeInfo2_GetAllCustData(This,pCustData) (This)->lpVtbl->GetAllCustData(This,pCustData)
2011#define ITypeInfo2_GetAllFuncCustData(This,index,pCustData) (This)->lpVtbl->GetAllFuncCustData(This,index,pCustData)
2012#define ITypeInfo2_GetAllParamCustData(This,indexFunc,indexParam,pCustData) (This)->lpVtbl->GetAllParamCustData(This,indexFunc,indexParam,pCustData)
2013#define ITypeInfo2_GetAllVarCustData(This,index,pCustData) (This)->lpVtbl->GetAllVarCustData(This,index,pCustData)
2014#define ITypeInfo2_GetAllImplTypeCustData(This,index,pCustData) (This)->lpVtbl->GetAllImplTypeCustData(This,index,pCustData)
2015#endif
2016
2017#endif
2018
2019HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeKind_Proxy(
2020 ITypeInfo2* This,
2021 TYPEKIND *pTypeKind);
2022void __RPC_STUB ITypeInfo2_GetTypeKind_Stub(
2023 IRpcStubBuffer* This,
2024 IRpcChannelBuffer* pRpcChannelBuffer,
2025 PRPC_MESSAGE pRpcMessage,
2026 DWORD* pdwStubPhase);
2027HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeFlags_Proxy(
2028 ITypeInfo2* This,
2029 ULONG *pTypeFlags);
2030void __RPC_STUB ITypeInfo2_GetTypeFlags_Stub(
2031 IRpcStubBuffer* This,
2032 IRpcChannelBuffer* pRpcChannelBuffer,
2033 PRPC_MESSAGE pRpcMessage,
2034 DWORD* pdwStubPhase);
2035HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncIndexOfMemId_Proxy(
2036 ITypeInfo2* This,
2037 MEMBERID memid,
2038 INVOKEKIND invKind,
2039 UINT *pFuncIndex);
2040void __RPC_STUB ITypeInfo2_GetFuncIndexOfMemId_Stub(
2041 IRpcStubBuffer* This,
2042 IRpcChannelBuffer* pRpcChannelBuffer,
2043 PRPC_MESSAGE pRpcMessage,
2044 DWORD* pdwStubPhase);
2045HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarIndexOfMemId_Proxy(
2046 ITypeInfo2* This,
2047 MEMBERID memid,
2048 UINT *pVarIndex);
2049void __RPC_STUB ITypeInfo2_GetVarIndexOfMemId_Stub(
2050 IRpcStubBuffer* This,
2051 IRpcChannelBuffer* pRpcChannelBuffer,
2052 PRPC_MESSAGE pRpcMessage,
2053 DWORD* pdwStubPhase);
2054HRESULT STDMETHODCALLTYPE ITypeInfo2_GetCustData_Proxy(
2055 ITypeInfo2* This,
2056 REFGUID guid,
2057 VARIANT *pVarVal);
2058void __RPC_STUB ITypeInfo2_GetCustData_Stub(
2059 IRpcStubBuffer* This,
2060 IRpcChannelBuffer* pRpcChannelBuffer,
2061 PRPC_MESSAGE pRpcMessage,
2062 DWORD* pdwStubPhase);
2063HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncCustData_Proxy(
2064 ITypeInfo2* This,
2065 UINT index,
2066 REFGUID guid,
2067 VARIANT *pVarVal);
2068void __RPC_STUB ITypeInfo2_GetFuncCustData_Stub(
2069 IRpcStubBuffer* This,
2070 IRpcChannelBuffer* pRpcChannelBuffer,
2071 PRPC_MESSAGE pRpcMessage,
2072 DWORD* pdwStubPhase);
2073HRESULT STDMETHODCALLTYPE ITypeInfo2_GetParamCustData_Proxy(
2074 ITypeInfo2* This,
2075 UINT indexFunc,
2076 UINT indexParam,
2077 REFGUID guid,
2078 VARIANT *pVarVal);
2079void __RPC_STUB ITypeInfo2_GetParamCustData_Stub(
2080 IRpcStubBuffer* This,
2081 IRpcChannelBuffer* pRpcChannelBuffer,
2082 PRPC_MESSAGE pRpcMessage,
2083 DWORD* pdwStubPhase);
2084HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarCustData_Proxy(
2085 ITypeInfo2* This,
2086 UINT index,
2087 REFGUID guid,
2088 VARIANT *pVarVal);
2089void __RPC_STUB ITypeInfo2_GetVarCustData_Stub(
2090 IRpcStubBuffer* This,
2091 IRpcChannelBuffer* pRpcChannelBuffer,
2092 PRPC_MESSAGE pRpcMessage,
2093 DWORD* pdwStubPhase);
2094HRESULT STDMETHODCALLTYPE ITypeInfo2_GetImplTypeCustData_Proxy(
2095 ITypeInfo2* This,
2096 UINT index,
2097 REFGUID guid,
2098 VARIANT *pVarVal);
2099void __RPC_STUB ITypeInfo2_GetImplTypeCustData_Stub(
2100 IRpcStubBuffer* This,
2101 IRpcChannelBuffer* pRpcChannelBuffer,
2102 PRPC_MESSAGE pRpcMessage,
2103 DWORD* pdwStubPhase);
2104HRESULT STDMETHODCALLTYPE ITypeInfo2_RemoteGetDocumentation2_Proxy(
2105 ITypeInfo2* This,
2106 MEMBERID memid,
2107 LCID lcid,
2108 DWORD refPtrFlags,
2109 BSTR *pbstrHelpString,
2110 DWORD *pdwHelpStringContext,
2111 BSTR *pbstrHelpStringDll);
2112void __RPC_STUB ITypeInfo2_RemoteGetDocumentation2_Stub(
2113 IRpcStubBuffer* This,
2114 IRpcChannelBuffer* pRpcChannelBuffer,
2115 PRPC_MESSAGE pRpcMessage,
2116 DWORD* pdwStubPhase);
2117HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllCustData_Proxy(
2118 ITypeInfo2* This,
2119 CUSTDATA *pCustData);
2120void __RPC_STUB ITypeInfo2_GetAllCustData_Stub(
2121 IRpcStubBuffer* This,
2122 IRpcChannelBuffer* pRpcChannelBuffer,
2123 PRPC_MESSAGE pRpcMessage,
2124 DWORD* pdwStubPhase);
2125HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllFuncCustData_Proxy(
2126 ITypeInfo2* This,
2127 UINT index,
2128 CUSTDATA *pCustData);
2129void __RPC_STUB ITypeInfo2_GetAllFuncCustData_Stub(
2130 IRpcStubBuffer* This,
2131 IRpcChannelBuffer* pRpcChannelBuffer,
2132 PRPC_MESSAGE pRpcMessage,
2133 DWORD* pdwStubPhase);
2134HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllParamCustData_Proxy(
2135 ITypeInfo2* This,
2136 UINT indexFunc,
2137 UINT indexParam,
2138 CUSTDATA *pCustData);
2139void __RPC_STUB ITypeInfo2_GetAllParamCustData_Stub(
2140 IRpcStubBuffer* This,
2141 IRpcChannelBuffer* pRpcChannelBuffer,
2142 PRPC_MESSAGE pRpcMessage,
2143 DWORD* pdwStubPhase);
2144HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllVarCustData_Proxy(
2145 ITypeInfo2* This,
2146 UINT index,
2147 CUSTDATA *pCustData);
2148void __RPC_STUB ITypeInfo2_GetAllVarCustData_Stub(
2149 IRpcStubBuffer* This,
2150 IRpcChannelBuffer* pRpcChannelBuffer,
2151 PRPC_MESSAGE pRpcMessage,
2152 DWORD* pdwStubPhase);
2153HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllImplTypeCustData_Proxy(
2154 ITypeInfo2* This,
2155 UINT index,
2156 CUSTDATA *pCustData);
2157void __RPC_STUB ITypeInfo2_GetAllImplTypeCustData_Stub(
2158 IRpcStubBuffer* This,
2159 IRpcChannelBuffer* pRpcChannelBuffer,
2160 PRPC_MESSAGE pRpcMessage,
2161 DWORD* pdwStubPhase);
2162HRESULT CALLBACK ITypeInfo2_GetDocumentation2_Proxy(
2163 ITypeInfo2* This,
2164 MEMBERID memid,
2165 LCID lcid,
2166 BSTR *pbstrHelpString,
2167 DWORD *pdwHelpStringContext,
2168 BSTR *pbstrHelpStringDll);
2169HRESULT __RPC_STUB ITypeInfo2_GetDocumentation2_Stub(
2170 ITypeInfo2* This,
2171 MEMBERID memid,
2172 LCID lcid,
2173 DWORD refPtrFlags,
2174 BSTR *pbstrHelpString,
2175 DWORD *pdwHelpStringContext,
2176 BSTR *pbstrHelpStringDll);
2177
2178#endif /* __ITypeInfo2_INTERFACE_DEFINED__ */
2179
2180/*****************************************************************************
2181 * ITypeLib interface
2182 */
2183#ifndef __ITypeLib_INTERFACE_DEFINED__
2184#define __ITypeLib_INTERFACE_DEFINED__
2185
2186typedef ITypeLib *LPTYPELIB;
2187typedef enum tagSYSKIND {
2188 SYS_WIN16 = 0,
2189 SYS_WIN32 = 1,
2190 SYS_MAC = 2,
2191 SYS_WIN64 = 3
2192} SYSKIND;
2193typedef enum tagLIBFLAGS {
2194 LIBFLAG_FRESTRICTED = 0x1,
2195 LIBFLAG_FCONTROL = 0x2,
2196 LIBFLAG_FHIDDEN = 0x4,
2197 LIBFLAG_FHASDISKIMAGE = 0x8
2198} LIBFLAGS;
2199typedef struct tagTLIBATTR {
2200 GUID guid;
2201 LCID lcid;
2202 SYSKIND syskind;
2203 WORD wMajorVerNum;
2204 WORD wMinorVerNum;
2205 WORD wLibFlags;
2206} TLIBATTR;
2207typedef struct tagTLIBATTR *LPTLIBATTR;
2208DEFINE_GUID(IID_ITypeLib, 0x00020402, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
2209#if defined(__cplusplus) && !defined(CINTERFACE)
2210interface ITypeLib : public IUnknown
2211{
2212 virtual UINT STDMETHODCALLTYPE GetTypeInfoCount(
2213 ) = 0;
2214
2215 virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(
2216 UINT index,
2217 ITypeInfo **ppTInfo) = 0;
2218
2219 virtual HRESULT STDMETHODCALLTYPE GetTypeInfoType(
2220 UINT index,
2221 TYPEKIND *pTKind) = 0;
2222
2223 virtual HRESULT STDMETHODCALLTYPE GetTypeInfoOfGuid(
2224 REFGUID guid,
2225 ITypeInfo **ppTinfo) = 0;
2226
2227 virtual HRESULT STDMETHODCALLTYPE GetLibAttr(
2228 TLIBATTR **ppTLibAttr) = 0;
2229
2230 virtual HRESULT STDMETHODCALLTYPE GetTypeComp(
2231 ITypeComp **ppTComp) = 0;
2232
2233 virtual HRESULT STDMETHODCALLTYPE GetDocumentation(
2234 INT index,
2235 BSTR *pBstrName,
2236 BSTR *pBstrDocString,
2237 DWORD *pdwHelpContext,
2238 BSTR *pBstrHelpFile) = 0;
2239
2240 virtual HRESULT STDMETHODCALLTYPE IsName(
2241 LPOLESTR szNameBuf,
2242 ULONG lHashVal,
2243 BOOL *pfName) = 0;
2244
2245 virtual HRESULT STDMETHODCALLTYPE FindName(
2246 LPOLESTR szNameBuf,
2247 ULONG lHashVal,
2248 ITypeInfo **ppTInfo,
2249 MEMBERID *rgMemId,
2250 USHORT *pcFound) = 0;
2251
2252 virtual void STDMETHODCALLTYPE ReleaseTLibAttr(
2253 TLIBATTR *pTLibAttr) = 0;
2254
2255};
2256#else
2257typedef struct ITypeLibVtbl {
2258 BEGIN_INTERFACE
2259
2260 /*** IUnknown methods ***/
2261 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2262 ITypeLib* This,
2263 REFIID riid,
2264 void **ppvObject);
2265
2266 ULONG (STDMETHODCALLTYPE *AddRef)(
2267 ITypeLib* This);
2268
2269 ULONG (STDMETHODCALLTYPE *Release)(
2270 ITypeLib* This);
2271
2272 /*** ITypeLib methods ***/
2273 UINT (STDMETHODCALLTYPE *GetTypeInfoCount)(
2274 ITypeLib* This);
2275
2276 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
2277 ITypeLib* This,
2278 UINT index,
2279 ITypeInfo **ppTInfo);
2280
2281 HRESULT (STDMETHODCALLTYPE *GetTypeInfoType)(
2282 ITypeLib* This,
2283 UINT index,
2284 TYPEKIND *pTKind);
2285
2286 HRESULT (STDMETHODCALLTYPE *GetTypeInfoOfGuid)(
2287 ITypeLib* This,
2288 REFGUID guid,
2289 ITypeInfo **ppTinfo);
2290
2291 HRESULT (STDMETHODCALLTYPE *GetLibAttr)(
2292 ITypeLib* This,
2293 TLIBATTR **ppTLibAttr);
2294
2295 HRESULT (STDMETHODCALLTYPE *GetTypeComp)(
2296 ITypeLib* This,
2297 ITypeComp **ppTComp);
2298
2299 HRESULT (STDMETHODCALLTYPE *GetDocumentation)(
2300 ITypeLib* This,
2301 INT index,
2302 BSTR *pBstrName,
2303 BSTR *pBstrDocString,
2304 DWORD *pdwHelpContext,
2305 BSTR *pBstrHelpFile);
2306
2307 HRESULT (STDMETHODCALLTYPE *IsName)(
2308 ITypeLib* This,
2309 LPOLESTR szNameBuf,
2310 ULONG lHashVal,
2311 BOOL *pfName);
2312
2313 HRESULT (STDMETHODCALLTYPE *FindName)(
2314 ITypeLib* This,
2315 LPOLESTR szNameBuf,
2316 ULONG lHashVal,
2317 ITypeInfo **ppTInfo,
2318 MEMBERID *rgMemId,
2319 USHORT *pcFound);
2320
2321 void (STDMETHODCALLTYPE *ReleaseTLibAttr)(
2322 ITypeLib* This,
2323 TLIBATTR *pTLibAttr);
2324
2325 END_INTERFACE
2326} ITypeLibVtbl;
2327interface ITypeLib {
2328 CONST_VTBL ITypeLibVtbl* lpVtbl;
2329};
2330
2331#ifdef COBJMACROS
2332/*** IUnknown methods ***/
2333#define ITypeLib_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2334#define ITypeLib_AddRef(This) (This)->lpVtbl->AddRef(This)
2335#define ITypeLib_Release(This) (This)->lpVtbl->Release(This)
2336/*** ITypeLib methods ***/
2337#define ITypeLib_GetTypeInfoCount(This) (This)->lpVtbl->GetTypeInfoCount(This)
2338#define ITypeLib_GetTypeInfo(This,index,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,index,ppTInfo)
2339#define ITypeLib_GetTypeInfoType(This,index,pTKind) (This)->lpVtbl->GetTypeInfoType(This,index,pTKind)
2340#define ITypeLib_GetTypeInfoOfGuid(This,guid,ppTinfo) (This)->lpVtbl->GetTypeInfoOfGuid(This,guid,ppTinfo)
2341#define ITypeLib_GetLibAttr(This,ppTLibAttr) (This)->lpVtbl->GetLibAttr(This,ppTLibAttr)
2342#define ITypeLib_GetTypeComp(This,ppTComp) (This)->lpVtbl->GetTypeComp(This,ppTComp)
2343#define ITypeLib_GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) (This)->lpVtbl->GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile)
2344#define ITypeLib_IsName(This,szNameBuf,lHashVal,pfName) (This)->lpVtbl->IsName(This,szNameBuf,lHashVal,pfName)
2345#define ITypeLib_FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound) (This)->lpVtbl->FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound)
2346#define ITypeLib_ReleaseTLibAttr(This,pTLibAttr) (This)->lpVtbl->ReleaseTLibAttr(This,pTLibAttr)
2347#endif
2348
2349#endif
2350
2351HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetTypeInfoCount_Proxy(
2352 ITypeLib* This,
2353 UINT *pcTInfo);
2354void __RPC_STUB ITypeLib_RemoteGetTypeInfoCount_Stub(
2355 IRpcStubBuffer* This,
2356 IRpcChannelBuffer* pRpcChannelBuffer,
2357 PRPC_MESSAGE pRpcMessage,
2358 DWORD* pdwStubPhase);
2359HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfo_Proxy(
2360 ITypeLib* This,
2361 UINT index,
2362 ITypeInfo **ppTInfo);
2363void __RPC_STUB ITypeLib_GetTypeInfo_Stub(
2364 IRpcStubBuffer* This,
2365 IRpcChannelBuffer* pRpcChannelBuffer,
2366 PRPC_MESSAGE pRpcMessage,
2367 DWORD* pdwStubPhase);
2368HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoType_Proxy(
2369 ITypeLib* This,
2370 UINT index,
2371 TYPEKIND *pTKind);
2372void __RPC_STUB ITypeLib_GetTypeInfoType_Stub(
2373 IRpcStubBuffer* This,
2374 IRpcChannelBuffer* pRpcChannelBuffer,
2375 PRPC_MESSAGE pRpcMessage,
2376 DWORD* pdwStubPhase);
2377HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoOfGuid_Proxy(
2378 ITypeLib* This,
2379 REFGUID guid,
2380 ITypeInfo **ppTinfo);
2381void __RPC_STUB ITypeLib_GetTypeInfoOfGuid_Stub(
2382 IRpcStubBuffer* This,
2383 IRpcChannelBuffer* pRpcChannelBuffer,
2384 PRPC_MESSAGE pRpcMessage,
2385 DWORD* pdwStubPhase);
2386HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetLibAttr_Proxy(
2387 ITypeLib* This,
2388 LPTLIBATTR *ppTLibAttr,
2389 CLEANLOCALSTORAGE *pDummy);
2390void __RPC_STUB ITypeLib_RemoteGetLibAttr_Stub(
2391 IRpcStubBuffer* This,
2392 IRpcChannelBuffer* pRpcChannelBuffer,
2393 PRPC_MESSAGE pRpcMessage,
2394 DWORD* pdwStubPhase);
2395HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeComp_Proxy(
2396 ITypeLib* This,
2397 ITypeComp **ppTComp);
2398void __RPC_STUB ITypeLib_GetTypeComp_Stub(
2399 IRpcStubBuffer* This,
2400 IRpcChannelBuffer* pRpcChannelBuffer,
2401 PRPC_MESSAGE pRpcMessage,
2402 DWORD* pdwStubPhase);
2403HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetDocumentation_Proxy(
2404 ITypeLib* This,
2405 INT index,
2406 DWORD refPtrFlags,
2407 BSTR *pBstrName,
2408 BSTR *pBstrDocString,
2409 DWORD *pdwHelpContext,
2410 BSTR *pBstrHelpFile);
2411void __RPC_STUB ITypeLib_RemoteGetDocumentation_Stub(
2412 IRpcStubBuffer* This,
2413 IRpcChannelBuffer* pRpcChannelBuffer,
2414 PRPC_MESSAGE pRpcMessage,
2415 DWORD* pdwStubPhase);
2416HRESULT STDMETHODCALLTYPE ITypeLib_RemoteIsName_Proxy(
2417 ITypeLib* This,
2418 LPOLESTR szNameBuf,
2419 ULONG lHashVal,
2420 BOOL *pfName,
2421 BSTR *pBstrLibName);
2422void __RPC_STUB ITypeLib_RemoteIsName_Stub(
2423 IRpcStubBuffer* This,
2424 IRpcChannelBuffer* pRpcChannelBuffer,
2425 PRPC_MESSAGE pRpcMessage,
2426 DWORD* pdwStubPhase);
2427HRESULT STDMETHODCALLTYPE ITypeLib_RemoteFindName_Proxy(
2428 ITypeLib* This,
2429 LPOLESTR szNameBuf,
2430 ULONG lHashVal,
2431 ITypeInfo **ppTInfo,
2432 MEMBERID *rgMemId,
2433 USHORT *pcFound,
2434 BSTR *pBstrLibName);
2435void __RPC_STUB ITypeLib_RemoteFindName_Stub(
2436 IRpcStubBuffer* This,
2437 IRpcChannelBuffer* pRpcChannelBuffer,
2438 PRPC_MESSAGE pRpcMessage,
2439 DWORD* pdwStubPhase);
2440HRESULT STDMETHODCALLTYPE ITypeLib_LocalReleaseTLibAttr_Proxy(
2441 ITypeLib* This);
2442void __RPC_STUB ITypeLib_LocalReleaseTLibAttr_Stub(
2443 IRpcStubBuffer* This,
2444 IRpcChannelBuffer* pRpcChannelBuffer,
2445 PRPC_MESSAGE pRpcMessage,
2446 DWORD* pdwStubPhase);
2447UINT CALLBACK ITypeLib_GetTypeInfoCount_Proxy(
2448 ITypeLib* This);
2449HRESULT __RPC_STUB ITypeLib_GetTypeInfoCount_Stub(
2450 ITypeLib* This,
2451 UINT *pcTInfo);
2452HRESULT CALLBACK ITypeLib_GetLibAttr_Proxy(
2453 ITypeLib* This,
2454 TLIBATTR **ppTLibAttr);
2455HRESULT __RPC_STUB ITypeLib_GetLibAttr_Stub(
2456 ITypeLib* This,
2457 LPTLIBATTR *ppTLibAttr,
2458 CLEANLOCALSTORAGE *pDummy);
2459HRESULT CALLBACK ITypeLib_GetDocumentation_Proxy(
2460 ITypeLib* This,
2461 INT index,
2462 BSTR *pBstrName,
2463 BSTR *pBstrDocString,
2464 DWORD *pdwHelpContext,
2465 BSTR *pBstrHelpFile);
2466HRESULT __RPC_STUB ITypeLib_GetDocumentation_Stub(
2467 ITypeLib* This,
2468 INT index,
2469 DWORD refPtrFlags,
2470 BSTR *pBstrName,
2471 BSTR *pBstrDocString,
2472 DWORD *pdwHelpContext,
2473 BSTR *pBstrHelpFile);
2474HRESULT CALLBACK ITypeLib_IsName_Proxy(
2475 ITypeLib* This,
2476 LPOLESTR szNameBuf,
2477 ULONG lHashVal,
2478 BOOL *pfName);
2479HRESULT __RPC_STUB ITypeLib_IsName_Stub(
2480 ITypeLib* This,
2481 LPOLESTR szNameBuf,
2482 ULONG lHashVal,
2483 BOOL *pfName,
2484 BSTR *pBstrLibName);
2485HRESULT CALLBACK ITypeLib_FindName_Proxy(
2486 ITypeLib* This,
2487 LPOLESTR szNameBuf,
2488 ULONG lHashVal,
2489 ITypeInfo **ppTInfo,
2490 MEMBERID *rgMemId,
2491 USHORT *pcFound);
2492HRESULT __RPC_STUB ITypeLib_FindName_Stub(
2493 ITypeLib* This,
2494 LPOLESTR szNameBuf,
2495 ULONG lHashVal,
2496 ITypeInfo **ppTInfo,
2497 MEMBERID *rgMemId,
2498 USHORT *pcFound,
2499 BSTR *pBstrLibName);
2500void CALLBACK ITypeLib_ReleaseTLibAttr_Proxy(
2501 ITypeLib* This,
2502 TLIBATTR *pTLibAttr);
2503HRESULT __RPC_STUB ITypeLib_ReleaseTLibAttr_Stub(
2504 ITypeLib* This);
2505
2506#endif /* __ITypeLib_INTERFACE_DEFINED__ */
2507
2508/*****************************************************************************
2509 * ITypeLib2 interface
2510 */
2511#ifndef __ITypeLib2_INTERFACE_DEFINED__
2512#define __ITypeLib2_INTERFACE_DEFINED__
2513
2514typedef ITypeLib2 *LPTYPELIB2;
2515DEFINE_GUID(IID_ITypeLib2, 0x00020411, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
2516#if defined(__cplusplus) && !defined(CINTERFACE)
2517interface ITypeLib2 : public ITypeLib
2518{
2519 virtual HRESULT STDMETHODCALLTYPE GetCustData(
2520 REFGUID guid,
2521 VARIANT *pVarVal) = 0;
2522
2523 virtual HRESULT STDMETHODCALLTYPE GetLibStatistics(
2524 ULONG *pcUniqueNames,
2525 ULONG *pcchUniqueNames) = 0;
2526
2527 virtual HRESULT STDMETHODCALLTYPE GetDocumentation2(
2528 INT index,
2529 LCID lcid,
2530 BSTR *pbstrHelpString,
2531 DWORD *pdwHelpStringContext,
2532 BSTR *pbstrHelpStringDll) = 0;
2533
2534 virtual HRESULT STDMETHODCALLTYPE GetAllCustData(
2535 CUSTDATA *pCustData) = 0;
2536
2537};
2538#else
2539typedef struct ITypeLib2Vtbl {
2540 BEGIN_INTERFACE
2541
2542 /*** IUnknown methods ***/
2543 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2544 ITypeLib2* This,
2545 REFIID riid,
2546 void **ppvObject);
2547
2548 ULONG (STDMETHODCALLTYPE *AddRef)(
2549 ITypeLib2* This);
2550
2551 ULONG (STDMETHODCALLTYPE *Release)(
2552 ITypeLib2* This);
2553
2554 /*** ITypeLib methods ***/
2555 UINT (STDMETHODCALLTYPE *GetTypeInfoCount)(
2556 ITypeLib2* This);
2557
2558 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
2559 ITypeLib2* This,
2560 UINT index,
2561 ITypeInfo **ppTInfo);
2562
2563 HRESULT (STDMETHODCALLTYPE *GetTypeInfoType)(
2564 ITypeLib2* This,
2565 UINT index,
2566 TYPEKIND *pTKind);
2567
2568 HRESULT (STDMETHODCALLTYPE *GetTypeInfoOfGuid)(
2569 ITypeLib2* This,
2570 REFGUID guid,
2571 ITypeInfo **ppTinfo);
2572
2573 HRESULT (STDMETHODCALLTYPE *GetLibAttr)(
2574 ITypeLib2* This,
2575 TLIBATTR **ppTLibAttr);
2576
2577 HRESULT (STDMETHODCALLTYPE *GetTypeComp)(
2578 ITypeLib2* This,
2579 ITypeComp **ppTComp);
2580
2581 HRESULT (STDMETHODCALLTYPE *GetDocumentation)(
2582 ITypeLib2* This,
2583 INT index,
2584 BSTR *pBstrName,
2585 BSTR *pBstrDocString,
2586 DWORD *pdwHelpContext,
2587 BSTR *pBstrHelpFile);
2588
2589 HRESULT (STDMETHODCALLTYPE *IsName)(
2590 ITypeLib2* This,
2591 LPOLESTR szNameBuf,
2592 ULONG lHashVal,
2593 BOOL *pfName);
2594
2595 HRESULT (STDMETHODCALLTYPE *FindName)(
2596 ITypeLib2* This,
2597 LPOLESTR szNameBuf,
2598 ULONG lHashVal,
2599 ITypeInfo **ppTInfo,
2600 MEMBERID *rgMemId,
2601 USHORT *pcFound);
2602
2603 void (STDMETHODCALLTYPE *ReleaseTLibAttr)(
2604 ITypeLib2* This,
2605 TLIBATTR *pTLibAttr);
2606
2607 /*** ITypeLib2 methods ***/
2608 HRESULT (STDMETHODCALLTYPE *GetCustData)(
2609 ITypeLib2* This,
2610 REFGUID guid,
2611 VARIANT *pVarVal);
2612
2613 HRESULT (STDMETHODCALLTYPE *GetLibStatistics)(
2614 ITypeLib2* This,
2615 ULONG *pcUniqueNames,
2616 ULONG *pcchUniqueNames);
2617
2618 HRESULT (STDMETHODCALLTYPE *GetDocumentation2)(
2619 ITypeLib2* This,
2620 INT index,
2621 LCID lcid,
2622 BSTR *pbstrHelpString,
2623 DWORD *pdwHelpStringContext,
2624 BSTR *pbstrHelpStringDll);
2625
2626 HRESULT (STDMETHODCALLTYPE *GetAllCustData)(
2627 ITypeLib2* This,
2628 CUSTDATA *pCustData);
2629
2630 END_INTERFACE
2631} ITypeLib2Vtbl;
2632interface ITypeLib2 {
2633 CONST_VTBL ITypeLib2Vtbl* lpVtbl;
2634};
2635
2636#ifdef COBJMACROS
2637/*** IUnknown methods ***/
2638#define ITypeLib2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2639#define ITypeLib2_AddRef(This) (This)->lpVtbl->AddRef(This)
2640#define ITypeLib2_Release(This) (This)->lpVtbl->Release(This)
2641/*** ITypeLib methods ***/
2642#define ITypeLib2_GetTypeInfoCount(This) (This)->lpVtbl->GetTypeInfoCount(This)
2643#define ITypeLib2_GetTypeInfo(This,index,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,index,ppTInfo)
2644#define ITypeLib2_GetTypeInfoType(This,index,pTKind) (This)->lpVtbl->GetTypeInfoType(This,index,pTKind)
2645#define ITypeLib2_GetTypeInfoOfGuid(This,guid,ppTinfo) (This)->lpVtbl->GetTypeInfoOfGuid(This,guid,ppTinfo)
2646#define ITypeLib2_GetLibAttr(This,ppTLibAttr) (This)->lpVtbl->GetLibAttr(This,ppTLibAttr)
2647#define ITypeLib2_GetTypeComp(This,ppTComp) (This)->lpVtbl->GetTypeComp(This,ppTComp)
2648#define ITypeLib2_GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile) (This)->lpVtbl->GetDocumentation(This,index,pBstrName,pBstrDocString,pdwHelpContext,pBstrHelpFile)
2649#define ITypeLib2_IsName(This,szNameBuf,lHashVal,pfName) (This)->lpVtbl->IsName(This,szNameBuf,lHashVal,pfName)
2650#define ITypeLib2_FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound) (This)->lpVtbl->FindName(This,szNameBuf,lHashVal,ppTInfo,rgMemId,pcFound)
2651#define ITypeLib2_ReleaseTLibAttr(This,pTLibAttr) (This)->lpVtbl->ReleaseTLibAttr(This,pTLibAttr)
2652/*** ITypeLib2 methods ***/
2653#define ITypeLib2_GetCustData(This,guid,pVarVal) (This)->lpVtbl->GetCustData(This,guid,pVarVal)
2654#define ITypeLib2_GetLibStatistics(This,pcUniqueNames,pcchUniqueNames) (This)->lpVtbl->GetLibStatistics(This,pcUniqueNames,pcchUniqueNames)
2655#define ITypeLib2_GetDocumentation2(This,index,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll) (This)->lpVtbl->GetDocumentation2(This,index,lcid,pbstrHelpString,pdwHelpStringContext,pbstrHelpStringDll)
2656#define ITypeLib2_GetAllCustData(This,pCustData) (This)->lpVtbl->GetAllCustData(This,pCustData)
2657#endif
2658
2659#endif
2660
2661HRESULT STDMETHODCALLTYPE ITypeLib2_GetCustData_Proxy(
2662 ITypeLib2* This,
2663 REFGUID guid,
2664 VARIANT *pVarVal);
2665void __RPC_STUB ITypeLib2_GetCustData_Stub(
2666 IRpcStubBuffer* This,
2667 IRpcChannelBuffer* pRpcChannelBuffer,
2668 PRPC_MESSAGE pRpcMessage,
2669 DWORD* pdwStubPhase);
2670HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetLibStatistics_Proxy(
2671 ITypeLib2* This,
2672 ULONG *pcUniqueNames,
2673 ULONG *pcchUniqueNames);
2674void __RPC_STUB ITypeLib2_RemoteGetLibStatistics_Stub(
2675 IRpcStubBuffer* This,
2676 IRpcChannelBuffer* pRpcChannelBuffer,
2677 PRPC_MESSAGE pRpcMessage,
2678 DWORD* pdwStubPhase);
2679HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetDocumentation2_Proxy(
2680 ITypeLib2* This,
2681 INT index,
2682 LCID lcid,
2683 DWORD refPtrFlags,
2684 BSTR *pbstrHelpString,
2685 DWORD *pdwHelpStringContext,
2686 BSTR *pbstrHelpStringDll);
2687void __RPC_STUB ITypeLib2_RemoteGetDocumentation2_Stub(
2688 IRpcStubBuffer* This,
2689 IRpcChannelBuffer* pRpcChannelBuffer,
2690 PRPC_MESSAGE pRpcMessage,
2691 DWORD* pdwStubPhase);
2692HRESULT STDMETHODCALLTYPE ITypeLib2_GetAllCustData_Proxy(
2693 ITypeLib2* This,
2694 CUSTDATA *pCustData);
2695void __RPC_STUB ITypeLib2_GetAllCustData_Stub(
2696 IRpcStubBuffer* This,
2697 IRpcChannelBuffer* pRpcChannelBuffer,
2698 PRPC_MESSAGE pRpcMessage,
2699 DWORD* pdwStubPhase);
2700HRESULT CALLBACK ITypeLib2_GetLibStatistics_Proxy(
2701 ITypeLib2* This,
2702 ULONG *pcUniqueNames,
2703 ULONG *pcchUniqueNames);
2704HRESULT __RPC_STUB ITypeLib2_GetLibStatistics_Stub(
2705 ITypeLib2* This,
2706 ULONG *pcUniqueNames,
2707 ULONG *pcchUniqueNames);
2708HRESULT CALLBACK ITypeLib2_GetDocumentation2_Proxy(
2709 ITypeLib2* This,
2710 INT index,
2711 LCID lcid,
2712 BSTR *pbstrHelpString,
2713 DWORD *pdwHelpStringContext,
2714 BSTR *pbstrHelpStringDll);
2715HRESULT __RPC_STUB ITypeLib2_GetDocumentation2_Stub(
2716 ITypeLib2* This,
2717 INT index,
2718 LCID lcid,
2719 DWORD refPtrFlags,
2720 BSTR *pbstrHelpString,
2721 DWORD *pdwHelpStringContext,
2722 BSTR *pbstrHelpStringDll);
2723
2724#endif /* __ITypeLib2_INTERFACE_DEFINED__ */
2725
2726/*****************************************************************************
2727 * ITypeChangeEvents interface
2728 */
2729#ifndef __ITypeChangeEvents_INTERFACE_DEFINED__
2730#define __ITypeChangeEvents_INTERFACE_DEFINED__
2731
2732typedef ITypeChangeEvents *LPTYPECHANGEEVENTS;
2733typedef enum tagCHANGEKIND {
2734 CHANGEKIND_ADDMEMBER = 0,
2735 CHANGEKIND_DELETEMEMBER = 1,
2736 CHANGEKIND_SETNAMES = 2,
2737 CHANGEKIND_SETDOCUMENTATION = 3,
2738 CHANGEKIND_GENERAL = 4,
2739 CHANGEKIND_INVALIDATE = 5,
2740 CHANGEKIND_CHANGEFAILED = 6,
2741 CHANGEKIND_MAX = 7
2742} CHANGEKIND;
2743DEFINE_GUID(IID_ITypeChangeEvents, 0x00020410, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
2744#if defined(__cplusplus) && !defined(CINTERFACE)
2745interface ITypeChangeEvents : public IUnknown
2746{
2747 virtual HRESULT STDMETHODCALLTYPE RequestTypeChange(
2748 CHANGEKIND changeKind,
2749 ITypeInfo *pTInfoBefore,
2750 LPOLESTR pStrName,
2751 INT *pfCancel) = 0;
2752
2753 virtual HRESULT STDMETHODCALLTYPE AfterTypeChange(
2754 CHANGEKIND changeKind,
2755 ITypeInfo *pTInfoAfter,
2756 LPOLESTR pStrName) = 0;
2757
2758};
2759#else
2760typedef struct ITypeChangeEventsVtbl {
2761 BEGIN_INTERFACE
2762
2763 /*** IUnknown methods ***/
2764 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2765 ITypeChangeEvents* This,
2766 REFIID riid,
2767 void **ppvObject);
2768
2769 ULONG (STDMETHODCALLTYPE *AddRef)(
2770 ITypeChangeEvents* This);
2771
2772 ULONG (STDMETHODCALLTYPE *Release)(
2773 ITypeChangeEvents* This);
2774
2775 /*** ITypeChangeEvents methods ***/
2776 HRESULT (STDMETHODCALLTYPE *RequestTypeChange)(
2777 ITypeChangeEvents* This,
2778 CHANGEKIND changeKind,
2779 ITypeInfo *pTInfoBefore,
2780 LPOLESTR pStrName,
2781 INT *pfCancel);
2782
2783 HRESULT (STDMETHODCALLTYPE *AfterTypeChange)(
2784 ITypeChangeEvents* This,
2785 CHANGEKIND changeKind,
2786 ITypeInfo *pTInfoAfter,
2787 LPOLESTR pStrName);
2788
2789 END_INTERFACE
2790} ITypeChangeEventsVtbl;
2791interface ITypeChangeEvents {
2792 CONST_VTBL ITypeChangeEventsVtbl* lpVtbl;
2793};
2794
2795#ifdef COBJMACROS
2796/*** IUnknown methods ***/
2797#define ITypeChangeEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2798#define ITypeChangeEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
2799#define ITypeChangeEvents_Release(This) (This)->lpVtbl->Release(This)
2800/*** ITypeChangeEvents methods ***/
2801#define ITypeChangeEvents_RequestTypeChange(This,changeKind,pTInfoBefore,pStrName,pfCancel) (This)->lpVtbl->RequestTypeChange(This,changeKind,pTInfoBefore,pStrName,pfCancel)
2802#define ITypeChangeEvents_AfterTypeChange(This,changeKind,pTInfoAfter,pStrName) (This)->lpVtbl->AfterTypeChange(This,changeKind,pTInfoAfter,pStrName)
2803#endif
2804
2805#endif
2806
2807HRESULT STDMETHODCALLTYPE ITypeChangeEvents_RequestTypeChange_Proxy(
2808 ITypeChangeEvents* This,
2809 CHANGEKIND changeKind,
2810 ITypeInfo *pTInfoBefore,
2811 LPOLESTR pStrName,
2812 INT *pfCancel);
2813void __RPC_STUB ITypeChangeEvents_RequestTypeChange_Stub(
2814 IRpcStubBuffer* This,
2815 IRpcChannelBuffer* pRpcChannelBuffer,
2816 PRPC_MESSAGE pRpcMessage,
2817 DWORD* pdwStubPhase);
2818HRESULT STDMETHODCALLTYPE ITypeChangeEvents_AfterTypeChange_Proxy(
2819 ITypeChangeEvents* This,
2820 CHANGEKIND changeKind,
2821 ITypeInfo *pTInfoAfter,
2822 LPOLESTR pStrName);
2823void __RPC_STUB ITypeChangeEvents_AfterTypeChange_Stub(
2824 IRpcStubBuffer* This,
2825 IRpcChannelBuffer* pRpcChannelBuffer,
2826 PRPC_MESSAGE pRpcMessage,
2827 DWORD* pdwStubPhase);
2828
2829#endif /* __ITypeChangeEvents_INTERFACE_DEFINED__ */
2830
2831/*****************************************************************************
2832 * IErrorInfo interface
2833 */
2834#ifndef __IErrorInfo_INTERFACE_DEFINED__
2835#define __IErrorInfo_INTERFACE_DEFINED__
2836
2837typedef IErrorInfo *LPERRORINFO;
2838DEFINE_GUID(IID_IErrorInfo, 0x1cf2b120, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19);
2839#if defined(__cplusplus) && !defined(CINTERFACE)
2840interface IErrorInfo : public IUnknown
2841{
2842 virtual HRESULT STDMETHODCALLTYPE GetGUID(
2843 GUID *pGUID) = 0;
2844
2845 virtual HRESULT STDMETHODCALLTYPE GetSource(
2846 BSTR *pBstrSource) = 0;
2847
2848 virtual HRESULT STDMETHODCALLTYPE GetDescription(
2849 BSTR *pBstrDescription) = 0;
2850
2851 virtual HRESULT STDMETHODCALLTYPE GetHelpFile(
2852 BSTR *pBstrHelpFile) = 0;
2853
2854 virtual HRESULT STDMETHODCALLTYPE GetHelpContext(
2855 DWORD *pdwHelpContext) = 0;
2856
2857};
2858#else
2859typedef struct IErrorInfoVtbl {
2860 BEGIN_INTERFACE
2861
2862 /*** IUnknown methods ***/
2863 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2864 IErrorInfo* This,
2865 REFIID riid,
2866 void **ppvObject);
2867
2868 ULONG (STDMETHODCALLTYPE *AddRef)(
2869 IErrorInfo* This);
2870
2871 ULONG (STDMETHODCALLTYPE *Release)(
2872 IErrorInfo* This);
2873
2874 /*** IErrorInfo methods ***/
2875 HRESULT (STDMETHODCALLTYPE *GetGUID)(
2876 IErrorInfo* This,
2877 GUID *pGUID);
2878
2879 HRESULT (STDMETHODCALLTYPE *GetSource)(
2880 IErrorInfo* This,
2881 BSTR *pBstrSource);
2882
2883 HRESULT (STDMETHODCALLTYPE *GetDescription)(
2884 IErrorInfo* This,
2885 BSTR *pBstrDescription);
2886
2887 HRESULT (STDMETHODCALLTYPE *GetHelpFile)(
2888 IErrorInfo* This,
2889 BSTR *pBstrHelpFile);
2890
2891 HRESULT (STDMETHODCALLTYPE *GetHelpContext)(
2892 IErrorInfo* This,
2893 DWORD *pdwHelpContext);
2894
2895 END_INTERFACE
2896} IErrorInfoVtbl;
2897interface IErrorInfo {
2898 CONST_VTBL IErrorInfoVtbl* lpVtbl;
2899};
2900
2901#ifdef COBJMACROS
2902/*** IUnknown methods ***/
2903#define IErrorInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2904#define IErrorInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
2905#define IErrorInfo_Release(This) (This)->lpVtbl->Release(This)
2906/*** IErrorInfo methods ***/
2907#define IErrorInfo_GetGUID(This,pGUID) (This)->lpVtbl->GetGUID(This,pGUID)
2908#define IErrorInfo_GetSource(This,pBstrSource) (This)->lpVtbl->GetSource(This,pBstrSource)
2909#define IErrorInfo_GetDescription(This,pBstrDescription) (This)->lpVtbl->GetDescription(This,pBstrDescription)
2910#define IErrorInfo_GetHelpFile(This,pBstrHelpFile) (This)->lpVtbl->GetHelpFile(This,pBstrHelpFile)
2911#define IErrorInfo_GetHelpContext(This,pdwHelpContext) (This)->lpVtbl->GetHelpContext(This,pdwHelpContext)
2912#endif
2913
2914#endif
2915
2916HRESULT STDMETHODCALLTYPE IErrorInfo_GetGUID_Proxy(
2917 IErrorInfo* This,
2918 GUID *pGUID);
2919void __RPC_STUB IErrorInfo_GetGUID_Stub(
2920 IRpcStubBuffer* This,
2921 IRpcChannelBuffer* pRpcChannelBuffer,
2922 PRPC_MESSAGE pRpcMessage,
2923 DWORD* pdwStubPhase);
2924HRESULT STDMETHODCALLTYPE IErrorInfo_GetSource_Proxy(
2925 IErrorInfo* This,
2926 BSTR *pBstrSource);
2927void __RPC_STUB IErrorInfo_GetSource_Stub(
2928 IRpcStubBuffer* This,
2929 IRpcChannelBuffer* pRpcChannelBuffer,
2930 PRPC_MESSAGE pRpcMessage,
2931 DWORD* pdwStubPhase);
2932HRESULT STDMETHODCALLTYPE IErrorInfo_GetDescription_Proxy(
2933 IErrorInfo* This,
2934 BSTR *pBstrDescription);
2935void __RPC_STUB IErrorInfo_GetDescription_Stub(
2936 IRpcStubBuffer* This,
2937 IRpcChannelBuffer* pRpcChannelBuffer,
2938 PRPC_MESSAGE pRpcMessage,
2939 DWORD* pdwStubPhase);
2940HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpFile_Proxy(
2941 IErrorInfo* This,
2942 BSTR *pBstrHelpFile);
2943void __RPC_STUB IErrorInfo_GetHelpFile_Stub(
2944 IRpcStubBuffer* This,
2945 IRpcChannelBuffer* pRpcChannelBuffer,
2946 PRPC_MESSAGE pRpcMessage,
2947 DWORD* pdwStubPhase);
2948HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpContext_Proxy(
2949 IErrorInfo* This,
2950 DWORD *pdwHelpContext);
2951void __RPC_STUB IErrorInfo_GetHelpContext_Stub(
2952 IRpcStubBuffer* This,
2953 IRpcChannelBuffer* pRpcChannelBuffer,
2954 PRPC_MESSAGE pRpcMessage,
2955 DWORD* pdwStubPhase);
2956
2957#endif /* __IErrorInfo_INTERFACE_DEFINED__ */
2958
2959/*****************************************************************************
2960 * ICreateErrorInfo interface
2961 */
2962#ifndef __ICreateErrorInfo_INTERFACE_DEFINED__
2963#define __ICreateErrorInfo_INTERFACE_DEFINED__
2964
2965typedef ICreateErrorInfo *LPCREATEERRORINFO;
2966DEFINE_GUID(IID_ICreateErrorInfo, 0x22f03340, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19);
2967#if defined(__cplusplus) && !defined(CINTERFACE)
2968interface ICreateErrorInfo : public IUnknown
2969{
2970 virtual HRESULT STDMETHODCALLTYPE SetGUID(
2971 REFGUID rguid) = 0;
2972
2973 virtual HRESULT STDMETHODCALLTYPE SetSource(
2974 LPOLESTR szSource) = 0;
2975
2976 virtual HRESULT STDMETHODCALLTYPE SetDescription(
2977 LPOLESTR szDescription) = 0;
2978
2979 virtual HRESULT STDMETHODCALLTYPE SetHelpFile(
2980 LPOLESTR szHelpFile) = 0;
2981
2982 virtual HRESULT STDMETHODCALLTYPE SetHelpContext(
2983 DWORD dwHelpContext) = 0;
2984
2985};
2986#else
2987typedef struct ICreateErrorInfoVtbl {
2988 BEGIN_INTERFACE
2989
2990 /*** IUnknown methods ***/
2991 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2992 ICreateErrorInfo* This,
2993 REFIID riid,
2994 void **ppvObject);
2995
2996 ULONG (STDMETHODCALLTYPE *AddRef)(
2997 ICreateErrorInfo* This);
2998
2999 ULONG (STDMETHODCALLTYPE *Release)(
3000 ICreateErrorInfo* This);
3001
3002 /*** ICreateErrorInfo methods ***/
3003 HRESULT (STDMETHODCALLTYPE *SetGUID)(
3004 ICreateErrorInfo* This,
3005 REFGUID rguid);
3006
3007 HRESULT (STDMETHODCALLTYPE *SetSource)(
3008 ICreateErrorInfo* This,
3009 LPOLESTR szSource);
3010
3011 HRESULT (STDMETHODCALLTYPE *SetDescription)(
3012 ICreateErrorInfo* This,
3013 LPOLESTR szDescription);
3014
3015 HRESULT (STDMETHODCALLTYPE *SetHelpFile)(
3016 ICreateErrorInfo* This,
3017 LPOLESTR szHelpFile);
3018
3019 HRESULT (STDMETHODCALLTYPE *SetHelpContext)(
3020 ICreateErrorInfo* This,
3021 DWORD dwHelpContext);
3022
3023 END_INTERFACE
3024} ICreateErrorInfoVtbl;
3025interface ICreateErrorInfo {
3026 CONST_VTBL ICreateErrorInfoVtbl* lpVtbl;
3027};
3028
3029#ifdef COBJMACROS
3030/*** IUnknown methods ***/
3031#define ICreateErrorInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3032#define ICreateErrorInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
3033#define ICreateErrorInfo_Release(This) (This)->lpVtbl->Release(This)
3034/*** ICreateErrorInfo methods ***/
3035#define ICreateErrorInfo_SetGUID(This,rguid) (This)->lpVtbl->SetGUID(This,rguid)
3036#define ICreateErrorInfo_SetSource(This,szSource) (This)->lpVtbl->SetSource(This,szSource)
3037#define ICreateErrorInfo_SetDescription(This,szDescription) (This)->lpVtbl->SetDescription(This,szDescription)
3038#define ICreateErrorInfo_SetHelpFile(This,szHelpFile) (This)->lpVtbl->SetHelpFile(This,szHelpFile)
3039#define ICreateErrorInfo_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext)
3040#endif
3041
3042#endif
3043
3044HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetGUID_Proxy(
3045 ICreateErrorInfo* This,
3046 REFGUID rguid);
3047void __RPC_STUB ICreateErrorInfo_SetGUID_Stub(
3048 IRpcStubBuffer* This,
3049 IRpcChannelBuffer* pRpcChannelBuffer,
3050 PRPC_MESSAGE pRpcMessage,
3051 DWORD* pdwStubPhase);
3052HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetSource_Proxy(
3053 ICreateErrorInfo* This,
3054 LPOLESTR szSource);
3055void __RPC_STUB ICreateErrorInfo_SetSource_Stub(
3056 IRpcStubBuffer* This,
3057 IRpcChannelBuffer* pRpcChannelBuffer,
3058 PRPC_MESSAGE pRpcMessage,
3059 DWORD* pdwStubPhase);
3060HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetDescription_Proxy(
3061 ICreateErrorInfo* This,
3062 LPOLESTR szDescription);
3063void __RPC_STUB ICreateErrorInfo_SetDescription_Stub(
3064 IRpcStubBuffer* This,
3065 IRpcChannelBuffer* pRpcChannelBuffer,
3066 PRPC_MESSAGE pRpcMessage,
3067 DWORD* pdwStubPhase);
3068HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpFile_Proxy(
3069 ICreateErrorInfo* This,
3070 LPOLESTR szHelpFile);
3071void __RPC_STUB ICreateErrorInfo_SetHelpFile_Stub(
3072 IRpcStubBuffer* This,
3073 IRpcChannelBuffer* pRpcChannelBuffer,
3074 PRPC_MESSAGE pRpcMessage,
3075 DWORD* pdwStubPhase);
3076HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpContext_Proxy(
3077 ICreateErrorInfo* This,
3078 DWORD dwHelpContext);
3079void __RPC_STUB ICreateErrorInfo_SetHelpContext_Stub(
3080 IRpcStubBuffer* This,
3081 IRpcChannelBuffer* pRpcChannelBuffer,
3082 PRPC_MESSAGE pRpcMessage,
3083 DWORD* pdwStubPhase);
3084
3085#endif /* __ICreateErrorInfo_INTERFACE_DEFINED__ */
3086
3087/*****************************************************************************
3088 * ISupportErrorInfo interface
3089 */
3090#ifndef __ISupportErrorInfo_INTERFACE_DEFINED__
3091#define __ISupportErrorInfo_INTERFACE_DEFINED__
3092
3093typedef ISupportErrorInfo *LPSUPPORTERRORINFO;
3094DEFINE_GUID(IID_ISupportErrorInfo, 0xdf0b3d60, 0x548f, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19);
3095#if defined(__cplusplus) && !defined(CINTERFACE)
3096interface ISupportErrorInfo : public IUnknown
3097{
3098 virtual HRESULT STDMETHODCALLTYPE InterfaceSupportsErrorInfo(
3099 REFIID riid) = 0;
3100
3101};
3102#else
3103typedef struct ISupportErrorInfoVtbl {
3104 BEGIN_INTERFACE
3105
3106 /*** IUnknown methods ***/
3107 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3108 ISupportErrorInfo* This,
3109 REFIID riid,
3110 void **ppvObject);
3111
3112 ULONG (STDMETHODCALLTYPE *AddRef)(
3113 ISupportErrorInfo* This);
3114
3115 ULONG (STDMETHODCALLTYPE *Release)(
3116 ISupportErrorInfo* This);
3117
3118 /*** ISupportErrorInfo methods ***/
3119 HRESULT (STDMETHODCALLTYPE *InterfaceSupportsErrorInfo)(
3120 ISupportErrorInfo* This,
3121 REFIID riid);
3122
3123 END_INTERFACE
3124} ISupportErrorInfoVtbl;
3125interface ISupportErrorInfo {
3126 CONST_VTBL ISupportErrorInfoVtbl* lpVtbl;
3127};
3128
3129#ifdef COBJMACROS
3130/*** IUnknown methods ***/
3131#define ISupportErrorInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3132#define ISupportErrorInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
3133#define ISupportErrorInfo_Release(This) (This)->lpVtbl->Release(This)
3134/*** ISupportErrorInfo methods ***/
3135#define ISupportErrorInfo_InterfaceSupportsErrorInfo(This,riid) (This)->lpVtbl->InterfaceSupportsErrorInfo(This,riid)
3136#endif
3137
3138#endif
3139
3140HRESULT STDMETHODCALLTYPE ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy(
3141 ISupportErrorInfo* This,
3142 REFIID riid);
3143void __RPC_STUB ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub(
3144 IRpcStubBuffer* This,
3145 IRpcChannelBuffer* pRpcChannelBuffer,
3146 PRPC_MESSAGE pRpcMessage,
3147 DWORD* pdwStubPhase);
3148
3149#endif /* __ISupportErrorInfo_INTERFACE_DEFINED__ */
3150
3151/*****************************************************************************
3152 * ITypeFactory interface
3153 */
3154#ifndef __ITypeFactory_INTERFACE_DEFINED__
3155#define __ITypeFactory_INTERFACE_DEFINED__
3156
3157DEFINE_GUID(IID_ITypeFactory, 0x0000002e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
3158#if defined(__cplusplus) && !defined(CINTERFACE)
3159interface ITypeFactory : public IUnknown
3160{
3161 virtual HRESULT STDMETHODCALLTYPE CreateFromTypeInfo(
3162 ITypeInfo *pTypeInfo,
3163 REFIID riid,
3164 IUnknown **ppv) = 0;
3165
3166};
3167#else
3168typedef struct ITypeFactoryVtbl {
3169 BEGIN_INTERFACE
3170
3171 /*** IUnknown methods ***/
3172 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3173 ITypeFactory* This,
3174 REFIID riid,
3175 void **ppvObject);
3176
3177 ULONG (STDMETHODCALLTYPE *AddRef)(
3178 ITypeFactory* This);
3179
3180 ULONG (STDMETHODCALLTYPE *Release)(
3181 ITypeFactory* This);
3182
3183 /*** ITypeFactory methods ***/
3184 HRESULT (STDMETHODCALLTYPE *CreateFromTypeInfo)(
3185 ITypeFactory* This,
3186 ITypeInfo *pTypeInfo,
3187 REFIID riid,
3188 IUnknown **ppv);
3189
3190 END_INTERFACE
3191} ITypeFactoryVtbl;
3192interface ITypeFactory {
3193 CONST_VTBL ITypeFactoryVtbl* lpVtbl;
3194};
3195
3196#ifdef COBJMACROS
3197/*** IUnknown methods ***/
3198#define ITypeFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3199#define ITypeFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
3200#define ITypeFactory_Release(This) (This)->lpVtbl->Release(This)
3201/*** ITypeFactory methods ***/
3202#define ITypeFactory_CreateFromTypeInfo(This,pTypeInfo,riid,ppv) (This)->lpVtbl->CreateFromTypeInfo(This,pTypeInfo,riid,ppv)
3203#endif
3204
3205#endif
3206
3207HRESULT STDMETHODCALLTYPE ITypeFactory_CreateFromTypeInfo_Proxy(
3208 ITypeFactory* This,
3209 ITypeInfo *pTypeInfo,
3210 REFIID riid,
3211 IUnknown **ppv);
3212void __RPC_STUB ITypeFactory_CreateFromTypeInfo_Stub(
3213 IRpcStubBuffer* This,
3214 IRpcChannelBuffer* pRpcChannelBuffer,
3215 PRPC_MESSAGE pRpcMessage,
3216 DWORD* pdwStubPhase);
3217
3218#endif /* __ITypeFactory_INTERFACE_DEFINED__ */
3219
3220/*****************************************************************************
3221 * ITypeMarshal interface
3222 */
3223#ifndef __ITypeMarshal_INTERFACE_DEFINED__
3224#define __ITypeMarshal_INTERFACE_DEFINED__
3225
3226DEFINE_GUID(IID_ITypeMarshal, 0x0000002d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
3227#if defined(__cplusplus) && !defined(CINTERFACE)
3228interface ITypeMarshal : public IUnknown
3229{
3230 virtual HRESULT STDMETHODCALLTYPE Size(
3231 PVOID pvType,
3232 DWORD dwDestContext,
3233 PVOID pvDestContext,
3234 ULONG *pSize) = 0;
3235
3236 virtual HRESULT STDMETHODCALLTYPE Marshal(
3237 PVOID pvType,
3238 DWORD dwDestContext,
3239 PVOID pvDestContext,
3240 ULONG cbBufferLength,
3241 BYTE *pBuffer,
3242 ULONG *pcbWritten) = 0;
3243
3244 virtual HRESULT STDMETHODCALLTYPE Unmarshal(
3245 PVOID pvType,
3246 DWORD dwFlags,
3247 ULONG cbBufferLength,
3248 BYTE *pBuffer,
3249 ULONG *pcbRead) = 0;
3250
3251 virtual HRESULT STDMETHODCALLTYPE Free(
3252 PVOID pvType) = 0;
3253
3254};
3255#else
3256typedef struct ITypeMarshalVtbl {
3257 BEGIN_INTERFACE
3258
3259 /*** IUnknown methods ***/
3260 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3261 ITypeMarshal* This,
3262 REFIID riid,
3263 void **ppvObject);
3264
3265 ULONG (STDMETHODCALLTYPE *AddRef)(
3266 ITypeMarshal* This);
3267
3268 ULONG (STDMETHODCALLTYPE *Release)(
3269 ITypeMarshal* This);
3270
3271 /*** ITypeMarshal methods ***/
3272 HRESULT (STDMETHODCALLTYPE *Size)(
3273 ITypeMarshal* This,
3274 PVOID pvType,
3275 DWORD dwDestContext,
3276 PVOID pvDestContext,
3277 ULONG *pSize);
3278
3279 HRESULT (STDMETHODCALLTYPE *Marshal)(
3280 ITypeMarshal* This,
3281 PVOID pvType,
3282 DWORD dwDestContext,
3283 PVOID pvDestContext,
3284 ULONG cbBufferLength,
3285 BYTE *pBuffer,
3286 ULONG *pcbWritten);
3287
3288 HRESULT (STDMETHODCALLTYPE *Unmarshal)(
3289 ITypeMarshal* This,
3290 PVOID pvType,
3291 DWORD dwFlags,
3292 ULONG cbBufferLength,
3293 BYTE *pBuffer,
3294 ULONG *pcbRead);
3295
3296 HRESULT (STDMETHODCALLTYPE *Free)(
3297 ITypeMarshal* This,
3298 PVOID pvType);
3299
3300 END_INTERFACE
3301} ITypeMarshalVtbl;
3302interface ITypeMarshal {
3303 CONST_VTBL ITypeMarshalVtbl* lpVtbl;
3304};
3305
3306#ifdef COBJMACROS
3307/*** IUnknown methods ***/
3308#define ITypeMarshal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3309#define ITypeMarshal_AddRef(This) (This)->lpVtbl->AddRef(This)
3310#define ITypeMarshal_Release(This) (This)->lpVtbl->Release(This)
3311/*** ITypeMarshal methods ***/
3312#define ITypeMarshal_Size(This,pvType,dwDestContext,pvDestContext,pSize) (This)->lpVtbl->Size(This,pvType,dwDestContext,pvDestContext,pSize)
3313#define ITypeMarshal_Marshal(This,pvType,dwDestContext,pvDestContext,cbBufferLength,pBuffer,pcbWritten) (This)->lpVtbl->Marshal(This,pvType,dwDestContext,pvDestContext,cbBufferLength,pBuffer,pcbWritten)
3314#define ITypeMarshal_Unmarshal(This,pvType,dwFlags,cbBufferLength,pBuffer,pcbRead) (This)->lpVtbl->Unmarshal(This,pvType,dwFlags,cbBufferLength,pBuffer,pcbRead)
3315#define ITypeMarshal_Free(This,pvType) (This)->lpVtbl->Free(This,pvType)
3316#endif
3317
3318#endif
3319
3320HRESULT STDMETHODCALLTYPE ITypeMarshal_Size_Proxy(
3321 ITypeMarshal* This,
3322 PVOID pvType,
3323 DWORD dwDestContext,
3324 PVOID pvDestContext,
3325 ULONG *pSize);
3326void __RPC_STUB ITypeMarshal_Size_Stub(
3327 IRpcStubBuffer* This,
3328 IRpcChannelBuffer* pRpcChannelBuffer,
3329 PRPC_MESSAGE pRpcMessage,
3330 DWORD* pdwStubPhase);
3331HRESULT STDMETHODCALLTYPE ITypeMarshal_Marshal_Proxy(
3332 ITypeMarshal* This,
3333 PVOID pvType,
3334 DWORD dwDestContext,
3335 PVOID pvDestContext,
3336 ULONG cbBufferLength,
3337 BYTE *pBuffer,
3338 ULONG *pcbWritten);
3339void __RPC_STUB ITypeMarshal_Marshal_Stub(
3340 IRpcStubBuffer* This,
3341 IRpcChannelBuffer* pRpcChannelBuffer,
3342 PRPC_MESSAGE pRpcMessage,
3343 DWORD* pdwStubPhase);
3344HRESULT STDMETHODCALLTYPE ITypeMarshal_Unmarshal_Proxy(
3345 ITypeMarshal* This,
3346 PVOID pvType,
3347 DWORD dwFlags,
3348 ULONG cbBufferLength,
3349 BYTE *pBuffer,
3350 ULONG *pcbRead);
3351void __RPC_STUB ITypeMarshal_Unmarshal_Stub(
3352 IRpcStubBuffer* This,
3353 IRpcChannelBuffer* pRpcChannelBuffer,
3354 PRPC_MESSAGE pRpcMessage,
3355 DWORD* pdwStubPhase);
3356HRESULT STDMETHODCALLTYPE ITypeMarshal_Free_Proxy(
3357 ITypeMarshal* This,
3358 PVOID pvType);
3359void __RPC_STUB ITypeMarshal_Free_Stub(
3360 IRpcStubBuffer* This,
3361 IRpcChannelBuffer* pRpcChannelBuffer,
3362 PRPC_MESSAGE pRpcMessage,
3363 DWORD* pdwStubPhase);
3364
3365#endif /* __ITypeMarshal_INTERFACE_DEFINED__ */
3366
3367/*****************************************************************************
3368 * IRecordInfo interface
3369 */
3370#ifndef __IRecordInfo_INTERFACE_DEFINED__
3371#define __IRecordInfo_INTERFACE_DEFINED__
3372
3373typedef IRecordInfo *LPRECORDINFO;
3374DEFINE_GUID(IID_IRecordInfo, 0x0000002f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
3375#if defined(__cplusplus) && !defined(CINTERFACE)
3376interface IRecordInfo : public IUnknown
3377{
3378 virtual HRESULT STDMETHODCALLTYPE RecordInit(
3379 PVOID pvNew) = 0;
3380
3381 virtual HRESULT STDMETHODCALLTYPE RecordClear(
3382 PVOID pvExisting) = 0;
3383
3384 virtual HRESULT STDMETHODCALLTYPE RecordCopy(
3385 PVOID pvExisting,
3386 PVOID pvNew) = 0;
3387
3388 virtual HRESULT STDMETHODCALLTYPE GetGuid(
3389 GUID *pguid) = 0;
3390
3391 virtual HRESULT STDMETHODCALLTYPE GetName(
3392 BSTR *pbstrName) = 0;
3393
3394 virtual HRESULT STDMETHODCALLTYPE GetSize(
3395 ULONG *pcbSize) = 0;
3396
3397 virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(
3398 ITypeInfo **ppTypeInfo) = 0;
3399
3400 virtual HRESULT STDMETHODCALLTYPE GetField(
3401 PVOID pvData,
3402 LPCOLESTR szFieldName,
3403 VARIANT *pvarField) = 0;
3404
3405 virtual HRESULT STDMETHODCALLTYPE GetFieldNoCopy(
3406 PVOID pvData,
3407 LPCOLESTR szFieldName,
3408 VARIANT *pvarField,
3409 PVOID *ppvDataCArray) = 0;
3410
3411 virtual HRESULT STDMETHODCALLTYPE PutField(
3412 ULONG wFlags,
3413 PVOID pvData,
3414 LPCOLESTR szFieldName,
3415 VARIANT *pvarField) = 0;
3416
3417 virtual HRESULT STDMETHODCALLTYPE PutFieldNoCopy(
3418 ULONG wFlags,
3419 PVOID pvData,
3420 LPCOLESTR szFieldName,
3421 VARIANT *pvarField) = 0;
3422
3423 virtual HRESULT STDMETHODCALLTYPE GetFieldNames(
3424 ULONG *pcNames,
3425 BSTR *rgBstrNames) = 0;
3426
3427 virtual BOOL STDMETHODCALLTYPE IsMatchingType(
3428 IRecordInfo *pRecordInfo) = 0;
3429
3430 virtual PVOID STDMETHODCALLTYPE RecordCreate(
3431 ) = 0;
3432
3433 virtual HRESULT STDMETHODCALLTYPE RecordCreateCopy(
3434 PVOID pvSource,
3435 PVOID *ppvDest) = 0;
3436
3437 virtual HRESULT STDMETHODCALLTYPE RecordDestroy(
3438 PVOID pvRecord) = 0;
3439
3440};
3441#else
3442typedef struct IRecordInfoVtbl {
3443 BEGIN_INTERFACE
3444
3445 /*** IUnknown methods ***/
3446 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3447 IRecordInfo* This,
3448 REFIID riid,
3449 void **ppvObject);
3450
3451 ULONG (STDMETHODCALLTYPE *AddRef)(
3452 IRecordInfo* This);
3453
3454 ULONG (STDMETHODCALLTYPE *Release)(
3455 IRecordInfo* This);
3456
3457 /*** IRecordInfo methods ***/
3458 HRESULT (STDMETHODCALLTYPE *RecordInit)(
3459 IRecordInfo* This,
3460 PVOID pvNew);
3461
3462 HRESULT (STDMETHODCALLTYPE *RecordClear)(
3463 IRecordInfo* This,
3464 PVOID pvExisting);
3465
3466 HRESULT (STDMETHODCALLTYPE *RecordCopy)(
3467 IRecordInfo* This,
3468 PVOID pvExisting,
3469 PVOID pvNew);
3470
3471 HRESULT (STDMETHODCALLTYPE *GetGuid)(
3472 IRecordInfo* This,
3473 GUID *pguid);
3474
3475 HRESULT (STDMETHODCALLTYPE *GetName)(
3476 IRecordInfo* This,
3477 BSTR *pbstrName);
3478
3479 HRESULT (STDMETHODCALLTYPE *GetSize)(
3480 IRecordInfo* This,
3481 ULONG *pcbSize);
3482
3483 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
3484 IRecordInfo* This,
3485 ITypeInfo **ppTypeInfo);
3486
3487 HRESULT (STDMETHODCALLTYPE *GetField)(
3488 IRecordInfo* This,
3489 PVOID pvData,
3490 LPCOLESTR szFieldName,
3491 VARIANT *pvarField);
3492
3493 HRESULT (STDMETHODCALLTYPE *GetFieldNoCopy)(
3494 IRecordInfo* This,
3495 PVOID pvData,
3496 LPCOLESTR szFieldName,
3497 VARIANT *pvarField,
3498 PVOID *ppvDataCArray);
3499
3500 HRESULT (STDMETHODCALLTYPE *PutField)(
3501 IRecordInfo* This,
3502 ULONG wFlags,
3503 PVOID pvData,
3504 LPCOLESTR szFieldName,
3505 VARIANT *pvarField);
3506
3507 HRESULT (STDMETHODCALLTYPE *PutFieldNoCopy)(
3508 IRecordInfo* This,
3509 ULONG wFlags,
3510 PVOID pvData,
3511 LPCOLESTR szFieldName,
3512 VARIANT *pvarField);
3513
3514 HRESULT (STDMETHODCALLTYPE *GetFieldNames)(
3515 IRecordInfo* This,
3516 ULONG *pcNames,
3517 BSTR *rgBstrNames);
3518
3519 BOOL (STDMETHODCALLTYPE *IsMatchingType)(
3520 IRecordInfo* This,
3521 IRecordInfo *pRecordInfo);
3522
3523 PVOID (STDMETHODCALLTYPE *RecordCreate)(
3524 IRecordInfo* This);
3525
3526 HRESULT (STDMETHODCALLTYPE *RecordCreateCopy)(
3527 IRecordInfo* This,
3528 PVOID pvSource,
3529 PVOID *ppvDest);
3530
3531 HRESULT (STDMETHODCALLTYPE *RecordDestroy)(
3532 IRecordInfo* This,
3533 PVOID pvRecord);
3534
3535 END_INTERFACE
3536} IRecordInfoVtbl;
3537interface IRecordInfo {
3538 CONST_VTBL IRecordInfoVtbl* lpVtbl;
3539};
3540
3541#ifdef COBJMACROS
3542/*** IUnknown methods ***/
3543#define IRecordInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3544#define IRecordInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
3545#define IRecordInfo_Release(This) (This)->lpVtbl->Release(This)
3546/*** IRecordInfo methods ***/
3547#define IRecordInfo_RecordInit(This,pvNew) (This)->lpVtbl->RecordInit(This,pvNew)
3548#define IRecordInfo_RecordClear(This,pvExisting) (This)->lpVtbl->RecordClear(This,pvExisting)
3549#define IRecordInfo_RecordCopy(This,pvExisting,pvNew) (This)->lpVtbl->RecordCopy(This,pvExisting,pvNew)
3550#define IRecordInfo_GetGuid(This,pguid) (This)->lpVtbl->GetGuid(This,pguid)
3551#define IRecordInfo_GetName(This,pbstrName) (This)->lpVtbl->GetName(This,pbstrName)
3552#define IRecordInfo_GetSize(This,pcbSize) (This)->lpVtbl->GetSize(This,pcbSize)
3553#define IRecordInfo_GetTypeInfo(This,ppTypeInfo) (This)->lpVtbl->GetTypeInfo(This,ppTypeInfo)
3554#define IRecordInfo_GetField(This,pvData,szFieldName,pvarField) (This)->lpVtbl->GetField(This,pvData,szFieldName,pvarField)
3555#define IRecordInfo_GetFieldNoCopy(This,pvData,szFieldName,pvarField,ppvDataCArray) (This)->lpVtbl->GetFieldNoCopy(This,pvData,szFieldName,pvarField,ppvDataCArray)
3556#define IRecordInfo_PutField(This,wFlags,pvData,szFieldName,pvarField) (This)->lpVtbl->PutField(This,wFlags,pvData,szFieldName,pvarField)
3557#define IRecordInfo_PutFieldNoCopy(This,wFlags,pvData,szFieldName,pvarField) (This)->lpVtbl->PutFieldNoCopy(This,wFlags,pvData,szFieldName,pvarField)
3558#define IRecordInfo_GetFieldNames(This,pcNames,rgBstrNames) (This)->lpVtbl->GetFieldNames(This,pcNames,rgBstrNames)
3559#define IRecordInfo_IsMatchingType(This,pRecordInfo) (This)->lpVtbl->IsMatchingType(This,pRecordInfo)
3560#define IRecordInfo_RecordCreate(This) (This)->lpVtbl->RecordCreate(This)
3561#define IRecordInfo_RecordCreateCopy(This,pvSource,ppvDest) (This)->lpVtbl->RecordCreateCopy(This,pvSource,ppvDest)
3562#define IRecordInfo_RecordDestroy(This,pvRecord) (This)->lpVtbl->RecordDestroy(This,pvRecord)
3563#endif
3564
3565#endif
3566
3567HRESULT STDMETHODCALLTYPE IRecordInfo_RecordInit_Proxy(
3568 IRecordInfo* This,
3569 PVOID pvNew);
3570void __RPC_STUB IRecordInfo_RecordInit_Stub(
3571 IRpcStubBuffer* This,
3572 IRpcChannelBuffer* pRpcChannelBuffer,
3573 PRPC_MESSAGE pRpcMessage,
3574 DWORD* pdwStubPhase);
3575HRESULT STDMETHODCALLTYPE IRecordInfo_RecordClear_Proxy(
3576 IRecordInfo* This,
3577 PVOID pvExisting);
3578void __RPC_STUB IRecordInfo_RecordClear_Stub(
3579 IRpcStubBuffer* This,
3580 IRpcChannelBuffer* pRpcChannelBuffer,
3581 PRPC_MESSAGE pRpcMessage,
3582 DWORD* pdwStubPhase);
3583HRESULT STDMETHODCALLTYPE IRecordInfo_RecordCopy_Proxy(
3584 IRecordInfo* This,
3585 PVOID pvExisting,
3586 PVOID pvNew);
3587void __RPC_STUB IRecordInfo_RecordCopy_Stub(
3588 IRpcStubBuffer* This,
3589 IRpcChannelBuffer* pRpcChannelBuffer,
3590 PRPC_MESSAGE pRpcMessage,
3591 DWORD* pdwStubPhase);
3592HRESULT STDMETHODCALLTYPE IRecordInfo_GetGuid_Proxy(
3593 IRecordInfo* This,
3594 GUID *pguid);
3595void __RPC_STUB IRecordInfo_GetGuid_Stub(
3596 IRpcStubBuffer* This,
3597 IRpcChannelBuffer* pRpcChannelBuffer,
3598 PRPC_MESSAGE pRpcMessage,
3599 DWORD* pdwStubPhase);
3600HRESULT STDMETHODCALLTYPE IRecordInfo_GetName_Proxy(
3601 IRecordInfo* This,
3602 BSTR *pbstrName);
3603void __RPC_STUB IRecordInfo_GetName_Stub(
3604 IRpcStubBuffer* This,
3605 IRpcChannelBuffer* pRpcChannelBuffer,
3606 PRPC_MESSAGE pRpcMessage,
3607 DWORD* pdwStubPhase);
3608HRESULT STDMETHODCALLTYPE IRecordInfo_GetSize_Proxy(
3609 IRecordInfo* This,
3610 ULONG *pcbSize);
3611void __RPC_STUB IRecordInfo_GetSize_Stub(
3612 IRpcStubBuffer* This,
3613 IRpcChannelBuffer* pRpcChannelBuffer,
3614 PRPC_MESSAGE pRpcMessage,
3615 DWORD* pdwStubPhase);
3616HRESULT STDMETHODCALLTYPE IRecordInfo_GetTypeInfo_Proxy(
3617 IRecordInfo* This,
3618 ITypeInfo **ppTypeInfo);
3619void __RPC_STUB IRecordInfo_GetTypeInfo_Stub(
3620 IRpcStubBuffer* This,
3621 IRpcChannelBuffer* pRpcChannelBuffer,
3622 PRPC_MESSAGE pRpcMessage,
3623 DWORD* pdwStubPhase);
3624HRESULT STDMETHODCALLTYPE IRecordInfo_GetField_Proxy(
3625 IRecordInfo* This,
3626 PVOID pvData,
3627 LPCOLESTR szFieldName,
3628 VARIANT *pvarField);
3629void __RPC_STUB IRecordInfo_GetField_Stub(
3630 IRpcStubBuffer* This,
3631 IRpcChannelBuffer* pRpcChannelBuffer,
3632 PRPC_MESSAGE pRpcMessage,
3633 DWORD* pdwStubPhase);
3634HRESULT STDMETHODCALLTYPE IRecordInfo_GetFieldNoCopy_Proxy(
3635 IRecordInfo* This,
3636 PVOID pvData,
3637 LPCOLESTR szFieldName,
3638 VARIANT *pvarField,
3639 PVOID *ppvDataCArray);
3640void __RPC_STUB IRecordInfo_GetFieldNoCopy_Stub(
3641 IRpcStubBuffer* This,
3642 IRpcChannelBuffer* pRpcChannelBuffer,
3643 PRPC_MESSAGE pRpcMessage,
3644 DWORD* pdwStubPhase);
3645HRESULT STDMETHODCALLTYPE IRecordInfo_PutField_Proxy(
3646 IRecordInfo* This,
3647 ULONG wFlags,
3648 PVOID pvData,
3649 LPCOLESTR szFieldName,
3650 VARIANT *pvarField);
3651void __RPC_STUB IRecordInfo_PutField_Stub(
3652 IRpcStubBuffer* This,
3653 IRpcChannelBuffer* pRpcChannelBuffer,
3654 PRPC_MESSAGE pRpcMessage,
3655 DWORD* pdwStubPhase);
3656HRESULT STDMETHODCALLTYPE IRecordInfo_PutFieldNoCopy_Proxy(
3657 IRecordInfo* This,
3658 ULONG wFlags,
3659 PVOID pvData,
3660 LPCOLESTR szFieldName,
3661 VARIANT *pvarField);
3662void __RPC_STUB IRecordInfo_PutFieldNoCopy_Stub(
3663 IRpcStubBuffer* This,
3664 IRpcChannelBuffer* pRpcChannelBuffer,
3665 PRPC_MESSAGE pRpcMessage,
3666 DWORD* pdwStubPhase);
3667HRESULT STDMETHODCALLTYPE IRecordInfo_GetFieldNames_Proxy(
3668 IRecordInfo* This,
3669 ULONG *pcNames,
3670 BSTR *rgBstrNames);
3671void __RPC_STUB IRecordInfo_GetFieldNames_Stub(
3672 IRpcStubBuffer* This,
3673 IRpcChannelBuffer* pRpcChannelBuffer,
3674 PRPC_MESSAGE pRpcMessage,
3675 DWORD* pdwStubPhase);
3676BOOL STDMETHODCALLTYPE IRecordInfo_IsMatchingType_Proxy(
3677 IRecordInfo* This,
3678 IRecordInfo *pRecordInfo);
3679void __RPC_STUB IRecordInfo_IsMatchingType_Stub(
3680 IRpcStubBuffer* This,
3681 IRpcChannelBuffer* pRpcChannelBuffer,
3682 PRPC_MESSAGE pRpcMessage,
3683 DWORD* pdwStubPhase);
3684PVOID STDMETHODCALLTYPE IRecordInfo_RecordCreate_Proxy(
3685 IRecordInfo* This);
3686void __RPC_STUB IRecordInfo_RecordCreate_Stub(
3687 IRpcStubBuffer* This,
3688 IRpcChannelBuffer* pRpcChannelBuffer,
3689 PRPC_MESSAGE pRpcMessage,
3690 DWORD* pdwStubPhase);
3691HRESULT STDMETHODCALLTYPE IRecordInfo_RecordCreateCopy_Proxy(
3692 IRecordInfo* This,
3693 PVOID pvSource,
3694 PVOID *ppvDest);
3695void __RPC_STUB IRecordInfo_RecordCreateCopy_Stub(
3696 IRpcStubBuffer* This,
3697 IRpcChannelBuffer* pRpcChannelBuffer,
3698 PRPC_MESSAGE pRpcMessage,
3699 DWORD* pdwStubPhase);
3700HRESULT STDMETHODCALLTYPE IRecordInfo_RecordDestroy_Proxy(
3701 IRecordInfo* This,
3702 PVOID pvRecord);
3703void __RPC_STUB IRecordInfo_RecordDestroy_Stub(
3704 IRpcStubBuffer* This,
3705 IRpcChannelBuffer* pRpcChannelBuffer,
3706 PRPC_MESSAGE pRpcMessage,
3707 DWORD* pdwStubPhase);
3708
3709#endif /* __IRecordInfo_INTERFACE_DEFINED__ */
3710
3711/*****************************************************************************
3712 * ICreateTypeInfo interface
3713 */
3714#ifndef __ICreateTypeInfo_INTERFACE_DEFINED__
3715#define __ICreateTypeInfo_INTERFACE_DEFINED__
3716
3717typedef ICreateTypeInfo *LPCREATETYPEINFO;
3718DEFINE_GUID(IID_ICreateTypeInfo, 0x00020405, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
3719#if defined(__cplusplus) && !defined(CINTERFACE)
3720interface ICreateTypeInfo : public IUnknown
3721{
3722 virtual HRESULT STDMETHODCALLTYPE SetGuid(
3723 REFGUID guid) = 0;
3724
3725 virtual HRESULT STDMETHODCALLTYPE SetTypeFlags(
3726 UINT uTypeFlags) = 0;
3727
3728 virtual HRESULT STDMETHODCALLTYPE SetDocString(
3729 LPOLESTR pStrDoc) = 0;
3730
3731 virtual HRESULT STDMETHODCALLTYPE SetHelpContext(
3732 DWORD dwHelpContext) = 0;
3733
3734 virtual HRESULT STDMETHODCALLTYPE SetVersion(
3735 WORD wMajorVerNum,
3736 WORD wMinorVerNum) = 0;
3737
3738 virtual HRESULT STDMETHODCALLTYPE AddRefTypeInfo(
3739 ITypeInfo *pTInfo,
3740 HREFTYPE *phRefType) = 0;
3741
3742 virtual HRESULT STDMETHODCALLTYPE AddFuncDesc(
3743 UINT index,
3744 FUNCDESC *pFuncDesc) = 0;
3745
3746 virtual HRESULT STDMETHODCALLTYPE AddImplType(
3747 UINT index,
3748 HREFTYPE hRefType) = 0;
3749
3750 virtual HRESULT STDMETHODCALLTYPE SetImplTypeFlags(
3751 UINT index,
3752 INT implTypeFlags) = 0;
3753
3754 virtual HRESULT STDMETHODCALLTYPE SetAlignment(
3755 WORD cbAlignment) = 0;
3756
3757 virtual HRESULT STDMETHODCALLTYPE SetSchema(
3758 LPOLESTR pStrSchema) = 0;
3759
3760 virtual HRESULT STDMETHODCALLTYPE AddVarDesc(
3761 UINT index,
3762 VARDESC *pVarDesc) = 0;
3763
3764 virtual HRESULT STDMETHODCALLTYPE SetFuncAndParamNames(
3765 UINT index,
3766 LPOLESTR *rgszNames,
3767 UINT cNames) = 0;
3768
3769 virtual HRESULT STDMETHODCALLTYPE SetVarName(
3770 UINT index,
3771 LPOLESTR szName) = 0;
3772
3773 virtual HRESULT STDMETHODCALLTYPE SetTypeDescAlias(
3774 TYPEDESC *pTDescAlias) = 0;
3775
3776 virtual HRESULT STDMETHODCALLTYPE DefineFuncAsDllEntry(
3777 UINT index,
3778 LPOLESTR szDllName,
3779 LPOLESTR szProcName) = 0;
3780
3781 virtual HRESULT STDMETHODCALLTYPE SetFuncDocString(
3782 UINT index,
3783 LPOLESTR szDocString) = 0;
3784
3785 virtual HRESULT STDMETHODCALLTYPE SetVarDocString(
3786 UINT index,
3787 LPOLESTR szDocString) = 0;
3788
3789 virtual HRESULT STDMETHODCALLTYPE SetFuncHelpContext(
3790 UINT index,
3791 DWORD dwHelpContext) = 0;
3792
3793 virtual HRESULT STDMETHODCALLTYPE SetVarHelpContext(
3794 UINT index,
3795 DWORD dwHelpContext) = 0;
3796
3797 virtual HRESULT STDMETHODCALLTYPE SetMops(
3798 UINT index,
3799 BSTR bstrMops) = 0;
3800
3801 virtual HRESULT STDMETHODCALLTYPE SetTypeIdldesc(
3802 IDLDESC *pIdlDesc) = 0;
3803
3804 virtual HRESULT STDMETHODCALLTYPE LayOut(
3805 ) = 0;
3806
3807};
3808#else
3809typedef struct ICreateTypeInfoVtbl {
3810 BEGIN_INTERFACE
3811
3812 /*** IUnknown methods ***/
3813 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3814 ICreateTypeInfo* This,
3815 REFIID riid,
3816 void **ppvObject);
3817
3818 ULONG (STDMETHODCALLTYPE *AddRef)(
3819 ICreateTypeInfo* This);
3820
3821 ULONG (STDMETHODCALLTYPE *Release)(
3822 ICreateTypeInfo* This);
3823
3824 /*** ICreateTypeInfo methods ***/
3825 HRESULT (STDMETHODCALLTYPE *SetGuid)(
3826 ICreateTypeInfo* This,
3827 REFGUID guid);
3828
3829 HRESULT (STDMETHODCALLTYPE *SetTypeFlags)(
3830 ICreateTypeInfo* This,
3831 UINT uTypeFlags);
3832
3833 HRESULT (STDMETHODCALLTYPE *SetDocString)(
3834 ICreateTypeInfo* This,
3835 LPOLESTR pStrDoc);
3836
3837 HRESULT (STDMETHODCALLTYPE *SetHelpContext)(
3838 ICreateTypeInfo* This,
3839 DWORD dwHelpContext);
3840
3841 HRESULT (STDMETHODCALLTYPE *SetVersion)(
3842 ICreateTypeInfo* This,
3843 WORD wMajorVerNum,
3844 WORD wMinorVerNum);
3845
3846 HRESULT (STDMETHODCALLTYPE *AddRefTypeInfo)(
3847 ICreateTypeInfo* This,
3848 ITypeInfo *pTInfo,
3849 HREFTYPE *phRefType);
3850
3851 HRESULT (STDMETHODCALLTYPE *AddFuncDesc)(
3852 ICreateTypeInfo* This,
3853 UINT index,
3854 FUNCDESC *pFuncDesc);
3855
3856 HRESULT (STDMETHODCALLTYPE *AddImplType)(
3857 ICreateTypeInfo* This,
3858 UINT index,
3859 HREFTYPE hRefType);
3860
3861 HRESULT (STDMETHODCALLTYPE *SetImplTypeFlags)(
3862 ICreateTypeInfo* This,
3863 UINT index,
3864 INT implTypeFlags);
3865
3866 HRESULT (STDMETHODCALLTYPE *SetAlignment)(
3867 ICreateTypeInfo* This,
3868 WORD cbAlignment);
3869
3870 HRESULT (STDMETHODCALLTYPE *SetSchema)(
3871 ICreateTypeInfo* This,
3872 LPOLESTR pStrSchema);
3873
3874 HRESULT (STDMETHODCALLTYPE *AddVarDesc)(
3875 ICreateTypeInfo* This,
3876 UINT index,
3877 VARDESC *pVarDesc);
3878
3879 HRESULT (STDMETHODCALLTYPE *SetFuncAndParamNames)(
3880 ICreateTypeInfo* This,
3881 UINT index,
3882 LPOLESTR *rgszNames,
3883 UINT cNames);
3884
3885 HRESULT (STDMETHODCALLTYPE *SetVarName)(
3886 ICreateTypeInfo* This,
3887 UINT index,
3888 LPOLESTR szName);
3889
3890 HRESULT (STDMETHODCALLTYPE *SetTypeDescAlias)(
3891 ICreateTypeInfo* This,
3892 TYPEDESC *pTDescAlias);
3893
3894 HRESULT (STDMETHODCALLTYPE *DefineFuncAsDllEntry)(
3895 ICreateTypeInfo* This,
3896 UINT index,
3897 LPOLESTR szDllName,
3898 LPOLESTR szProcName);
3899
3900 HRESULT (STDMETHODCALLTYPE *SetFuncDocString)(
3901 ICreateTypeInfo* This,
3902 UINT index,
3903 LPOLESTR szDocString);
3904
3905 HRESULT (STDMETHODCALLTYPE *SetVarDocString)(
3906 ICreateTypeInfo* This,
3907 UINT index,
3908 LPOLESTR szDocString);
3909
3910 HRESULT (STDMETHODCALLTYPE *SetFuncHelpContext)(
3911 ICreateTypeInfo* This,
3912 UINT index,
3913 DWORD dwHelpContext);
3914
3915 HRESULT (STDMETHODCALLTYPE *SetVarHelpContext)(
3916 ICreateTypeInfo* This,
3917 UINT index,
3918 DWORD dwHelpContext);
3919
3920 HRESULT (STDMETHODCALLTYPE *SetMops)(
3921 ICreateTypeInfo* This,
3922 UINT index,
3923 BSTR bstrMops);
3924
3925 HRESULT (STDMETHODCALLTYPE *SetTypeIdldesc)(
3926 ICreateTypeInfo* This,
3927 IDLDESC *pIdlDesc);
3928
3929 HRESULT (STDMETHODCALLTYPE *LayOut)(
3930 ICreateTypeInfo* This);
3931
3932 END_INTERFACE
3933} ICreateTypeInfoVtbl;
3934interface ICreateTypeInfo {
3935 CONST_VTBL ICreateTypeInfoVtbl* lpVtbl;
3936};
3937
3938#ifdef COBJMACROS
3939/*** IUnknown methods ***/
3940#define ICreateTypeInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3941#define ICreateTypeInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
3942#define ICreateTypeInfo_Release(This) (This)->lpVtbl->Release(This)
3943/*** ICreateTypeInfo methods ***/
3944#define ICreateTypeInfo_SetGuid(This,guid) (This)->lpVtbl->SetGuid(This,guid)
3945#define ICreateTypeInfo_SetTypeFlags(This,uTypeFlags) (This)->lpVtbl->SetTypeFlags(This,uTypeFlags)
3946#define ICreateTypeInfo_SetDocString(This,pStrDoc) (This)->lpVtbl->SetDocString(This,pStrDoc)
3947#define ICreateTypeInfo_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext)
3948#define ICreateTypeInfo_SetVersion(This,wMajorVerNum,wMinorVerNum) (This)->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum)
3949#define ICreateTypeInfo_AddRefTypeInfo(This,pTInfo,phRefType) (This)->lpVtbl->AddRefTypeInfo(This,pTInfo,phRefType)
3950#define ICreateTypeInfo_AddFuncDesc(This,index,pFuncDesc) (This)->lpVtbl->AddFuncDesc(This,index,pFuncDesc)
3951#define ICreateTypeInfo_AddImplType(This,index,hRefType) (This)->lpVtbl->AddImplType(This,index,hRefType)
3952#define ICreateTypeInfo_SetImplTypeFlags(This,index,implTypeFlags) (This)->lpVtbl->SetImplTypeFlags(This,index,implTypeFlags)
3953#define ICreateTypeInfo_SetAlignment(This,cbAlignment) (This)->lpVtbl->SetAlignment(This,cbAlignment)
3954#define ICreateTypeInfo_SetSchema(This,pStrSchema) (This)->lpVtbl->SetSchema(This,pStrSchema)
3955#define ICreateTypeInfo_AddVarDesc(This,index,pVarDesc) (This)->lpVtbl->AddVarDesc(This,index,pVarDesc)
3956#define ICreateTypeInfo_SetFuncAndParamNames(This,index,rgszNames,cNames) (This)->lpVtbl->SetFuncAndParamNames(This,index,rgszNames,cNames)
3957#define ICreateTypeInfo_SetVarName(This,index,szName) (This)->lpVtbl->SetVarName(This,index,szName)
3958#define ICreateTypeInfo_SetTypeDescAlias(This,pTDescAlias) (This)->lpVtbl->SetTypeDescAlias(This,pTDescAlias)
3959#define ICreateTypeInfo_DefineFuncAsDllEntry(This,index,szDllName,szProcName) (This)->lpVtbl->DefineFuncAsDllEntry(This,index,szDllName,szProcName)
3960#define ICreateTypeInfo_SetFuncDocString(This,index,szDocString) (This)->lpVtbl->SetFuncDocString(This,index,szDocString)
3961#define ICreateTypeInfo_SetVarDocString(This,index,szDocString) (This)->lpVtbl->SetVarDocString(This,index,szDocString)
3962#define ICreateTypeInfo_SetFuncHelpContext(This,index,dwHelpContext) (This)->lpVtbl->SetFuncHelpContext(This,index,dwHelpContext)
3963#define ICreateTypeInfo_SetVarHelpContext(This,index,dwHelpContext) (This)->lpVtbl->SetVarHelpContext(This,index,dwHelpContext)
3964#define ICreateTypeInfo_SetMops(This,index,bstrMops) (This)->lpVtbl->SetMops(This,index,bstrMops)
3965#define ICreateTypeInfo_SetTypeIdldesc(This,pIdlDesc) (This)->lpVtbl->SetTypeIdldesc(This,pIdlDesc)
3966#define ICreateTypeInfo_LayOut(This) (This)->lpVtbl->LayOut(This)
3967#endif
3968
3969#endif
3970
3971HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetGuid_Proxy(
3972 ICreateTypeInfo* This,
3973 REFGUID guid);
3974void __RPC_STUB ICreateTypeInfo_SetGuid_Stub(
3975 IRpcStubBuffer* This,
3976 IRpcChannelBuffer* pRpcChannelBuffer,
3977 PRPC_MESSAGE pRpcMessage,
3978 DWORD* pdwStubPhase);
3979HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetTypeFlags_Proxy(
3980 ICreateTypeInfo* This,
3981 UINT uTypeFlags);
3982void __RPC_STUB ICreateTypeInfo_SetTypeFlags_Stub(
3983 IRpcStubBuffer* This,
3984 IRpcChannelBuffer* pRpcChannelBuffer,
3985 PRPC_MESSAGE pRpcMessage,
3986 DWORD* pdwStubPhase);
3987HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetDocString_Proxy(
3988 ICreateTypeInfo* This,
3989 LPOLESTR pStrDoc);
3990void __RPC_STUB ICreateTypeInfo_SetDocString_Stub(
3991 IRpcStubBuffer* This,
3992 IRpcChannelBuffer* pRpcChannelBuffer,
3993 PRPC_MESSAGE pRpcMessage,
3994 DWORD* pdwStubPhase);
3995HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetHelpContext_Proxy(
3996 ICreateTypeInfo* This,
3997 DWORD dwHelpContext);
3998void __RPC_STUB ICreateTypeInfo_SetHelpContext_Stub(
3999 IRpcStubBuffer* This,
4000 IRpcChannelBuffer* pRpcChannelBuffer,
4001 PRPC_MESSAGE pRpcMessage,
4002 DWORD* pdwStubPhase);
4003HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetVersion_Proxy(
4004 ICreateTypeInfo* This,
4005 WORD wMajorVerNum,
4006 WORD wMinorVerNum);
4007void __RPC_STUB ICreateTypeInfo_SetVersion_Stub(
4008 IRpcStubBuffer* This,
4009 IRpcChannelBuffer* pRpcChannelBuffer,
4010 PRPC_MESSAGE pRpcMessage,
4011 DWORD* pdwStubPhase);
4012HRESULT STDMETHODCALLTYPE ICreateTypeInfo_AddRefTypeInfo_Proxy(
4013 ICreateTypeInfo* This,
4014 ITypeInfo *pTInfo,
4015 HREFTYPE *phRefType);
4016void __RPC_STUB ICreateTypeInfo_AddRefTypeInfo_Stub(
4017 IRpcStubBuffer* This,
4018 IRpcChannelBuffer* pRpcChannelBuffer,
4019 PRPC_MESSAGE pRpcMessage,
4020 DWORD* pdwStubPhase);
4021HRESULT STDMETHODCALLTYPE ICreateTypeInfo_AddFuncDesc_Proxy(
4022 ICreateTypeInfo* This,
4023 UINT index,
4024 FUNCDESC *pFuncDesc);
4025void __RPC_STUB ICreateTypeInfo_AddFuncDesc_Stub(
4026 IRpcStubBuffer* This,
4027 IRpcChannelBuffer* pRpcChannelBuffer,
4028 PRPC_MESSAGE pRpcMessage,
4029 DWORD* pdwStubPhase);
4030HRESULT STDMETHODCALLTYPE ICreateTypeInfo_AddImplType_Proxy(
4031 ICreateTypeInfo* This,
4032 UINT index,
4033 HREFTYPE hRefType);
4034void __RPC_STUB ICreateTypeInfo_AddImplType_Stub(
4035 IRpcStubBuffer* This,
4036 IRpcChannelBuffer* pRpcChannelBuffer,
4037 PRPC_MESSAGE pRpcMessage,
4038 DWORD* pdwStubPhase);
4039HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetImplTypeFlags_Proxy(
4040 ICreateTypeInfo* This,
4041 UINT index,
4042 INT implTypeFlags);
4043void __RPC_STUB ICreateTypeInfo_SetImplTypeFlags_Stub(
4044 IRpcStubBuffer* This,
4045 IRpcChannelBuffer* pRpcChannelBuffer,
4046 PRPC_MESSAGE pRpcMessage,
4047 DWORD* pdwStubPhase);
4048HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetAlignment_Proxy(
4049 ICreateTypeInfo* This,
4050 WORD cbAlignment);
4051void __RPC_STUB ICreateTypeInfo_SetAlignment_Stub(
4052 IRpcStubBuffer* This,
4053 IRpcChannelBuffer* pRpcChannelBuffer,
4054 PRPC_MESSAGE pRpcMessage,
4055 DWORD* pdwStubPhase);
4056HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetSchema_Proxy(
4057 ICreateTypeInfo* This,
4058 LPOLESTR pStrSchema);
4059void __RPC_STUB ICreateTypeInfo_SetSchema_Stub(
4060 IRpcStubBuffer* This,
4061 IRpcChannelBuffer* pRpcChannelBuffer,
4062 PRPC_MESSAGE pRpcMessage,
4063 DWORD* pdwStubPhase);
4064HRESULT STDMETHODCALLTYPE ICreateTypeInfo_AddVarDesc_Proxy(
4065 ICreateTypeInfo* This,
4066 UINT index,
4067 VARDESC *pVarDesc);
4068void __RPC_STUB ICreateTypeInfo_AddVarDesc_Stub(
4069 IRpcStubBuffer* This,
4070 IRpcChannelBuffer* pRpcChannelBuffer,
4071 PRPC_MESSAGE pRpcMessage,
4072 DWORD* pdwStubPhase);
4073HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetFuncAndParamNames_Proxy(
4074 ICreateTypeInfo* This,
4075 UINT index,
4076 LPOLESTR *rgszNames,
4077 UINT cNames);
4078void __RPC_STUB ICreateTypeInfo_SetFuncAndParamNames_Stub(
4079 IRpcStubBuffer* This,
4080 IRpcChannelBuffer* pRpcChannelBuffer,
4081 PRPC_MESSAGE pRpcMessage,
4082 DWORD* pdwStubPhase);
4083HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetVarName_Proxy(
4084 ICreateTypeInfo* This,
4085 UINT index,
4086 LPOLESTR szName);
4087void __RPC_STUB ICreateTypeInfo_SetVarName_Stub(
4088 IRpcStubBuffer* This,
4089 IRpcChannelBuffer* pRpcChannelBuffer,
4090 PRPC_MESSAGE pRpcMessage,
4091 DWORD* pdwStubPhase);
4092HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetTypeDescAlias_Proxy(
4093 ICreateTypeInfo* This,
4094 TYPEDESC *pTDescAlias);
4095void __RPC_STUB ICreateTypeInfo_SetTypeDescAlias_Stub(
4096 IRpcStubBuffer* This,
4097 IRpcChannelBuffer* pRpcChannelBuffer,
4098 PRPC_MESSAGE pRpcMessage,
4099 DWORD* pdwStubPhase);
4100HRESULT STDMETHODCALLTYPE ICreateTypeInfo_DefineFuncAsDllEntry_Proxy(
4101 ICreateTypeInfo* This,
4102 UINT index,
4103 LPOLESTR szDllName,
4104 LPOLESTR szProcName);
4105void __RPC_STUB ICreateTypeInfo_DefineFuncAsDllEntry_Stub(
4106 IRpcStubBuffer* This,
4107 IRpcChannelBuffer* pRpcChannelBuffer,
4108 PRPC_MESSAGE pRpcMessage,
4109 DWORD* pdwStubPhase);
4110HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetFuncDocString_Proxy(
4111 ICreateTypeInfo* This,
4112 UINT index,
4113 LPOLESTR szDocString);
4114void __RPC_STUB ICreateTypeInfo_SetFuncDocString_Stub(
4115 IRpcStubBuffer* This,
4116 IRpcChannelBuffer* pRpcChannelBuffer,
4117 PRPC_MESSAGE pRpcMessage,
4118 DWORD* pdwStubPhase);
4119HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetVarDocString_Proxy(
4120 ICreateTypeInfo* This,
4121 UINT index,
4122 LPOLESTR szDocString);
4123void __RPC_STUB ICreateTypeInfo_SetVarDocString_Stub(
4124 IRpcStubBuffer* This,
4125 IRpcChannelBuffer* pRpcChannelBuffer,
4126 PRPC_MESSAGE pRpcMessage,
4127 DWORD* pdwStubPhase);
4128HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetFuncHelpContext_Proxy(
4129 ICreateTypeInfo* This,
4130 UINT index,
4131 DWORD dwHelpContext);
4132void __RPC_STUB ICreateTypeInfo_SetFuncHelpContext_Stub(
4133 IRpcStubBuffer* This,
4134 IRpcChannelBuffer* pRpcChannelBuffer,
4135 PRPC_MESSAGE pRpcMessage,
4136 DWORD* pdwStubPhase);
4137HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetVarHelpContext_Proxy(
4138 ICreateTypeInfo* This,
4139 UINT index,
4140 DWORD dwHelpContext);
4141void __RPC_STUB ICreateTypeInfo_SetVarHelpContext_Stub(
4142 IRpcStubBuffer* This,
4143 IRpcChannelBuffer* pRpcChannelBuffer,
4144 PRPC_MESSAGE pRpcMessage,
4145 DWORD* pdwStubPhase);
4146HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetMops_Proxy(
4147 ICreateTypeInfo* This,
4148 UINT index,
4149 BSTR bstrMops);
4150void __RPC_STUB ICreateTypeInfo_SetMops_Stub(
4151 IRpcStubBuffer* This,
4152 IRpcChannelBuffer* pRpcChannelBuffer,
4153 PRPC_MESSAGE pRpcMessage,
4154 DWORD* pdwStubPhase);
4155HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetTypeIdldesc_Proxy(
4156 ICreateTypeInfo* This,
4157 IDLDESC *pIdlDesc);
4158void __RPC_STUB ICreateTypeInfo_SetTypeIdldesc_Stub(
4159 IRpcStubBuffer* This,
4160 IRpcChannelBuffer* pRpcChannelBuffer,
4161 PRPC_MESSAGE pRpcMessage,
4162 DWORD* pdwStubPhase);
4163HRESULT STDMETHODCALLTYPE ICreateTypeInfo_LayOut_Proxy(
4164 ICreateTypeInfo* This);
4165void __RPC_STUB ICreateTypeInfo_LayOut_Stub(
4166 IRpcStubBuffer* This,
4167 IRpcChannelBuffer* pRpcChannelBuffer,
4168 PRPC_MESSAGE pRpcMessage,
4169 DWORD* pdwStubPhase);
4170
4171#endif /* __ICreateTypeInfo_INTERFACE_DEFINED__ */
4172
4173/*****************************************************************************
4174 * ICreateTypeInfo2 interface
4175 */
4176#ifndef __ICreateTypeInfo2_INTERFACE_DEFINED__
4177#define __ICreateTypeInfo2_INTERFACE_DEFINED__
4178
4179typedef ICreateTypeInfo2 *LPCREATETYPEINFO2;
4180DEFINE_GUID(IID_ICreateTypeInfo2, 0x0002040e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
4181#if defined(__cplusplus) && !defined(CINTERFACE)
4182interface ICreateTypeInfo2 : public ICreateTypeInfo
4183{
4184 virtual HRESULT STDMETHODCALLTYPE DeleteFuncDesc(
4185 UINT index) = 0;
4186
4187 virtual HRESULT STDMETHODCALLTYPE DeleteFuncDescByMemId(
4188 MEMBERID memid,
4189 INVOKEKIND invKind) = 0;
4190
4191 virtual HRESULT STDMETHODCALLTYPE DeleteVarDesc(
4192 UINT index) = 0;
4193
4194 virtual HRESULT STDMETHODCALLTYPE DeleteVarDescByMemId(
4195 MEMBERID memid) = 0;
4196
4197 virtual HRESULT STDMETHODCALLTYPE DeleteImplType(
4198 UINT index) = 0;
4199
4200 virtual HRESULT STDMETHODCALLTYPE SetCustData(
4201 REFGUID guid,
4202 VARIANT *pVarVal) = 0;
4203
4204 virtual HRESULT STDMETHODCALLTYPE SetFuncCustData(
4205 UINT index,
4206 REFGUID guid,
4207 VARIANT *pVarVal) = 0;
4208
4209 virtual HRESULT STDMETHODCALLTYPE SetParamCustData(
4210 UINT indexFunc,
4211 UINT indexParam,
4212 REFGUID guid,
4213 VARIANT *pVarVal) = 0;
4214
4215 virtual HRESULT STDMETHODCALLTYPE SetVarCustData(
4216 UINT index,
4217 REFGUID guid,
4218 VARIANT *pVarVal) = 0;
4219
4220 virtual HRESULT STDMETHODCALLTYPE SetImplTypeCustData(
4221 UINT index,
4222 REFGUID guid,
4223 VARIANT *pVarVal) = 0;
4224
4225 virtual HRESULT STDMETHODCALLTYPE SetHelpStringContext(
4226 ULONG dwHelpStringContext) = 0;
4227
4228 virtual HRESULT STDMETHODCALLTYPE SetFuncHelpStringContext(
4229 UINT index,
4230 ULONG dwHelpStringContext) = 0;
4231
4232 virtual HRESULT STDMETHODCALLTYPE SetVarHelpStringContext(
4233 UINT index,
4234 ULONG dwHelpStringContext) = 0;
4235
4236 virtual HRESULT STDMETHODCALLTYPE Invalidate(
4237 ) = 0;
4238
4239 virtual HRESULT STDMETHODCALLTYPE SetName(
4240 LPOLESTR szName) = 0;
4241
4242};
4243#else
4244typedef struct ICreateTypeInfo2Vtbl {
4245 BEGIN_INTERFACE
4246
4247 /*** IUnknown methods ***/
4248 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4249 ICreateTypeInfo2* This,
4250 REFIID riid,
4251 void **ppvObject);
4252
4253 ULONG (STDMETHODCALLTYPE *AddRef)(
4254 ICreateTypeInfo2* This);
4255
4256 ULONG (STDMETHODCALLTYPE *Release)(
4257 ICreateTypeInfo2* This);
4258
4259 /*** ICreateTypeInfo methods ***/
4260 HRESULT (STDMETHODCALLTYPE *SetGuid)(
4261 ICreateTypeInfo2* This,
4262 REFGUID guid);
4263
4264 HRESULT (STDMETHODCALLTYPE *SetTypeFlags)(
4265 ICreateTypeInfo2* This,
4266 UINT uTypeFlags);
4267
4268 HRESULT (STDMETHODCALLTYPE *SetDocString)(
4269 ICreateTypeInfo2* This,
4270 LPOLESTR pStrDoc);
4271
4272 HRESULT (STDMETHODCALLTYPE *SetHelpContext)(
4273 ICreateTypeInfo2* This,
4274 DWORD dwHelpContext);
4275
4276 HRESULT (STDMETHODCALLTYPE *SetVersion)(
4277 ICreateTypeInfo2* This,
4278 WORD wMajorVerNum,
4279 WORD wMinorVerNum);
4280
4281 HRESULT (STDMETHODCALLTYPE *AddRefTypeInfo)(
4282 ICreateTypeInfo2* This,
4283 ITypeInfo *pTInfo,
4284 HREFTYPE *phRefType);
4285
4286 HRESULT (STDMETHODCALLTYPE *AddFuncDesc)(
4287 ICreateTypeInfo2* This,
4288 UINT index,
4289 FUNCDESC *pFuncDesc);
4290
4291 HRESULT (STDMETHODCALLTYPE *AddImplType)(
4292 ICreateTypeInfo2* This,
4293 UINT index,
4294 HREFTYPE hRefType);
4295
4296 HRESULT (STDMETHODCALLTYPE *SetImplTypeFlags)(
4297 ICreateTypeInfo2* This,
4298 UINT index,
4299 INT implTypeFlags);
4300
4301 HRESULT (STDMETHODCALLTYPE *SetAlignment)(
4302 ICreateTypeInfo2* This,
4303 WORD cbAlignment);
4304
4305 HRESULT (STDMETHODCALLTYPE *SetSchema)(
4306 ICreateTypeInfo2* This,
4307 LPOLESTR pStrSchema);
4308
4309 HRESULT (STDMETHODCALLTYPE *AddVarDesc)(
4310 ICreateTypeInfo2* This,
4311 UINT index,
4312 VARDESC *pVarDesc);
4313
4314 HRESULT (STDMETHODCALLTYPE *SetFuncAndParamNames)(
4315 ICreateTypeInfo2* This,
4316 UINT index,
4317 LPOLESTR *rgszNames,
4318 UINT cNames);
4319
4320 HRESULT (STDMETHODCALLTYPE *SetVarName)(
4321 ICreateTypeInfo2* This,
4322 UINT index,
4323 LPOLESTR szName);
4324
4325 HRESULT (STDMETHODCALLTYPE *SetTypeDescAlias)(
4326 ICreateTypeInfo2* This,
4327 TYPEDESC *pTDescAlias);
4328
4329 HRESULT (STDMETHODCALLTYPE *DefineFuncAsDllEntry)(
4330 ICreateTypeInfo2* This,
4331 UINT index,
4332 LPOLESTR szDllName,
4333 LPOLESTR szProcName);
4334
4335 HRESULT (STDMETHODCALLTYPE *SetFuncDocString)(
4336 ICreateTypeInfo2* This,
4337 UINT index,
4338 LPOLESTR szDocString);
4339
4340 HRESULT (STDMETHODCALLTYPE *SetVarDocString)(
4341 ICreateTypeInfo2* This,
4342 UINT index,
4343 LPOLESTR szDocString);
4344
4345 HRESULT (STDMETHODCALLTYPE *SetFuncHelpContext)(
4346 ICreateTypeInfo2* This,
4347 UINT index,
4348 DWORD dwHelpContext);
4349
4350 HRESULT (STDMETHODCALLTYPE *SetVarHelpContext)(
4351 ICreateTypeInfo2* This,
4352 UINT index,
4353 DWORD dwHelpContext);
4354
4355 HRESULT (STDMETHODCALLTYPE *SetMops)(
4356 ICreateTypeInfo2* This,
4357 UINT index,
4358 BSTR bstrMops);
4359
4360 HRESULT (STDMETHODCALLTYPE *SetTypeIdldesc)(
4361 ICreateTypeInfo2* This,
4362 IDLDESC *pIdlDesc);
4363
4364 HRESULT (STDMETHODCALLTYPE *LayOut)(
4365 ICreateTypeInfo2* This);
4366
4367 /*** ICreateTypeInfo2 methods ***/
4368 HRESULT (STDMETHODCALLTYPE *DeleteFuncDesc)(
4369 ICreateTypeInfo2* This,
4370 UINT index);
4371
4372 HRESULT (STDMETHODCALLTYPE *DeleteFuncDescByMemId)(
4373 ICreateTypeInfo2* This,
4374 MEMBERID memid,
4375 INVOKEKIND invKind);
4376
4377 HRESULT (STDMETHODCALLTYPE *DeleteVarDesc)(
4378 ICreateTypeInfo2* This,
4379 UINT index);
4380
4381 HRESULT (STDMETHODCALLTYPE *DeleteVarDescByMemId)(
4382 ICreateTypeInfo2* This,
4383 MEMBERID memid);
4384
4385 HRESULT (STDMETHODCALLTYPE *DeleteImplType)(
4386 ICreateTypeInfo2* This,
4387 UINT index);
4388
4389 HRESULT (STDMETHODCALLTYPE *SetCustData)(
4390 ICreateTypeInfo2* This,
4391 REFGUID guid,
4392 VARIANT *pVarVal);
4393
4394 HRESULT (STDMETHODCALLTYPE *SetFuncCustData)(
4395 ICreateTypeInfo2* This,
4396 UINT index,
4397 REFGUID guid,
4398 VARIANT *pVarVal);
4399
4400 HRESULT (STDMETHODCALLTYPE *SetParamCustData)(
4401 ICreateTypeInfo2* This,
4402 UINT indexFunc,
4403 UINT indexParam,
4404 REFGUID guid,
4405 VARIANT *pVarVal);
4406
4407 HRESULT (STDMETHODCALLTYPE *SetVarCustData)(
4408 ICreateTypeInfo2* This,
4409 UINT index,
4410 REFGUID guid,
4411 VARIANT *pVarVal);
4412
4413 HRESULT (STDMETHODCALLTYPE *SetImplTypeCustData)(
4414 ICreateTypeInfo2* This,
4415 UINT index,
4416 REFGUID guid,
4417 VARIANT *pVarVal);
4418
4419 HRESULT (STDMETHODCALLTYPE *SetHelpStringContext)(
4420 ICreateTypeInfo2* This,
4421 ULONG dwHelpStringContext);
4422
4423 HRESULT (STDMETHODCALLTYPE *SetFuncHelpStringContext)(
4424 ICreateTypeInfo2* This,
4425 UINT index,
4426 ULONG dwHelpStringContext);
4427
4428 HRESULT (STDMETHODCALLTYPE *SetVarHelpStringContext)(
4429 ICreateTypeInfo2* This,
4430 UINT index,
4431 ULONG dwHelpStringContext);
4432
4433 HRESULT (STDMETHODCALLTYPE *Invalidate)(
4434 ICreateTypeInfo2* This);
4435
4436 HRESULT (STDMETHODCALLTYPE *SetName)(
4437 ICreateTypeInfo2* This,
4438 LPOLESTR szName);
4439
4440 END_INTERFACE
4441} ICreateTypeInfo2Vtbl;
4442interface ICreateTypeInfo2 {
4443 CONST_VTBL ICreateTypeInfo2Vtbl* lpVtbl;
4444};
4445
4446#ifdef COBJMACROS
4447/*** IUnknown methods ***/
4448#define ICreateTypeInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4449#define ICreateTypeInfo2_AddRef(This) (This)->lpVtbl->AddRef(This)
4450#define ICreateTypeInfo2_Release(This) (This)->lpVtbl->Release(This)
4451/*** ICreateTypeInfo methods ***/
4452#define ICreateTypeInfo2_SetGuid(This,guid) (This)->lpVtbl->SetGuid(This,guid)
4453#define ICreateTypeInfo2_SetTypeFlags(This,uTypeFlags) (This)->lpVtbl->SetTypeFlags(This,uTypeFlags)
4454#define ICreateTypeInfo2_SetDocString(This,pStrDoc) (This)->lpVtbl->SetDocString(This,pStrDoc)
4455#define ICreateTypeInfo2_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext)
4456#define ICreateTypeInfo2_SetVersion(This,wMajorVerNum,wMinorVerNum) (This)->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum)
4457#define ICreateTypeInfo2_AddRefTypeInfo(This,pTInfo,phRefType) (This)->lpVtbl->AddRefTypeInfo(This,pTInfo,phRefType)
4458#define ICreateTypeInfo2_AddFuncDesc(This,index,pFuncDesc) (This)->lpVtbl->AddFuncDesc(This,index,pFuncDesc)
4459#define ICreateTypeInfo2_AddImplType(This,index,hRefType) (This)->lpVtbl->AddImplType(This,index,hRefType)
4460#define ICreateTypeInfo2_SetImplTypeFlags(This,index,implTypeFlags) (This)->lpVtbl->SetImplTypeFlags(This,index,implTypeFlags)
4461#define ICreateTypeInfo2_SetAlignment(This,cbAlignment) (This)->lpVtbl->SetAlignment(This,cbAlignment)
4462#define ICreateTypeInfo2_SetSchema(This,pStrSchema) (This)->lpVtbl->SetSchema(This,pStrSchema)
4463#define ICreateTypeInfo2_AddVarDesc(This,index,pVarDesc) (This)->lpVtbl->AddVarDesc(This,index,pVarDesc)
4464#define ICreateTypeInfo2_SetFuncAndParamNames(This,index,rgszNames,cNames) (This)->lpVtbl->SetFuncAndParamNames(This,index,rgszNames,cNames)
4465#define ICreateTypeInfo2_SetVarName(This,index,szName) (This)->lpVtbl->SetVarName(This,index,szName)
4466#define ICreateTypeInfo2_SetTypeDescAlias(This,pTDescAlias) (This)->lpVtbl->SetTypeDescAlias(This,pTDescAlias)
4467#define ICreateTypeInfo2_DefineFuncAsDllEntry(This,index,szDllName,szProcName) (This)->lpVtbl->DefineFuncAsDllEntry(This,index,szDllName,szProcName)
4468#define ICreateTypeInfo2_SetFuncDocString(This,index,szDocString) (This)->lpVtbl->SetFuncDocString(This,index,szDocString)
4469#define ICreateTypeInfo2_SetVarDocString(This,index,szDocString) (This)->lpVtbl->SetVarDocString(This,index,szDocString)
4470#define ICreateTypeInfo2_SetFuncHelpContext(This,index,dwHelpContext) (This)->lpVtbl->SetFuncHelpContext(This,index,dwHelpContext)
4471#define ICreateTypeInfo2_SetVarHelpContext(This,index,dwHelpContext) (This)->lpVtbl->SetVarHelpContext(This,index,dwHelpContext)
4472#define ICreateTypeInfo2_SetMops(This,index,bstrMops) (This)->lpVtbl->SetMops(This,index,bstrMops)
4473#define ICreateTypeInfo2_SetTypeIdldesc(This,pIdlDesc) (This)->lpVtbl->SetTypeIdldesc(This,pIdlDesc)
4474#define ICreateTypeInfo2_LayOut(This) (This)->lpVtbl->LayOut(This)
4475/*** ICreateTypeInfo2 methods ***/
4476#define ICreateTypeInfo2_DeleteFuncDesc(This,index) (This)->lpVtbl->DeleteFuncDesc(This,index)
4477#define ICreateTypeInfo2_DeleteFuncDescByMemId(This,memid,invKind) (This)->lpVtbl->DeleteFuncDescByMemId(This,memid,invKind)
4478#define ICreateTypeInfo2_DeleteVarDesc(This,index) (This)->lpVtbl->DeleteVarDesc(This,index)
4479#define ICreateTypeInfo2_DeleteVarDescByMemId(This,memid) (This)->lpVtbl->DeleteVarDescByMemId(This,memid)
4480#define ICreateTypeInfo2_DeleteImplType(This,index) (This)->lpVtbl->DeleteImplType(This,index)
4481#define ICreateTypeInfo2_SetCustData(This,guid,pVarVal) (This)->lpVtbl->SetCustData(This,guid,pVarVal)
4482#define ICreateTypeInfo2_SetFuncCustData(This,index,guid,pVarVal) (This)->lpVtbl->SetFuncCustData(This,index,guid,pVarVal)
4483#define ICreateTypeInfo2_SetParamCustData(This,indexFunc,indexParam,guid,pVarVal) (This)->lpVtbl->SetParamCustData(This,indexFunc,indexParam,guid,pVarVal)
4484#define ICreateTypeInfo2_SetVarCustData(This,index,guid,pVarVal) (This)->lpVtbl->SetVarCustData(This,index,guid,pVarVal)
4485#define ICreateTypeInfo2_SetImplTypeCustData(This,index,guid,pVarVal) (This)->lpVtbl->SetImplTypeCustData(This,index,guid,pVarVal)
4486#define ICreateTypeInfo2_SetHelpStringContext(This,dwHelpStringContext) (This)->lpVtbl->SetHelpStringContext(This,dwHelpStringContext)
4487#define ICreateTypeInfo2_SetFuncHelpStringContext(This,index,dwHelpStringContext) (This)->lpVtbl->SetFuncHelpStringContext(This,index,dwHelpStringContext)
4488#define ICreateTypeInfo2_SetVarHelpStringContext(This,index,dwHelpStringContext) (This)->lpVtbl->SetVarHelpStringContext(This,index,dwHelpStringContext)
4489#define ICreateTypeInfo2_Invalidate(This) (This)->lpVtbl->Invalidate(This)
4490#define ICreateTypeInfo2_SetName(This,szName) (This)->lpVtbl->SetName(This,szName)
4491#endif
4492
4493#endif
4494
4495HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteFuncDesc_Proxy(
4496 ICreateTypeInfo2* This,
4497 UINT index);
4498void __RPC_STUB ICreateTypeInfo2_DeleteFuncDesc_Stub(
4499 IRpcStubBuffer* This,
4500 IRpcChannelBuffer* pRpcChannelBuffer,
4501 PRPC_MESSAGE pRpcMessage,
4502 DWORD* pdwStubPhase);
4503HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteFuncDescByMemId_Proxy(
4504 ICreateTypeInfo2* This,
4505 MEMBERID memid,
4506 INVOKEKIND invKind);
4507void __RPC_STUB ICreateTypeInfo2_DeleteFuncDescByMemId_Stub(
4508 IRpcStubBuffer* This,
4509 IRpcChannelBuffer* pRpcChannelBuffer,
4510 PRPC_MESSAGE pRpcMessage,
4511 DWORD* pdwStubPhase);
4512HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteVarDesc_Proxy(
4513 ICreateTypeInfo2* This,
4514 UINT index);
4515void __RPC_STUB ICreateTypeInfo2_DeleteVarDesc_Stub(
4516 IRpcStubBuffer* This,
4517 IRpcChannelBuffer* pRpcChannelBuffer,
4518 PRPC_MESSAGE pRpcMessage,
4519 DWORD* pdwStubPhase);
4520HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteVarDescByMemId_Proxy(
4521 ICreateTypeInfo2* This,
4522 MEMBERID memid);
4523void __RPC_STUB ICreateTypeInfo2_DeleteVarDescByMemId_Stub(
4524 IRpcStubBuffer* This,
4525 IRpcChannelBuffer* pRpcChannelBuffer,
4526 PRPC_MESSAGE pRpcMessage,
4527 DWORD* pdwStubPhase);
4528HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteImplType_Proxy(
4529 ICreateTypeInfo2* This,
4530 UINT index);
4531void __RPC_STUB ICreateTypeInfo2_DeleteImplType_Stub(
4532 IRpcStubBuffer* This,
4533 IRpcChannelBuffer* pRpcChannelBuffer,
4534 PRPC_MESSAGE pRpcMessage,
4535 DWORD* pdwStubPhase);
4536HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetCustData_Proxy(
4537 ICreateTypeInfo2* This,
4538 REFGUID guid,
4539 VARIANT *pVarVal);
4540void __RPC_STUB ICreateTypeInfo2_SetCustData_Stub(
4541 IRpcStubBuffer* This,
4542 IRpcChannelBuffer* pRpcChannelBuffer,
4543 PRPC_MESSAGE pRpcMessage,
4544 DWORD* pdwStubPhase);
4545HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetFuncCustData_Proxy(
4546 ICreateTypeInfo2* This,
4547 UINT index,
4548 REFGUID guid,
4549 VARIANT *pVarVal);
4550void __RPC_STUB ICreateTypeInfo2_SetFuncCustData_Stub(
4551 IRpcStubBuffer* This,
4552 IRpcChannelBuffer* pRpcChannelBuffer,
4553 PRPC_MESSAGE pRpcMessage,
4554 DWORD* pdwStubPhase);
4555HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetParamCustData_Proxy(
4556 ICreateTypeInfo2* This,
4557 UINT indexFunc,
4558 UINT indexParam,
4559 REFGUID guid,
4560 VARIANT *pVarVal);
4561void __RPC_STUB ICreateTypeInfo2_SetParamCustData_Stub(
4562 IRpcStubBuffer* This,
4563 IRpcChannelBuffer* pRpcChannelBuffer,
4564 PRPC_MESSAGE pRpcMessage,
4565 DWORD* pdwStubPhase);
4566HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetVarCustData_Proxy(
4567 ICreateTypeInfo2* This,
4568 UINT index,
4569 REFGUID guid,
4570 VARIANT *pVarVal);
4571void __RPC_STUB ICreateTypeInfo2_SetVarCustData_Stub(
4572 IRpcStubBuffer* This,
4573 IRpcChannelBuffer* pRpcChannelBuffer,
4574 PRPC_MESSAGE pRpcMessage,
4575 DWORD* pdwStubPhase);
4576HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetImplTypeCustData_Proxy(
4577 ICreateTypeInfo2* This,
4578 UINT index,
4579 REFGUID guid,
4580 VARIANT *pVarVal);
4581void __RPC_STUB ICreateTypeInfo2_SetImplTypeCustData_Stub(
4582 IRpcStubBuffer* This,
4583 IRpcChannelBuffer* pRpcChannelBuffer,
4584 PRPC_MESSAGE pRpcMessage,
4585 DWORD* pdwStubPhase);
4586HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetHelpStringContext_Proxy(
4587 ICreateTypeInfo2* This,
4588 ULONG dwHelpStringContext);
4589void __RPC_STUB ICreateTypeInfo2_SetHelpStringContext_Stub(
4590 IRpcStubBuffer* This,
4591 IRpcChannelBuffer* pRpcChannelBuffer,
4592 PRPC_MESSAGE pRpcMessage,
4593 DWORD* pdwStubPhase);
4594HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetFuncHelpStringContext_Proxy(
4595 ICreateTypeInfo2* This,
4596 UINT index,
4597 ULONG dwHelpStringContext);
4598void __RPC_STUB ICreateTypeInfo2_SetFuncHelpStringContext_Stub(
4599 IRpcStubBuffer* This,
4600 IRpcChannelBuffer* pRpcChannelBuffer,
4601 PRPC_MESSAGE pRpcMessage,
4602 DWORD* pdwStubPhase);
4603HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetVarHelpStringContext_Proxy(
4604 ICreateTypeInfo2* This,
4605 UINT index,
4606 ULONG dwHelpStringContext);
4607void __RPC_STUB ICreateTypeInfo2_SetVarHelpStringContext_Stub(
4608 IRpcStubBuffer* This,
4609 IRpcChannelBuffer* pRpcChannelBuffer,
4610 PRPC_MESSAGE pRpcMessage,
4611 DWORD* pdwStubPhase);
4612HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_Invalidate_Proxy(
4613 ICreateTypeInfo2* This);
4614void __RPC_STUB ICreateTypeInfo2_Invalidate_Stub(
4615 IRpcStubBuffer* This,
4616 IRpcChannelBuffer* pRpcChannelBuffer,
4617 PRPC_MESSAGE pRpcMessage,
4618 DWORD* pdwStubPhase);
4619HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetName_Proxy(
4620 ICreateTypeInfo2* This,
4621 LPOLESTR szName);
4622void __RPC_STUB ICreateTypeInfo2_SetName_Stub(
4623 IRpcStubBuffer* This,
4624 IRpcChannelBuffer* pRpcChannelBuffer,
4625 PRPC_MESSAGE pRpcMessage,
4626 DWORD* pdwStubPhase);
4627
4628#endif /* __ICreateTypeInfo2_INTERFACE_DEFINED__ */
4629
4630/*****************************************************************************
4631 * ICreateTypeLib interface
4632 */
4633#ifndef __ICreateTypeLib_INTERFACE_DEFINED__
4634#define __ICreateTypeLib_INTERFACE_DEFINED__
4635
4636typedef ICreateTypeLib *LPCREATETYPELIB;
4637DEFINE_GUID(IID_ICreateTypeLib, 0x00020406, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
4638#if defined(__cplusplus) && !defined(CINTERFACE)
4639interface ICreateTypeLib : public IUnknown
4640{
4641 virtual HRESULT STDMETHODCALLTYPE CreateTypeInfo(
4642 LPOLESTR szName,
4643 TYPEKIND tkind,
4644 ICreateTypeInfo **ppCTInfo) = 0;
4645
4646 virtual HRESULT STDMETHODCALLTYPE SetName(
4647 LPOLESTR szName) = 0;
4648
4649 virtual HRESULT STDMETHODCALLTYPE SetVersion(
4650 WORD wMajorVerNum,
4651 WORD wMinorVerNum) = 0;
4652
4653 virtual HRESULT STDMETHODCALLTYPE SetGuid(
4654 REFGUID guid) = 0;
4655
4656 virtual HRESULT STDMETHODCALLTYPE SetDocString(
4657 LPOLESTR szDoc) = 0;
4658
4659 virtual HRESULT STDMETHODCALLTYPE SetHelpFileName(
4660 LPOLESTR szHelpFileName) = 0;
4661
4662 virtual HRESULT STDMETHODCALLTYPE SetHelpContext(
4663 DWORD dwHelpContext) = 0;
4664
4665 virtual HRESULT STDMETHODCALLTYPE SetLcid(
4666 LCID lcid) = 0;
4667
4668 virtual HRESULT STDMETHODCALLTYPE SetLibFlags(
4669 UINT uLibFlags) = 0;
4670
4671 virtual HRESULT STDMETHODCALLTYPE SaveAllChanges(
4672 ) = 0;
4673
4674};
4675#else
4676typedef struct ICreateTypeLibVtbl {
4677 BEGIN_INTERFACE
4678
4679 /*** IUnknown methods ***/
4680 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4681 ICreateTypeLib* This,
4682 REFIID riid,
4683 void **ppvObject);
4684
4685 ULONG (STDMETHODCALLTYPE *AddRef)(
4686 ICreateTypeLib* This);
4687
4688 ULONG (STDMETHODCALLTYPE *Release)(
4689 ICreateTypeLib* This);
4690
4691 /*** ICreateTypeLib methods ***/
4692 HRESULT (STDMETHODCALLTYPE *CreateTypeInfo)(
4693 ICreateTypeLib* This,
4694 LPOLESTR szName,
4695 TYPEKIND tkind,
4696 ICreateTypeInfo **ppCTInfo);
4697
4698 HRESULT (STDMETHODCALLTYPE *SetName)(
4699 ICreateTypeLib* This,
4700 LPOLESTR szName);
4701
4702 HRESULT (STDMETHODCALLTYPE *SetVersion)(
4703 ICreateTypeLib* This,
4704 WORD wMajorVerNum,
4705 WORD wMinorVerNum);
4706
4707 HRESULT (STDMETHODCALLTYPE *SetGuid)(
4708 ICreateTypeLib* This,
4709 REFGUID guid);
4710
4711 HRESULT (STDMETHODCALLTYPE *SetDocString)(
4712 ICreateTypeLib* This,
4713 LPOLESTR szDoc);
4714
4715 HRESULT (STDMETHODCALLTYPE *SetHelpFileName)(
4716 ICreateTypeLib* This,
4717 LPOLESTR szHelpFileName);
4718
4719 HRESULT (STDMETHODCALLTYPE *SetHelpContext)(
4720 ICreateTypeLib* This,
4721 DWORD dwHelpContext);
4722
4723 HRESULT (STDMETHODCALLTYPE *SetLcid)(
4724 ICreateTypeLib* This,
4725 LCID lcid);
4726
4727 HRESULT (STDMETHODCALLTYPE *SetLibFlags)(
4728 ICreateTypeLib* This,
4729 UINT uLibFlags);
4730
4731 HRESULT (STDMETHODCALLTYPE *SaveAllChanges)(
4732 ICreateTypeLib* This);
4733
4734 END_INTERFACE
4735} ICreateTypeLibVtbl;
4736interface ICreateTypeLib {
4737 CONST_VTBL ICreateTypeLibVtbl* lpVtbl;
4738};
4739
4740#ifdef COBJMACROS
4741/*** IUnknown methods ***/
4742#define ICreateTypeLib_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4743#define ICreateTypeLib_AddRef(This) (This)->lpVtbl->AddRef(This)
4744#define ICreateTypeLib_Release(This) (This)->lpVtbl->Release(This)
4745/*** ICreateTypeLib methods ***/
4746#define ICreateTypeLib_CreateTypeInfo(This,szName,tkind,ppCTInfo) (This)->lpVtbl->CreateTypeInfo(This,szName,tkind,ppCTInfo)
4747#define ICreateTypeLib_SetName(This,szName) (This)->lpVtbl->SetName(This,szName)
4748#define ICreateTypeLib_SetVersion(This,wMajorVerNum,wMinorVerNum) (This)->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum)
4749#define ICreateTypeLib_SetGuid(This,guid) (This)->lpVtbl->SetGuid(This,guid)
4750#define ICreateTypeLib_SetDocString(This,szDoc) (This)->lpVtbl->SetDocString(This,szDoc)
4751#define ICreateTypeLib_SetHelpFileName(This,szHelpFileName) (This)->lpVtbl->SetHelpFileName(This,szHelpFileName)
4752#define ICreateTypeLib_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext)
4753#define ICreateTypeLib_SetLcid(This,lcid) (This)->lpVtbl->SetLcid(This,lcid)
4754#define ICreateTypeLib_SetLibFlags(This,uLibFlags) (This)->lpVtbl->SetLibFlags(This,uLibFlags)
4755#define ICreateTypeLib_SaveAllChanges(This) (This)->lpVtbl->SaveAllChanges(This)
4756#endif
4757
4758#endif
4759
4760HRESULT STDMETHODCALLTYPE ICreateTypeLib_CreateTypeInfo_Proxy(
4761 ICreateTypeLib* This,
4762 LPOLESTR szName,
4763 TYPEKIND tkind,
4764 ICreateTypeInfo **ppCTInfo);
4765void __RPC_STUB ICreateTypeLib_CreateTypeInfo_Stub(
4766 IRpcStubBuffer* This,
4767 IRpcChannelBuffer* pRpcChannelBuffer,
4768 PRPC_MESSAGE pRpcMessage,
4769 DWORD* pdwStubPhase);
4770HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetName_Proxy(
4771 ICreateTypeLib* This,
4772 LPOLESTR szName);
4773void __RPC_STUB ICreateTypeLib_SetName_Stub(
4774 IRpcStubBuffer* This,
4775 IRpcChannelBuffer* pRpcChannelBuffer,
4776 PRPC_MESSAGE pRpcMessage,
4777 DWORD* pdwStubPhase);
4778HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetVersion_Proxy(
4779 ICreateTypeLib* This,
4780 WORD wMajorVerNum,
4781 WORD wMinorVerNum);
4782void __RPC_STUB ICreateTypeLib_SetVersion_Stub(
4783 IRpcStubBuffer* This,
4784 IRpcChannelBuffer* pRpcChannelBuffer,
4785 PRPC_MESSAGE pRpcMessage,
4786 DWORD* pdwStubPhase);
4787HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetGuid_Proxy(
4788 ICreateTypeLib* This,
4789 REFGUID guid);
4790void __RPC_STUB ICreateTypeLib_SetGuid_Stub(
4791 IRpcStubBuffer* This,
4792 IRpcChannelBuffer* pRpcChannelBuffer,
4793 PRPC_MESSAGE pRpcMessage,
4794 DWORD* pdwStubPhase);
4795HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetDocString_Proxy(
4796 ICreateTypeLib* This,
4797 LPOLESTR szDoc);
4798void __RPC_STUB ICreateTypeLib_SetDocString_Stub(
4799 IRpcStubBuffer* This,
4800 IRpcChannelBuffer* pRpcChannelBuffer,
4801 PRPC_MESSAGE pRpcMessage,
4802 DWORD* pdwStubPhase);
4803HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetHelpFileName_Proxy(
4804 ICreateTypeLib* This,
4805 LPOLESTR szHelpFileName);
4806void __RPC_STUB ICreateTypeLib_SetHelpFileName_Stub(
4807 IRpcStubBuffer* This,
4808 IRpcChannelBuffer* pRpcChannelBuffer,
4809 PRPC_MESSAGE pRpcMessage,
4810 DWORD* pdwStubPhase);
4811HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetHelpContext_Proxy(
4812 ICreateTypeLib* This,
4813 DWORD dwHelpContext);
4814void __RPC_STUB ICreateTypeLib_SetHelpContext_Stub(
4815 IRpcStubBuffer* This,
4816 IRpcChannelBuffer* pRpcChannelBuffer,
4817 PRPC_MESSAGE pRpcMessage,
4818 DWORD* pdwStubPhase);
4819HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetLcid_Proxy(
4820 ICreateTypeLib* This,
4821 LCID lcid);
4822void __RPC_STUB ICreateTypeLib_SetLcid_Stub(
4823 IRpcStubBuffer* This,
4824 IRpcChannelBuffer* pRpcChannelBuffer,
4825 PRPC_MESSAGE pRpcMessage,
4826 DWORD* pdwStubPhase);
4827HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetLibFlags_Proxy(
4828 ICreateTypeLib* This,
4829 UINT uLibFlags);
4830void __RPC_STUB ICreateTypeLib_SetLibFlags_Stub(
4831 IRpcStubBuffer* This,
4832 IRpcChannelBuffer* pRpcChannelBuffer,
4833 PRPC_MESSAGE pRpcMessage,
4834 DWORD* pdwStubPhase);
4835HRESULT STDMETHODCALLTYPE ICreateTypeLib_SaveAllChanges_Proxy(
4836 ICreateTypeLib* This);
4837void __RPC_STUB ICreateTypeLib_SaveAllChanges_Stub(
4838 IRpcStubBuffer* This,
4839 IRpcChannelBuffer* pRpcChannelBuffer,
4840 PRPC_MESSAGE pRpcMessage,
4841 DWORD* pdwStubPhase);
4842
4843#endif /* __ICreateTypeLib_INTERFACE_DEFINED__ */
4844
4845/*****************************************************************************
4846 * ICreateTypeLib2 interface
4847 */
4848#ifndef __ICreateTypeLib2_INTERFACE_DEFINED__
4849#define __ICreateTypeLib2_INTERFACE_DEFINED__
4850
4851typedef ICreateTypeLib2 *LPCREATETYPELIB2;
4852DEFINE_GUID(IID_ICreateTypeLib2, 0x0002040f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
4853#if defined(__cplusplus) && !defined(CINTERFACE)
4854interface ICreateTypeLib2 : public ICreateTypeLib
4855{
4856 virtual HRESULT STDMETHODCALLTYPE DeleteTypeInfo(
4857 LPOLESTR szName) = 0;
4858
4859 virtual HRESULT STDMETHODCALLTYPE SetCustData(
4860 REFGUID guid,
4861 VARIANT *pVarVal) = 0;
4862
4863 virtual HRESULT STDMETHODCALLTYPE SetHelpStringContext(
4864 ULONG dwHelpStringContext) = 0;
4865
4866 virtual HRESULT STDMETHODCALLTYPE SetHelpStringDll(
4867 LPOLESTR szFileName) = 0;
4868
4869};
4870#else
4871typedef struct ICreateTypeLib2Vtbl {
4872 BEGIN_INTERFACE
4873
4874 /*** IUnknown methods ***/
4875 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4876 ICreateTypeLib2* This,
4877 REFIID riid,
4878 void **ppvObject);
4879
4880 ULONG (STDMETHODCALLTYPE *AddRef)(
4881 ICreateTypeLib2* This);
4882
4883 ULONG (STDMETHODCALLTYPE *Release)(
4884 ICreateTypeLib2* This);
4885
4886 /*** ICreateTypeLib methods ***/
4887 HRESULT (STDMETHODCALLTYPE *CreateTypeInfo)(
4888 ICreateTypeLib2* This,
4889 LPOLESTR szName,
4890 TYPEKIND tkind,
4891 ICreateTypeInfo **ppCTInfo);
4892
4893 HRESULT (STDMETHODCALLTYPE *SetName)(
4894 ICreateTypeLib2* This,
4895 LPOLESTR szName);
4896
4897 HRESULT (STDMETHODCALLTYPE *SetVersion)(
4898 ICreateTypeLib2* This,
4899 WORD wMajorVerNum,
4900 WORD wMinorVerNum);
4901
4902 HRESULT (STDMETHODCALLTYPE *SetGuid)(
4903 ICreateTypeLib2* This,
4904 REFGUID guid);
4905
4906 HRESULT (STDMETHODCALLTYPE *SetDocString)(
4907 ICreateTypeLib2* This,
4908 LPOLESTR szDoc);
4909
4910 HRESULT (STDMETHODCALLTYPE *SetHelpFileName)(
4911 ICreateTypeLib2* This,
4912 LPOLESTR szHelpFileName);
4913
4914 HRESULT (STDMETHODCALLTYPE *SetHelpContext)(
4915 ICreateTypeLib2* This,
4916 DWORD dwHelpContext);
4917
4918 HRESULT (STDMETHODCALLTYPE *SetLcid)(
4919 ICreateTypeLib2* This,
4920 LCID lcid);
4921
4922 HRESULT (STDMETHODCALLTYPE *SetLibFlags)(
4923 ICreateTypeLib2* This,
4924 UINT uLibFlags);
4925
4926 HRESULT (STDMETHODCALLTYPE *SaveAllChanges)(
4927 ICreateTypeLib2* This);
4928
4929 /*** ICreateTypeLib2 methods ***/
4930 HRESULT (STDMETHODCALLTYPE *DeleteTypeInfo)(
4931 ICreateTypeLib2* This,
4932 LPOLESTR szName);
4933
4934 HRESULT (STDMETHODCALLTYPE *SetCustData)(
4935 ICreateTypeLib2* This,
4936 REFGUID guid,
4937 VARIANT *pVarVal);
4938
4939 HRESULT (STDMETHODCALLTYPE *SetHelpStringContext)(
4940 ICreateTypeLib2* This,
4941 ULONG dwHelpStringContext);
4942
4943 HRESULT (STDMETHODCALLTYPE *SetHelpStringDll)(
4944 ICreateTypeLib2* This,
4945 LPOLESTR szFileName);
4946
4947 END_INTERFACE
4948} ICreateTypeLib2Vtbl;
4949interface ICreateTypeLib2 {
4950 CONST_VTBL ICreateTypeLib2Vtbl* lpVtbl;
4951};
4952
4953#ifdef COBJMACROS
4954/*** IUnknown methods ***/
4955#define ICreateTypeLib2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4956#define ICreateTypeLib2_AddRef(This) (This)->lpVtbl->AddRef(This)
4957#define ICreateTypeLib2_Release(This) (This)->lpVtbl->Release(This)
4958/*** ICreateTypeLib methods ***/
4959#define ICreateTypeLib2_CreateTypeInfo(This,szName,tkind,ppCTInfo) (This)->lpVtbl->CreateTypeInfo(This,szName,tkind,ppCTInfo)
4960#define ICreateTypeLib2_SetName(This,szName) (This)->lpVtbl->SetName(This,szName)
4961#define ICreateTypeLib2_SetVersion(This,wMajorVerNum,wMinorVerNum) (This)->lpVtbl->SetVersion(This,wMajorVerNum,wMinorVerNum)
4962#define ICreateTypeLib2_SetGuid(This,guid) (This)->lpVtbl->SetGuid(This,guid)
4963#define ICreateTypeLib2_SetDocString(This,szDoc) (This)->lpVtbl->SetDocString(This,szDoc)
4964#define ICreateTypeLib2_SetHelpFileName(This,szHelpFileName) (This)->lpVtbl->SetHelpFileName(This,szHelpFileName)
4965#define ICreateTypeLib2_SetHelpContext(This,dwHelpContext) (This)->lpVtbl->SetHelpContext(This,dwHelpContext)
4966#define ICreateTypeLib2_SetLcid(This,lcid) (This)->lpVtbl->SetLcid(This,lcid)
4967#define ICreateTypeLib2_SetLibFlags(This,uLibFlags) (This)->lpVtbl->SetLibFlags(This,uLibFlags)
4968#define ICreateTypeLib2_SaveAllChanges(This) (This)->lpVtbl->SaveAllChanges(This)
4969/*** ICreateTypeLib2 methods ***/
4970#define ICreateTypeLib2_DeleteTypeInfo(This,szName) (This)->lpVtbl->DeleteTypeInfo(This,szName)
4971#define ICreateTypeLib2_SetCustData(This,guid,pVarVal) (This)->lpVtbl->SetCustData(This,guid,pVarVal)
4972#define ICreateTypeLib2_SetHelpStringContext(This,dwHelpStringContext) (This)->lpVtbl->SetHelpStringContext(This,dwHelpStringContext)
4973#define ICreateTypeLib2_SetHelpStringDll(This,szFileName) (This)->lpVtbl->SetHelpStringDll(This,szFileName)
4974#endif
4975
4976#endif
4977
4978HRESULT STDMETHODCALLTYPE ICreateTypeLib2_DeleteTypeInfo_Proxy(
4979 ICreateTypeLib2* This,
4980 LPOLESTR szName);
4981void __RPC_STUB ICreateTypeLib2_DeleteTypeInfo_Stub(
4982 IRpcStubBuffer* This,
4983 IRpcChannelBuffer* pRpcChannelBuffer,
4984 PRPC_MESSAGE pRpcMessage,
4985 DWORD* pdwStubPhase);
4986HRESULT STDMETHODCALLTYPE ICreateTypeLib2_SetCustData_Proxy(
4987 ICreateTypeLib2* This,
4988 REFGUID guid,
4989 VARIANT *pVarVal);
4990void __RPC_STUB ICreateTypeLib2_SetCustData_Stub(
4991 IRpcStubBuffer* This,
4992 IRpcChannelBuffer* pRpcChannelBuffer,
4993 PRPC_MESSAGE pRpcMessage,
4994 DWORD* pdwStubPhase);
4995HRESULT STDMETHODCALLTYPE ICreateTypeLib2_SetHelpStringContext_Proxy(
4996 ICreateTypeLib2* This,
4997 ULONG dwHelpStringContext);
4998void __RPC_STUB ICreateTypeLib2_SetHelpStringContext_Stub(
4999 IRpcStubBuffer* This,
5000 IRpcChannelBuffer* pRpcChannelBuffer,
5001 PRPC_MESSAGE pRpcMessage,
5002 DWORD* pdwStubPhase);
5003HRESULT STDMETHODCALLTYPE ICreateTypeLib2_SetHelpStringDll_Proxy(
5004 ICreateTypeLib2* This,
5005 LPOLESTR szFileName);
5006void __RPC_STUB ICreateTypeLib2_SetHelpStringDll_Stub(
5007 IRpcStubBuffer* This,
5008 IRpcChannelBuffer* pRpcChannelBuffer,
5009 PRPC_MESSAGE pRpcMessage,
5010 DWORD* pdwStubPhase);
5011
5012#endif /* __ICreateTypeLib2_INTERFACE_DEFINED__ */
5013
5014/*****************************************************************************
5015 * IErrorLog interface
5016 */
5017#ifndef __IErrorLog_INTERFACE_DEFINED__
5018#define __IErrorLog_INTERFACE_DEFINED__
5019
5020typedef IErrorLog *LPERRORLOG;
5021DEFINE_GUID(IID_IErrorLog, 0x3127ca40, 0x446e, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51);
5022#if defined(__cplusplus) && !defined(CINTERFACE)
5023interface IErrorLog : public IUnknown
5024{
5025 virtual HRESULT STDMETHODCALLTYPE AddError(
5026 LPCOLESTR pszPropName,
5027 EXCEPINFO *pExcepInfo) = 0;
5028
5029};
5030#else
5031typedef struct IErrorLogVtbl {
5032 BEGIN_INTERFACE
5033
5034 /*** IUnknown methods ***/
5035 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5036 IErrorLog* This,
5037 REFIID riid,
5038 void **ppvObject);
5039
5040 ULONG (STDMETHODCALLTYPE *AddRef)(
5041 IErrorLog* This);
5042
5043 ULONG (STDMETHODCALLTYPE *Release)(
5044 IErrorLog* This);
5045
5046 /*** IErrorLog methods ***/
5047 HRESULT (STDMETHODCALLTYPE *AddError)(
5048 IErrorLog* This,
5049 LPCOLESTR pszPropName,
5050 EXCEPINFO *pExcepInfo);
5051
5052 END_INTERFACE
5053} IErrorLogVtbl;
5054interface IErrorLog {
5055 CONST_VTBL IErrorLogVtbl* lpVtbl;
5056};
5057
5058#ifdef COBJMACROS
5059/*** IUnknown methods ***/
5060#define IErrorLog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5061#define IErrorLog_AddRef(This) (This)->lpVtbl->AddRef(This)
5062#define IErrorLog_Release(This) (This)->lpVtbl->Release(This)
5063/*** IErrorLog methods ***/
5064#define IErrorLog_AddError(This,pszPropName,pExcepInfo) (This)->lpVtbl->AddError(This,pszPropName,pExcepInfo)
5065#endif
5066
5067#endif
5068
5069HRESULT STDMETHODCALLTYPE IErrorLog_AddError_Proxy(
5070 IErrorLog* This,
5071 LPCOLESTR pszPropName,
5072 EXCEPINFO *pExcepInfo);
5073void __RPC_STUB IErrorLog_AddError_Stub(
5074 IRpcStubBuffer* This,
5075 IRpcChannelBuffer* pRpcChannelBuffer,
5076 PRPC_MESSAGE pRpcMessage,
5077 DWORD* pdwStubPhase);
5078
5079#endif /* __IErrorLog_INTERFACE_DEFINED__ */
5080
5081/*****************************************************************************
5082 * IPropertyBag interface
5083 */
5084#ifndef __IPropertyBag_INTERFACE_DEFINED__
5085#define __IPropertyBag_INTERFACE_DEFINED__
5086
5087typedef IPropertyBag *LPPROPERTYBAG;
5088DEFINE_GUID(IID_IPropertyBag, 0x55272a00, 0x42cb, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51);
5089#if defined(__cplusplus) && !defined(CINTERFACE)
5090interface IPropertyBag : public IUnknown
5091{
5092 virtual HRESULT STDMETHODCALLTYPE Read(
5093 LPCOLESTR pszPropName,
5094 VARIANT *pVar,
5095 IErrorLog *pErrorLog) = 0;
5096
5097 virtual HRESULT STDMETHODCALLTYPE Write(
5098 LPCOLESTR pszPropName,
5099 VARIANT *pVar) = 0;
5100
5101};
5102#else
5103typedef struct IPropertyBagVtbl {
5104 BEGIN_INTERFACE
5105
5106 /*** IUnknown methods ***/
5107 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5108 IPropertyBag* This,
5109 REFIID riid,
5110 void **ppvObject);
5111
5112 ULONG (STDMETHODCALLTYPE *AddRef)(
5113 IPropertyBag* This);
5114
5115 ULONG (STDMETHODCALLTYPE *Release)(
5116 IPropertyBag* This);
5117
5118 /*** IPropertyBag methods ***/
5119 HRESULT (STDMETHODCALLTYPE *Read)(
5120 IPropertyBag* This,
5121 LPCOLESTR pszPropName,
5122 VARIANT *pVar,
5123 IErrorLog *pErrorLog);
5124
5125 HRESULT (STDMETHODCALLTYPE *Write)(
5126 IPropertyBag* This,
5127 LPCOLESTR pszPropName,
5128 VARIANT *pVar);
5129
5130 END_INTERFACE
5131} IPropertyBagVtbl;
5132interface IPropertyBag {
5133 CONST_VTBL IPropertyBagVtbl* lpVtbl;
5134};
5135
5136#ifdef COBJMACROS
5137/*** IUnknown methods ***/
5138#define IPropertyBag_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5139#define IPropertyBag_AddRef(This) (This)->lpVtbl->AddRef(This)
5140#define IPropertyBag_Release(This) (This)->lpVtbl->Release(This)
5141/*** IPropertyBag methods ***/
5142#define IPropertyBag_Read(This,pszPropName,pVar,pErrorLog) (This)->lpVtbl->Read(This,pszPropName,pVar,pErrorLog)
5143#define IPropertyBag_Write(This,pszPropName,pVar) (This)->lpVtbl->Write(This,pszPropName,pVar)
5144#endif
5145
5146#endif
5147
5148HRESULT STDMETHODCALLTYPE IPropertyBag_RemoteRead_Proxy(
5149 IPropertyBag* This,
5150 LPCOLESTR pszPropName,
5151 VARIANT *pVar,
5152 IErrorLog *pErrorLog,
5153 DWORD varType,
5154 IUnknown *pUnkObj);
5155void __RPC_STUB IPropertyBag_RemoteRead_Stub(
5156 IRpcStubBuffer* This,
5157 IRpcChannelBuffer* pRpcChannelBuffer,
5158 PRPC_MESSAGE pRpcMessage,
5159 DWORD* pdwStubPhase);
5160HRESULT STDMETHODCALLTYPE IPropertyBag_Write_Proxy(
5161 IPropertyBag* This,
5162 LPCOLESTR pszPropName,
5163 VARIANT *pVar);
5164void __RPC_STUB IPropertyBag_Write_Stub(
5165 IRpcStubBuffer* This,
5166 IRpcChannelBuffer* pRpcChannelBuffer,
5167 PRPC_MESSAGE pRpcMessage,
5168 DWORD* pdwStubPhase);
5169HRESULT CALLBACK IPropertyBag_Read_Proxy(
5170 IPropertyBag* This,
5171 LPCOLESTR pszPropName,
5172 VARIANT *pVar,
5173 IErrorLog *pErrorLog);
5174HRESULT __RPC_STUB IPropertyBag_Read_Stub(
5175 IPropertyBag* This,
5176 LPCOLESTR pszPropName,
5177 VARIANT *pVar,
5178 IErrorLog *pErrorLog,
5179 DWORD varType,
5180 IUnknown *pUnkObj);
5181
5182#endif /* __IPropertyBag_INTERFACE_DEFINED__ */
5183
5184/* Begin additional prototypes for all interfaces */
5185
5186ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *);
5187unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *);
5188unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
5189void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *);
5190ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
5191unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
5192unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
5193void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
5194ULONG __RPC_USER CLEANLOCALSTORAGE_UserSize (ULONG *, ULONG, CLEANLOCALSTORAGE *);
5195unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserMarshal (ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
5196unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserUnmarshal(ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
5197void __RPC_USER CLEANLOCALSTORAGE_UserFree (ULONG *, CLEANLOCALSTORAGE *);
5198
5199/* End additional prototypes */
5200
5201#ifdef __cplusplus
5202}
5203#endif
5204
5205#endif /* __WIDL_OAIDL_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette