ReactOS  0.4.15-dev-1177-g6cb3b62
dispex.idl
Go to the documentation of this file.
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 // HACK
19 #define annotation(x)
20 
21 #ifndef DO_NO_IMPORTS
22 import "ocidl.idl";
23 import "oleidl.idl";
24 import "oaidl.idl";
25 import "servprov.idl";
26 #endif
27 
28 cpp_quote("DEFINE_GUID(SID_VariantConversion, 0x1f101481,0xbccd,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);")
29 cpp_quote("DEFINE_GUID(SID_GetCaller, 0x4717cc40,0xbcb9,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);")
30 
31 cpp_quote("#define fdexNameCaseSensitive 0x00000001L")
32 cpp_quote("#define fdexNameEnsure 0x00000002L")
33 cpp_quote("#define fdexNameImplicit 0x00000004L")
34 cpp_quote("#define fdexNameCaseInsensitive 0x00000008L")
35 cpp_quote("#define fdexNameInternal 0x00000010L")
36 cpp_quote("#define fdexNameNoDynamicProperties 0x00000020L")
37 
38 cpp_quote("#define fdexPropCanGet 0x00000001L")
39 cpp_quote("#define fdexPropCannotGet 0x00000002L")
40 cpp_quote("#define fdexPropCanPut 0x00000004L")
41 cpp_quote("#define fdexPropCannotPut 0x00000008L")
42 cpp_quote("#define fdexPropCanPutRef 0x00000010L")
43 cpp_quote("#define fdexPropCannotPutRef 0x00000020L")
44 cpp_quote("#define fdexPropNoSideEffects 0x00000040L")
45 cpp_quote("#define fdexPropDynamicType 0x00000080L")
46 cpp_quote("#define fdexPropCanCall 0x00000100L")
47 cpp_quote("#define fdexPropCannotCall 0x00000200L")
48 cpp_quote("#define fdexPropCanConstruct 0x00000400L")
49 cpp_quote("#define fdexPropCannotConstruct 0x00000800L")
50 cpp_quote("#define fdexPropCanSourceEvents 0x00001000L")
51 cpp_quote("#define fdexPropCannotSourceEvents 0x00002000L")
52 
53 cpp_quote("#define fdexEnumDefault 0x00000001L")
54 cpp_quote("#define fdexEnumAll 0x00000002L")
55 
56 cpp_quote("#define grfdexPropCanAll \\")
57 cpp_quote(" (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \\")
58 cpp_quote(" fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)")
59 cpp_quote("#define grfdexPropCannotAll \\")
60 cpp_quote(" (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \\")
61 cpp_quote(" fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)")
62 cpp_quote("#define grfdexPropExtraAll \\")
63 cpp_quote(" (fdexPropNoSideEffects | fdexPropDynamicType)")
64 cpp_quote("#define grfdexPropAll \\")
65 cpp_quote(" (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)")
66 
67 cpp_quote("#define DISPATCH_CONSTRUCT 0x4000")
68 
69 cpp_quote("#define DISPID_THIS (-613)")
70 cpp_quote("#define DISPID_STARTENUM DISPID_UNKNOWN")
71 
72 [
73 object,
74 uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9),
76 ]
77 interface IDispatchEx : IDispatch
78 {
79  HRESULT GetDispID(
80  [in] BSTR bstrName,
81  [in] DWORD grfdex,
82  [out] DISPID *pid);
83 
84  [local]
85  HRESULT InvokeEx(
86  [in, annotation("__in")] DISPID id,
87  [in, annotation("__in")] LCID lcid,
88  [in, annotation("__in")] WORD wFlags,
89  [in, annotation("__in")] DISPPARAMS *pdp,
90  [out, annotation("__out_opt")] VARIANT *pvarRes,
91  [out, annotation("__out_opt")] EXCEPINFO *pei,
92  [in, unique, annotation("__in_opt")] IServiceProvider *pspCaller);
93 
94  [call_as(InvokeEx)]
95  HRESULT RemoteInvokeEx(
96  [in] DISPID id,
97  [in] LCID lcid,
98  [in] DWORD dwFlags,
99  [in] DISPPARAMS *pdp,
100  [out] VARIANT *pvarRes,
101  [out] EXCEPINFO *pei,
102  [in, unique] IServiceProvider *pspCaller,
103  [in] UINT cvarRefArg,
104  [in, size_is(cvarRefArg)] UINT *rgiRefArg,
105  [in, out, size_is(cvarRefArg)] VARIANT *rgvarRefArg);
106 
107  HRESULT DeleteMemberByName(
108  [in] BSTR bstrName,
109  [in] DWORD grfdex);
110 
111  HRESULT DeleteMemberByDispID(
112  [in] DISPID id);
113 
114  HRESULT GetMemberProperties(
115  [in] DISPID id,
116  [in] DWORD grfdexFetch,
117  [out] DWORD *pgrfdex);
118 
119  HRESULT GetMemberName(
120  [in] DISPID id,
121  [out] BSTR *pbstrName);
122 
123  HRESULT GetNextDispID(
124  [in] DWORD grfdex,
125  [in] DISPID id,
126  [out] DISPID *pid);
127 
128  HRESULT GetNameSpaceParent([out] IUnknown **ppunk);
129 }
130 
131 [
132 object,
133 uuid(A6EF9861-C720-11d0-9337-00A0C90DCAA9),
135 ]
136 interface IDispError : IUnknown
137 {
138  HRESULT QueryErrorInfo(
139  [in] GUID guidErrorType,
140  [out] IDispError **ppde);
141 
142  HRESULT GetNext(
143  [out] IDispError **ppde);
144 
145  HRESULT GetHresult(
146  [out] HRESULT *phr);
147 
148  HRESULT GetSource(
149  [out] BSTR *pbstrSource);
150 
151  HRESULT GetHelpInfo(
152  [out] BSTR *pbstrFileName,
153  [out] DWORD *pdwContext);
154 
155  HRESULT GetDescription(
156  [out] BSTR *pbstrDescription);
157 }
158 
159 [
160 object,
161 uuid(A6EF9862-C720-11d0-9337-00A0C90DCAA9),
163 ]
164 interface IVariantChangeType : IUnknown
165 {
166  HRESULT ChangeType(
167  [in, out, unique] VARIANT *pvarDst,
168  [in, unique] VARIANT *pvarSrc,
169  [in] LCID lcid,
170  [in] VARTYPE vtNew);
171 }
172 
173 
174 [
175 object,
176 uuid(CA04B7E6-0D21-11d1-8CC5-00C04FC2B085),
178 ]
179 interface IObjectIdentity : IUnknown
180 {
181  HRESULT IsEqualObject(
182  [in] IUnknown *punk);
183 }
184 
185 [
186  object,
187  uuid(c5598e60-b307-11d1-b27d-006008c3fbfb),
189 ]
190 interface ICanHandleException : IUnknown
191 {
192  HRESULT CanHandleException(
193  [in] EXCEPINFO *pExcepInfo,
194  [in] VARIANT *pvar);
195 }
196 
197 [
198  object,
199  uuid(10e2414a-ec59-49d2-bc51-5add2c36febc),
201 ]
202 interface IProvideRuntimeContext : IUnknown
203 {
204  HRESULT GetCurrentSourceContext(
205  [out] DWORD_PTR *pdwContext,
206  [out] VARIANT_BOOL *pfExecutingGlobalCode);
207 }
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
Definition: winddi.h:3835
DWORD LCID
Definition: nls.h:13
OLECHAR * BSTR
Definition: compat.h:2041
short VARIANT_BOOL
Definition: compat.h:2038
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
DEFINE_GUID(SID_VariantConversion, 0x1f101481, 0xbccd, 0x11d0, 0x93, 0x36, 0x00, 0xa0, 0xc9, 0xd, 0xca, 0xa9)
LONG HRESULT
Definition: typedefs.h:79
uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9)
unsigned short WORD
Definition: ntddk_ex.h:93
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
uint32_t DWORD_PTR
Definition: typedefs.h:65
#define local
Definition: zutil.h:30
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:534
struct stdole::EXCEPINFO EXCEPINFO
static VARIANTARG static DISPID
Definition: ordinal.c:49
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
unsigned short VARTYPE
Definition: compat.h:2002
unsigned int UINT
Definition: ndis.h:50
struct stdole::DISPPARAMS DISPPARAMS
#define annotation(x)
Definition: dispex.idl:19
void * object
Definition: jmemsys.h:48