DispEx.h 30 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075
  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for dispex.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __dispex_h__
  27. #define __dispex_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDispatchEx_FWD_DEFINED__
  33. #define __IDispatchEx_FWD_DEFINED__
  34. typedef interface IDispatchEx IDispatchEx;
  35. #endif /* __IDispatchEx_FWD_DEFINED__ */
  36. #ifndef __IDispError_FWD_DEFINED__
  37. #define __IDispError_FWD_DEFINED__
  38. typedef interface IDispError IDispError;
  39. #endif /* __IDispError_FWD_DEFINED__ */
  40. #ifndef __IVariantChangeType_FWD_DEFINED__
  41. #define __IVariantChangeType_FWD_DEFINED__
  42. typedef interface IVariantChangeType IVariantChangeType;
  43. #endif /* __IVariantChangeType_FWD_DEFINED__ */
  44. #ifndef __IObjectIdentity_FWD_DEFINED__
  45. #define __IObjectIdentity_FWD_DEFINED__
  46. typedef interface IObjectIdentity IObjectIdentity;
  47. #endif /* __IObjectIdentity_FWD_DEFINED__ */
  48. #ifndef __IProvideRuntimeContext_FWD_DEFINED__
  49. #define __IProvideRuntimeContext_FWD_DEFINED__
  50. typedef interface IProvideRuntimeContext IProvideRuntimeContext;
  51. #endif /* __IProvideRuntimeContext_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "ocidl.h"
  54. #ifdef __cplusplus
  55. extern "C"{
  56. #endif
  57. void * __RPC_USER MIDL_user_allocate(size_t);
  58. void __RPC_USER MIDL_user_free( void * );
  59. /* interface __MIDL_itf_dispex_0000 */
  60. /* [local] */
  61. //=--------------------------------------------------------------------------=
  62. // DispEx.h
  63. //=--------------------------------------------------------------------------=
  64. // (C) Copyright 1997 Microsoft Corporation. All Rights Reserved.
  65. //
  66. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  67. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  68. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  69. // PARTICULAR PURPOSE.
  70. //=--------------------------------------------------------------------------=
  71. #pragma comment(lib,"uuid.lib")
  72. //---------------------------------------------------------------------------=
  73. // IDispatchEx Interfaces.
  74. //
  75. #ifndef DISPEX_H_
  76. #define DISPEX_H_
  77. #include "servprov.h"
  78. #ifndef _NO_DISPATCHEX_GUIDS
  79. // {A6EF9860-C720-11d0-9337-00A0C90DCAA9}
  80. DEFINE_GUID(IID_IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);
  81. // {A6EF9861-C720-11d0-9337-00A0C90DCAA9}
  82. DEFINE_GUID(IID_IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);
  83. // {A6EF9862-C720-11d0-9337-00A0C90DCAA9}
  84. DEFINE_GUID(IID_IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);
  85. // {1F101481-BCCD-11d0-9336-00A0C90DCAA9}
  86. DEFINE_GUID(SID_VariantConversion, 0x1f101481, 0xbccd, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);
  87. // {4717CC40-BCB9-11d0-9336-00A0C90DCAA9}
  88. DEFINE_GUID(SID_GetCaller, 0x4717cc40, 0xbcb9, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);
  89. // {74A5040C-DD0C-48f0-AC85-194C3259180A}
  90. DEFINE_GUID(SID_ProvideRuntimeContext, 0x74a5040c, 0xdd0c, 0x48f0, 0xac, 0x85, 0x19, 0x4c, 0x32, 0x59, 0x18, 0xa);
  91. // {10E2414A-EC59-49d2-BC51-5ADD2C36FEBC}
  92. DEFINE_GUID(IID_IProvideRuntimeContext, 0x10e2414a, 0xec59, 0x49d2, 0xbc, 0x51, 0x5a, 0xdd, 0x2c, 0x36, 0xfe, 0xbc);
  93. // {CA04B7E6-0D21-11d1-8CC5-00C04FC2B085}
  94. DEFINE_GUID(IID_IObjectIdentity, 0xca04b7e6, 0xd21, 0x11d1, 0x8c, 0xc5, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
  95. #define SID_GetScriptSite IID_IActiveScriptSite
  96. #endif // _NO_DISPATCHEX_GUIDS
  97. #ifndef _NO_DISPATCHEX_CONSTS
  98. // Input flags for GetDispID
  99. #define fdexNameCaseSensitive 0x00000001L
  100. #define fdexNameEnsure 0x00000002L
  101. #define fdexNameImplicit 0x00000004L
  102. #define fdexNameCaseInsensitive 0x00000008L
  103. #define fdexNameInternal 0x00000010L
  104. #define fdexNameNoDynamicProperties 0x00000020L
  105. // Output flags for GetMemberProperties
  106. #define fdexPropCanGet 0x00000001L
  107. #define fdexPropCannotGet 0x00000002L
  108. #define fdexPropCanPut 0x00000004L
  109. #define fdexPropCannotPut 0x00000008L
  110. #define fdexPropCanPutRef 0x00000010L
  111. #define fdexPropCannotPutRef 0x00000020L
  112. #define fdexPropNoSideEffects 0x00000040L
  113. #define fdexPropDynamicType 0x00000080L
  114. #define fdexPropCanCall 0x00000100L
  115. #define fdexPropCannotCall 0x00000200L
  116. #define fdexPropCanConstruct 0x00000400L
  117. #define fdexPropCannotConstruct 0x00000800L
  118. #define fdexPropCanSourceEvents 0x00001000L
  119. #define fdexPropCannotSourceEvents 0x00002000L
  120. #define grfdexPropCanAll \
  121. (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \
  122. fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)
  123. #define grfdexPropCannotAll \
  124. (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \
  125. fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)
  126. #define grfdexPropExtraAll \
  127. (fdexPropNoSideEffects | fdexPropDynamicType)
  128. #define grfdexPropAll \
  129. (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)
  130. // Input flags for GetNextDispID
  131. #define fdexEnumDefault 0x00000001L
  132. #define fdexEnumAll 0x00000002L
  133. // Additional flags for Invoke - when object member is
  134. // used as a constructor.
  135. #define DISPATCH_CONSTRUCT 0x4000
  136. // Standard DISPIDs
  137. #define DISPID_THIS (-613)
  138. #define DISPID_STARTENUM DISPID_UNKNOWN
  139. #endif //_NO_DISPATCHEX_CONSTS
  140. extern RPC_IF_HANDLE __MIDL_itf_dispex_0000_v0_0_c_ifspec;
  141. extern RPC_IF_HANDLE __MIDL_itf_dispex_0000_v0_0_s_ifspec;
  142. #ifndef __IDispatchEx_INTERFACE_DEFINED__
  143. #define __IDispatchEx_INTERFACE_DEFINED__
  144. /* interface IDispatchEx */
  145. /* [unique][uuid][object] */
  146. EXTERN_C const IID IID_IDispatchEx;
  147. #if defined(__cplusplus) && !defined(CINTERFACE)
  148. MIDL_INTERFACE("A6EF9860-C720-11d0-9337-00A0C90DCAA9")
  149. IDispatchEx : public IDispatch
  150. {
  151. public:
  152. virtual HRESULT STDMETHODCALLTYPE GetDispID(
  153. /* [in] */ BSTR bstrName,
  154. /* [in] */ DWORD grfdex,
  155. /* [out] */ DISPID *pid) = 0;
  156. virtual /* [local] */ HRESULT STDMETHODCALLTYPE InvokeEx(
  157. /* [in] */ DISPID id,
  158. /* [in] */ LCID lcid,
  159. /* [in] */ WORD wFlags,
  160. /* [in] */ DISPPARAMS *pdp,
  161. /* [out] */ VARIANT *pvarRes,
  162. /* [out] */ EXCEPINFO *pei,
  163. /* [unique][in] */ IServiceProvider *pspCaller) = 0;
  164. virtual HRESULT STDMETHODCALLTYPE DeleteMemberByName(
  165. /* [in] */ BSTR bstrName,
  166. /* [in] */ DWORD grfdex) = 0;
  167. virtual HRESULT STDMETHODCALLTYPE DeleteMemberByDispID(
  168. /* [in] */ DISPID id) = 0;
  169. virtual HRESULT STDMETHODCALLTYPE GetMemberProperties(
  170. /* [in] */ DISPID id,
  171. /* [in] */ DWORD grfdexFetch,
  172. /* [out] */ DWORD *pgrfdex) = 0;
  173. virtual HRESULT STDMETHODCALLTYPE GetMemberName(
  174. /* [in] */ DISPID id,
  175. /* [out] */ BSTR *pbstrName) = 0;
  176. virtual HRESULT STDMETHODCALLTYPE GetNextDispID(
  177. /* [in] */ DWORD grfdex,
  178. /* [in] */ DISPID id,
  179. /* [out] */ DISPID *pid) = 0;
  180. virtual HRESULT STDMETHODCALLTYPE GetNameSpaceParent(
  181. /* [out] */ IUnknown **ppunk) = 0;
  182. };
  183. #else /* C style interface */
  184. typedef struct IDispatchExVtbl
  185. {
  186. BEGIN_INTERFACE
  187. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  188. IDispatchEx * This,
  189. /* [in] */ REFIID riid,
  190. /* [iid_is][out] */ void **ppvObject);
  191. ULONG ( STDMETHODCALLTYPE *AddRef )(
  192. IDispatchEx * This);
  193. ULONG ( STDMETHODCALLTYPE *Release )(
  194. IDispatchEx * This);
  195. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  196. IDispatchEx * This,
  197. /* [out] */ UINT *pctinfo);
  198. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  199. IDispatchEx * This,
  200. /* [in] */ UINT iTInfo,
  201. /* [in] */ LCID lcid,
  202. /* [out] */ ITypeInfo **ppTInfo);
  203. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  204. IDispatchEx * This,
  205. /* [in] */ REFIID riid,
  206. /* [size_is][in] */ LPOLESTR *rgszNames,
  207. /* [in] */ UINT cNames,
  208. /* [in] */ LCID lcid,
  209. /* [size_is][out] */ DISPID *rgDispId);
  210. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  211. IDispatchEx * This,
  212. /* [in] */ DISPID dispIdMember,
  213. /* [in] */ REFIID riid,
  214. /* [in] */ LCID lcid,
  215. /* [in] */ WORD wFlags,
  216. /* [out][in] */ DISPPARAMS *pDispParams,
  217. /* [out] */ VARIANT *pVarResult,
  218. /* [out] */ EXCEPINFO *pExcepInfo,
  219. /* [out] */ UINT *puArgErr);
  220. HRESULT ( STDMETHODCALLTYPE *GetDispID )(
  221. IDispatchEx * This,
  222. /* [in] */ BSTR bstrName,
  223. /* [in] */ DWORD grfdex,
  224. /* [out] */ DISPID *pid);
  225. /* [local] */ HRESULT ( STDMETHODCALLTYPE *InvokeEx )(
  226. IDispatchEx * This,
  227. /* [in] */ DISPID id,
  228. /* [in] */ LCID lcid,
  229. /* [in] */ WORD wFlags,
  230. /* [in] */ DISPPARAMS *pdp,
  231. /* [out] */ VARIANT *pvarRes,
  232. /* [out] */ EXCEPINFO *pei,
  233. /* [unique][in] */ IServiceProvider *pspCaller);
  234. HRESULT ( STDMETHODCALLTYPE *DeleteMemberByName )(
  235. IDispatchEx * This,
  236. /* [in] */ BSTR bstrName,
  237. /* [in] */ DWORD grfdex);
  238. HRESULT ( STDMETHODCALLTYPE *DeleteMemberByDispID )(
  239. IDispatchEx * This,
  240. /* [in] */ DISPID id);
  241. HRESULT ( STDMETHODCALLTYPE *GetMemberProperties )(
  242. IDispatchEx * This,
  243. /* [in] */ DISPID id,
  244. /* [in] */ DWORD grfdexFetch,
  245. /* [out] */ DWORD *pgrfdex);
  246. HRESULT ( STDMETHODCALLTYPE *GetMemberName )(
  247. IDispatchEx * This,
  248. /* [in] */ DISPID id,
  249. /* [out] */ BSTR *pbstrName);
  250. HRESULT ( STDMETHODCALLTYPE *GetNextDispID )(
  251. IDispatchEx * This,
  252. /* [in] */ DWORD grfdex,
  253. /* [in] */ DISPID id,
  254. /* [out] */ DISPID *pid);
  255. HRESULT ( STDMETHODCALLTYPE *GetNameSpaceParent )(
  256. IDispatchEx * This,
  257. /* [out] */ IUnknown **ppunk);
  258. END_INTERFACE
  259. } IDispatchExVtbl;
  260. interface IDispatchEx
  261. {
  262. CONST_VTBL struct IDispatchExVtbl *lpVtbl;
  263. };
  264. #ifdef COBJMACROS
  265. #define IDispatchEx_QueryInterface(This,riid,ppvObject) \
  266. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  267. #define IDispatchEx_AddRef(This) \
  268. (This)->lpVtbl -> AddRef(This)
  269. #define IDispatchEx_Release(This) \
  270. (This)->lpVtbl -> Release(This)
  271. #define IDispatchEx_GetTypeInfoCount(This,pctinfo) \
  272. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  273. #define IDispatchEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  274. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  275. #define IDispatchEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  276. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  277. #define IDispatchEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  278. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  279. #define IDispatchEx_GetDispID(This,bstrName,grfdex,pid) \
  280. (This)->lpVtbl -> GetDispID(This,bstrName,grfdex,pid)
  281. #define IDispatchEx_InvokeEx(This,id,lcid,wFlags,pdp,pvarRes,pei,pspCaller) \
  282. (This)->lpVtbl -> InvokeEx(This,id,lcid,wFlags,pdp,pvarRes,pei,pspCaller)
  283. #define IDispatchEx_DeleteMemberByName(This,bstrName,grfdex) \
  284. (This)->lpVtbl -> DeleteMemberByName(This,bstrName,grfdex)
  285. #define IDispatchEx_DeleteMemberByDispID(This,id) \
  286. (This)->lpVtbl -> DeleteMemberByDispID(This,id)
  287. #define IDispatchEx_GetMemberProperties(This,id,grfdexFetch,pgrfdex) \
  288. (This)->lpVtbl -> GetMemberProperties(This,id,grfdexFetch,pgrfdex)
  289. #define IDispatchEx_GetMemberName(This,id,pbstrName) \
  290. (This)->lpVtbl -> GetMemberName(This,id,pbstrName)
  291. #define IDispatchEx_GetNextDispID(This,grfdex,id,pid) \
  292. (This)->lpVtbl -> GetNextDispID(This,grfdex,id,pid)
  293. #define IDispatchEx_GetNameSpaceParent(This,ppunk) \
  294. (This)->lpVtbl -> GetNameSpaceParent(This,ppunk)
  295. #endif /* COBJMACROS */
  296. #endif /* C style interface */
  297. HRESULT STDMETHODCALLTYPE IDispatchEx_GetDispID_Proxy(
  298. IDispatchEx * This,
  299. /* [in] */ BSTR bstrName,
  300. /* [in] */ DWORD grfdex,
  301. /* [out] */ DISPID *pid);
  302. void __RPC_STUB IDispatchEx_GetDispID_Stub(
  303. IRpcStubBuffer *This,
  304. IRpcChannelBuffer *_pRpcChannelBuffer,
  305. PRPC_MESSAGE _pRpcMessage,
  306. DWORD *_pdwStubPhase);
  307. /* [call_as] */ HRESULT STDMETHODCALLTYPE IDispatchEx_RemoteInvokeEx_Proxy(
  308. IDispatchEx * This,
  309. /* [in] */ DISPID id,
  310. /* [in] */ LCID lcid,
  311. /* [in] */ DWORD dwFlags,
  312. /* [in] */ DISPPARAMS *pdp,
  313. /* [out] */ VARIANT *pvarRes,
  314. /* [out] */ EXCEPINFO *pei,
  315. /* [unique][in] */ IServiceProvider *pspCaller,
  316. /* [in] */ UINT cvarRefArg,
  317. /* [size_is][in] */ UINT *rgiRefArg,
  318. /* [size_is][out][in] */ VARIANT *rgvarRefArg);
  319. void __RPC_STUB IDispatchEx_RemoteInvokeEx_Stub(
  320. IRpcStubBuffer *This,
  321. IRpcChannelBuffer *_pRpcChannelBuffer,
  322. PRPC_MESSAGE _pRpcMessage,
  323. DWORD *_pdwStubPhase);
  324. HRESULT STDMETHODCALLTYPE IDispatchEx_DeleteMemberByName_Proxy(
  325. IDispatchEx * This,
  326. /* [in] */ BSTR bstrName,
  327. /* [in] */ DWORD grfdex);
  328. void __RPC_STUB IDispatchEx_DeleteMemberByName_Stub(
  329. IRpcStubBuffer *This,
  330. IRpcChannelBuffer *_pRpcChannelBuffer,
  331. PRPC_MESSAGE _pRpcMessage,
  332. DWORD *_pdwStubPhase);
  333. HRESULT STDMETHODCALLTYPE IDispatchEx_DeleteMemberByDispID_Proxy(
  334. IDispatchEx * This,
  335. /* [in] */ DISPID id);
  336. void __RPC_STUB IDispatchEx_DeleteMemberByDispID_Stub(
  337. IRpcStubBuffer *This,
  338. IRpcChannelBuffer *_pRpcChannelBuffer,
  339. PRPC_MESSAGE _pRpcMessage,
  340. DWORD *_pdwStubPhase);
  341. HRESULT STDMETHODCALLTYPE IDispatchEx_GetMemberProperties_Proxy(
  342. IDispatchEx * This,
  343. /* [in] */ DISPID id,
  344. /* [in] */ DWORD grfdexFetch,
  345. /* [out] */ DWORD *pgrfdex);
  346. void __RPC_STUB IDispatchEx_GetMemberProperties_Stub(
  347. IRpcStubBuffer *This,
  348. IRpcChannelBuffer *_pRpcChannelBuffer,
  349. PRPC_MESSAGE _pRpcMessage,
  350. DWORD *_pdwStubPhase);
  351. HRESULT STDMETHODCALLTYPE IDispatchEx_GetMemberName_Proxy(
  352. IDispatchEx * This,
  353. /* [in] */ DISPID id,
  354. /* [out] */ BSTR *pbstrName);
  355. void __RPC_STUB IDispatchEx_GetMemberName_Stub(
  356. IRpcStubBuffer *This,
  357. IRpcChannelBuffer *_pRpcChannelBuffer,
  358. PRPC_MESSAGE _pRpcMessage,
  359. DWORD *_pdwStubPhase);
  360. HRESULT STDMETHODCALLTYPE IDispatchEx_GetNextDispID_Proxy(
  361. IDispatchEx * This,
  362. /* [in] */ DWORD grfdex,
  363. /* [in] */ DISPID id,
  364. /* [out] */ DISPID *pid);
  365. void __RPC_STUB IDispatchEx_GetNextDispID_Stub(
  366. IRpcStubBuffer *This,
  367. IRpcChannelBuffer *_pRpcChannelBuffer,
  368. PRPC_MESSAGE _pRpcMessage,
  369. DWORD *_pdwStubPhase);
  370. HRESULT STDMETHODCALLTYPE IDispatchEx_GetNameSpaceParent_Proxy(
  371. IDispatchEx * This,
  372. /* [out] */ IUnknown **ppunk);
  373. void __RPC_STUB IDispatchEx_GetNameSpaceParent_Stub(
  374. IRpcStubBuffer *This,
  375. IRpcChannelBuffer *_pRpcChannelBuffer,
  376. PRPC_MESSAGE _pRpcMessage,
  377. DWORD *_pdwStubPhase);
  378. #endif /* __IDispatchEx_INTERFACE_DEFINED__ */
  379. #ifndef __IDispError_INTERFACE_DEFINED__
  380. #define __IDispError_INTERFACE_DEFINED__
  381. /* interface IDispError */
  382. /* [unique][uuid][object] */
  383. EXTERN_C const IID IID_IDispError;
  384. #if defined(__cplusplus) && !defined(CINTERFACE)
  385. MIDL_INTERFACE("A6EF9861-C720-11d0-9337-00A0C90DCAA9")
  386. IDispError : public IUnknown
  387. {
  388. public:
  389. virtual HRESULT STDMETHODCALLTYPE QueryErrorInfo(
  390. /* [in] */ GUID guidErrorType,
  391. /* [out] */ IDispError **ppde) = 0;
  392. virtual HRESULT STDMETHODCALLTYPE GetNext(
  393. /* [out] */ IDispError **ppde) = 0;
  394. virtual HRESULT STDMETHODCALLTYPE GetHresult(
  395. /* [out] */ HRESULT *phr) = 0;
  396. virtual HRESULT STDMETHODCALLTYPE GetSource(
  397. /* [out] */ BSTR *pbstrSource) = 0;
  398. virtual HRESULT STDMETHODCALLTYPE GetHelpInfo(
  399. /* [out] */ BSTR *pbstrFileName,
  400. /* [out] */ DWORD *pdwContext) = 0;
  401. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  402. /* [out] */ BSTR *pbstrDescription) = 0;
  403. };
  404. #else /* C style interface */
  405. typedef struct IDispErrorVtbl
  406. {
  407. BEGIN_INTERFACE
  408. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  409. IDispError * This,
  410. /* [in] */ REFIID riid,
  411. /* [iid_is][out] */ void **ppvObject);
  412. ULONG ( STDMETHODCALLTYPE *AddRef )(
  413. IDispError * This);
  414. ULONG ( STDMETHODCALLTYPE *Release )(
  415. IDispError * This);
  416. HRESULT ( STDMETHODCALLTYPE *QueryErrorInfo )(
  417. IDispError * This,
  418. /* [in] */ GUID guidErrorType,
  419. /* [out] */ IDispError **ppde);
  420. HRESULT ( STDMETHODCALLTYPE *GetNext )(
  421. IDispError * This,
  422. /* [out] */ IDispError **ppde);
  423. HRESULT ( STDMETHODCALLTYPE *GetHresult )(
  424. IDispError * This,
  425. /* [out] */ HRESULT *phr);
  426. HRESULT ( STDMETHODCALLTYPE *GetSource )(
  427. IDispError * This,
  428. /* [out] */ BSTR *pbstrSource);
  429. HRESULT ( STDMETHODCALLTYPE *GetHelpInfo )(
  430. IDispError * This,
  431. /* [out] */ BSTR *pbstrFileName,
  432. /* [out] */ DWORD *pdwContext);
  433. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  434. IDispError * This,
  435. /* [out] */ BSTR *pbstrDescription);
  436. END_INTERFACE
  437. } IDispErrorVtbl;
  438. interface IDispError
  439. {
  440. CONST_VTBL struct IDispErrorVtbl *lpVtbl;
  441. };
  442. #ifdef COBJMACROS
  443. #define IDispError_QueryInterface(This,riid,ppvObject) \
  444. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  445. #define IDispError_AddRef(This) \
  446. (This)->lpVtbl -> AddRef(This)
  447. #define IDispError_Release(This) \
  448. (This)->lpVtbl -> Release(This)
  449. #define IDispError_QueryErrorInfo(This,guidErrorType,ppde) \
  450. (This)->lpVtbl -> QueryErrorInfo(This,guidErrorType,ppde)
  451. #define IDispError_GetNext(This,ppde) \
  452. (This)->lpVtbl -> GetNext(This,ppde)
  453. #define IDispError_GetHresult(This,phr) \
  454. (This)->lpVtbl -> GetHresult(This,phr)
  455. #define IDispError_GetSource(This,pbstrSource) \
  456. (This)->lpVtbl -> GetSource(This,pbstrSource)
  457. #define IDispError_GetHelpInfo(This,pbstrFileName,pdwContext) \
  458. (This)->lpVtbl -> GetHelpInfo(This,pbstrFileName,pdwContext)
  459. #define IDispError_GetDescription(This,pbstrDescription) \
  460. (This)->lpVtbl -> GetDescription(This,pbstrDescription)
  461. #endif /* COBJMACROS */
  462. #endif /* C style interface */
  463. HRESULT STDMETHODCALLTYPE IDispError_QueryErrorInfo_Proxy(
  464. IDispError * This,
  465. /* [in] */ GUID guidErrorType,
  466. /* [out] */ IDispError **ppde);
  467. void __RPC_STUB IDispError_QueryErrorInfo_Stub(
  468. IRpcStubBuffer *This,
  469. IRpcChannelBuffer *_pRpcChannelBuffer,
  470. PRPC_MESSAGE _pRpcMessage,
  471. DWORD *_pdwStubPhase);
  472. HRESULT STDMETHODCALLTYPE IDispError_GetNext_Proxy(
  473. IDispError * This,
  474. /* [out] */ IDispError **ppde);
  475. void __RPC_STUB IDispError_GetNext_Stub(
  476. IRpcStubBuffer *This,
  477. IRpcChannelBuffer *_pRpcChannelBuffer,
  478. PRPC_MESSAGE _pRpcMessage,
  479. DWORD *_pdwStubPhase);
  480. HRESULT STDMETHODCALLTYPE IDispError_GetHresult_Proxy(
  481. IDispError * This,
  482. /* [out] */ HRESULT *phr);
  483. void __RPC_STUB IDispError_GetHresult_Stub(
  484. IRpcStubBuffer *This,
  485. IRpcChannelBuffer *_pRpcChannelBuffer,
  486. PRPC_MESSAGE _pRpcMessage,
  487. DWORD *_pdwStubPhase);
  488. HRESULT STDMETHODCALLTYPE IDispError_GetSource_Proxy(
  489. IDispError * This,
  490. /* [out] */ BSTR *pbstrSource);
  491. void __RPC_STUB IDispError_GetSource_Stub(
  492. IRpcStubBuffer *This,
  493. IRpcChannelBuffer *_pRpcChannelBuffer,
  494. PRPC_MESSAGE _pRpcMessage,
  495. DWORD *_pdwStubPhase);
  496. HRESULT STDMETHODCALLTYPE IDispError_GetHelpInfo_Proxy(
  497. IDispError * This,
  498. /* [out] */ BSTR *pbstrFileName,
  499. /* [out] */ DWORD *pdwContext);
  500. void __RPC_STUB IDispError_GetHelpInfo_Stub(
  501. IRpcStubBuffer *This,
  502. IRpcChannelBuffer *_pRpcChannelBuffer,
  503. PRPC_MESSAGE _pRpcMessage,
  504. DWORD *_pdwStubPhase);
  505. HRESULT STDMETHODCALLTYPE IDispError_GetDescription_Proxy(
  506. IDispError * This,
  507. /* [out] */ BSTR *pbstrDescription);
  508. void __RPC_STUB IDispError_GetDescription_Stub(
  509. IRpcStubBuffer *This,
  510. IRpcChannelBuffer *_pRpcChannelBuffer,
  511. PRPC_MESSAGE _pRpcMessage,
  512. DWORD *_pdwStubPhase);
  513. #endif /* __IDispError_INTERFACE_DEFINED__ */
  514. #ifndef __IVariantChangeType_INTERFACE_DEFINED__
  515. #define __IVariantChangeType_INTERFACE_DEFINED__
  516. /* interface IVariantChangeType */
  517. /* [unique][uuid][object] */
  518. EXTERN_C const IID IID_IVariantChangeType;
  519. #if defined(__cplusplus) && !defined(CINTERFACE)
  520. MIDL_INTERFACE("A6EF9862-C720-11d0-9337-00A0C90DCAA9")
  521. IVariantChangeType : public IUnknown
  522. {
  523. public:
  524. virtual HRESULT STDMETHODCALLTYPE ChangeType(
  525. /* [unique][out][in] */ VARIANT *pvarDst,
  526. /* [unique][in] */ VARIANT *pvarSrc,
  527. /* [in] */ LCID lcid,
  528. /* [in] */ VARTYPE vtNew) = 0;
  529. };
  530. #else /* C style interface */
  531. typedef struct IVariantChangeTypeVtbl
  532. {
  533. BEGIN_INTERFACE
  534. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  535. IVariantChangeType * This,
  536. /* [in] */ REFIID riid,
  537. /* [iid_is][out] */ void **ppvObject);
  538. ULONG ( STDMETHODCALLTYPE *AddRef )(
  539. IVariantChangeType * This);
  540. ULONG ( STDMETHODCALLTYPE *Release )(
  541. IVariantChangeType * This);
  542. HRESULT ( STDMETHODCALLTYPE *ChangeType )(
  543. IVariantChangeType * This,
  544. /* [unique][out][in] */ VARIANT *pvarDst,
  545. /* [unique][in] */ VARIANT *pvarSrc,
  546. /* [in] */ LCID lcid,
  547. /* [in] */ VARTYPE vtNew);
  548. END_INTERFACE
  549. } IVariantChangeTypeVtbl;
  550. interface IVariantChangeType
  551. {
  552. CONST_VTBL struct IVariantChangeTypeVtbl *lpVtbl;
  553. };
  554. #ifdef COBJMACROS
  555. #define IVariantChangeType_QueryInterface(This,riid,ppvObject) \
  556. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  557. #define IVariantChangeType_AddRef(This) \
  558. (This)->lpVtbl -> AddRef(This)
  559. #define IVariantChangeType_Release(This) \
  560. (This)->lpVtbl -> Release(This)
  561. #define IVariantChangeType_ChangeType(This,pvarDst,pvarSrc,lcid,vtNew) \
  562. (This)->lpVtbl -> ChangeType(This,pvarDst,pvarSrc,lcid,vtNew)
  563. #endif /* COBJMACROS */
  564. #endif /* C style interface */
  565. HRESULT STDMETHODCALLTYPE IVariantChangeType_ChangeType_Proxy(
  566. IVariantChangeType * This,
  567. /* [unique][out][in] */ VARIANT *pvarDst,
  568. /* [unique][in] */ VARIANT *pvarSrc,
  569. /* [in] */ LCID lcid,
  570. /* [in] */ VARTYPE vtNew);
  571. void __RPC_STUB IVariantChangeType_ChangeType_Stub(
  572. IRpcStubBuffer *This,
  573. IRpcChannelBuffer *_pRpcChannelBuffer,
  574. PRPC_MESSAGE _pRpcMessage,
  575. DWORD *_pdwStubPhase);
  576. #endif /* __IVariantChangeType_INTERFACE_DEFINED__ */
  577. #ifndef __IObjectIdentity_INTERFACE_DEFINED__
  578. #define __IObjectIdentity_INTERFACE_DEFINED__
  579. /* interface IObjectIdentity */
  580. /* [unique][uuid][object] */
  581. EXTERN_C const IID IID_IObjectIdentity;
  582. #if defined(__cplusplus) && !defined(CINTERFACE)
  583. MIDL_INTERFACE("CA04B7E6-0D21-11d1-8CC5-00C04FC2B085")
  584. IObjectIdentity : public IUnknown
  585. {
  586. public:
  587. virtual HRESULT STDMETHODCALLTYPE IsEqualObject(
  588. /* [in] */ IUnknown *punk) = 0;
  589. };
  590. #else /* C style interface */
  591. typedef struct IObjectIdentityVtbl
  592. {
  593. BEGIN_INTERFACE
  594. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  595. IObjectIdentity * This,
  596. /* [in] */ REFIID riid,
  597. /* [iid_is][out] */ void **ppvObject);
  598. ULONG ( STDMETHODCALLTYPE *AddRef )(
  599. IObjectIdentity * This);
  600. ULONG ( STDMETHODCALLTYPE *Release )(
  601. IObjectIdentity * This);
  602. HRESULT ( STDMETHODCALLTYPE *IsEqualObject )(
  603. IObjectIdentity * This,
  604. /* [in] */ IUnknown *punk);
  605. END_INTERFACE
  606. } IObjectIdentityVtbl;
  607. interface IObjectIdentity
  608. {
  609. CONST_VTBL struct IObjectIdentityVtbl *lpVtbl;
  610. };
  611. #ifdef COBJMACROS
  612. #define IObjectIdentity_QueryInterface(This,riid,ppvObject) \
  613. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  614. #define IObjectIdentity_AddRef(This) \
  615. (This)->lpVtbl -> AddRef(This)
  616. #define IObjectIdentity_Release(This) \
  617. (This)->lpVtbl -> Release(This)
  618. #define IObjectIdentity_IsEqualObject(This,punk) \
  619. (This)->lpVtbl -> IsEqualObject(This,punk)
  620. #endif /* COBJMACROS */
  621. #endif /* C style interface */
  622. HRESULT STDMETHODCALLTYPE IObjectIdentity_IsEqualObject_Proxy(
  623. IObjectIdentity * This,
  624. /* [in] */ IUnknown *punk);
  625. void __RPC_STUB IObjectIdentity_IsEqualObject_Stub(
  626. IRpcStubBuffer *This,
  627. IRpcChannelBuffer *_pRpcChannelBuffer,
  628. PRPC_MESSAGE _pRpcMessage,
  629. DWORD *_pdwStubPhase);
  630. #endif /* __IObjectIdentity_INTERFACE_DEFINED__ */
  631. #ifndef __IProvideRuntimeContext_INTERFACE_DEFINED__
  632. #define __IProvideRuntimeContext_INTERFACE_DEFINED__
  633. /* interface IProvideRuntimeContext */
  634. /* [unique][uuid][object] */
  635. EXTERN_C const IID IID_IProvideRuntimeContext;
  636. #if defined(__cplusplus) && !defined(CINTERFACE)
  637. MIDL_INTERFACE("10E2414A-EC59-49d2-BC51-5ADD2C36FEBC")
  638. IProvideRuntimeContext : public IUnknown
  639. {
  640. public:
  641. virtual HRESULT STDMETHODCALLTYPE GetCurrentSourceContext(
  642. /* [out] */ DWORD_PTR *pdwContext,
  643. /* [out] */ VARIANT_BOOL *pfExecutingGlobalCode) = 0;
  644. };
  645. #else /* C style interface */
  646. typedef struct IProvideRuntimeContextVtbl
  647. {
  648. BEGIN_INTERFACE
  649. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  650. IProvideRuntimeContext * This,
  651. /* [in] */ REFIID riid,
  652. /* [iid_is][out] */ void **ppvObject);
  653. ULONG ( STDMETHODCALLTYPE *AddRef )(
  654. IProvideRuntimeContext * This);
  655. ULONG ( STDMETHODCALLTYPE *Release )(
  656. IProvideRuntimeContext * This);
  657. HRESULT ( STDMETHODCALLTYPE *GetCurrentSourceContext )(
  658. IProvideRuntimeContext * This,
  659. /* [out] */ DWORD_PTR *pdwContext,
  660. /* [out] */ VARIANT_BOOL *pfExecutingGlobalCode);
  661. END_INTERFACE
  662. } IProvideRuntimeContextVtbl;
  663. interface IProvideRuntimeContext
  664. {
  665. CONST_VTBL struct IProvideRuntimeContextVtbl *lpVtbl;
  666. };
  667. #ifdef COBJMACROS
  668. #define IProvideRuntimeContext_QueryInterface(This,riid,ppvObject) \
  669. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  670. #define IProvideRuntimeContext_AddRef(This) \
  671. (This)->lpVtbl -> AddRef(This)
  672. #define IProvideRuntimeContext_Release(This) \
  673. (This)->lpVtbl -> Release(This)
  674. #define IProvideRuntimeContext_GetCurrentSourceContext(This,pdwContext,pfExecutingGlobalCode) \
  675. (This)->lpVtbl -> GetCurrentSourceContext(This,pdwContext,pfExecutingGlobalCode)
  676. #endif /* COBJMACROS */
  677. #endif /* C style interface */
  678. HRESULT STDMETHODCALLTYPE IProvideRuntimeContext_GetCurrentSourceContext_Proxy(
  679. IProvideRuntimeContext * This,
  680. /* [out] */ DWORD_PTR *pdwContext,
  681. /* [out] */ VARIANT_BOOL *pfExecutingGlobalCode);
  682. void __RPC_STUB IProvideRuntimeContext_GetCurrentSourceContext_Stub(
  683. IRpcStubBuffer *This,
  684. IRpcChannelBuffer *_pRpcChannelBuffer,
  685. PRPC_MESSAGE _pRpcMessage,
  686. DWORD *_pdwStubPhase);
  687. #endif /* __IProvideRuntimeContext_INTERFACE_DEFINED__ */
  688. /* interface __MIDL_itf_dispex_0263 */
  689. /* [local] */
  690. #endif //DISPEX_H_
  691. extern RPC_IF_HANDLE __MIDL_itf_dispex_0263_v0_0_c_ifspec;
  692. extern RPC_IF_HANDLE __MIDL_itf_dispex_0263_v0_0_s_ifspec;
  693. /* Additional Prototypes for ALL interfaces */
  694. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  695. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  696. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  697. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  698. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  699. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  700. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  701. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  702. /* [local] */ HRESULT STDMETHODCALLTYPE IDispatchEx_InvokeEx_Proxy(
  703. IDispatchEx * This,
  704. /* [in] */ DISPID id,
  705. /* [in] */ LCID lcid,
  706. /* [in] */ WORD wFlags,
  707. /* [in] */ DISPPARAMS *pdp,
  708. /* [out] */ VARIANT *pvarRes,
  709. /* [out] */ EXCEPINFO *pei,
  710. /* [unique][in] */ IServiceProvider *pspCaller);
  711. /* [call_as] */ HRESULT STDMETHODCALLTYPE IDispatchEx_InvokeEx_Stub(
  712. IDispatchEx * This,
  713. /* [in] */ DISPID id,
  714. /* [in] */ LCID lcid,
  715. /* [in] */ DWORD dwFlags,
  716. /* [in] */ DISPPARAMS *pdp,
  717. /* [out] */ VARIANT *pvarRes,
  718. /* [out] */ EXCEPINFO *pei,
  719. /* [unique][in] */ IServiceProvider *pspCaller,
  720. /* [in] */ UINT cvarRefArg,
  721. /* [size_is][in] */ UINT *rgiRefArg,
  722. /* [size_is][out][in] */ VARIANT *rgvarRefArg);
  723. /* end of Additional Prototypes */
  724. #ifdef __cplusplus
  725. }
  726. #endif
  727. #endif