VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/dispex.idl@ 20636

Last change on this file since 20636 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 6.2 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 * Sun 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, Sun 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 fdexNameCaseSensitive 0x00000001L")
36cpp_quote("#define fdexNameEnsure 0x00000002L")
37cpp_quote("#define fdexNameImplicit 0x00000004L")
38cpp_quote("#define fdexNameCaseInsensitive 0x00000008L")
39cpp_quote("#define fdexNameInternal 0x00000010L")
40cpp_quote("#define fdexNameNoDynamicProperties 0x00000020L")
41
42cpp_quote("#define fdexPropCanGet 0x00000001L")
43cpp_quote("#define fdexPropCannotGet 0x00000002L")
44cpp_quote("#define fdexPropCanPut 0x00000004L")
45cpp_quote("#define fdexPropCannotPut 0x00000008L")
46cpp_quote("#define fdexPropCanPutRef 0x00000010L")
47cpp_quote("#define fdexPropCannotPutRef 0x00000020L")
48cpp_quote("#define fdexPropNoSideEffects 0x00000040L")
49cpp_quote("#define fdexPropDynamicType 0x00000080L")
50cpp_quote("#define fdexPropCanCall 0x00000100L")
51cpp_quote("#define fdexPropCannotCall 0x00000200L")
52cpp_quote("#define fdexPropCanConstruct 0x00000400L")
53cpp_quote("#define fdexPropCannotConstruct 0x00000800L")
54cpp_quote("#define fdexPropCanSourceEvents 0x00001000L")
55cpp_quote("#define fdexPropCannotSourceEvents 0x00002000L")
56
57cpp_quote("#define fdexEnumDefault 0x00000001L")
58cpp_quote("#define fdexEnumAll 0x00000002L")
59
60cpp_quote("#define grfdexPropCanAll \\")
61cpp_quote(" (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \\")
62cpp_quote(" fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)")
63cpp_quote("#define grfdexPropCannotAll \\")
64cpp_quote(" (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \\")
65cpp_quote(" fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)")
66cpp_quote("#define grfdexPropExtraAll \\")
67cpp_quote(" (fdexPropNoSideEffects | fdexPropDynamicType)")
68cpp_quote("#define grfdexPropAll \\")
69cpp_quote(" (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)")
70
71cpp_quote("#define DISPATCH_CONSTRUCT 0x4000")
72
73cpp_quote("#define DISPID_THIS (-613)")
74cpp_quote("#define DISPID_STARTENUM DISPID_UNKNOWN")
75
76[
77object,
78uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9),
79pointer_default(unique)
80]
81interface IDispatchEx : IDispatch
82{
83 HRESULT GetDispID(
84 [in] BSTR bstrName,
85 [in] DWORD grfdex,
86 [out] DISPID *pid);
87
88 [local]
89 HRESULT InvokeEx(
90 [in] DISPID id,
91 [in] LCID lcid,
92 [in] WORD wFlags,
93 [in] DISPPARAMS *pdp,
94 [out] VARIANT *pvarRes,
95 [out] EXCEPINFO *pei,
96 [in, unique] IServiceProvider *pspCaller);
97
98 [call_as(InvokeEx)]
99 HRESULT RemoteInvokeEx(
100 [in] DISPID id,
101 [in] LCID lcid,
102 [in] DWORD dwFlags,
103 [in] DISPPARAMS *pdp,
104 [out] VARIANT *pvarRes,
105 [out] EXCEPINFO *pei,
106 [in, unique] IServiceProvider *pspCaller,
107 [in] UINT cvarRefArg,
108 [in, size_is(cvarRefArg)] UINT *rgiRefArg,
109 [in, out, size_is(cvarRefArg)] VARIANT *rgvarRefArg);
110
111 HRESULT DeleteMemberByName(
112 [in] BSTR bstrName,
113 [in] DWORD grfdex);
114
115 HRESULT DeleteMemberByDispID(
116 [in] DISPID id);
117
118 HRESULT GetMemberProperties(
119 [in] DISPID id,
120 [in] DWORD grfdexFetch,
121 [out] DWORD *pgrfdex);
122
123 HRESULT GetMemberName(
124 [in] DISPID id,
125 [out] BSTR *pbstrName);
126
127 HRESULT GetNextDispID(
128 [in] DWORD grfdex,
129 [in] DISPID id,
130 [out] DISPID *pid);
131
132 HRESULT GetNameSpaceParent([out] IUnknown **ppunk);
133}
134
135[
136object,
137uuid(A6EF9861-C720-11d0-9337-00A0C90DCAA9),
138pointer_default(unique)
139]
140interface IDispError : IUnknown
141{
142 HRESULT QueryErrorInfo(
143 [in] GUID guidErrorType,
144 [out] IDispError **ppde);
145
146 HRESULT GetNext(
147 [out] IDispError **ppde);
148
149 HRESULT GetHresult(
150 [out] HRESULT *phr);
151
152 HRESULT GetSource(
153 [out] BSTR *pbstrSource);
154
155 HRESULT GetHelpInfo(
156 [out] BSTR *pbstrFileName,
157 [out] DWORD *pdwContext);
158
159 HRESULT GetDescription(
160 [out] BSTR *pbstrDescription);
161}
162
163[
164object,
165uuid(A6EF9862-C720-11d0-9337-00A0C90DCAA9),
166pointer_default(unique)
167]
168interface IVariantChangeType : IUnknown
169{
170 HRESULT ChangeType(
171 [in, out, unique] VARIANT *pvarDst,
172 [in, unique] VARIANT *pvarSrc,
173 [in] LCID lcid,
174 [in] VARTYPE vtNew);
175}
176
177
178[
179object,
180uuid(CA04B7E6-0D21-11d1-8CC5-00C04FC2B085),
181pointer_default(unique)
182]
183interface IObjectIdentity : IUnknown
184{
185 HRESULT IsEqualObject(
186 [in] IUnknown *punk);
187}
188
189[
190 object,
191 uuid(c5598e60-b307-11d1-b27d-006008c3fbfb),
192 pointer_default(unique)
193]
194interface ICanHandleException : IUnknown
195{
196 HRESULT CanHandleException(
197 [in] EXCEPINFO *pExcepInfo,
198 [in] VARIANT *pvar);
199}
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