blob: 451ebb1454a557ba8a03e68664c02f104095da12 [file] [log] [blame]
Kevin Koltzaue3e67042004-07-21 03:08:46 +00001/*
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18
19import "ocidl.idl";
20import "oleidl.idl";
21import "oaidl.idl";
22import "servprov.idl";
23
24cpp_quote("#define fdexNameCaseSensitive 0x00000001L")
25cpp_quote("#define fdexNameEnsure 0x00000002L")
26cpp_quote("#define fdexNameImplicit 0x00000004L")
27cpp_quote("#define fdexNameCaseInsensitive 0x00000008L")
28cpp_quote("#define fdexNameInternal 0x00000010L")
29cpp_quote("#define fdexNameNoDynamicProperties 0x00000020L")
30
31cpp_quote("#define fdexPropCanGet 0x00000001L")
32cpp_quote("#define fdexPropCannotGet 0x00000002L")
33cpp_quote("#define fdexPropCanPut 0x00000004L")
34cpp_quote("#define fdexPropCannotPut 0x00000008L")
35cpp_quote("#define fdexPropCanPutRef 0x00000010L")
36cpp_quote("#define fdexPropCannotPutRef 0x00000020L")
37cpp_quote("#define fdexPropNoSideEffects 0x00000040L")
38cpp_quote("#define fdexPropDynamicType 0x00000080L")
39cpp_quote("#define fdexPropCanCall 0x00000100L")
40cpp_quote("#define fdexPropCannotCall 0x00000200L")
41cpp_quote("#define fdexPropCanConstruct 0x00000400L")
42cpp_quote("#define fdexPropCannotConstruct 0x00000800L")
43cpp_quote("#define fdexPropCanSourceEvents 0x00001000L")
44cpp_quote("#define fdexPropCannotSourceEvents 0x00002000L")
45
46cpp_quote("#define fdexEnumDefault 0x00000001L")
47cpp_quote("#define fdexEnumAll 0x00000002L")
48
49cpp_quote("#define grfdexPropCanAll \\")
50cpp_quote(" (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \\")
51cpp_quote(" fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)")
52cpp_quote("#define grfdexPropCannotAll \\")
53cpp_quote(" (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \\")
54cpp_quote(" fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)")
55cpp_quote("#define grfdexPropExtraAll \\")
56cpp_quote(" (fdexPropNoSideEffects | fdexPropDynamicType)")
57cpp_quote("#define grfdexPropAll \\")
58cpp_quote(" (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)")
59
60cpp_quote("#define DISPATCH_CONSTRUCT 0x4000")
61
62cpp_quote("#define DISPID_THIS (-613)")
63cpp_quote("#define DISPID_STARTENUM DISPID_UNKNOWN")
64
65[
66object,
67uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9),
68pointer_default(unique)
69]
70interface IDispatchEx : IDispatch
71{
72 HRESULT GetDispID(
73 [in] BSTR bstrName,
74 [in] DWORD grfdex,
75 [out] DISPID *pid);
76
77 [local]
78 HRESULT InvokeEx(
79 [in] DISPID id,
80 [in] LCID lcid,
81 [in] WORD wFlags,
82 [in] DISPPARAMS *pdp,
83 [out] VARIANT *pvarRes,
84 [out] EXCEPINFO *pei,
85 [in, unique] IServiceProvider *pspCaller);
86
87 [call_as(InvokeEx)]
88 HRESULT RemoteInvokeEx(
89 [in] DISPID id,
90 [in] LCID lcid,
91 [in] DWORD dwFlags,
92 [in] DISPPARAMS *pdp,
93 [out] VARIANT *pvarRes,
94 [out] EXCEPINFO *pei,
95 [in, unique] IServiceProvider *pspCaller,
96 [in] UINT cvarRefArg,
97 [in, size_is(cvarRefArg)] UINT *rgiRefArg,
98 [in, out, size_is(cvarRefArg)] VARIANT *rgvarRefArg);
99
100 HRESULT DeleteMemberByName(
101 [in] BSTR bstrName,
102 [in] DWORD grfdex);
103
104 HRESULT DeleteMemberByDispID(
105 [in] DISPID id);
106
107 HRESULT GetMemberProperties(
108 [in] DISPID id,
109 [in] DWORD grfdexFetch,
110 [out] DWORD *pgrfdex);
111
112 HRESULT GetMemberName(
113 [in] DISPID id,
114 [out] BSTR *pbstrName);
115
116 HRESULT GetNextDispID(
117 [in] DWORD grfdex,
118 [in] DISPID id,
119 [out] DISPID *pid);
120
121 HRESULT GetNameSpaceParent([out] IUnknown **ppunk);
122};
123
124[
125object,
126uuid(A6EF9861-C720-11d0-9337-00A0C90DCAA9),
127pointer_default(unique)
128]
129interface IDispError : IUnknown
130{
131 HRESULT QueryErrorInfo(
132 [in] GUID guidErrorType,
133 [out] IDispError **ppde);
134
135 HRESULT GetNext(
136 [out] IDispError **ppde);
137
138 HRESULT GetHresult(
139 [out] HRESULT *phr);
140
141 HRESULT GetSource(
142 [out] BSTR *pbstrSource);
143
144 HRESULT GetHelpInfo(
145 [out] BSTR *pbstrFileName,
146 [out] DWORD *pdwContext);
147
148 HRESULT GetDescription(
149 [out] BSTR *pbstrDescription);
150};
151
152[
153object,
154uuid(A6EF9862-C720-11d0-9337-00A0C90DCAA9),
155pointer_default(unique)
156]
157interface IVariantChangeType : IUnknown
158{
159 HRESULT ChangeType(
160 [in, out, unique] VARIANT *pvarDst,
161 [in, unique] VARIANT *pvarSrc,
162 [in] LCID lcid,
163 [in] VARTYPE vtNew);
164};
165
166
167[
168object,
169uuid(CA04B7E6-0D21-11d1-8CC5-00C04FC2B085),
170pointer_default(unique)
171]
172interface IObjectIdentity : IUnknown
173{
174 HRESULT IsEqualObject(
175 [in] IUnknown *punk);
176};