2 * Copyright 2004 Kevin Koltzau
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.
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.
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
25 import "servprov.idl";
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);")
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")
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")
53 cpp_quote("#define fdexEnumDefault 0x00000001L")
54 cpp_quote("#define fdexEnumAll 0x00000002L")
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)")
67 cpp_quote("#define DISPATCH_CONSTRUCT 0x4000")
69 cpp_quote("#define DISPID_THIS (-613)")
70 cpp_quote("#define DISPID_STARTENUM DISPID_UNKNOWN")
74 uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9),
75 pointer_default(unique)
77 interface IDispatchEx : IDispatch
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);
95 HRESULT RemoteInvokeEx(
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);
107 HRESULT DeleteMemberByName(
111 HRESULT DeleteMemberByDispID(
114 HRESULT GetMemberProperties(
116 [in] DWORD grfdexFetch,
117 [out] DWORD *pgrfdex);
119 HRESULT GetMemberName(
121 [out] BSTR *pbstrName);
123 HRESULT GetNextDispID(
128 HRESULT GetNameSpaceParent([out] IUnknown **ppunk);
133 uuid(A6EF9861-C720-11d0-9337-00A0C90DCAA9),
134 pointer_default(unique)
136 interface IDispError : IUnknown
138 HRESULT QueryErrorInfo(
139 [in] GUID guidErrorType,
140 [out] IDispError **ppde);
143 [out] IDispError **ppde);
149 [out] BSTR *pbstrSource);
152 [out] BSTR *pbstrFileName,
153 [out] DWORD *pdwContext);
155 HRESULT GetDescription(
156 [out] BSTR *pbstrDescription);
161 uuid(A6EF9862-C720-11d0-9337-00A0C90DCAA9),
162 pointer_default(unique)
164 interface IVariantChangeType : IUnknown
167 [in, out, unique] VARIANT *pvarDst,
168 [in, unique] VARIANT *pvarSrc,
176 uuid(CA04B7E6-0D21-11d1-8CC5-00C04FC2B085),
177 pointer_default(unique)
179 interface IObjectIdentity : IUnknown
181 HRESULT IsEqualObject(
182 [in] IUnknown *punk);
187 uuid(c5598e60-b307-11d1-b27d-006008c3fbfb),
188 pointer_default(unique)
190 interface ICanHandleException : IUnknown
192 HRESULT CanHandleException(
193 [in] EXCEPINFO *pExcepInfo,
199 uuid(10e2414a-ec59-49d2-bc51-5add2c36febc),
200 pointer_default(unique)
202 interface IProvideRuntimeContext : IUnknown
204 HRESULT GetCurrentSourceContext(
205 [out] DWORD_PTR *pdwContext,
206 [out] VARIANT_BOOL *pfExecutingGlobalCode);