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
23 import "servprov.idl";
26 cpp_quote("#define fdexNameCaseSensitive 0x00000001L")
27 cpp_quote("#define fdexNameEnsure 0x00000002L")
28 cpp_quote("#define fdexNameImplicit 0x00000004L")
29 cpp_quote("#define fdexNameCaseInsensitive 0x00000008L")
30 cpp_quote("#define fdexNameInternal 0x00000010L")
31 cpp_quote("#define fdexNameNoDynamicProperties 0x00000020L")
33 cpp_quote("#define fdexPropCanGet 0x00000001L")
34 cpp_quote("#define fdexPropCannotGet 0x00000002L")
35 cpp_quote("#define fdexPropCanPut 0x00000004L")
36 cpp_quote("#define fdexPropCannotPut 0x00000008L")
37 cpp_quote("#define fdexPropCanPutRef 0x00000010L")
38 cpp_quote("#define fdexPropCannotPutRef 0x00000020L")
39 cpp_quote("#define fdexPropNoSideEffects 0x00000040L")
40 cpp_quote("#define fdexPropDynamicType 0x00000080L")
41 cpp_quote("#define fdexPropCanCall 0x00000100L")
42 cpp_quote("#define fdexPropCannotCall 0x00000200L")
43 cpp_quote("#define fdexPropCanConstruct 0x00000400L")
44 cpp_quote("#define fdexPropCannotConstruct 0x00000800L")
45 cpp_quote("#define fdexPropCanSourceEvents 0x00001000L")
46 cpp_quote("#define fdexPropCannotSourceEvents 0x00002000L")
48 cpp_quote("#define fdexEnumDefault 0x00000001L")
49 cpp_quote("#define fdexEnumAll 0x00000002L")
51 cpp_quote("#define grfdexPropCanAll \\")
52 cpp_quote(" (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \\")
53 cpp_quote(" fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)")
54 cpp_quote("#define grfdexPropCannotAll \\")
55 cpp_quote(" (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \\")
56 cpp_quote(" fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)")
57 cpp_quote("#define grfdexPropExtraAll \\")
58 cpp_quote(" (fdexPropNoSideEffects | fdexPropDynamicType)")
59 cpp_quote("#define grfdexPropAll \\")
60 cpp_quote(" (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)")
62 cpp_quote("#define DISPATCH_CONSTRUCT 0x4000")
64 cpp_quote("#define DISPID_THIS (-613)")
65 cpp_quote("#define DISPID_STARTENUM DISPID_UNKNOWN")
69 uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9),
70 pointer_default(unique)
72 interface IDispatchEx : IDispatch
85 [out] VARIANT *pvarRes,
87 [in, unique] IServiceProvider *pspCaller);
90 HRESULT RemoteInvokeEx(
95 [out] VARIANT *pvarRes,
97 [in, unique] IServiceProvider *pspCaller,
99 [in, size_is(cvarRefArg)] UINT *rgiRefArg,
100 [in, out, size_is(cvarRefArg)] VARIANT *rgvarRefArg);
102 HRESULT DeleteMemberByName(
106 HRESULT DeleteMemberByDispID(
109 HRESULT GetMemberProperties(
111 [in] DWORD grfdexFetch,
112 [out] DWORD *pgrfdex);
114 HRESULT GetMemberName(
116 [out] BSTR *pbstrName);
118 HRESULT GetNextDispID(
123 HRESULT GetNameSpaceParent([out] IUnknown **ppunk);
128 uuid(A6EF9861-C720-11d0-9337-00A0C90DCAA9),
129 pointer_default(unique)
131 interface IDispError : IUnknown
133 HRESULT QueryErrorInfo(
134 [in] GUID guidErrorType,
135 [out] IDispError **ppde);
138 [out] IDispError **ppde);
144 [out] BSTR *pbstrSource);
147 [out] BSTR *pbstrFileName,
148 [out] DWORD *pdwContext);
150 HRESULT GetDescription(
151 [out] BSTR *pbstrDescription);
156 uuid(A6EF9862-C720-11d0-9337-00A0C90DCAA9),
157 pointer_default(unique)
159 interface IVariantChangeType : IUnknown
162 [in, out, unique] VARIANT *pvarDst,
163 [in, unique] VARIANT *pvarSrc,
171 uuid(CA04B7E6-0D21-11d1-8CC5-00C04FC2B085),
172 pointer_default(unique)
174 interface IObjectIdentity : IUnknown
176 HRESULT IsEqualObject(
177 [in] IUnknown *punk);