VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/dispex.idl

Last change on this file was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.9 KB
Line 
1/*
2 * Copyright 2004 Kevin Koltzau
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef DO_NO_IMPORTS
29import "ocidl.idl";
30import "oleidl.idl";
31import "oaidl.idl";
32import "servprov.idl";
33#endif
34
35cpp_quote("DEFINE_GUID(SID_VariantConversion, 0x1f101481,0xbccd,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);")
36cpp_quote("DEFINE_GUID(SID_GetCaller, 0x4717cc40,0xbcb9,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);")
37
38cpp_quote("#define fdexNameCaseSensitive 0x00000001L")
39cpp_quote("#define fdexNameEnsure 0x00000002L")
40cpp_quote("#define fdexNameImplicit 0x00000004L")
41cpp_quote("#define fdexNameCaseInsensitive 0x00000008L")
42cpp_quote("#define fdexNameInternal 0x00000010L")
43cpp_quote("#define fdexNameNoDynamicProperties 0x00000020L")
44
45cpp_quote("#define fdexPropCanGet 0x00000001L")
46cpp_quote("#define fdexPropCannotGet 0x00000002L")
47cpp_quote("#define fdexPropCanPut 0x00000004L")
48cpp_quote("#define fdexPropCannotPut 0x00000008L")
49cpp_quote("#define fdexPropCanPutRef 0x00000010L")
50cpp_quote("#define fdexPropCannotPutRef 0x00000020L")
51cpp_quote("#define fdexPropNoSideEffects 0x00000040L")
52cpp_quote("#define fdexPropDynamicType 0x00000080L")
53cpp_quote("#define fdexPropCanCall 0x00000100L")
54cpp_quote("#define fdexPropCannotCall 0x00000200L")
55cpp_quote("#define fdexPropCanConstruct 0x00000400L")
56cpp_quote("#define fdexPropCannotConstruct 0x00000800L")
57cpp_quote("#define fdexPropCanSourceEvents 0x00001000L")
58cpp_quote("#define fdexPropCannotSourceEvents 0x00002000L")
59
60cpp_quote("#define fdexEnumDefault 0x00000001L")
61cpp_quote("#define fdexEnumAll 0x00000002L")
62
63cpp_quote("#define grfdexPropCanAll \\")
64cpp_quote(" (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \\")
65cpp_quote(" fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)")
66cpp_quote("#define grfdexPropCannotAll \\")
67cpp_quote(" (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \\")
68cpp_quote(" fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)")
69cpp_quote("#define grfdexPropExtraAll \\")
70cpp_quote(" (fdexPropNoSideEffects | fdexPropDynamicType)")
71cpp_quote("#define grfdexPropAll \\")
72cpp_quote(" (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)")
73
74cpp_quote("#define DISPATCH_CONSTRUCT 0x4000")
75
76cpp_quote("#define DISPID_THIS (-613)")
77cpp_quote("#define DISPID_STARTENUM DISPID_UNKNOWN")
78
79[
80object,
81uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9),
82pointer_default(unique)
83]
84interface IDispatchEx : IDispatch
85{
86 HRESULT GetDispID(
87 [in] BSTR bstrName,
88 [in] DWORD grfdex,
89 [out] DISPID *pid);
90
91 [local]
92 HRESULT InvokeEx(
93 [in, annotation("__in")] DISPID id,
94 [in, annotation("__in")] LCID lcid,
95 [in, annotation("__in")] WORD wFlags,
96 [in, annotation("__in")] DISPPARAMS *pdp,
97 [out, annotation("__out_opt")] VARIANT *pvarRes,
98 [out, annotation("__out_opt")] EXCEPINFO *pei,
99 [in, unique, annotation("__in_opt")] IServiceProvider *pspCaller);
100
101 [call_as(InvokeEx)]
102 HRESULT RemoteInvokeEx(
103 [in] DISPID id,
104 [in] LCID lcid,
105 [in] DWORD dwFlags,
106 [in] DISPPARAMS *pdp,
107 [out] VARIANT *pvarRes,
108 [out] EXCEPINFO *pei,
109 [in, unique] IServiceProvider *pspCaller,
110 [in] UINT cvarRefArg,
111 [in, size_is(cvarRefArg)] UINT *rgiRefArg,
112 [in, out, size_is(cvarRefArg)] VARIANT *rgvarRefArg);
113
114 HRESULT DeleteMemberByName(
115 [in] BSTR bstrName,
116 [in] DWORD grfdex);
117
118 HRESULT DeleteMemberByDispID(
119 [in] DISPID id);
120
121 HRESULT GetMemberProperties(
122 [in] DISPID id,
123 [in] DWORD grfdexFetch,
124 [out] DWORD *pgrfdex);
125
126 HRESULT GetMemberName(
127 [in] DISPID id,
128 [out] BSTR *pbstrName);
129
130 HRESULT GetNextDispID(
131 [in] DWORD grfdex,
132 [in] DISPID id,
133 [out] DISPID *pid);
134
135 HRESULT GetNameSpaceParent([out] IUnknown **ppunk);
136}
137
138[
139object,
140uuid(A6EF9861-C720-11d0-9337-00A0C90DCAA9),
141pointer_default(unique)
142]
143interface IDispError : IUnknown
144{
145 HRESULT QueryErrorInfo(
146 [in] GUID guidErrorType,
147 [out] IDispError **ppde);
148
149 HRESULT GetNext(
150 [out] IDispError **ppde);
151
152 HRESULT GetHresult(
153 [out] HRESULT *phr);
154
155 HRESULT GetSource(
156 [out] BSTR *pbstrSource);
157
158 HRESULT GetHelpInfo(
159 [out] BSTR *pbstrFileName,
160 [out] DWORD *pdwContext);
161
162 HRESULT GetDescription(
163 [out] BSTR *pbstrDescription);
164}
165
166[
167object,
168uuid(A6EF9862-C720-11d0-9337-00A0C90DCAA9),
169pointer_default(unique)
170]
171interface IVariantChangeType : IUnknown
172{
173 HRESULT ChangeType(
174 [in, out, unique] VARIANT *pvarDst,
175 [in, unique] VARIANT *pvarSrc,
176 [in] LCID lcid,
177 [in] VARTYPE vtNew);
178}
179
180
181[
182object,
183uuid(CA04B7E6-0D21-11d1-8CC5-00C04FC2B085),
184pointer_default(unique)
185]
186interface IObjectIdentity : IUnknown
187{
188 HRESULT IsEqualObject(
189 [in] IUnknown *punk);
190}
191
192[
193 object,
194 uuid(c5598e60-b307-11d1-b27d-006008c3fbfb),
195 pointer_default(unique)
196]
197interface ICanHandleException : IUnknown
198{
199 HRESULT CanHandleException(
200 [in] EXCEPINFO *pExcepInfo,
201 [in] VARIANT *pvar);
202}
203
204[
205 object,
206 uuid(10e2414a-ec59-49d2-bc51-5add2c36febc),
207 pointer_default(unique)
208]
209interface IProvideRuntimeContext : IUnknown
210{
211 HRESULT GetCurrentSourceContext(
212 [out] DWORD_PTR *pdwContext,
213 [out] VARIANT_BOOL *pfExecutingGlobalCode);
214}
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