msxml3: Initialise output interface pointers to NULL in xmlnodelist_QueryInterface...
[wine/multimedia.git] / include / dispex.idl
blobfaabe09ad08b69485d4f1a41ea25588e304cc44d
1 /*
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
19 import "ocidl.idl";
20 import "oleidl.idl";
21 import "oaidl.idl";
22 import "servprov.idl";
24 cpp_quote("#define fdexNameCaseSensitive 0x00000001L")
25 cpp_quote("#define fdexNameEnsure 0x00000002L")
26 cpp_quote("#define fdexNameImplicit 0x00000004L")
27 cpp_quote("#define fdexNameCaseInsensitive 0x00000008L")
28 cpp_quote("#define fdexNameInternal 0x00000010L")
29 cpp_quote("#define fdexNameNoDynamicProperties 0x00000020L")
31 cpp_quote("#define fdexPropCanGet 0x00000001L")
32 cpp_quote("#define fdexPropCannotGet 0x00000002L")
33 cpp_quote("#define fdexPropCanPut 0x00000004L")
34 cpp_quote("#define fdexPropCannotPut 0x00000008L")
35 cpp_quote("#define fdexPropCanPutRef 0x00000010L")
36 cpp_quote("#define fdexPropCannotPutRef 0x00000020L")
37 cpp_quote("#define fdexPropNoSideEffects 0x00000040L")
38 cpp_quote("#define fdexPropDynamicType 0x00000080L")
39 cpp_quote("#define fdexPropCanCall 0x00000100L")
40 cpp_quote("#define fdexPropCannotCall 0x00000200L")
41 cpp_quote("#define fdexPropCanConstruct 0x00000400L")
42 cpp_quote("#define fdexPropCannotConstruct 0x00000800L")
43 cpp_quote("#define fdexPropCanSourceEvents 0x00001000L")
44 cpp_quote("#define fdexPropCannotSourceEvents 0x00002000L")
46 cpp_quote("#define fdexEnumDefault 0x00000001L")
47 cpp_quote("#define fdexEnumAll 0x00000002L")
49 cpp_quote("#define grfdexPropCanAll \\")
50 cpp_quote(" (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \\")
51 cpp_quote(" fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)")
52 cpp_quote("#define grfdexPropCannotAll \\")
53 cpp_quote(" (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \\")
54 cpp_quote(" fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)")
55 cpp_quote("#define grfdexPropExtraAll \\")
56 cpp_quote(" (fdexPropNoSideEffects | fdexPropDynamicType)")
57 cpp_quote("#define grfdexPropAll \\")
58 cpp_quote(" (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)")
60 cpp_quote("#define DISPATCH_CONSTRUCT 0x4000")
62 cpp_quote("#define DISPID_THIS (-613)")
63 cpp_quote("#define DISPID_STARTENUM DISPID_UNKNOWN")
66 object,
67 uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9),
68 pointer_default(unique)
70 interface IDispatchEx : IDispatch
72 HRESULT GetDispID(
73 [in] BSTR bstrName,
74 [in] DWORD grfdex,
75 [out] DISPID *pid);
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);
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);
100 HRESULT DeleteMemberByName(
101 [in] BSTR bstrName,
102 [in] DWORD grfdex);
104 HRESULT DeleteMemberByDispID(
105 [in] DISPID id);
107 HRESULT GetMemberProperties(
108 [in] DISPID id,
109 [in] DWORD grfdexFetch,
110 [out] DWORD *pgrfdex);
112 HRESULT GetMemberName(
113 [in] DISPID id,
114 [out] BSTR *pbstrName);
116 HRESULT GetNextDispID(
117 [in] DWORD grfdex,
118 [in] DISPID id,
119 [out] DISPID *pid);
121 HRESULT GetNameSpaceParent([out] IUnknown **ppunk);
125 object,
126 uuid(A6EF9861-C720-11d0-9337-00A0C90DCAA9),
127 pointer_default(unique)
129 interface IDispError : IUnknown
131 HRESULT QueryErrorInfo(
132 [in] GUID guidErrorType,
133 [out] IDispError **ppde);
135 HRESULT GetNext(
136 [out] IDispError **ppde);
138 HRESULT GetHresult(
139 [out] HRESULT *phr);
141 HRESULT GetSource(
142 [out] BSTR *pbstrSource);
144 HRESULT GetHelpInfo(
145 [out] BSTR *pbstrFileName,
146 [out] DWORD *pdwContext);
148 HRESULT GetDescription(
149 [out] BSTR *pbstrDescription);
153 object,
154 uuid(A6EF9862-C720-11d0-9337-00A0C90DCAA9),
155 pointer_default(unique)
157 interface IVariantChangeType : IUnknown
159 HRESULT ChangeType(
160 [in, out, unique] VARIANT *pvarDst,
161 [in, unique] VARIANT *pvarSrc,
162 [in] LCID lcid,
163 [in] VARTYPE vtNew);
168 object,
169 uuid(CA04B7E6-0D21-11d1-8CC5-00C04FC2B085),
170 pointer_default(unique)
172 interface IObjectIdentity : IUnknown
174 HRESULT IsEqualObject(
175 [in] IUnknown *punk);