mscoree: Correct possible uninitialized variable (clang).
[wine/multimedia.git] / dlls / stdole32.tlb / std_ole_v1.idl
blob45fb3d50aed7293ecf70b7c9ffa9a28a0d08cd83
1 /*
2 * Copyright (C) 2003 Robert Shearman
3 * 2005 Huw Davies
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),
23 restricted,
24 version(1.0),
25 helpstring("OLE Automation")
27 library stdole
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;
38 typedef struct GUID {
39 unsigned long Data1;
40 unsigned short Data2;
41 unsigned short Data3;
42 unsigned char Data4[ 8 ];
43 } GUID;
45 typedef struct DISPPARAMS {
46 VARIANT *rgvarg;
47 long *rgdispidNamedArgs;
48 unsigned int cArgs;
49 unsigned int cNamedArgs;
50 } DISPPARAMS;
52 typedef struct EXCEPINFO {
53 unsigned short wCode;
54 unsigned short wReserved;
55 BSTR bstrSource;
56 BSTR bstrDescription;
57 BSTR bstrHelpFile;
58 unsigned long dwHelpContext;
59 void *pvReserved;
60 void *pfnDeferredFillIn;
61 SCODE scode;
62 } EXCEPINFO;
65 odl,
66 uuid(00000000-0000-0000-C000-000000000046)
68 interface IUnknown
70 [restricted]
71 HRESULT QueryInterface(
72 [in] GUID *riid,
73 [out] void **ppvObj);
75 [restricted]
76 unsigned long AddRef();
78 [restricted]
79 unsigned long Release();
83 odl,
84 uuid(00020400-0000-0000-C000-000000000046)
86 interface IDispatch : IUnknown
88 [restricted]
89 HRESULT GetTypeInfoCount(
90 [out] unsigned int *pctinfo);
92 [restricted]
93 HRESULT GetTypeInfo(
94 [in] unsigned int itinfo,
95 [in] unsigned long lcid,
96 [out] void **pptinfo);
98 [restricted]
99 HRESULT GetIDsOfNames(
100 [in] GUID *riid,
101 [in] char **rgszNames,
102 [in] unsigned int cNames,
103 [in] unsigned long lcid,
104 [out] long *rgdispid);
106 [restricted]
107 HRESULT Invoke(
108 [in] long dispidMember,
109 [in] GUID *riid,
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);
120 odl,
121 uuid(00020404-0000-0000-C000-000000000046)
123 interface IEnumVARIANT : IUnknown
125 HRESULT Next(
126 [in] unsigned long celt,
127 [in] VARIANT *rgvar,
128 [out] unsigned long *pceltFetched);
130 HRESULT Skip(
131 [in] unsigned long celt);
133 HRESULT Reset();
135 HRESULT Clone(
136 [out] IEnumVARIANT **ppenum);