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
;
66 uuid(00000000-0000-0000-C000
-000000000046)
71 HRESULT QueryInterface
(
76 unsigned long AddRef
();
79 unsigned long Release
();
84 uuid(00020400-0000-0000-C000
-000000000046)
86 interface IDispatch
: IUnknown
89 HRESULT GetTypeInfoCount
(
90 [out] unsigned int *pctinfo
);
94 [in] unsigned int itinfo
,
95 [in] unsigned long lcid,
96 [out] void **pptinfo
);
99 HRESULT GetIDsOfNames
(
101 [in] char **rgszNames
,
102 [in] unsigned int cNames
,
103 [in] unsigned long lcid,
104 [out] long *rgdispid
);
108 [in] long dispidMember
,
110 [in] unsigned long lcid,
111 [in] unsigned short wFlags
,
112 [in] DISPPARAMS
*pdispparams
,
113 [out] VARIANT *pvarResult
,
114 [out] EXCEPINFO
*pexcepinfo
,
115 [out] unsigned int *puArgErr
);
121 uuid(00020404-0000-0000-C000
-000000000046)
123 interface IEnumVARIANT
: IUnknown
126 [in] unsigned long celt
,
128 [out] unsigned long *pceltFetched
);
131 [in] unsigned long celt
);
136 [out] IEnumVARIANT
**ppenum
);