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
22 uuid(00020430-0000-0000-C000-000000000046),
25 helpstring("OLE Automation")
29 /* typedefs aren't stored in the type library.
30 These type names are known by the type compiler so it
31 doesn't really matter what we define them as. */
33 typedef void *VARIANT;
34 typedef wchar_t *BSTR;
35 typedef unsigned long SCODE;
36 typedef unsigned long HRESULT;
42 unsigned char Data4[ 8 ];
45 typedef struct DISPPARAMS {
47 long *rgdispidNamedArgs;
49 unsigned int cNamedArgs;
52 typedef struct EXCEPINFO {
54 unsigned short wReserved;
58 unsigned long dwHelpContext;
60 void *pfnDeferredFillIn;
67 uuid(00000000-0000-0000-C000-000000000046)
72 HRESULT QueryInterface(
77 unsigned long AddRef();
80 unsigned long Release();
85 uuid(00020400-0000-0000-C000-000000000046)
87 interface IDispatch : IUnknown
90 HRESULT GetTypeInfoCount(
91 [out] unsigned int *pctinfo);
95 [in] unsigned int itinfo,
96 [in] unsigned long lcid,
97 [out] void **pptinfo);
100 HRESULT GetIDsOfNames(
102 [in] char **rgszNames,
103 [in] unsigned int cNames,
104 [in] unsigned long lcid,
105 [out] long *rgdispid);
109 [in] long dispidMember,
111 [in] unsigned long lcid,
112 [in] unsigned short wFlags,
113 [in] DISPPARAMS *pdispparams,
114 [out] VARIANT *pvarResult,
115 [out] EXCEPINFO *pexcepinfo,
116 [out] unsigned int *puArgErr);
122 uuid(00020404-0000-0000-C000-000000000046)
124 interface IEnumVARIANT : IUnknown
127 [in] unsigned long celt,
129 [out] unsigned long *pceltFetched);
132 [in] unsigned long celt);
137 [out] IEnumVARIANT **ppenum);