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.

4954 lines
143 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 oleidl.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  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__ 475
  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 __oleidl_h__
  27. #define __oleidl_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IOleAdviseHolder_FWD_DEFINED__
  33. #define __IOleAdviseHolder_FWD_DEFINED__
  34. typedef interface IOleAdviseHolder IOleAdviseHolder;
  35. #endif /* __IOleAdviseHolder_FWD_DEFINED__ */
  36. #ifndef __IOleCache_FWD_DEFINED__
  37. #define __IOleCache_FWD_DEFINED__
  38. typedef interface IOleCache IOleCache;
  39. #endif /* __IOleCache_FWD_DEFINED__ */
  40. #ifndef __IOleCache2_FWD_DEFINED__
  41. #define __IOleCache2_FWD_DEFINED__
  42. typedef interface IOleCache2 IOleCache2;
  43. #endif /* __IOleCache2_FWD_DEFINED__ */
  44. #ifndef __IOleCacheControl_FWD_DEFINED__
  45. #define __IOleCacheControl_FWD_DEFINED__
  46. typedef interface IOleCacheControl IOleCacheControl;
  47. #endif /* __IOleCacheControl_FWD_DEFINED__ */
  48. #ifndef __IParseDisplayName_FWD_DEFINED__
  49. #define __IParseDisplayName_FWD_DEFINED__
  50. typedef interface IParseDisplayName IParseDisplayName;
  51. #endif /* __IParseDisplayName_FWD_DEFINED__ */
  52. #ifndef __IOleContainer_FWD_DEFINED__
  53. #define __IOleContainer_FWD_DEFINED__
  54. typedef interface IOleContainer IOleContainer;
  55. #endif /* __IOleContainer_FWD_DEFINED__ */
  56. #ifndef __IOleClientSite_FWD_DEFINED__
  57. #define __IOleClientSite_FWD_DEFINED__
  58. typedef interface IOleClientSite IOleClientSite;
  59. #endif /* __IOleClientSite_FWD_DEFINED__ */
  60. #ifndef __IOleObject_FWD_DEFINED__
  61. #define __IOleObject_FWD_DEFINED__
  62. typedef interface IOleObject IOleObject;
  63. #endif /* __IOleObject_FWD_DEFINED__ */
  64. #ifndef __IOleWindow_FWD_DEFINED__
  65. #define __IOleWindow_FWD_DEFINED__
  66. typedef interface IOleWindow IOleWindow;
  67. #endif /* __IOleWindow_FWD_DEFINED__ */
  68. #ifndef __IOleLink_FWD_DEFINED__
  69. #define __IOleLink_FWD_DEFINED__
  70. typedef interface IOleLink IOleLink;
  71. #endif /* __IOleLink_FWD_DEFINED__ */
  72. #ifndef __IOleItemContainer_FWD_DEFINED__
  73. #define __IOleItemContainer_FWD_DEFINED__
  74. typedef interface IOleItemContainer IOleItemContainer;
  75. #endif /* __IOleItemContainer_FWD_DEFINED__ */
  76. #ifndef __IOleInPlaceUIWindow_FWD_DEFINED__
  77. #define __IOleInPlaceUIWindow_FWD_DEFINED__
  78. typedef interface IOleInPlaceUIWindow IOleInPlaceUIWindow;
  79. #endif /* __IOleInPlaceUIWindow_FWD_DEFINED__ */
  80. #ifndef __IOleInPlaceActiveObject_FWD_DEFINED__
  81. #define __IOleInPlaceActiveObject_FWD_DEFINED__
  82. typedef interface IOleInPlaceActiveObject IOleInPlaceActiveObject;
  83. #endif /* __IOleInPlaceActiveObject_FWD_DEFINED__ */
  84. #ifndef __IOleInPlaceFrame_FWD_DEFINED__
  85. #define __IOleInPlaceFrame_FWD_DEFINED__
  86. typedef interface IOleInPlaceFrame IOleInPlaceFrame;
  87. #endif /* __IOleInPlaceFrame_FWD_DEFINED__ */
  88. #ifndef __IOleInPlaceObject_FWD_DEFINED__
  89. #define __IOleInPlaceObject_FWD_DEFINED__
  90. typedef interface IOleInPlaceObject IOleInPlaceObject;
  91. #endif /* __IOleInPlaceObject_FWD_DEFINED__ */
  92. #ifndef __IOleInPlaceSite_FWD_DEFINED__
  93. #define __IOleInPlaceSite_FWD_DEFINED__
  94. typedef interface IOleInPlaceSite IOleInPlaceSite;
  95. #endif /* __IOleInPlaceSite_FWD_DEFINED__ */
  96. #ifndef __IContinue_FWD_DEFINED__
  97. #define __IContinue_FWD_DEFINED__
  98. typedef interface IContinue IContinue;
  99. #endif /* __IContinue_FWD_DEFINED__ */
  100. #ifndef __IViewObject_FWD_DEFINED__
  101. #define __IViewObject_FWD_DEFINED__
  102. typedef interface IViewObject IViewObject;
  103. #endif /* __IViewObject_FWD_DEFINED__ */
  104. #ifndef __IViewObject2_FWD_DEFINED__
  105. #define __IViewObject2_FWD_DEFINED__
  106. typedef interface IViewObject2 IViewObject2;
  107. #endif /* __IViewObject2_FWD_DEFINED__ */
  108. #ifndef __IDropSource_FWD_DEFINED__
  109. #define __IDropSource_FWD_DEFINED__
  110. typedef interface IDropSource IDropSource;
  111. #endif /* __IDropSource_FWD_DEFINED__ */
  112. #ifndef __IDropTarget_FWD_DEFINED__
  113. #define __IDropTarget_FWD_DEFINED__
  114. typedef interface IDropTarget IDropTarget;
  115. #endif /* __IDropTarget_FWD_DEFINED__ */
  116. #ifndef __IEnumOLEVERB_FWD_DEFINED__
  117. #define __IEnumOLEVERB_FWD_DEFINED__
  118. typedef interface IEnumOLEVERB IEnumOLEVERB;
  119. #endif /* __IEnumOLEVERB_FWD_DEFINED__ */
  120. /* header files for imported files */
  121. #include "objidl.h"
  122. #ifdef __cplusplus
  123. extern "C"{
  124. #endif
  125. void * __RPC_USER MIDL_user_allocate(size_t);
  126. void __RPC_USER MIDL_user_free( void * );
  127. /* interface __MIDL_itf_oleidl_0000 */
  128. /* [local] */
  129. //+-------------------------------------------------------------------------
  130. //
  131. // Microsoft Windows
  132. // Copyright (c) Microsoft Corporation. All rights reserved.
  133. //
  134. //--------------------------------------------------------------------------
  135. #if ( _MSC_VER >= 1020 )
  136. #pragma once
  137. #endif
  138. extern RPC_IF_HANDLE __MIDL_itf_oleidl_0000_v0_0_c_ifspec;
  139. extern RPC_IF_HANDLE __MIDL_itf_oleidl_0000_v0_0_s_ifspec;
  140. #ifndef __IOleAdviseHolder_INTERFACE_DEFINED__
  141. #define __IOleAdviseHolder_INTERFACE_DEFINED__
  142. /* interface IOleAdviseHolder */
  143. /* [uuid][object][local] */
  144. typedef /* [unique] */ IOleAdviseHolder *LPOLEADVISEHOLDER;
  145. EXTERN_C const IID IID_IOleAdviseHolder;
  146. #if defined(__cplusplus) && !defined(CINTERFACE)
  147. MIDL_INTERFACE("00000111-0000-0000-C000-000000000046")
  148. IOleAdviseHolder : public IUnknown
  149. {
  150. public:
  151. virtual HRESULT STDMETHODCALLTYPE Advise(
  152. /* [unique][in] */ IAdviseSink *pAdvise,
  153. /* [out] */ DWORD *pdwConnection) = 0;
  154. virtual HRESULT STDMETHODCALLTYPE Unadvise(
  155. /* [in] */ DWORD dwConnection) = 0;
  156. virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
  157. /* [out] */ IEnumSTATDATA **ppenumAdvise) = 0;
  158. virtual HRESULT STDMETHODCALLTYPE SendOnRename(
  159. /* [unique][in] */ IMoniker *pmk) = 0;
  160. virtual HRESULT STDMETHODCALLTYPE SendOnSave( void) = 0;
  161. virtual HRESULT STDMETHODCALLTYPE SendOnClose( void) = 0;
  162. };
  163. #else /* C style interface */
  164. typedef struct IOleAdviseHolderVtbl
  165. {
  166. BEGIN_INTERFACE
  167. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  168. IOleAdviseHolder * This,
  169. /* [in] */ REFIID riid,
  170. /* [iid_is][out] */ void **ppvObject);
  171. ULONG ( STDMETHODCALLTYPE *AddRef )(
  172. IOleAdviseHolder * This);
  173. ULONG ( STDMETHODCALLTYPE *Release )(
  174. IOleAdviseHolder * This);
  175. HRESULT ( STDMETHODCALLTYPE *Advise )(
  176. IOleAdviseHolder * This,
  177. /* [unique][in] */ IAdviseSink *pAdvise,
  178. /* [out] */ DWORD *pdwConnection);
  179. HRESULT ( STDMETHODCALLTYPE *Unadvise )(
  180. IOleAdviseHolder * This,
  181. /* [in] */ DWORD dwConnection);
  182. HRESULT ( STDMETHODCALLTYPE *EnumAdvise )(
  183. IOleAdviseHolder * This,
  184. /* [out] */ IEnumSTATDATA **ppenumAdvise);
  185. HRESULT ( STDMETHODCALLTYPE *SendOnRename )(
  186. IOleAdviseHolder * This,
  187. /* [unique][in] */ IMoniker *pmk);
  188. HRESULT ( STDMETHODCALLTYPE *SendOnSave )(
  189. IOleAdviseHolder * This);
  190. HRESULT ( STDMETHODCALLTYPE *SendOnClose )(
  191. IOleAdviseHolder * This);
  192. END_INTERFACE
  193. } IOleAdviseHolderVtbl;
  194. interface IOleAdviseHolder
  195. {
  196. CONST_VTBL struct IOleAdviseHolderVtbl *lpVtbl;
  197. };
  198. #ifdef COBJMACROS
  199. #define IOleAdviseHolder_QueryInterface(This,riid,ppvObject) \
  200. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  201. #define IOleAdviseHolder_AddRef(This) \
  202. (This)->lpVtbl -> AddRef(This)
  203. #define IOleAdviseHolder_Release(This) \
  204. (This)->lpVtbl -> Release(This)
  205. #define IOleAdviseHolder_Advise(This,pAdvise,pdwConnection) \
  206. (This)->lpVtbl -> Advise(This,pAdvise,pdwConnection)
  207. #define IOleAdviseHolder_Unadvise(This,dwConnection) \
  208. (This)->lpVtbl -> Unadvise(This,dwConnection)
  209. #define IOleAdviseHolder_EnumAdvise(This,ppenumAdvise) \
  210. (This)->lpVtbl -> EnumAdvise(This,ppenumAdvise)
  211. #define IOleAdviseHolder_SendOnRename(This,pmk) \
  212. (This)->lpVtbl -> SendOnRename(This,pmk)
  213. #define IOleAdviseHolder_SendOnSave(This) \
  214. (This)->lpVtbl -> SendOnSave(This)
  215. #define IOleAdviseHolder_SendOnClose(This) \
  216. (This)->lpVtbl -> SendOnClose(This)
  217. #endif /* COBJMACROS */
  218. #endif /* C style interface */
  219. HRESULT STDMETHODCALLTYPE IOleAdviseHolder_Advise_Proxy(
  220. IOleAdviseHolder * This,
  221. /* [unique][in] */ IAdviseSink *pAdvise,
  222. /* [out] */ DWORD *pdwConnection);
  223. void __RPC_STUB IOleAdviseHolder_Advise_Stub(
  224. IRpcStubBuffer *This,
  225. IRpcChannelBuffer *_pRpcChannelBuffer,
  226. PRPC_MESSAGE _pRpcMessage,
  227. DWORD *_pdwStubPhase);
  228. HRESULT STDMETHODCALLTYPE IOleAdviseHolder_Unadvise_Proxy(
  229. IOleAdviseHolder * This,
  230. /* [in] */ DWORD dwConnection);
  231. void __RPC_STUB IOleAdviseHolder_Unadvise_Stub(
  232. IRpcStubBuffer *This,
  233. IRpcChannelBuffer *_pRpcChannelBuffer,
  234. PRPC_MESSAGE _pRpcMessage,
  235. DWORD *_pdwStubPhase);
  236. HRESULT STDMETHODCALLTYPE IOleAdviseHolder_EnumAdvise_Proxy(
  237. IOleAdviseHolder * This,
  238. /* [out] */ IEnumSTATDATA **ppenumAdvise);
  239. void __RPC_STUB IOleAdviseHolder_EnumAdvise_Stub(
  240. IRpcStubBuffer *This,
  241. IRpcChannelBuffer *_pRpcChannelBuffer,
  242. PRPC_MESSAGE _pRpcMessage,
  243. DWORD *_pdwStubPhase);
  244. HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnRename_Proxy(
  245. IOleAdviseHolder * This,
  246. /* [unique][in] */ IMoniker *pmk);
  247. void __RPC_STUB IOleAdviseHolder_SendOnRename_Stub(
  248. IRpcStubBuffer *This,
  249. IRpcChannelBuffer *_pRpcChannelBuffer,
  250. PRPC_MESSAGE _pRpcMessage,
  251. DWORD *_pdwStubPhase);
  252. HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnSave_Proxy(
  253. IOleAdviseHolder * This);
  254. void __RPC_STUB IOleAdviseHolder_SendOnSave_Stub(
  255. IRpcStubBuffer *This,
  256. IRpcChannelBuffer *_pRpcChannelBuffer,
  257. PRPC_MESSAGE _pRpcMessage,
  258. DWORD *_pdwStubPhase);
  259. HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnClose_Proxy(
  260. IOleAdviseHolder * This);
  261. void __RPC_STUB IOleAdviseHolder_SendOnClose_Stub(
  262. IRpcStubBuffer *This,
  263. IRpcChannelBuffer *_pRpcChannelBuffer,
  264. PRPC_MESSAGE _pRpcMessage,
  265. DWORD *_pdwStubPhase);
  266. #endif /* __IOleAdviseHolder_INTERFACE_DEFINED__ */
  267. #ifndef __IOleCache_INTERFACE_DEFINED__
  268. #define __IOleCache_INTERFACE_DEFINED__
  269. /* interface IOleCache */
  270. /* [unique][uuid][object] */
  271. typedef /* [unique] */ IOleCache *LPOLECACHE;
  272. EXTERN_C const IID IID_IOleCache;
  273. #if defined(__cplusplus) && !defined(CINTERFACE)
  274. MIDL_INTERFACE("0000011e-0000-0000-C000-000000000046")
  275. IOleCache : public IUnknown
  276. {
  277. public:
  278. virtual HRESULT STDMETHODCALLTYPE Cache(
  279. /* [unique][in] */ FORMATETC *pformatetc,
  280. /* [in] */ DWORD advf,
  281. /* [out] */ DWORD *pdwConnection) = 0;
  282. virtual HRESULT STDMETHODCALLTYPE Uncache(
  283. /* [in] */ DWORD dwConnection) = 0;
  284. virtual HRESULT STDMETHODCALLTYPE EnumCache(
  285. /* [out] */ IEnumSTATDATA **ppenumSTATDATA) = 0;
  286. virtual HRESULT STDMETHODCALLTYPE InitCache(
  287. /* [unique][in] */ IDataObject *pDataObject) = 0;
  288. virtual HRESULT STDMETHODCALLTYPE SetData(
  289. /* [unique][in] */ FORMATETC *pformatetc,
  290. /* [unique][in] */ STGMEDIUM *pmedium,
  291. /* [in] */ BOOL fRelease) = 0;
  292. };
  293. #else /* C style interface */
  294. typedef struct IOleCacheVtbl
  295. {
  296. BEGIN_INTERFACE
  297. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  298. IOleCache * This,
  299. /* [in] */ REFIID riid,
  300. /* [iid_is][out] */ void **ppvObject);
  301. ULONG ( STDMETHODCALLTYPE *AddRef )(
  302. IOleCache * This);
  303. ULONG ( STDMETHODCALLTYPE *Release )(
  304. IOleCache * This);
  305. HRESULT ( STDMETHODCALLTYPE *Cache )(
  306. IOleCache * This,
  307. /* [unique][in] */ FORMATETC *pformatetc,
  308. /* [in] */ DWORD advf,
  309. /* [out] */ DWORD *pdwConnection);
  310. HRESULT ( STDMETHODCALLTYPE *Uncache )(
  311. IOleCache * This,
  312. /* [in] */ DWORD dwConnection);
  313. HRESULT ( STDMETHODCALLTYPE *EnumCache )(
  314. IOleCache * This,
  315. /* [out] */ IEnumSTATDATA **ppenumSTATDATA);
  316. HRESULT ( STDMETHODCALLTYPE *InitCache )(
  317. IOleCache * This,
  318. /* [unique][in] */ IDataObject *pDataObject);
  319. HRESULT ( STDMETHODCALLTYPE *SetData )(
  320. IOleCache * This,
  321. /* [unique][in] */ FORMATETC *pformatetc,
  322. /* [unique][in] */ STGMEDIUM *pmedium,
  323. /* [in] */ BOOL fRelease);
  324. END_INTERFACE
  325. } IOleCacheVtbl;
  326. interface IOleCache
  327. {
  328. CONST_VTBL struct IOleCacheVtbl *lpVtbl;
  329. };
  330. #ifdef COBJMACROS
  331. #define IOleCache_QueryInterface(This,riid,ppvObject) \
  332. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  333. #define IOleCache_AddRef(This) \
  334. (This)->lpVtbl -> AddRef(This)
  335. #define IOleCache_Release(This) \
  336. (This)->lpVtbl -> Release(This)
  337. #define IOleCache_Cache(This,pformatetc,advf,pdwConnection) \
  338. (This)->lpVtbl -> Cache(This,pformatetc,advf,pdwConnection)
  339. #define IOleCache_Uncache(This,dwConnection) \
  340. (This)->lpVtbl -> Uncache(This,dwConnection)
  341. #define IOleCache_EnumCache(This,ppenumSTATDATA) \
  342. (This)->lpVtbl -> EnumCache(This,ppenumSTATDATA)
  343. #define IOleCache_InitCache(This,pDataObject) \
  344. (This)->lpVtbl -> InitCache(This,pDataObject)
  345. #define IOleCache_SetData(This,pformatetc,pmedium,fRelease) \
  346. (This)->lpVtbl -> SetData(This,pformatetc,pmedium,fRelease)
  347. #endif /* COBJMACROS */
  348. #endif /* C style interface */
  349. HRESULT STDMETHODCALLTYPE IOleCache_Cache_Proxy(
  350. IOleCache * This,
  351. /* [unique][in] */ FORMATETC *pformatetc,
  352. /* [in] */ DWORD advf,
  353. /* [out] */ DWORD *pdwConnection);
  354. void __RPC_STUB IOleCache_Cache_Stub(
  355. IRpcStubBuffer *This,
  356. IRpcChannelBuffer *_pRpcChannelBuffer,
  357. PRPC_MESSAGE _pRpcMessage,
  358. DWORD *_pdwStubPhase);
  359. HRESULT STDMETHODCALLTYPE IOleCache_Uncache_Proxy(
  360. IOleCache * This,
  361. /* [in] */ DWORD dwConnection);
  362. void __RPC_STUB IOleCache_Uncache_Stub(
  363. IRpcStubBuffer *This,
  364. IRpcChannelBuffer *_pRpcChannelBuffer,
  365. PRPC_MESSAGE _pRpcMessage,
  366. DWORD *_pdwStubPhase);
  367. HRESULT STDMETHODCALLTYPE IOleCache_EnumCache_Proxy(
  368. IOleCache * This,
  369. /* [out] */ IEnumSTATDATA **ppenumSTATDATA);
  370. void __RPC_STUB IOleCache_EnumCache_Stub(
  371. IRpcStubBuffer *This,
  372. IRpcChannelBuffer *_pRpcChannelBuffer,
  373. PRPC_MESSAGE _pRpcMessage,
  374. DWORD *_pdwStubPhase);
  375. HRESULT STDMETHODCALLTYPE IOleCache_InitCache_Proxy(
  376. IOleCache * This,
  377. /* [unique][in] */ IDataObject *pDataObject);
  378. void __RPC_STUB IOleCache_InitCache_Stub(
  379. IRpcStubBuffer *This,
  380. IRpcChannelBuffer *_pRpcChannelBuffer,
  381. PRPC_MESSAGE _pRpcMessage,
  382. DWORD *_pdwStubPhase);
  383. HRESULT STDMETHODCALLTYPE IOleCache_SetData_Proxy(
  384. IOleCache * This,
  385. /* [unique][in] */ FORMATETC *pformatetc,
  386. /* [unique][in] */ STGMEDIUM *pmedium,
  387. /* [in] */ BOOL fRelease);
  388. void __RPC_STUB IOleCache_SetData_Stub(
  389. IRpcStubBuffer *This,
  390. IRpcChannelBuffer *_pRpcChannelBuffer,
  391. PRPC_MESSAGE _pRpcMessage,
  392. DWORD *_pdwStubPhase);
  393. #endif /* __IOleCache_INTERFACE_DEFINED__ */
  394. #ifndef __IOleCache2_INTERFACE_DEFINED__
  395. #define __IOleCache2_INTERFACE_DEFINED__
  396. /* interface IOleCache2 */
  397. /* [unique][uuid][object] */
  398. typedef /* [unique] */ IOleCache2 *LPOLECACHE2;
  399. #define UPDFCACHE_NODATACACHE ( 0x1 )
  400. #define UPDFCACHE_ONSAVECACHE ( 0x2 )
  401. #define UPDFCACHE_ONSTOPCACHE ( 0x4 )
  402. #define UPDFCACHE_NORMALCACHE ( 0x8 )
  403. #define UPDFCACHE_IFBLANK ( 0x10 )
  404. #define UPDFCACHE_ONLYIFBLANK ( 0x80000000 )
  405. #define UPDFCACHE_IFBLANKORONSAVECACHE ( UPDFCACHE_IFBLANK | UPDFCACHE_ONSAVECACHE )
  406. #define UPDFCACHE_ALL ( ( DWORD )~UPDFCACHE_ONLYIFBLANK )
  407. #define UPDFCACHE_ALLBUTNODATACACHE ( UPDFCACHE_ALL & ( DWORD )~UPDFCACHE_NODATACACHE )
  408. typedef /* [v1_enum] */
  409. enum tagDISCARDCACHE
  410. { DISCARDCACHE_SAVEIFDIRTY = 0,
  411. DISCARDCACHE_NOSAVE = 1
  412. } DISCARDCACHE;
  413. EXTERN_C const IID IID_IOleCache2;
  414. #if defined(__cplusplus) && !defined(CINTERFACE)
  415. MIDL_INTERFACE("00000128-0000-0000-C000-000000000046")
  416. IOleCache2 : public IOleCache
  417. {
  418. public:
  419. virtual /* [local] */ HRESULT STDMETHODCALLTYPE UpdateCache(
  420. /* [in] */ LPDATAOBJECT pDataObject,
  421. /* [in] */ DWORD grfUpdf,
  422. /* [in] */ LPVOID pReserved) = 0;
  423. virtual HRESULT STDMETHODCALLTYPE DiscardCache(
  424. /* [in] */ DWORD dwDiscardOptions) = 0;
  425. };
  426. #else /* C style interface */
  427. typedef struct IOleCache2Vtbl
  428. {
  429. BEGIN_INTERFACE
  430. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  431. IOleCache2 * This,
  432. /* [in] */ REFIID riid,
  433. /* [iid_is][out] */ void **ppvObject);
  434. ULONG ( STDMETHODCALLTYPE *AddRef )(
  435. IOleCache2 * This);
  436. ULONG ( STDMETHODCALLTYPE *Release )(
  437. IOleCache2 * This);
  438. HRESULT ( STDMETHODCALLTYPE *Cache )(
  439. IOleCache2 * This,
  440. /* [unique][in] */ FORMATETC *pformatetc,
  441. /* [in] */ DWORD advf,
  442. /* [out] */ DWORD *pdwConnection);
  443. HRESULT ( STDMETHODCALLTYPE *Uncache )(
  444. IOleCache2 * This,
  445. /* [in] */ DWORD dwConnection);
  446. HRESULT ( STDMETHODCALLTYPE *EnumCache )(
  447. IOleCache2 * This,
  448. /* [out] */ IEnumSTATDATA **ppenumSTATDATA);
  449. HRESULT ( STDMETHODCALLTYPE *InitCache )(
  450. IOleCache2 * This,
  451. /* [unique][in] */ IDataObject *pDataObject);
  452. HRESULT ( STDMETHODCALLTYPE *SetData )(
  453. IOleCache2 * This,
  454. /* [unique][in] */ FORMATETC *pformatetc,
  455. /* [unique][in] */ STGMEDIUM *pmedium,
  456. /* [in] */ BOOL fRelease);
  457. /* [local] */ HRESULT ( STDMETHODCALLTYPE *UpdateCache )(
  458. IOleCache2 * This,
  459. /* [in] */ LPDATAOBJECT pDataObject,
  460. /* [in] */ DWORD grfUpdf,
  461. /* [in] */ LPVOID pReserved);
  462. HRESULT ( STDMETHODCALLTYPE *DiscardCache )(
  463. IOleCache2 * This,
  464. /* [in] */ DWORD dwDiscardOptions);
  465. END_INTERFACE
  466. } IOleCache2Vtbl;
  467. interface IOleCache2
  468. {
  469. CONST_VTBL struct IOleCache2Vtbl *lpVtbl;
  470. };
  471. #ifdef COBJMACROS
  472. #define IOleCache2_QueryInterface(This,riid,ppvObject) \
  473. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  474. #define IOleCache2_AddRef(This) \
  475. (This)->lpVtbl -> AddRef(This)
  476. #define IOleCache2_Release(This) \
  477. (This)->lpVtbl -> Release(This)
  478. #define IOleCache2_Cache(This,pformatetc,advf,pdwConnection) \
  479. (This)->lpVtbl -> Cache(This,pformatetc,advf,pdwConnection)
  480. #define IOleCache2_Uncache(This,dwConnection) \
  481. (This)->lpVtbl -> Uncache(This,dwConnection)
  482. #define IOleCache2_EnumCache(This,ppenumSTATDATA) \
  483. (This)->lpVtbl -> EnumCache(This,ppenumSTATDATA)
  484. #define IOleCache2_InitCache(This,pDataObject) \
  485. (This)->lpVtbl -> InitCache(This,pDataObject)
  486. #define IOleCache2_SetData(This,pformatetc,pmedium,fRelease) \
  487. (This)->lpVtbl -> SetData(This,pformatetc,pmedium,fRelease)
  488. #define IOleCache2_UpdateCache(This,pDataObject,grfUpdf,pReserved) \
  489. (This)->lpVtbl -> UpdateCache(This,pDataObject,grfUpdf,pReserved)
  490. #define IOleCache2_DiscardCache(This,dwDiscardOptions) \
  491. (This)->lpVtbl -> DiscardCache(This,dwDiscardOptions)
  492. #endif /* COBJMACROS */
  493. #endif /* C style interface */
  494. /* [call_as] */ HRESULT STDMETHODCALLTYPE IOleCache2_RemoteUpdateCache_Proxy(
  495. IOleCache2 * This,
  496. /* [in] */ LPDATAOBJECT pDataObject,
  497. /* [in] */ DWORD grfUpdf,
  498. /* [in] */ LONG_PTR pReserved);
  499. void __RPC_STUB IOleCache2_RemoteUpdateCache_Stub(
  500. IRpcStubBuffer *This,
  501. IRpcChannelBuffer *_pRpcChannelBuffer,
  502. PRPC_MESSAGE _pRpcMessage,
  503. DWORD *_pdwStubPhase);
  504. HRESULT STDMETHODCALLTYPE IOleCache2_DiscardCache_Proxy(
  505. IOleCache2 * This,
  506. /* [in] */ DWORD dwDiscardOptions);
  507. void __RPC_STUB IOleCache2_DiscardCache_Stub(
  508. IRpcStubBuffer *This,
  509. IRpcChannelBuffer *_pRpcChannelBuffer,
  510. PRPC_MESSAGE _pRpcMessage,
  511. DWORD *_pdwStubPhase);
  512. #endif /* __IOleCache2_INTERFACE_DEFINED__ */
  513. #ifndef __IOleCacheControl_INTERFACE_DEFINED__
  514. #define __IOleCacheControl_INTERFACE_DEFINED__
  515. /* interface IOleCacheControl */
  516. /* [uuid][object] */
  517. typedef /* [unique] */ IOleCacheControl *LPOLECACHECONTROL;
  518. EXTERN_C const IID IID_IOleCacheControl;
  519. #if defined(__cplusplus) && !defined(CINTERFACE)
  520. MIDL_INTERFACE("00000129-0000-0000-C000-000000000046")
  521. IOleCacheControl : public IUnknown
  522. {
  523. public:
  524. virtual HRESULT STDMETHODCALLTYPE OnRun(
  525. LPDATAOBJECT pDataObject) = 0;
  526. virtual HRESULT STDMETHODCALLTYPE OnStop( void) = 0;
  527. };
  528. #else /* C style interface */
  529. typedef struct IOleCacheControlVtbl
  530. {
  531. BEGIN_INTERFACE
  532. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  533. IOleCacheControl * This,
  534. /* [in] */ REFIID riid,
  535. /* [iid_is][out] */ void **ppvObject);
  536. ULONG ( STDMETHODCALLTYPE *AddRef )(
  537. IOleCacheControl * This);
  538. ULONG ( STDMETHODCALLTYPE *Release )(
  539. IOleCacheControl * This);
  540. HRESULT ( STDMETHODCALLTYPE *OnRun )(
  541. IOleCacheControl * This,
  542. LPDATAOBJECT pDataObject);
  543. HRESULT ( STDMETHODCALLTYPE *OnStop )(
  544. IOleCacheControl * This);
  545. END_INTERFACE
  546. } IOleCacheControlVtbl;
  547. interface IOleCacheControl
  548. {
  549. CONST_VTBL struct IOleCacheControlVtbl *lpVtbl;
  550. };
  551. #ifdef COBJMACROS
  552. #define IOleCacheControl_QueryInterface(This,riid,ppvObject) \
  553. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  554. #define IOleCacheControl_AddRef(This) \
  555. (This)->lpVtbl -> AddRef(This)
  556. #define IOleCacheControl_Release(This) \
  557. (This)->lpVtbl -> Release(This)
  558. #define IOleCacheControl_OnRun(This,pDataObject) \
  559. (This)->lpVtbl -> OnRun(This,pDataObject)
  560. #define IOleCacheControl_OnStop(This) \
  561. (This)->lpVtbl -> OnStop(This)
  562. #endif /* COBJMACROS */
  563. #endif /* C style interface */
  564. HRESULT STDMETHODCALLTYPE IOleCacheControl_OnRun_Proxy(
  565. IOleCacheControl * This,
  566. LPDATAOBJECT pDataObject);
  567. void __RPC_STUB IOleCacheControl_OnRun_Stub(
  568. IRpcStubBuffer *This,
  569. IRpcChannelBuffer *_pRpcChannelBuffer,
  570. PRPC_MESSAGE _pRpcMessage,
  571. DWORD *_pdwStubPhase);
  572. HRESULT STDMETHODCALLTYPE IOleCacheControl_OnStop_Proxy(
  573. IOleCacheControl * This);
  574. void __RPC_STUB IOleCacheControl_OnStop_Stub(
  575. IRpcStubBuffer *This,
  576. IRpcChannelBuffer *_pRpcChannelBuffer,
  577. PRPC_MESSAGE _pRpcMessage,
  578. DWORD *_pdwStubPhase);
  579. #endif /* __IOleCacheControl_INTERFACE_DEFINED__ */
  580. #ifndef __IParseDisplayName_INTERFACE_DEFINED__
  581. #define __IParseDisplayName_INTERFACE_DEFINED__
  582. /* interface IParseDisplayName */
  583. /* [unique][uuid][object] */
  584. typedef /* [unique] */ IParseDisplayName *LPPARSEDISPLAYNAME;
  585. EXTERN_C const IID IID_IParseDisplayName;
  586. #if defined(__cplusplus) && !defined(CINTERFACE)
  587. MIDL_INTERFACE("0000011a-0000-0000-C000-000000000046")
  588. IParseDisplayName : public IUnknown
  589. {
  590. public:
  591. virtual HRESULT STDMETHODCALLTYPE ParseDisplayName(
  592. /* [unique][in] */ IBindCtx *pbc,
  593. /* [in] */ LPOLESTR pszDisplayName,
  594. /* [out] */ ULONG *pchEaten,
  595. /* [out] */ IMoniker **ppmkOut) = 0;
  596. };
  597. #else /* C style interface */
  598. typedef struct IParseDisplayNameVtbl
  599. {
  600. BEGIN_INTERFACE
  601. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  602. IParseDisplayName * This,
  603. /* [in] */ REFIID riid,
  604. /* [iid_is][out] */ void **ppvObject);
  605. ULONG ( STDMETHODCALLTYPE *AddRef )(
  606. IParseDisplayName * This);
  607. ULONG ( STDMETHODCALLTYPE *Release )(
  608. IParseDisplayName * This);
  609. HRESULT ( STDMETHODCALLTYPE *ParseDisplayName )(
  610. IParseDisplayName * This,
  611. /* [unique][in] */ IBindCtx *pbc,
  612. /* [in] */ LPOLESTR pszDisplayName,
  613. /* [out] */ ULONG *pchEaten,
  614. /* [out] */ IMoniker **ppmkOut);
  615. END_INTERFACE
  616. } IParseDisplayNameVtbl;
  617. interface IParseDisplayName
  618. {
  619. CONST_VTBL struct IParseDisplayNameVtbl *lpVtbl;
  620. };
  621. #ifdef COBJMACROS
  622. #define IParseDisplayName_QueryInterface(This,riid,ppvObject) \
  623. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  624. #define IParseDisplayName_AddRef(This) \
  625. (This)->lpVtbl -> AddRef(This)
  626. #define IParseDisplayName_Release(This) \
  627. (This)->lpVtbl -> Release(This)
  628. #define IParseDisplayName_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) \
  629. (This)->lpVtbl -> ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
  630. #endif /* COBJMACROS */
  631. #endif /* C style interface */
  632. HRESULT STDMETHODCALLTYPE IParseDisplayName_ParseDisplayName_Proxy(
  633. IParseDisplayName * This,
  634. /* [unique][in] */ IBindCtx *pbc,
  635. /* [in] */ LPOLESTR pszDisplayName,
  636. /* [out] */ ULONG *pchEaten,
  637. /* [out] */ IMoniker **ppmkOut);
  638. void __RPC_STUB IParseDisplayName_ParseDisplayName_Stub(
  639. IRpcStubBuffer *This,
  640. IRpcChannelBuffer *_pRpcChannelBuffer,
  641. PRPC_MESSAGE _pRpcMessage,
  642. DWORD *_pdwStubPhase);
  643. #endif /* __IParseDisplayName_INTERFACE_DEFINED__ */
  644. #ifndef __IOleContainer_INTERFACE_DEFINED__
  645. #define __IOleContainer_INTERFACE_DEFINED__
  646. /* interface IOleContainer */
  647. /* [unique][uuid][object] */
  648. typedef /* [unique] */ IOleContainer *LPOLECONTAINER;
  649. EXTERN_C const IID IID_IOleContainer;
  650. #if defined(__cplusplus) && !defined(CINTERFACE)
  651. MIDL_INTERFACE("0000011b-0000-0000-C000-000000000046")
  652. IOleContainer : public IParseDisplayName
  653. {
  654. public:
  655. virtual HRESULT STDMETHODCALLTYPE EnumObjects(
  656. /* [in] */ DWORD grfFlags,
  657. /* [out] */ IEnumUnknown **ppenum) = 0;
  658. virtual HRESULT STDMETHODCALLTYPE LockContainer(
  659. /* [in] */ BOOL fLock) = 0;
  660. };
  661. #else /* C style interface */
  662. typedef struct IOleContainerVtbl
  663. {
  664. BEGIN_INTERFACE
  665. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  666. IOleContainer * This,
  667. /* [in] */ REFIID riid,
  668. /* [iid_is][out] */ void **ppvObject);
  669. ULONG ( STDMETHODCALLTYPE *AddRef )(
  670. IOleContainer * This);
  671. ULONG ( STDMETHODCALLTYPE *Release )(
  672. IOleContainer * This);
  673. HRESULT ( STDMETHODCALLTYPE *ParseDisplayName )(
  674. IOleContainer * This,
  675. /* [unique][in] */ IBindCtx *pbc,
  676. /* [in] */ LPOLESTR pszDisplayName,
  677. /* [out] */ ULONG *pchEaten,
  678. /* [out] */ IMoniker **ppmkOut);
  679. HRESULT ( STDMETHODCALLTYPE *EnumObjects )(
  680. IOleContainer * This,
  681. /* [in] */ DWORD grfFlags,
  682. /* [out] */ IEnumUnknown **ppenum);
  683. HRESULT ( STDMETHODCALLTYPE *LockContainer )(
  684. IOleContainer * This,
  685. /* [in] */ BOOL fLock);
  686. END_INTERFACE
  687. } IOleContainerVtbl;
  688. interface IOleContainer
  689. {
  690. CONST_VTBL struct IOleContainerVtbl *lpVtbl;
  691. };
  692. #ifdef COBJMACROS
  693. #define IOleContainer_QueryInterface(This,riid,ppvObject) \
  694. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  695. #define IOleContainer_AddRef(This) \
  696. (This)->lpVtbl -> AddRef(This)
  697. #define IOleContainer_Release(This) \
  698. (This)->lpVtbl -> Release(This)
  699. #define IOleContainer_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) \
  700. (This)->lpVtbl -> ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
  701. #define IOleContainer_EnumObjects(This,grfFlags,ppenum) \
  702. (This)->lpVtbl -> EnumObjects(This,grfFlags,ppenum)
  703. #define IOleContainer_LockContainer(This,fLock) \
  704. (This)->lpVtbl -> LockContainer(This,fLock)
  705. #endif /* COBJMACROS */
  706. #endif /* C style interface */
  707. HRESULT STDMETHODCALLTYPE IOleContainer_EnumObjects_Proxy(
  708. IOleContainer * This,
  709. /* [in] */ DWORD grfFlags,
  710. /* [out] */ IEnumUnknown **ppenum);
  711. void __RPC_STUB IOleContainer_EnumObjects_Stub(
  712. IRpcStubBuffer *This,
  713. IRpcChannelBuffer *_pRpcChannelBuffer,
  714. PRPC_MESSAGE _pRpcMessage,
  715. DWORD *_pdwStubPhase);
  716. HRESULT STDMETHODCALLTYPE IOleContainer_LockContainer_Proxy(
  717. IOleContainer * This,
  718. /* [in] */ BOOL fLock);
  719. void __RPC_STUB IOleContainer_LockContainer_Stub(
  720. IRpcStubBuffer *This,
  721. IRpcChannelBuffer *_pRpcChannelBuffer,
  722. PRPC_MESSAGE _pRpcMessage,
  723. DWORD *_pdwStubPhase);
  724. #endif /* __IOleContainer_INTERFACE_DEFINED__ */
  725. #ifndef __IOleClientSite_INTERFACE_DEFINED__
  726. #define __IOleClientSite_INTERFACE_DEFINED__
  727. /* interface IOleClientSite */
  728. /* [unique][uuid][object] */
  729. typedef /* [unique] */ IOleClientSite *LPOLECLIENTSITE;
  730. EXTERN_C const IID IID_IOleClientSite;
  731. #if defined(__cplusplus) && !defined(CINTERFACE)
  732. MIDL_INTERFACE("00000118-0000-0000-C000-000000000046")
  733. IOleClientSite : public IUnknown
  734. {
  735. public:
  736. virtual HRESULT STDMETHODCALLTYPE SaveObject( void) = 0;
  737. virtual HRESULT STDMETHODCALLTYPE GetMoniker(
  738. /* [in] */ DWORD dwAssign,
  739. /* [in] */ DWORD dwWhichMoniker,
  740. /* [out] */ IMoniker **ppmk) = 0;
  741. virtual HRESULT STDMETHODCALLTYPE GetContainer(
  742. /* [out] */ IOleContainer **ppContainer) = 0;
  743. virtual HRESULT STDMETHODCALLTYPE ShowObject( void) = 0;
  744. virtual HRESULT STDMETHODCALLTYPE OnShowWindow(
  745. /* [in] */ BOOL fShow) = 0;
  746. virtual HRESULT STDMETHODCALLTYPE RequestNewObjectLayout( void) = 0;
  747. };
  748. #else /* C style interface */
  749. typedef struct IOleClientSiteVtbl
  750. {
  751. BEGIN_INTERFACE
  752. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  753. IOleClientSite * This,
  754. /* [in] */ REFIID riid,
  755. /* [iid_is][out] */ void **ppvObject);
  756. ULONG ( STDMETHODCALLTYPE *AddRef )(
  757. IOleClientSite * This);
  758. ULONG ( STDMETHODCALLTYPE *Release )(
  759. IOleClientSite * This);
  760. HRESULT ( STDMETHODCALLTYPE *SaveObject )(
  761. IOleClientSite * This);
  762. HRESULT ( STDMETHODCALLTYPE *GetMoniker )(
  763. IOleClientSite * This,
  764. /* [in] */ DWORD dwAssign,
  765. /* [in] */ DWORD dwWhichMoniker,
  766. /* [out] */ IMoniker **ppmk);
  767. HRESULT ( STDMETHODCALLTYPE *GetContainer )(
  768. IOleClientSite * This,
  769. /* [out] */ IOleContainer **ppContainer);
  770. HRESULT ( STDMETHODCALLTYPE *ShowObject )(
  771. IOleClientSite * This);
  772. HRESULT ( STDMETHODCALLTYPE *OnShowWindow )(
  773. IOleClientSite * This,
  774. /* [in] */ BOOL fShow);
  775. HRESULT ( STDMETHODCALLTYPE *RequestNewObjectLayout )(
  776. IOleClientSite * This);
  777. END_INTERFACE
  778. } IOleClientSiteVtbl;
  779. interface IOleClientSite
  780. {
  781. CONST_VTBL struct IOleClientSiteVtbl *lpVtbl;
  782. };
  783. #ifdef COBJMACROS
  784. #define IOleClientSite_QueryInterface(This,riid,ppvObject) \
  785. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  786. #define IOleClientSite_AddRef(This) \
  787. (This)->lpVtbl -> AddRef(This)
  788. #define IOleClientSite_Release(This) \
  789. (This)->lpVtbl -> Release(This)
  790. #define IOleClientSite_SaveObject(This) \
  791. (This)->lpVtbl -> SaveObject(This)
  792. #define IOleClientSite_GetMoniker(This,dwAssign,dwWhichMoniker,ppmk) \
  793. (This)->lpVtbl -> GetMoniker(This,dwAssign,dwWhichMoniker,ppmk)
  794. #define IOleClientSite_GetContainer(This,ppContainer) \
  795. (This)->lpVtbl -> GetContainer(This,ppContainer)
  796. #define IOleClientSite_ShowObject(This) \
  797. (This)->lpVtbl -> ShowObject(This)
  798. #define IOleClientSite_OnShowWindow(This,fShow) \
  799. (This)->lpVtbl -> OnShowWindow(This,fShow)
  800. #define IOleClientSite_RequestNewObjectLayout(This) \
  801. (This)->lpVtbl -> RequestNewObjectLayout(This)
  802. #endif /* COBJMACROS */
  803. #endif /* C style interface */
  804. HRESULT STDMETHODCALLTYPE IOleClientSite_SaveObject_Proxy(
  805. IOleClientSite * This);
  806. void __RPC_STUB IOleClientSite_SaveObject_Stub(
  807. IRpcStubBuffer *This,
  808. IRpcChannelBuffer *_pRpcChannelBuffer,
  809. PRPC_MESSAGE _pRpcMessage,
  810. DWORD *_pdwStubPhase);
  811. HRESULT STDMETHODCALLTYPE IOleClientSite_GetMoniker_Proxy(
  812. IOleClientSite * This,
  813. /* [in] */ DWORD dwAssign,
  814. /* [in] */ DWORD dwWhichMoniker,
  815. /* [out] */ IMoniker **ppmk);
  816. void __RPC_STUB IOleClientSite_GetMoniker_Stub(
  817. IRpcStubBuffer *This,
  818. IRpcChannelBuffer *_pRpcChannelBuffer,
  819. PRPC_MESSAGE _pRpcMessage,
  820. DWORD *_pdwStubPhase);
  821. HRESULT STDMETHODCALLTYPE IOleClientSite_GetContainer_Proxy(
  822. IOleClientSite * This,
  823. /* [out] */ IOleContainer **ppContainer);
  824. void __RPC_STUB IOleClientSite_GetContainer_Stub(
  825. IRpcStubBuffer *This,
  826. IRpcChannelBuffer *_pRpcChannelBuffer,
  827. PRPC_MESSAGE _pRpcMessage,
  828. DWORD *_pdwStubPhase);
  829. HRESULT STDMETHODCALLTYPE IOleClientSite_ShowObject_Proxy(
  830. IOleClientSite * This);
  831. void __RPC_STUB IOleClientSite_ShowObject_Stub(
  832. IRpcStubBuffer *This,
  833. IRpcChannelBuffer *_pRpcChannelBuffer,
  834. PRPC_MESSAGE _pRpcMessage,
  835. DWORD *_pdwStubPhase);
  836. HRESULT STDMETHODCALLTYPE IOleClientSite_OnShowWindow_Proxy(
  837. IOleClientSite * This,
  838. /* [in] */ BOOL fShow);
  839. void __RPC_STUB IOleClientSite_OnShowWindow_Stub(
  840. IRpcStubBuffer *This,
  841. IRpcChannelBuffer *_pRpcChannelBuffer,
  842. PRPC_MESSAGE _pRpcMessage,
  843. DWORD *_pdwStubPhase);
  844. HRESULT STDMETHODCALLTYPE IOleClientSite_RequestNewObjectLayout_Proxy(
  845. IOleClientSite * This);
  846. void __RPC_STUB IOleClientSite_RequestNewObjectLayout_Stub(
  847. IRpcStubBuffer *This,
  848. IRpcChannelBuffer *_pRpcChannelBuffer,
  849. PRPC_MESSAGE _pRpcMessage,
  850. DWORD *_pdwStubPhase);
  851. #endif /* __IOleClientSite_INTERFACE_DEFINED__ */
  852. #ifndef __IOleObject_INTERFACE_DEFINED__
  853. #define __IOleObject_INTERFACE_DEFINED__
  854. /* interface IOleObject */
  855. /* [unique][uuid][object] */
  856. typedef /* [unique] */ IOleObject *LPOLEOBJECT;
  857. typedef
  858. enum tagOLEGETMONIKER
  859. { OLEGETMONIKER_ONLYIFTHERE = 1,
  860. OLEGETMONIKER_FORCEASSIGN = 2,
  861. OLEGETMONIKER_UNASSIGN = 3,
  862. OLEGETMONIKER_TEMPFORUSER = 4
  863. } OLEGETMONIKER;
  864. typedef
  865. enum tagOLEWHICHMK
  866. { OLEWHICHMK_CONTAINER = 1,
  867. OLEWHICHMK_OBJREL = 2,
  868. OLEWHICHMK_OBJFULL = 3
  869. } OLEWHICHMK;
  870. typedef
  871. enum tagUSERCLASSTYPE
  872. { USERCLASSTYPE_FULL = 1,
  873. USERCLASSTYPE_SHORT = 2,
  874. USERCLASSTYPE_APPNAME = 3
  875. } USERCLASSTYPE;
  876. typedef
  877. enum tagOLEMISC
  878. { OLEMISC_RECOMPOSEONRESIZE = 0x1,
  879. OLEMISC_ONLYICONIC = 0x2,
  880. OLEMISC_INSERTNOTREPLACE = 0x4,
  881. OLEMISC_STATIC = 0x8,
  882. OLEMISC_CANTLINKINSIDE = 0x10,
  883. OLEMISC_CANLINKBYOLE1 = 0x20,
  884. OLEMISC_ISLINKOBJECT = 0x40,
  885. OLEMISC_INSIDEOUT = 0x80,
  886. OLEMISC_ACTIVATEWHENVISIBLE = 0x100,
  887. OLEMISC_RENDERINGISDEVICEINDEPENDENT = 0x200,
  888. OLEMISC_INVISIBLEATRUNTIME = 0x400,
  889. OLEMISC_ALWAYSRUN = 0x800,
  890. OLEMISC_ACTSLIKEBUTTON = 0x1000,
  891. OLEMISC_ACTSLIKELABEL = 0x2000,
  892. OLEMISC_NOUIACTIVATE = 0x4000,
  893. OLEMISC_ALIGNABLE = 0x8000,
  894. OLEMISC_SIMPLEFRAME = 0x10000,
  895. OLEMISC_SETCLIENTSITEFIRST = 0x20000,
  896. OLEMISC_IMEMODE = 0x40000,
  897. OLEMISC_IGNOREACTIVATEWHENVISIBLE = 0x80000,
  898. OLEMISC_WANTSTOMENUMERGE = 0x100000,
  899. OLEMISC_SUPPORTSMULTILEVELUNDO = 0x200000
  900. } OLEMISC;
  901. typedef
  902. enum tagOLECLOSE
  903. { OLECLOSE_SAVEIFDIRTY = 0,
  904. OLECLOSE_NOSAVE = 1,
  905. OLECLOSE_PROMPTSAVE = 2
  906. } OLECLOSE;
  907. EXTERN_C const IID IID_IOleObject;
  908. #if defined(__cplusplus) && !defined(CINTERFACE)
  909. MIDL_INTERFACE("00000112-0000-0000-C000-000000000046")
  910. IOleObject : public IUnknown
  911. {
  912. public:
  913. virtual HRESULT STDMETHODCALLTYPE SetClientSite(
  914. /* [unique][in] */ IOleClientSite *pClientSite) = 0;
  915. virtual HRESULT STDMETHODCALLTYPE GetClientSite(
  916. /* [out] */ IOleClientSite **ppClientSite) = 0;
  917. virtual HRESULT STDMETHODCALLTYPE SetHostNames(
  918. /* [in] */ LPCOLESTR szContainerApp,
  919. /* [unique][in] */ LPCOLESTR szContainerObj) = 0;
  920. virtual HRESULT STDMETHODCALLTYPE Close(
  921. /* [in] */ DWORD dwSaveOption) = 0;
  922. virtual HRESULT STDMETHODCALLTYPE SetMoniker(
  923. /* [in] */ DWORD dwWhichMoniker,
  924. /* [unique][in] */ IMoniker *pmk) = 0;
  925. virtual HRESULT STDMETHODCALLTYPE GetMoniker(
  926. /* [in] */ DWORD dwAssign,
  927. /* [in] */ DWORD dwWhichMoniker,
  928. /* [out] */ IMoniker **ppmk) = 0;
  929. virtual HRESULT STDMETHODCALLTYPE InitFromData(
  930. /* [unique][in] */ IDataObject *pDataObject,
  931. /* [in] */ BOOL fCreation,
  932. /* [in] */ DWORD dwReserved) = 0;
  933. virtual HRESULT STDMETHODCALLTYPE GetClipboardData(
  934. /* [in] */ DWORD dwReserved,
  935. /* [out] */ IDataObject **ppDataObject) = 0;
  936. virtual HRESULT STDMETHODCALLTYPE DoVerb(
  937. /* [in] */ LONG iVerb,
  938. /* [unique][in] */ LPMSG lpmsg,
  939. /* [unique][in] */ IOleClientSite *pActiveSite,
  940. /* [in] */ LONG lindex,
  941. /* [in] */ HWND hwndParent,
  942. /* [unique][in] */ LPCRECT lprcPosRect) = 0;
  943. virtual HRESULT STDMETHODCALLTYPE EnumVerbs(
  944. /* [out] */ IEnumOLEVERB **ppEnumOleVerb) = 0;
  945. virtual HRESULT STDMETHODCALLTYPE Update( void) = 0;
  946. virtual HRESULT STDMETHODCALLTYPE IsUpToDate( void) = 0;
  947. virtual HRESULT STDMETHODCALLTYPE GetUserClassID(
  948. /* [out] */ CLSID *pClsid) = 0;
  949. virtual HRESULT STDMETHODCALLTYPE GetUserType(
  950. /* [in] */ DWORD dwFormOfType,
  951. /* [out] */ LPOLESTR *pszUserType) = 0;
  952. virtual HRESULT STDMETHODCALLTYPE SetExtent(
  953. /* [in] */ DWORD dwDrawAspect,
  954. /* [in] */ SIZEL *psizel) = 0;
  955. virtual HRESULT STDMETHODCALLTYPE GetExtent(
  956. /* [in] */ DWORD dwDrawAspect,
  957. /* [out] */ SIZEL *psizel) = 0;
  958. virtual HRESULT STDMETHODCALLTYPE Advise(
  959. /* [unique][in] */ IAdviseSink *pAdvSink,
  960. /* [out] */ DWORD *pdwConnection) = 0;
  961. virtual HRESULT STDMETHODCALLTYPE Unadvise(
  962. /* [in] */ DWORD dwConnection) = 0;
  963. virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
  964. /* [out] */ IEnumSTATDATA **ppenumAdvise) = 0;
  965. virtual HRESULT STDMETHODCALLTYPE GetMiscStatus(
  966. /* [in] */ DWORD dwAspect,
  967. /* [out] */ DWORD *pdwStatus) = 0;
  968. virtual HRESULT STDMETHODCALLTYPE SetColorScheme(
  969. /* [in] */ LOGPALETTE *pLogpal) = 0;
  970. };
  971. #else /* C style interface */
  972. typedef struct IOleObjectVtbl
  973. {
  974. BEGIN_INTERFACE
  975. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  976. IOleObject * This,
  977. /* [in] */ REFIID riid,
  978. /* [iid_is][out] */ void **ppvObject);
  979. ULONG ( STDMETHODCALLTYPE *AddRef )(
  980. IOleObject * This);
  981. ULONG ( STDMETHODCALLTYPE *Release )(
  982. IOleObject * This);
  983. HRESULT ( STDMETHODCALLTYPE *SetClientSite )(
  984. IOleObject * This,
  985. /* [unique][in] */ IOleClientSite *pClientSite);
  986. HRESULT ( STDMETHODCALLTYPE *GetClientSite )(
  987. IOleObject * This,
  988. /* [out] */ IOleClientSite **ppClientSite);
  989. HRESULT ( STDMETHODCALLTYPE *SetHostNames )(
  990. IOleObject * This,
  991. /* [in] */ LPCOLESTR szContainerApp,
  992. /* [unique][in] */ LPCOLESTR szContainerObj);
  993. HRESULT ( STDMETHODCALLTYPE *Close )(
  994. IOleObject * This,
  995. /* [in] */ DWORD dwSaveOption);
  996. HRESULT ( STDMETHODCALLTYPE *SetMoniker )(
  997. IOleObject * This,
  998. /* [in] */ DWORD dwWhichMoniker,
  999. /* [unique][in] */ IMoniker *pmk);
  1000. HRESULT ( STDMETHODCALLTYPE *GetMoniker )(
  1001. IOleObject * This,
  1002. /* [in] */ DWORD dwAssign,
  1003. /* [in] */ DWORD dwWhichMoniker,
  1004. /* [out] */ IMoniker **ppmk);
  1005. HRESULT ( STDMETHODCALLTYPE *InitFromData )(
  1006. IOleObject * This,
  1007. /* [unique][in] */ IDataObject *pDataObject,
  1008. /* [in] */ BOOL fCreation,
  1009. /* [in] */ DWORD dwReserved);
  1010. HRESULT ( STDMETHODCALLTYPE *GetClipboardData )(
  1011. IOleObject * This,
  1012. /* [in] */ DWORD dwReserved,
  1013. /* [out] */ IDataObject **ppDataObject);
  1014. HRESULT ( STDMETHODCALLTYPE *DoVerb )(
  1015. IOleObject * This,
  1016. /* [in] */ LONG iVerb,
  1017. /* [unique][in] */ LPMSG lpmsg,
  1018. /* [unique][in] */ IOleClientSite *pActiveSite,
  1019. /* [in] */ LONG lindex,
  1020. /* [in] */ HWND hwndParent,
  1021. /* [unique][in] */ LPCRECT lprcPosRect);
  1022. HRESULT ( STDMETHODCALLTYPE *EnumVerbs )(
  1023. IOleObject * This,
  1024. /* [out] */ IEnumOLEVERB **ppEnumOleVerb);
  1025. HRESULT ( STDMETHODCALLTYPE *Update )(
  1026. IOleObject * This);
  1027. HRESULT ( STDMETHODCALLTYPE *IsUpToDate )(
  1028. IOleObject * This);
  1029. HRESULT ( STDMETHODCALLTYPE *GetUserClassID )(
  1030. IOleObject * This,
  1031. /* [out] */ CLSID *pClsid);
  1032. HRESULT ( STDMETHODCALLTYPE *GetUserType )(
  1033. IOleObject * This,
  1034. /* [in] */ DWORD dwFormOfType,
  1035. /* [out] */ LPOLESTR *pszUserType);
  1036. HRESULT ( STDMETHODCALLTYPE *SetExtent )(
  1037. IOleObject * This,
  1038. /* [in] */ DWORD dwDrawAspect,
  1039. /* [in] */ SIZEL *psizel);
  1040. HRESULT ( STDMETHODCALLTYPE *GetExtent )(
  1041. IOleObject * This,
  1042. /* [in] */ DWORD dwDrawAspect,
  1043. /* [out] */ SIZEL *psizel);
  1044. HRESULT ( STDMETHODCALLTYPE *Advise )(
  1045. IOleObject * This,
  1046. /* [unique][in] */ IAdviseSink *pAdvSink,
  1047. /* [out] */ DWORD *pdwConnection);
  1048. HRESULT ( STDMETHODCALLTYPE *Unadvise )(
  1049. IOleObject * This,
  1050. /* [in] */ DWORD dwConnection);
  1051. HRESULT ( STDMETHODCALLTYPE *EnumAdvise )(
  1052. IOleObject * This,
  1053. /* [out] */ IEnumSTATDATA **ppenumAdvise);
  1054. HRESULT ( STDMETHODCALLTYPE *GetMiscStatus )(
  1055. IOleObject * This,
  1056. /* [in] */ DWORD dwAspect,
  1057. /* [out] */ DWORD *pdwStatus);
  1058. HRESULT ( STDMETHODCALLTYPE *SetColorScheme )(
  1059. IOleObject * This,
  1060. /* [in] */ LOGPALETTE *pLogpal);
  1061. END_INTERFACE
  1062. } IOleObjectVtbl;
  1063. interface IOleObject
  1064. {
  1065. CONST_VTBL struct IOleObjectVtbl *lpVtbl;
  1066. };
  1067. #ifdef COBJMACROS
  1068. #define IOleObject_QueryInterface(This,riid,ppvObject) \
  1069. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1070. #define IOleObject_AddRef(This) \
  1071. (This)->lpVtbl -> AddRef(This)
  1072. #define IOleObject_Release(This) \
  1073. (This)->lpVtbl -> Release(This)
  1074. #define IOleObject_SetClientSite(This,pClientSite) \
  1075. (This)->lpVtbl -> SetClientSite(This,pClientSite)
  1076. #define IOleObject_GetClientSite(This,ppClientSite) \
  1077. (This)->lpVtbl -> GetClientSite(This,ppClientSite)
  1078. #define IOleObject_SetHostNames(This,szContainerApp,szContainerObj) \
  1079. (This)->lpVtbl -> SetHostNames(This,szContainerApp,szContainerObj)
  1080. #define IOleObject_Close(This,dwSaveOption) \
  1081. (This)->lpVtbl -> Close(This,dwSaveOption)
  1082. #define IOleObject_SetMoniker(This,dwWhichMoniker,pmk) \
  1083. (This)->lpVtbl -> SetMoniker(This,dwWhichMoniker,pmk)
  1084. #define IOleObject_GetMoniker(This,dwAssign,dwWhichMoniker,ppmk) \
  1085. (This)->lpVtbl -> GetMoniker(This,dwAssign,dwWhichMoniker,ppmk)
  1086. #define IOleObject_InitFromData(This,pDataObject,fCreation,dwReserved) \
  1087. (This)->lpVtbl -> InitFromData(This,pDataObject,fCreation,dwReserved)
  1088. #define IOleObject_GetClipboardData(This,dwReserved,ppDataObject) \
  1089. (This)->lpVtbl -> GetClipboardData(This,dwReserved,ppDataObject)
  1090. #define IOleObject_DoVerb(This,iVerb,lpmsg,pActiveSite,lindex,hwndParent,lprcPosRect) \
  1091. (This)->lpVtbl -> DoVerb(This,iVerb,lpmsg,pActiveSite,lindex,hwndParent,lprcPosRect)
  1092. #define IOleObject_EnumVerbs(This,ppEnumOleVerb) \
  1093. (This)->lpVtbl -> EnumVerbs(This,ppEnumOleVerb)
  1094. #define IOleObject_Update(This) \
  1095. (This)->lpVtbl -> Update(This)
  1096. #define IOleObject_IsUpToDate(This) \
  1097. (This)->lpVtbl -> IsUpToDate(This)
  1098. #define IOleObject_GetUserClassID(This,pClsid) \
  1099. (This)->lpVtbl -> GetUserClassID(This,pClsid)
  1100. #define IOleObject_GetUserType(This,dwFormOfType,pszUserType) \
  1101. (This)->lpVtbl -> GetUserType(This,dwFormOfType,pszUserType)
  1102. #define IOleObject_SetExtent(This,dwDrawAspect,psizel) \
  1103. (This)->lpVtbl -> SetExtent(This,dwDrawAspect,psizel)
  1104. #define IOleObject_GetExtent(This,dwDrawAspect,psizel) \
  1105. (This)->lpVtbl -> GetExtent(This,dwDrawAspect,psizel)
  1106. #define IOleObject_Advise(This,pAdvSink,pdwConnection) \
  1107. (This)->lpVtbl -> Advise(This,pAdvSink,pdwConnection)
  1108. #define IOleObject_Unadvise(This,dwConnection) \
  1109. (This)->lpVtbl -> Unadvise(This,dwConnection)
  1110. #define IOleObject_EnumAdvise(This,ppenumAdvise) \
  1111. (This)->lpVtbl -> EnumAdvise(This,ppenumAdvise)
  1112. #define IOleObject_GetMiscStatus(This,dwAspect,pdwStatus) \
  1113. (This)->lpVtbl -> GetMiscStatus(This,dwAspect,pdwStatus)
  1114. #define IOleObject_SetColorScheme(This,pLogpal) \
  1115. (This)->lpVtbl -> SetColorScheme(This,pLogpal)
  1116. #endif /* COBJMACROS */
  1117. #endif /* C style interface */
  1118. HRESULT STDMETHODCALLTYPE IOleObject_SetClientSite_Proxy(
  1119. IOleObject * This,
  1120. /* [unique][in] */ IOleClientSite *pClientSite);
  1121. void __RPC_STUB IOleObject_SetClientSite_Stub(
  1122. IRpcStubBuffer *This,
  1123. IRpcChannelBuffer *_pRpcChannelBuffer,
  1124. PRPC_MESSAGE _pRpcMessage,
  1125. DWORD *_pdwStubPhase);
  1126. HRESULT STDMETHODCALLTYPE IOleObject_GetClientSite_Proxy(
  1127. IOleObject * This,
  1128. /* [out] */ IOleClientSite **ppClientSite);
  1129. void __RPC_STUB IOleObject_GetClientSite_Stub(
  1130. IRpcStubBuffer *This,
  1131. IRpcChannelBuffer *_pRpcChannelBuffer,
  1132. PRPC_MESSAGE _pRpcMessage,
  1133. DWORD *_pdwStubPhase);
  1134. HRESULT STDMETHODCALLTYPE IOleObject_SetHostNames_Proxy(
  1135. IOleObject * This,
  1136. /* [in] */ LPCOLESTR szContainerApp,
  1137. /* [unique][in] */ LPCOLESTR szContainerObj);
  1138. void __RPC_STUB IOleObject_SetHostNames_Stub(
  1139. IRpcStubBuffer *This,
  1140. IRpcChannelBuffer *_pRpcChannelBuffer,
  1141. PRPC_MESSAGE _pRpcMessage,
  1142. DWORD *_pdwStubPhase);
  1143. HRESULT STDMETHODCALLTYPE IOleObject_Close_Proxy(
  1144. IOleObject * This,
  1145. /* [in] */ DWORD dwSaveOption);
  1146. void __RPC_STUB IOleObject_Close_Stub(
  1147. IRpcStubBuffer *This,
  1148. IRpcChannelBuffer *_pRpcChannelBuffer,
  1149. PRPC_MESSAGE _pRpcMessage,
  1150. DWORD *_pdwStubPhase);
  1151. HRESULT STDMETHODCALLTYPE IOleObject_SetMoniker_Proxy(
  1152. IOleObject * This,
  1153. /* [in] */ DWORD dwWhichMoniker,
  1154. /* [unique][in] */ IMoniker *pmk);
  1155. void __RPC_STUB IOleObject_SetMoniker_Stub(
  1156. IRpcStubBuffer *This,
  1157. IRpcChannelBuffer *_pRpcChannelBuffer,
  1158. PRPC_MESSAGE _pRpcMessage,
  1159. DWORD *_pdwStubPhase);
  1160. HRESULT STDMETHODCALLTYPE IOleObject_GetMoniker_Proxy(
  1161. IOleObject * This,
  1162. /* [in] */ DWORD dwAssign,
  1163. /* [in] */ DWORD dwWhichMoniker,
  1164. /* [out] */ IMoniker **ppmk);
  1165. void __RPC_STUB IOleObject_GetMoniker_Stub(
  1166. IRpcStubBuffer *This,
  1167. IRpcChannelBuffer *_pRpcChannelBuffer,
  1168. PRPC_MESSAGE _pRpcMessage,
  1169. DWORD *_pdwStubPhase);
  1170. HRESULT STDMETHODCALLTYPE IOleObject_InitFromData_Proxy(
  1171. IOleObject * This,
  1172. /* [unique][in] */ IDataObject *pDataObject,
  1173. /* [in] */ BOOL fCreation,
  1174. /* [in] */ DWORD dwReserved);
  1175. void __RPC_STUB IOleObject_InitFromData_Stub(
  1176. IRpcStubBuffer *This,
  1177. IRpcChannelBuffer *_pRpcChannelBuffer,
  1178. PRPC_MESSAGE _pRpcMessage,
  1179. DWORD *_pdwStubPhase);
  1180. HRESULT STDMETHODCALLTYPE IOleObject_GetClipboardData_Proxy(
  1181. IOleObject * This,
  1182. /* [in] */ DWORD dwReserved,
  1183. /* [out] */ IDataObject **ppDataObject);
  1184. void __RPC_STUB IOleObject_GetClipboardData_Stub(
  1185. IRpcStubBuffer *This,
  1186. IRpcChannelBuffer *_pRpcChannelBuffer,
  1187. PRPC_MESSAGE _pRpcMessage,
  1188. DWORD *_pdwStubPhase);
  1189. HRESULT STDMETHODCALLTYPE IOleObject_DoVerb_Proxy(
  1190. IOleObject * This,
  1191. /* [in] */ LONG iVerb,
  1192. /* [unique][in] */ LPMSG lpmsg,
  1193. /* [unique][in] */ IOleClientSite *pActiveSite,
  1194. /* [in] */ LONG lindex,
  1195. /* [in] */ HWND hwndParent,
  1196. /* [unique][in] */ LPCRECT lprcPosRect);
  1197. void __RPC_STUB IOleObject_DoVerb_Stub(
  1198. IRpcStubBuffer *This,
  1199. IRpcChannelBuffer *_pRpcChannelBuffer,
  1200. PRPC_MESSAGE _pRpcMessage,
  1201. DWORD *_pdwStubPhase);
  1202. HRESULT STDMETHODCALLTYPE IOleObject_EnumVerbs_Proxy(
  1203. IOleObject * This,
  1204. /* [out] */ IEnumOLEVERB **ppEnumOleVerb);
  1205. void __RPC_STUB IOleObject_EnumVerbs_Stub(
  1206. IRpcStubBuffer *This,
  1207. IRpcChannelBuffer *_pRpcChannelBuffer,
  1208. PRPC_MESSAGE _pRpcMessage,
  1209. DWORD *_pdwStubPhase);
  1210. HRESULT STDMETHODCALLTYPE IOleObject_Update_Proxy(
  1211. IOleObject * This);
  1212. void __RPC_STUB IOleObject_Update_Stub(
  1213. IRpcStubBuffer *This,
  1214. IRpcChannelBuffer *_pRpcChannelBuffer,
  1215. PRPC_MESSAGE _pRpcMessage,
  1216. DWORD *_pdwStubPhase);
  1217. HRESULT STDMETHODCALLTYPE IOleObject_IsUpToDate_Proxy(
  1218. IOleObject * This);
  1219. void __RPC_STUB IOleObject_IsUpToDate_Stub(
  1220. IRpcStubBuffer *This,
  1221. IRpcChannelBuffer *_pRpcChannelBuffer,
  1222. PRPC_MESSAGE _pRpcMessage,
  1223. DWORD *_pdwStubPhase);
  1224. HRESULT STDMETHODCALLTYPE IOleObject_GetUserClassID_Proxy(
  1225. IOleObject * This,
  1226. /* [out] */ CLSID *pClsid);
  1227. void __RPC_STUB IOleObject_GetUserClassID_Stub(
  1228. IRpcStubBuffer *This,
  1229. IRpcChannelBuffer *_pRpcChannelBuffer,
  1230. PRPC_MESSAGE _pRpcMessage,
  1231. DWORD *_pdwStubPhase);
  1232. HRESULT STDMETHODCALLTYPE IOleObject_GetUserType_Proxy(
  1233. IOleObject * This,
  1234. /* [in] */ DWORD dwFormOfType,
  1235. /* [out] */ LPOLESTR *pszUserType);
  1236. void __RPC_STUB IOleObject_GetUserType_Stub(
  1237. IRpcStubBuffer *This,
  1238. IRpcChannelBuffer *_pRpcChannelBuffer,
  1239. PRPC_MESSAGE _pRpcMessage,
  1240. DWORD *_pdwStubPhase);
  1241. HRESULT STDMETHODCALLTYPE IOleObject_SetExtent_Proxy(
  1242. IOleObject * This,
  1243. /* [in] */ DWORD dwDrawAspect,
  1244. /* [in] */ SIZEL *psizel);
  1245. void __RPC_STUB IOleObject_SetExtent_Stub(
  1246. IRpcStubBuffer *This,
  1247. IRpcChannelBuffer *_pRpcChannelBuffer,
  1248. PRPC_MESSAGE _pRpcMessage,
  1249. DWORD *_pdwStubPhase);
  1250. HRESULT STDMETHODCALLTYPE IOleObject_GetExtent_Proxy(
  1251. IOleObject * This,
  1252. /* [in] */ DWORD dwDrawAspect,
  1253. /* [out] */ SIZEL *psizel);
  1254. void __RPC_STUB IOleObject_GetExtent_Stub(
  1255. IRpcStubBuffer *This,
  1256. IRpcChannelBuffer *_pRpcChannelBuffer,
  1257. PRPC_MESSAGE _pRpcMessage,
  1258. DWORD *_pdwStubPhase);
  1259. HRESULT STDMETHODCALLTYPE IOleObject_Advise_Proxy(
  1260. IOleObject * This,
  1261. /* [unique][in] */ IAdviseSink *pAdvSink,
  1262. /* [out] */ DWORD *pdwConnection);
  1263. void __RPC_STUB IOleObject_Advise_Stub(
  1264. IRpcStubBuffer *This,
  1265. IRpcChannelBuffer *_pRpcChannelBuffer,
  1266. PRPC_MESSAGE _pRpcMessage,
  1267. DWORD *_pdwStubPhase);
  1268. HRESULT STDMETHODCALLTYPE IOleObject_Unadvise_Proxy(
  1269. IOleObject * This,
  1270. /* [in] */ DWORD dwConnection);
  1271. void __RPC_STUB IOleObject_Unadvise_Stub(
  1272. IRpcStubBuffer *This,
  1273. IRpcChannelBuffer *_pRpcChannelBuffer,
  1274. PRPC_MESSAGE _pRpcMessage,
  1275. DWORD *_pdwStubPhase);
  1276. HRESULT STDMETHODCALLTYPE IOleObject_EnumAdvise_Proxy(
  1277. IOleObject * This,
  1278. /* [out] */ IEnumSTATDATA **ppenumAdvise);
  1279. void __RPC_STUB IOleObject_EnumAdvise_Stub(
  1280. IRpcStubBuffer *This,
  1281. IRpcChannelBuffer *_pRpcChannelBuffer,
  1282. PRPC_MESSAGE _pRpcMessage,
  1283. DWORD *_pdwStubPhase);
  1284. HRESULT STDMETHODCALLTYPE IOleObject_GetMiscStatus_Proxy(
  1285. IOleObject * This,
  1286. /* [in] */ DWORD dwAspect,
  1287. /* [out] */ DWORD *pdwStatus);
  1288. void __RPC_STUB IOleObject_GetMiscStatus_Stub(
  1289. IRpcStubBuffer *This,
  1290. IRpcChannelBuffer *_pRpcChannelBuffer,
  1291. PRPC_MESSAGE _pRpcMessage,
  1292. DWORD *_pdwStubPhase);
  1293. HRESULT STDMETHODCALLTYPE IOleObject_SetColorScheme_Proxy(
  1294. IOleObject * This,
  1295. /* [in] */ LOGPALETTE *pLogpal);
  1296. void __RPC_STUB IOleObject_SetColorScheme_Stub(
  1297. IRpcStubBuffer *This,
  1298. IRpcChannelBuffer *_pRpcChannelBuffer,
  1299. PRPC_MESSAGE _pRpcMessage,
  1300. DWORD *_pdwStubPhase);
  1301. #endif /* __IOleObject_INTERFACE_DEFINED__ */
  1302. #ifndef __IOLETypes_INTERFACE_DEFINED__
  1303. #define __IOLETypes_INTERFACE_DEFINED__
  1304. /* interface IOLETypes */
  1305. /* [auto_handle][uuid] */
  1306. typedef
  1307. enum tagOLERENDER
  1308. { OLERENDER_NONE = 0,
  1309. OLERENDER_DRAW = 1,
  1310. OLERENDER_FORMAT = 2,
  1311. OLERENDER_ASIS = 3
  1312. } OLERENDER;
  1313. typedef OLERENDER *LPOLERENDER;
  1314. typedef struct tagOBJECTDESCRIPTOR
  1315. {
  1316. ULONG cbSize;
  1317. CLSID clsid;
  1318. DWORD dwDrawAspect;
  1319. SIZEL sizel;
  1320. POINTL pointl;
  1321. DWORD dwStatus;
  1322. DWORD dwFullUserTypeName;
  1323. DWORD dwSrcOfCopy;
  1324. } OBJECTDESCRIPTOR;
  1325. typedef struct tagOBJECTDESCRIPTOR *POBJECTDESCRIPTOR;
  1326. typedef struct tagOBJECTDESCRIPTOR *LPOBJECTDESCRIPTOR;
  1327. typedef struct tagOBJECTDESCRIPTOR LINKSRCDESCRIPTOR;
  1328. typedef struct tagOBJECTDESCRIPTOR *PLINKSRCDESCRIPTOR;
  1329. typedef struct tagOBJECTDESCRIPTOR *LPLINKSRCDESCRIPTOR;
  1330. extern RPC_IF_HANDLE IOLETypes_v0_0_c_ifspec;
  1331. extern RPC_IF_HANDLE IOLETypes_v0_0_s_ifspec;
  1332. #endif /* __IOLETypes_INTERFACE_DEFINED__ */
  1333. #ifndef __IOleWindow_INTERFACE_DEFINED__
  1334. #define __IOleWindow_INTERFACE_DEFINED__
  1335. /* interface IOleWindow */
  1336. /* [unique][uuid][object] */
  1337. typedef /* [unique] */ IOleWindow *LPOLEWINDOW;
  1338. EXTERN_C const IID IID_IOleWindow;
  1339. #if defined(__cplusplus) && !defined(CINTERFACE)
  1340. MIDL_INTERFACE("00000114-0000-0000-C000-000000000046")
  1341. IOleWindow : public IUnknown
  1342. {
  1343. public:
  1344. virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE GetWindow(
  1345. /* [out] */ HWND *phwnd) = 0;
  1346. virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp(
  1347. /* [in] */ BOOL fEnterMode) = 0;
  1348. };
  1349. #else /* C style interface */
  1350. typedef struct IOleWindowVtbl
  1351. {
  1352. BEGIN_INTERFACE
  1353. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1354. IOleWindow * This,
  1355. /* [in] */ REFIID riid,
  1356. /* [iid_is][out] */ void **ppvObject);
  1357. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1358. IOleWindow * This);
  1359. ULONG ( STDMETHODCALLTYPE *Release )(
  1360. IOleWindow * This);
  1361. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  1362. IOleWindow * This,
  1363. /* [out] */ HWND *phwnd);
  1364. HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
  1365. IOleWindow * This,
  1366. /* [in] */ BOOL fEnterMode);
  1367. END_INTERFACE
  1368. } IOleWindowVtbl;
  1369. interface IOleWindow
  1370. {
  1371. CONST_VTBL struct IOleWindowVtbl *lpVtbl;
  1372. };
  1373. #ifdef COBJMACROS
  1374. #define IOleWindow_QueryInterface(This,riid,ppvObject) \
  1375. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1376. #define IOleWindow_AddRef(This) \
  1377. (This)->lpVtbl -> AddRef(This)
  1378. #define IOleWindow_Release(This) \
  1379. (This)->lpVtbl -> Release(This)
  1380. #define IOleWindow_GetWindow(This,phwnd) \
  1381. (This)->lpVtbl -> GetWindow(This,phwnd)
  1382. #define IOleWindow_ContextSensitiveHelp(This,fEnterMode) \
  1383. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  1384. #endif /* COBJMACROS */
  1385. #endif /* C style interface */
  1386. /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleWindow_GetWindow_Proxy(
  1387. IOleWindow * This,
  1388. /* [out] */ HWND *phwnd);
  1389. void __RPC_STUB IOleWindow_GetWindow_Stub(
  1390. IRpcStubBuffer *This,
  1391. IRpcChannelBuffer *_pRpcChannelBuffer,
  1392. PRPC_MESSAGE _pRpcMessage,
  1393. DWORD *_pdwStubPhase);
  1394. HRESULT STDMETHODCALLTYPE IOleWindow_ContextSensitiveHelp_Proxy(
  1395. IOleWindow * This,
  1396. /* [in] */ BOOL fEnterMode);
  1397. void __RPC_STUB IOleWindow_ContextSensitiveHelp_Stub(
  1398. IRpcStubBuffer *This,
  1399. IRpcChannelBuffer *_pRpcChannelBuffer,
  1400. PRPC_MESSAGE _pRpcMessage,
  1401. DWORD *_pdwStubPhase);
  1402. #endif /* __IOleWindow_INTERFACE_DEFINED__ */
  1403. #ifndef __IOleLink_INTERFACE_DEFINED__
  1404. #define __IOleLink_INTERFACE_DEFINED__
  1405. /* interface IOleLink */
  1406. /* [uuid][object] */
  1407. typedef /* [unique] */ IOleLink *LPOLELINK;
  1408. typedef
  1409. enum tagOLEUPDATE
  1410. { OLEUPDATE_ALWAYS = 1,
  1411. OLEUPDATE_ONCALL = 3
  1412. } OLEUPDATE;
  1413. typedef OLEUPDATE *LPOLEUPDATE;
  1414. typedef OLEUPDATE *POLEUPDATE;
  1415. typedef
  1416. enum tagOLELINKBIND
  1417. { OLELINKBIND_EVENIFCLASSDIFF = 1
  1418. } OLELINKBIND;
  1419. EXTERN_C const IID IID_IOleLink;
  1420. #if defined(__cplusplus) && !defined(CINTERFACE)
  1421. MIDL_INTERFACE("0000011d-0000-0000-C000-000000000046")
  1422. IOleLink : public IUnknown
  1423. {
  1424. public:
  1425. virtual HRESULT STDMETHODCALLTYPE SetUpdateOptions(
  1426. /* [in] */ DWORD dwUpdateOpt) = 0;
  1427. virtual HRESULT STDMETHODCALLTYPE GetUpdateOptions(
  1428. /* [out] */ DWORD *pdwUpdateOpt) = 0;
  1429. virtual HRESULT STDMETHODCALLTYPE SetSourceMoniker(
  1430. /* [unique][in] */ IMoniker *pmk,
  1431. /* [in] */ REFCLSID rclsid) = 0;
  1432. virtual HRESULT STDMETHODCALLTYPE GetSourceMoniker(
  1433. /* [out] */ IMoniker **ppmk) = 0;
  1434. virtual HRESULT STDMETHODCALLTYPE SetSourceDisplayName(
  1435. /* [in] */ LPCOLESTR pszStatusText) = 0;
  1436. virtual HRESULT STDMETHODCALLTYPE GetSourceDisplayName(
  1437. /* [out] */ LPOLESTR *ppszDisplayName) = 0;
  1438. virtual HRESULT STDMETHODCALLTYPE BindToSource(
  1439. /* [in] */ DWORD bindflags,
  1440. /* [unique][in] */ IBindCtx *pbc) = 0;
  1441. virtual HRESULT STDMETHODCALLTYPE BindIfRunning( void) = 0;
  1442. virtual HRESULT STDMETHODCALLTYPE GetBoundSource(
  1443. /* [out] */ IUnknown **ppunk) = 0;
  1444. virtual HRESULT STDMETHODCALLTYPE UnbindSource( void) = 0;
  1445. virtual HRESULT STDMETHODCALLTYPE Update(
  1446. /* [unique][in] */ IBindCtx *pbc) = 0;
  1447. };
  1448. #else /* C style interface */
  1449. typedef struct IOleLinkVtbl
  1450. {
  1451. BEGIN_INTERFACE
  1452. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1453. IOleLink * This,
  1454. /* [in] */ REFIID riid,
  1455. /* [iid_is][out] */ void **ppvObject);
  1456. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1457. IOleLink * This);
  1458. ULONG ( STDMETHODCALLTYPE *Release )(
  1459. IOleLink * This);
  1460. HRESULT ( STDMETHODCALLTYPE *SetUpdateOptions )(
  1461. IOleLink * This,
  1462. /* [in] */ DWORD dwUpdateOpt);
  1463. HRESULT ( STDMETHODCALLTYPE *GetUpdateOptions )(
  1464. IOleLink * This,
  1465. /* [out] */ DWORD *pdwUpdateOpt);
  1466. HRESULT ( STDMETHODCALLTYPE *SetSourceMoniker )(
  1467. IOleLink * This,
  1468. /* [unique][in] */ IMoniker *pmk,
  1469. /* [in] */ REFCLSID rclsid);
  1470. HRESULT ( STDMETHODCALLTYPE *GetSourceMoniker )(
  1471. IOleLink * This,
  1472. /* [out] */ IMoniker **ppmk);
  1473. HRESULT ( STDMETHODCALLTYPE *SetSourceDisplayName )(
  1474. IOleLink * This,
  1475. /* [in] */ LPCOLESTR pszStatusText);
  1476. HRESULT ( STDMETHODCALLTYPE *GetSourceDisplayName )(
  1477. IOleLink * This,
  1478. /* [out] */ LPOLESTR *ppszDisplayName);
  1479. HRESULT ( STDMETHODCALLTYPE *BindToSource )(
  1480. IOleLink * This,
  1481. /* [in] */ DWORD bindflags,
  1482. /* [unique][in] */ IBindCtx *pbc);
  1483. HRESULT ( STDMETHODCALLTYPE *BindIfRunning )(
  1484. IOleLink * This);
  1485. HRESULT ( STDMETHODCALLTYPE *GetBoundSource )(
  1486. IOleLink * This,
  1487. /* [out] */ IUnknown **ppunk);
  1488. HRESULT ( STDMETHODCALLTYPE *UnbindSource )(
  1489. IOleLink * This);
  1490. HRESULT ( STDMETHODCALLTYPE *Update )(
  1491. IOleLink * This,
  1492. /* [unique][in] */ IBindCtx *pbc);
  1493. END_INTERFACE
  1494. } IOleLinkVtbl;
  1495. interface IOleLink
  1496. {
  1497. CONST_VTBL struct IOleLinkVtbl *lpVtbl;
  1498. };
  1499. #ifdef COBJMACROS
  1500. #define IOleLink_QueryInterface(This,riid,ppvObject) \
  1501. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1502. #define IOleLink_AddRef(This) \
  1503. (This)->lpVtbl -> AddRef(This)
  1504. #define IOleLink_Release(This) \
  1505. (This)->lpVtbl -> Release(This)
  1506. #define IOleLink_SetUpdateOptions(This,dwUpdateOpt) \
  1507. (This)->lpVtbl -> SetUpdateOptions(This,dwUpdateOpt)
  1508. #define IOleLink_GetUpdateOptions(This,pdwUpdateOpt) \
  1509. (This)->lpVtbl -> GetUpdateOptions(This,pdwUpdateOpt)
  1510. #define IOleLink_SetSourceMoniker(This,pmk,rclsid) \
  1511. (This)->lpVtbl -> SetSourceMoniker(This,pmk,rclsid)
  1512. #define IOleLink_GetSourceMoniker(This,ppmk) \
  1513. (This)->lpVtbl -> GetSourceMoniker(This,ppmk)
  1514. #define IOleLink_SetSourceDisplayName(This,pszStatusText) \
  1515. (This)->lpVtbl -> SetSourceDisplayName(This,pszStatusText)
  1516. #define IOleLink_GetSourceDisplayName(This,ppszDisplayName) \
  1517. (This)->lpVtbl -> GetSourceDisplayName(This,ppszDisplayName)
  1518. #define IOleLink_BindToSource(This,bindflags,pbc) \
  1519. (This)->lpVtbl -> BindToSource(This,bindflags,pbc)
  1520. #define IOleLink_BindIfRunning(This) \
  1521. (This)->lpVtbl -> BindIfRunning(This)
  1522. #define IOleLink_GetBoundSource(This,ppunk) \
  1523. (This)->lpVtbl -> GetBoundSource(This,ppunk)
  1524. #define IOleLink_UnbindSource(This) \
  1525. (This)->lpVtbl -> UnbindSource(This)
  1526. #define IOleLink_Update(This,pbc) \
  1527. (This)->lpVtbl -> Update(This,pbc)
  1528. #endif /* COBJMACROS */
  1529. #endif /* C style interface */
  1530. HRESULT STDMETHODCALLTYPE IOleLink_SetUpdateOptions_Proxy(
  1531. IOleLink * This,
  1532. /* [in] */ DWORD dwUpdateOpt);
  1533. void __RPC_STUB IOleLink_SetUpdateOptions_Stub(
  1534. IRpcStubBuffer *This,
  1535. IRpcChannelBuffer *_pRpcChannelBuffer,
  1536. PRPC_MESSAGE _pRpcMessage,
  1537. DWORD *_pdwStubPhase);
  1538. HRESULT STDMETHODCALLTYPE IOleLink_GetUpdateOptions_Proxy(
  1539. IOleLink * This,
  1540. /* [out] */ DWORD *pdwUpdateOpt);
  1541. void __RPC_STUB IOleLink_GetUpdateOptions_Stub(
  1542. IRpcStubBuffer *This,
  1543. IRpcChannelBuffer *_pRpcChannelBuffer,
  1544. PRPC_MESSAGE _pRpcMessage,
  1545. DWORD *_pdwStubPhase);
  1546. HRESULT STDMETHODCALLTYPE IOleLink_SetSourceMoniker_Proxy(
  1547. IOleLink * This,
  1548. /* [unique][in] */ IMoniker *pmk,
  1549. /* [in] */ REFCLSID rclsid);
  1550. void __RPC_STUB IOleLink_SetSourceMoniker_Stub(
  1551. IRpcStubBuffer *This,
  1552. IRpcChannelBuffer *_pRpcChannelBuffer,
  1553. PRPC_MESSAGE _pRpcMessage,
  1554. DWORD *_pdwStubPhase);
  1555. HRESULT STDMETHODCALLTYPE IOleLink_GetSourceMoniker_Proxy(
  1556. IOleLink * This,
  1557. /* [out] */ IMoniker **ppmk);
  1558. void __RPC_STUB IOleLink_GetSourceMoniker_Stub(
  1559. IRpcStubBuffer *This,
  1560. IRpcChannelBuffer *_pRpcChannelBuffer,
  1561. PRPC_MESSAGE _pRpcMessage,
  1562. DWORD *_pdwStubPhase);
  1563. HRESULT STDMETHODCALLTYPE IOleLink_SetSourceDisplayName_Proxy(
  1564. IOleLink * This,
  1565. /* [in] */ LPCOLESTR pszStatusText);
  1566. void __RPC_STUB IOleLink_SetSourceDisplayName_Stub(
  1567. IRpcStubBuffer *This,
  1568. IRpcChannelBuffer *_pRpcChannelBuffer,
  1569. PRPC_MESSAGE _pRpcMessage,
  1570. DWORD *_pdwStubPhase);
  1571. HRESULT STDMETHODCALLTYPE IOleLink_GetSourceDisplayName_Proxy(
  1572. IOleLink * This,
  1573. /* [out] */ LPOLESTR *ppszDisplayName);
  1574. void __RPC_STUB IOleLink_GetSourceDisplayName_Stub(
  1575. IRpcStubBuffer *This,
  1576. IRpcChannelBuffer *_pRpcChannelBuffer,
  1577. PRPC_MESSAGE _pRpcMessage,
  1578. DWORD *_pdwStubPhase);
  1579. HRESULT STDMETHODCALLTYPE IOleLink_BindToSource_Proxy(
  1580. IOleLink * This,
  1581. /* [in] */ DWORD bindflags,
  1582. /* [unique][in] */ IBindCtx *pbc);
  1583. void __RPC_STUB IOleLink_BindToSource_Stub(
  1584. IRpcStubBuffer *This,
  1585. IRpcChannelBuffer *_pRpcChannelBuffer,
  1586. PRPC_MESSAGE _pRpcMessage,
  1587. DWORD *_pdwStubPhase);
  1588. HRESULT STDMETHODCALLTYPE IOleLink_BindIfRunning_Proxy(
  1589. IOleLink * This);
  1590. void __RPC_STUB IOleLink_BindIfRunning_Stub(
  1591. IRpcStubBuffer *This,
  1592. IRpcChannelBuffer *_pRpcChannelBuffer,
  1593. PRPC_MESSAGE _pRpcMessage,
  1594. DWORD *_pdwStubPhase);
  1595. HRESULT STDMETHODCALLTYPE IOleLink_GetBoundSource_Proxy(
  1596. IOleLink * This,
  1597. /* [out] */ IUnknown **ppunk);
  1598. void __RPC_STUB IOleLink_GetBoundSource_Stub(
  1599. IRpcStubBuffer *This,
  1600. IRpcChannelBuffer *_pRpcChannelBuffer,
  1601. PRPC_MESSAGE _pRpcMessage,
  1602. DWORD *_pdwStubPhase);
  1603. HRESULT STDMETHODCALLTYPE IOleLink_UnbindSource_Proxy(
  1604. IOleLink * This);
  1605. void __RPC_STUB IOleLink_UnbindSource_Stub(
  1606. IRpcStubBuffer *This,
  1607. IRpcChannelBuffer *_pRpcChannelBuffer,
  1608. PRPC_MESSAGE _pRpcMessage,
  1609. DWORD *_pdwStubPhase);
  1610. HRESULT STDMETHODCALLTYPE IOleLink_Update_Proxy(
  1611. IOleLink * This,
  1612. /* [unique][in] */ IBindCtx *pbc);
  1613. void __RPC_STUB IOleLink_Update_Stub(
  1614. IRpcStubBuffer *This,
  1615. IRpcChannelBuffer *_pRpcChannelBuffer,
  1616. PRPC_MESSAGE _pRpcMessage,
  1617. DWORD *_pdwStubPhase);
  1618. #endif /* __IOleLink_INTERFACE_DEFINED__ */
  1619. #ifndef __IOleItemContainer_INTERFACE_DEFINED__
  1620. #define __IOleItemContainer_INTERFACE_DEFINED__
  1621. /* interface IOleItemContainer */
  1622. /* [unique][uuid][object] */
  1623. typedef /* [unique] */ IOleItemContainer *LPOLEITEMCONTAINER;
  1624. typedef
  1625. enum tagBINDSPEED
  1626. { BINDSPEED_INDEFINITE = 1,
  1627. BINDSPEED_MODERATE = 2,
  1628. BINDSPEED_IMMEDIATE = 3
  1629. } BINDSPEED;
  1630. typedef /* [v1_enum] */
  1631. enum tagOLECONTF
  1632. { OLECONTF_EMBEDDINGS = 1,
  1633. OLECONTF_LINKS = 2,
  1634. OLECONTF_OTHERS = 4,
  1635. OLECONTF_ONLYUSER = 8,
  1636. OLECONTF_ONLYIFRUNNING = 16
  1637. } OLECONTF;
  1638. EXTERN_C const IID IID_IOleItemContainer;
  1639. #if defined(__cplusplus) && !defined(CINTERFACE)
  1640. MIDL_INTERFACE("0000011c-0000-0000-C000-000000000046")
  1641. IOleItemContainer : public IOleContainer
  1642. {
  1643. public:
  1644. virtual HRESULT STDMETHODCALLTYPE GetObject(
  1645. /* [in] */ LPOLESTR pszItem,
  1646. /* [in] */ DWORD dwSpeedNeeded,
  1647. /* [unique][in] */ IBindCtx *pbc,
  1648. /* [in] */ REFIID riid,
  1649. /* [iid_is][out] */ void **ppvObject) = 0;
  1650. virtual HRESULT STDMETHODCALLTYPE GetObjectStorage(
  1651. /* [in] */ LPOLESTR pszItem,
  1652. /* [unique][in] */ IBindCtx *pbc,
  1653. /* [in] */ REFIID riid,
  1654. /* [iid_is][out] */ void **ppvStorage) = 0;
  1655. virtual HRESULT STDMETHODCALLTYPE IsRunning(
  1656. /* [in] */ LPOLESTR pszItem) = 0;
  1657. };
  1658. #else /* C style interface */
  1659. typedef struct IOleItemContainerVtbl
  1660. {
  1661. BEGIN_INTERFACE
  1662. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1663. IOleItemContainer * This,
  1664. /* [in] */ REFIID riid,
  1665. /* [iid_is][out] */ void **ppvObject);
  1666. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1667. IOleItemContainer * This);
  1668. ULONG ( STDMETHODCALLTYPE *Release )(
  1669. IOleItemContainer * This);
  1670. HRESULT ( STDMETHODCALLTYPE *ParseDisplayName )(
  1671. IOleItemContainer * This,
  1672. /* [unique][in] */ IBindCtx *pbc,
  1673. /* [in] */ LPOLESTR pszDisplayName,
  1674. /* [out] */ ULONG *pchEaten,
  1675. /* [out] */ IMoniker **ppmkOut);
  1676. HRESULT ( STDMETHODCALLTYPE *EnumObjects )(
  1677. IOleItemContainer * This,
  1678. /* [in] */ DWORD grfFlags,
  1679. /* [out] */ IEnumUnknown **ppenum);
  1680. HRESULT ( STDMETHODCALLTYPE *LockContainer )(
  1681. IOleItemContainer * This,
  1682. /* [in] */ BOOL fLock);
  1683. HRESULT ( STDMETHODCALLTYPE *GetObject )(
  1684. IOleItemContainer * This,
  1685. /* [in] */ LPOLESTR pszItem,
  1686. /* [in] */ DWORD dwSpeedNeeded,
  1687. /* [unique][in] */ IBindCtx *pbc,
  1688. /* [in] */ REFIID riid,
  1689. /* [iid_is][out] */ void **ppvObject);
  1690. HRESULT ( STDMETHODCALLTYPE *GetObjectStorage )(
  1691. IOleItemContainer * This,
  1692. /* [in] */ LPOLESTR pszItem,
  1693. /* [unique][in] */ IBindCtx *pbc,
  1694. /* [in] */ REFIID riid,
  1695. /* [iid_is][out] */ void **ppvStorage);
  1696. HRESULT ( STDMETHODCALLTYPE *IsRunning )(
  1697. IOleItemContainer * This,
  1698. /* [in] */ LPOLESTR pszItem);
  1699. END_INTERFACE
  1700. } IOleItemContainerVtbl;
  1701. interface IOleItemContainer
  1702. {
  1703. CONST_VTBL struct IOleItemContainerVtbl *lpVtbl;
  1704. };
  1705. #ifdef COBJMACROS
  1706. #define IOleItemContainer_QueryInterface(This,riid,ppvObject) \
  1707. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1708. #define IOleItemContainer_AddRef(This) \
  1709. (This)->lpVtbl -> AddRef(This)
  1710. #define IOleItemContainer_Release(This) \
  1711. (This)->lpVtbl -> Release(This)
  1712. #define IOleItemContainer_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) \
  1713. (This)->lpVtbl -> ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
  1714. #define IOleItemContainer_EnumObjects(This,grfFlags,ppenum) \
  1715. (This)->lpVtbl -> EnumObjects(This,grfFlags,ppenum)
  1716. #define IOleItemContainer_LockContainer(This,fLock) \
  1717. (This)->lpVtbl -> LockContainer(This,fLock)
  1718. #define IOleItemContainer_GetObject(This,pszItem,dwSpeedNeeded,pbc,riid,ppvObject) \
  1719. (This)->lpVtbl -> GetObject(This,pszItem,dwSpeedNeeded,pbc,riid,ppvObject)
  1720. #define IOleItemContainer_GetObjectStorage(This,pszItem,pbc,riid,ppvStorage) \
  1721. (This)->lpVtbl -> GetObjectStorage(This,pszItem,pbc,riid,ppvStorage)
  1722. #define IOleItemContainer_IsRunning(This,pszItem) \
  1723. (This)->lpVtbl -> IsRunning(This,pszItem)
  1724. #endif /* COBJMACROS */
  1725. #endif /* C style interface */
  1726. HRESULT STDMETHODCALLTYPE IOleItemContainer_GetObject_Proxy(
  1727. IOleItemContainer * This,
  1728. /* [in] */ LPOLESTR pszItem,
  1729. /* [in] */ DWORD dwSpeedNeeded,
  1730. /* [unique][in] */ IBindCtx *pbc,
  1731. /* [in] */ REFIID riid,
  1732. /* [iid_is][out] */ void **ppvObject);
  1733. void __RPC_STUB IOleItemContainer_GetObject_Stub(
  1734. IRpcStubBuffer *This,
  1735. IRpcChannelBuffer *_pRpcChannelBuffer,
  1736. PRPC_MESSAGE _pRpcMessage,
  1737. DWORD *_pdwStubPhase);
  1738. HRESULT STDMETHODCALLTYPE IOleItemContainer_GetObjectStorage_Proxy(
  1739. IOleItemContainer * This,
  1740. /* [in] */ LPOLESTR pszItem,
  1741. /* [unique][in] */ IBindCtx *pbc,
  1742. /* [in] */ REFIID riid,
  1743. /* [iid_is][out] */ void **ppvStorage);
  1744. void __RPC_STUB IOleItemContainer_GetObjectStorage_Stub(
  1745. IRpcStubBuffer *This,
  1746. IRpcChannelBuffer *_pRpcChannelBuffer,
  1747. PRPC_MESSAGE _pRpcMessage,
  1748. DWORD *_pdwStubPhase);
  1749. HRESULT STDMETHODCALLTYPE IOleItemContainer_IsRunning_Proxy(
  1750. IOleItemContainer * This,
  1751. /* [in] */ LPOLESTR pszItem);
  1752. void __RPC_STUB IOleItemContainer_IsRunning_Stub(
  1753. IRpcStubBuffer *This,
  1754. IRpcChannelBuffer *_pRpcChannelBuffer,
  1755. PRPC_MESSAGE _pRpcMessage,
  1756. DWORD *_pdwStubPhase);
  1757. #endif /* __IOleItemContainer_INTERFACE_DEFINED__ */
  1758. #ifndef __IOleInPlaceUIWindow_INTERFACE_DEFINED__
  1759. #define __IOleInPlaceUIWindow_INTERFACE_DEFINED__
  1760. /* interface IOleInPlaceUIWindow */
  1761. /* [unique][uuid][object] */
  1762. typedef /* [unique] */ IOleInPlaceUIWindow *LPOLEINPLACEUIWINDOW;
  1763. typedef RECT BORDERWIDTHS;
  1764. typedef LPRECT LPBORDERWIDTHS;
  1765. typedef LPCRECT LPCBORDERWIDTHS;
  1766. EXTERN_C const IID IID_IOleInPlaceUIWindow;
  1767. #if defined(__cplusplus) && !defined(CINTERFACE)
  1768. MIDL_INTERFACE("00000115-0000-0000-C000-000000000046")
  1769. IOleInPlaceUIWindow : public IOleWindow
  1770. {
  1771. public:
  1772. virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE GetBorder(
  1773. /* [out] */ LPRECT lprectBorder) = 0;
  1774. virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE RequestBorderSpace(
  1775. /* [unique][in] */ LPCBORDERWIDTHS pborderwidths) = 0;
  1776. virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE SetBorderSpace(
  1777. /* [unique][in] */ LPCBORDERWIDTHS pborderwidths) = 0;
  1778. virtual HRESULT STDMETHODCALLTYPE SetActiveObject(
  1779. /* [unique][in] */ IOleInPlaceActiveObject *pActiveObject,
  1780. /* [unique][string][in] */ LPCOLESTR pszObjName) = 0;
  1781. };
  1782. #else /* C style interface */
  1783. typedef struct IOleInPlaceUIWindowVtbl
  1784. {
  1785. BEGIN_INTERFACE
  1786. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1787. IOleInPlaceUIWindow * This,
  1788. /* [in] */ REFIID riid,
  1789. /* [iid_is][out] */ void **ppvObject);
  1790. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1791. IOleInPlaceUIWindow * This);
  1792. ULONG ( STDMETHODCALLTYPE *Release )(
  1793. IOleInPlaceUIWindow * This);
  1794. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  1795. IOleInPlaceUIWindow * This,
  1796. /* [out] */ HWND *phwnd);
  1797. HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
  1798. IOleInPlaceUIWindow * This,
  1799. /* [in] */ BOOL fEnterMode);
  1800. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetBorder )(
  1801. IOleInPlaceUIWindow * This,
  1802. /* [out] */ LPRECT lprectBorder);
  1803. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *RequestBorderSpace )(
  1804. IOleInPlaceUIWindow * This,
  1805. /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
  1806. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetBorderSpace )(
  1807. IOleInPlaceUIWindow * This,
  1808. /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
  1809. HRESULT ( STDMETHODCALLTYPE *SetActiveObject )(
  1810. IOleInPlaceUIWindow * This,
  1811. /* [unique][in] */ IOleInPlaceActiveObject *pActiveObject,
  1812. /* [unique][string][in] */ LPCOLESTR pszObjName);
  1813. END_INTERFACE
  1814. } IOleInPlaceUIWindowVtbl;
  1815. interface IOleInPlaceUIWindow
  1816. {
  1817. CONST_VTBL struct IOleInPlaceUIWindowVtbl *lpVtbl;
  1818. };
  1819. #ifdef COBJMACROS
  1820. #define IOleInPlaceUIWindow_QueryInterface(This,riid,ppvObject) \
  1821. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1822. #define IOleInPlaceUIWindow_AddRef(This) \
  1823. (This)->lpVtbl -> AddRef(This)
  1824. #define IOleInPlaceUIWindow_Release(This) \
  1825. (This)->lpVtbl -> Release(This)
  1826. #define IOleInPlaceUIWindow_GetWindow(This,phwnd) \
  1827. (This)->lpVtbl -> GetWindow(This,phwnd)
  1828. #define IOleInPlaceUIWindow_ContextSensitiveHelp(This,fEnterMode) \
  1829. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  1830. #define IOleInPlaceUIWindow_GetBorder(This,lprectBorder) \
  1831. (This)->lpVtbl -> GetBorder(This,lprectBorder)
  1832. #define IOleInPlaceUIWindow_RequestBorderSpace(This,pborderwidths) \
  1833. (This)->lpVtbl -> RequestBorderSpace(This,pborderwidths)
  1834. #define IOleInPlaceUIWindow_SetBorderSpace(This,pborderwidths) \
  1835. (This)->lpVtbl -> SetBorderSpace(This,pborderwidths)
  1836. #define IOleInPlaceUIWindow_SetActiveObject(This,pActiveObject,pszObjName) \
  1837. (This)->lpVtbl -> SetActiveObject(This,pActiveObject,pszObjName)
  1838. #endif /* COBJMACROS */
  1839. #endif /* C style interface */
  1840. /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_GetBorder_Proxy(
  1841. IOleInPlaceUIWindow * This,
  1842. /* [out] */ LPRECT lprectBorder);
  1843. void __RPC_STUB IOleInPlaceUIWindow_GetBorder_Stub(
  1844. IRpcStubBuffer *This,
  1845. IRpcChannelBuffer *_pRpcChannelBuffer,
  1846. PRPC_MESSAGE _pRpcMessage,
  1847. DWORD *_pdwStubPhase);
  1848. /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_RequestBorderSpace_Proxy(
  1849. IOleInPlaceUIWindow * This,
  1850. /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
  1851. void __RPC_STUB IOleInPlaceUIWindow_RequestBorderSpace_Stub(
  1852. IRpcStubBuffer *This,
  1853. IRpcChannelBuffer *_pRpcChannelBuffer,
  1854. PRPC_MESSAGE _pRpcMessage,
  1855. DWORD *_pdwStubPhase);
  1856. /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_SetBorderSpace_Proxy(
  1857. IOleInPlaceUIWindow * This,
  1858. /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
  1859. void __RPC_STUB IOleInPlaceUIWindow_SetBorderSpace_Stub(
  1860. IRpcStubBuffer *This,
  1861. IRpcChannelBuffer *_pRpcChannelBuffer,
  1862. PRPC_MESSAGE _pRpcMessage,
  1863. DWORD *_pdwStubPhase);
  1864. HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_SetActiveObject_Proxy(
  1865. IOleInPlaceUIWindow * This,
  1866. /* [unique][in] */ IOleInPlaceActiveObject *pActiveObject,
  1867. /* [unique][string][in] */ LPCOLESTR pszObjName);
  1868. void __RPC_STUB IOleInPlaceUIWindow_SetActiveObject_Stub(
  1869. IRpcStubBuffer *This,
  1870. IRpcChannelBuffer *_pRpcChannelBuffer,
  1871. PRPC_MESSAGE _pRpcMessage,
  1872. DWORD *_pdwStubPhase);
  1873. #endif /* __IOleInPlaceUIWindow_INTERFACE_DEFINED__ */
  1874. #ifndef __IOleInPlaceActiveObject_INTERFACE_DEFINED__
  1875. #define __IOleInPlaceActiveObject_INTERFACE_DEFINED__
  1876. /* interface IOleInPlaceActiveObject */
  1877. /* [uuid][object] */
  1878. typedef /* [unique] */ IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT;
  1879. EXTERN_C const IID IID_IOleInPlaceActiveObject;
  1880. #if defined(__cplusplus) && !defined(CINTERFACE)
  1881. MIDL_INTERFACE("00000117-0000-0000-C000-000000000046")
  1882. IOleInPlaceActiveObject : public IOleWindow
  1883. {
  1884. public:
  1885. virtual /* [local] */ HRESULT STDMETHODCALLTYPE TranslateAccelerator(
  1886. /* [in] */ LPMSG lpmsg) = 0;
  1887. virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE OnFrameWindowActivate(
  1888. /* [in] */ BOOL fActivate) = 0;
  1889. virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE OnDocWindowActivate(
  1890. /* [in] */ BOOL fActivate) = 0;
  1891. virtual /* [local] */ HRESULT STDMETHODCALLTYPE ResizeBorder(
  1892. /* [in] */ LPCRECT prcBorder,
  1893. /* [unique][in] */ IOleInPlaceUIWindow *pUIWindow,
  1894. /* [in] */ BOOL fFrameWindow) = 0;
  1895. virtual HRESULT STDMETHODCALLTYPE EnableModeless(
  1896. /* [in] */ BOOL fEnable) = 0;
  1897. };
  1898. #else /* C style interface */
  1899. typedef struct IOleInPlaceActiveObjectVtbl
  1900. {
  1901. BEGIN_INTERFACE
  1902. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1903. IOleInPlaceActiveObject * This,
  1904. /* [in] */ REFIID riid,
  1905. /* [iid_is][out] */ void **ppvObject);
  1906. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1907. IOleInPlaceActiveObject * This);
  1908. ULONG ( STDMETHODCALLTYPE *Release )(
  1909. IOleInPlaceActiveObject * This);
  1910. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  1911. IOleInPlaceActiveObject * This,
  1912. /* [out] */ HWND *phwnd);
  1913. HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
  1914. IOleInPlaceActiveObject * This,
  1915. /* [in] */ BOOL fEnterMode);
  1916. /* [local] */ HRESULT ( STDMETHODCALLTYPE *TranslateAccelerator )(
  1917. IOleInPlaceActiveObject * This,
  1918. /* [in] */ LPMSG lpmsg);
  1919. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *OnFrameWindowActivate )(
  1920. IOleInPlaceActiveObject * This,
  1921. /* [in] */ BOOL fActivate);
  1922. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *OnDocWindowActivate )(
  1923. IOleInPlaceActiveObject * This,
  1924. /* [in] */ BOOL fActivate);
  1925. /* [local] */ HRESULT ( STDMETHODCALLTYPE *ResizeBorder )(
  1926. IOleInPlaceActiveObject * This,
  1927. /* [in] */ LPCRECT prcBorder,
  1928. /* [unique][in] */ IOleInPlaceUIWindow *pUIWindow,
  1929. /* [in] */ BOOL fFrameWindow);
  1930. HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
  1931. IOleInPlaceActiveObject * This,
  1932. /* [in] */ BOOL fEnable);
  1933. END_INTERFACE
  1934. } IOleInPlaceActiveObjectVtbl;
  1935. interface IOleInPlaceActiveObject
  1936. {
  1937. CONST_VTBL struct IOleInPlaceActiveObjectVtbl *lpVtbl;
  1938. };
  1939. #ifdef COBJMACROS
  1940. #define IOleInPlaceActiveObject_QueryInterface(This,riid,ppvObject) \
  1941. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1942. #define IOleInPlaceActiveObject_AddRef(This) \
  1943. (This)->lpVtbl -> AddRef(This)
  1944. #define IOleInPlaceActiveObject_Release(This) \
  1945. (This)->lpVtbl -> Release(This)
  1946. #define IOleInPlaceActiveObject_GetWindow(This,phwnd) \
  1947. (This)->lpVtbl -> GetWindow(This,phwnd)
  1948. #define IOleInPlaceActiveObject_ContextSensitiveHelp(This,fEnterMode) \
  1949. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  1950. #define IOleInPlaceActiveObject_TranslateAccelerator(This,lpmsg) \
  1951. (This)->lpVtbl -> TranslateAccelerator(This,lpmsg)
  1952. #define IOleInPlaceActiveObject_OnFrameWindowActivate(This,fActivate) \
  1953. (This)->lpVtbl -> OnFrameWindowActivate(This,fActivate)
  1954. #define IOleInPlaceActiveObject_OnDocWindowActivate(This,fActivate) \
  1955. (This)->lpVtbl -> OnDocWindowActivate(This,fActivate)
  1956. #define IOleInPlaceActiveObject_ResizeBorder(This,prcBorder,pUIWindow,fFrameWindow) \
  1957. (This)->lpVtbl -> ResizeBorder(This,prcBorder,pUIWindow,fFrameWindow)
  1958. #define IOleInPlaceActiveObject_EnableModeless(This,fEnable) \
  1959. (This)->lpVtbl -> EnableModeless(This,fEnable)
  1960. #endif /* COBJMACROS */
  1961. #endif /* C style interface */
  1962. /* [call_as] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteTranslateAccelerator_Proxy(
  1963. IOleInPlaceActiveObject * This);
  1964. void __RPC_STUB IOleInPlaceActiveObject_RemoteTranslateAccelerator_Stub(
  1965. IRpcStubBuffer *This,
  1966. IRpcChannelBuffer *_pRpcChannelBuffer,
  1967. PRPC_MESSAGE _pRpcMessage,
  1968. DWORD *_pdwStubPhase);
  1969. /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_OnFrameWindowActivate_Proxy(
  1970. IOleInPlaceActiveObject * This,
  1971. /* [in] */ BOOL fActivate);
  1972. void __RPC_STUB IOleInPlaceActiveObject_OnFrameWindowActivate_Stub(
  1973. IRpcStubBuffer *This,
  1974. IRpcChannelBuffer *_pRpcChannelBuffer,
  1975. PRPC_MESSAGE _pRpcMessage,
  1976. DWORD *_pdwStubPhase);
  1977. /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_OnDocWindowActivate_Proxy(
  1978. IOleInPlaceActiveObject * This,
  1979. /* [in] */ BOOL fActivate);
  1980. void __RPC_STUB IOleInPlaceActiveObject_OnDocWindowActivate_Stub(
  1981. IRpcStubBuffer *This,
  1982. IRpcChannelBuffer *_pRpcChannelBuffer,
  1983. PRPC_MESSAGE _pRpcMessage,
  1984. DWORD *_pdwStubPhase);
  1985. /* [input_sync][call_as] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteResizeBorder_Proxy(
  1986. IOleInPlaceActiveObject * This,
  1987. /* [in] */ LPCRECT prcBorder,
  1988. /* [in] */ REFIID riid,
  1989. /* [iid_is][unique][in] */ IOleInPlaceUIWindow *pUIWindow,
  1990. /* [in] */ BOOL fFrameWindow);
  1991. void __RPC_STUB IOleInPlaceActiveObject_RemoteResizeBorder_Stub(
  1992. IRpcStubBuffer *This,
  1993. IRpcChannelBuffer *_pRpcChannelBuffer,
  1994. PRPC_MESSAGE _pRpcMessage,
  1995. DWORD *_pdwStubPhase);
  1996. HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_EnableModeless_Proxy(
  1997. IOleInPlaceActiveObject * This,
  1998. /* [in] */ BOOL fEnable);
  1999. void __RPC_STUB IOleInPlaceActiveObject_EnableModeless_Stub(
  2000. IRpcStubBuffer *This,
  2001. IRpcChannelBuffer *_pRpcChannelBuffer,
  2002. PRPC_MESSAGE _pRpcMessage,
  2003. DWORD *_pdwStubPhase);
  2004. #endif /* __IOleInPlaceActiveObject_INTERFACE_DEFINED__ */
  2005. #ifndef __IOleInPlaceFrame_INTERFACE_DEFINED__
  2006. #define __IOleInPlaceFrame_INTERFACE_DEFINED__
  2007. /* interface IOleInPlaceFrame */
  2008. /* [unique][uuid][object] */
  2009. typedef /* [unique] */ IOleInPlaceFrame *LPOLEINPLACEFRAME;
  2010. typedef struct tagOIFI
  2011. {
  2012. UINT cb;
  2013. BOOL fMDIApp;
  2014. HWND hwndFrame;
  2015. HACCEL haccel;
  2016. UINT cAccelEntries;
  2017. } OLEINPLACEFRAMEINFO;
  2018. typedef struct tagOIFI *LPOLEINPLACEFRAMEINFO;
  2019. typedef struct tagOleMenuGroupWidths
  2020. {
  2021. LONG width[ 6 ];
  2022. } OLEMENUGROUPWIDTHS;
  2023. typedef struct tagOleMenuGroupWidths *LPOLEMENUGROUPWIDTHS;
  2024. typedef HGLOBAL HOLEMENU;
  2025. EXTERN_C const IID IID_IOleInPlaceFrame;
  2026. #if defined(__cplusplus) && !defined(CINTERFACE)
  2027. MIDL_INTERFACE("00000116-0000-0000-C000-000000000046")
  2028. IOleInPlaceFrame : public IOleInPlaceUIWindow
  2029. {
  2030. public:
  2031. virtual HRESULT STDMETHODCALLTYPE InsertMenus(
  2032. /* [in] */ HMENU hmenuShared,
  2033. /* [out][in] */ LPOLEMENUGROUPWIDTHS lpMenuWidths) = 0;
  2034. virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE SetMenu(
  2035. /* [in] */ HMENU hmenuShared,
  2036. /* [in] */ HOLEMENU holemenu,
  2037. /* [in] */ HWND hwndActiveObject) = 0;
  2038. virtual HRESULT STDMETHODCALLTYPE RemoveMenus(
  2039. /* [in] */ HMENU hmenuShared) = 0;
  2040. virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE SetStatusText(
  2041. /* [unique][in] */ LPCOLESTR pszStatusText) = 0;
  2042. virtual HRESULT STDMETHODCALLTYPE EnableModeless(
  2043. /* [in] */ BOOL fEnable) = 0;
  2044. virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
  2045. /* [in] */ LPMSG lpmsg,
  2046. /* [in] */ WORD wID) = 0;
  2047. };
  2048. #else /* C style interface */
  2049. typedef struct IOleInPlaceFrameVtbl
  2050. {
  2051. BEGIN_INTERFACE
  2052. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2053. IOleInPlaceFrame * This,
  2054. /* [in] */ REFIID riid,
  2055. /* [iid_is][out] */ void **ppvObject);
  2056. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2057. IOleInPlaceFrame * This);
  2058. ULONG ( STDMETHODCALLTYPE *Release )(
  2059. IOleInPlaceFrame * This);
  2060. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  2061. IOleInPlaceFrame * This,
  2062. /* [out] */ HWND *phwnd);
  2063. HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
  2064. IOleInPlaceFrame * This,
  2065. /* [in] */ BOOL fEnterMode);
  2066. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetBorder )(
  2067. IOleInPlaceFrame * This,
  2068. /* [out] */ LPRECT lprectBorder);
  2069. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *RequestBorderSpace )(
  2070. IOleInPlaceFrame * This,
  2071. /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
  2072. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetBorderSpace )(
  2073. IOleInPlaceFrame * This,
  2074. /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
  2075. HRESULT ( STDMETHODCALLTYPE *SetActiveObject )(
  2076. IOleInPlaceFrame * This,
  2077. /* [unique][in] */ IOleInPlaceActiveObject *pActiveObject,
  2078. /* [unique][string][in] */ LPCOLESTR pszObjName);
  2079. HRESULT ( STDMETHODCALLTYPE *InsertMenus )(
  2080. IOleInPlaceFrame * This,
  2081. /* [in] */ HMENU hmenuShared,
  2082. /* [out][in] */ LPOLEMENUGROUPWIDTHS lpMenuWidths);
  2083. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetMenu )(
  2084. IOleInPlaceFrame * This,
  2085. /* [in] */ HMENU hmenuShared,
  2086. /* [in] */ HOLEMENU holemenu,
  2087. /* [in] */ HWND hwndActiveObject);
  2088. HRESULT ( STDMETHODCALLTYPE *RemoveMenus )(
  2089. IOleInPlaceFrame * This,
  2090. /* [in] */ HMENU hmenuShared);
  2091. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetStatusText )(
  2092. IOleInPlaceFrame * This,
  2093. /* [unique][in] */ LPCOLESTR pszStatusText);
  2094. HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
  2095. IOleInPlaceFrame * This,
  2096. /* [in] */ BOOL fEnable);
  2097. HRESULT ( STDMETHODCALLTYPE *TranslateAccelerator )(
  2098. IOleInPlaceFrame * This,
  2099. /* [in] */ LPMSG lpmsg,
  2100. /* [in] */ WORD wID);
  2101. END_INTERFACE
  2102. } IOleInPlaceFrameVtbl;
  2103. interface IOleInPlaceFrame
  2104. {
  2105. CONST_VTBL struct IOleInPlaceFrameVtbl *lpVtbl;
  2106. };
  2107. #ifdef COBJMACROS
  2108. #define IOleInPlaceFrame_QueryInterface(This,riid,ppvObject) \
  2109. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2110. #define IOleInPlaceFrame_AddRef(This) \
  2111. (This)->lpVtbl -> AddRef(This)
  2112. #define IOleInPlaceFrame_Release(This) \
  2113. (This)->lpVtbl -> Release(This)
  2114. #define IOleInPlaceFrame_GetWindow(This,phwnd) \
  2115. (This)->lpVtbl -> GetWindow(This,phwnd)
  2116. #define IOleInPlaceFrame_ContextSensitiveHelp(This,fEnterMode) \
  2117. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  2118. #define IOleInPlaceFrame_GetBorder(This,lprectBorder) \
  2119. (This)->lpVtbl -> GetBorder(This,lprectBorder)
  2120. #define IOleInPlaceFrame_RequestBorderSpace(This,pborderwidths) \
  2121. (This)->lpVtbl -> RequestBorderSpace(This,pborderwidths)
  2122. #define IOleInPlaceFrame_SetBorderSpace(This,pborderwidths) \
  2123. (This)->lpVtbl -> SetBorderSpace(This,pborderwidths)
  2124. #define IOleInPlaceFrame_SetActiveObject(This,pActiveObject,pszObjName) \
  2125. (This)->lpVtbl -> SetActiveObject(This,pActiveObject,pszObjName)
  2126. #define IOleInPlaceFrame_InsertMenus(This,hmenuShared,lpMenuWidths) \
  2127. (This)->lpVtbl -> InsertMenus(This,hmenuShared,lpMenuWidths)
  2128. #define IOleInPlaceFrame_SetMenu(This,hmenuShared,holemenu,hwndActiveObject) \
  2129. (This)->lpVtbl -> SetMenu(This,hmenuShared,holemenu,hwndActiveObject)
  2130. #define IOleInPlaceFrame_RemoveMenus(This,hmenuShared) \
  2131. (This)->lpVtbl -> RemoveMenus(This,hmenuShared)
  2132. #define IOleInPlaceFrame_SetStatusText(This,pszStatusText) \
  2133. (This)->lpVtbl -> SetStatusText(This,pszStatusText)
  2134. #define IOleInPlaceFrame_EnableModeless(This,fEnable) \
  2135. (This)->lpVtbl -> EnableModeless(This,fEnable)
  2136. #define IOleInPlaceFrame_TranslateAccelerator(This,lpmsg,wID) \
  2137. (This)->lpVtbl -> TranslateAccelerator(This,lpmsg,wID)
  2138. #endif /* COBJMACROS */
  2139. #endif /* C style interface */
  2140. HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_InsertMenus_Proxy(
  2141. IOleInPlaceFrame * This,
  2142. /* [in] */ HMENU hmenuShared,
  2143. /* [out][in] */ LPOLEMENUGROUPWIDTHS lpMenuWidths);
  2144. void __RPC_STUB IOleInPlaceFrame_InsertMenus_Stub(
  2145. IRpcStubBuffer *This,
  2146. IRpcChannelBuffer *_pRpcChannelBuffer,
  2147. PRPC_MESSAGE _pRpcMessage,
  2148. DWORD *_pdwStubPhase);
  2149. /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_SetMenu_Proxy(
  2150. IOleInPlaceFrame * This,
  2151. /* [in] */ HMENU hmenuShared,
  2152. /* [in] */ HOLEMENU holemenu,
  2153. /* [in] */ HWND hwndActiveObject);
  2154. void __RPC_STUB IOleInPlaceFrame_SetMenu_Stub(
  2155. IRpcStubBuffer *This,
  2156. IRpcChannelBuffer *_pRpcChannelBuffer,
  2157. PRPC_MESSAGE _pRpcMessage,
  2158. DWORD *_pdwStubPhase);
  2159. HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_RemoveMenus_Proxy(
  2160. IOleInPlaceFrame * This,
  2161. /* [in] */ HMENU hmenuShared);
  2162. void __RPC_STUB IOleInPlaceFrame_RemoveMenus_Stub(
  2163. IRpcStubBuffer *This,
  2164. IRpcChannelBuffer *_pRpcChannelBuffer,
  2165. PRPC_MESSAGE _pRpcMessage,
  2166. DWORD *_pdwStubPhase);
  2167. /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_SetStatusText_Proxy(
  2168. IOleInPlaceFrame * This,
  2169. /* [unique][in] */ LPCOLESTR pszStatusText);
  2170. void __RPC_STUB IOleInPlaceFrame_SetStatusText_Stub(
  2171. IRpcStubBuffer *This,
  2172. IRpcChannelBuffer *_pRpcChannelBuffer,
  2173. PRPC_MESSAGE _pRpcMessage,
  2174. DWORD *_pdwStubPhase);
  2175. HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_EnableModeless_Proxy(
  2176. IOleInPlaceFrame * This,
  2177. /* [in] */ BOOL fEnable);
  2178. void __RPC_STUB IOleInPlaceFrame_EnableModeless_Stub(
  2179. IRpcStubBuffer *This,
  2180. IRpcChannelBuffer *_pRpcChannelBuffer,
  2181. PRPC_MESSAGE _pRpcMessage,
  2182. DWORD *_pdwStubPhase);
  2183. HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_TranslateAccelerator_Proxy(
  2184. IOleInPlaceFrame * This,
  2185. /* [in] */ LPMSG lpmsg,
  2186. /* [in] */ WORD wID);
  2187. void __RPC_STUB IOleInPlaceFrame_TranslateAccelerator_Stub(
  2188. IRpcStubBuffer *This,
  2189. IRpcChannelBuffer *_pRpcChannelBuffer,
  2190. PRPC_MESSAGE _pRpcMessage,
  2191. DWORD *_pdwStubPhase);
  2192. #endif /* __IOleInPlaceFrame_INTERFACE_DEFINED__ */
  2193. #ifndef __IOleInPlaceObject_INTERFACE_DEFINED__
  2194. #define __IOleInPlaceObject_INTERFACE_DEFINED__
  2195. /* interface IOleInPlaceObject */
  2196. /* [unique][uuid][object] */
  2197. typedef /* [unique] */ IOleInPlaceObject *LPOLEINPLACEOBJECT;
  2198. EXTERN_C const IID IID_IOleInPlaceObject;
  2199. #if defined(__cplusplus) && !defined(CINTERFACE)
  2200. MIDL_INTERFACE("00000113-0000-0000-C000-000000000046")
  2201. IOleInPlaceObject : public IOleWindow
  2202. {
  2203. public:
  2204. virtual HRESULT STDMETHODCALLTYPE InPlaceDeactivate( void) = 0;
  2205. virtual HRESULT STDMETHODCALLTYPE UIDeactivate( void) = 0;
  2206. virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE SetObjectRects(
  2207. /* [in] */ LPCRECT lprcPosRect,
  2208. /* [in] */ LPCRECT lprcClipRect) = 0;
  2209. virtual HRESULT STDMETHODCALLTYPE ReactivateAndUndo( void) = 0;
  2210. };
  2211. #else /* C style interface */
  2212. typedef struct IOleInPlaceObjectVtbl
  2213. {
  2214. BEGIN_INTERFACE
  2215. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2216. IOleInPlaceObject * This,
  2217. /* [in] */ REFIID riid,
  2218. /* [iid_is][out] */ void **ppvObject);
  2219. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2220. IOleInPlaceObject * This);
  2221. ULONG ( STDMETHODCALLTYPE *Release )(
  2222. IOleInPlaceObject * This);
  2223. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  2224. IOleInPlaceObject * This,
  2225. /* [out] */ HWND *phwnd);
  2226. HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
  2227. IOleInPlaceObject * This,
  2228. /* [in] */ BOOL fEnterMode);
  2229. HRESULT ( STDMETHODCALLTYPE *InPlaceDeactivate )(
  2230. IOleInPlaceObject * This);
  2231. HRESULT ( STDMETHODCALLTYPE *UIDeactivate )(
  2232. IOleInPlaceObject * This);
  2233. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetObjectRects )(
  2234. IOleInPlaceObject * This,
  2235. /* [in] */ LPCRECT lprcPosRect,
  2236. /* [in] */ LPCRECT lprcClipRect);
  2237. HRESULT ( STDMETHODCALLTYPE *ReactivateAndUndo )(
  2238. IOleInPlaceObject * This);
  2239. END_INTERFACE
  2240. } IOleInPlaceObjectVtbl;
  2241. interface IOleInPlaceObject
  2242. {
  2243. CONST_VTBL struct IOleInPlaceObjectVtbl *lpVtbl;
  2244. };
  2245. #ifdef COBJMACROS
  2246. #define IOleInPlaceObject_QueryInterface(This,riid,ppvObject) \
  2247. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2248. #define IOleInPlaceObject_AddRef(This) \
  2249. (This)->lpVtbl -> AddRef(This)
  2250. #define IOleInPlaceObject_Release(This) \
  2251. (This)->lpVtbl -> Release(This)
  2252. #define IOleInPlaceObject_GetWindow(This,phwnd) \
  2253. (This)->lpVtbl -> GetWindow(This,phwnd)
  2254. #define IOleInPlaceObject_ContextSensitiveHelp(This,fEnterMode) \
  2255. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  2256. #define IOleInPlaceObject_InPlaceDeactivate(This) \
  2257. (This)->lpVtbl -> InPlaceDeactivate(This)
  2258. #define IOleInPlaceObject_UIDeactivate(This) \
  2259. (This)->lpVtbl -> UIDeactivate(This)
  2260. #define IOleInPlaceObject_SetObjectRects(This,lprcPosRect,lprcClipRect) \
  2261. (This)->lpVtbl -> SetObjectRects(This,lprcPosRect,lprcClipRect)
  2262. #define IOleInPlaceObject_ReactivateAndUndo(This) \
  2263. (This)->lpVtbl -> ReactivateAndUndo(This)
  2264. #endif /* COBJMACROS */
  2265. #endif /* C style interface */
  2266. HRESULT STDMETHODCALLTYPE IOleInPlaceObject_InPlaceDeactivate_Proxy(
  2267. IOleInPlaceObject * This);
  2268. void __RPC_STUB IOleInPlaceObject_InPlaceDeactivate_Stub(
  2269. IRpcStubBuffer *This,
  2270. IRpcChannelBuffer *_pRpcChannelBuffer,
  2271. PRPC_MESSAGE _pRpcMessage,
  2272. DWORD *_pdwStubPhase);
  2273. HRESULT STDMETHODCALLTYPE IOleInPlaceObject_UIDeactivate_Proxy(
  2274. IOleInPlaceObject * This);
  2275. void __RPC_STUB IOleInPlaceObject_UIDeactivate_Stub(
  2276. IRpcStubBuffer *This,
  2277. IRpcChannelBuffer *_pRpcChannelBuffer,
  2278. PRPC_MESSAGE _pRpcMessage,
  2279. DWORD *_pdwStubPhase);
  2280. /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceObject_SetObjectRects_Proxy(
  2281. IOleInPlaceObject * This,
  2282. /* [in] */ LPCRECT lprcPosRect,
  2283. /* [in] */ LPCRECT lprcClipRect);
  2284. void __RPC_STUB IOleInPlaceObject_SetObjectRects_Stub(
  2285. IRpcStubBuffer *This,
  2286. IRpcChannelBuffer *_pRpcChannelBuffer,
  2287. PRPC_MESSAGE _pRpcMessage,
  2288. DWORD *_pdwStubPhase);
  2289. HRESULT STDMETHODCALLTYPE IOleInPlaceObject_ReactivateAndUndo_Proxy(
  2290. IOleInPlaceObject * This);
  2291. void __RPC_STUB IOleInPlaceObject_ReactivateAndUndo_Stub(
  2292. IRpcStubBuffer *This,
  2293. IRpcChannelBuffer *_pRpcChannelBuffer,
  2294. PRPC_MESSAGE _pRpcMessage,
  2295. DWORD *_pdwStubPhase);
  2296. #endif /* __IOleInPlaceObject_INTERFACE_DEFINED__ */
  2297. #ifndef __IOleInPlaceSite_INTERFACE_DEFINED__
  2298. #define __IOleInPlaceSite_INTERFACE_DEFINED__
  2299. /* interface IOleInPlaceSite */
  2300. /* [unique][uuid][object] */
  2301. typedef /* [unique] */ IOleInPlaceSite *LPOLEINPLACESITE;
  2302. EXTERN_C const IID IID_IOleInPlaceSite;
  2303. #if defined(__cplusplus) && !defined(CINTERFACE)
  2304. MIDL_INTERFACE("00000119-0000-0000-C000-000000000046")
  2305. IOleInPlaceSite : public IOleWindow
  2306. {
  2307. public:
  2308. virtual HRESULT STDMETHODCALLTYPE CanInPlaceActivate( void) = 0;
  2309. virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivate( void) = 0;
  2310. virtual HRESULT STDMETHODCALLTYPE OnUIActivate( void) = 0;
  2311. virtual HRESULT STDMETHODCALLTYPE GetWindowContext(
  2312. /* [out] */ IOleInPlaceFrame **ppFrame,
  2313. /* [out] */ IOleInPlaceUIWindow **ppDoc,
  2314. /* [out] */ LPRECT lprcPosRect,
  2315. /* [out] */ LPRECT lprcClipRect,
  2316. /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo) = 0;
  2317. virtual HRESULT STDMETHODCALLTYPE Scroll(
  2318. /* [in] */ SIZE scrollExtant) = 0;
  2319. virtual HRESULT STDMETHODCALLTYPE OnUIDeactivate(
  2320. /* [in] */ BOOL fUndoable) = 0;
  2321. virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivate( void) = 0;
  2322. virtual HRESULT STDMETHODCALLTYPE DiscardUndoState( void) = 0;
  2323. virtual HRESULT STDMETHODCALLTYPE DeactivateAndUndo( void) = 0;
  2324. virtual HRESULT STDMETHODCALLTYPE OnPosRectChange(
  2325. /* [in] */ LPCRECT lprcPosRect) = 0;
  2326. };
  2327. #else /* C style interface */
  2328. typedef struct IOleInPlaceSiteVtbl
  2329. {
  2330. BEGIN_INTERFACE
  2331. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2332. IOleInPlaceSite * This,
  2333. /* [in] */ REFIID riid,
  2334. /* [iid_is][out] */ void **ppvObject);
  2335. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2336. IOleInPlaceSite * This);
  2337. ULONG ( STDMETHODCALLTYPE *Release )(
  2338. IOleInPlaceSite * This);
  2339. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  2340. IOleInPlaceSite * This,
  2341. /* [out] */ HWND *phwnd);
  2342. HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
  2343. IOleInPlaceSite * This,
  2344. /* [in] */ BOOL fEnterMode);
  2345. HRESULT ( STDMETHODCALLTYPE *CanInPlaceActivate )(
  2346. IOleInPlaceSite * This);
  2347. HRESULT ( STDMETHODCALLTYPE *OnInPlaceActivate )(
  2348. IOleInPlaceSite * This);
  2349. HRESULT ( STDMETHODCALLTYPE *OnUIActivate )(
  2350. IOleInPlaceSite * This);
  2351. HRESULT ( STDMETHODCALLTYPE *GetWindowContext )(
  2352. IOleInPlaceSite * This,
  2353. /* [out] */ IOleInPlaceFrame **ppFrame,
  2354. /* [out] */ IOleInPlaceUIWindow **ppDoc,
  2355. /* [out] */ LPRECT lprcPosRect,
  2356. /* [out] */ LPRECT lprcClipRect,
  2357. /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
  2358. HRESULT ( STDMETHODCALLTYPE *Scroll )(
  2359. IOleInPlaceSite * This,
  2360. /* [in] */ SIZE scrollExtant);
  2361. HRESULT ( STDMETHODCALLTYPE *OnUIDeactivate )(
  2362. IOleInPlaceSite * This,
  2363. /* [in] */ BOOL fUndoable);
  2364. HRESULT ( STDMETHODCALLTYPE *OnInPlaceDeactivate )(
  2365. IOleInPlaceSite * This);
  2366. HRESULT ( STDMETHODCALLTYPE *DiscardUndoState )(
  2367. IOleInPlaceSite * This);
  2368. HRESULT ( STDMETHODCALLTYPE *DeactivateAndUndo )(
  2369. IOleInPlaceSite * This);
  2370. HRESULT ( STDMETHODCALLTYPE *OnPosRectChange )(
  2371. IOleInPlaceSite * This,
  2372. /* [in] */ LPCRECT lprcPosRect);
  2373. END_INTERFACE
  2374. } IOleInPlaceSiteVtbl;
  2375. interface IOleInPlaceSite
  2376. {
  2377. CONST_VTBL struct IOleInPlaceSiteVtbl *lpVtbl;
  2378. };
  2379. #ifdef COBJMACROS
  2380. #define IOleInPlaceSite_QueryInterface(This,riid,ppvObject) \
  2381. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2382. #define IOleInPlaceSite_AddRef(This) \
  2383. (This)->lpVtbl -> AddRef(This)
  2384. #define IOleInPlaceSite_Release(This) \
  2385. (This)->lpVtbl -> Release(This)
  2386. #define IOleInPlaceSite_GetWindow(This,phwnd) \
  2387. (This)->lpVtbl -> GetWindow(This,phwnd)
  2388. #define IOleInPlaceSite_ContextSensitiveHelp(This,fEnterMode) \
  2389. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  2390. #define IOleInPlaceSite_CanInPlaceActivate(This) \
  2391. (This)->lpVtbl -> CanInPlaceActivate(This)
  2392. #define IOleInPlaceSite_OnInPlaceActivate(This) \
  2393. (This)->lpVtbl -> OnInPlaceActivate(This)
  2394. #define IOleInPlaceSite_OnUIActivate(This) \
  2395. (This)->lpVtbl -> OnUIActivate(This)
  2396. #define IOleInPlaceSite_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) \
  2397. (This)->lpVtbl -> GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
  2398. #define IOleInPlaceSite_Scroll(This,scrollExtant) \
  2399. (This)->lpVtbl -> Scroll(This,scrollExtant)
  2400. #define IOleInPlaceSite_OnUIDeactivate(This,fUndoable) \
  2401. (This)->lpVtbl -> OnUIDeactivate(This,fUndoable)
  2402. #define IOleInPlaceSite_OnInPlaceDeactivate(This) \
  2403. (This)->lpVtbl -> OnInPlaceDeactivate(This)
  2404. #define IOleInPlaceSite_DiscardUndoState(This) \
  2405. (This)->lpVtbl -> DiscardUndoState(This)
  2406. #define IOleInPlaceSite_DeactivateAndUndo(This) \
  2407. (This)->lpVtbl -> DeactivateAndUndo(This)
  2408. #define IOleInPlaceSite_OnPosRectChange(This,lprcPosRect) \
  2409. (This)->lpVtbl -> OnPosRectChange(This,lprcPosRect)
  2410. #endif /* COBJMACROS */
  2411. #endif /* C style interface */
  2412. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_CanInPlaceActivate_Proxy(
  2413. IOleInPlaceSite * This);
  2414. void __RPC_STUB IOleInPlaceSite_CanInPlaceActivate_Stub(
  2415. IRpcStubBuffer *This,
  2416. IRpcChannelBuffer *_pRpcChannelBuffer,
  2417. PRPC_MESSAGE _pRpcMessage,
  2418. DWORD *_pdwStubPhase);
  2419. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnInPlaceActivate_Proxy(
  2420. IOleInPlaceSite * This);
  2421. void __RPC_STUB IOleInPlaceSite_OnInPlaceActivate_Stub(
  2422. IRpcStubBuffer *This,
  2423. IRpcChannelBuffer *_pRpcChannelBuffer,
  2424. PRPC_MESSAGE _pRpcMessage,
  2425. DWORD *_pdwStubPhase);
  2426. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnUIActivate_Proxy(
  2427. IOleInPlaceSite * This);
  2428. void __RPC_STUB IOleInPlaceSite_OnUIActivate_Stub(
  2429. IRpcStubBuffer *This,
  2430. IRpcChannelBuffer *_pRpcChannelBuffer,
  2431. PRPC_MESSAGE _pRpcMessage,
  2432. DWORD *_pdwStubPhase);
  2433. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_GetWindowContext_Proxy(
  2434. IOleInPlaceSite * This,
  2435. /* [out] */ IOleInPlaceFrame **ppFrame,
  2436. /* [out] */ IOleInPlaceUIWindow **ppDoc,
  2437. /* [out] */ LPRECT lprcPosRect,
  2438. /* [out] */ LPRECT lprcClipRect,
  2439. /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
  2440. void __RPC_STUB IOleInPlaceSite_GetWindowContext_Stub(
  2441. IRpcStubBuffer *This,
  2442. IRpcChannelBuffer *_pRpcChannelBuffer,
  2443. PRPC_MESSAGE _pRpcMessage,
  2444. DWORD *_pdwStubPhase);
  2445. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_Scroll_Proxy(
  2446. IOleInPlaceSite * This,
  2447. /* [in] */ SIZE scrollExtant);
  2448. void __RPC_STUB IOleInPlaceSite_Scroll_Stub(
  2449. IRpcStubBuffer *This,
  2450. IRpcChannelBuffer *_pRpcChannelBuffer,
  2451. PRPC_MESSAGE _pRpcMessage,
  2452. DWORD *_pdwStubPhase);
  2453. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnUIDeactivate_Proxy(
  2454. IOleInPlaceSite * This,
  2455. /* [in] */ BOOL fUndoable);
  2456. void __RPC_STUB IOleInPlaceSite_OnUIDeactivate_Stub(
  2457. IRpcStubBuffer *This,
  2458. IRpcChannelBuffer *_pRpcChannelBuffer,
  2459. PRPC_MESSAGE _pRpcMessage,
  2460. DWORD *_pdwStubPhase);
  2461. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnInPlaceDeactivate_Proxy(
  2462. IOleInPlaceSite * This);
  2463. void __RPC_STUB IOleInPlaceSite_OnInPlaceDeactivate_Stub(
  2464. IRpcStubBuffer *This,
  2465. IRpcChannelBuffer *_pRpcChannelBuffer,
  2466. PRPC_MESSAGE _pRpcMessage,
  2467. DWORD *_pdwStubPhase);
  2468. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_DiscardUndoState_Proxy(
  2469. IOleInPlaceSite * This);
  2470. void __RPC_STUB IOleInPlaceSite_DiscardUndoState_Stub(
  2471. IRpcStubBuffer *This,
  2472. IRpcChannelBuffer *_pRpcChannelBuffer,
  2473. PRPC_MESSAGE _pRpcMessage,
  2474. DWORD *_pdwStubPhase);
  2475. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_DeactivateAndUndo_Proxy(
  2476. IOleInPlaceSite * This);
  2477. void __RPC_STUB IOleInPlaceSite_DeactivateAndUndo_Stub(
  2478. IRpcStubBuffer *This,
  2479. IRpcChannelBuffer *_pRpcChannelBuffer,
  2480. PRPC_MESSAGE _pRpcMessage,
  2481. DWORD *_pdwStubPhase);
  2482. HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnPosRectChange_Proxy(
  2483. IOleInPlaceSite * This,
  2484. /* [in] */ LPCRECT lprcPosRect);
  2485. void __RPC_STUB IOleInPlaceSite_OnPosRectChange_Stub(
  2486. IRpcStubBuffer *This,
  2487. IRpcChannelBuffer *_pRpcChannelBuffer,
  2488. PRPC_MESSAGE _pRpcMessage,
  2489. DWORD *_pdwStubPhase);
  2490. #endif /* __IOleInPlaceSite_INTERFACE_DEFINED__ */
  2491. #ifndef __IContinue_INTERFACE_DEFINED__
  2492. #define __IContinue_INTERFACE_DEFINED__
  2493. /* interface IContinue */
  2494. /* [uuid][object] */
  2495. EXTERN_C const IID IID_IContinue;
  2496. #if defined(__cplusplus) && !defined(CINTERFACE)
  2497. MIDL_INTERFACE("0000012a-0000-0000-C000-000000000046")
  2498. IContinue : public IUnknown
  2499. {
  2500. public:
  2501. virtual HRESULT STDMETHODCALLTYPE FContinue( void) = 0;
  2502. };
  2503. #else /* C style interface */
  2504. typedef struct IContinueVtbl
  2505. {
  2506. BEGIN_INTERFACE
  2507. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2508. IContinue * This,
  2509. /* [in] */ REFIID riid,
  2510. /* [iid_is][out] */ void **ppvObject);
  2511. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2512. IContinue * This);
  2513. ULONG ( STDMETHODCALLTYPE *Release )(
  2514. IContinue * This);
  2515. HRESULT ( STDMETHODCALLTYPE *FContinue )(
  2516. IContinue * This);
  2517. END_INTERFACE
  2518. } IContinueVtbl;
  2519. interface IContinue
  2520. {
  2521. CONST_VTBL struct IContinueVtbl *lpVtbl;
  2522. };
  2523. #ifdef COBJMACROS
  2524. #define IContinue_QueryInterface(This,riid,ppvObject) \
  2525. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2526. #define IContinue_AddRef(This) \
  2527. (This)->lpVtbl -> AddRef(This)
  2528. #define IContinue_Release(This) \
  2529. (This)->lpVtbl -> Release(This)
  2530. #define IContinue_FContinue(This) \
  2531. (This)->lpVtbl -> FContinue(This)
  2532. #endif /* COBJMACROS */
  2533. #endif /* C style interface */
  2534. HRESULT STDMETHODCALLTYPE IContinue_FContinue_Proxy(
  2535. IContinue * This);
  2536. void __RPC_STUB IContinue_FContinue_Stub(
  2537. IRpcStubBuffer *This,
  2538. IRpcChannelBuffer *_pRpcChannelBuffer,
  2539. PRPC_MESSAGE _pRpcMessage,
  2540. DWORD *_pdwStubPhase);
  2541. #endif /* __IContinue_INTERFACE_DEFINED__ */
  2542. #ifndef __IViewObject_INTERFACE_DEFINED__
  2543. #define __IViewObject_INTERFACE_DEFINED__
  2544. /* interface IViewObject */
  2545. /* [uuid][object] */
  2546. typedef /* [unique] */ IViewObject *LPVIEWOBJECT;
  2547. EXTERN_C const IID IID_IViewObject;
  2548. #if defined(__cplusplus) && !defined(CINTERFACE)
  2549. MIDL_INTERFACE("0000010d-0000-0000-C000-000000000046")
  2550. IViewObject : public IUnknown
  2551. {
  2552. public:
  2553. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Draw(
  2554. /* [in] */ DWORD dwDrawAspect,
  2555. /* [in] */ LONG lindex,
  2556. /* [unique][in] */ void *pvAspect,
  2557. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2558. /* [in] */ HDC hdcTargetDev,
  2559. /* [in] */ HDC hdcDraw,
  2560. /* [in] */ LPCRECTL lprcBounds,
  2561. /* [unique][in] */ LPCRECTL lprcWBounds,
  2562. /* [in] */ BOOL ( STDMETHODCALLTYPE *pfnContinue )(
  2563. ULONG_PTR dwContinue),
  2564. /* [in] */ ULONG_PTR dwContinue) = 0;
  2565. virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetColorSet(
  2566. /* [in] */ DWORD dwDrawAspect,
  2567. /* [in] */ LONG lindex,
  2568. /* [unique][in] */ void *pvAspect,
  2569. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2570. /* [in] */ HDC hicTargetDev,
  2571. /* [out] */ LOGPALETTE **ppColorSet) = 0;
  2572. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Freeze(
  2573. /* [in] */ DWORD dwDrawAspect,
  2574. /* [in] */ LONG lindex,
  2575. /* [unique][in] */ void *pvAspect,
  2576. /* [out] */ DWORD *pdwFreeze) = 0;
  2577. virtual HRESULT STDMETHODCALLTYPE Unfreeze(
  2578. /* [in] */ DWORD dwFreeze) = 0;
  2579. virtual HRESULT STDMETHODCALLTYPE SetAdvise(
  2580. /* [in] */ DWORD aspects,
  2581. /* [in] */ DWORD advf,
  2582. /* [unique][in] */ IAdviseSink *pAdvSink) = 0;
  2583. virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetAdvise(
  2584. /* [unique][out] */ DWORD *pAspects,
  2585. /* [unique][out] */ DWORD *pAdvf,
  2586. /* [out] */ IAdviseSink **ppAdvSink) = 0;
  2587. };
  2588. #else /* C style interface */
  2589. typedef struct IViewObjectVtbl
  2590. {
  2591. BEGIN_INTERFACE
  2592. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2593. IViewObject * This,
  2594. /* [in] */ REFIID riid,
  2595. /* [iid_is][out] */ void **ppvObject);
  2596. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2597. IViewObject * This);
  2598. ULONG ( STDMETHODCALLTYPE *Release )(
  2599. IViewObject * This);
  2600. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Draw )(
  2601. IViewObject * This,
  2602. /* [in] */ DWORD dwDrawAspect,
  2603. /* [in] */ LONG lindex,
  2604. /* [unique][in] */ void *pvAspect,
  2605. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2606. /* [in] */ HDC hdcTargetDev,
  2607. /* [in] */ HDC hdcDraw,
  2608. /* [in] */ LPCRECTL lprcBounds,
  2609. /* [unique][in] */ LPCRECTL lprcWBounds,
  2610. /* [in] */ BOOL ( STDMETHODCALLTYPE *pfnContinue )(
  2611. ULONG_PTR dwContinue),
  2612. /* [in] */ ULONG_PTR dwContinue);
  2613. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetColorSet )(
  2614. IViewObject * This,
  2615. /* [in] */ DWORD dwDrawAspect,
  2616. /* [in] */ LONG lindex,
  2617. /* [unique][in] */ void *pvAspect,
  2618. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2619. /* [in] */ HDC hicTargetDev,
  2620. /* [out] */ LOGPALETTE **ppColorSet);
  2621. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Freeze )(
  2622. IViewObject * This,
  2623. /* [in] */ DWORD dwDrawAspect,
  2624. /* [in] */ LONG lindex,
  2625. /* [unique][in] */ void *pvAspect,
  2626. /* [out] */ DWORD *pdwFreeze);
  2627. HRESULT ( STDMETHODCALLTYPE *Unfreeze )(
  2628. IViewObject * This,
  2629. /* [in] */ DWORD dwFreeze);
  2630. HRESULT ( STDMETHODCALLTYPE *SetAdvise )(
  2631. IViewObject * This,
  2632. /* [in] */ DWORD aspects,
  2633. /* [in] */ DWORD advf,
  2634. /* [unique][in] */ IAdviseSink *pAdvSink);
  2635. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetAdvise )(
  2636. IViewObject * This,
  2637. /* [unique][out] */ DWORD *pAspects,
  2638. /* [unique][out] */ DWORD *pAdvf,
  2639. /* [out] */ IAdviseSink **ppAdvSink);
  2640. END_INTERFACE
  2641. } IViewObjectVtbl;
  2642. interface IViewObject
  2643. {
  2644. CONST_VTBL struct IViewObjectVtbl *lpVtbl;
  2645. };
  2646. #ifdef COBJMACROS
  2647. #define IViewObject_QueryInterface(This,riid,ppvObject) \
  2648. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2649. #define IViewObject_AddRef(This) \
  2650. (This)->lpVtbl -> AddRef(This)
  2651. #define IViewObject_Release(This) \
  2652. (This)->lpVtbl -> Release(This)
  2653. #define IViewObject_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) \
  2654. (This)->lpVtbl -> Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
  2655. #define IViewObject_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) \
  2656. (This)->lpVtbl -> GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
  2657. #define IViewObject_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) \
  2658. (This)->lpVtbl -> Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
  2659. #define IViewObject_Unfreeze(This,dwFreeze) \
  2660. (This)->lpVtbl -> Unfreeze(This,dwFreeze)
  2661. #define IViewObject_SetAdvise(This,aspects,advf,pAdvSink) \
  2662. (This)->lpVtbl -> SetAdvise(This,aspects,advf,pAdvSink)
  2663. #define IViewObject_GetAdvise(This,pAspects,pAdvf,ppAdvSink) \
  2664. (This)->lpVtbl -> GetAdvise(This,pAspects,pAdvf,ppAdvSink)
  2665. #endif /* COBJMACROS */
  2666. #endif /* C style interface */
  2667. /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_RemoteDraw_Proxy(
  2668. IViewObject * This,
  2669. /* [in] */ DWORD dwDrawAspect,
  2670. /* [in] */ LONG lindex,
  2671. /* [in] */ ULONG_PTR pvAspect,
  2672. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2673. /* [in] */ ULONG_PTR hdcTargetDev,
  2674. /* [in] */ ULONG_PTR hdcDraw,
  2675. /* [in] */ LPCRECTL lprcBounds,
  2676. /* [unique][in] */ LPCRECTL lprcWBounds,
  2677. /* [in] */ IContinue *pContinue);
  2678. void __RPC_STUB IViewObject_RemoteDraw_Stub(
  2679. IRpcStubBuffer *This,
  2680. IRpcChannelBuffer *_pRpcChannelBuffer,
  2681. PRPC_MESSAGE _pRpcMessage,
  2682. DWORD *_pdwStubPhase);
  2683. /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetColorSet_Proxy(
  2684. IViewObject * This,
  2685. /* [in] */ DWORD dwDrawAspect,
  2686. /* [in] */ LONG lindex,
  2687. /* [in] */ ULONG_PTR pvAspect,
  2688. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2689. /* [in] */ ULONG_PTR hicTargetDev,
  2690. /* [out] */ LOGPALETTE **ppColorSet);
  2691. void __RPC_STUB IViewObject_RemoteGetColorSet_Stub(
  2692. IRpcStubBuffer *This,
  2693. IRpcChannelBuffer *_pRpcChannelBuffer,
  2694. PRPC_MESSAGE _pRpcMessage,
  2695. DWORD *_pdwStubPhase);
  2696. /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_RemoteFreeze_Proxy(
  2697. IViewObject * This,
  2698. /* [in] */ DWORD dwDrawAspect,
  2699. /* [in] */ LONG lindex,
  2700. /* [in] */ ULONG_PTR pvAspect,
  2701. /* [out] */ DWORD *pdwFreeze);
  2702. void __RPC_STUB IViewObject_RemoteFreeze_Stub(
  2703. IRpcStubBuffer *This,
  2704. IRpcChannelBuffer *_pRpcChannelBuffer,
  2705. PRPC_MESSAGE _pRpcMessage,
  2706. DWORD *_pdwStubPhase);
  2707. HRESULT STDMETHODCALLTYPE IViewObject_Unfreeze_Proxy(
  2708. IViewObject * This,
  2709. /* [in] */ DWORD dwFreeze);
  2710. void __RPC_STUB IViewObject_Unfreeze_Stub(
  2711. IRpcStubBuffer *This,
  2712. IRpcChannelBuffer *_pRpcChannelBuffer,
  2713. PRPC_MESSAGE _pRpcMessage,
  2714. DWORD *_pdwStubPhase);
  2715. HRESULT STDMETHODCALLTYPE IViewObject_SetAdvise_Proxy(
  2716. IViewObject * This,
  2717. /* [in] */ DWORD aspects,
  2718. /* [in] */ DWORD advf,
  2719. /* [unique][in] */ IAdviseSink *pAdvSink);
  2720. void __RPC_STUB IViewObject_SetAdvise_Stub(
  2721. IRpcStubBuffer *This,
  2722. IRpcChannelBuffer *_pRpcChannelBuffer,
  2723. PRPC_MESSAGE _pRpcMessage,
  2724. DWORD *_pdwStubPhase);
  2725. /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetAdvise_Proxy(
  2726. IViewObject * This,
  2727. /* [out] */ DWORD *pAspects,
  2728. /* [out] */ DWORD *pAdvf,
  2729. /* [out] */ IAdviseSink **ppAdvSink);
  2730. void __RPC_STUB IViewObject_RemoteGetAdvise_Stub(
  2731. IRpcStubBuffer *This,
  2732. IRpcChannelBuffer *_pRpcChannelBuffer,
  2733. PRPC_MESSAGE _pRpcMessage,
  2734. DWORD *_pdwStubPhase);
  2735. #endif /* __IViewObject_INTERFACE_DEFINED__ */
  2736. #ifndef __IViewObject2_INTERFACE_DEFINED__
  2737. #define __IViewObject2_INTERFACE_DEFINED__
  2738. /* interface IViewObject2 */
  2739. /* [uuid][object] */
  2740. typedef /* [unique] */ IViewObject2 *LPVIEWOBJECT2;
  2741. EXTERN_C const IID IID_IViewObject2;
  2742. #if defined(__cplusplus) && !defined(CINTERFACE)
  2743. MIDL_INTERFACE("00000127-0000-0000-C000-000000000046")
  2744. IViewObject2 : public IViewObject
  2745. {
  2746. public:
  2747. virtual HRESULT STDMETHODCALLTYPE GetExtent(
  2748. /* [in] */ DWORD dwDrawAspect,
  2749. /* [in] */ LONG lindex,
  2750. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2751. /* [out] */ LPSIZEL lpsizel) = 0;
  2752. };
  2753. #else /* C style interface */
  2754. typedef struct IViewObject2Vtbl
  2755. {
  2756. BEGIN_INTERFACE
  2757. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2758. IViewObject2 * This,
  2759. /* [in] */ REFIID riid,
  2760. /* [iid_is][out] */ void **ppvObject);
  2761. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2762. IViewObject2 * This);
  2763. ULONG ( STDMETHODCALLTYPE *Release )(
  2764. IViewObject2 * This);
  2765. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Draw )(
  2766. IViewObject2 * This,
  2767. /* [in] */ DWORD dwDrawAspect,
  2768. /* [in] */ LONG lindex,
  2769. /* [unique][in] */ void *pvAspect,
  2770. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2771. /* [in] */ HDC hdcTargetDev,
  2772. /* [in] */ HDC hdcDraw,
  2773. /* [in] */ LPCRECTL lprcBounds,
  2774. /* [unique][in] */ LPCRECTL lprcWBounds,
  2775. /* [in] */ BOOL ( STDMETHODCALLTYPE *pfnContinue )(
  2776. ULONG_PTR dwContinue),
  2777. /* [in] */ ULONG_PTR dwContinue);
  2778. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetColorSet )(
  2779. IViewObject2 * This,
  2780. /* [in] */ DWORD dwDrawAspect,
  2781. /* [in] */ LONG lindex,
  2782. /* [unique][in] */ void *pvAspect,
  2783. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2784. /* [in] */ HDC hicTargetDev,
  2785. /* [out] */ LOGPALETTE **ppColorSet);
  2786. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Freeze )(
  2787. IViewObject2 * This,
  2788. /* [in] */ DWORD dwDrawAspect,
  2789. /* [in] */ LONG lindex,
  2790. /* [unique][in] */ void *pvAspect,
  2791. /* [out] */ DWORD *pdwFreeze);
  2792. HRESULT ( STDMETHODCALLTYPE *Unfreeze )(
  2793. IViewObject2 * This,
  2794. /* [in] */ DWORD dwFreeze);
  2795. HRESULT ( STDMETHODCALLTYPE *SetAdvise )(
  2796. IViewObject2 * This,
  2797. /* [in] */ DWORD aspects,
  2798. /* [in] */ DWORD advf,
  2799. /* [unique][in] */ IAdviseSink *pAdvSink);
  2800. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetAdvise )(
  2801. IViewObject2 * This,
  2802. /* [unique][out] */ DWORD *pAspects,
  2803. /* [unique][out] */ DWORD *pAdvf,
  2804. /* [out] */ IAdviseSink **ppAdvSink);
  2805. HRESULT ( STDMETHODCALLTYPE *GetExtent )(
  2806. IViewObject2 * This,
  2807. /* [in] */ DWORD dwDrawAspect,
  2808. /* [in] */ LONG lindex,
  2809. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2810. /* [out] */ LPSIZEL lpsizel);
  2811. END_INTERFACE
  2812. } IViewObject2Vtbl;
  2813. interface IViewObject2
  2814. {
  2815. CONST_VTBL struct IViewObject2Vtbl *lpVtbl;
  2816. };
  2817. #ifdef COBJMACROS
  2818. #define IViewObject2_QueryInterface(This,riid,ppvObject) \
  2819. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2820. #define IViewObject2_AddRef(This) \
  2821. (This)->lpVtbl -> AddRef(This)
  2822. #define IViewObject2_Release(This) \
  2823. (This)->lpVtbl -> Release(This)
  2824. #define IViewObject2_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) \
  2825. (This)->lpVtbl -> Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
  2826. #define IViewObject2_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) \
  2827. (This)->lpVtbl -> GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
  2828. #define IViewObject2_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) \
  2829. (This)->lpVtbl -> Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
  2830. #define IViewObject2_Unfreeze(This,dwFreeze) \
  2831. (This)->lpVtbl -> Unfreeze(This,dwFreeze)
  2832. #define IViewObject2_SetAdvise(This,aspects,advf,pAdvSink) \
  2833. (This)->lpVtbl -> SetAdvise(This,aspects,advf,pAdvSink)
  2834. #define IViewObject2_GetAdvise(This,pAspects,pAdvf,ppAdvSink) \
  2835. (This)->lpVtbl -> GetAdvise(This,pAspects,pAdvf,ppAdvSink)
  2836. #define IViewObject2_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) \
  2837. (This)->lpVtbl -> GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)
  2838. #endif /* COBJMACROS */
  2839. #endif /* C style interface */
  2840. HRESULT STDMETHODCALLTYPE IViewObject2_GetExtent_Proxy(
  2841. IViewObject2 * This,
  2842. /* [in] */ DWORD dwDrawAspect,
  2843. /* [in] */ LONG lindex,
  2844. /* [unique][in] */ DVTARGETDEVICE *ptd,
  2845. /* [out] */ LPSIZEL lpsizel);
  2846. void __RPC_STUB IViewObject2_GetExtent_Stub(
  2847. IRpcStubBuffer *This,
  2848. IRpcChannelBuffer *_pRpcChannelBuffer,
  2849. PRPC_MESSAGE _pRpcMessage,
  2850. DWORD *_pdwStubPhase);
  2851. #endif /* __IViewObject2_INTERFACE_DEFINED__ */
  2852. #ifndef __IDropSource_INTERFACE_DEFINED__
  2853. #define __IDropSource_INTERFACE_DEFINED__
  2854. /* interface IDropSource */
  2855. /* [uuid][object][local] */
  2856. typedef /* [unique] */ IDropSource *LPDROPSOURCE;
  2857. EXTERN_C const IID IID_IDropSource;
  2858. #if defined(__cplusplus) && !defined(CINTERFACE)
  2859. MIDL_INTERFACE("00000121-0000-0000-C000-000000000046")
  2860. IDropSource : public IUnknown
  2861. {
  2862. public:
  2863. virtual HRESULT STDMETHODCALLTYPE QueryContinueDrag(
  2864. /* [in] */ BOOL fEscapePressed,
  2865. /* [in] */ DWORD grfKeyState) = 0;
  2866. virtual HRESULT STDMETHODCALLTYPE GiveFeedback(
  2867. /* [in] */ DWORD dwEffect) = 0;
  2868. };
  2869. #else /* C style interface */
  2870. typedef struct IDropSourceVtbl
  2871. {
  2872. BEGIN_INTERFACE
  2873. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2874. IDropSource * This,
  2875. /* [in] */ REFIID riid,
  2876. /* [iid_is][out] */ void **ppvObject);
  2877. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2878. IDropSource * This);
  2879. ULONG ( STDMETHODCALLTYPE *Release )(
  2880. IDropSource * This);
  2881. HRESULT ( STDMETHODCALLTYPE *QueryContinueDrag )(
  2882. IDropSource * This,
  2883. /* [in] */ BOOL fEscapePressed,
  2884. /* [in] */ DWORD grfKeyState);
  2885. HRESULT ( STDMETHODCALLTYPE *GiveFeedback )(
  2886. IDropSource * This,
  2887. /* [in] */ DWORD dwEffect);
  2888. END_INTERFACE
  2889. } IDropSourceVtbl;
  2890. interface IDropSource
  2891. {
  2892. CONST_VTBL struct IDropSourceVtbl *lpVtbl;
  2893. };
  2894. #ifdef COBJMACROS
  2895. #define IDropSource_QueryInterface(This,riid,ppvObject) \
  2896. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2897. #define IDropSource_AddRef(This) \
  2898. (This)->lpVtbl -> AddRef(This)
  2899. #define IDropSource_Release(This) \
  2900. (This)->lpVtbl -> Release(This)
  2901. #define IDropSource_QueryContinueDrag(This,fEscapePressed,grfKeyState) \
  2902. (This)->lpVtbl -> QueryContinueDrag(This,fEscapePressed,grfKeyState)
  2903. #define IDropSource_GiveFeedback(This,dwEffect) \
  2904. (This)->lpVtbl -> GiveFeedback(This,dwEffect)
  2905. #endif /* COBJMACROS */
  2906. #endif /* C style interface */
  2907. HRESULT STDMETHODCALLTYPE IDropSource_QueryContinueDrag_Proxy(
  2908. IDropSource * This,
  2909. /* [in] */ BOOL fEscapePressed,
  2910. /* [in] */ DWORD grfKeyState);
  2911. void __RPC_STUB IDropSource_QueryContinueDrag_Stub(
  2912. IRpcStubBuffer *This,
  2913. IRpcChannelBuffer *_pRpcChannelBuffer,
  2914. PRPC_MESSAGE _pRpcMessage,
  2915. DWORD *_pdwStubPhase);
  2916. HRESULT STDMETHODCALLTYPE IDropSource_GiveFeedback_Proxy(
  2917. IDropSource * This,
  2918. /* [in] */ DWORD dwEffect);
  2919. void __RPC_STUB IDropSource_GiveFeedback_Stub(
  2920. IRpcStubBuffer *This,
  2921. IRpcChannelBuffer *_pRpcChannelBuffer,
  2922. PRPC_MESSAGE _pRpcMessage,
  2923. DWORD *_pdwStubPhase);
  2924. #endif /* __IDropSource_INTERFACE_DEFINED__ */
  2925. #ifndef __IDropTarget_INTERFACE_DEFINED__
  2926. #define __IDropTarget_INTERFACE_DEFINED__
  2927. /* interface IDropTarget */
  2928. /* [unique][uuid][object] */
  2929. typedef /* [unique] */ IDropTarget *LPDROPTARGET;
  2930. #define MK_ALT ( 0x20 )
  2931. #define DROPEFFECT_NONE ( 0 )
  2932. #define DROPEFFECT_COPY ( 1 )
  2933. #define DROPEFFECT_MOVE ( 2 )
  2934. #define DROPEFFECT_LINK ( 4 )
  2935. #define DROPEFFECT_SCROLL ( 0x80000000 )
  2936. // default inset-width of the hot zone, in pixels
  2937. // typical use: GetProfileInt("windows","DragScrollInset",DD_DEFSCROLLINSET)
  2938. #define DD_DEFSCROLLINSET ( 11 )
  2939. // default delay before scrolling, in milliseconds
  2940. // typical use: GetProfileInt("windows","DragScrollDelay",DD_DEFSCROLLDELAY)
  2941. #define DD_DEFSCROLLDELAY ( 50 )
  2942. // default scroll interval, in milliseconds
  2943. // typical use: GetProfileInt("windows","DragScrollInterval", DD_DEFSCROLLINTERVAL)
  2944. #define DD_DEFSCROLLINTERVAL ( 50 )
  2945. // default delay before dragging should start, in milliseconds
  2946. // typical use: GetProfileInt("windows", "DragDelay", DD_DEFDRAGDELAY)
  2947. #define DD_DEFDRAGDELAY ( 200 )
  2948. // default minimum distance (radius) before dragging should start, in pixels
  2949. // typical use: GetProfileInt("windows", "DragMinDist", DD_DEFDRAGMINDIST)
  2950. #define DD_DEFDRAGMINDIST ( 2 )
  2951. EXTERN_C const IID IID_IDropTarget;
  2952. #if defined(__cplusplus) && !defined(CINTERFACE)
  2953. MIDL_INTERFACE("00000122-0000-0000-C000-000000000046")
  2954. IDropTarget : public IUnknown
  2955. {
  2956. public:
  2957. virtual HRESULT STDMETHODCALLTYPE DragEnter(
  2958. /* [unique][in] */ IDataObject *pDataObj,
  2959. /* [in] */ DWORD grfKeyState,
  2960. /* [in] */ POINTL pt,
  2961. /* [out][in] */ DWORD *pdwEffect) = 0;
  2962. virtual HRESULT STDMETHODCALLTYPE DragOver(
  2963. /* [in] */ DWORD grfKeyState,
  2964. /* [in] */ POINTL pt,
  2965. /* [out][in] */ DWORD *pdwEffect) = 0;
  2966. virtual HRESULT STDMETHODCALLTYPE DragLeave( void) = 0;
  2967. virtual HRESULT STDMETHODCALLTYPE Drop(
  2968. /* [unique][in] */ IDataObject *pDataObj,
  2969. /* [in] */ DWORD grfKeyState,
  2970. /* [in] */ POINTL pt,
  2971. /* [out][in] */ DWORD *pdwEffect) = 0;
  2972. };
  2973. #else /* C style interface */
  2974. typedef struct IDropTargetVtbl
  2975. {
  2976. BEGIN_INTERFACE
  2977. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2978. IDropTarget * This,
  2979. /* [in] */ REFIID riid,
  2980. /* [iid_is][out] */ void **ppvObject);
  2981. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2982. IDropTarget * This);
  2983. ULONG ( STDMETHODCALLTYPE *Release )(
  2984. IDropTarget * This);
  2985. HRESULT ( STDMETHODCALLTYPE *DragEnter )(
  2986. IDropTarget * This,
  2987. /* [unique][in] */ IDataObject *pDataObj,
  2988. /* [in] */ DWORD grfKeyState,
  2989. /* [in] */ POINTL pt,
  2990. /* [out][in] */ DWORD *pdwEffect);
  2991. HRESULT ( STDMETHODCALLTYPE *DragOver )(
  2992. IDropTarget * This,
  2993. /* [in] */ DWORD grfKeyState,
  2994. /* [in] */ POINTL pt,
  2995. /* [out][in] */ DWORD *pdwEffect);
  2996. HRESULT ( STDMETHODCALLTYPE *DragLeave )(
  2997. IDropTarget * This);
  2998. HRESULT ( STDMETHODCALLTYPE *Drop )(
  2999. IDropTarget * This,
  3000. /* [unique][in] */ IDataObject *pDataObj,
  3001. /* [in] */ DWORD grfKeyState,
  3002. /* [in] */ POINTL pt,
  3003. /* [out][in] */ DWORD *pdwEffect);
  3004. END_INTERFACE
  3005. } IDropTargetVtbl;
  3006. interface IDropTarget
  3007. {
  3008. CONST_VTBL struct IDropTargetVtbl *lpVtbl;
  3009. };
  3010. #ifdef COBJMACROS
  3011. #define IDropTarget_QueryInterface(This,riid,ppvObject) \
  3012. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3013. #define IDropTarget_AddRef(This) \
  3014. (This)->lpVtbl -> AddRef(This)
  3015. #define IDropTarget_Release(This) \
  3016. (This)->lpVtbl -> Release(This)
  3017. #define IDropTarget_DragEnter(This,pDataObj,grfKeyState,pt,pdwEffect) \
  3018. (This)->lpVtbl -> DragEnter(This,pDataObj,grfKeyState,pt,pdwEffect)
  3019. #define IDropTarget_DragOver(This,grfKeyState,pt,pdwEffect) \
  3020. (This)->lpVtbl -> DragOver(This,grfKeyState,pt,pdwEffect)
  3021. #define IDropTarget_DragLeave(This) \
  3022. (This)->lpVtbl -> DragLeave(This)
  3023. #define IDropTarget_Drop(This,pDataObj,grfKeyState,pt,pdwEffect) \
  3024. (This)->lpVtbl -> Drop(This,pDataObj,grfKeyState,pt,pdwEffect)
  3025. #endif /* COBJMACROS */
  3026. #endif /* C style interface */
  3027. HRESULT STDMETHODCALLTYPE IDropTarget_DragEnter_Proxy(
  3028. IDropTarget * This,
  3029. /* [unique][in] */ IDataObject *pDataObj,
  3030. /* [in] */ DWORD grfKeyState,
  3031. /* [in] */ POINTL pt,
  3032. /* [out][in] */ DWORD *pdwEffect);
  3033. void __RPC_STUB IDropTarget_DragEnter_Stub(
  3034. IRpcStubBuffer *This,
  3035. IRpcChannelBuffer *_pRpcChannelBuffer,
  3036. PRPC_MESSAGE _pRpcMessage,
  3037. DWORD *_pdwStubPhase);
  3038. HRESULT STDMETHODCALLTYPE IDropTarget_DragOver_Proxy(
  3039. IDropTarget * This,
  3040. /* [in] */ DWORD grfKeyState,
  3041. /* [in] */ POINTL pt,
  3042. /* [out][in] */ DWORD *pdwEffect);
  3043. void __RPC_STUB IDropTarget_DragOver_Stub(
  3044. IRpcStubBuffer *This,
  3045. IRpcChannelBuffer *_pRpcChannelBuffer,
  3046. PRPC_MESSAGE _pRpcMessage,
  3047. DWORD *_pdwStubPhase);
  3048. HRESULT STDMETHODCALLTYPE IDropTarget_DragLeave_Proxy(
  3049. IDropTarget * This);
  3050. void __RPC_STUB IDropTarget_DragLeave_Stub(
  3051. IRpcStubBuffer *This,
  3052. IRpcChannelBuffer *_pRpcChannelBuffer,
  3053. PRPC_MESSAGE _pRpcMessage,
  3054. DWORD *_pdwStubPhase);
  3055. HRESULT STDMETHODCALLTYPE IDropTarget_Drop_Proxy(
  3056. IDropTarget * This,
  3057. /* [unique][in] */ IDataObject *pDataObj,
  3058. /* [in] */ DWORD grfKeyState,
  3059. /* [in] */ POINTL pt,
  3060. /* [out][in] */ DWORD *pdwEffect);
  3061. void __RPC_STUB IDropTarget_Drop_Stub(
  3062. IRpcStubBuffer *This,
  3063. IRpcChannelBuffer *_pRpcChannelBuffer,
  3064. PRPC_MESSAGE _pRpcMessage,
  3065. DWORD *_pdwStubPhase);
  3066. #endif /* __IDropTarget_INTERFACE_DEFINED__ */
  3067. #ifndef __IEnumOLEVERB_INTERFACE_DEFINED__
  3068. #define __IEnumOLEVERB_INTERFACE_DEFINED__
  3069. /* interface IEnumOLEVERB */
  3070. /* [unique][uuid][object] */
  3071. typedef /* [unique] */ IEnumOLEVERB *LPENUMOLEVERB;
  3072. typedef struct tagOLEVERB
  3073. {
  3074. LONG lVerb;
  3075. LPOLESTR lpszVerbName;
  3076. DWORD fuFlags;
  3077. DWORD grfAttribs;
  3078. } OLEVERB;
  3079. typedef struct tagOLEVERB *LPOLEVERB;
  3080. typedef /* [v1_enum] */
  3081. enum tagOLEVERBATTRIB
  3082. { OLEVERBATTRIB_NEVERDIRTIES = 1,
  3083. OLEVERBATTRIB_ONCONTAINERMENU = 2
  3084. } OLEVERBATTRIB;
  3085. EXTERN_C const IID IID_IEnumOLEVERB;
  3086. #if defined(__cplusplus) && !defined(CINTERFACE)
  3087. MIDL_INTERFACE("00000104-0000-0000-C000-000000000046")
  3088. IEnumOLEVERB : public IUnknown
  3089. {
  3090. public:
  3091. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
  3092. /* [in] */ ULONG celt,
  3093. /* [length_is][size_is][out] */ LPOLEVERB rgelt,
  3094. /* [out] */ ULONG *pceltFetched) = 0;
  3095. virtual HRESULT STDMETHODCALLTYPE Skip(
  3096. /* [in] */ ULONG celt) = 0;
  3097. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  3098. virtual HRESULT STDMETHODCALLTYPE Clone(
  3099. /* [out] */ IEnumOLEVERB **ppenum) = 0;
  3100. };
  3101. #else /* C style interface */
  3102. typedef struct IEnumOLEVERBVtbl
  3103. {
  3104. BEGIN_INTERFACE
  3105. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3106. IEnumOLEVERB * This,
  3107. /* [in] */ REFIID riid,
  3108. /* [iid_is][out] */ void **ppvObject);
  3109. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3110. IEnumOLEVERB * This);
  3111. ULONG ( STDMETHODCALLTYPE *Release )(
  3112. IEnumOLEVERB * This);
  3113. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
  3114. IEnumOLEVERB * This,
  3115. /* [in] */ ULONG celt,
  3116. /* [length_is][size_is][out] */ LPOLEVERB rgelt,
  3117. /* [out] */ ULONG *pceltFetched);
  3118. HRESULT ( STDMETHODCALLTYPE *Skip )(
  3119. IEnumOLEVERB * This,
  3120. /* [in] */ ULONG celt);
  3121. HRESULT ( STDMETHODCALLTYPE *Reset )(
  3122. IEnumOLEVERB * This);
  3123. HRESULT ( STDMETHODCALLTYPE *Clone )(
  3124. IEnumOLEVERB * This,
  3125. /* [out] */ IEnumOLEVERB **ppenum);
  3126. END_INTERFACE
  3127. } IEnumOLEVERBVtbl;
  3128. interface IEnumOLEVERB
  3129. {
  3130. CONST_VTBL struct IEnumOLEVERBVtbl *lpVtbl;
  3131. };
  3132. #ifdef COBJMACROS
  3133. #define IEnumOLEVERB_QueryInterface(This,riid,ppvObject) \
  3134. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3135. #define IEnumOLEVERB_AddRef(This) \
  3136. (This)->lpVtbl -> AddRef(This)
  3137. #define IEnumOLEVERB_Release(This) \
  3138. (This)->lpVtbl -> Release(This)
  3139. #define IEnumOLEVERB_Next(This,celt,rgelt,pceltFetched) \
  3140. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  3141. #define IEnumOLEVERB_Skip(This,celt) \
  3142. (This)->lpVtbl -> Skip(This,celt)
  3143. #define IEnumOLEVERB_Reset(This) \
  3144. (This)->lpVtbl -> Reset(This)
  3145. #define IEnumOLEVERB_Clone(This,ppenum) \
  3146. (This)->lpVtbl -> Clone(This,ppenum)
  3147. #endif /* COBJMACROS */
  3148. #endif /* C style interface */
  3149. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumOLEVERB_RemoteNext_Proxy(
  3150. IEnumOLEVERB * This,
  3151. /* [in] */ ULONG celt,
  3152. /* [length_is][size_is][out] */ LPOLEVERB rgelt,
  3153. /* [out] */ ULONG *pceltFetched);
  3154. void __RPC_STUB IEnumOLEVERB_RemoteNext_Stub(
  3155. IRpcStubBuffer *This,
  3156. IRpcChannelBuffer *_pRpcChannelBuffer,
  3157. PRPC_MESSAGE _pRpcMessage,
  3158. DWORD *_pdwStubPhase);
  3159. HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Skip_Proxy(
  3160. IEnumOLEVERB * This,
  3161. /* [in] */ ULONG celt);
  3162. void __RPC_STUB IEnumOLEVERB_Skip_Stub(
  3163. IRpcStubBuffer *This,
  3164. IRpcChannelBuffer *_pRpcChannelBuffer,
  3165. PRPC_MESSAGE _pRpcMessage,
  3166. DWORD *_pdwStubPhase);
  3167. HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Reset_Proxy(
  3168. IEnumOLEVERB * This);
  3169. void __RPC_STUB IEnumOLEVERB_Reset_Stub(
  3170. IRpcStubBuffer *This,
  3171. IRpcChannelBuffer *_pRpcChannelBuffer,
  3172. PRPC_MESSAGE _pRpcMessage,
  3173. DWORD *_pdwStubPhase);
  3174. HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Clone_Proxy(
  3175. IEnumOLEVERB * This,
  3176. /* [out] */ IEnumOLEVERB **ppenum);
  3177. void __RPC_STUB IEnumOLEVERB_Clone_Stub(
  3178. IRpcStubBuffer *This,
  3179. IRpcChannelBuffer *_pRpcChannelBuffer,
  3180. PRPC_MESSAGE _pRpcMessage,
  3181. DWORD *_pdwStubPhase);
  3182. #endif /* __IEnumOLEVERB_INTERFACE_DEFINED__ */
  3183. /* Additional Prototypes for ALL interfaces */
  3184. unsigned long __RPC_USER CLIPFORMAT_UserSize( unsigned long *, unsigned long , CLIPFORMAT * );
  3185. unsigned char * __RPC_USER CLIPFORMAT_UserMarshal( unsigned long *, unsigned char *, CLIPFORMAT * );
  3186. unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT * );
  3187. void __RPC_USER CLIPFORMAT_UserFree( unsigned long *, CLIPFORMAT * );
  3188. unsigned long __RPC_USER HACCEL_UserSize( unsigned long *, unsigned long , HACCEL * );
  3189. unsigned char * __RPC_USER HACCEL_UserMarshal( unsigned long *, unsigned char *, HACCEL * );
  3190. unsigned char * __RPC_USER HACCEL_UserUnmarshal(unsigned long *, unsigned char *, HACCEL * );
  3191. void __RPC_USER HACCEL_UserFree( unsigned long *, HACCEL * );
  3192. unsigned long __RPC_USER HGLOBAL_UserSize( unsigned long *, unsigned long , HGLOBAL * );
  3193. unsigned char * __RPC_USER HGLOBAL_UserMarshal( unsigned long *, unsigned char *, HGLOBAL * );
  3194. unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL * );
  3195. void __RPC_USER HGLOBAL_UserFree( unsigned long *, HGLOBAL * );
  3196. unsigned long __RPC_USER HMENU_UserSize( unsigned long *, unsigned long , HMENU * );
  3197. unsigned char * __RPC_USER HMENU_UserMarshal( unsigned long *, unsigned char *, HMENU * );
  3198. unsigned char * __RPC_USER HMENU_UserUnmarshal(unsigned long *, unsigned char *, HMENU * );
  3199. void __RPC_USER HMENU_UserFree( unsigned long *, HMENU * );
  3200. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  3201. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  3202. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  3203. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  3204. unsigned long __RPC_USER STGMEDIUM_UserSize( unsigned long *, unsigned long , STGMEDIUM * );
  3205. unsigned char * __RPC_USER STGMEDIUM_UserMarshal( unsigned long *, unsigned char *, STGMEDIUM * );
  3206. unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(unsigned long *, unsigned char *, STGMEDIUM * );
  3207. void __RPC_USER STGMEDIUM_UserFree( unsigned long *, STGMEDIUM * );
  3208. /* [local] */ HRESULT STDMETHODCALLTYPE IOleCache2_UpdateCache_Proxy(
  3209. IOleCache2 * This,
  3210. /* [in] */ LPDATAOBJECT pDataObject,
  3211. /* [in] */ DWORD grfUpdf,
  3212. /* [in] */ LPVOID pReserved);
  3213. /* [call_as] */ HRESULT STDMETHODCALLTYPE IOleCache2_UpdateCache_Stub(
  3214. IOleCache2 * This,
  3215. /* [in] */ LPDATAOBJECT pDataObject,
  3216. /* [in] */ DWORD grfUpdf,
  3217. /* [in] */ LONG_PTR pReserved);
  3218. /* [local] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_TranslateAccelerator_Proxy(
  3219. IOleInPlaceActiveObject * This,
  3220. /* [in] */ LPMSG lpmsg);
  3221. /* [call_as] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_TranslateAccelerator_Stub(
  3222. IOleInPlaceActiveObject * This);
  3223. /* [local] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_ResizeBorder_Proxy(
  3224. IOleInPlaceActiveObject * This,
  3225. /* [in] */ LPCRECT prcBorder,
  3226. /* [unique][in] */ IOleInPlaceUIWindow *pUIWindow,
  3227. /* [in] */ BOOL fFrameWindow);
  3228. /* [input_sync][call_as] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_ResizeBorder_Stub(
  3229. IOleInPlaceActiveObject * This,
  3230. /* [in] */ LPCRECT prcBorder,
  3231. /* [in] */ REFIID riid,
  3232. /* [iid_is][unique][in] */ IOleInPlaceUIWindow *pUIWindow,
  3233. /* [in] */ BOOL fFrameWindow);
  3234. /* [local] */ HRESULT STDMETHODCALLTYPE IViewObject_Draw_Proxy(
  3235. IViewObject * This,
  3236. /* [in] */ DWORD dwDrawAspect,
  3237. /* [in] */ LONG lindex,
  3238. /* [unique][in] */ void *pvAspect,
  3239. /* [unique][in] */ DVTARGETDEVICE *ptd,
  3240. /* [in] */ HDC hdcTargetDev,
  3241. /* [in] */ HDC hdcDraw,
  3242. /* [in] */ LPCRECTL lprcBounds,
  3243. /* [unique][in] */ LPCRECTL lprcWBounds,
  3244. /* [in] */ BOOL ( STDMETHODCALLTYPE *pfnContinue )(
  3245. ULONG_PTR dwContinue),
  3246. /* [in] */ ULONG_PTR dwContinue);
  3247. /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_Draw_Stub(
  3248. IViewObject * This,
  3249. /* [in] */ DWORD dwDrawAspect,
  3250. /* [in] */ LONG lindex,
  3251. /* [in] */ ULONG_PTR pvAspect,
  3252. /* [unique][in] */ DVTARGETDEVICE *ptd,
  3253. /* [in] */ ULONG_PTR hdcTargetDev,
  3254. /* [in] */ ULONG_PTR hdcDraw,
  3255. /* [in] */ LPCRECTL lprcBounds,
  3256. /* [unique][in] */ LPCRECTL lprcWBounds,
  3257. /* [in] */ IContinue *pContinue);
  3258. /* [local] */ HRESULT STDMETHODCALLTYPE IViewObject_GetColorSet_Proxy(
  3259. IViewObject * This,
  3260. /* [in] */ DWORD dwDrawAspect,
  3261. /* [in] */ LONG lindex,
  3262. /* [unique][in] */ void *pvAspect,
  3263. /* [unique][in] */ DVTARGETDEVICE *ptd,
  3264. /* [in] */ HDC hicTargetDev,
  3265. /* [out] */ LOGPALETTE **ppColorSet);
  3266. /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_GetColorSet_Stub(
  3267. IViewObject * This,
  3268. /* [in] */ DWORD dwDrawAspect,
  3269. /* [in] */ LONG lindex,
  3270. /* [in] */ ULONG_PTR pvAspect,
  3271. /* [unique][in] */ DVTARGETDEVICE *ptd,
  3272. /* [in] */ ULONG_PTR hicTargetDev,
  3273. /* [out] */ LOGPALETTE **ppColorSet);
  3274. /* [local] */ HRESULT STDMETHODCALLTYPE IViewObject_Freeze_Proxy(
  3275. IViewObject * This,
  3276. /* [in] */ DWORD dwDrawAspect,
  3277. /* [in] */ LONG lindex,
  3278. /* [unique][in] */ void *pvAspect,
  3279. /* [out] */ DWORD *pdwFreeze);
  3280. /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_Freeze_Stub(
  3281. IViewObject * This,
  3282. /* [in] */ DWORD dwDrawAspect,
  3283. /* [in] */ LONG lindex,
  3284. /* [in] */ ULONG_PTR pvAspect,
  3285. /* [out] */ DWORD *pdwFreeze);
  3286. /* [local] */ HRESULT STDMETHODCALLTYPE IViewObject_GetAdvise_Proxy(
  3287. IViewObject * This,
  3288. /* [unique][out] */ DWORD *pAspects,
  3289. /* [unique][out] */ DWORD *pAdvf,
  3290. /* [out] */ IAdviseSink **ppAdvSink);
  3291. /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_GetAdvise_Stub(
  3292. IViewObject * This,
  3293. /* [out] */ DWORD *pAspects,
  3294. /* [out] */ DWORD *pAdvf,
  3295. /* [out] */ IAdviseSink **ppAdvSink);
  3296. /* [local] */ HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Next_Proxy(
  3297. IEnumOLEVERB * This,
  3298. /* [in] */ ULONG celt,
  3299. /* [length_is][size_is][out] */ LPOLEVERB rgelt,
  3300. /* [out] */ ULONG *pceltFetched);
  3301. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Next_Stub(
  3302. IEnumOLEVERB * This,
  3303. /* [in] */ ULONG celt,
  3304. /* [length_is][size_is][out] */ LPOLEVERB rgelt,
  3305. /* [out] */ ULONG *pceltFetched);
  3306. /* end of Additional Prototypes */
  3307. #ifdef __cplusplus
  3308. }
  3309. #endif
  3310. #endif