2 * Copyright (C) 2003 Robert Shearman
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #pragma makedep regtypelib
24 uuid(00020430-0000-0000-C000-000000000046),
27 helpstring("OLE Automation")
31 /* typedefs aren't stored in the type library.
32 These type names are known by the type compiler so it
33 doesn't really matter what we define them as. */
35 typedef void *VARIANT;
36 typedef wchar_t *BSTR;
37 typedef unsigned long SCODE;
38 typedef unsigned long HRESULT;
44 unsigned char Data4[ 8 ];
47 typedef struct DISPPARAMS {
49 long *rgdispidNamedArgs;
51 unsigned int cNamedArgs;
54 typedef struct EXCEPINFO {
56 unsigned short wReserved;
60 unsigned long dwHelpContext;
62 void *pfnDeferredFillIn;
68 uuid(00000000-0000-0000-C000-000000000046)
73 HRESULT QueryInterface(
78 unsigned long AddRef();
81 unsigned long Release();
86 uuid(00020400-0000-0000-C000-000000000046)
88 interface IDispatch : IUnknown
91 HRESULT GetTypeInfoCount(
92 [out] unsigned int *pctinfo);
96 [in] unsigned int itinfo,
97 [in] unsigned long lcid,
98 [out] void **pptinfo);
101 HRESULT GetIDsOfNames(
103 [in] char **rgszNames,
104 [in] unsigned int cNames,
105 [in] unsigned long lcid,
106 [out] long *rgdispid);
110 [in] long dispidMember,
112 [in] unsigned long lcid,
113 [in] unsigned short wFlags,
114 [in] DISPPARAMS *pdispparams,
115 [out] VARIANT *pvarResult,
116 [out] EXCEPINFO *pexcepinfo,
117 [out] unsigned int *puArgErr);
123 uuid(00020404-0000-0000-C000-000000000046)
125 interface IEnumVARIANT : IUnknown
128 [in] unsigned long celt,
130 [out] unsigned long *pceltFetched);
133 [in] unsigned long celt);
138 [out] IEnumVARIANT **ppenum);