Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

971 lines
28 KiB

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