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.

8299 lines
235 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 ocidl.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 __ocidl_h__
  27. #define __ocidl_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IEnumConnections_FWD_DEFINED__
  33. #define __IEnumConnections_FWD_DEFINED__
  34. typedef interface IEnumConnections IEnumConnections;
  35. #endif /* __IEnumConnections_FWD_DEFINED__ */
  36. #ifndef __IConnectionPoint_FWD_DEFINED__
  37. #define __IConnectionPoint_FWD_DEFINED__
  38. typedef interface IConnectionPoint IConnectionPoint;
  39. #endif /* __IConnectionPoint_FWD_DEFINED__ */
  40. #ifndef __IEnumConnectionPoints_FWD_DEFINED__
  41. #define __IEnumConnectionPoints_FWD_DEFINED__
  42. typedef interface IEnumConnectionPoints IEnumConnectionPoints;
  43. #endif /* __IEnumConnectionPoints_FWD_DEFINED__ */
  44. #ifndef __IConnectionPointContainer_FWD_DEFINED__
  45. #define __IConnectionPointContainer_FWD_DEFINED__
  46. typedef interface IConnectionPointContainer IConnectionPointContainer;
  47. #endif /* __IConnectionPointContainer_FWD_DEFINED__ */
  48. #ifndef __IClassFactory2_FWD_DEFINED__
  49. #define __IClassFactory2_FWD_DEFINED__
  50. typedef interface IClassFactory2 IClassFactory2;
  51. #endif /* __IClassFactory2_FWD_DEFINED__ */
  52. #ifndef __IProvideClassInfo_FWD_DEFINED__
  53. #define __IProvideClassInfo_FWD_DEFINED__
  54. typedef interface IProvideClassInfo IProvideClassInfo;
  55. #endif /* __IProvideClassInfo_FWD_DEFINED__ */
  56. #ifndef __IProvideClassInfo2_FWD_DEFINED__
  57. #define __IProvideClassInfo2_FWD_DEFINED__
  58. typedef interface IProvideClassInfo2 IProvideClassInfo2;
  59. #endif /* __IProvideClassInfo2_FWD_DEFINED__ */
  60. #ifndef __IProvideMultipleClassInfo_FWD_DEFINED__
  61. #define __IProvideMultipleClassInfo_FWD_DEFINED__
  62. typedef interface IProvideMultipleClassInfo IProvideMultipleClassInfo;
  63. #endif /* __IProvideMultipleClassInfo_FWD_DEFINED__ */
  64. #ifndef __IOleControl_FWD_DEFINED__
  65. #define __IOleControl_FWD_DEFINED__
  66. typedef interface IOleControl IOleControl;
  67. #endif /* __IOleControl_FWD_DEFINED__ */
  68. #ifndef __IOleControlSite_FWD_DEFINED__
  69. #define __IOleControlSite_FWD_DEFINED__
  70. typedef interface IOleControlSite IOleControlSite;
  71. #endif /* __IOleControlSite_FWD_DEFINED__ */
  72. #ifndef __IPropertyPage_FWD_DEFINED__
  73. #define __IPropertyPage_FWD_DEFINED__
  74. typedef interface IPropertyPage IPropertyPage;
  75. #endif /* __IPropertyPage_FWD_DEFINED__ */
  76. #ifndef __IPropertyPage2_FWD_DEFINED__
  77. #define __IPropertyPage2_FWD_DEFINED__
  78. typedef interface IPropertyPage2 IPropertyPage2;
  79. #endif /* __IPropertyPage2_FWD_DEFINED__ */
  80. #ifndef __IPropertyPageSite_FWD_DEFINED__
  81. #define __IPropertyPageSite_FWD_DEFINED__
  82. typedef interface IPropertyPageSite IPropertyPageSite;
  83. #endif /* __IPropertyPageSite_FWD_DEFINED__ */
  84. #ifndef __IPropertyNotifySink_FWD_DEFINED__
  85. #define __IPropertyNotifySink_FWD_DEFINED__
  86. typedef interface IPropertyNotifySink IPropertyNotifySink;
  87. #endif /* __IPropertyNotifySink_FWD_DEFINED__ */
  88. #ifndef __ISpecifyPropertyPages_FWD_DEFINED__
  89. #define __ISpecifyPropertyPages_FWD_DEFINED__
  90. typedef interface ISpecifyPropertyPages ISpecifyPropertyPages;
  91. #endif /* __ISpecifyPropertyPages_FWD_DEFINED__ */
  92. #ifndef __IPersistMemory_FWD_DEFINED__
  93. #define __IPersistMemory_FWD_DEFINED__
  94. typedef interface IPersistMemory IPersistMemory;
  95. #endif /* __IPersistMemory_FWD_DEFINED__ */
  96. #ifndef __IPersistStreamInit_FWD_DEFINED__
  97. #define __IPersistStreamInit_FWD_DEFINED__
  98. typedef interface IPersistStreamInit IPersistStreamInit;
  99. #endif /* __IPersistStreamInit_FWD_DEFINED__ */
  100. #ifndef __IPersistPropertyBag_FWD_DEFINED__
  101. #define __IPersistPropertyBag_FWD_DEFINED__
  102. typedef interface IPersistPropertyBag IPersistPropertyBag;
  103. #endif /* __IPersistPropertyBag_FWD_DEFINED__ */
  104. #ifndef __ISimpleFrameSite_FWD_DEFINED__
  105. #define __ISimpleFrameSite_FWD_DEFINED__
  106. typedef interface ISimpleFrameSite ISimpleFrameSite;
  107. #endif /* __ISimpleFrameSite_FWD_DEFINED__ */
  108. #ifndef __IFont_FWD_DEFINED__
  109. #define __IFont_FWD_DEFINED__
  110. typedef interface IFont IFont;
  111. #endif /* __IFont_FWD_DEFINED__ */
  112. #ifndef __IPicture_FWD_DEFINED__
  113. #define __IPicture_FWD_DEFINED__
  114. typedef interface IPicture IPicture;
  115. #endif /* __IPicture_FWD_DEFINED__ */
  116. #ifndef __IFontEventsDisp_FWD_DEFINED__
  117. #define __IFontEventsDisp_FWD_DEFINED__
  118. typedef interface IFontEventsDisp IFontEventsDisp;
  119. #endif /* __IFontEventsDisp_FWD_DEFINED__ */
  120. #ifndef __IFontDisp_FWD_DEFINED__
  121. #define __IFontDisp_FWD_DEFINED__
  122. typedef interface IFontDisp IFontDisp;
  123. #endif /* __IFontDisp_FWD_DEFINED__ */
  124. #ifndef __IPictureDisp_FWD_DEFINED__
  125. #define __IPictureDisp_FWD_DEFINED__
  126. typedef interface IPictureDisp IPictureDisp;
  127. #endif /* __IPictureDisp_FWD_DEFINED__ */
  128. #ifndef __IOleInPlaceObjectWindowless_FWD_DEFINED__
  129. #define __IOleInPlaceObjectWindowless_FWD_DEFINED__
  130. typedef interface IOleInPlaceObjectWindowless IOleInPlaceObjectWindowless;
  131. #endif /* __IOleInPlaceObjectWindowless_FWD_DEFINED__ */
  132. #ifndef __IOleInPlaceSiteEx_FWD_DEFINED__
  133. #define __IOleInPlaceSiteEx_FWD_DEFINED__
  134. typedef interface IOleInPlaceSiteEx IOleInPlaceSiteEx;
  135. #endif /* __IOleInPlaceSiteEx_FWD_DEFINED__ */
  136. #ifndef __IOleInPlaceSiteWindowless_FWD_DEFINED__
  137. #define __IOleInPlaceSiteWindowless_FWD_DEFINED__
  138. typedef interface IOleInPlaceSiteWindowless IOleInPlaceSiteWindowless;
  139. #endif /* __IOleInPlaceSiteWindowless_FWD_DEFINED__ */
  140. #ifndef __IViewObjectEx_FWD_DEFINED__
  141. #define __IViewObjectEx_FWD_DEFINED__
  142. typedef interface IViewObjectEx IViewObjectEx;
  143. #endif /* __IViewObjectEx_FWD_DEFINED__ */
  144. #ifndef __IOleUndoUnit_FWD_DEFINED__
  145. #define __IOleUndoUnit_FWD_DEFINED__
  146. typedef interface IOleUndoUnit IOleUndoUnit;
  147. #endif /* __IOleUndoUnit_FWD_DEFINED__ */
  148. #ifndef __IOleParentUndoUnit_FWD_DEFINED__
  149. #define __IOleParentUndoUnit_FWD_DEFINED__
  150. typedef interface IOleParentUndoUnit IOleParentUndoUnit;
  151. #endif /* __IOleParentUndoUnit_FWD_DEFINED__ */
  152. #ifndef __IEnumOleUndoUnits_FWD_DEFINED__
  153. #define __IEnumOleUndoUnits_FWD_DEFINED__
  154. typedef interface IEnumOleUndoUnits IEnumOleUndoUnits;
  155. #endif /* __IEnumOleUndoUnits_FWD_DEFINED__ */
  156. #ifndef __IOleUndoManager_FWD_DEFINED__
  157. #define __IOleUndoManager_FWD_DEFINED__
  158. typedef interface IOleUndoManager IOleUndoManager;
  159. #endif /* __IOleUndoManager_FWD_DEFINED__ */
  160. #ifndef __IPointerInactive_FWD_DEFINED__
  161. #define __IPointerInactive_FWD_DEFINED__
  162. typedef interface IPointerInactive IPointerInactive;
  163. #endif /* __IPointerInactive_FWD_DEFINED__ */
  164. #ifndef __IObjectWithSite_FWD_DEFINED__
  165. #define __IObjectWithSite_FWD_DEFINED__
  166. typedef interface IObjectWithSite IObjectWithSite;
  167. #endif /* __IObjectWithSite_FWD_DEFINED__ */
  168. #ifndef __IPerPropertyBrowsing_FWD_DEFINED__
  169. #define __IPerPropertyBrowsing_FWD_DEFINED__
  170. typedef interface IPerPropertyBrowsing IPerPropertyBrowsing;
  171. #endif /* __IPerPropertyBrowsing_FWD_DEFINED__ */
  172. #ifndef __IPropertyBag2_FWD_DEFINED__
  173. #define __IPropertyBag2_FWD_DEFINED__
  174. typedef interface IPropertyBag2 IPropertyBag2;
  175. #endif /* __IPropertyBag2_FWD_DEFINED__ */
  176. #ifndef __IPersistPropertyBag2_FWD_DEFINED__
  177. #define __IPersistPropertyBag2_FWD_DEFINED__
  178. typedef interface IPersistPropertyBag2 IPersistPropertyBag2;
  179. #endif /* __IPersistPropertyBag2_FWD_DEFINED__ */
  180. #ifndef __IAdviseSinkEx_FWD_DEFINED__
  181. #define __IAdviseSinkEx_FWD_DEFINED__
  182. typedef interface IAdviseSinkEx IAdviseSinkEx;
  183. #endif /* __IAdviseSinkEx_FWD_DEFINED__ */
  184. #ifndef __IQuickActivate_FWD_DEFINED__
  185. #define __IQuickActivate_FWD_DEFINED__
  186. typedef interface IQuickActivate IQuickActivate;
  187. #endif /* __IQuickActivate_FWD_DEFINED__ */
  188. /* header files for imported files */
  189. #include "oleidl.h"
  190. #include "oaidl.h"
  191. #include "servprov.h"
  192. #include "urlmon.h"
  193. #ifdef __cplusplus
  194. extern "C"{
  195. #endif
  196. void * __RPC_USER MIDL_user_allocate(size_t);
  197. void __RPC_USER MIDL_user_free( void * );
  198. /* interface __MIDL_itf_ocidl_0000 */
  199. /* [local] */
  200. //+-------------------------------------------------------------------------
  201. //
  202. // Microsoft Windows
  203. // Copyright (c) Microsoft Corporation. All rights reserved.
  204. //
  205. //--------------------------------------------------------------------------
  206. #if ( _MSC_VER >= 1020 )
  207. #pragma once
  208. #endif
  209. extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_c_ifspec;
  210. extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_s_ifspec;
  211. #ifndef __IOleControlTypes_INTERFACE_DEFINED__
  212. #define __IOleControlTypes_INTERFACE_DEFINED__
  213. /* interface IOleControlTypes */
  214. /* [auto_handle][unique][version] */
  215. typedef /* [v1_enum] */
  216. enum tagUASFLAGS
  217. { UAS_NORMAL = 0,
  218. UAS_BLOCKED = 0x1,
  219. UAS_NOPARENTENABLE = 0x2,
  220. UAS_MASK = 0x3
  221. } UASFLAGS;
  222. /* State values for the DISPID_READYSTATE property */
  223. typedef /* [v1_enum] */
  224. enum tagREADYSTATE
  225. { READYSTATE_UNINITIALIZED = 0,
  226. READYSTATE_LOADING = 1,
  227. READYSTATE_LOADED = 2,
  228. READYSTATE_INTERACTIVE = 3,
  229. READYSTATE_COMPLETE = 4
  230. } READYSTATE;
  231. extern RPC_IF_HANDLE IOleControlTypes_v1_0_c_ifspec;
  232. extern RPC_IF_HANDLE IOleControlTypes_v1_0_s_ifspec;
  233. #endif /* __IOleControlTypes_INTERFACE_DEFINED__ */
  234. #ifndef __IEnumConnections_INTERFACE_DEFINED__
  235. #define __IEnumConnections_INTERFACE_DEFINED__
  236. /* interface IEnumConnections */
  237. /* [unique][uuid][object] */
  238. typedef IEnumConnections *PENUMCONNECTIONS;
  239. typedef IEnumConnections *LPENUMCONNECTIONS;
  240. typedef struct tagCONNECTDATA
  241. {
  242. IUnknown *pUnk;
  243. DWORD dwCookie;
  244. } CONNECTDATA;
  245. typedef struct tagCONNECTDATA *PCONNECTDATA;
  246. typedef struct tagCONNECTDATA *LPCONNECTDATA;
  247. EXTERN_C const IID IID_IEnumConnections;
  248. #if defined(__cplusplus) && !defined(CINTERFACE)
  249. MIDL_INTERFACE("B196B287-BAB4-101A-B69C-00AA00341D07")
  250. IEnumConnections : public IUnknown
  251. {
  252. public:
  253. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
  254. /* [in] */ ULONG cConnections,
  255. /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  256. /* [out] */ ULONG *pcFetched) = 0;
  257. virtual HRESULT STDMETHODCALLTYPE Skip(
  258. /* [in] */ ULONG cConnections) = 0;
  259. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  260. virtual HRESULT STDMETHODCALLTYPE Clone(
  261. /* [out] */ IEnumConnections **ppEnum) = 0;
  262. };
  263. #else /* C style interface */
  264. typedef struct IEnumConnectionsVtbl
  265. {
  266. BEGIN_INTERFACE
  267. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  268. IEnumConnections * This,
  269. /* [in] */ REFIID riid,
  270. /* [iid_is][out] */ void **ppvObject);
  271. ULONG ( STDMETHODCALLTYPE *AddRef )(
  272. IEnumConnections * This);
  273. ULONG ( STDMETHODCALLTYPE *Release )(
  274. IEnumConnections * This);
  275. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
  276. IEnumConnections * This,
  277. /* [in] */ ULONG cConnections,
  278. /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  279. /* [out] */ ULONG *pcFetched);
  280. HRESULT ( STDMETHODCALLTYPE *Skip )(
  281. IEnumConnections * This,
  282. /* [in] */ ULONG cConnections);
  283. HRESULT ( STDMETHODCALLTYPE *Reset )(
  284. IEnumConnections * This);
  285. HRESULT ( STDMETHODCALLTYPE *Clone )(
  286. IEnumConnections * This,
  287. /* [out] */ IEnumConnections **ppEnum);
  288. END_INTERFACE
  289. } IEnumConnectionsVtbl;
  290. interface IEnumConnections
  291. {
  292. CONST_VTBL struct IEnumConnectionsVtbl *lpVtbl;
  293. };
  294. #ifdef COBJMACROS
  295. #define IEnumConnections_QueryInterface(This,riid,ppvObject) \
  296. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  297. #define IEnumConnections_AddRef(This) \
  298. (This)->lpVtbl -> AddRef(This)
  299. #define IEnumConnections_Release(This) \
  300. (This)->lpVtbl -> Release(This)
  301. #define IEnumConnections_Next(This,cConnections,rgcd,pcFetched) \
  302. (This)->lpVtbl -> Next(This,cConnections,rgcd,pcFetched)
  303. #define IEnumConnections_Skip(This,cConnections) \
  304. (This)->lpVtbl -> Skip(This,cConnections)
  305. #define IEnumConnections_Reset(This) \
  306. (This)->lpVtbl -> Reset(This)
  307. #define IEnumConnections_Clone(This,ppEnum) \
  308. (This)->lpVtbl -> Clone(This,ppEnum)
  309. #endif /* COBJMACROS */
  310. #endif /* C style interface */
  311. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnections_RemoteNext_Proxy(
  312. IEnumConnections * This,
  313. /* [in] */ ULONG cConnections,
  314. /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  315. /* [out] */ ULONG *pcFetched);
  316. void __RPC_STUB IEnumConnections_RemoteNext_Stub(
  317. IRpcStubBuffer *This,
  318. IRpcChannelBuffer *_pRpcChannelBuffer,
  319. PRPC_MESSAGE _pRpcMessage,
  320. DWORD *_pdwStubPhase);
  321. HRESULT STDMETHODCALLTYPE IEnumConnections_Skip_Proxy(
  322. IEnumConnections * This,
  323. /* [in] */ ULONG cConnections);
  324. void __RPC_STUB IEnumConnections_Skip_Stub(
  325. IRpcStubBuffer *This,
  326. IRpcChannelBuffer *_pRpcChannelBuffer,
  327. PRPC_MESSAGE _pRpcMessage,
  328. DWORD *_pdwStubPhase);
  329. HRESULT STDMETHODCALLTYPE IEnumConnections_Reset_Proxy(
  330. IEnumConnections * This);
  331. void __RPC_STUB IEnumConnections_Reset_Stub(
  332. IRpcStubBuffer *This,
  333. IRpcChannelBuffer *_pRpcChannelBuffer,
  334. PRPC_MESSAGE _pRpcMessage,
  335. DWORD *_pdwStubPhase);
  336. HRESULT STDMETHODCALLTYPE IEnumConnections_Clone_Proxy(
  337. IEnumConnections * This,
  338. /* [out] */ IEnumConnections **ppEnum);
  339. void __RPC_STUB IEnumConnections_Clone_Stub(
  340. IRpcStubBuffer *This,
  341. IRpcChannelBuffer *_pRpcChannelBuffer,
  342. PRPC_MESSAGE _pRpcMessage,
  343. DWORD *_pdwStubPhase);
  344. #endif /* __IEnumConnections_INTERFACE_DEFINED__ */
  345. #ifndef __IConnectionPoint_INTERFACE_DEFINED__
  346. #define __IConnectionPoint_INTERFACE_DEFINED__
  347. /* interface IConnectionPoint */
  348. /* [unique][uuid][object] */
  349. typedef IConnectionPoint *PCONNECTIONPOINT;
  350. typedef IConnectionPoint *LPCONNECTIONPOINT;
  351. EXTERN_C const IID IID_IConnectionPoint;
  352. #if defined(__cplusplus) && !defined(CINTERFACE)
  353. MIDL_INTERFACE("B196B286-BAB4-101A-B69C-00AA00341D07")
  354. IConnectionPoint : public IUnknown
  355. {
  356. public:
  357. virtual HRESULT STDMETHODCALLTYPE GetConnectionInterface(
  358. /* [out] */ IID *pIID) = 0;
  359. virtual HRESULT STDMETHODCALLTYPE GetConnectionPointContainer(
  360. /* [out] */ IConnectionPointContainer **ppCPC) = 0;
  361. virtual HRESULT STDMETHODCALLTYPE Advise(
  362. /* [in] */ IUnknown *pUnkSink,
  363. /* [out] */ DWORD *pdwCookie) = 0;
  364. virtual HRESULT STDMETHODCALLTYPE Unadvise(
  365. /* [in] */ DWORD dwCookie) = 0;
  366. virtual HRESULT STDMETHODCALLTYPE EnumConnections(
  367. /* [out] */ IEnumConnections **ppEnum) = 0;
  368. };
  369. #else /* C style interface */
  370. typedef struct IConnectionPointVtbl
  371. {
  372. BEGIN_INTERFACE
  373. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  374. IConnectionPoint * This,
  375. /* [in] */ REFIID riid,
  376. /* [iid_is][out] */ void **ppvObject);
  377. ULONG ( STDMETHODCALLTYPE *AddRef )(
  378. IConnectionPoint * This);
  379. ULONG ( STDMETHODCALLTYPE *Release )(
  380. IConnectionPoint * This);
  381. HRESULT ( STDMETHODCALLTYPE *GetConnectionInterface )(
  382. IConnectionPoint * This,
  383. /* [out] */ IID *pIID);
  384. HRESULT ( STDMETHODCALLTYPE *GetConnectionPointContainer )(
  385. IConnectionPoint * This,
  386. /* [out] */ IConnectionPointContainer **ppCPC);
  387. HRESULT ( STDMETHODCALLTYPE *Advise )(
  388. IConnectionPoint * This,
  389. /* [in] */ IUnknown *pUnkSink,
  390. /* [out] */ DWORD *pdwCookie);
  391. HRESULT ( STDMETHODCALLTYPE *Unadvise )(
  392. IConnectionPoint * This,
  393. /* [in] */ DWORD dwCookie);
  394. HRESULT ( STDMETHODCALLTYPE *EnumConnections )(
  395. IConnectionPoint * This,
  396. /* [out] */ IEnumConnections **ppEnum);
  397. END_INTERFACE
  398. } IConnectionPointVtbl;
  399. interface IConnectionPoint
  400. {
  401. CONST_VTBL struct IConnectionPointVtbl *lpVtbl;
  402. };
  403. #ifdef COBJMACROS
  404. #define IConnectionPoint_QueryInterface(This,riid,ppvObject) \
  405. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  406. #define IConnectionPoint_AddRef(This) \
  407. (This)->lpVtbl -> AddRef(This)
  408. #define IConnectionPoint_Release(This) \
  409. (This)->lpVtbl -> Release(This)
  410. #define IConnectionPoint_GetConnectionInterface(This,pIID) \
  411. (This)->lpVtbl -> GetConnectionInterface(This,pIID)
  412. #define IConnectionPoint_GetConnectionPointContainer(This,ppCPC) \
  413. (This)->lpVtbl -> GetConnectionPointContainer(This,ppCPC)
  414. #define IConnectionPoint_Advise(This,pUnkSink,pdwCookie) \
  415. (This)->lpVtbl -> Advise(This,pUnkSink,pdwCookie)
  416. #define IConnectionPoint_Unadvise(This,dwCookie) \
  417. (This)->lpVtbl -> Unadvise(This,dwCookie)
  418. #define IConnectionPoint_EnumConnections(This,ppEnum) \
  419. (This)->lpVtbl -> EnumConnections(This,ppEnum)
  420. #endif /* COBJMACROS */
  421. #endif /* C style interface */
  422. HRESULT STDMETHODCALLTYPE IConnectionPoint_GetConnectionInterface_Proxy(
  423. IConnectionPoint * This,
  424. /* [out] */ IID *pIID);
  425. void __RPC_STUB IConnectionPoint_GetConnectionInterface_Stub(
  426. IRpcStubBuffer *This,
  427. IRpcChannelBuffer *_pRpcChannelBuffer,
  428. PRPC_MESSAGE _pRpcMessage,
  429. DWORD *_pdwStubPhase);
  430. HRESULT STDMETHODCALLTYPE IConnectionPoint_GetConnectionPointContainer_Proxy(
  431. IConnectionPoint * This,
  432. /* [out] */ IConnectionPointContainer **ppCPC);
  433. void __RPC_STUB IConnectionPoint_GetConnectionPointContainer_Stub(
  434. IRpcStubBuffer *This,
  435. IRpcChannelBuffer *_pRpcChannelBuffer,
  436. PRPC_MESSAGE _pRpcMessage,
  437. DWORD *_pdwStubPhase);
  438. HRESULT STDMETHODCALLTYPE IConnectionPoint_Advise_Proxy(
  439. IConnectionPoint * This,
  440. /* [in] */ IUnknown *pUnkSink,
  441. /* [out] */ DWORD *pdwCookie);
  442. void __RPC_STUB IConnectionPoint_Advise_Stub(
  443. IRpcStubBuffer *This,
  444. IRpcChannelBuffer *_pRpcChannelBuffer,
  445. PRPC_MESSAGE _pRpcMessage,
  446. DWORD *_pdwStubPhase);
  447. HRESULT STDMETHODCALLTYPE IConnectionPoint_Unadvise_Proxy(
  448. IConnectionPoint * This,
  449. /* [in] */ DWORD dwCookie);
  450. void __RPC_STUB IConnectionPoint_Unadvise_Stub(
  451. IRpcStubBuffer *This,
  452. IRpcChannelBuffer *_pRpcChannelBuffer,
  453. PRPC_MESSAGE _pRpcMessage,
  454. DWORD *_pdwStubPhase);
  455. HRESULT STDMETHODCALLTYPE IConnectionPoint_EnumConnections_Proxy(
  456. IConnectionPoint * This,
  457. /* [out] */ IEnumConnections **ppEnum);
  458. void __RPC_STUB IConnectionPoint_EnumConnections_Stub(
  459. IRpcStubBuffer *This,
  460. IRpcChannelBuffer *_pRpcChannelBuffer,
  461. PRPC_MESSAGE _pRpcMessage,
  462. DWORD *_pdwStubPhase);
  463. #endif /* __IConnectionPoint_INTERFACE_DEFINED__ */
  464. #ifndef __IEnumConnectionPoints_INTERFACE_DEFINED__
  465. #define __IEnumConnectionPoints_INTERFACE_DEFINED__
  466. /* interface IEnumConnectionPoints */
  467. /* [unique][uuid][object] */
  468. typedef IEnumConnectionPoints *PENUMCONNECTIONPOINTS;
  469. typedef IEnumConnectionPoints *LPENUMCONNECTIONPOINTS;
  470. EXTERN_C const IID IID_IEnumConnectionPoints;
  471. #if defined(__cplusplus) && !defined(CINTERFACE)
  472. MIDL_INTERFACE("B196B285-BAB4-101A-B69C-00AA00341D07")
  473. IEnumConnectionPoints : public IUnknown
  474. {
  475. public:
  476. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
  477. /* [in] */ ULONG cConnections,
  478. /* [length_is][size_is][out] */ LPCONNECTIONPOINT *ppCP,
  479. /* [out] */ ULONG *pcFetched) = 0;
  480. virtual HRESULT STDMETHODCALLTYPE Skip(
  481. /* [in] */ ULONG cConnections) = 0;
  482. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  483. virtual HRESULT STDMETHODCALLTYPE Clone(
  484. /* [out] */ IEnumConnectionPoints **ppEnum) = 0;
  485. };
  486. #else /* C style interface */
  487. typedef struct IEnumConnectionPointsVtbl
  488. {
  489. BEGIN_INTERFACE
  490. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  491. IEnumConnectionPoints * This,
  492. /* [in] */ REFIID riid,
  493. /* [iid_is][out] */ void **ppvObject);
  494. ULONG ( STDMETHODCALLTYPE *AddRef )(
  495. IEnumConnectionPoints * This);
  496. ULONG ( STDMETHODCALLTYPE *Release )(
  497. IEnumConnectionPoints * This);
  498. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
  499. IEnumConnectionPoints * This,
  500. /* [in] */ ULONG cConnections,
  501. /* [length_is][size_is][out] */ LPCONNECTIONPOINT *ppCP,
  502. /* [out] */ ULONG *pcFetched);
  503. HRESULT ( STDMETHODCALLTYPE *Skip )(
  504. IEnumConnectionPoints * This,
  505. /* [in] */ ULONG cConnections);
  506. HRESULT ( STDMETHODCALLTYPE *Reset )(
  507. IEnumConnectionPoints * This);
  508. HRESULT ( STDMETHODCALLTYPE *Clone )(
  509. IEnumConnectionPoints * This,
  510. /* [out] */ IEnumConnectionPoints **ppEnum);
  511. END_INTERFACE
  512. } IEnumConnectionPointsVtbl;
  513. interface IEnumConnectionPoints
  514. {
  515. CONST_VTBL struct IEnumConnectionPointsVtbl *lpVtbl;
  516. };
  517. #ifdef COBJMACROS
  518. #define IEnumConnectionPoints_QueryInterface(This,riid,ppvObject) \
  519. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  520. #define IEnumConnectionPoints_AddRef(This) \
  521. (This)->lpVtbl -> AddRef(This)
  522. #define IEnumConnectionPoints_Release(This) \
  523. (This)->lpVtbl -> Release(This)
  524. #define IEnumConnectionPoints_Next(This,cConnections,ppCP,pcFetched) \
  525. (This)->lpVtbl -> Next(This,cConnections,ppCP,pcFetched)
  526. #define IEnumConnectionPoints_Skip(This,cConnections) \
  527. (This)->lpVtbl -> Skip(This,cConnections)
  528. #define IEnumConnectionPoints_Reset(This) \
  529. (This)->lpVtbl -> Reset(This)
  530. #define IEnumConnectionPoints_Clone(This,ppEnum) \
  531. (This)->lpVtbl -> Clone(This,ppEnum)
  532. #endif /* COBJMACROS */
  533. #endif /* C style interface */
  534. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_RemoteNext_Proxy(
  535. IEnumConnectionPoints * This,
  536. /* [in] */ ULONG cConnections,
  537. /* [length_is][size_is][out] */ LPCONNECTIONPOINT *ppCP,
  538. /* [out] */ ULONG *pcFetched);
  539. void __RPC_STUB IEnumConnectionPoints_RemoteNext_Stub(
  540. IRpcStubBuffer *This,
  541. IRpcChannelBuffer *_pRpcChannelBuffer,
  542. PRPC_MESSAGE _pRpcMessage,
  543. DWORD *_pdwStubPhase);
  544. HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Skip_Proxy(
  545. IEnumConnectionPoints * This,
  546. /* [in] */ ULONG cConnections);
  547. void __RPC_STUB IEnumConnectionPoints_Skip_Stub(
  548. IRpcStubBuffer *This,
  549. IRpcChannelBuffer *_pRpcChannelBuffer,
  550. PRPC_MESSAGE _pRpcMessage,
  551. DWORD *_pdwStubPhase);
  552. HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Reset_Proxy(
  553. IEnumConnectionPoints * This);
  554. void __RPC_STUB IEnumConnectionPoints_Reset_Stub(
  555. IRpcStubBuffer *This,
  556. IRpcChannelBuffer *_pRpcChannelBuffer,
  557. PRPC_MESSAGE _pRpcMessage,
  558. DWORD *_pdwStubPhase);
  559. HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Clone_Proxy(
  560. IEnumConnectionPoints * This,
  561. /* [out] */ IEnumConnectionPoints **ppEnum);
  562. void __RPC_STUB IEnumConnectionPoints_Clone_Stub(
  563. IRpcStubBuffer *This,
  564. IRpcChannelBuffer *_pRpcChannelBuffer,
  565. PRPC_MESSAGE _pRpcMessage,
  566. DWORD *_pdwStubPhase);
  567. #endif /* __IEnumConnectionPoints_INTERFACE_DEFINED__ */
  568. #ifndef __IConnectionPointContainer_INTERFACE_DEFINED__
  569. #define __IConnectionPointContainer_INTERFACE_DEFINED__
  570. /* interface IConnectionPointContainer */
  571. /* [unique][uuid][object] */
  572. typedef IConnectionPointContainer *PCONNECTIONPOINTCONTAINER;
  573. typedef IConnectionPointContainer *LPCONNECTIONPOINTCONTAINER;
  574. EXTERN_C const IID IID_IConnectionPointContainer;
  575. #if defined(__cplusplus) && !defined(CINTERFACE)
  576. MIDL_INTERFACE("B196B284-BAB4-101A-B69C-00AA00341D07")
  577. IConnectionPointContainer : public IUnknown
  578. {
  579. public:
  580. virtual HRESULT STDMETHODCALLTYPE EnumConnectionPoints(
  581. /* [out] */ IEnumConnectionPoints **ppEnum) = 0;
  582. virtual HRESULT STDMETHODCALLTYPE FindConnectionPoint(
  583. /* [in] */ REFIID riid,
  584. /* [out] */ IConnectionPoint **ppCP) = 0;
  585. };
  586. #else /* C style interface */
  587. typedef struct IConnectionPointContainerVtbl
  588. {
  589. BEGIN_INTERFACE
  590. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  591. IConnectionPointContainer * This,
  592. /* [in] */ REFIID riid,
  593. /* [iid_is][out] */ void **ppvObject);
  594. ULONG ( STDMETHODCALLTYPE *AddRef )(
  595. IConnectionPointContainer * This);
  596. ULONG ( STDMETHODCALLTYPE *Release )(
  597. IConnectionPointContainer * This);
  598. HRESULT ( STDMETHODCALLTYPE *EnumConnectionPoints )(
  599. IConnectionPointContainer * This,
  600. /* [out] */ IEnumConnectionPoints **ppEnum);
  601. HRESULT ( STDMETHODCALLTYPE *FindConnectionPoint )(
  602. IConnectionPointContainer * This,
  603. /* [in] */ REFIID riid,
  604. /* [out] */ IConnectionPoint **ppCP);
  605. END_INTERFACE
  606. } IConnectionPointContainerVtbl;
  607. interface IConnectionPointContainer
  608. {
  609. CONST_VTBL struct IConnectionPointContainerVtbl *lpVtbl;
  610. };
  611. #ifdef COBJMACROS
  612. #define IConnectionPointContainer_QueryInterface(This,riid,ppvObject) \
  613. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  614. #define IConnectionPointContainer_AddRef(This) \
  615. (This)->lpVtbl -> AddRef(This)
  616. #define IConnectionPointContainer_Release(This) \
  617. (This)->lpVtbl -> Release(This)
  618. #define IConnectionPointContainer_EnumConnectionPoints(This,ppEnum) \
  619. (This)->lpVtbl -> EnumConnectionPoints(This,ppEnum)
  620. #define IConnectionPointContainer_FindConnectionPoint(This,riid,ppCP) \
  621. (This)->lpVtbl -> FindConnectionPoint(This,riid,ppCP)
  622. #endif /* COBJMACROS */
  623. #endif /* C style interface */
  624. HRESULT STDMETHODCALLTYPE IConnectionPointContainer_EnumConnectionPoints_Proxy(
  625. IConnectionPointContainer * This,
  626. /* [out] */ IEnumConnectionPoints **ppEnum);
  627. void __RPC_STUB IConnectionPointContainer_EnumConnectionPoints_Stub(
  628. IRpcStubBuffer *This,
  629. IRpcChannelBuffer *_pRpcChannelBuffer,
  630. PRPC_MESSAGE _pRpcMessage,
  631. DWORD *_pdwStubPhase);
  632. HRESULT STDMETHODCALLTYPE IConnectionPointContainer_FindConnectionPoint_Proxy(
  633. IConnectionPointContainer * This,
  634. /* [in] */ REFIID riid,
  635. /* [out] */ IConnectionPoint **ppCP);
  636. void __RPC_STUB IConnectionPointContainer_FindConnectionPoint_Stub(
  637. IRpcStubBuffer *This,
  638. IRpcChannelBuffer *_pRpcChannelBuffer,
  639. PRPC_MESSAGE _pRpcMessage,
  640. DWORD *_pdwStubPhase);
  641. #endif /* __IConnectionPointContainer_INTERFACE_DEFINED__ */
  642. #ifndef __IClassFactory2_INTERFACE_DEFINED__
  643. #define __IClassFactory2_INTERFACE_DEFINED__
  644. /* interface IClassFactory2 */
  645. /* [unique][uuid][object] */
  646. typedef IClassFactory2 *LPCLASSFACTORY2;
  647. typedef struct tagLICINFO
  648. {
  649. LONG cbLicInfo;
  650. BOOL fRuntimeKeyAvail;
  651. BOOL fLicVerified;
  652. } LICINFO;
  653. typedef struct tagLICINFO *LPLICINFO;
  654. EXTERN_C const IID IID_IClassFactory2;
  655. #if defined(__cplusplus) && !defined(CINTERFACE)
  656. MIDL_INTERFACE("B196B28F-BAB4-101A-B69C-00AA00341D07")
  657. IClassFactory2 : public IClassFactory
  658. {
  659. public:
  660. virtual HRESULT STDMETHODCALLTYPE GetLicInfo(
  661. /* [out] */ LICINFO *pLicInfo) = 0;
  662. virtual HRESULT STDMETHODCALLTYPE RequestLicKey(
  663. /* [in] */ DWORD dwReserved,
  664. /* [out] */ BSTR *pBstrKey) = 0;
  665. virtual /* [local] */ HRESULT STDMETHODCALLTYPE CreateInstanceLic(
  666. /* [in] */ IUnknown *pUnkOuter,
  667. /* [in] */ IUnknown *pUnkReserved,
  668. /* [in] */ REFIID riid,
  669. /* [in] */ BSTR bstrKey,
  670. /* [iid_is][out] */ PVOID *ppvObj) = 0;
  671. };
  672. #else /* C style interface */
  673. typedef struct IClassFactory2Vtbl
  674. {
  675. BEGIN_INTERFACE
  676. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  677. IClassFactory2 * This,
  678. /* [in] */ REFIID riid,
  679. /* [iid_is][out] */ void **ppvObject);
  680. ULONG ( STDMETHODCALLTYPE *AddRef )(
  681. IClassFactory2 * This);
  682. ULONG ( STDMETHODCALLTYPE *Release )(
  683. IClassFactory2 * This);
  684. /* [local] */ HRESULT ( STDMETHODCALLTYPE *CreateInstance )(
  685. IClassFactory2 * This,
  686. /* [unique][in] */ IUnknown *pUnkOuter,
  687. /* [in] */ REFIID riid,
  688. /* [iid_is][out] */ void **ppvObject);
  689. /* [local] */ HRESULT ( STDMETHODCALLTYPE *LockServer )(
  690. IClassFactory2 * This,
  691. /* [in] */ BOOL fLock);
  692. HRESULT ( STDMETHODCALLTYPE *GetLicInfo )(
  693. IClassFactory2 * This,
  694. /* [out] */ LICINFO *pLicInfo);
  695. HRESULT ( STDMETHODCALLTYPE *RequestLicKey )(
  696. IClassFactory2 * This,
  697. /* [in] */ DWORD dwReserved,
  698. /* [out] */ BSTR *pBstrKey);
  699. /* [local] */ HRESULT ( STDMETHODCALLTYPE *CreateInstanceLic )(
  700. IClassFactory2 * This,
  701. /* [in] */ IUnknown *pUnkOuter,
  702. /* [in] */ IUnknown *pUnkReserved,
  703. /* [in] */ REFIID riid,
  704. /* [in] */ BSTR bstrKey,
  705. /* [iid_is][out] */ PVOID *ppvObj);
  706. END_INTERFACE
  707. } IClassFactory2Vtbl;
  708. interface IClassFactory2
  709. {
  710. CONST_VTBL struct IClassFactory2Vtbl *lpVtbl;
  711. };
  712. #ifdef COBJMACROS
  713. #define IClassFactory2_QueryInterface(This,riid,ppvObject) \
  714. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  715. #define IClassFactory2_AddRef(This) \
  716. (This)->lpVtbl -> AddRef(This)
  717. #define IClassFactory2_Release(This) \
  718. (This)->lpVtbl -> Release(This)
  719. #define IClassFactory2_CreateInstance(This,pUnkOuter,riid,ppvObject) \
  720. (This)->lpVtbl -> CreateInstance(This,pUnkOuter,riid,ppvObject)
  721. #define IClassFactory2_LockServer(This,fLock) \
  722. (This)->lpVtbl -> LockServer(This,fLock)
  723. #define IClassFactory2_GetLicInfo(This,pLicInfo) \
  724. (This)->lpVtbl -> GetLicInfo(This,pLicInfo)
  725. #define IClassFactory2_RequestLicKey(This,dwReserved,pBstrKey) \
  726. (This)->lpVtbl -> RequestLicKey(This,dwReserved,pBstrKey)
  727. #define IClassFactory2_CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj) \
  728. (This)->lpVtbl -> CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj)
  729. #endif /* COBJMACROS */
  730. #endif /* C style interface */
  731. HRESULT STDMETHODCALLTYPE IClassFactory2_GetLicInfo_Proxy(
  732. IClassFactory2 * This,
  733. /* [out] */ LICINFO *pLicInfo);
  734. void __RPC_STUB IClassFactory2_GetLicInfo_Stub(
  735. IRpcStubBuffer *This,
  736. IRpcChannelBuffer *_pRpcChannelBuffer,
  737. PRPC_MESSAGE _pRpcMessage,
  738. DWORD *_pdwStubPhase);
  739. HRESULT STDMETHODCALLTYPE IClassFactory2_RequestLicKey_Proxy(
  740. IClassFactory2 * This,
  741. /* [in] */ DWORD dwReserved,
  742. /* [out] */ BSTR *pBstrKey);
  743. void __RPC_STUB IClassFactory2_RequestLicKey_Stub(
  744. IRpcStubBuffer *This,
  745. IRpcChannelBuffer *_pRpcChannelBuffer,
  746. PRPC_MESSAGE _pRpcMessage,
  747. DWORD *_pdwStubPhase);
  748. /* [call_as] */ HRESULT STDMETHODCALLTYPE IClassFactory2_RemoteCreateInstanceLic_Proxy(
  749. IClassFactory2 * This,
  750. /* [in] */ REFIID riid,
  751. /* [in] */ BSTR bstrKey,
  752. /* [iid_is][out] */ IUnknown **ppvObj);
  753. void __RPC_STUB IClassFactory2_RemoteCreateInstanceLic_Stub(
  754. IRpcStubBuffer *This,
  755. IRpcChannelBuffer *_pRpcChannelBuffer,
  756. PRPC_MESSAGE _pRpcMessage,
  757. DWORD *_pdwStubPhase);
  758. #endif /* __IClassFactory2_INTERFACE_DEFINED__ */
  759. #ifndef __IProvideClassInfo_INTERFACE_DEFINED__
  760. #define __IProvideClassInfo_INTERFACE_DEFINED__
  761. /* interface IProvideClassInfo */
  762. /* [unique][uuid][object] */
  763. typedef IProvideClassInfo *LPPROVIDECLASSINFO;
  764. EXTERN_C const IID IID_IProvideClassInfo;
  765. #if defined(__cplusplus) && !defined(CINTERFACE)
  766. MIDL_INTERFACE("B196B283-BAB4-101A-B69C-00AA00341D07")
  767. IProvideClassInfo : public IUnknown
  768. {
  769. public:
  770. virtual HRESULT STDMETHODCALLTYPE GetClassInfo(
  771. /* [out] */ ITypeInfo **ppTI) = 0;
  772. };
  773. #else /* C style interface */
  774. typedef struct IProvideClassInfoVtbl
  775. {
  776. BEGIN_INTERFACE
  777. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  778. IProvideClassInfo * This,
  779. /* [in] */ REFIID riid,
  780. /* [iid_is][out] */ void **ppvObject);
  781. ULONG ( STDMETHODCALLTYPE *AddRef )(
  782. IProvideClassInfo * This);
  783. ULONG ( STDMETHODCALLTYPE *Release )(
  784. IProvideClassInfo * This);
  785. HRESULT ( STDMETHODCALLTYPE *GetClassInfo )(
  786. IProvideClassInfo * This,
  787. /* [out] */ ITypeInfo **ppTI);
  788. END_INTERFACE
  789. } IProvideClassInfoVtbl;
  790. interface IProvideClassInfo
  791. {
  792. CONST_VTBL struct IProvideClassInfoVtbl *lpVtbl;
  793. };
  794. #ifdef COBJMACROS
  795. #define IProvideClassInfo_QueryInterface(This,riid,ppvObject) \
  796. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  797. #define IProvideClassInfo_AddRef(This) \
  798. (This)->lpVtbl -> AddRef(This)
  799. #define IProvideClassInfo_Release(This) \
  800. (This)->lpVtbl -> Release(This)
  801. #define IProvideClassInfo_GetClassInfo(This,ppTI) \
  802. (This)->lpVtbl -> GetClassInfo(This,ppTI)
  803. #endif /* COBJMACROS */
  804. #endif /* C style interface */
  805. HRESULT STDMETHODCALLTYPE IProvideClassInfo_GetClassInfo_Proxy(
  806. IProvideClassInfo * This,
  807. /* [out] */ ITypeInfo **ppTI);
  808. void __RPC_STUB IProvideClassInfo_GetClassInfo_Stub(
  809. IRpcStubBuffer *This,
  810. IRpcChannelBuffer *_pRpcChannelBuffer,
  811. PRPC_MESSAGE _pRpcMessage,
  812. DWORD *_pdwStubPhase);
  813. #endif /* __IProvideClassInfo_INTERFACE_DEFINED__ */
  814. #ifndef __IProvideClassInfo2_INTERFACE_DEFINED__
  815. #define __IProvideClassInfo2_INTERFACE_DEFINED__
  816. /* interface IProvideClassInfo2 */
  817. /* [unique][uuid][object] */
  818. typedef IProvideClassInfo2 *LPPROVIDECLASSINFO2;
  819. typedef
  820. enum tagGUIDKIND
  821. { GUIDKIND_DEFAULT_SOURCE_DISP_IID = 1
  822. } GUIDKIND;
  823. EXTERN_C const IID IID_IProvideClassInfo2;
  824. #if defined(__cplusplus) && !defined(CINTERFACE)
  825. MIDL_INTERFACE("A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851")
  826. IProvideClassInfo2 : public IProvideClassInfo
  827. {
  828. public:
  829. virtual HRESULT STDMETHODCALLTYPE GetGUID(
  830. /* [in] */ DWORD dwGuidKind,
  831. /* [out] */ GUID *pGUID) = 0;
  832. };
  833. #else /* C style interface */
  834. typedef struct IProvideClassInfo2Vtbl
  835. {
  836. BEGIN_INTERFACE
  837. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  838. IProvideClassInfo2 * This,
  839. /* [in] */ REFIID riid,
  840. /* [iid_is][out] */ void **ppvObject);
  841. ULONG ( STDMETHODCALLTYPE *AddRef )(
  842. IProvideClassInfo2 * This);
  843. ULONG ( STDMETHODCALLTYPE *Release )(
  844. IProvideClassInfo2 * This);
  845. HRESULT ( STDMETHODCALLTYPE *GetClassInfo )(
  846. IProvideClassInfo2 * This,
  847. /* [out] */ ITypeInfo **ppTI);
  848. HRESULT ( STDMETHODCALLTYPE *GetGUID )(
  849. IProvideClassInfo2 * This,
  850. /* [in] */ DWORD dwGuidKind,
  851. /* [out] */ GUID *pGUID);
  852. END_INTERFACE
  853. } IProvideClassInfo2Vtbl;
  854. interface IProvideClassInfo2
  855. {
  856. CONST_VTBL struct IProvideClassInfo2Vtbl *lpVtbl;
  857. };
  858. #ifdef COBJMACROS
  859. #define IProvideClassInfo2_QueryInterface(This,riid,ppvObject) \
  860. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  861. #define IProvideClassInfo2_AddRef(This) \
  862. (This)->lpVtbl -> AddRef(This)
  863. #define IProvideClassInfo2_Release(This) \
  864. (This)->lpVtbl -> Release(This)
  865. #define IProvideClassInfo2_GetClassInfo(This,ppTI) \
  866. (This)->lpVtbl -> GetClassInfo(This,ppTI)
  867. #define IProvideClassInfo2_GetGUID(This,dwGuidKind,pGUID) \
  868. (This)->lpVtbl -> GetGUID(This,dwGuidKind,pGUID)
  869. #endif /* COBJMACROS */
  870. #endif /* C style interface */
  871. HRESULT STDMETHODCALLTYPE IProvideClassInfo2_GetGUID_Proxy(
  872. IProvideClassInfo2 * This,
  873. /* [in] */ DWORD dwGuidKind,
  874. /* [out] */ GUID *pGUID);
  875. void __RPC_STUB IProvideClassInfo2_GetGUID_Stub(
  876. IRpcStubBuffer *This,
  877. IRpcChannelBuffer *_pRpcChannelBuffer,
  878. PRPC_MESSAGE _pRpcMessage,
  879. DWORD *_pdwStubPhase);
  880. #endif /* __IProvideClassInfo2_INTERFACE_DEFINED__ */
  881. #ifndef __IProvideMultipleClassInfo_INTERFACE_DEFINED__
  882. #define __IProvideMultipleClassInfo_INTERFACE_DEFINED__
  883. /* interface IProvideMultipleClassInfo */
  884. /* [unique][uuid][object] */
  885. #define MULTICLASSINFO_GETTYPEINFO 0x00000001
  886. #define MULTICLASSINFO_GETNUMRESERVEDDISPIDS 0x00000002
  887. #define MULTICLASSINFO_GETIIDPRIMARY 0x00000004
  888. #define MULTICLASSINFO_GETIIDSOURCE 0x00000008
  889. #define TIFLAGS_EXTENDDISPATCHONLY 0x00000001
  890. typedef IProvideMultipleClassInfo *LPPROVIDEMULTIPLECLASSINFO;
  891. EXTERN_C const IID IID_IProvideMultipleClassInfo;
  892. #if defined(__cplusplus) && !defined(CINTERFACE)
  893. MIDL_INTERFACE("A7ABA9C1-8983-11cf-8F20-00805F2CD064")
  894. IProvideMultipleClassInfo : public IProvideClassInfo2
  895. {
  896. public:
  897. virtual HRESULT STDMETHODCALLTYPE GetMultiTypeInfoCount(
  898. /* [out] */ ULONG *pcti) = 0;
  899. virtual HRESULT STDMETHODCALLTYPE GetInfoOfIndex(
  900. /* [in] */ ULONG iti,
  901. /* [in] */ DWORD dwFlags,
  902. /* [out] */ ITypeInfo **pptiCoClass,
  903. /* [out] */ DWORD *pdwTIFlags,
  904. /* [out] */ ULONG *pcdispidReserved,
  905. /* [out] */ IID *piidPrimary,
  906. /* [out] */ IID *piidSource) = 0;
  907. };
  908. #else /* C style interface */
  909. typedef struct IProvideMultipleClassInfoVtbl
  910. {
  911. BEGIN_INTERFACE
  912. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  913. IProvideMultipleClassInfo * This,
  914. /* [in] */ REFIID riid,
  915. /* [iid_is][out] */ void **ppvObject);
  916. ULONG ( STDMETHODCALLTYPE *AddRef )(
  917. IProvideMultipleClassInfo * This);
  918. ULONG ( STDMETHODCALLTYPE *Release )(
  919. IProvideMultipleClassInfo * This);
  920. HRESULT ( STDMETHODCALLTYPE *GetClassInfo )(
  921. IProvideMultipleClassInfo * This,
  922. /* [out] */ ITypeInfo **ppTI);
  923. HRESULT ( STDMETHODCALLTYPE *GetGUID )(
  924. IProvideMultipleClassInfo * This,
  925. /* [in] */ DWORD dwGuidKind,
  926. /* [out] */ GUID *pGUID);
  927. HRESULT ( STDMETHODCALLTYPE *GetMultiTypeInfoCount )(
  928. IProvideMultipleClassInfo * This,
  929. /* [out] */ ULONG *pcti);
  930. HRESULT ( STDMETHODCALLTYPE *GetInfoOfIndex )(
  931. IProvideMultipleClassInfo * This,
  932. /* [in] */ ULONG iti,
  933. /* [in] */ DWORD dwFlags,
  934. /* [out] */ ITypeInfo **pptiCoClass,
  935. /* [out] */ DWORD *pdwTIFlags,
  936. /* [out] */ ULONG *pcdispidReserved,
  937. /* [out] */ IID *piidPrimary,
  938. /* [out] */ IID *piidSource);
  939. END_INTERFACE
  940. } IProvideMultipleClassInfoVtbl;
  941. interface IProvideMultipleClassInfo
  942. {
  943. CONST_VTBL struct IProvideMultipleClassInfoVtbl *lpVtbl;
  944. };
  945. #ifdef COBJMACROS
  946. #define IProvideMultipleClassInfo_QueryInterface(This,riid,ppvObject) \
  947. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  948. #define IProvideMultipleClassInfo_AddRef(This) \
  949. (This)->lpVtbl -> AddRef(This)
  950. #define IProvideMultipleClassInfo_Release(This) \
  951. (This)->lpVtbl -> Release(This)
  952. #define IProvideMultipleClassInfo_GetClassInfo(This,ppTI) \
  953. (This)->lpVtbl -> GetClassInfo(This,ppTI)
  954. #define IProvideMultipleClassInfo_GetGUID(This,dwGuidKind,pGUID) \
  955. (This)->lpVtbl -> GetGUID(This,dwGuidKind,pGUID)
  956. #define IProvideMultipleClassInfo_GetMultiTypeInfoCount(This,pcti) \
  957. (This)->lpVtbl -> GetMultiTypeInfoCount(This,pcti)
  958. #define IProvideMultipleClassInfo_GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource) \
  959. (This)->lpVtbl -> GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource)
  960. #endif /* COBJMACROS */
  961. #endif /* C style interface */
  962. HRESULT STDMETHODCALLTYPE IProvideMultipleClassInfo_GetMultiTypeInfoCount_Proxy(
  963. IProvideMultipleClassInfo * This,
  964. /* [out] */ ULONG *pcti);
  965. void __RPC_STUB IProvideMultipleClassInfo_GetMultiTypeInfoCount_Stub(
  966. IRpcStubBuffer *This,
  967. IRpcChannelBuffer *_pRpcChannelBuffer,
  968. PRPC_MESSAGE _pRpcMessage,
  969. DWORD *_pdwStubPhase);
  970. HRESULT STDMETHODCALLTYPE IProvideMultipleClassInfo_GetInfoOfIndex_Proxy(
  971. IProvideMultipleClassInfo * This,
  972. /* [in] */ ULONG iti,
  973. /* [in] */ DWORD dwFlags,
  974. /* [out] */ ITypeInfo **pptiCoClass,
  975. /* [out] */ DWORD *pdwTIFlags,
  976. /* [out] */ ULONG *pcdispidReserved,
  977. /* [out] */ IID *piidPrimary,
  978. /* [out] */ IID *piidSource);
  979. void __RPC_STUB IProvideMultipleClassInfo_GetInfoOfIndex_Stub(
  980. IRpcStubBuffer *This,
  981. IRpcChannelBuffer *_pRpcChannelBuffer,
  982. PRPC_MESSAGE _pRpcMessage,
  983. DWORD *_pdwStubPhase);
  984. #endif /* __IProvideMultipleClassInfo_INTERFACE_DEFINED__ */
  985. #ifndef __IOleControl_INTERFACE_DEFINED__
  986. #define __IOleControl_INTERFACE_DEFINED__
  987. /* interface IOleControl */
  988. /* [unique][uuid][object] */
  989. typedef IOleControl *LPOLECONTROL;
  990. typedef struct tagCONTROLINFO
  991. {
  992. ULONG cb;
  993. HACCEL hAccel;
  994. USHORT cAccel;
  995. DWORD dwFlags;
  996. } CONTROLINFO;
  997. typedef struct tagCONTROLINFO *LPCONTROLINFO;
  998. typedef
  999. enum tagCTRLINFO
  1000. { CTRLINFO_EATS_RETURN = 1,
  1001. CTRLINFO_EATS_ESCAPE = 2
  1002. } CTRLINFO;
  1003. EXTERN_C const IID IID_IOleControl;
  1004. #if defined(__cplusplus) && !defined(CINTERFACE)
  1005. MIDL_INTERFACE("B196B288-BAB4-101A-B69C-00AA00341D07")
  1006. IOleControl : public IUnknown
  1007. {
  1008. public:
  1009. virtual HRESULT STDMETHODCALLTYPE GetControlInfo(
  1010. /* [out] */ CONTROLINFO *pCI) = 0;
  1011. virtual HRESULT STDMETHODCALLTYPE OnMnemonic(
  1012. /* [in] */ MSG *pMsg) = 0;
  1013. virtual HRESULT STDMETHODCALLTYPE OnAmbientPropertyChange(
  1014. /* [in] */ DISPID dispID) = 0;
  1015. virtual HRESULT STDMETHODCALLTYPE FreezeEvents(
  1016. /* [in] */ BOOL bFreeze) = 0;
  1017. };
  1018. #else /* C style interface */
  1019. typedef struct IOleControlVtbl
  1020. {
  1021. BEGIN_INTERFACE
  1022. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1023. IOleControl * This,
  1024. /* [in] */ REFIID riid,
  1025. /* [iid_is][out] */ void **ppvObject);
  1026. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1027. IOleControl * This);
  1028. ULONG ( STDMETHODCALLTYPE *Release )(
  1029. IOleControl * This);
  1030. HRESULT ( STDMETHODCALLTYPE *GetControlInfo )(
  1031. IOleControl * This,
  1032. /* [out] */ CONTROLINFO *pCI);
  1033. HRESULT ( STDMETHODCALLTYPE *OnMnemonic )(
  1034. IOleControl * This,
  1035. /* [in] */ MSG *pMsg);
  1036. HRESULT ( STDMETHODCALLTYPE *OnAmbientPropertyChange )(
  1037. IOleControl * This,
  1038. /* [in] */ DISPID dispID);
  1039. HRESULT ( STDMETHODCALLTYPE *FreezeEvents )(
  1040. IOleControl * This,
  1041. /* [in] */ BOOL bFreeze);
  1042. END_INTERFACE
  1043. } IOleControlVtbl;
  1044. interface IOleControl
  1045. {
  1046. CONST_VTBL struct IOleControlVtbl *lpVtbl;
  1047. };
  1048. #ifdef COBJMACROS
  1049. #define IOleControl_QueryInterface(This,riid,ppvObject) \
  1050. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1051. #define IOleControl_AddRef(This) \
  1052. (This)->lpVtbl -> AddRef(This)
  1053. #define IOleControl_Release(This) \
  1054. (This)->lpVtbl -> Release(This)
  1055. #define IOleControl_GetControlInfo(This,pCI) \
  1056. (This)->lpVtbl -> GetControlInfo(This,pCI)
  1057. #define IOleControl_OnMnemonic(This,pMsg) \
  1058. (This)->lpVtbl -> OnMnemonic(This,pMsg)
  1059. #define IOleControl_OnAmbientPropertyChange(This,dispID) \
  1060. (This)->lpVtbl -> OnAmbientPropertyChange(This,dispID)
  1061. #define IOleControl_FreezeEvents(This,bFreeze) \
  1062. (This)->lpVtbl -> FreezeEvents(This,bFreeze)
  1063. #endif /* COBJMACROS */
  1064. #endif /* C style interface */
  1065. HRESULT STDMETHODCALLTYPE IOleControl_GetControlInfo_Proxy(
  1066. IOleControl * This,
  1067. /* [out] */ CONTROLINFO *pCI);
  1068. void __RPC_STUB IOleControl_GetControlInfo_Stub(
  1069. IRpcStubBuffer *This,
  1070. IRpcChannelBuffer *_pRpcChannelBuffer,
  1071. PRPC_MESSAGE _pRpcMessage,
  1072. DWORD *_pdwStubPhase);
  1073. HRESULT STDMETHODCALLTYPE IOleControl_OnMnemonic_Proxy(
  1074. IOleControl * This,
  1075. /* [in] */ MSG *pMsg);
  1076. void __RPC_STUB IOleControl_OnMnemonic_Stub(
  1077. IRpcStubBuffer *This,
  1078. IRpcChannelBuffer *_pRpcChannelBuffer,
  1079. PRPC_MESSAGE _pRpcMessage,
  1080. DWORD *_pdwStubPhase);
  1081. HRESULT STDMETHODCALLTYPE IOleControl_OnAmbientPropertyChange_Proxy(
  1082. IOleControl * This,
  1083. /* [in] */ DISPID dispID);
  1084. void __RPC_STUB IOleControl_OnAmbientPropertyChange_Stub(
  1085. IRpcStubBuffer *This,
  1086. IRpcChannelBuffer *_pRpcChannelBuffer,
  1087. PRPC_MESSAGE _pRpcMessage,
  1088. DWORD *_pdwStubPhase);
  1089. HRESULT STDMETHODCALLTYPE IOleControl_FreezeEvents_Proxy(
  1090. IOleControl * This,
  1091. /* [in] */ BOOL bFreeze);
  1092. void __RPC_STUB IOleControl_FreezeEvents_Stub(
  1093. IRpcStubBuffer *This,
  1094. IRpcChannelBuffer *_pRpcChannelBuffer,
  1095. PRPC_MESSAGE _pRpcMessage,
  1096. DWORD *_pdwStubPhase);
  1097. #endif /* __IOleControl_INTERFACE_DEFINED__ */
  1098. #ifndef __IOleControlSite_INTERFACE_DEFINED__
  1099. #define __IOleControlSite_INTERFACE_DEFINED__
  1100. /* interface IOleControlSite */
  1101. /* [unique][uuid][object] */
  1102. typedef IOleControlSite *LPOLECONTROLSITE;
  1103. typedef struct tagPOINTF
  1104. {
  1105. FLOAT x;
  1106. FLOAT y;
  1107. } POINTF;
  1108. typedef struct tagPOINTF *LPPOINTF;
  1109. typedef
  1110. enum tagXFORMCOORDS
  1111. { XFORMCOORDS_POSITION = 0x1,
  1112. XFORMCOORDS_SIZE = 0x2,
  1113. XFORMCOORDS_HIMETRICTOCONTAINER = 0x4,
  1114. XFORMCOORDS_CONTAINERTOHIMETRIC = 0x8,
  1115. XFORMCOORDS_EVENTCOMPAT = 0x10
  1116. } XFORMCOORDS;
  1117. EXTERN_C const IID IID_IOleControlSite;
  1118. #if defined(__cplusplus) && !defined(CINTERFACE)
  1119. MIDL_INTERFACE("B196B289-BAB4-101A-B69C-00AA00341D07")
  1120. IOleControlSite : public IUnknown
  1121. {
  1122. public:
  1123. virtual HRESULT STDMETHODCALLTYPE OnControlInfoChanged( void) = 0;
  1124. virtual HRESULT STDMETHODCALLTYPE LockInPlaceActive(
  1125. /* [in] */ BOOL fLock) = 0;
  1126. virtual HRESULT STDMETHODCALLTYPE GetExtendedControl(
  1127. /* [out] */ IDispatch **ppDisp) = 0;
  1128. virtual HRESULT STDMETHODCALLTYPE TransformCoords(
  1129. /* [out][in] */ POINTL *pPtlHimetric,
  1130. /* [out][in] */ POINTF *pPtfContainer,
  1131. /* [in] */ DWORD dwFlags) = 0;
  1132. virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
  1133. /* [in] */ MSG *pMsg,
  1134. /* [in] */ DWORD grfModifiers) = 0;
  1135. virtual HRESULT STDMETHODCALLTYPE OnFocus(
  1136. /* [in] */ BOOL fGotFocus) = 0;
  1137. virtual HRESULT STDMETHODCALLTYPE ShowPropertyFrame( void) = 0;
  1138. };
  1139. #else /* C style interface */
  1140. typedef struct IOleControlSiteVtbl
  1141. {
  1142. BEGIN_INTERFACE
  1143. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1144. IOleControlSite * This,
  1145. /* [in] */ REFIID riid,
  1146. /* [iid_is][out] */ void **ppvObject);
  1147. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1148. IOleControlSite * This);
  1149. ULONG ( STDMETHODCALLTYPE *Release )(
  1150. IOleControlSite * This);
  1151. HRESULT ( STDMETHODCALLTYPE *OnControlInfoChanged )(
  1152. IOleControlSite * This);
  1153. HRESULT ( STDMETHODCALLTYPE *LockInPlaceActive )(
  1154. IOleControlSite * This,
  1155. /* [in] */ BOOL fLock);
  1156. HRESULT ( STDMETHODCALLTYPE *GetExtendedControl )(
  1157. IOleControlSite * This,
  1158. /* [out] */ IDispatch **ppDisp);
  1159. HRESULT ( STDMETHODCALLTYPE *TransformCoords )(
  1160. IOleControlSite * This,
  1161. /* [out][in] */ POINTL *pPtlHimetric,
  1162. /* [out][in] */ POINTF *pPtfContainer,
  1163. /* [in] */ DWORD dwFlags);
  1164. HRESULT ( STDMETHODCALLTYPE *TranslateAccelerator )(
  1165. IOleControlSite * This,
  1166. /* [in] */ MSG *pMsg,
  1167. /* [in] */ DWORD grfModifiers);
  1168. HRESULT ( STDMETHODCALLTYPE *OnFocus )(
  1169. IOleControlSite * This,
  1170. /* [in] */ BOOL fGotFocus);
  1171. HRESULT ( STDMETHODCALLTYPE *ShowPropertyFrame )(
  1172. IOleControlSite * This);
  1173. END_INTERFACE
  1174. } IOleControlSiteVtbl;
  1175. interface IOleControlSite
  1176. {
  1177. CONST_VTBL struct IOleControlSiteVtbl *lpVtbl;
  1178. };
  1179. #ifdef COBJMACROS
  1180. #define IOleControlSite_QueryInterface(This,riid,ppvObject) \
  1181. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1182. #define IOleControlSite_AddRef(This) \
  1183. (This)->lpVtbl -> AddRef(This)
  1184. #define IOleControlSite_Release(This) \
  1185. (This)->lpVtbl -> Release(This)
  1186. #define IOleControlSite_OnControlInfoChanged(This) \
  1187. (This)->lpVtbl -> OnControlInfoChanged(This)
  1188. #define IOleControlSite_LockInPlaceActive(This,fLock) \
  1189. (This)->lpVtbl -> LockInPlaceActive(This,fLock)
  1190. #define IOleControlSite_GetExtendedControl(This,ppDisp) \
  1191. (This)->lpVtbl -> GetExtendedControl(This,ppDisp)
  1192. #define IOleControlSite_TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags) \
  1193. (This)->lpVtbl -> TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags)
  1194. #define IOleControlSite_TranslateAccelerator(This,pMsg,grfModifiers) \
  1195. (This)->lpVtbl -> TranslateAccelerator(This,pMsg,grfModifiers)
  1196. #define IOleControlSite_OnFocus(This,fGotFocus) \
  1197. (This)->lpVtbl -> OnFocus(This,fGotFocus)
  1198. #define IOleControlSite_ShowPropertyFrame(This) \
  1199. (This)->lpVtbl -> ShowPropertyFrame(This)
  1200. #endif /* COBJMACROS */
  1201. #endif /* C style interface */
  1202. HRESULT STDMETHODCALLTYPE IOleControlSite_OnControlInfoChanged_Proxy(
  1203. IOleControlSite * This);
  1204. void __RPC_STUB IOleControlSite_OnControlInfoChanged_Stub(
  1205. IRpcStubBuffer *This,
  1206. IRpcChannelBuffer *_pRpcChannelBuffer,
  1207. PRPC_MESSAGE _pRpcMessage,
  1208. DWORD *_pdwStubPhase);
  1209. HRESULT STDMETHODCALLTYPE IOleControlSite_LockInPlaceActive_Proxy(
  1210. IOleControlSite * This,
  1211. /* [in] */ BOOL fLock);
  1212. void __RPC_STUB IOleControlSite_LockInPlaceActive_Stub(
  1213. IRpcStubBuffer *This,
  1214. IRpcChannelBuffer *_pRpcChannelBuffer,
  1215. PRPC_MESSAGE _pRpcMessage,
  1216. DWORD *_pdwStubPhase);
  1217. HRESULT STDMETHODCALLTYPE IOleControlSite_GetExtendedControl_Proxy(
  1218. IOleControlSite * This,
  1219. /* [out] */ IDispatch **ppDisp);
  1220. void __RPC_STUB IOleControlSite_GetExtendedControl_Stub(
  1221. IRpcStubBuffer *This,
  1222. IRpcChannelBuffer *_pRpcChannelBuffer,
  1223. PRPC_MESSAGE _pRpcMessage,
  1224. DWORD *_pdwStubPhase);
  1225. HRESULT STDMETHODCALLTYPE IOleControlSite_TransformCoords_Proxy(
  1226. IOleControlSite * This,
  1227. /* [out][in] */ POINTL *pPtlHimetric,
  1228. /* [out][in] */ POINTF *pPtfContainer,
  1229. /* [in] */ DWORD dwFlags);
  1230. void __RPC_STUB IOleControlSite_TransformCoords_Stub(
  1231. IRpcStubBuffer *This,
  1232. IRpcChannelBuffer *_pRpcChannelBuffer,
  1233. PRPC_MESSAGE _pRpcMessage,
  1234. DWORD *_pdwStubPhase);
  1235. HRESULT STDMETHODCALLTYPE IOleControlSite_TranslateAccelerator_Proxy(
  1236. IOleControlSite * This,
  1237. /* [in] */ MSG *pMsg,
  1238. /* [in] */ DWORD grfModifiers);
  1239. void __RPC_STUB IOleControlSite_TranslateAccelerator_Stub(
  1240. IRpcStubBuffer *This,
  1241. IRpcChannelBuffer *_pRpcChannelBuffer,
  1242. PRPC_MESSAGE _pRpcMessage,
  1243. DWORD *_pdwStubPhase);
  1244. HRESULT STDMETHODCALLTYPE IOleControlSite_OnFocus_Proxy(
  1245. IOleControlSite * This,
  1246. /* [in] */ BOOL fGotFocus);
  1247. void __RPC_STUB IOleControlSite_OnFocus_Stub(
  1248. IRpcStubBuffer *This,
  1249. IRpcChannelBuffer *_pRpcChannelBuffer,
  1250. PRPC_MESSAGE _pRpcMessage,
  1251. DWORD *_pdwStubPhase);
  1252. HRESULT STDMETHODCALLTYPE IOleControlSite_ShowPropertyFrame_Proxy(
  1253. IOleControlSite * This);
  1254. void __RPC_STUB IOleControlSite_ShowPropertyFrame_Stub(
  1255. IRpcStubBuffer *This,
  1256. IRpcChannelBuffer *_pRpcChannelBuffer,
  1257. PRPC_MESSAGE _pRpcMessage,
  1258. DWORD *_pdwStubPhase);
  1259. #endif /* __IOleControlSite_INTERFACE_DEFINED__ */
  1260. #ifndef __IPropertyPage_INTERFACE_DEFINED__
  1261. #define __IPropertyPage_INTERFACE_DEFINED__
  1262. /* interface IPropertyPage */
  1263. /* [unique][uuid][object] */
  1264. typedef IPropertyPage *LPPROPERTYPAGE;
  1265. typedef struct tagPROPPAGEINFO
  1266. {
  1267. ULONG cb;
  1268. LPOLESTR pszTitle;
  1269. SIZE size;
  1270. LPOLESTR pszDocString;
  1271. LPOLESTR pszHelpFile;
  1272. DWORD dwHelpContext;
  1273. } PROPPAGEINFO;
  1274. typedef struct tagPROPPAGEINFO *LPPROPPAGEINFO;
  1275. EXTERN_C const IID IID_IPropertyPage;
  1276. #if defined(__cplusplus) && !defined(CINTERFACE)
  1277. MIDL_INTERFACE("B196B28D-BAB4-101A-B69C-00AA00341D07")
  1278. IPropertyPage : public IUnknown
  1279. {
  1280. public:
  1281. virtual HRESULT STDMETHODCALLTYPE SetPageSite(
  1282. /* [in] */ IPropertyPageSite *pPageSite) = 0;
  1283. virtual HRESULT STDMETHODCALLTYPE Activate(
  1284. /* [in] */ HWND hWndParent,
  1285. /* [in] */ LPCRECT pRect,
  1286. /* [in] */ BOOL bModal) = 0;
  1287. virtual HRESULT STDMETHODCALLTYPE Deactivate( void) = 0;
  1288. virtual HRESULT STDMETHODCALLTYPE GetPageInfo(
  1289. /* [out] */ PROPPAGEINFO *pPageInfo) = 0;
  1290. virtual HRESULT STDMETHODCALLTYPE SetObjects(
  1291. /* [in] */ ULONG cObjects,
  1292. /* [size_is][in] */ IUnknown **ppUnk) = 0;
  1293. virtual HRESULT STDMETHODCALLTYPE Show(
  1294. /* [in] */ UINT nCmdShow) = 0;
  1295. virtual HRESULT STDMETHODCALLTYPE Move(
  1296. /* [in] */ LPCRECT pRect) = 0;
  1297. virtual HRESULT STDMETHODCALLTYPE IsPageDirty( void) = 0;
  1298. virtual HRESULT STDMETHODCALLTYPE Apply( void) = 0;
  1299. virtual HRESULT STDMETHODCALLTYPE Help(
  1300. /* [in] */ LPCOLESTR pszHelpDir) = 0;
  1301. virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
  1302. /* [in] */ MSG *pMsg) = 0;
  1303. };
  1304. #else /* C style interface */
  1305. typedef struct IPropertyPageVtbl
  1306. {
  1307. BEGIN_INTERFACE
  1308. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1309. IPropertyPage * This,
  1310. /* [in] */ REFIID riid,
  1311. /* [iid_is][out] */ void **ppvObject);
  1312. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1313. IPropertyPage * This);
  1314. ULONG ( STDMETHODCALLTYPE *Release )(
  1315. IPropertyPage * This);
  1316. HRESULT ( STDMETHODCALLTYPE *SetPageSite )(
  1317. IPropertyPage * This,
  1318. /* [in] */ IPropertyPageSite *pPageSite);
  1319. HRESULT ( STDMETHODCALLTYPE *Activate )(
  1320. IPropertyPage * This,
  1321. /* [in] */ HWND hWndParent,
  1322. /* [in] */ LPCRECT pRect,
  1323. /* [in] */ BOOL bModal);
  1324. HRESULT ( STDMETHODCALLTYPE *Deactivate )(
  1325. IPropertyPage * This);
  1326. HRESULT ( STDMETHODCALLTYPE *GetPageInfo )(
  1327. IPropertyPage * This,
  1328. /* [out] */ PROPPAGEINFO *pPageInfo);
  1329. HRESULT ( STDMETHODCALLTYPE *SetObjects )(
  1330. IPropertyPage * This,
  1331. /* [in] */ ULONG cObjects,
  1332. /* [size_is][in] */ IUnknown **ppUnk);
  1333. HRESULT ( STDMETHODCALLTYPE *Show )(
  1334. IPropertyPage * This,
  1335. /* [in] */ UINT nCmdShow);
  1336. HRESULT ( STDMETHODCALLTYPE *Move )(
  1337. IPropertyPage * This,
  1338. /* [in] */ LPCRECT pRect);
  1339. HRESULT ( STDMETHODCALLTYPE *IsPageDirty )(
  1340. IPropertyPage * This);
  1341. HRESULT ( STDMETHODCALLTYPE *Apply )(
  1342. IPropertyPage * This);
  1343. HRESULT ( STDMETHODCALLTYPE *Help )(
  1344. IPropertyPage * This,
  1345. /* [in] */ LPCOLESTR pszHelpDir);
  1346. HRESULT ( STDMETHODCALLTYPE *TranslateAccelerator )(
  1347. IPropertyPage * This,
  1348. /* [in] */ MSG *pMsg);
  1349. END_INTERFACE
  1350. } IPropertyPageVtbl;
  1351. interface IPropertyPage
  1352. {
  1353. CONST_VTBL struct IPropertyPageVtbl *lpVtbl;
  1354. };
  1355. #ifdef COBJMACROS
  1356. #define IPropertyPage_QueryInterface(This,riid,ppvObject) \
  1357. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1358. #define IPropertyPage_AddRef(This) \
  1359. (This)->lpVtbl -> AddRef(This)
  1360. #define IPropertyPage_Release(This) \
  1361. (This)->lpVtbl -> Release(This)
  1362. #define IPropertyPage_SetPageSite(This,pPageSite) \
  1363. (This)->lpVtbl -> SetPageSite(This,pPageSite)
  1364. #define IPropertyPage_Activate(This,hWndParent,pRect,bModal) \
  1365. (This)->lpVtbl -> Activate(This,hWndParent,pRect,bModal)
  1366. #define IPropertyPage_Deactivate(This) \
  1367. (This)->lpVtbl -> Deactivate(This)
  1368. #define IPropertyPage_GetPageInfo(This,pPageInfo) \
  1369. (This)->lpVtbl -> GetPageInfo(This,pPageInfo)
  1370. #define IPropertyPage_SetObjects(This,cObjects,ppUnk) \
  1371. (This)->lpVtbl -> SetObjects(This,cObjects,ppUnk)
  1372. #define IPropertyPage_Show(This,nCmdShow) \
  1373. (This)->lpVtbl -> Show(This,nCmdShow)
  1374. #define IPropertyPage_Move(This,pRect) \
  1375. (This)->lpVtbl -> Move(This,pRect)
  1376. #define IPropertyPage_IsPageDirty(This) \
  1377. (This)->lpVtbl -> IsPageDirty(This)
  1378. #define IPropertyPage_Apply(This) \
  1379. (This)->lpVtbl -> Apply(This)
  1380. #define IPropertyPage_Help(This,pszHelpDir) \
  1381. (This)->lpVtbl -> Help(This,pszHelpDir)
  1382. #define IPropertyPage_TranslateAccelerator(This,pMsg) \
  1383. (This)->lpVtbl -> TranslateAccelerator(This,pMsg)
  1384. #endif /* COBJMACROS */
  1385. #endif /* C style interface */
  1386. HRESULT STDMETHODCALLTYPE IPropertyPage_SetPageSite_Proxy(
  1387. IPropertyPage * This,
  1388. /* [in] */ IPropertyPageSite *pPageSite);
  1389. void __RPC_STUB IPropertyPage_SetPageSite_Stub(
  1390. IRpcStubBuffer *This,
  1391. IRpcChannelBuffer *_pRpcChannelBuffer,
  1392. PRPC_MESSAGE _pRpcMessage,
  1393. DWORD *_pdwStubPhase);
  1394. HRESULT STDMETHODCALLTYPE IPropertyPage_Activate_Proxy(
  1395. IPropertyPage * This,
  1396. /* [in] */ HWND hWndParent,
  1397. /* [in] */ LPCRECT pRect,
  1398. /* [in] */ BOOL bModal);
  1399. void __RPC_STUB IPropertyPage_Activate_Stub(
  1400. IRpcStubBuffer *This,
  1401. IRpcChannelBuffer *_pRpcChannelBuffer,
  1402. PRPC_MESSAGE _pRpcMessage,
  1403. DWORD *_pdwStubPhase);
  1404. HRESULT STDMETHODCALLTYPE IPropertyPage_Deactivate_Proxy(
  1405. IPropertyPage * This);
  1406. void __RPC_STUB IPropertyPage_Deactivate_Stub(
  1407. IRpcStubBuffer *This,
  1408. IRpcChannelBuffer *_pRpcChannelBuffer,
  1409. PRPC_MESSAGE _pRpcMessage,
  1410. DWORD *_pdwStubPhase);
  1411. HRESULT STDMETHODCALLTYPE IPropertyPage_GetPageInfo_Proxy(
  1412. IPropertyPage * This,
  1413. /* [out] */ PROPPAGEINFO *pPageInfo);
  1414. void __RPC_STUB IPropertyPage_GetPageInfo_Stub(
  1415. IRpcStubBuffer *This,
  1416. IRpcChannelBuffer *_pRpcChannelBuffer,
  1417. PRPC_MESSAGE _pRpcMessage,
  1418. DWORD *_pdwStubPhase);
  1419. HRESULT STDMETHODCALLTYPE IPropertyPage_SetObjects_Proxy(
  1420. IPropertyPage * This,
  1421. /* [in] */ ULONG cObjects,
  1422. /* [size_is][in] */ IUnknown **ppUnk);
  1423. void __RPC_STUB IPropertyPage_SetObjects_Stub(
  1424. IRpcStubBuffer *This,
  1425. IRpcChannelBuffer *_pRpcChannelBuffer,
  1426. PRPC_MESSAGE _pRpcMessage,
  1427. DWORD *_pdwStubPhase);
  1428. HRESULT STDMETHODCALLTYPE IPropertyPage_Show_Proxy(
  1429. IPropertyPage * This,
  1430. /* [in] */ UINT nCmdShow);
  1431. void __RPC_STUB IPropertyPage_Show_Stub(
  1432. IRpcStubBuffer *This,
  1433. IRpcChannelBuffer *_pRpcChannelBuffer,
  1434. PRPC_MESSAGE _pRpcMessage,
  1435. DWORD *_pdwStubPhase);
  1436. HRESULT STDMETHODCALLTYPE IPropertyPage_Move_Proxy(
  1437. IPropertyPage * This,
  1438. /* [in] */ LPCRECT pRect);
  1439. void __RPC_STUB IPropertyPage_Move_Stub(
  1440. IRpcStubBuffer *This,
  1441. IRpcChannelBuffer *_pRpcChannelBuffer,
  1442. PRPC_MESSAGE _pRpcMessage,
  1443. DWORD *_pdwStubPhase);
  1444. HRESULT STDMETHODCALLTYPE IPropertyPage_IsPageDirty_Proxy(
  1445. IPropertyPage * This);
  1446. void __RPC_STUB IPropertyPage_IsPageDirty_Stub(
  1447. IRpcStubBuffer *This,
  1448. IRpcChannelBuffer *_pRpcChannelBuffer,
  1449. PRPC_MESSAGE _pRpcMessage,
  1450. DWORD *_pdwStubPhase);
  1451. HRESULT STDMETHODCALLTYPE IPropertyPage_Apply_Proxy(
  1452. IPropertyPage * This);
  1453. void __RPC_STUB IPropertyPage_Apply_Stub(
  1454. IRpcStubBuffer *This,
  1455. IRpcChannelBuffer *_pRpcChannelBuffer,
  1456. PRPC_MESSAGE _pRpcMessage,
  1457. DWORD *_pdwStubPhase);
  1458. HRESULT STDMETHODCALLTYPE IPropertyPage_Help_Proxy(
  1459. IPropertyPage * This,
  1460. /* [in] */ LPCOLESTR pszHelpDir);
  1461. void __RPC_STUB IPropertyPage_Help_Stub(
  1462. IRpcStubBuffer *This,
  1463. IRpcChannelBuffer *_pRpcChannelBuffer,
  1464. PRPC_MESSAGE _pRpcMessage,
  1465. DWORD *_pdwStubPhase);
  1466. HRESULT STDMETHODCALLTYPE IPropertyPage_TranslateAccelerator_Proxy(
  1467. IPropertyPage * This,
  1468. /* [in] */ MSG *pMsg);
  1469. void __RPC_STUB IPropertyPage_TranslateAccelerator_Stub(
  1470. IRpcStubBuffer *This,
  1471. IRpcChannelBuffer *_pRpcChannelBuffer,
  1472. PRPC_MESSAGE _pRpcMessage,
  1473. DWORD *_pdwStubPhase);
  1474. #endif /* __IPropertyPage_INTERFACE_DEFINED__ */
  1475. #ifndef __IPropertyPage2_INTERFACE_DEFINED__
  1476. #define __IPropertyPage2_INTERFACE_DEFINED__
  1477. /* interface IPropertyPage2 */
  1478. /* [unique][uuid][object] */
  1479. typedef IPropertyPage2 *LPPROPERTYPAGE2;
  1480. EXTERN_C const IID IID_IPropertyPage2;
  1481. #if defined(__cplusplus) && !defined(CINTERFACE)
  1482. MIDL_INTERFACE("01E44665-24AC-101B-84ED-08002B2EC713")
  1483. IPropertyPage2 : public IPropertyPage
  1484. {
  1485. public:
  1486. virtual HRESULT STDMETHODCALLTYPE EditProperty(
  1487. /* [in] */ DISPID dispID) = 0;
  1488. };
  1489. #else /* C style interface */
  1490. typedef struct IPropertyPage2Vtbl
  1491. {
  1492. BEGIN_INTERFACE
  1493. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1494. IPropertyPage2 * This,
  1495. /* [in] */ REFIID riid,
  1496. /* [iid_is][out] */ void **ppvObject);
  1497. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1498. IPropertyPage2 * This);
  1499. ULONG ( STDMETHODCALLTYPE *Release )(
  1500. IPropertyPage2 * This);
  1501. HRESULT ( STDMETHODCALLTYPE *SetPageSite )(
  1502. IPropertyPage2 * This,
  1503. /* [in] */ IPropertyPageSite *pPageSite);
  1504. HRESULT ( STDMETHODCALLTYPE *Activate )(
  1505. IPropertyPage2 * This,
  1506. /* [in] */ HWND hWndParent,
  1507. /* [in] */ LPCRECT pRect,
  1508. /* [in] */ BOOL bModal);
  1509. HRESULT ( STDMETHODCALLTYPE *Deactivate )(
  1510. IPropertyPage2 * This);
  1511. HRESULT ( STDMETHODCALLTYPE *GetPageInfo )(
  1512. IPropertyPage2 * This,
  1513. /* [out] */ PROPPAGEINFO *pPageInfo);
  1514. HRESULT ( STDMETHODCALLTYPE *SetObjects )(
  1515. IPropertyPage2 * This,
  1516. /* [in] */ ULONG cObjects,
  1517. /* [size_is][in] */ IUnknown **ppUnk);
  1518. HRESULT ( STDMETHODCALLTYPE *Show )(
  1519. IPropertyPage2 * This,
  1520. /* [in] */ UINT nCmdShow);
  1521. HRESULT ( STDMETHODCALLTYPE *Move )(
  1522. IPropertyPage2 * This,
  1523. /* [in] */ LPCRECT pRect);
  1524. HRESULT ( STDMETHODCALLTYPE *IsPageDirty )(
  1525. IPropertyPage2 * This);
  1526. HRESULT ( STDMETHODCALLTYPE *Apply )(
  1527. IPropertyPage2 * This);
  1528. HRESULT ( STDMETHODCALLTYPE *Help )(
  1529. IPropertyPage2 * This,
  1530. /* [in] */ LPCOLESTR pszHelpDir);
  1531. HRESULT ( STDMETHODCALLTYPE *TranslateAccelerator )(
  1532. IPropertyPage2 * This,
  1533. /* [in] */ MSG *pMsg);
  1534. HRESULT ( STDMETHODCALLTYPE *EditProperty )(
  1535. IPropertyPage2 * This,
  1536. /* [in] */ DISPID dispID);
  1537. END_INTERFACE
  1538. } IPropertyPage2Vtbl;
  1539. interface IPropertyPage2
  1540. {
  1541. CONST_VTBL struct IPropertyPage2Vtbl *lpVtbl;
  1542. };
  1543. #ifdef COBJMACROS
  1544. #define IPropertyPage2_QueryInterface(This,riid,ppvObject) \
  1545. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1546. #define IPropertyPage2_AddRef(This) \
  1547. (This)->lpVtbl -> AddRef(This)
  1548. #define IPropertyPage2_Release(This) \
  1549. (This)->lpVtbl -> Release(This)
  1550. #define IPropertyPage2_SetPageSite(This,pPageSite) \
  1551. (This)->lpVtbl -> SetPageSite(This,pPageSite)
  1552. #define IPropertyPage2_Activate(This,hWndParent,pRect,bModal) \
  1553. (This)->lpVtbl -> Activate(This,hWndParent,pRect,bModal)
  1554. #define IPropertyPage2_Deactivate(This) \
  1555. (This)->lpVtbl -> Deactivate(This)
  1556. #define IPropertyPage2_GetPageInfo(This,pPageInfo) \
  1557. (This)->lpVtbl -> GetPageInfo(This,pPageInfo)
  1558. #define IPropertyPage2_SetObjects(This,cObjects,ppUnk) \
  1559. (This)->lpVtbl -> SetObjects(This,cObjects,ppUnk)
  1560. #define IPropertyPage2_Show(This,nCmdShow) \
  1561. (This)->lpVtbl -> Show(This,nCmdShow)
  1562. #define IPropertyPage2_Move(This,pRect) \
  1563. (This)->lpVtbl -> Move(This,pRect)
  1564. #define IPropertyPage2_IsPageDirty(This) \
  1565. (This)->lpVtbl -> IsPageDirty(This)
  1566. #define IPropertyPage2_Apply(This) \
  1567. (This)->lpVtbl -> Apply(This)
  1568. #define IPropertyPage2_Help(This,pszHelpDir) \
  1569. (This)->lpVtbl -> Help(This,pszHelpDir)
  1570. #define IPropertyPage2_TranslateAccelerator(This,pMsg) \
  1571. (This)->lpVtbl -> TranslateAccelerator(This,pMsg)
  1572. #define IPropertyPage2_EditProperty(This,dispID) \
  1573. (This)->lpVtbl -> EditProperty(This,dispID)
  1574. #endif /* COBJMACROS */
  1575. #endif /* C style interface */
  1576. HRESULT STDMETHODCALLTYPE IPropertyPage2_EditProperty_Proxy(
  1577. IPropertyPage2 * This,
  1578. /* [in] */ DISPID dispID);
  1579. void __RPC_STUB IPropertyPage2_EditProperty_Stub(
  1580. IRpcStubBuffer *This,
  1581. IRpcChannelBuffer *_pRpcChannelBuffer,
  1582. PRPC_MESSAGE _pRpcMessage,
  1583. DWORD *_pdwStubPhase);
  1584. #endif /* __IPropertyPage2_INTERFACE_DEFINED__ */
  1585. #ifndef __IPropertyPageSite_INTERFACE_DEFINED__
  1586. #define __IPropertyPageSite_INTERFACE_DEFINED__
  1587. /* interface IPropertyPageSite */
  1588. /* [unique][uuid][object] */
  1589. typedef IPropertyPageSite *LPPROPERTYPAGESITE;
  1590. typedef
  1591. enum tagPROPPAGESTATUS
  1592. { PROPPAGESTATUS_DIRTY = 0x1,
  1593. PROPPAGESTATUS_VALIDATE = 0x2,
  1594. PROPPAGESTATUS_CLEAN = 0x4
  1595. } PROPPAGESTATUS;
  1596. EXTERN_C const IID IID_IPropertyPageSite;
  1597. #if defined(__cplusplus) && !defined(CINTERFACE)
  1598. MIDL_INTERFACE("B196B28C-BAB4-101A-B69C-00AA00341D07")
  1599. IPropertyPageSite : public IUnknown
  1600. {
  1601. public:
  1602. virtual HRESULT STDMETHODCALLTYPE OnStatusChange(
  1603. /* [in] */ DWORD dwFlags) = 0;
  1604. virtual HRESULT STDMETHODCALLTYPE GetLocaleID(
  1605. /* [out] */ LCID *pLocaleID) = 0;
  1606. virtual HRESULT STDMETHODCALLTYPE GetPageContainer(
  1607. /* [out] */ IUnknown **ppUnk) = 0;
  1608. virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
  1609. /* [in] */ MSG *pMsg) = 0;
  1610. };
  1611. #else /* C style interface */
  1612. typedef struct IPropertyPageSiteVtbl
  1613. {
  1614. BEGIN_INTERFACE
  1615. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1616. IPropertyPageSite * This,
  1617. /* [in] */ REFIID riid,
  1618. /* [iid_is][out] */ void **ppvObject);
  1619. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1620. IPropertyPageSite * This);
  1621. ULONG ( STDMETHODCALLTYPE *Release )(
  1622. IPropertyPageSite * This);
  1623. HRESULT ( STDMETHODCALLTYPE *OnStatusChange )(
  1624. IPropertyPageSite * This,
  1625. /* [in] */ DWORD dwFlags);
  1626. HRESULT ( STDMETHODCALLTYPE *GetLocaleID )(
  1627. IPropertyPageSite * This,
  1628. /* [out] */ LCID *pLocaleID);
  1629. HRESULT ( STDMETHODCALLTYPE *GetPageContainer )(
  1630. IPropertyPageSite * This,
  1631. /* [out] */ IUnknown **ppUnk);
  1632. HRESULT ( STDMETHODCALLTYPE *TranslateAccelerator )(
  1633. IPropertyPageSite * This,
  1634. /* [in] */ MSG *pMsg);
  1635. END_INTERFACE
  1636. } IPropertyPageSiteVtbl;
  1637. interface IPropertyPageSite
  1638. {
  1639. CONST_VTBL struct IPropertyPageSiteVtbl *lpVtbl;
  1640. };
  1641. #ifdef COBJMACROS
  1642. #define IPropertyPageSite_QueryInterface(This,riid,ppvObject) \
  1643. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1644. #define IPropertyPageSite_AddRef(This) \
  1645. (This)->lpVtbl -> AddRef(This)
  1646. #define IPropertyPageSite_Release(This) \
  1647. (This)->lpVtbl -> Release(This)
  1648. #define IPropertyPageSite_OnStatusChange(This,dwFlags) \
  1649. (This)->lpVtbl -> OnStatusChange(This,dwFlags)
  1650. #define IPropertyPageSite_GetLocaleID(This,pLocaleID) \
  1651. (This)->lpVtbl -> GetLocaleID(This,pLocaleID)
  1652. #define IPropertyPageSite_GetPageContainer(This,ppUnk) \
  1653. (This)->lpVtbl -> GetPageContainer(This,ppUnk)
  1654. #define IPropertyPageSite_TranslateAccelerator(This,pMsg) \
  1655. (This)->lpVtbl -> TranslateAccelerator(This,pMsg)
  1656. #endif /* COBJMACROS */
  1657. #endif /* C style interface */
  1658. HRESULT STDMETHODCALLTYPE IPropertyPageSite_OnStatusChange_Proxy(
  1659. IPropertyPageSite * This,
  1660. /* [in] */ DWORD dwFlags);
  1661. void __RPC_STUB IPropertyPageSite_OnStatusChange_Stub(
  1662. IRpcStubBuffer *This,
  1663. IRpcChannelBuffer *_pRpcChannelBuffer,
  1664. PRPC_MESSAGE _pRpcMessage,
  1665. DWORD *_pdwStubPhase);
  1666. HRESULT STDMETHODCALLTYPE IPropertyPageSite_GetLocaleID_Proxy(
  1667. IPropertyPageSite * This,
  1668. /* [out] */ LCID *pLocaleID);
  1669. void __RPC_STUB IPropertyPageSite_GetLocaleID_Stub(
  1670. IRpcStubBuffer *This,
  1671. IRpcChannelBuffer *_pRpcChannelBuffer,
  1672. PRPC_MESSAGE _pRpcMessage,
  1673. DWORD *_pdwStubPhase);
  1674. HRESULT STDMETHODCALLTYPE IPropertyPageSite_GetPageContainer_Proxy(
  1675. IPropertyPageSite * This,
  1676. /* [out] */ IUnknown **ppUnk);
  1677. void __RPC_STUB IPropertyPageSite_GetPageContainer_Stub(
  1678. IRpcStubBuffer *This,
  1679. IRpcChannelBuffer *_pRpcChannelBuffer,
  1680. PRPC_MESSAGE _pRpcMessage,
  1681. DWORD *_pdwStubPhase);
  1682. HRESULT STDMETHODCALLTYPE IPropertyPageSite_TranslateAccelerator_Proxy(
  1683. IPropertyPageSite * This,
  1684. /* [in] */ MSG *pMsg);
  1685. void __RPC_STUB IPropertyPageSite_TranslateAccelerator_Stub(
  1686. IRpcStubBuffer *This,
  1687. IRpcChannelBuffer *_pRpcChannelBuffer,
  1688. PRPC_MESSAGE _pRpcMessage,
  1689. DWORD *_pdwStubPhase);
  1690. #endif /* __IPropertyPageSite_INTERFACE_DEFINED__ */
  1691. #ifndef __IPropertyNotifySink_INTERFACE_DEFINED__
  1692. #define __IPropertyNotifySink_INTERFACE_DEFINED__
  1693. /* interface IPropertyNotifySink */
  1694. /* [unique][uuid][object] */
  1695. typedef IPropertyNotifySink *LPPROPERTYNOTIFYSINK;
  1696. EXTERN_C const IID IID_IPropertyNotifySink;
  1697. #if defined(__cplusplus) && !defined(CINTERFACE)
  1698. MIDL_INTERFACE("9BFBBC02-EFF1-101A-84ED-00AA00341D07")
  1699. IPropertyNotifySink : public IUnknown
  1700. {
  1701. public:
  1702. virtual HRESULT STDMETHODCALLTYPE OnChanged(
  1703. /* [in] */ DISPID dispID) = 0;
  1704. virtual HRESULT STDMETHODCALLTYPE OnRequestEdit(
  1705. /* [in] */ DISPID dispID) = 0;
  1706. };
  1707. #else /* C style interface */
  1708. typedef struct IPropertyNotifySinkVtbl
  1709. {
  1710. BEGIN_INTERFACE
  1711. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1712. IPropertyNotifySink * This,
  1713. /* [in] */ REFIID riid,
  1714. /* [iid_is][out] */ void **ppvObject);
  1715. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1716. IPropertyNotifySink * This);
  1717. ULONG ( STDMETHODCALLTYPE *Release )(
  1718. IPropertyNotifySink * This);
  1719. HRESULT ( STDMETHODCALLTYPE *OnChanged )(
  1720. IPropertyNotifySink * This,
  1721. /* [in] */ DISPID dispID);
  1722. HRESULT ( STDMETHODCALLTYPE *OnRequestEdit )(
  1723. IPropertyNotifySink * This,
  1724. /* [in] */ DISPID dispID);
  1725. END_INTERFACE
  1726. } IPropertyNotifySinkVtbl;
  1727. interface IPropertyNotifySink
  1728. {
  1729. CONST_VTBL struct IPropertyNotifySinkVtbl *lpVtbl;
  1730. };
  1731. #ifdef COBJMACROS
  1732. #define IPropertyNotifySink_QueryInterface(This,riid,ppvObject) \
  1733. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1734. #define IPropertyNotifySink_AddRef(This) \
  1735. (This)->lpVtbl -> AddRef(This)
  1736. #define IPropertyNotifySink_Release(This) \
  1737. (This)->lpVtbl -> Release(This)
  1738. #define IPropertyNotifySink_OnChanged(This,dispID) \
  1739. (This)->lpVtbl -> OnChanged(This,dispID)
  1740. #define IPropertyNotifySink_OnRequestEdit(This,dispID) \
  1741. (This)->lpVtbl -> OnRequestEdit(This,dispID)
  1742. #endif /* COBJMACROS */
  1743. #endif /* C style interface */
  1744. HRESULT STDMETHODCALLTYPE IPropertyNotifySink_OnChanged_Proxy(
  1745. IPropertyNotifySink * This,
  1746. /* [in] */ DISPID dispID);
  1747. void __RPC_STUB IPropertyNotifySink_OnChanged_Stub(
  1748. IRpcStubBuffer *This,
  1749. IRpcChannelBuffer *_pRpcChannelBuffer,
  1750. PRPC_MESSAGE _pRpcMessage,
  1751. DWORD *_pdwStubPhase);
  1752. HRESULT STDMETHODCALLTYPE IPropertyNotifySink_OnRequestEdit_Proxy(
  1753. IPropertyNotifySink * This,
  1754. /* [in] */ DISPID dispID);
  1755. void __RPC_STUB IPropertyNotifySink_OnRequestEdit_Stub(
  1756. IRpcStubBuffer *This,
  1757. IRpcChannelBuffer *_pRpcChannelBuffer,
  1758. PRPC_MESSAGE _pRpcMessage,
  1759. DWORD *_pdwStubPhase);
  1760. #endif /* __IPropertyNotifySink_INTERFACE_DEFINED__ */
  1761. #ifndef __ISpecifyPropertyPages_INTERFACE_DEFINED__
  1762. #define __ISpecifyPropertyPages_INTERFACE_DEFINED__
  1763. /* interface ISpecifyPropertyPages */
  1764. /* [unique][uuid][object] */
  1765. typedef ISpecifyPropertyPages *LPSPECIFYPROPERTYPAGES;
  1766. typedef struct tagCAUUID
  1767. {
  1768. ULONG cElems;
  1769. /* [size_is] */ GUID *pElems;
  1770. } CAUUID;
  1771. typedef struct tagCAUUID *LPCAUUID;
  1772. EXTERN_C const IID IID_ISpecifyPropertyPages;
  1773. #if defined(__cplusplus) && !defined(CINTERFACE)
  1774. MIDL_INTERFACE("B196B28B-BAB4-101A-B69C-00AA00341D07")
  1775. ISpecifyPropertyPages : public IUnknown
  1776. {
  1777. public:
  1778. virtual HRESULT STDMETHODCALLTYPE GetPages(
  1779. /* [out] */ CAUUID *pPages) = 0;
  1780. };
  1781. #else /* C style interface */
  1782. typedef struct ISpecifyPropertyPagesVtbl
  1783. {
  1784. BEGIN_INTERFACE
  1785. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1786. ISpecifyPropertyPages * This,
  1787. /* [in] */ REFIID riid,
  1788. /* [iid_is][out] */ void **ppvObject);
  1789. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1790. ISpecifyPropertyPages * This);
  1791. ULONG ( STDMETHODCALLTYPE *Release )(
  1792. ISpecifyPropertyPages * This);
  1793. HRESULT ( STDMETHODCALLTYPE *GetPages )(
  1794. ISpecifyPropertyPages * This,
  1795. /* [out] */ CAUUID *pPages);
  1796. END_INTERFACE
  1797. } ISpecifyPropertyPagesVtbl;
  1798. interface ISpecifyPropertyPages
  1799. {
  1800. CONST_VTBL struct ISpecifyPropertyPagesVtbl *lpVtbl;
  1801. };
  1802. #ifdef COBJMACROS
  1803. #define ISpecifyPropertyPages_QueryInterface(This,riid,ppvObject) \
  1804. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1805. #define ISpecifyPropertyPages_AddRef(This) \
  1806. (This)->lpVtbl -> AddRef(This)
  1807. #define ISpecifyPropertyPages_Release(This) \
  1808. (This)->lpVtbl -> Release(This)
  1809. #define ISpecifyPropertyPages_GetPages(This,pPages) \
  1810. (This)->lpVtbl -> GetPages(This,pPages)
  1811. #endif /* COBJMACROS */
  1812. #endif /* C style interface */
  1813. HRESULT STDMETHODCALLTYPE ISpecifyPropertyPages_GetPages_Proxy(
  1814. ISpecifyPropertyPages * This,
  1815. /* [out] */ CAUUID *pPages);
  1816. void __RPC_STUB ISpecifyPropertyPages_GetPages_Stub(
  1817. IRpcStubBuffer *This,
  1818. IRpcChannelBuffer *_pRpcChannelBuffer,
  1819. PRPC_MESSAGE _pRpcMessage,
  1820. DWORD *_pdwStubPhase);
  1821. #endif /* __ISpecifyPropertyPages_INTERFACE_DEFINED__ */
  1822. #ifndef __IPersistMemory_INTERFACE_DEFINED__
  1823. #define __IPersistMemory_INTERFACE_DEFINED__
  1824. /* interface IPersistMemory */
  1825. /* [unique][uuid][object] */
  1826. typedef IPersistMemory *LPPERSISTMEMORY;
  1827. EXTERN_C const IID IID_IPersistMemory;
  1828. #if defined(__cplusplus) && !defined(CINTERFACE)
  1829. MIDL_INTERFACE("BD1AE5E0-A6AE-11CE-BD37-504200C10000")
  1830. IPersistMemory : public IPersist
  1831. {
  1832. public:
  1833. virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
  1834. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Load(
  1835. /* [size_is][in] */ LPVOID pMem,
  1836. /* [in] */ ULONG cbSize) = 0;
  1837. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Save(
  1838. /* [size_is][out] */ LPVOID pMem,
  1839. /* [in] */ BOOL fClearDirty,
  1840. /* [in] */ ULONG cbSize) = 0;
  1841. virtual HRESULT STDMETHODCALLTYPE GetSizeMax(
  1842. /* [out] */ ULONG *pCbSize) = 0;
  1843. virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  1844. };
  1845. #else /* C style interface */
  1846. typedef struct IPersistMemoryVtbl
  1847. {
  1848. BEGIN_INTERFACE
  1849. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1850. IPersistMemory * This,
  1851. /* [in] */ REFIID riid,
  1852. /* [iid_is][out] */ void **ppvObject);
  1853. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1854. IPersistMemory * This);
  1855. ULONG ( STDMETHODCALLTYPE *Release )(
  1856. IPersistMemory * This);
  1857. HRESULT ( STDMETHODCALLTYPE *GetClassID )(
  1858. IPersistMemory * This,
  1859. /* [out] */ CLSID *pClassID);
  1860. HRESULT ( STDMETHODCALLTYPE *IsDirty )(
  1861. IPersistMemory * This);
  1862. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Load )(
  1863. IPersistMemory * This,
  1864. /* [size_is][in] */ LPVOID pMem,
  1865. /* [in] */ ULONG cbSize);
  1866. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Save )(
  1867. IPersistMemory * This,
  1868. /* [size_is][out] */ LPVOID pMem,
  1869. /* [in] */ BOOL fClearDirty,
  1870. /* [in] */ ULONG cbSize);
  1871. HRESULT ( STDMETHODCALLTYPE *GetSizeMax )(
  1872. IPersistMemory * This,
  1873. /* [out] */ ULONG *pCbSize);
  1874. HRESULT ( STDMETHODCALLTYPE *InitNew )(
  1875. IPersistMemory * This);
  1876. END_INTERFACE
  1877. } IPersistMemoryVtbl;
  1878. interface IPersistMemory
  1879. {
  1880. CONST_VTBL struct IPersistMemoryVtbl *lpVtbl;
  1881. };
  1882. #ifdef COBJMACROS
  1883. #define IPersistMemory_QueryInterface(This,riid,ppvObject) \
  1884. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1885. #define IPersistMemory_AddRef(This) \
  1886. (This)->lpVtbl -> AddRef(This)
  1887. #define IPersistMemory_Release(This) \
  1888. (This)->lpVtbl -> Release(This)
  1889. #define IPersistMemory_GetClassID(This,pClassID) \
  1890. (This)->lpVtbl -> GetClassID(This,pClassID)
  1891. #define IPersistMemory_IsDirty(This) \
  1892. (This)->lpVtbl -> IsDirty(This)
  1893. #define IPersistMemory_Load(This,pMem,cbSize) \
  1894. (This)->lpVtbl -> Load(This,pMem,cbSize)
  1895. #define IPersistMemory_Save(This,pMem,fClearDirty,cbSize) \
  1896. (This)->lpVtbl -> Save(This,pMem,fClearDirty,cbSize)
  1897. #define IPersistMemory_GetSizeMax(This,pCbSize) \
  1898. (This)->lpVtbl -> GetSizeMax(This,pCbSize)
  1899. #define IPersistMemory_InitNew(This) \
  1900. (This)->lpVtbl -> InitNew(This)
  1901. #endif /* COBJMACROS */
  1902. #endif /* C style interface */
  1903. HRESULT STDMETHODCALLTYPE IPersistMemory_IsDirty_Proxy(
  1904. IPersistMemory * This);
  1905. void __RPC_STUB IPersistMemory_IsDirty_Stub(
  1906. IRpcStubBuffer *This,
  1907. IRpcChannelBuffer *_pRpcChannelBuffer,
  1908. PRPC_MESSAGE _pRpcMessage,
  1909. DWORD *_pdwStubPhase);
  1910. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPersistMemory_RemoteLoad_Proxy(
  1911. IPersistMemory * This,
  1912. /* [size_is][in] */ BYTE *pMem,
  1913. /* [in] */ ULONG cbSize);
  1914. void __RPC_STUB IPersistMemory_RemoteLoad_Stub(
  1915. IRpcStubBuffer *This,
  1916. IRpcChannelBuffer *_pRpcChannelBuffer,
  1917. PRPC_MESSAGE _pRpcMessage,
  1918. DWORD *_pdwStubPhase);
  1919. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPersistMemory_RemoteSave_Proxy(
  1920. IPersistMemory * This,
  1921. /* [size_is][out] */ BYTE *pMem,
  1922. /* [in] */ BOOL fClearDirty,
  1923. /* [in] */ ULONG cbSize);
  1924. void __RPC_STUB IPersistMemory_RemoteSave_Stub(
  1925. IRpcStubBuffer *This,
  1926. IRpcChannelBuffer *_pRpcChannelBuffer,
  1927. PRPC_MESSAGE _pRpcMessage,
  1928. DWORD *_pdwStubPhase);
  1929. HRESULT STDMETHODCALLTYPE IPersistMemory_GetSizeMax_Proxy(
  1930. IPersistMemory * This,
  1931. /* [out] */ ULONG *pCbSize);
  1932. void __RPC_STUB IPersistMemory_GetSizeMax_Stub(
  1933. IRpcStubBuffer *This,
  1934. IRpcChannelBuffer *_pRpcChannelBuffer,
  1935. PRPC_MESSAGE _pRpcMessage,
  1936. DWORD *_pdwStubPhase);
  1937. HRESULT STDMETHODCALLTYPE IPersistMemory_InitNew_Proxy(
  1938. IPersistMemory * This);
  1939. void __RPC_STUB IPersistMemory_InitNew_Stub(
  1940. IRpcStubBuffer *This,
  1941. IRpcChannelBuffer *_pRpcChannelBuffer,
  1942. PRPC_MESSAGE _pRpcMessage,
  1943. DWORD *_pdwStubPhase);
  1944. #endif /* __IPersistMemory_INTERFACE_DEFINED__ */
  1945. #ifndef __IPersistStreamInit_INTERFACE_DEFINED__
  1946. #define __IPersistStreamInit_INTERFACE_DEFINED__
  1947. /* interface IPersistStreamInit */
  1948. /* [unique][uuid][object] */
  1949. typedef IPersistStreamInit *LPPERSISTSTREAMINIT;
  1950. EXTERN_C const IID IID_IPersistStreamInit;
  1951. #if defined(__cplusplus) && !defined(CINTERFACE)
  1952. MIDL_INTERFACE("7FD52380-4E07-101B-AE2D-08002B2EC713")
  1953. IPersistStreamInit : public IPersist
  1954. {
  1955. public:
  1956. virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
  1957. virtual HRESULT STDMETHODCALLTYPE Load(
  1958. /* [in] */ LPSTREAM pStm) = 0;
  1959. virtual HRESULT STDMETHODCALLTYPE Save(
  1960. /* [in] */ LPSTREAM pStm,
  1961. /* [in] */ BOOL fClearDirty) = 0;
  1962. virtual HRESULT STDMETHODCALLTYPE GetSizeMax(
  1963. /* [out] */ ULARGE_INTEGER *pCbSize) = 0;
  1964. virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  1965. };
  1966. #else /* C style interface */
  1967. typedef struct IPersistStreamInitVtbl
  1968. {
  1969. BEGIN_INTERFACE
  1970. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1971. IPersistStreamInit * This,
  1972. /* [in] */ REFIID riid,
  1973. /* [iid_is][out] */ void **ppvObject);
  1974. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1975. IPersistStreamInit * This);
  1976. ULONG ( STDMETHODCALLTYPE *Release )(
  1977. IPersistStreamInit * This);
  1978. HRESULT ( STDMETHODCALLTYPE *GetClassID )(
  1979. IPersistStreamInit * This,
  1980. /* [out] */ CLSID *pClassID);
  1981. HRESULT ( STDMETHODCALLTYPE *IsDirty )(
  1982. IPersistStreamInit * This);
  1983. HRESULT ( STDMETHODCALLTYPE *Load )(
  1984. IPersistStreamInit * This,
  1985. /* [in] */ LPSTREAM pStm);
  1986. HRESULT ( STDMETHODCALLTYPE *Save )(
  1987. IPersistStreamInit * This,
  1988. /* [in] */ LPSTREAM pStm,
  1989. /* [in] */ BOOL fClearDirty);
  1990. HRESULT ( STDMETHODCALLTYPE *GetSizeMax )(
  1991. IPersistStreamInit * This,
  1992. /* [out] */ ULARGE_INTEGER *pCbSize);
  1993. HRESULT ( STDMETHODCALLTYPE *InitNew )(
  1994. IPersistStreamInit * This);
  1995. END_INTERFACE
  1996. } IPersistStreamInitVtbl;
  1997. interface IPersistStreamInit
  1998. {
  1999. CONST_VTBL struct IPersistStreamInitVtbl *lpVtbl;
  2000. };
  2001. #ifdef COBJMACROS
  2002. #define IPersistStreamInit_QueryInterface(This,riid,ppvObject) \
  2003. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2004. #define IPersistStreamInit_AddRef(This) \
  2005. (This)->lpVtbl -> AddRef(This)
  2006. #define IPersistStreamInit_Release(This) \
  2007. (This)->lpVtbl -> Release(This)
  2008. #define IPersistStreamInit_GetClassID(This,pClassID) \
  2009. (This)->lpVtbl -> GetClassID(This,pClassID)
  2010. #define IPersistStreamInit_IsDirty(This) \
  2011. (This)->lpVtbl -> IsDirty(This)
  2012. #define IPersistStreamInit_Load(This,pStm) \
  2013. (This)->lpVtbl -> Load(This,pStm)
  2014. #define IPersistStreamInit_Save(This,pStm,fClearDirty) \
  2015. (This)->lpVtbl -> Save(This,pStm,fClearDirty)
  2016. #define IPersistStreamInit_GetSizeMax(This,pCbSize) \
  2017. (This)->lpVtbl -> GetSizeMax(This,pCbSize)
  2018. #define IPersistStreamInit_InitNew(This) \
  2019. (This)->lpVtbl -> InitNew(This)
  2020. #endif /* COBJMACROS */
  2021. #endif /* C style interface */
  2022. HRESULT STDMETHODCALLTYPE IPersistStreamInit_IsDirty_Proxy(
  2023. IPersistStreamInit * This);
  2024. void __RPC_STUB IPersistStreamInit_IsDirty_Stub(
  2025. IRpcStubBuffer *This,
  2026. IRpcChannelBuffer *_pRpcChannelBuffer,
  2027. PRPC_MESSAGE _pRpcMessage,
  2028. DWORD *_pdwStubPhase);
  2029. HRESULT STDMETHODCALLTYPE IPersistStreamInit_Load_Proxy(
  2030. IPersistStreamInit * This,
  2031. /* [in] */ LPSTREAM pStm);
  2032. void __RPC_STUB IPersistStreamInit_Load_Stub(
  2033. IRpcStubBuffer *This,
  2034. IRpcChannelBuffer *_pRpcChannelBuffer,
  2035. PRPC_MESSAGE _pRpcMessage,
  2036. DWORD *_pdwStubPhase);
  2037. HRESULT STDMETHODCALLTYPE IPersistStreamInit_Save_Proxy(
  2038. IPersistStreamInit * This,
  2039. /* [in] */ LPSTREAM pStm,
  2040. /* [in] */ BOOL fClearDirty);
  2041. void __RPC_STUB IPersistStreamInit_Save_Stub(
  2042. IRpcStubBuffer *This,
  2043. IRpcChannelBuffer *_pRpcChannelBuffer,
  2044. PRPC_MESSAGE _pRpcMessage,
  2045. DWORD *_pdwStubPhase);
  2046. HRESULT STDMETHODCALLTYPE IPersistStreamInit_GetSizeMax_Proxy(
  2047. IPersistStreamInit * This,
  2048. /* [out] */ ULARGE_INTEGER *pCbSize);
  2049. void __RPC_STUB IPersistStreamInit_GetSizeMax_Stub(
  2050. IRpcStubBuffer *This,
  2051. IRpcChannelBuffer *_pRpcChannelBuffer,
  2052. PRPC_MESSAGE _pRpcMessage,
  2053. DWORD *_pdwStubPhase);
  2054. HRESULT STDMETHODCALLTYPE IPersistStreamInit_InitNew_Proxy(
  2055. IPersistStreamInit * This);
  2056. void __RPC_STUB IPersistStreamInit_InitNew_Stub(
  2057. IRpcStubBuffer *This,
  2058. IRpcChannelBuffer *_pRpcChannelBuffer,
  2059. PRPC_MESSAGE _pRpcMessage,
  2060. DWORD *_pdwStubPhase);
  2061. #endif /* __IPersistStreamInit_INTERFACE_DEFINED__ */
  2062. #ifndef __IPersistPropertyBag_INTERFACE_DEFINED__
  2063. #define __IPersistPropertyBag_INTERFACE_DEFINED__
  2064. /* interface IPersistPropertyBag */
  2065. /* [unique][uuid][object] */
  2066. typedef IPersistPropertyBag *LPPERSISTPROPERTYBAG;
  2067. EXTERN_C const IID IID_IPersistPropertyBag;
  2068. #if defined(__cplusplus) && !defined(CINTERFACE)
  2069. MIDL_INTERFACE("37D84F60-42CB-11CE-8135-00AA004BB851")
  2070. IPersistPropertyBag : public IPersist
  2071. {
  2072. public:
  2073. virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  2074. virtual HRESULT STDMETHODCALLTYPE Load(
  2075. /* [in] */ IPropertyBag *pPropBag,
  2076. /* [in] */ IErrorLog *pErrorLog) = 0;
  2077. virtual HRESULT STDMETHODCALLTYPE Save(
  2078. /* [in] */ IPropertyBag *pPropBag,
  2079. /* [in] */ BOOL fClearDirty,
  2080. /* [in] */ BOOL fSaveAllProperties) = 0;
  2081. };
  2082. #else /* C style interface */
  2083. typedef struct IPersistPropertyBagVtbl
  2084. {
  2085. BEGIN_INTERFACE
  2086. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2087. IPersistPropertyBag * This,
  2088. /* [in] */ REFIID riid,
  2089. /* [iid_is][out] */ void **ppvObject);
  2090. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2091. IPersistPropertyBag * This);
  2092. ULONG ( STDMETHODCALLTYPE *Release )(
  2093. IPersistPropertyBag * This);
  2094. HRESULT ( STDMETHODCALLTYPE *GetClassID )(
  2095. IPersistPropertyBag * This,
  2096. /* [out] */ CLSID *pClassID);
  2097. HRESULT ( STDMETHODCALLTYPE *InitNew )(
  2098. IPersistPropertyBag * This);
  2099. HRESULT ( STDMETHODCALLTYPE *Load )(
  2100. IPersistPropertyBag * This,
  2101. /* [in] */ IPropertyBag *pPropBag,
  2102. /* [in] */ IErrorLog *pErrorLog);
  2103. HRESULT ( STDMETHODCALLTYPE *Save )(
  2104. IPersistPropertyBag * This,
  2105. /* [in] */ IPropertyBag *pPropBag,
  2106. /* [in] */ BOOL fClearDirty,
  2107. /* [in] */ BOOL fSaveAllProperties);
  2108. END_INTERFACE
  2109. } IPersistPropertyBagVtbl;
  2110. interface IPersistPropertyBag
  2111. {
  2112. CONST_VTBL struct IPersistPropertyBagVtbl *lpVtbl;
  2113. };
  2114. #ifdef COBJMACROS
  2115. #define IPersistPropertyBag_QueryInterface(This,riid,ppvObject) \
  2116. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2117. #define IPersistPropertyBag_AddRef(This) \
  2118. (This)->lpVtbl -> AddRef(This)
  2119. #define IPersistPropertyBag_Release(This) \
  2120. (This)->lpVtbl -> Release(This)
  2121. #define IPersistPropertyBag_GetClassID(This,pClassID) \
  2122. (This)->lpVtbl -> GetClassID(This,pClassID)
  2123. #define IPersistPropertyBag_InitNew(This) \
  2124. (This)->lpVtbl -> InitNew(This)
  2125. #define IPersistPropertyBag_Load(This,pPropBag,pErrorLog) \
  2126. (This)->lpVtbl -> Load(This,pPropBag,pErrorLog)
  2127. #define IPersistPropertyBag_Save(This,pPropBag,fClearDirty,fSaveAllProperties) \
  2128. (This)->lpVtbl -> Save(This,pPropBag,fClearDirty,fSaveAllProperties)
  2129. #endif /* COBJMACROS */
  2130. #endif /* C style interface */
  2131. HRESULT STDMETHODCALLTYPE IPersistPropertyBag_InitNew_Proxy(
  2132. IPersistPropertyBag * This);
  2133. void __RPC_STUB IPersistPropertyBag_InitNew_Stub(
  2134. IRpcStubBuffer *This,
  2135. IRpcChannelBuffer *_pRpcChannelBuffer,
  2136. PRPC_MESSAGE _pRpcMessage,
  2137. DWORD *_pdwStubPhase);
  2138. HRESULT STDMETHODCALLTYPE IPersistPropertyBag_Load_Proxy(
  2139. IPersistPropertyBag * This,
  2140. /* [in] */ IPropertyBag *pPropBag,
  2141. /* [in] */ IErrorLog *pErrorLog);
  2142. void __RPC_STUB IPersistPropertyBag_Load_Stub(
  2143. IRpcStubBuffer *This,
  2144. IRpcChannelBuffer *_pRpcChannelBuffer,
  2145. PRPC_MESSAGE _pRpcMessage,
  2146. DWORD *_pdwStubPhase);
  2147. HRESULT STDMETHODCALLTYPE IPersistPropertyBag_Save_Proxy(
  2148. IPersistPropertyBag * This,
  2149. /* [in] */ IPropertyBag *pPropBag,
  2150. /* [in] */ BOOL fClearDirty,
  2151. /* [in] */ BOOL fSaveAllProperties);
  2152. void __RPC_STUB IPersistPropertyBag_Save_Stub(
  2153. IRpcStubBuffer *This,
  2154. IRpcChannelBuffer *_pRpcChannelBuffer,
  2155. PRPC_MESSAGE _pRpcMessage,
  2156. DWORD *_pdwStubPhase);
  2157. #endif /* __IPersistPropertyBag_INTERFACE_DEFINED__ */
  2158. #ifndef __ISimpleFrameSite_INTERFACE_DEFINED__
  2159. #define __ISimpleFrameSite_INTERFACE_DEFINED__
  2160. /* interface ISimpleFrameSite */
  2161. /* [unique][uuid][object] */
  2162. typedef ISimpleFrameSite *LPSIMPLEFRAMESITE;
  2163. EXTERN_C const IID IID_ISimpleFrameSite;
  2164. #if defined(__cplusplus) && !defined(CINTERFACE)
  2165. MIDL_INTERFACE("742B0E01-14E6-101B-914E-00AA00300CAB")
  2166. ISimpleFrameSite : public IUnknown
  2167. {
  2168. public:
  2169. virtual HRESULT STDMETHODCALLTYPE PreMessageFilter(
  2170. /* [in] */ HWND hWnd,
  2171. /* [in] */ UINT msg,
  2172. /* [in] */ WPARAM wp,
  2173. /* [in] */ LPARAM lp,
  2174. /* [out] */ LRESULT *plResult,
  2175. /* [out] */ DWORD *pdwCookie) = 0;
  2176. virtual HRESULT STDMETHODCALLTYPE PostMessageFilter(
  2177. /* [in] */ HWND hWnd,
  2178. /* [in] */ UINT msg,
  2179. /* [in] */ WPARAM wp,
  2180. /* [in] */ LPARAM lp,
  2181. /* [out] */ LRESULT *plResult,
  2182. /* [in] */ DWORD dwCookie) = 0;
  2183. };
  2184. #else /* C style interface */
  2185. typedef struct ISimpleFrameSiteVtbl
  2186. {
  2187. BEGIN_INTERFACE
  2188. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2189. ISimpleFrameSite * This,
  2190. /* [in] */ REFIID riid,
  2191. /* [iid_is][out] */ void **ppvObject);
  2192. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2193. ISimpleFrameSite * This);
  2194. ULONG ( STDMETHODCALLTYPE *Release )(
  2195. ISimpleFrameSite * This);
  2196. HRESULT ( STDMETHODCALLTYPE *PreMessageFilter )(
  2197. ISimpleFrameSite * This,
  2198. /* [in] */ HWND hWnd,
  2199. /* [in] */ UINT msg,
  2200. /* [in] */ WPARAM wp,
  2201. /* [in] */ LPARAM lp,
  2202. /* [out] */ LRESULT *plResult,
  2203. /* [out] */ DWORD *pdwCookie);
  2204. HRESULT ( STDMETHODCALLTYPE *PostMessageFilter )(
  2205. ISimpleFrameSite * This,
  2206. /* [in] */ HWND hWnd,
  2207. /* [in] */ UINT msg,
  2208. /* [in] */ WPARAM wp,
  2209. /* [in] */ LPARAM lp,
  2210. /* [out] */ LRESULT *plResult,
  2211. /* [in] */ DWORD dwCookie);
  2212. END_INTERFACE
  2213. } ISimpleFrameSiteVtbl;
  2214. interface ISimpleFrameSite
  2215. {
  2216. CONST_VTBL struct ISimpleFrameSiteVtbl *lpVtbl;
  2217. };
  2218. #ifdef COBJMACROS
  2219. #define ISimpleFrameSite_QueryInterface(This,riid,ppvObject) \
  2220. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2221. #define ISimpleFrameSite_AddRef(This) \
  2222. (This)->lpVtbl -> AddRef(This)
  2223. #define ISimpleFrameSite_Release(This) \
  2224. (This)->lpVtbl -> Release(This)
  2225. #define ISimpleFrameSite_PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie) \
  2226. (This)->lpVtbl -> PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie)
  2227. #define ISimpleFrameSite_PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie) \
  2228. (This)->lpVtbl -> PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie)
  2229. #endif /* COBJMACROS */
  2230. #endif /* C style interface */
  2231. HRESULT STDMETHODCALLTYPE ISimpleFrameSite_PreMessageFilter_Proxy(
  2232. ISimpleFrameSite * This,
  2233. /* [in] */ HWND hWnd,
  2234. /* [in] */ UINT msg,
  2235. /* [in] */ WPARAM wp,
  2236. /* [in] */ LPARAM lp,
  2237. /* [out] */ LRESULT *plResult,
  2238. /* [out] */ DWORD *pdwCookie);
  2239. void __RPC_STUB ISimpleFrameSite_PreMessageFilter_Stub(
  2240. IRpcStubBuffer *This,
  2241. IRpcChannelBuffer *_pRpcChannelBuffer,
  2242. PRPC_MESSAGE _pRpcMessage,
  2243. DWORD *_pdwStubPhase);
  2244. HRESULT STDMETHODCALLTYPE ISimpleFrameSite_PostMessageFilter_Proxy(
  2245. ISimpleFrameSite * This,
  2246. /* [in] */ HWND hWnd,
  2247. /* [in] */ UINT msg,
  2248. /* [in] */ WPARAM wp,
  2249. /* [in] */ LPARAM lp,
  2250. /* [out] */ LRESULT *plResult,
  2251. /* [in] */ DWORD dwCookie);
  2252. void __RPC_STUB ISimpleFrameSite_PostMessageFilter_Stub(
  2253. IRpcStubBuffer *This,
  2254. IRpcChannelBuffer *_pRpcChannelBuffer,
  2255. PRPC_MESSAGE _pRpcMessage,
  2256. DWORD *_pdwStubPhase);
  2257. #endif /* __ISimpleFrameSite_INTERFACE_DEFINED__ */
  2258. #ifndef __IFont_INTERFACE_DEFINED__
  2259. #define __IFont_INTERFACE_DEFINED__
  2260. /* interface IFont */
  2261. /* [unique][uuid][object] */
  2262. typedef IFont *LPFONT;
  2263. #if (defined(_WIN32) || defined (_WIN64)) && !defined(OLE2ANSI)
  2264. typedef TEXTMETRICW TEXTMETRICOLE;
  2265. #else
  2266. typedef TEXTMETRIC TEXTMETRICOLE;
  2267. #endif
  2268. typedef TEXTMETRICOLE *LPTEXTMETRICOLE;
  2269. EXTERN_C const IID IID_IFont;
  2270. #if defined(__cplusplus) && !defined(CINTERFACE)
  2271. MIDL_INTERFACE("BEF6E002-A874-101A-8BBA-00AA00300CAB")
  2272. IFont : public IUnknown
  2273. {
  2274. public:
  2275. virtual HRESULT STDMETHODCALLTYPE get_Name(
  2276. /* [out] */ BSTR *pName) = 0;
  2277. virtual HRESULT STDMETHODCALLTYPE put_Name(
  2278. /* [in] */ BSTR name) = 0;
  2279. virtual HRESULT STDMETHODCALLTYPE get_Size(
  2280. /* [out] */ CY *pSize) = 0;
  2281. virtual HRESULT STDMETHODCALLTYPE put_Size(
  2282. /* [in] */ CY size) = 0;
  2283. virtual HRESULT STDMETHODCALLTYPE get_Bold(
  2284. /* [out] */ BOOL *pBold) = 0;
  2285. virtual HRESULT STDMETHODCALLTYPE put_Bold(
  2286. /* [in] */ BOOL bold) = 0;
  2287. virtual HRESULT STDMETHODCALLTYPE get_Italic(
  2288. /* [out] */ BOOL *pItalic) = 0;
  2289. virtual HRESULT STDMETHODCALLTYPE put_Italic(
  2290. /* [in] */ BOOL italic) = 0;
  2291. virtual HRESULT STDMETHODCALLTYPE get_Underline(
  2292. /* [out] */ BOOL *pUnderline) = 0;
  2293. virtual HRESULT STDMETHODCALLTYPE put_Underline(
  2294. /* [in] */ BOOL underline) = 0;
  2295. virtual HRESULT STDMETHODCALLTYPE get_Strikethrough(
  2296. /* [out] */ BOOL *pStrikethrough) = 0;
  2297. virtual HRESULT STDMETHODCALLTYPE put_Strikethrough(
  2298. /* [in] */ BOOL strikethrough) = 0;
  2299. virtual HRESULT STDMETHODCALLTYPE get_Weight(
  2300. /* [out] */ SHORT *pWeight) = 0;
  2301. virtual HRESULT STDMETHODCALLTYPE put_Weight(
  2302. /* [in] */ SHORT weight) = 0;
  2303. virtual HRESULT STDMETHODCALLTYPE get_Charset(
  2304. /* [out] */ SHORT *pCharset) = 0;
  2305. virtual HRESULT STDMETHODCALLTYPE put_Charset(
  2306. /* [in] */ SHORT charset) = 0;
  2307. virtual HRESULT STDMETHODCALLTYPE get_hFont(
  2308. /* [out] */ HFONT *phFont) = 0;
  2309. virtual HRESULT STDMETHODCALLTYPE Clone(
  2310. /* [out] */ IFont **ppFont) = 0;
  2311. virtual HRESULT STDMETHODCALLTYPE IsEqual(
  2312. /* [in] */ IFont *pFontOther) = 0;
  2313. virtual HRESULT STDMETHODCALLTYPE SetRatio(
  2314. /* [in] */ LONG cyLogical,
  2315. /* [in] */ LONG cyHimetric) = 0;
  2316. virtual HRESULT STDMETHODCALLTYPE QueryTextMetrics(
  2317. /* [out] */ TEXTMETRICOLE *pTM) = 0;
  2318. virtual HRESULT STDMETHODCALLTYPE AddRefHfont(
  2319. /* [in] */ HFONT hFont) = 0;
  2320. virtual HRESULT STDMETHODCALLTYPE ReleaseHfont(
  2321. /* [in] */ HFONT hFont) = 0;
  2322. virtual HRESULT STDMETHODCALLTYPE SetHdc(
  2323. /* [in] */ HDC hDC) = 0;
  2324. };
  2325. #else /* C style interface */
  2326. typedef struct IFontVtbl
  2327. {
  2328. BEGIN_INTERFACE
  2329. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2330. IFont * This,
  2331. /* [in] */ REFIID riid,
  2332. /* [iid_is][out] */ void **ppvObject);
  2333. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2334. IFont * This);
  2335. ULONG ( STDMETHODCALLTYPE *Release )(
  2336. IFont * This);
  2337. HRESULT ( STDMETHODCALLTYPE *get_Name )(
  2338. IFont * This,
  2339. /* [out] */ BSTR *pName);
  2340. HRESULT ( STDMETHODCALLTYPE *put_Name )(
  2341. IFont * This,
  2342. /* [in] */ BSTR name);
  2343. HRESULT ( STDMETHODCALLTYPE *get_Size )(
  2344. IFont * This,
  2345. /* [out] */ CY *pSize);
  2346. HRESULT ( STDMETHODCALLTYPE *put_Size )(
  2347. IFont * This,
  2348. /* [in] */ CY size);
  2349. HRESULT ( STDMETHODCALLTYPE *get_Bold )(
  2350. IFont * This,
  2351. /* [out] */ BOOL *pBold);
  2352. HRESULT ( STDMETHODCALLTYPE *put_Bold )(
  2353. IFont * This,
  2354. /* [in] */ BOOL bold);
  2355. HRESULT ( STDMETHODCALLTYPE *get_Italic )(
  2356. IFont * This,
  2357. /* [out] */ BOOL *pItalic);
  2358. HRESULT ( STDMETHODCALLTYPE *put_Italic )(
  2359. IFont * This,
  2360. /* [in] */ BOOL italic);
  2361. HRESULT ( STDMETHODCALLTYPE *get_Underline )(
  2362. IFont * This,
  2363. /* [out] */ BOOL *pUnderline);
  2364. HRESULT ( STDMETHODCALLTYPE *put_Underline )(
  2365. IFont * This,
  2366. /* [in] */ BOOL underline);
  2367. HRESULT ( STDMETHODCALLTYPE *get_Strikethrough )(
  2368. IFont * This,
  2369. /* [out] */ BOOL *pStrikethrough);
  2370. HRESULT ( STDMETHODCALLTYPE *put_Strikethrough )(
  2371. IFont * This,
  2372. /* [in] */ BOOL strikethrough);
  2373. HRESULT ( STDMETHODCALLTYPE *get_Weight )(
  2374. IFont * This,
  2375. /* [out] */ SHORT *pWeight);
  2376. HRESULT ( STDMETHODCALLTYPE *put_Weight )(
  2377. IFont * This,
  2378. /* [in] */ SHORT weight);
  2379. HRESULT ( STDMETHODCALLTYPE *get_Charset )(
  2380. IFont * This,
  2381. /* [out] */ SHORT *pCharset);
  2382. HRESULT ( STDMETHODCALLTYPE *put_Charset )(
  2383. IFont * This,
  2384. /* [in] */ SHORT charset);
  2385. HRESULT ( STDMETHODCALLTYPE *get_hFont )(
  2386. IFont * This,
  2387. /* [out] */ HFONT *phFont);
  2388. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2389. IFont * This,
  2390. /* [out] */ IFont **ppFont);
  2391. HRESULT ( STDMETHODCALLTYPE *IsEqual )(
  2392. IFont * This,
  2393. /* [in] */ IFont *pFontOther);
  2394. HRESULT ( STDMETHODCALLTYPE *SetRatio )(
  2395. IFont * This,
  2396. /* [in] */ LONG cyLogical,
  2397. /* [in] */ LONG cyHimetric);
  2398. HRESULT ( STDMETHODCALLTYPE *QueryTextMetrics )(
  2399. IFont * This,
  2400. /* [out] */ TEXTMETRICOLE *pTM);
  2401. HRESULT ( STDMETHODCALLTYPE *AddRefHfont )(
  2402. IFont * This,
  2403. /* [in] */ HFONT hFont);
  2404. HRESULT ( STDMETHODCALLTYPE *ReleaseHfont )(
  2405. IFont * This,
  2406. /* [in] */ HFONT hFont);
  2407. HRESULT ( STDMETHODCALLTYPE *SetHdc )(
  2408. IFont * This,
  2409. /* [in] */ HDC hDC);
  2410. END_INTERFACE
  2411. } IFontVtbl;
  2412. interface IFont
  2413. {
  2414. CONST_VTBL struct IFontVtbl *lpVtbl;
  2415. };
  2416. #ifdef COBJMACROS
  2417. #define IFont_QueryInterface(This,riid,ppvObject) \
  2418. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2419. #define IFont_AddRef(This) \
  2420. (This)->lpVtbl -> AddRef(This)
  2421. #define IFont_Release(This) \
  2422. (This)->lpVtbl -> Release(This)
  2423. #define IFont_get_Name(This,pName) \
  2424. (This)->lpVtbl -> get_Name(This,pName)
  2425. #define IFont_put_Name(This,name) \
  2426. (This)->lpVtbl -> put_Name(This,name)
  2427. #define IFont_get_Size(This,pSize) \
  2428. (This)->lpVtbl -> get_Size(This,pSize)
  2429. #define IFont_put_Size(This,size) \
  2430. (This)->lpVtbl -> put_Size(This,size)
  2431. #define IFont_get_Bold(This,pBold) \
  2432. (This)->lpVtbl -> get_Bold(This,pBold)
  2433. #define IFont_put_Bold(This,bold) \
  2434. (This)->lpVtbl -> put_Bold(This,bold)
  2435. #define IFont_get_Italic(This,pItalic) \
  2436. (This)->lpVtbl -> get_Italic(This,pItalic)
  2437. #define IFont_put_Italic(This,italic) \
  2438. (This)->lpVtbl -> put_Italic(This,italic)
  2439. #define IFont_get_Underline(This,pUnderline) \
  2440. (This)->lpVtbl -> get_Underline(This,pUnderline)
  2441. #define IFont_put_Underline(This,underline) \
  2442. (This)->lpVtbl -> put_Underline(This,underline)
  2443. #define IFont_get_Strikethrough(This,pStrikethrough) \
  2444. (This)->lpVtbl -> get_Strikethrough(This,pStrikethrough)
  2445. #define IFont_put_Strikethrough(This,strikethrough) \
  2446. (This)->lpVtbl -> put_Strikethrough(This,strikethrough)
  2447. #define IFont_get_Weight(This,pWeight) \
  2448. (This)->lpVtbl -> get_Weight(This,pWeight)
  2449. #define IFont_put_Weight(This,weight) \
  2450. (This)->lpVtbl -> put_Weight(This,weight)
  2451. #define IFont_get_Charset(This,pCharset) \
  2452. (This)->lpVtbl -> get_Charset(This,pCharset)
  2453. #define IFont_put_Charset(This,charset) \
  2454. (This)->lpVtbl -> put_Charset(This,charset)
  2455. #define IFont_get_hFont(This,phFont) \
  2456. (This)->lpVtbl -> get_hFont(This,phFont)
  2457. #define IFont_Clone(This,ppFont) \
  2458. (This)->lpVtbl -> Clone(This,ppFont)
  2459. #define IFont_IsEqual(This,pFontOther) \
  2460. (This)->lpVtbl -> IsEqual(This,pFontOther)
  2461. #define IFont_SetRatio(This,cyLogical,cyHimetric) \
  2462. (This)->lpVtbl -> SetRatio(This,cyLogical,cyHimetric)
  2463. #define IFont_QueryTextMetrics(This,pTM) \
  2464. (This)->lpVtbl -> QueryTextMetrics(This,pTM)
  2465. #define IFont_AddRefHfont(This,hFont) \
  2466. (This)->lpVtbl -> AddRefHfont(This,hFont)
  2467. #define IFont_ReleaseHfont(This,hFont) \
  2468. (This)->lpVtbl -> ReleaseHfont(This,hFont)
  2469. #define IFont_SetHdc(This,hDC) \
  2470. (This)->lpVtbl -> SetHdc(This,hDC)
  2471. #endif /* COBJMACROS */
  2472. #endif /* C style interface */
  2473. HRESULT STDMETHODCALLTYPE IFont_get_Name_Proxy(
  2474. IFont * This,
  2475. /* [out] */ BSTR *pName);
  2476. void __RPC_STUB IFont_get_Name_Stub(
  2477. IRpcStubBuffer *This,
  2478. IRpcChannelBuffer *_pRpcChannelBuffer,
  2479. PRPC_MESSAGE _pRpcMessage,
  2480. DWORD *_pdwStubPhase);
  2481. HRESULT STDMETHODCALLTYPE IFont_put_Name_Proxy(
  2482. IFont * This,
  2483. /* [in] */ BSTR name);
  2484. void __RPC_STUB IFont_put_Name_Stub(
  2485. IRpcStubBuffer *This,
  2486. IRpcChannelBuffer *_pRpcChannelBuffer,
  2487. PRPC_MESSAGE _pRpcMessage,
  2488. DWORD *_pdwStubPhase);
  2489. HRESULT STDMETHODCALLTYPE IFont_get_Size_Proxy(
  2490. IFont * This,
  2491. /* [out] */ CY *pSize);
  2492. void __RPC_STUB IFont_get_Size_Stub(
  2493. IRpcStubBuffer *This,
  2494. IRpcChannelBuffer *_pRpcChannelBuffer,
  2495. PRPC_MESSAGE _pRpcMessage,
  2496. DWORD *_pdwStubPhase);
  2497. HRESULT STDMETHODCALLTYPE IFont_put_Size_Proxy(
  2498. IFont * This,
  2499. /* [in] */ CY size);
  2500. void __RPC_STUB IFont_put_Size_Stub(
  2501. IRpcStubBuffer *This,
  2502. IRpcChannelBuffer *_pRpcChannelBuffer,
  2503. PRPC_MESSAGE _pRpcMessage,
  2504. DWORD *_pdwStubPhase);
  2505. HRESULT STDMETHODCALLTYPE IFont_get_Bold_Proxy(
  2506. IFont * This,
  2507. /* [out] */ BOOL *pBold);
  2508. void __RPC_STUB IFont_get_Bold_Stub(
  2509. IRpcStubBuffer *This,
  2510. IRpcChannelBuffer *_pRpcChannelBuffer,
  2511. PRPC_MESSAGE _pRpcMessage,
  2512. DWORD *_pdwStubPhase);
  2513. HRESULT STDMETHODCALLTYPE IFont_put_Bold_Proxy(
  2514. IFont * This,
  2515. /* [in] */ BOOL bold);
  2516. void __RPC_STUB IFont_put_Bold_Stub(
  2517. IRpcStubBuffer *This,
  2518. IRpcChannelBuffer *_pRpcChannelBuffer,
  2519. PRPC_MESSAGE _pRpcMessage,
  2520. DWORD *_pdwStubPhase);
  2521. HRESULT STDMETHODCALLTYPE IFont_get_Italic_Proxy(
  2522. IFont * This,
  2523. /* [out] */ BOOL *pItalic);
  2524. void __RPC_STUB IFont_get_Italic_Stub(
  2525. IRpcStubBuffer *This,
  2526. IRpcChannelBuffer *_pRpcChannelBuffer,
  2527. PRPC_MESSAGE _pRpcMessage,
  2528. DWORD *_pdwStubPhase);
  2529. HRESULT STDMETHODCALLTYPE IFont_put_Italic_Proxy(
  2530. IFont * This,
  2531. /* [in] */ BOOL italic);
  2532. void __RPC_STUB IFont_put_Italic_Stub(
  2533. IRpcStubBuffer *This,
  2534. IRpcChannelBuffer *_pRpcChannelBuffer,
  2535. PRPC_MESSAGE _pRpcMessage,
  2536. DWORD *_pdwStubPhase);
  2537. HRESULT STDMETHODCALLTYPE IFont_get_Underline_Proxy(
  2538. IFont * This,
  2539. /* [out] */ BOOL *pUnderline);
  2540. void __RPC_STUB IFont_get_Underline_Stub(
  2541. IRpcStubBuffer *This,
  2542. IRpcChannelBuffer *_pRpcChannelBuffer,
  2543. PRPC_MESSAGE _pRpcMessage,
  2544. DWORD *_pdwStubPhase);
  2545. HRESULT STDMETHODCALLTYPE IFont_put_Underline_Proxy(
  2546. IFont * This,
  2547. /* [in] */ BOOL underline);
  2548. void __RPC_STUB IFont_put_Underline_Stub(
  2549. IRpcStubBuffer *This,
  2550. IRpcChannelBuffer *_pRpcChannelBuffer,
  2551. PRPC_MESSAGE _pRpcMessage,
  2552. DWORD *_pdwStubPhase);
  2553. HRESULT STDMETHODCALLTYPE IFont_get_Strikethrough_Proxy(
  2554. IFont * This,
  2555. /* [out] */ BOOL *pStrikethrough);
  2556. void __RPC_STUB IFont_get_Strikethrough_Stub(
  2557. IRpcStubBuffer *This,
  2558. IRpcChannelBuffer *_pRpcChannelBuffer,
  2559. PRPC_MESSAGE _pRpcMessage,
  2560. DWORD *_pdwStubPhase);
  2561. HRESULT STDMETHODCALLTYPE IFont_put_Strikethrough_Proxy(
  2562. IFont * This,
  2563. /* [in] */ BOOL strikethrough);
  2564. void __RPC_STUB IFont_put_Strikethrough_Stub(
  2565. IRpcStubBuffer *This,
  2566. IRpcChannelBuffer *_pRpcChannelBuffer,
  2567. PRPC_MESSAGE _pRpcMessage,
  2568. DWORD *_pdwStubPhase);
  2569. HRESULT STDMETHODCALLTYPE IFont_get_Weight_Proxy(
  2570. IFont * This,
  2571. /* [out] */ SHORT *pWeight);
  2572. void __RPC_STUB IFont_get_Weight_Stub(
  2573. IRpcStubBuffer *This,
  2574. IRpcChannelBuffer *_pRpcChannelBuffer,
  2575. PRPC_MESSAGE _pRpcMessage,
  2576. DWORD *_pdwStubPhase);
  2577. HRESULT STDMETHODCALLTYPE IFont_put_Weight_Proxy(
  2578. IFont * This,
  2579. /* [in] */ SHORT weight);
  2580. void __RPC_STUB IFont_put_Weight_Stub(
  2581. IRpcStubBuffer *This,
  2582. IRpcChannelBuffer *_pRpcChannelBuffer,
  2583. PRPC_MESSAGE _pRpcMessage,
  2584. DWORD *_pdwStubPhase);
  2585. HRESULT STDMETHODCALLTYPE IFont_get_Charset_Proxy(
  2586. IFont * This,
  2587. /* [out] */ SHORT *pCharset);
  2588. void __RPC_STUB IFont_get_Charset_Stub(
  2589. IRpcStubBuffer *This,
  2590. IRpcChannelBuffer *_pRpcChannelBuffer,
  2591. PRPC_MESSAGE _pRpcMessage,
  2592. DWORD *_pdwStubPhase);
  2593. HRESULT STDMETHODCALLTYPE IFont_put_Charset_Proxy(
  2594. IFont * This,
  2595. /* [in] */ SHORT charset);
  2596. void __RPC_STUB IFont_put_Charset_Stub(
  2597. IRpcStubBuffer *This,
  2598. IRpcChannelBuffer *_pRpcChannelBuffer,
  2599. PRPC_MESSAGE _pRpcMessage,
  2600. DWORD *_pdwStubPhase);
  2601. HRESULT STDMETHODCALLTYPE IFont_get_hFont_Proxy(
  2602. IFont * This,
  2603. /* [out] */ HFONT *phFont);
  2604. void __RPC_STUB IFont_get_hFont_Stub(
  2605. IRpcStubBuffer *This,
  2606. IRpcChannelBuffer *_pRpcChannelBuffer,
  2607. PRPC_MESSAGE _pRpcMessage,
  2608. DWORD *_pdwStubPhase);
  2609. HRESULT STDMETHODCALLTYPE IFont_Clone_Proxy(
  2610. IFont * This,
  2611. /* [out] */ IFont **ppFont);
  2612. void __RPC_STUB IFont_Clone_Stub(
  2613. IRpcStubBuffer *This,
  2614. IRpcChannelBuffer *_pRpcChannelBuffer,
  2615. PRPC_MESSAGE _pRpcMessage,
  2616. DWORD *_pdwStubPhase);
  2617. HRESULT STDMETHODCALLTYPE IFont_IsEqual_Proxy(
  2618. IFont * This,
  2619. /* [in] */ IFont *pFontOther);
  2620. void __RPC_STUB IFont_IsEqual_Stub(
  2621. IRpcStubBuffer *This,
  2622. IRpcChannelBuffer *_pRpcChannelBuffer,
  2623. PRPC_MESSAGE _pRpcMessage,
  2624. DWORD *_pdwStubPhase);
  2625. HRESULT STDMETHODCALLTYPE IFont_SetRatio_Proxy(
  2626. IFont * This,
  2627. /* [in] */ LONG cyLogical,
  2628. /* [in] */ LONG cyHimetric);
  2629. void __RPC_STUB IFont_SetRatio_Stub(
  2630. IRpcStubBuffer *This,
  2631. IRpcChannelBuffer *_pRpcChannelBuffer,
  2632. PRPC_MESSAGE _pRpcMessage,
  2633. DWORD *_pdwStubPhase);
  2634. HRESULT STDMETHODCALLTYPE IFont_QueryTextMetrics_Proxy(
  2635. IFont * This,
  2636. /* [out] */ TEXTMETRICOLE *pTM);
  2637. void __RPC_STUB IFont_QueryTextMetrics_Stub(
  2638. IRpcStubBuffer *This,
  2639. IRpcChannelBuffer *_pRpcChannelBuffer,
  2640. PRPC_MESSAGE _pRpcMessage,
  2641. DWORD *_pdwStubPhase);
  2642. HRESULT STDMETHODCALLTYPE IFont_AddRefHfont_Proxy(
  2643. IFont * This,
  2644. /* [in] */ HFONT hFont);
  2645. void __RPC_STUB IFont_AddRefHfont_Stub(
  2646. IRpcStubBuffer *This,
  2647. IRpcChannelBuffer *_pRpcChannelBuffer,
  2648. PRPC_MESSAGE _pRpcMessage,
  2649. DWORD *_pdwStubPhase);
  2650. HRESULT STDMETHODCALLTYPE IFont_ReleaseHfont_Proxy(
  2651. IFont * This,
  2652. /* [in] */ HFONT hFont);
  2653. void __RPC_STUB IFont_ReleaseHfont_Stub(
  2654. IRpcStubBuffer *This,
  2655. IRpcChannelBuffer *_pRpcChannelBuffer,
  2656. PRPC_MESSAGE _pRpcMessage,
  2657. DWORD *_pdwStubPhase);
  2658. HRESULT STDMETHODCALLTYPE IFont_SetHdc_Proxy(
  2659. IFont * This,
  2660. /* [in] */ HDC hDC);
  2661. void __RPC_STUB IFont_SetHdc_Stub(
  2662. IRpcStubBuffer *This,
  2663. IRpcChannelBuffer *_pRpcChannelBuffer,
  2664. PRPC_MESSAGE _pRpcMessage,
  2665. DWORD *_pdwStubPhase);
  2666. #endif /* __IFont_INTERFACE_DEFINED__ */
  2667. #ifndef __IPicture_INTERFACE_DEFINED__
  2668. #define __IPicture_INTERFACE_DEFINED__
  2669. /* interface IPicture */
  2670. /* [unique][uuid][object] */
  2671. typedef IPicture *LPPICTURE;
  2672. typedef
  2673. enum tagPictureAttributes
  2674. { PICTURE_SCALABLE = 0x1,
  2675. PICTURE_TRANSPARENT = 0x2
  2676. } PICTUREATTRIBUTES;
  2677. typedef /* [public][uuid] */ DECLSPEC_UUID("66504313-BE0F-101A-8BBB-00AA00300CAB") UINT OLE_HANDLE;
  2678. typedef /* [hidden][uuid] */ DECLSPEC_UUID("66504306-BE0F-101A-8BBB-00AA00300CAB") LONG OLE_XPOS_HIMETRIC;
  2679. typedef /* [hidden][uuid] */ DECLSPEC_UUID("66504307-BE0F-101A-8BBB-00AA00300CAB") LONG OLE_YPOS_HIMETRIC;
  2680. typedef /* [hidden][uuid] */ DECLSPEC_UUID("66504308-BE0F-101A-8BBB-00AA00300CAB") LONG OLE_XSIZE_HIMETRIC;
  2681. typedef /* [hidden][uuid] */ DECLSPEC_UUID("66504309-BE0F-101A-8BBB-00AA00300CAB") LONG OLE_YSIZE_HIMETRIC;
  2682. EXTERN_C const IID IID_IPicture;
  2683. #if defined(__cplusplus) && !defined(CINTERFACE)
  2684. MIDL_INTERFACE("7BF80980-BF32-101A-8BBB-00AA00300CAB")
  2685. IPicture : public IUnknown
  2686. {
  2687. public:
  2688. virtual HRESULT STDMETHODCALLTYPE get_Handle(
  2689. /* [out] */ OLE_HANDLE *pHandle) = 0;
  2690. virtual HRESULT STDMETHODCALLTYPE get_hPal(
  2691. /* [out] */ OLE_HANDLE *phPal) = 0;
  2692. virtual HRESULT STDMETHODCALLTYPE get_Type(
  2693. /* [out] */ SHORT *pType) = 0;
  2694. virtual HRESULT STDMETHODCALLTYPE get_Width(
  2695. /* [out] */ OLE_XSIZE_HIMETRIC *pWidth) = 0;
  2696. virtual HRESULT STDMETHODCALLTYPE get_Height(
  2697. /* [out] */ OLE_YSIZE_HIMETRIC *pHeight) = 0;
  2698. virtual HRESULT STDMETHODCALLTYPE Render(
  2699. /* [in] */ HDC hDC,
  2700. /* [in] */ LONG x,
  2701. /* [in] */ LONG y,
  2702. /* [in] */ LONG cx,
  2703. /* [in] */ LONG cy,
  2704. /* [in] */ OLE_XPOS_HIMETRIC xSrc,
  2705. /* [in] */ OLE_YPOS_HIMETRIC ySrc,
  2706. /* [in] */ OLE_XSIZE_HIMETRIC cxSrc,
  2707. /* [in] */ OLE_YSIZE_HIMETRIC cySrc,
  2708. /* [in] */ LPCRECT pRcWBounds) = 0;
  2709. virtual HRESULT STDMETHODCALLTYPE set_hPal(
  2710. /* [in] */ OLE_HANDLE hPal) = 0;
  2711. virtual HRESULT STDMETHODCALLTYPE get_CurDC(
  2712. /* [out] */ HDC *phDC) = 0;
  2713. virtual HRESULT STDMETHODCALLTYPE SelectPicture(
  2714. /* [in] */ HDC hDCIn,
  2715. /* [out] */ HDC *phDCOut,
  2716. /* [out] */ OLE_HANDLE *phBmpOut) = 0;
  2717. virtual HRESULT STDMETHODCALLTYPE get_KeepOriginalFormat(
  2718. /* [out] */ BOOL *pKeep) = 0;
  2719. virtual HRESULT STDMETHODCALLTYPE put_KeepOriginalFormat(
  2720. /* [in] */ BOOL keep) = 0;
  2721. virtual HRESULT STDMETHODCALLTYPE PictureChanged( void) = 0;
  2722. virtual HRESULT STDMETHODCALLTYPE SaveAsFile(
  2723. /* [in] */ LPSTREAM pStream,
  2724. /* [in] */ BOOL fSaveMemCopy,
  2725. /* [out] */ LONG *pCbSize) = 0;
  2726. virtual HRESULT STDMETHODCALLTYPE get_Attributes(
  2727. /* [out] */ DWORD *pDwAttr) = 0;
  2728. };
  2729. #else /* C style interface */
  2730. typedef struct IPictureVtbl
  2731. {
  2732. BEGIN_INTERFACE
  2733. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2734. IPicture * This,
  2735. /* [in] */ REFIID riid,
  2736. /* [iid_is][out] */ void **ppvObject);
  2737. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2738. IPicture * This);
  2739. ULONG ( STDMETHODCALLTYPE *Release )(
  2740. IPicture * This);
  2741. HRESULT ( STDMETHODCALLTYPE *get_Handle )(
  2742. IPicture * This,
  2743. /* [out] */ OLE_HANDLE *pHandle);
  2744. HRESULT ( STDMETHODCALLTYPE *get_hPal )(
  2745. IPicture * This,
  2746. /* [out] */ OLE_HANDLE *phPal);
  2747. HRESULT ( STDMETHODCALLTYPE *get_Type )(
  2748. IPicture * This,
  2749. /* [out] */ SHORT *pType);
  2750. HRESULT ( STDMETHODCALLTYPE *get_Width )(
  2751. IPicture * This,
  2752. /* [out] */ OLE_XSIZE_HIMETRIC *pWidth);
  2753. HRESULT ( STDMETHODCALLTYPE *get_Height )(
  2754. IPicture * This,
  2755. /* [out] */ OLE_YSIZE_HIMETRIC *pHeight);
  2756. HRESULT ( STDMETHODCALLTYPE *Render )(
  2757. IPicture * This,
  2758. /* [in] */ HDC hDC,
  2759. /* [in] */ LONG x,
  2760. /* [in] */ LONG y,
  2761. /* [in] */ LONG cx,
  2762. /* [in] */ LONG cy,
  2763. /* [in] */ OLE_XPOS_HIMETRIC xSrc,
  2764. /* [in] */ OLE_YPOS_HIMETRIC ySrc,
  2765. /* [in] */ OLE_XSIZE_HIMETRIC cxSrc,
  2766. /* [in] */ OLE_YSIZE_HIMETRIC cySrc,
  2767. /* [in] */ LPCRECT pRcWBounds);
  2768. HRESULT ( STDMETHODCALLTYPE *set_hPal )(
  2769. IPicture * This,
  2770. /* [in] */ OLE_HANDLE hPal);
  2771. HRESULT ( STDMETHODCALLTYPE *get_CurDC )(
  2772. IPicture * This,
  2773. /* [out] */ HDC *phDC);
  2774. HRESULT ( STDMETHODCALLTYPE *SelectPicture )(
  2775. IPicture * This,
  2776. /* [in] */ HDC hDCIn,
  2777. /* [out] */ HDC *phDCOut,
  2778. /* [out] */ OLE_HANDLE *phBmpOut);
  2779. HRESULT ( STDMETHODCALLTYPE *get_KeepOriginalFormat )(
  2780. IPicture * This,
  2781. /* [out] */ BOOL *pKeep);
  2782. HRESULT ( STDMETHODCALLTYPE *put_KeepOriginalFormat )(
  2783. IPicture * This,
  2784. /* [in] */ BOOL keep);
  2785. HRESULT ( STDMETHODCALLTYPE *PictureChanged )(
  2786. IPicture * This);
  2787. HRESULT ( STDMETHODCALLTYPE *SaveAsFile )(
  2788. IPicture * This,
  2789. /* [in] */ LPSTREAM pStream,
  2790. /* [in] */ BOOL fSaveMemCopy,
  2791. /* [out] */ LONG *pCbSize);
  2792. HRESULT ( STDMETHODCALLTYPE *get_Attributes )(
  2793. IPicture * This,
  2794. /* [out] */ DWORD *pDwAttr);
  2795. END_INTERFACE
  2796. } IPictureVtbl;
  2797. interface IPicture
  2798. {
  2799. CONST_VTBL struct IPictureVtbl *lpVtbl;
  2800. };
  2801. #ifdef COBJMACROS
  2802. #define IPicture_QueryInterface(This,riid,ppvObject) \
  2803. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2804. #define IPicture_AddRef(This) \
  2805. (This)->lpVtbl -> AddRef(This)
  2806. #define IPicture_Release(This) \
  2807. (This)->lpVtbl -> Release(This)
  2808. #define IPicture_get_Handle(This,pHandle) \
  2809. (This)->lpVtbl -> get_Handle(This,pHandle)
  2810. #define IPicture_get_hPal(This,phPal) \
  2811. (This)->lpVtbl -> get_hPal(This,phPal)
  2812. #define IPicture_get_Type(This,pType) \
  2813. (This)->lpVtbl -> get_Type(This,pType)
  2814. #define IPicture_get_Width(This,pWidth) \
  2815. (This)->lpVtbl -> get_Width(This,pWidth)
  2816. #define IPicture_get_Height(This,pHeight) \
  2817. (This)->lpVtbl -> get_Height(This,pHeight)
  2818. #define IPicture_Render(This,hDC,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds) \
  2819. (This)->lpVtbl -> Render(This,hDC,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds)
  2820. #define IPicture_set_hPal(This,hPal) \
  2821. (This)->lpVtbl -> set_hPal(This,hPal)
  2822. #define IPicture_get_CurDC(This,phDC) \
  2823. (This)->lpVtbl -> get_CurDC(This,phDC)
  2824. #define IPicture_SelectPicture(This,hDCIn,phDCOut,phBmpOut) \
  2825. (This)->lpVtbl -> SelectPicture(This,hDCIn,phDCOut,phBmpOut)
  2826. #define IPicture_get_KeepOriginalFormat(This,pKeep) \
  2827. (This)->lpVtbl -> get_KeepOriginalFormat(This,pKeep)
  2828. #define IPicture_put_KeepOriginalFormat(This,keep) \
  2829. (This)->lpVtbl -> put_KeepOriginalFormat(This,keep)
  2830. #define IPicture_PictureChanged(This) \
  2831. (This)->lpVtbl -> PictureChanged(This)
  2832. #define IPicture_SaveAsFile(This,pStream,fSaveMemCopy,pCbSize) \
  2833. (This)->lpVtbl -> SaveAsFile(This,pStream,fSaveMemCopy,pCbSize)
  2834. #define IPicture_get_Attributes(This,pDwAttr) \
  2835. (This)->lpVtbl -> get_Attributes(This,pDwAttr)
  2836. #endif /* COBJMACROS */
  2837. #endif /* C style interface */
  2838. HRESULT STDMETHODCALLTYPE IPicture_get_Handle_Proxy(
  2839. IPicture * This,
  2840. /* [out] */ OLE_HANDLE *pHandle);
  2841. void __RPC_STUB IPicture_get_Handle_Stub(
  2842. IRpcStubBuffer *This,
  2843. IRpcChannelBuffer *_pRpcChannelBuffer,
  2844. PRPC_MESSAGE _pRpcMessage,
  2845. DWORD *_pdwStubPhase);
  2846. HRESULT STDMETHODCALLTYPE IPicture_get_hPal_Proxy(
  2847. IPicture * This,
  2848. /* [out] */ OLE_HANDLE *phPal);
  2849. void __RPC_STUB IPicture_get_hPal_Stub(
  2850. IRpcStubBuffer *This,
  2851. IRpcChannelBuffer *_pRpcChannelBuffer,
  2852. PRPC_MESSAGE _pRpcMessage,
  2853. DWORD *_pdwStubPhase);
  2854. HRESULT STDMETHODCALLTYPE IPicture_get_Type_Proxy(
  2855. IPicture * This,
  2856. /* [out] */ SHORT *pType);
  2857. void __RPC_STUB IPicture_get_Type_Stub(
  2858. IRpcStubBuffer *This,
  2859. IRpcChannelBuffer *_pRpcChannelBuffer,
  2860. PRPC_MESSAGE _pRpcMessage,
  2861. DWORD *_pdwStubPhase);
  2862. HRESULT STDMETHODCALLTYPE IPicture_get_Width_Proxy(
  2863. IPicture * This,
  2864. /* [out] */ OLE_XSIZE_HIMETRIC *pWidth);
  2865. void __RPC_STUB IPicture_get_Width_Stub(
  2866. IRpcStubBuffer *This,
  2867. IRpcChannelBuffer *_pRpcChannelBuffer,
  2868. PRPC_MESSAGE _pRpcMessage,
  2869. DWORD *_pdwStubPhase);
  2870. HRESULT STDMETHODCALLTYPE IPicture_get_Height_Proxy(
  2871. IPicture * This,
  2872. /* [out] */ OLE_YSIZE_HIMETRIC *pHeight);
  2873. void __RPC_STUB IPicture_get_Height_Stub(
  2874. IRpcStubBuffer *This,
  2875. IRpcChannelBuffer *_pRpcChannelBuffer,
  2876. PRPC_MESSAGE _pRpcMessage,
  2877. DWORD *_pdwStubPhase);
  2878. HRESULT STDMETHODCALLTYPE IPicture_Render_Proxy(
  2879. IPicture * This,
  2880. /* [in] */ HDC hDC,
  2881. /* [in] */ LONG x,
  2882. /* [in] */ LONG y,
  2883. /* [in] */ LONG cx,
  2884. /* [in] */ LONG cy,
  2885. /* [in] */ OLE_XPOS_HIMETRIC xSrc,
  2886. /* [in] */ OLE_YPOS_HIMETRIC ySrc,
  2887. /* [in] */ OLE_XSIZE_HIMETRIC cxSrc,
  2888. /* [in] */ OLE_YSIZE_HIMETRIC cySrc,
  2889. /* [in] */ LPCRECT pRcWBounds);
  2890. void __RPC_STUB IPicture_Render_Stub(
  2891. IRpcStubBuffer *This,
  2892. IRpcChannelBuffer *_pRpcChannelBuffer,
  2893. PRPC_MESSAGE _pRpcMessage,
  2894. DWORD *_pdwStubPhase);
  2895. HRESULT STDMETHODCALLTYPE IPicture_set_hPal_Proxy(
  2896. IPicture * This,
  2897. /* [in] */ OLE_HANDLE hPal);
  2898. void __RPC_STUB IPicture_set_hPal_Stub(
  2899. IRpcStubBuffer *This,
  2900. IRpcChannelBuffer *_pRpcChannelBuffer,
  2901. PRPC_MESSAGE _pRpcMessage,
  2902. DWORD *_pdwStubPhase);
  2903. HRESULT STDMETHODCALLTYPE IPicture_get_CurDC_Proxy(
  2904. IPicture * This,
  2905. /* [out] */ HDC *phDC);
  2906. void __RPC_STUB IPicture_get_CurDC_Stub(
  2907. IRpcStubBuffer *This,
  2908. IRpcChannelBuffer *_pRpcChannelBuffer,
  2909. PRPC_MESSAGE _pRpcMessage,
  2910. DWORD *_pdwStubPhase);
  2911. HRESULT STDMETHODCALLTYPE IPicture_SelectPicture_Proxy(
  2912. IPicture * This,
  2913. /* [in] */ HDC hDCIn,
  2914. /* [out] */ HDC *phDCOut,
  2915. /* [out] */ OLE_HANDLE *phBmpOut);
  2916. void __RPC_STUB IPicture_SelectPicture_Stub(
  2917. IRpcStubBuffer *This,
  2918. IRpcChannelBuffer *_pRpcChannelBuffer,
  2919. PRPC_MESSAGE _pRpcMessage,
  2920. DWORD *_pdwStubPhase);
  2921. HRESULT STDMETHODCALLTYPE IPicture_get_KeepOriginalFormat_Proxy(
  2922. IPicture * This,
  2923. /* [out] */ BOOL *pKeep);
  2924. void __RPC_STUB IPicture_get_KeepOriginalFormat_Stub(
  2925. IRpcStubBuffer *This,
  2926. IRpcChannelBuffer *_pRpcChannelBuffer,
  2927. PRPC_MESSAGE _pRpcMessage,
  2928. DWORD *_pdwStubPhase);
  2929. HRESULT STDMETHODCALLTYPE IPicture_put_KeepOriginalFormat_Proxy(
  2930. IPicture * This,
  2931. /* [in] */ BOOL keep);
  2932. void __RPC_STUB IPicture_put_KeepOriginalFormat_Stub(
  2933. IRpcStubBuffer *This,
  2934. IRpcChannelBuffer *_pRpcChannelBuffer,
  2935. PRPC_MESSAGE _pRpcMessage,
  2936. DWORD *_pdwStubPhase);
  2937. HRESULT STDMETHODCALLTYPE IPicture_PictureChanged_Proxy(
  2938. IPicture * This);
  2939. void __RPC_STUB IPicture_PictureChanged_Stub(
  2940. IRpcStubBuffer *This,
  2941. IRpcChannelBuffer *_pRpcChannelBuffer,
  2942. PRPC_MESSAGE _pRpcMessage,
  2943. DWORD *_pdwStubPhase);
  2944. HRESULT STDMETHODCALLTYPE IPicture_SaveAsFile_Proxy(
  2945. IPicture * This,
  2946. /* [in] */ LPSTREAM pStream,
  2947. /* [in] */ BOOL fSaveMemCopy,
  2948. /* [out] */ LONG *pCbSize);
  2949. void __RPC_STUB IPicture_SaveAsFile_Stub(
  2950. IRpcStubBuffer *This,
  2951. IRpcChannelBuffer *_pRpcChannelBuffer,
  2952. PRPC_MESSAGE _pRpcMessage,
  2953. DWORD *_pdwStubPhase);
  2954. HRESULT STDMETHODCALLTYPE IPicture_get_Attributes_Proxy(
  2955. IPicture * This,
  2956. /* [out] */ DWORD *pDwAttr);
  2957. void __RPC_STUB IPicture_get_Attributes_Stub(
  2958. IRpcStubBuffer *This,
  2959. IRpcChannelBuffer *_pRpcChannelBuffer,
  2960. PRPC_MESSAGE _pRpcMessage,
  2961. DWORD *_pdwStubPhase);
  2962. #endif /* __IPicture_INTERFACE_DEFINED__ */
  2963. #ifndef __IFontEventsDisp_INTERFACE_DEFINED__
  2964. #define __IFontEventsDisp_INTERFACE_DEFINED__
  2965. /* interface IFontEventsDisp */
  2966. /* [unique][uuid][object] */
  2967. typedef IFontEventsDisp *LPFONTEVENTS;
  2968. EXTERN_C const IID IID_IFontEventsDisp;
  2969. #if defined(__cplusplus) && !defined(CINTERFACE)
  2970. MIDL_INTERFACE("4EF6100A-AF88-11D0-9846-00C04FC29993")
  2971. IFontEventsDisp : public IDispatch
  2972. {
  2973. public:
  2974. };
  2975. #else /* C style interface */
  2976. typedef struct IFontEventsDispVtbl
  2977. {
  2978. BEGIN_INTERFACE
  2979. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2980. IFontEventsDisp * This,
  2981. /* [in] */ REFIID riid,
  2982. /* [iid_is][out] */ void **ppvObject);
  2983. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2984. IFontEventsDisp * This);
  2985. ULONG ( STDMETHODCALLTYPE *Release )(
  2986. IFontEventsDisp * This);
  2987. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2988. IFontEventsDisp * This,
  2989. /* [out] */ UINT *pctinfo);
  2990. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2991. IFontEventsDisp * This,
  2992. /* [in] */ UINT iTInfo,
  2993. /* [in] */ LCID lcid,
  2994. /* [out] */ ITypeInfo **ppTInfo);
  2995. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2996. IFontEventsDisp * This,
  2997. /* [in] */ REFIID riid,
  2998. /* [size_is][in] */ LPOLESTR *rgszNames,
  2999. /* [in] */ UINT cNames,
  3000. /* [in] */ LCID lcid,
  3001. /* [size_is][out] */ DISPID *rgDispId);
  3002. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3003. IFontEventsDisp * This,
  3004. /* [in] */ DISPID dispIdMember,
  3005. /* [in] */ REFIID riid,
  3006. /* [in] */ LCID lcid,
  3007. /* [in] */ WORD wFlags,
  3008. /* [out][in] */ DISPPARAMS *pDispParams,
  3009. /* [out] */ VARIANT *pVarResult,
  3010. /* [out] */ EXCEPINFO *pExcepInfo,
  3011. /* [out] */ UINT *puArgErr);
  3012. END_INTERFACE
  3013. } IFontEventsDispVtbl;
  3014. interface IFontEventsDisp
  3015. {
  3016. CONST_VTBL struct IFontEventsDispVtbl *lpVtbl;
  3017. };
  3018. #ifdef COBJMACROS
  3019. #define IFontEventsDisp_QueryInterface(This,riid,ppvObject) \
  3020. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3021. #define IFontEventsDisp_AddRef(This) \
  3022. (This)->lpVtbl -> AddRef(This)
  3023. #define IFontEventsDisp_Release(This) \
  3024. (This)->lpVtbl -> Release(This)
  3025. #define IFontEventsDisp_GetTypeInfoCount(This,pctinfo) \
  3026. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3027. #define IFontEventsDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3028. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3029. #define IFontEventsDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3030. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3031. #define IFontEventsDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3032. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3033. #endif /* COBJMACROS */
  3034. #endif /* C style interface */
  3035. #endif /* __IFontEventsDisp_INTERFACE_DEFINED__ */
  3036. #ifndef __IFontDisp_INTERFACE_DEFINED__
  3037. #define __IFontDisp_INTERFACE_DEFINED__
  3038. /* interface IFontDisp */
  3039. /* [unique][uuid][object] */
  3040. typedef IFontDisp *LPFONTDISP;
  3041. EXTERN_C const IID IID_IFontDisp;
  3042. #if defined(__cplusplus) && !defined(CINTERFACE)
  3043. MIDL_INTERFACE("BEF6E003-A874-101A-8BBA-00AA00300CAB")
  3044. IFontDisp : public IDispatch
  3045. {
  3046. public:
  3047. };
  3048. #else /* C style interface */
  3049. typedef struct IFontDispVtbl
  3050. {
  3051. BEGIN_INTERFACE
  3052. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3053. IFontDisp * This,
  3054. /* [in] */ REFIID riid,
  3055. /* [iid_is][out] */ void **ppvObject);
  3056. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3057. IFontDisp * This);
  3058. ULONG ( STDMETHODCALLTYPE *Release )(
  3059. IFontDisp * This);
  3060. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3061. IFontDisp * This,
  3062. /* [out] */ UINT *pctinfo);
  3063. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3064. IFontDisp * This,
  3065. /* [in] */ UINT iTInfo,
  3066. /* [in] */ LCID lcid,
  3067. /* [out] */ ITypeInfo **ppTInfo);
  3068. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3069. IFontDisp * This,
  3070. /* [in] */ REFIID riid,
  3071. /* [size_is][in] */ LPOLESTR *rgszNames,
  3072. /* [in] */ UINT cNames,
  3073. /* [in] */ LCID lcid,
  3074. /* [size_is][out] */ DISPID *rgDispId);
  3075. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3076. IFontDisp * This,
  3077. /* [in] */ DISPID dispIdMember,
  3078. /* [in] */ REFIID riid,
  3079. /* [in] */ LCID lcid,
  3080. /* [in] */ WORD wFlags,
  3081. /* [out][in] */ DISPPARAMS *pDispParams,
  3082. /* [out] */ VARIANT *pVarResult,
  3083. /* [out] */ EXCEPINFO *pExcepInfo,
  3084. /* [out] */ UINT *puArgErr);
  3085. END_INTERFACE
  3086. } IFontDispVtbl;
  3087. interface IFontDisp
  3088. {
  3089. CONST_VTBL struct IFontDispVtbl *lpVtbl;
  3090. };
  3091. #ifdef COBJMACROS
  3092. #define IFontDisp_QueryInterface(This,riid,ppvObject) \
  3093. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3094. #define IFontDisp_AddRef(This) \
  3095. (This)->lpVtbl -> AddRef(This)
  3096. #define IFontDisp_Release(This) \
  3097. (This)->lpVtbl -> Release(This)
  3098. #define IFontDisp_GetTypeInfoCount(This,pctinfo) \
  3099. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3100. #define IFontDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3101. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3102. #define IFontDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3103. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3104. #define IFontDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3105. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3106. #endif /* COBJMACROS */
  3107. #endif /* C style interface */
  3108. #endif /* __IFontDisp_INTERFACE_DEFINED__ */
  3109. #ifndef __IPictureDisp_INTERFACE_DEFINED__
  3110. #define __IPictureDisp_INTERFACE_DEFINED__
  3111. /* interface IPictureDisp */
  3112. /* [unique][uuid][object] */
  3113. typedef IPictureDisp *LPPICTUREDISP;
  3114. EXTERN_C const IID IID_IPictureDisp;
  3115. #if defined(__cplusplus) && !defined(CINTERFACE)
  3116. MIDL_INTERFACE("7BF80981-BF32-101A-8BBB-00AA00300CAB")
  3117. IPictureDisp : public IDispatch
  3118. {
  3119. public:
  3120. };
  3121. #else /* C style interface */
  3122. typedef struct IPictureDispVtbl
  3123. {
  3124. BEGIN_INTERFACE
  3125. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3126. IPictureDisp * This,
  3127. /* [in] */ REFIID riid,
  3128. /* [iid_is][out] */ void **ppvObject);
  3129. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3130. IPictureDisp * This);
  3131. ULONG ( STDMETHODCALLTYPE *Release )(
  3132. IPictureDisp * This);
  3133. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3134. IPictureDisp * This,
  3135. /* [out] */ UINT *pctinfo);
  3136. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3137. IPictureDisp * This,
  3138. /* [in] */ UINT iTInfo,
  3139. /* [in] */ LCID lcid,
  3140. /* [out] */ ITypeInfo **ppTInfo);
  3141. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3142. IPictureDisp * This,
  3143. /* [in] */ REFIID riid,
  3144. /* [size_is][in] */ LPOLESTR *rgszNames,
  3145. /* [in] */ UINT cNames,
  3146. /* [in] */ LCID lcid,
  3147. /* [size_is][out] */ DISPID *rgDispId);
  3148. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3149. IPictureDisp * This,
  3150. /* [in] */ DISPID dispIdMember,
  3151. /* [in] */ REFIID riid,
  3152. /* [in] */ LCID lcid,
  3153. /* [in] */ WORD wFlags,
  3154. /* [out][in] */ DISPPARAMS *pDispParams,
  3155. /* [out] */ VARIANT *pVarResult,
  3156. /* [out] */ EXCEPINFO *pExcepInfo,
  3157. /* [out] */ UINT *puArgErr);
  3158. END_INTERFACE
  3159. } IPictureDispVtbl;
  3160. interface IPictureDisp
  3161. {
  3162. CONST_VTBL struct IPictureDispVtbl *lpVtbl;
  3163. };
  3164. #ifdef COBJMACROS
  3165. #define IPictureDisp_QueryInterface(This,riid,ppvObject) \
  3166. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3167. #define IPictureDisp_AddRef(This) \
  3168. (This)->lpVtbl -> AddRef(This)
  3169. #define IPictureDisp_Release(This) \
  3170. (This)->lpVtbl -> Release(This)
  3171. #define IPictureDisp_GetTypeInfoCount(This,pctinfo) \
  3172. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3173. #define IPictureDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3174. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3175. #define IPictureDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3176. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3177. #define IPictureDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3178. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3179. #endif /* COBJMACROS */
  3180. #endif /* C style interface */
  3181. #endif /* __IPictureDisp_INTERFACE_DEFINED__ */
  3182. #ifndef __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__
  3183. #define __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__
  3184. /* interface IOleInPlaceObjectWindowless */
  3185. /* [uuid][unique][object][local] */
  3186. typedef IOleInPlaceObjectWindowless *LPOLEINPLACEOBJECTWINDOWLESS;
  3187. EXTERN_C const IID IID_IOleInPlaceObjectWindowless;
  3188. #if defined(__cplusplus) && !defined(CINTERFACE)
  3189. MIDL_INTERFACE("1C2056CC-5EF4-101B-8BC8-00AA003E3B29")
  3190. IOleInPlaceObjectWindowless : public IOleInPlaceObject
  3191. {
  3192. public:
  3193. virtual HRESULT STDMETHODCALLTYPE OnWindowMessage(
  3194. /* [in] */ UINT msg,
  3195. /* [in] */ WPARAM wParam,
  3196. /* [in] */ LPARAM lParam,
  3197. /* [out] */ LRESULT *plResult) = 0;
  3198. virtual HRESULT STDMETHODCALLTYPE GetDropTarget(
  3199. /* [out] */ IDropTarget **ppDropTarget) = 0;
  3200. };
  3201. #else /* C style interface */
  3202. typedef struct IOleInPlaceObjectWindowlessVtbl
  3203. {
  3204. BEGIN_INTERFACE
  3205. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3206. IOleInPlaceObjectWindowless * This,
  3207. /* [in] */ REFIID riid,
  3208. /* [iid_is][out] */ void **ppvObject);
  3209. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3210. IOleInPlaceObjectWindowless * This);
  3211. ULONG ( STDMETHODCALLTYPE *Release )(
  3212. IOleInPlaceObjectWindowless * This);
  3213. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  3214. IOleInPlaceObjectWindowless * This,
  3215. /* [out] */ HWND *phwnd);
  3216. HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
  3217. IOleInPlaceObjectWindowless * This,
  3218. /* [in] */ BOOL fEnterMode);
  3219. HRESULT ( STDMETHODCALLTYPE *InPlaceDeactivate )(
  3220. IOleInPlaceObjectWindowless * This);
  3221. HRESULT ( STDMETHODCALLTYPE *UIDeactivate )(
  3222. IOleInPlaceObjectWindowless * This);
  3223. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetObjectRects )(
  3224. IOleInPlaceObjectWindowless * This,
  3225. /* [in] */ LPCRECT lprcPosRect,
  3226. /* [in] */ LPCRECT lprcClipRect);
  3227. HRESULT ( STDMETHODCALLTYPE *ReactivateAndUndo )(
  3228. IOleInPlaceObjectWindowless * This);
  3229. HRESULT ( STDMETHODCALLTYPE *OnWindowMessage )(
  3230. IOleInPlaceObjectWindowless * This,
  3231. /* [in] */ UINT msg,
  3232. /* [in] */ WPARAM wParam,
  3233. /* [in] */ LPARAM lParam,
  3234. /* [out] */ LRESULT *plResult);
  3235. HRESULT ( STDMETHODCALLTYPE *GetDropTarget )(
  3236. IOleInPlaceObjectWindowless * This,
  3237. /* [out] */ IDropTarget **ppDropTarget);
  3238. END_INTERFACE
  3239. } IOleInPlaceObjectWindowlessVtbl;
  3240. interface IOleInPlaceObjectWindowless
  3241. {
  3242. CONST_VTBL struct IOleInPlaceObjectWindowlessVtbl *lpVtbl;
  3243. };
  3244. #ifdef COBJMACROS
  3245. #define IOleInPlaceObjectWindowless_QueryInterface(This,riid,ppvObject) \
  3246. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3247. #define IOleInPlaceObjectWindowless_AddRef(This) \
  3248. (This)->lpVtbl -> AddRef(This)
  3249. #define IOleInPlaceObjectWindowless_Release(This) \
  3250. (This)->lpVtbl -> Release(This)
  3251. #define IOleInPlaceObjectWindowless_GetWindow(This,phwnd) \
  3252. (This)->lpVtbl -> GetWindow(This,phwnd)
  3253. #define IOleInPlaceObjectWindowless_ContextSensitiveHelp(This,fEnterMode) \
  3254. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  3255. #define IOleInPlaceObjectWindowless_InPlaceDeactivate(This) \
  3256. (This)->lpVtbl -> InPlaceDeactivate(This)
  3257. #define IOleInPlaceObjectWindowless_UIDeactivate(This) \
  3258. (This)->lpVtbl -> UIDeactivate(This)
  3259. #define IOleInPlaceObjectWindowless_SetObjectRects(This,lprcPosRect,lprcClipRect) \
  3260. (This)->lpVtbl -> SetObjectRects(This,lprcPosRect,lprcClipRect)
  3261. #define IOleInPlaceObjectWindowless_ReactivateAndUndo(This) \
  3262. (This)->lpVtbl -> ReactivateAndUndo(This)
  3263. #define IOleInPlaceObjectWindowless_OnWindowMessage(This,msg,wParam,lParam,plResult) \
  3264. (This)->lpVtbl -> OnWindowMessage(This,msg,wParam,lParam,plResult)
  3265. #define IOleInPlaceObjectWindowless_GetDropTarget(This,ppDropTarget) \
  3266. (This)->lpVtbl -> GetDropTarget(This,ppDropTarget)
  3267. #endif /* COBJMACROS */
  3268. #endif /* C style interface */
  3269. HRESULT STDMETHODCALLTYPE IOleInPlaceObjectWindowless_OnWindowMessage_Proxy(
  3270. IOleInPlaceObjectWindowless * This,
  3271. /* [in] */ UINT msg,
  3272. /* [in] */ WPARAM wParam,
  3273. /* [in] */ LPARAM lParam,
  3274. /* [out] */ LRESULT *plResult);
  3275. void __RPC_STUB IOleInPlaceObjectWindowless_OnWindowMessage_Stub(
  3276. IRpcStubBuffer *This,
  3277. IRpcChannelBuffer *_pRpcChannelBuffer,
  3278. PRPC_MESSAGE _pRpcMessage,
  3279. DWORD *_pdwStubPhase);
  3280. HRESULT STDMETHODCALLTYPE IOleInPlaceObjectWindowless_GetDropTarget_Proxy(
  3281. IOleInPlaceObjectWindowless * This,
  3282. /* [out] */ IDropTarget **ppDropTarget);
  3283. void __RPC_STUB IOleInPlaceObjectWindowless_GetDropTarget_Stub(
  3284. IRpcStubBuffer *This,
  3285. IRpcChannelBuffer *_pRpcChannelBuffer,
  3286. PRPC_MESSAGE _pRpcMessage,
  3287. DWORD *_pdwStubPhase);
  3288. #endif /* __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__ */
  3289. #ifndef __IOleInPlaceSiteEx_INTERFACE_DEFINED__
  3290. #define __IOleInPlaceSiteEx_INTERFACE_DEFINED__
  3291. /* interface IOleInPlaceSiteEx */
  3292. /* [uuid][unique][object] */
  3293. typedef IOleInPlaceSiteEx *LPOLEINPLACESITEEX;
  3294. typedef /* [v1_enum] */
  3295. enum tagACTIVATEFLAGS
  3296. { ACTIVATE_WINDOWLESS = 1
  3297. } ACTIVATEFLAGS;
  3298. EXTERN_C const IID IID_IOleInPlaceSiteEx;
  3299. #if defined(__cplusplus) && !defined(CINTERFACE)
  3300. MIDL_INTERFACE("9C2CAD80-3424-11CF-B670-00AA004CD6D8")
  3301. IOleInPlaceSiteEx : public IOleInPlaceSite
  3302. {
  3303. public:
  3304. virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivateEx(
  3305. /* [out] */ BOOL *pfNoRedraw,
  3306. /* [in] */ DWORD dwFlags) = 0;
  3307. virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivateEx(
  3308. /* [in] */ BOOL fNoRedraw) = 0;
  3309. virtual HRESULT STDMETHODCALLTYPE RequestUIActivate( void) = 0;
  3310. };
  3311. #else /* C style interface */
  3312. typedef struct IOleInPlaceSiteExVtbl
  3313. {
  3314. BEGIN_INTERFACE
  3315. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3316. IOleInPlaceSiteEx * This,
  3317. /* [in] */ REFIID riid,
  3318. /* [iid_is][out] */ void **ppvObject);
  3319. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3320. IOleInPlaceSiteEx * This);
  3321. ULONG ( STDMETHODCALLTYPE *Release )(
  3322. IOleInPlaceSiteEx * This);
  3323. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  3324. IOleInPlaceSiteEx * This,
  3325. /* [out] */ HWND *phwnd);
  3326. HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
  3327. IOleInPlaceSiteEx * This,
  3328. /* [in] */ BOOL fEnterMode);
  3329. HRESULT ( STDMETHODCALLTYPE *CanInPlaceActivate )(
  3330. IOleInPlaceSiteEx * This);
  3331. HRESULT ( STDMETHODCALLTYPE *OnInPlaceActivate )(
  3332. IOleInPlaceSiteEx * This);
  3333. HRESULT ( STDMETHODCALLTYPE *OnUIActivate )(
  3334. IOleInPlaceSiteEx * This);
  3335. HRESULT ( STDMETHODCALLTYPE *GetWindowContext )(
  3336. IOleInPlaceSiteEx * This,
  3337. /* [out] */ IOleInPlaceFrame **ppFrame,
  3338. /* [out] */ IOleInPlaceUIWindow **ppDoc,
  3339. /* [out] */ LPRECT lprcPosRect,
  3340. /* [out] */ LPRECT lprcClipRect,
  3341. /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
  3342. HRESULT ( STDMETHODCALLTYPE *Scroll )(
  3343. IOleInPlaceSiteEx * This,
  3344. /* [in] */ SIZE scrollExtant);
  3345. HRESULT ( STDMETHODCALLTYPE *OnUIDeactivate )(
  3346. IOleInPlaceSiteEx * This,
  3347. /* [in] */ BOOL fUndoable);
  3348. HRESULT ( STDMETHODCALLTYPE *OnInPlaceDeactivate )(
  3349. IOleInPlaceSiteEx * This);
  3350. HRESULT ( STDMETHODCALLTYPE *DiscardUndoState )(
  3351. IOleInPlaceSiteEx * This);
  3352. HRESULT ( STDMETHODCALLTYPE *DeactivateAndUndo )(
  3353. IOleInPlaceSiteEx * This);
  3354. HRESULT ( STDMETHODCALLTYPE *OnPosRectChange )(
  3355. IOleInPlaceSiteEx * This,
  3356. /* [in] */ LPCRECT lprcPosRect);
  3357. HRESULT ( STDMETHODCALLTYPE *OnInPlaceActivateEx )(
  3358. IOleInPlaceSiteEx * This,
  3359. /* [out] */ BOOL *pfNoRedraw,
  3360. /* [in] */ DWORD dwFlags);
  3361. HRESULT ( STDMETHODCALLTYPE *OnInPlaceDeactivateEx )(
  3362. IOleInPlaceSiteEx * This,
  3363. /* [in] */ BOOL fNoRedraw);
  3364. HRESULT ( STDMETHODCALLTYPE *RequestUIActivate )(
  3365. IOleInPlaceSiteEx * This);
  3366. END_INTERFACE
  3367. } IOleInPlaceSiteExVtbl;
  3368. interface IOleInPlaceSiteEx
  3369. {
  3370. CONST_VTBL struct IOleInPlaceSiteExVtbl *lpVtbl;
  3371. };
  3372. #ifdef COBJMACROS
  3373. #define IOleInPlaceSiteEx_QueryInterface(This,riid,ppvObject) \
  3374. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3375. #define IOleInPlaceSiteEx_AddRef(This) \
  3376. (This)->lpVtbl -> AddRef(This)
  3377. #define IOleInPlaceSiteEx_Release(This) \
  3378. (This)->lpVtbl -> Release(This)
  3379. #define IOleInPlaceSiteEx_GetWindow(This,phwnd) \
  3380. (This)->lpVtbl -> GetWindow(This,phwnd)
  3381. #define IOleInPlaceSiteEx_ContextSensitiveHelp(This,fEnterMode) \
  3382. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  3383. #define IOleInPlaceSiteEx_CanInPlaceActivate(This) \
  3384. (This)->lpVtbl -> CanInPlaceActivate(This)
  3385. #define IOleInPlaceSiteEx_OnInPlaceActivate(This) \
  3386. (This)->lpVtbl -> OnInPlaceActivate(This)
  3387. #define IOleInPlaceSiteEx_OnUIActivate(This) \
  3388. (This)->lpVtbl -> OnUIActivate(This)
  3389. #define IOleInPlaceSiteEx_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) \
  3390. (This)->lpVtbl -> GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
  3391. #define IOleInPlaceSiteEx_Scroll(This,scrollExtant) \
  3392. (This)->lpVtbl -> Scroll(This,scrollExtant)
  3393. #define IOleInPlaceSiteEx_OnUIDeactivate(This,fUndoable) \
  3394. (This)->lpVtbl -> OnUIDeactivate(This,fUndoable)
  3395. #define IOleInPlaceSiteEx_OnInPlaceDeactivate(This) \
  3396. (This)->lpVtbl -> OnInPlaceDeactivate(This)
  3397. #define IOleInPlaceSiteEx_DiscardUndoState(This) \
  3398. (This)->lpVtbl -> DiscardUndoState(This)
  3399. #define IOleInPlaceSiteEx_DeactivateAndUndo(This) \
  3400. (This)->lpVtbl -> DeactivateAndUndo(This)
  3401. #define IOleInPlaceSiteEx_OnPosRectChange(This,lprcPosRect) \
  3402. (This)->lpVtbl -> OnPosRectChange(This,lprcPosRect)
  3403. #define IOleInPlaceSiteEx_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) \
  3404. (This)->lpVtbl -> OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
  3405. #define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(This,fNoRedraw) \
  3406. (This)->lpVtbl -> OnInPlaceDeactivateEx(This,fNoRedraw)
  3407. #define IOleInPlaceSiteEx_RequestUIActivate(This) \
  3408. (This)->lpVtbl -> RequestUIActivate(This)
  3409. #endif /* COBJMACROS */
  3410. #endif /* C style interface */
  3411. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteEx_OnInPlaceActivateEx_Proxy(
  3412. IOleInPlaceSiteEx * This,
  3413. /* [out] */ BOOL *pfNoRedraw,
  3414. /* [in] */ DWORD dwFlags);
  3415. void __RPC_STUB IOleInPlaceSiteEx_OnInPlaceActivateEx_Stub(
  3416. IRpcStubBuffer *This,
  3417. IRpcChannelBuffer *_pRpcChannelBuffer,
  3418. PRPC_MESSAGE _pRpcMessage,
  3419. DWORD *_pdwStubPhase);
  3420. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteEx_OnInPlaceDeactivateEx_Proxy(
  3421. IOleInPlaceSiteEx * This,
  3422. /* [in] */ BOOL fNoRedraw);
  3423. void __RPC_STUB IOleInPlaceSiteEx_OnInPlaceDeactivateEx_Stub(
  3424. IRpcStubBuffer *This,
  3425. IRpcChannelBuffer *_pRpcChannelBuffer,
  3426. PRPC_MESSAGE _pRpcMessage,
  3427. DWORD *_pdwStubPhase);
  3428. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteEx_RequestUIActivate_Proxy(
  3429. IOleInPlaceSiteEx * This);
  3430. void __RPC_STUB IOleInPlaceSiteEx_RequestUIActivate_Stub(
  3431. IRpcStubBuffer *This,
  3432. IRpcChannelBuffer *_pRpcChannelBuffer,
  3433. PRPC_MESSAGE _pRpcMessage,
  3434. DWORD *_pdwStubPhase);
  3435. #endif /* __IOleInPlaceSiteEx_INTERFACE_DEFINED__ */
  3436. #ifndef __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__
  3437. #define __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__
  3438. /* interface IOleInPlaceSiteWindowless */
  3439. /* [uuid][unique][object][local] */
  3440. typedef IOleInPlaceSiteWindowless *LPOLEINPLACESITEWINDOWLESS;
  3441. typedef /* [v1_enum] */
  3442. enum tagOLEDCFLAGS
  3443. { OLEDC_NODRAW = 0x1,
  3444. OLEDC_PAINTBKGND = 0x2,
  3445. OLEDC_OFFSCREEN = 0x4
  3446. } OLEDCFLAGS;
  3447. EXTERN_C const IID IID_IOleInPlaceSiteWindowless;
  3448. #if defined(__cplusplus) && !defined(CINTERFACE)
  3449. MIDL_INTERFACE("922EADA0-3424-11CF-B670-00AA004CD6D8")
  3450. IOleInPlaceSiteWindowless : public IOleInPlaceSiteEx
  3451. {
  3452. public:
  3453. virtual HRESULT STDMETHODCALLTYPE CanWindowlessActivate( void) = 0;
  3454. virtual HRESULT STDMETHODCALLTYPE GetCapture( void) = 0;
  3455. virtual HRESULT STDMETHODCALLTYPE SetCapture(
  3456. /* [in] */ BOOL fCapture) = 0;
  3457. virtual HRESULT STDMETHODCALLTYPE GetFocus( void) = 0;
  3458. virtual HRESULT STDMETHODCALLTYPE SetFocus(
  3459. /* [in] */ BOOL fFocus) = 0;
  3460. virtual HRESULT STDMETHODCALLTYPE GetDC(
  3461. /* [in] */ LPCRECT pRect,
  3462. /* [in] */ DWORD grfFlags,
  3463. /* [out] */ HDC *phDC) = 0;
  3464. virtual HRESULT STDMETHODCALLTYPE ReleaseDC(
  3465. /* [in] */ HDC hDC) = 0;
  3466. virtual HRESULT STDMETHODCALLTYPE InvalidateRect(
  3467. /* [in] */ LPCRECT pRect,
  3468. /* [in] */ BOOL fErase) = 0;
  3469. virtual HRESULT STDMETHODCALLTYPE InvalidateRgn(
  3470. /* [in] */ HRGN hRGN,
  3471. /* [in] */ BOOL fErase) = 0;
  3472. virtual HRESULT STDMETHODCALLTYPE ScrollRect(
  3473. /* [in] */ INT dx,
  3474. /* [in] */ INT dy,
  3475. /* [in] */ LPCRECT pRectScroll,
  3476. /* [in] */ LPCRECT pRectClip) = 0;
  3477. virtual HRESULT STDMETHODCALLTYPE AdjustRect(
  3478. /* [out][in] */ LPRECT prc) = 0;
  3479. virtual HRESULT STDMETHODCALLTYPE OnDefWindowMessage(
  3480. /* [in] */ UINT msg,
  3481. /* [in] */ WPARAM wParam,
  3482. /* [in] */ LPARAM lParam,
  3483. /* [out] */ LRESULT *plResult) = 0;
  3484. };
  3485. #else /* C style interface */
  3486. typedef struct IOleInPlaceSiteWindowlessVtbl
  3487. {
  3488. BEGIN_INTERFACE
  3489. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3490. IOleInPlaceSiteWindowless * This,
  3491. /* [in] */ REFIID riid,
  3492. /* [iid_is][out] */ void **ppvObject);
  3493. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3494. IOleInPlaceSiteWindowless * This);
  3495. ULONG ( STDMETHODCALLTYPE *Release )(
  3496. IOleInPlaceSiteWindowless * This);
  3497. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  3498. IOleInPlaceSiteWindowless * This,
  3499. /* [out] */ HWND *phwnd);
  3500. HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
  3501. IOleInPlaceSiteWindowless * This,
  3502. /* [in] */ BOOL fEnterMode);
  3503. HRESULT ( STDMETHODCALLTYPE *CanInPlaceActivate )(
  3504. IOleInPlaceSiteWindowless * This);
  3505. HRESULT ( STDMETHODCALLTYPE *OnInPlaceActivate )(
  3506. IOleInPlaceSiteWindowless * This);
  3507. HRESULT ( STDMETHODCALLTYPE *OnUIActivate )(
  3508. IOleInPlaceSiteWindowless * This);
  3509. HRESULT ( STDMETHODCALLTYPE *GetWindowContext )(
  3510. IOleInPlaceSiteWindowless * This,
  3511. /* [out] */ IOleInPlaceFrame **ppFrame,
  3512. /* [out] */ IOleInPlaceUIWindow **ppDoc,
  3513. /* [out] */ LPRECT lprcPosRect,
  3514. /* [out] */ LPRECT lprcClipRect,
  3515. /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
  3516. HRESULT ( STDMETHODCALLTYPE *Scroll )(
  3517. IOleInPlaceSiteWindowless * This,
  3518. /* [in] */ SIZE scrollExtant);
  3519. HRESULT ( STDMETHODCALLTYPE *OnUIDeactivate )(
  3520. IOleInPlaceSiteWindowless * This,
  3521. /* [in] */ BOOL fUndoable);
  3522. HRESULT ( STDMETHODCALLTYPE *OnInPlaceDeactivate )(
  3523. IOleInPlaceSiteWindowless * This);
  3524. HRESULT ( STDMETHODCALLTYPE *DiscardUndoState )(
  3525. IOleInPlaceSiteWindowless * This);
  3526. HRESULT ( STDMETHODCALLTYPE *DeactivateAndUndo )(
  3527. IOleInPlaceSiteWindowless * This);
  3528. HRESULT ( STDMETHODCALLTYPE *OnPosRectChange )(
  3529. IOleInPlaceSiteWindowless * This,
  3530. /* [in] */ LPCRECT lprcPosRect);
  3531. HRESULT ( STDMETHODCALLTYPE *OnInPlaceActivateEx )(
  3532. IOleInPlaceSiteWindowless * This,
  3533. /* [out] */ BOOL *pfNoRedraw,
  3534. /* [in] */ DWORD dwFlags);
  3535. HRESULT ( STDMETHODCALLTYPE *OnInPlaceDeactivateEx )(
  3536. IOleInPlaceSiteWindowless * This,
  3537. /* [in] */ BOOL fNoRedraw);
  3538. HRESULT ( STDMETHODCALLTYPE *RequestUIActivate )(
  3539. IOleInPlaceSiteWindowless * This);
  3540. HRESULT ( STDMETHODCALLTYPE *CanWindowlessActivate )(
  3541. IOleInPlaceSiteWindowless * This);
  3542. HRESULT ( STDMETHODCALLTYPE *GetCapture )(
  3543. IOleInPlaceSiteWindowless * This);
  3544. HRESULT ( STDMETHODCALLTYPE *SetCapture )(
  3545. IOleInPlaceSiteWindowless * This,
  3546. /* [in] */ BOOL fCapture);
  3547. HRESULT ( STDMETHODCALLTYPE *GetFocus )(
  3548. IOleInPlaceSiteWindowless * This);
  3549. HRESULT ( STDMETHODCALLTYPE *SetFocus )(
  3550. IOleInPlaceSiteWindowless * This,
  3551. /* [in] */ BOOL fFocus);
  3552. HRESULT ( STDMETHODCALLTYPE *GetDC )(
  3553. IOleInPlaceSiteWindowless * This,
  3554. /* [in] */ LPCRECT pRect,
  3555. /* [in] */ DWORD grfFlags,
  3556. /* [out] */ HDC *phDC);
  3557. HRESULT ( STDMETHODCALLTYPE *ReleaseDC )(
  3558. IOleInPlaceSiteWindowless * This,
  3559. /* [in] */ HDC hDC);
  3560. HRESULT ( STDMETHODCALLTYPE *InvalidateRect )(
  3561. IOleInPlaceSiteWindowless * This,
  3562. /* [in] */ LPCRECT pRect,
  3563. /* [in] */ BOOL fErase);
  3564. HRESULT ( STDMETHODCALLTYPE *InvalidateRgn )(
  3565. IOleInPlaceSiteWindowless * This,
  3566. /* [in] */ HRGN hRGN,
  3567. /* [in] */ BOOL fErase);
  3568. HRESULT ( STDMETHODCALLTYPE *ScrollRect )(
  3569. IOleInPlaceSiteWindowless * This,
  3570. /* [in] */ INT dx,
  3571. /* [in] */ INT dy,
  3572. /* [in] */ LPCRECT pRectScroll,
  3573. /* [in] */ LPCRECT pRectClip);
  3574. HRESULT ( STDMETHODCALLTYPE *AdjustRect )(
  3575. IOleInPlaceSiteWindowless * This,
  3576. /* [out][in] */ LPRECT prc);
  3577. HRESULT ( STDMETHODCALLTYPE *OnDefWindowMessage )(
  3578. IOleInPlaceSiteWindowless * This,
  3579. /* [in] */ UINT msg,
  3580. /* [in] */ WPARAM wParam,
  3581. /* [in] */ LPARAM lParam,
  3582. /* [out] */ LRESULT *plResult);
  3583. END_INTERFACE
  3584. } IOleInPlaceSiteWindowlessVtbl;
  3585. interface IOleInPlaceSiteWindowless
  3586. {
  3587. CONST_VTBL struct IOleInPlaceSiteWindowlessVtbl *lpVtbl;
  3588. };
  3589. #ifdef COBJMACROS
  3590. #define IOleInPlaceSiteWindowless_QueryInterface(This,riid,ppvObject) \
  3591. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3592. #define IOleInPlaceSiteWindowless_AddRef(This) \
  3593. (This)->lpVtbl -> AddRef(This)
  3594. #define IOleInPlaceSiteWindowless_Release(This) \
  3595. (This)->lpVtbl -> Release(This)
  3596. #define IOleInPlaceSiteWindowless_GetWindow(This,phwnd) \
  3597. (This)->lpVtbl -> GetWindow(This,phwnd)
  3598. #define IOleInPlaceSiteWindowless_ContextSensitiveHelp(This,fEnterMode) \
  3599. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  3600. #define IOleInPlaceSiteWindowless_CanInPlaceActivate(This) \
  3601. (This)->lpVtbl -> CanInPlaceActivate(This)
  3602. #define IOleInPlaceSiteWindowless_OnInPlaceActivate(This) \
  3603. (This)->lpVtbl -> OnInPlaceActivate(This)
  3604. #define IOleInPlaceSiteWindowless_OnUIActivate(This) \
  3605. (This)->lpVtbl -> OnUIActivate(This)
  3606. #define IOleInPlaceSiteWindowless_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) \
  3607. (This)->lpVtbl -> GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
  3608. #define IOleInPlaceSiteWindowless_Scroll(This,scrollExtant) \
  3609. (This)->lpVtbl -> Scroll(This,scrollExtant)
  3610. #define IOleInPlaceSiteWindowless_OnUIDeactivate(This,fUndoable) \
  3611. (This)->lpVtbl -> OnUIDeactivate(This,fUndoable)
  3612. #define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(This) \
  3613. (This)->lpVtbl -> OnInPlaceDeactivate(This)
  3614. #define IOleInPlaceSiteWindowless_DiscardUndoState(This) \
  3615. (This)->lpVtbl -> DiscardUndoState(This)
  3616. #define IOleInPlaceSiteWindowless_DeactivateAndUndo(This) \
  3617. (This)->lpVtbl -> DeactivateAndUndo(This)
  3618. #define IOleInPlaceSiteWindowless_OnPosRectChange(This,lprcPosRect) \
  3619. (This)->lpVtbl -> OnPosRectChange(This,lprcPosRect)
  3620. #define IOleInPlaceSiteWindowless_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) \
  3621. (This)->lpVtbl -> OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
  3622. #define IOleInPlaceSiteWindowless_OnInPlaceDeactivateEx(This,fNoRedraw) \
  3623. (This)->lpVtbl -> OnInPlaceDeactivateEx(This,fNoRedraw)
  3624. #define IOleInPlaceSiteWindowless_RequestUIActivate(This) \
  3625. (This)->lpVtbl -> RequestUIActivate(This)
  3626. #define IOleInPlaceSiteWindowless_CanWindowlessActivate(This) \
  3627. (This)->lpVtbl -> CanWindowlessActivate(This)
  3628. #define IOleInPlaceSiteWindowless_GetCapture(This) \
  3629. (This)->lpVtbl -> GetCapture(This)
  3630. #define IOleInPlaceSiteWindowless_SetCapture(This,fCapture) \
  3631. (This)->lpVtbl -> SetCapture(This,fCapture)
  3632. #define IOleInPlaceSiteWindowless_GetFocus(This) \
  3633. (This)->lpVtbl -> GetFocus(This)
  3634. #define IOleInPlaceSiteWindowless_SetFocus(This,fFocus) \
  3635. (This)->lpVtbl -> SetFocus(This,fFocus)
  3636. #define IOleInPlaceSiteWindowless_GetDC(This,pRect,grfFlags,phDC) \
  3637. (This)->lpVtbl -> GetDC(This,pRect,grfFlags,phDC)
  3638. #define IOleInPlaceSiteWindowless_ReleaseDC(This,hDC) \
  3639. (This)->lpVtbl -> ReleaseDC(This,hDC)
  3640. #define IOleInPlaceSiteWindowless_InvalidateRect(This,pRect,fErase) \
  3641. (This)->lpVtbl -> InvalidateRect(This,pRect,fErase)
  3642. #define IOleInPlaceSiteWindowless_InvalidateRgn(This,hRGN,fErase) \
  3643. (This)->lpVtbl -> InvalidateRgn(This,hRGN,fErase)
  3644. #define IOleInPlaceSiteWindowless_ScrollRect(This,dx,dy,pRectScroll,pRectClip) \
  3645. (This)->lpVtbl -> ScrollRect(This,dx,dy,pRectScroll,pRectClip)
  3646. #define IOleInPlaceSiteWindowless_AdjustRect(This,prc) \
  3647. (This)->lpVtbl -> AdjustRect(This,prc)
  3648. #define IOleInPlaceSiteWindowless_OnDefWindowMessage(This,msg,wParam,lParam,plResult) \
  3649. (This)->lpVtbl -> OnDefWindowMessage(This,msg,wParam,lParam,plResult)
  3650. #endif /* COBJMACROS */
  3651. #endif /* C style interface */
  3652. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_CanWindowlessActivate_Proxy(
  3653. IOleInPlaceSiteWindowless * This);
  3654. void __RPC_STUB IOleInPlaceSiteWindowless_CanWindowlessActivate_Stub(
  3655. IRpcStubBuffer *This,
  3656. IRpcChannelBuffer *_pRpcChannelBuffer,
  3657. PRPC_MESSAGE _pRpcMessage,
  3658. DWORD *_pdwStubPhase);
  3659. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_GetCapture_Proxy(
  3660. IOleInPlaceSiteWindowless * This);
  3661. void __RPC_STUB IOleInPlaceSiteWindowless_GetCapture_Stub(
  3662. IRpcStubBuffer *This,
  3663. IRpcChannelBuffer *_pRpcChannelBuffer,
  3664. PRPC_MESSAGE _pRpcMessage,
  3665. DWORD *_pdwStubPhase);
  3666. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_SetCapture_Proxy(
  3667. IOleInPlaceSiteWindowless * This,
  3668. /* [in] */ BOOL fCapture);
  3669. void __RPC_STUB IOleInPlaceSiteWindowless_SetCapture_Stub(
  3670. IRpcStubBuffer *This,
  3671. IRpcChannelBuffer *_pRpcChannelBuffer,
  3672. PRPC_MESSAGE _pRpcMessage,
  3673. DWORD *_pdwStubPhase);
  3674. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_GetFocus_Proxy(
  3675. IOleInPlaceSiteWindowless * This);
  3676. void __RPC_STUB IOleInPlaceSiteWindowless_GetFocus_Stub(
  3677. IRpcStubBuffer *This,
  3678. IRpcChannelBuffer *_pRpcChannelBuffer,
  3679. PRPC_MESSAGE _pRpcMessage,
  3680. DWORD *_pdwStubPhase);
  3681. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_SetFocus_Proxy(
  3682. IOleInPlaceSiteWindowless * This,
  3683. /* [in] */ BOOL fFocus);
  3684. void __RPC_STUB IOleInPlaceSiteWindowless_SetFocus_Stub(
  3685. IRpcStubBuffer *This,
  3686. IRpcChannelBuffer *_pRpcChannelBuffer,
  3687. PRPC_MESSAGE _pRpcMessage,
  3688. DWORD *_pdwStubPhase);
  3689. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_GetDC_Proxy(
  3690. IOleInPlaceSiteWindowless * This,
  3691. /* [in] */ LPCRECT pRect,
  3692. /* [in] */ DWORD grfFlags,
  3693. /* [out] */ HDC *phDC);
  3694. void __RPC_STUB IOleInPlaceSiteWindowless_GetDC_Stub(
  3695. IRpcStubBuffer *This,
  3696. IRpcChannelBuffer *_pRpcChannelBuffer,
  3697. PRPC_MESSAGE _pRpcMessage,
  3698. DWORD *_pdwStubPhase);
  3699. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_ReleaseDC_Proxy(
  3700. IOleInPlaceSiteWindowless * This,
  3701. /* [in] */ HDC hDC);
  3702. void __RPC_STUB IOleInPlaceSiteWindowless_ReleaseDC_Stub(
  3703. IRpcStubBuffer *This,
  3704. IRpcChannelBuffer *_pRpcChannelBuffer,
  3705. PRPC_MESSAGE _pRpcMessage,
  3706. DWORD *_pdwStubPhase);
  3707. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_InvalidateRect_Proxy(
  3708. IOleInPlaceSiteWindowless * This,
  3709. /* [in] */ LPCRECT pRect,
  3710. /* [in] */ BOOL fErase);
  3711. void __RPC_STUB IOleInPlaceSiteWindowless_InvalidateRect_Stub(
  3712. IRpcStubBuffer *This,
  3713. IRpcChannelBuffer *_pRpcChannelBuffer,
  3714. PRPC_MESSAGE _pRpcMessage,
  3715. DWORD *_pdwStubPhase);
  3716. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_InvalidateRgn_Proxy(
  3717. IOleInPlaceSiteWindowless * This,
  3718. /* [in] */ HRGN hRGN,
  3719. /* [in] */ BOOL fErase);
  3720. void __RPC_STUB IOleInPlaceSiteWindowless_InvalidateRgn_Stub(
  3721. IRpcStubBuffer *This,
  3722. IRpcChannelBuffer *_pRpcChannelBuffer,
  3723. PRPC_MESSAGE _pRpcMessage,
  3724. DWORD *_pdwStubPhase);
  3725. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_ScrollRect_Proxy(
  3726. IOleInPlaceSiteWindowless * This,
  3727. /* [in] */ INT dx,
  3728. /* [in] */ INT dy,
  3729. /* [in] */ LPCRECT pRectScroll,
  3730. /* [in] */ LPCRECT pRectClip);
  3731. void __RPC_STUB IOleInPlaceSiteWindowless_ScrollRect_Stub(
  3732. IRpcStubBuffer *This,
  3733. IRpcChannelBuffer *_pRpcChannelBuffer,
  3734. PRPC_MESSAGE _pRpcMessage,
  3735. DWORD *_pdwStubPhase);
  3736. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_AdjustRect_Proxy(
  3737. IOleInPlaceSiteWindowless * This,
  3738. /* [out][in] */ LPRECT prc);
  3739. void __RPC_STUB IOleInPlaceSiteWindowless_AdjustRect_Stub(
  3740. IRpcStubBuffer *This,
  3741. IRpcChannelBuffer *_pRpcChannelBuffer,
  3742. PRPC_MESSAGE _pRpcMessage,
  3743. DWORD *_pdwStubPhase);
  3744. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_OnDefWindowMessage_Proxy(
  3745. IOleInPlaceSiteWindowless * This,
  3746. /* [in] */ UINT msg,
  3747. /* [in] */ WPARAM wParam,
  3748. /* [in] */ LPARAM lParam,
  3749. /* [out] */ LRESULT *plResult);
  3750. void __RPC_STUB IOleInPlaceSiteWindowless_OnDefWindowMessage_Stub(
  3751. IRpcStubBuffer *This,
  3752. IRpcChannelBuffer *_pRpcChannelBuffer,
  3753. PRPC_MESSAGE _pRpcMessage,
  3754. DWORD *_pdwStubPhase);
  3755. #endif /* __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__ */
  3756. #ifndef __IViewObjectEx_INTERFACE_DEFINED__
  3757. #define __IViewObjectEx_INTERFACE_DEFINED__
  3758. /* interface IViewObjectEx */
  3759. /* [uuid][unique][object][local] */
  3760. typedef IViewObjectEx *LPVIEWOBJECTEX;
  3761. typedef /* [v1_enum] */
  3762. enum tagVIEWSTATUS
  3763. { VIEWSTATUS_OPAQUE = 1,
  3764. VIEWSTATUS_SOLIDBKGND = 2,
  3765. VIEWSTATUS_DVASPECTOPAQUE = 4,
  3766. VIEWSTATUS_DVASPECTTRANSPARENT = 8,
  3767. VIEWSTATUS_SURFACE = 16,
  3768. VIEWSTATUS_3DSURFACE = 32
  3769. } VIEWSTATUS;
  3770. typedef /* [v1_enum] */
  3771. enum tagHITRESULT
  3772. { HITRESULT_OUTSIDE = 0,
  3773. HITRESULT_TRANSPARENT = 1,
  3774. HITRESULT_CLOSE = 2,
  3775. HITRESULT_HIT = 3
  3776. } HITRESULT;
  3777. typedef /* [v1_enum] */
  3778. enum tagDVASPECT2
  3779. { DVASPECT_OPAQUE = 16,
  3780. DVASPECT_TRANSPARENT = 32
  3781. } DVASPECT2;
  3782. typedef struct tagExtentInfo
  3783. {
  3784. ULONG cb;
  3785. DWORD dwExtentMode;
  3786. SIZEL sizelProposed;
  3787. } DVEXTENTINFO;
  3788. typedef /* [v1_enum] */
  3789. enum tagExtentMode
  3790. { DVEXTENT_CONTENT = 0,
  3791. DVEXTENT_INTEGRAL = DVEXTENT_CONTENT + 1
  3792. } DVEXTENTMODE;
  3793. typedef /* [v1_enum] */
  3794. enum tagAspectInfoFlag
  3795. { DVASPECTINFOFLAG_CANOPTIMIZE = 1
  3796. } DVASPECTINFOFLAG;
  3797. typedef struct tagAspectInfo
  3798. {
  3799. ULONG cb;
  3800. DWORD dwFlags;
  3801. } DVASPECTINFO;
  3802. EXTERN_C const IID IID_IViewObjectEx;
  3803. #if defined(__cplusplus) && !defined(CINTERFACE)
  3804. MIDL_INTERFACE("3AF24292-0C96-11CE-A0CF-00AA00600AB8")
  3805. IViewObjectEx : public IViewObject2
  3806. {
  3807. public:
  3808. virtual HRESULT STDMETHODCALLTYPE GetRect(
  3809. /* [in] */ DWORD dwAspect,
  3810. /* [out] */ LPRECTL pRect) = 0;
  3811. virtual HRESULT STDMETHODCALLTYPE GetViewStatus(
  3812. /* [out] */ DWORD *pdwStatus) = 0;
  3813. virtual HRESULT STDMETHODCALLTYPE QueryHitPoint(
  3814. /* [in] */ DWORD dwAspect,
  3815. /* [in] */ LPCRECT pRectBounds,
  3816. /* [in] */ POINT ptlLoc,
  3817. /* [in] */ LONG lCloseHint,
  3818. /* [out] */ DWORD *pHitResult) = 0;
  3819. virtual HRESULT STDMETHODCALLTYPE QueryHitRect(
  3820. /* [in] */ DWORD dwAspect,
  3821. /* [in] */ LPCRECT pRectBounds,
  3822. /* [in] */ LPCRECT pRectLoc,
  3823. /* [in] */ LONG lCloseHint,
  3824. /* [out] */ DWORD *pHitResult) = 0;
  3825. virtual HRESULT STDMETHODCALLTYPE GetNaturalExtent(
  3826. /* [in] */ DWORD dwAspect,
  3827. /* [in] */ LONG lindex,
  3828. /* [in] */ DVTARGETDEVICE *ptd,
  3829. /* [in] */ HDC hicTargetDev,
  3830. /* [in] */ DVEXTENTINFO *pExtentInfo,
  3831. /* [out] */ LPSIZEL pSizel) = 0;
  3832. };
  3833. #else /* C style interface */
  3834. typedef struct IViewObjectExVtbl
  3835. {
  3836. BEGIN_INTERFACE
  3837. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3838. IViewObjectEx * This,
  3839. /* [in] */ REFIID riid,
  3840. /* [iid_is][out] */ void **ppvObject);
  3841. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3842. IViewObjectEx * This);
  3843. ULONG ( STDMETHODCALLTYPE *Release )(
  3844. IViewObjectEx * This);
  3845. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Draw )(
  3846. IViewObjectEx * This,
  3847. /* [in] */ DWORD dwDrawAspect,
  3848. /* [in] */ LONG lindex,
  3849. /* [unique][in] */ void *pvAspect,
  3850. /* [unique][in] */ DVTARGETDEVICE *ptd,
  3851. /* [in] */ HDC hdcTargetDev,
  3852. /* [in] */ HDC hdcDraw,
  3853. /* [in] */ LPCRECTL lprcBounds,
  3854. /* [unique][in] */ LPCRECTL lprcWBounds,
  3855. /* [in] */ BOOL ( STDMETHODCALLTYPE *pfnContinue )(
  3856. ULONG_PTR dwContinue),
  3857. /* [in] */ ULONG_PTR dwContinue);
  3858. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetColorSet )(
  3859. IViewObjectEx * This,
  3860. /* [in] */ DWORD dwDrawAspect,
  3861. /* [in] */ LONG lindex,
  3862. /* [unique][in] */ void *pvAspect,
  3863. /* [unique][in] */ DVTARGETDEVICE *ptd,
  3864. /* [in] */ HDC hicTargetDev,
  3865. /* [out] */ LOGPALETTE **ppColorSet);
  3866. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Freeze )(
  3867. IViewObjectEx * This,
  3868. /* [in] */ DWORD dwDrawAspect,
  3869. /* [in] */ LONG lindex,
  3870. /* [unique][in] */ void *pvAspect,
  3871. /* [out] */ DWORD *pdwFreeze);
  3872. HRESULT ( STDMETHODCALLTYPE *Unfreeze )(
  3873. IViewObjectEx * This,
  3874. /* [in] */ DWORD dwFreeze);
  3875. HRESULT ( STDMETHODCALLTYPE *SetAdvise )(
  3876. IViewObjectEx * This,
  3877. /* [in] */ DWORD aspects,
  3878. /* [in] */ DWORD advf,
  3879. /* [unique][in] */ IAdviseSink *pAdvSink);
  3880. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetAdvise )(
  3881. IViewObjectEx * This,
  3882. /* [unique][out] */ DWORD *pAspects,
  3883. /* [unique][out] */ DWORD *pAdvf,
  3884. /* [out] */ IAdviseSink **ppAdvSink);
  3885. HRESULT ( STDMETHODCALLTYPE *GetExtent )(
  3886. IViewObjectEx * This,
  3887. /* [in] */ DWORD dwDrawAspect,
  3888. /* [in] */ LONG lindex,
  3889. /* [unique][in] */ DVTARGETDEVICE *ptd,
  3890. /* [out] */ LPSIZEL lpsizel);
  3891. HRESULT ( STDMETHODCALLTYPE *GetRect )(
  3892. IViewObjectEx * This,
  3893. /* [in] */ DWORD dwAspect,
  3894. /* [out] */ LPRECTL pRect);
  3895. HRESULT ( STDMETHODCALLTYPE *GetViewStatus )(
  3896. IViewObjectEx * This,
  3897. /* [out] */ DWORD *pdwStatus);
  3898. HRESULT ( STDMETHODCALLTYPE *QueryHitPoint )(
  3899. IViewObjectEx * This,
  3900. /* [in] */ DWORD dwAspect,
  3901. /* [in] */ LPCRECT pRectBounds,
  3902. /* [in] */ POINT ptlLoc,
  3903. /* [in] */ LONG lCloseHint,
  3904. /* [out] */ DWORD *pHitResult);
  3905. HRESULT ( STDMETHODCALLTYPE *QueryHitRect )(
  3906. IViewObjectEx * This,
  3907. /* [in] */ DWORD dwAspect,
  3908. /* [in] */ LPCRECT pRectBounds,
  3909. /* [in] */ LPCRECT pRectLoc,
  3910. /* [in] */ LONG lCloseHint,
  3911. /* [out] */ DWORD *pHitResult);
  3912. HRESULT ( STDMETHODCALLTYPE *GetNaturalExtent )(
  3913. IViewObjectEx * This,
  3914. /* [in] */ DWORD dwAspect,
  3915. /* [in] */ LONG lindex,
  3916. /* [in] */ DVTARGETDEVICE *ptd,
  3917. /* [in] */ HDC hicTargetDev,
  3918. /* [in] */ DVEXTENTINFO *pExtentInfo,
  3919. /* [out] */ LPSIZEL pSizel);
  3920. END_INTERFACE
  3921. } IViewObjectExVtbl;
  3922. interface IViewObjectEx
  3923. {
  3924. CONST_VTBL struct IViewObjectExVtbl *lpVtbl;
  3925. };
  3926. #ifdef COBJMACROS
  3927. #define IViewObjectEx_QueryInterface(This,riid,ppvObject) \
  3928. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3929. #define IViewObjectEx_AddRef(This) \
  3930. (This)->lpVtbl -> AddRef(This)
  3931. #define IViewObjectEx_Release(This) \
  3932. (This)->lpVtbl -> Release(This)
  3933. #define IViewObjectEx_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) \
  3934. (This)->lpVtbl -> Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
  3935. #define IViewObjectEx_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) \
  3936. (This)->lpVtbl -> GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
  3937. #define IViewObjectEx_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) \
  3938. (This)->lpVtbl -> Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
  3939. #define IViewObjectEx_Unfreeze(This,dwFreeze) \
  3940. (This)->lpVtbl -> Unfreeze(This,dwFreeze)
  3941. #define IViewObjectEx_SetAdvise(This,aspects,advf,pAdvSink) \
  3942. (This)->lpVtbl -> SetAdvise(This,aspects,advf,pAdvSink)
  3943. #define IViewObjectEx_GetAdvise(This,pAspects,pAdvf,ppAdvSink) \
  3944. (This)->lpVtbl -> GetAdvise(This,pAspects,pAdvf,ppAdvSink)
  3945. #define IViewObjectEx_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) \
  3946. (This)->lpVtbl -> GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)
  3947. #define IViewObjectEx_GetRect(This,dwAspect,pRect) \
  3948. (This)->lpVtbl -> GetRect(This,dwAspect,pRect)
  3949. #define IViewObjectEx_GetViewStatus(This,pdwStatus) \
  3950. (This)->lpVtbl -> GetViewStatus(This,pdwStatus)
  3951. #define IViewObjectEx_QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult) \
  3952. (This)->lpVtbl -> QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult)
  3953. #define IViewObjectEx_QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult) \
  3954. (This)->lpVtbl -> QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult)
  3955. #define IViewObjectEx_GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel) \
  3956. (This)->lpVtbl -> GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel)
  3957. #endif /* COBJMACROS */
  3958. #endif /* C style interface */
  3959. HRESULT STDMETHODCALLTYPE IViewObjectEx_GetRect_Proxy(
  3960. IViewObjectEx * This,
  3961. /* [in] */ DWORD dwAspect,
  3962. /* [out] */ LPRECTL pRect);
  3963. void __RPC_STUB IViewObjectEx_GetRect_Stub(
  3964. IRpcStubBuffer *This,
  3965. IRpcChannelBuffer *_pRpcChannelBuffer,
  3966. PRPC_MESSAGE _pRpcMessage,
  3967. DWORD *_pdwStubPhase);
  3968. HRESULT STDMETHODCALLTYPE IViewObjectEx_GetViewStatus_Proxy(
  3969. IViewObjectEx * This,
  3970. /* [out] */ DWORD *pdwStatus);
  3971. void __RPC_STUB IViewObjectEx_GetViewStatus_Stub(
  3972. IRpcStubBuffer *This,
  3973. IRpcChannelBuffer *_pRpcChannelBuffer,
  3974. PRPC_MESSAGE _pRpcMessage,
  3975. DWORD *_pdwStubPhase);
  3976. HRESULT STDMETHODCALLTYPE IViewObjectEx_QueryHitPoint_Proxy(
  3977. IViewObjectEx * This,
  3978. /* [in] */ DWORD dwAspect,
  3979. /* [in] */ LPCRECT pRectBounds,
  3980. /* [in] */ POINT ptlLoc,
  3981. /* [in] */ LONG lCloseHint,
  3982. /* [out] */ DWORD *pHitResult);
  3983. void __RPC_STUB IViewObjectEx_QueryHitPoint_Stub(
  3984. IRpcStubBuffer *This,
  3985. IRpcChannelBuffer *_pRpcChannelBuffer,
  3986. PRPC_MESSAGE _pRpcMessage,
  3987. DWORD *_pdwStubPhase);
  3988. HRESULT STDMETHODCALLTYPE IViewObjectEx_QueryHitRect_Proxy(
  3989. IViewObjectEx * This,
  3990. /* [in] */ DWORD dwAspect,
  3991. /* [in] */ LPCRECT pRectBounds,
  3992. /* [in] */ LPCRECT pRectLoc,
  3993. /* [in] */ LONG lCloseHint,
  3994. /* [out] */ DWORD *pHitResult);
  3995. void __RPC_STUB IViewObjectEx_QueryHitRect_Stub(
  3996. IRpcStubBuffer *This,
  3997. IRpcChannelBuffer *_pRpcChannelBuffer,
  3998. PRPC_MESSAGE _pRpcMessage,
  3999. DWORD *_pdwStubPhase);
  4000. HRESULT STDMETHODCALLTYPE IViewObjectEx_GetNaturalExtent_Proxy(
  4001. IViewObjectEx * This,
  4002. /* [in] */ DWORD dwAspect,
  4003. /* [in] */ LONG lindex,
  4004. /* [in] */ DVTARGETDEVICE *ptd,
  4005. /* [in] */ HDC hicTargetDev,
  4006. /* [in] */ DVEXTENTINFO *pExtentInfo,
  4007. /* [out] */ LPSIZEL pSizel);
  4008. void __RPC_STUB IViewObjectEx_GetNaturalExtent_Stub(
  4009. IRpcStubBuffer *This,
  4010. IRpcChannelBuffer *_pRpcChannelBuffer,
  4011. PRPC_MESSAGE _pRpcMessage,
  4012. DWORD *_pdwStubPhase);
  4013. #endif /* __IViewObjectEx_INTERFACE_DEFINED__ */
  4014. #ifndef __IOleUndoUnit_INTERFACE_DEFINED__
  4015. #define __IOleUndoUnit_INTERFACE_DEFINED__
  4016. /* interface IOleUndoUnit */
  4017. /* [uuid][unique][object] */
  4018. typedef IOleUndoUnit *LPOLEUNDOUNIT;
  4019. EXTERN_C const IID IID_IOleUndoUnit;
  4020. #if defined(__cplusplus) && !defined(CINTERFACE)
  4021. MIDL_INTERFACE("894AD3B0-EF97-11CE-9BC9-00AA00608E01")
  4022. IOleUndoUnit : public IUnknown
  4023. {
  4024. public:
  4025. virtual HRESULT STDMETHODCALLTYPE Do(
  4026. /* [in] */ IOleUndoManager *pUndoManager) = 0;
  4027. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  4028. /* [out] */ BSTR *pBstr) = 0;
  4029. virtual HRESULT STDMETHODCALLTYPE GetUnitType(
  4030. /* [out] */ CLSID *pClsid,
  4031. /* [out] */ LONG *plID) = 0;
  4032. virtual HRESULT STDMETHODCALLTYPE OnNextAdd( void) = 0;
  4033. };
  4034. #else /* C style interface */
  4035. typedef struct IOleUndoUnitVtbl
  4036. {
  4037. BEGIN_INTERFACE
  4038. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4039. IOleUndoUnit * This,
  4040. /* [in] */ REFIID riid,
  4041. /* [iid_is][out] */ void **ppvObject);
  4042. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4043. IOleUndoUnit * This);
  4044. ULONG ( STDMETHODCALLTYPE *Release )(
  4045. IOleUndoUnit * This);
  4046. HRESULT ( STDMETHODCALLTYPE *Do )(
  4047. IOleUndoUnit * This,
  4048. /* [in] */ IOleUndoManager *pUndoManager);
  4049. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  4050. IOleUndoUnit * This,
  4051. /* [out] */ BSTR *pBstr);
  4052. HRESULT ( STDMETHODCALLTYPE *GetUnitType )(
  4053. IOleUndoUnit * This,
  4054. /* [out] */ CLSID *pClsid,
  4055. /* [out] */ LONG *plID);
  4056. HRESULT ( STDMETHODCALLTYPE *OnNextAdd )(
  4057. IOleUndoUnit * This);
  4058. END_INTERFACE
  4059. } IOleUndoUnitVtbl;
  4060. interface IOleUndoUnit
  4061. {
  4062. CONST_VTBL struct IOleUndoUnitVtbl *lpVtbl;
  4063. };
  4064. #ifdef COBJMACROS
  4065. #define IOleUndoUnit_QueryInterface(This,riid,ppvObject) \
  4066. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4067. #define IOleUndoUnit_AddRef(This) \
  4068. (This)->lpVtbl -> AddRef(This)
  4069. #define IOleUndoUnit_Release(This) \
  4070. (This)->lpVtbl -> Release(This)
  4071. #define IOleUndoUnit_Do(This,pUndoManager) \
  4072. (This)->lpVtbl -> Do(This,pUndoManager)
  4073. #define IOleUndoUnit_GetDescription(This,pBstr) \
  4074. (This)->lpVtbl -> GetDescription(This,pBstr)
  4075. #define IOleUndoUnit_GetUnitType(This,pClsid,plID) \
  4076. (This)->lpVtbl -> GetUnitType(This,pClsid,plID)
  4077. #define IOleUndoUnit_OnNextAdd(This) \
  4078. (This)->lpVtbl -> OnNextAdd(This)
  4079. #endif /* COBJMACROS */
  4080. #endif /* C style interface */
  4081. HRESULT STDMETHODCALLTYPE IOleUndoUnit_Do_Proxy(
  4082. IOleUndoUnit * This,
  4083. /* [in] */ IOleUndoManager *pUndoManager);
  4084. void __RPC_STUB IOleUndoUnit_Do_Stub(
  4085. IRpcStubBuffer *This,
  4086. IRpcChannelBuffer *_pRpcChannelBuffer,
  4087. PRPC_MESSAGE _pRpcMessage,
  4088. DWORD *_pdwStubPhase);
  4089. HRESULT STDMETHODCALLTYPE IOleUndoUnit_GetDescription_Proxy(
  4090. IOleUndoUnit * This,
  4091. /* [out] */ BSTR *pBstr);
  4092. void __RPC_STUB IOleUndoUnit_GetDescription_Stub(
  4093. IRpcStubBuffer *This,
  4094. IRpcChannelBuffer *_pRpcChannelBuffer,
  4095. PRPC_MESSAGE _pRpcMessage,
  4096. DWORD *_pdwStubPhase);
  4097. HRESULT STDMETHODCALLTYPE IOleUndoUnit_GetUnitType_Proxy(
  4098. IOleUndoUnit * This,
  4099. /* [out] */ CLSID *pClsid,
  4100. /* [out] */ LONG *plID);
  4101. void __RPC_STUB IOleUndoUnit_GetUnitType_Stub(
  4102. IRpcStubBuffer *This,
  4103. IRpcChannelBuffer *_pRpcChannelBuffer,
  4104. PRPC_MESSAGE _pRpcMessage,
  4105. DWORD *_pdwStubPhase);
  4106. HRESULT STDMETHODCALLTYPE IOleUndoUnit_OnNextAdd_Proxy(
  4107. IOleUndoUnit * This);
  4108. void __RPC_STUB IOleUndoUnit_OnNextAdd_Stub(
  4109. IRpcStubBuffer *This,
  4110. IRpcChannelBuffer *_pRpcChannelBuffer,
  4111. PRPC_MESSAGE _pRpcMessage,
  4112. DWORD *_pdwStubPhase);
  4113. #endif /* __IOleUndoUnit_INTERFACE_DEFINED__ */
  4114. #ifndef __IOleParentUndoUnit_INTERFACE_DEFINED__
  4115. #define __IOleParentUndoUnit_INTERFACE_DEFINED__
  4116. /* interface IOleParentUndoUnit */
  4117. /* [uuid][unique][object] */
  4118. typedef IOleParentUndoUnit *LPOLEPARENTUNDOUNIT;
  4119. EXTERN_C const IID IID_IOleParentUndoUnit;
  4120. #if defined(__cplusplus) && !defined(CINTERFACE)
  4121. MIDL_INTERFACE("A1FAF330-EF97-11CE-9BC9-00AA00608E01")
  4122. IOleParentUndoUnit : public IOleUndoUnit
  4123. {
  4124. public:
  4125. virtual HRESULT STDMETHODCALLTYPE Open(
  4126. /* [in] */ IOleParentUndoUnit *pPUU) = 0;
  4127. virtual HRESULT STDMETHODCALLTYPE Close(
  4128. /* [in] */ IOleParentUndoUnit *pPUU,
  4129. /* [in] */ BOOL fCommit) = 0;
  4130. virtual HRESULT STDMETHODCALLTYPE Add(
  4131. /* [in] */ IOleUndoUnit *pUU) = 0;
  4132. virtual HRESULT STDMETHODCALLTYPE FindUnit(
  4133. /* [in] */ IOleUndoUnit *pUU) = 0;
  4134. virtual HRESULT STDMETHODCALLTYPE GetParentState(
  4135. /* [out] */ DWORD *pdwState) = 0;
  4136. };
  4137. #else /* C style interface */
  4138. typedef struct IOleParentUndoUnitVtbl
  4139. {
  4140. BEGIN_INTERFACE
  4141. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4142. IOleParentUndoUnit * This,
  4143. /* [in] */ REFIID riid,
  4144. /* [iid_is][out] */ void **ppvObject);
  4145. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4146. IOleParentUndoUnit * This);
  4147. ULONG ( STDMETHODCALLTYPE *Release )(
  4148. IOleParentUndoUnit * This);
  4149. HRESULT ( STDMETHODCALLTYPE *Do )(
  4150. IOleParentUndoUnit * This,
  4151. /* [in] */ IOleUndoManager *pUndoManager);
  4152. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  4153. IOleParentUndoUnit * This,
  4154. /* [out] */ BSTR *pBstr);
  4155. HRESULT ( STDMETHODCALLTYPE *GetUnitType )(
  4156. IOleParentUndoUnit * This,
  4157. /* [out] */ CLSID *pClsid,
  4158. /* [out] */ LONG *plID);
  4159. HRESULT ( STDMETHODCALLTYPE *OnNextAdd )(
  4160. IOleParentUndoUnit * This);
  4161. HRESULT ( STDMETHODCALLTYPE *Open )(
  4162. IOleParentUndoUnit * This,
  4163. /* [in] */ IOleParentUndoUnit *pPUU);
  4164. HRESULT ( STDMETHODCALLTYPE *Close )(
  4165. IOleParentUndoUnit * This,
  4166. /* [in] */ IOleParentUndoUnit *pPUU,
  4167. /* [in] */ BOOL fCommit);
  4168. HRESULT ( STDMETHODCALLTYPE *Add )(
  4169. IOleParentUndoUnit * This,
  4170. /* [in] */ IOleUndoUnit *pUU);
  4171. HRESULT ( STDMETHODCALLTYPE *FindUnit )(
  4172. IOleParentUndoUnit * This,
  4173. /* [in] */ IOleUndoUnit *pUU);
  4174. HRESULT ( STDMETHODCALLTYPE *GetParentState )(
  4175. IOleParentUndoUnit * This,
  4176. /* [out] */ DWORD *pdwState);
  4177. END_INTERFACE
  4178. } IOleParentUndoUnitVtbl;
  4179. interface IOleParentUndoUnit
  4180. {
  4181. CONST_VTBL struct IOleParentUndoUnitVtbl *lpVtbl;
  4182. };
  4183. #ifdef COBJMACROS
  4184. #define IOleParentUndoUnit_QueryInterface(This,riid,ppvObject) \
  4185. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4186. #define IOleParentUndoUnit_AddRef(This) \
  4187. (This)->lpVtbl -> AddRef(This)
  4188. #define IOleParentUndoUnit_Release(This) \
  4189. (This)->lpVtbl -> Release(This)
  4190. #define IOleParentUndoUnit_Do(This,pUndoManager) \
  4191. (This)->lpVtbl -> Do(This,pUndoManager)
  4192. #define IOleParentUndoUnit_GetDescription(This,pBstr) \
  4193. (This)->lpVtbl -> GetDescription(This,pBstr)
  4194. #define IOleParentUndoUnit_GetUnitType(This,pClsid,plID) \
  4195. (This)->lpVtbl -> GetUnitType(This,pClsid,plID)
  4196. #define IOleParentUndoUnit_OnNextAdd(This) \
  4197. (This)->lpVtbl -> OnNextAdd(This)
  4198. #define IOleParentUndoUnit_Open(This,pPUU) \
  4199. (This)->lpVtbl -> Open(This,pPUU)
  4200. #define IOleParentUndoUnit_Close(This,pPUU,fCommit) \
  4201. (This)->lpVtbl -> Close(This,pPUU,fCommit)
  4202. #define IOleParentUndoUnit_Add(This,pUU) \
  4203. (This)->lpVtbl -> Add(This,pUU)
  4204. #define IOleParentUndoUnit_FindUnit(This,pUU) \
  4205. (This)->lpVtbl -> FindUnit(This,pUU)
  4206. #define IOleParentUndoUnit_GetParentState(This,pdwState) \
  4207. (This)->lpVtbl -> GetParentState(This,pdwState)
  4208. #endif /* COBJMACROS */
  4209. #endif /* C style interface */
  4210. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_Open_Proxy(
  4211. IOleParentUndoUnit * This,
  4212. /* [in] */ IOleParentUndoUnit *pPUU);
  4213. void __RPC_STUB IOleParentUndoUnit_Open_Stub(
  4214. IRpcStubBuffer *This,
  4215. IRpcChannelBuffer *_pRpcChannelBuffer,
  4216. PRPC_MESSAGE _pRpcMessage,
  4217. DWORD *_pdwStubPhase);
  4218. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_Close_Proxy(
  4219. IOleParentUndoUnit * This,
  4220. /* [in] */ IOleParentUndoUnit *pPUU,
  4221. /* [in] */ BOOL fCommit);
  4222. void __RPC_STUB IOleParentUndoUnit_Close_Stub(
  4223. IRpcStubBuffer *This,
  4224. IRpcChannelBuffer *_pRpcChannelBuffer,
  4225. PRPC_MESSAGE _pRpcMessage,
  4226. DWORD *_pdwStubPhase);
  4227. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_Add_Proxy(
  4228. IOleParentUndoUnit * This,
  4229. /* [in] */ IOleUndoUnit *pUU);
  4230. void __RPC_STUB IOleParentUndoUnit_Add_Stub(
  4231. IRpcStubBuffer *This,
  4232. IRpcChannelBuffer *_pRpcChannelBuffer,
  4233. PRPC_MESSAGE _pRpcMessage,
  4234. DWORD *_pdwStubPhase);
  4235. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_FindUnit_Proxy(
  4236. IOleParentUndoUnit * This,
  4237. /* [in] */ IOleUndoUnit *pUU);
  4238. void __RPC_STUB IOleParentUndoUnit_FindUnit_Stub(
  4239. IRpcStubBuffer *This,
  4240. IRpcChannelBuffer *_pRpcChannelBuffer,
  4241. PRPC_MESSAGE _pRpcMessage,
  4242. DWORD *_pdwStubPhase);
  4243. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_GetParentState_Proxy(
  4244. IOleParentUndoUnit * This,
  4245. /* [out] */ DWORD *pdwState);
  4246. void __RPC_STUB IOleParentUndoUnit_GetParentState_Stub(
  4247. IRpcStubBuffer *This,
  4248. IRpcChannelBuffer *_pRpcChannelBuffer,
  4249. PRPC_MESSAGE _pRpcMessage,
  4250. DWORD *_pdwStubPhase);
  4251. #endif /* __IOleParentUndoUnit_INTERFACE_DEFINED__ */
  4252. #ifndef __IEnumOleUndoUnits_INTERFACE_DEFINED__
  4253. #define __IEnumOleUndoUnits_INTERFACE_DEFINED__
  4254. /* interface IEnumOleUndoUnits */
  4255. /* [uuid][unique][object] */
  4256. typedef IEnumOleUndoUnits *LPENUMOLEUNDOUNITS;
  4257. EXTERN_C const IID IID_IEnumOleUndoUnits;
  4258. #if defined(__cplusplus) && !defined(CINTERFACE)
  4259. MIDL_INTERFACE("B3E7C340-EF97-11CE-9BC9-00AA00608E01")
  4260. IEnumOleUndoUnits : public IUnknown
  4261. {
  4262. public:
  4263. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
  4264. /* [in] */ ULONG cElt,
  4265. /* [length_is][size_is][out] */ IOleUndoUnit **rgElt,
  4266. /* [out] */ ULONG *pcEltFetched) = 0;
  4267. virtual HRESULT STDMETHODCALLTYPE Skip(
  4268. /* [in] */ ULONG cElt) = 0;
  4269. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  4270. virtual HRESULT STDMETHODCALLTYPE Clone(
  4271. /* [out] */ IEnumOleUndoUnits **ppEnum) = 0;
  4272. };
  4273. #else /* C style interface */
  4274. typedef struct IEnumOleUndoUnitsVtbl
  4275. {
  4276. BEGIN_INTERFACE
  4277. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4278. IEnumOleUndoUnits * This,
  4279. /* [in] */ REFIID riid,
  4280. /* [iid_is][out] */ void **ppvObject);
  4281. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4282. IEnumOleUndoUnits * This);
  4283. ULONG ( STDMETHODCALLTYPE *Release )(
  4284. IEnumOleUndoUnits * This);
  4285. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
  4286. IEnumOleUndoUnits * This,
  4287. /* [in] */ ULONG cElt,
  4288. /* [length_is][size_is][out] */ IOleUndoUnit **rgElt,
  4289. /* [out] */ ULONG *pcEltFetched);
  4290. HRESULT ( STDMETHODCALLTYPE *Skip )(
  4291. IEnumOleUndoUnits * This,
  4292. /* [in] */ ULONG cElt);
  4293. HRESULT ( STDMETHODCALLTYPE *Reset )(
  4294. IEnumOleUndoUnits * This);
  4295. HRESULT ( STDMETHODCALLTYPE *Clone )(
  4296. IEnumOleUndoUnits * This,
  4297. /* [out] */ IEnumOleUndoUnits **ppEnum);
  4298. END_INTERFACE
  4299. } IEnumOleUndoUnitsVtbl;
  4300. interface IEnumOleUndoUnits
  4301. {
  4302. CONST_VTBL struct IEnumOleUndoUnitsVtbl *lpVtbl;
  4303. };
  4304. #ifdef COBJMACROS
  4305. #define IEnumOleUndoUnits_QueryInterface(This,riid,ppvObject) \
  4306. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4307. #define IEnumOleUndoUnits_AddRef(This) \
  4308. (This)->lpVtbl -> AddRef(This)
  4309. #define IEnumOleUndoUnits_Release(This) \
  4310. (This)->lpVtbl -> Release(This)
  4311. #define IEnumOleUndoUnits_Next(This,cElt,rgElt,pcEltFetched) \
  4312. (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  4313. #define IEnumOleUndoUnits_Skip(This,cElt) \
  4314. (This)->lpVtbl -> Skip(This,cElt)
  4315. #define IEnumOleUndoUnits_Reset(This) \
  4316. (This)->lpVtbl -> Reset(This)
  4317. #define IEnumOleUndoUnits_Clone(This,ppEnum) \
  4318. (This)->lpVtbl -> Clone(This,ppEnum)
  4319. #endif /* COBJMACROS */
  4320. #endif /* C style interface */
  4321. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_RemoteNext_Proxy(
  4322. IEnumOleUndoUnits * This,
  4323. /* [in] */ ULONG cElt,
  4324. /* [length_is][size_is][out] */ IOleUndoUnit **rgElt,
  4325. /* [out] */ ULONG *pcEltFetched);
  4326. void __RPC_STUB IEnumOleUndoUnits_RemoteNext_Stub(
  4327. IRpcStubBuffer *This,
  4328. IRpcChannelBuffer *_pRpcChannelBuffer,
  4329. PRPC_MESSAGE _pRpcMessage,
  4330. DWORD *_pdwStubPhase);
  4331. HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Skip_Proxy(
  4332. IEnumOleUndoUnits * This,
  4333. /* [in] */ ULONG cElt);
  4334. void __RPC_STUB IEnumOleUndoUnits_Skip_Stub(
  4335. IRpcStubBuffer *This,
  4336. IRpcChannelBuffer *_pRpcChannelBuffer,
  4337. PRPC_MESSAGE _pRpcMessage,
  4338. DWORD *_pdwStubPhase);
  4339. HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Reset_Proxy(
  4340. IEnumOleUndoUnits * This);
  4341. void __RPC_STUB IEnumOleUndoUnits_Reset_Stub(
  4342. IRpcStubBuffer *This,
  4343. IRpcChannelBuffer *_pRpcChannelBuffer,
  4344. PRPC_MESSAGE _pRpcMessage,
  4345. DWORD *_pdwStubPhase);
  4346. HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Clone_Proxy(
  4347. IEnumOleUndoUnits * This,
  4348. /* [out] */ IEnumOleUndoUnits **ppEnum);
  4349. void __RPC_STUB IEnumOleUndoUnits_Clone_Stub(
  4350. IRpcStubBuffer *This,
  4351. IRpcChannelBuffer *_pRpcChannelBuffer,
  4352. PRPC_MESSAGE _pRpcMessage,
  4353. DWORD *_pdwStubPhase);
  4354. #endif /* __IEnumOleUndoUnits_INTERFACE_DEFINED__ */
  4355. #ifndef __IOleUndoManager_INTERFACE_DEFINED__
  4356. #define __IOleUndoManager_INTERFACE_DEFINED__
  4357. /* interface IOleUndoManager */
  4358. /* [uuid][unique][object] */
  4359. #define SID_SOleUndoManager IID_IOleUndoManager
  4360. typedef IOleUndoManager *LPOLEUNDOMANAGER;
  4361. EXTERN_C const IID IID_IOleUndoManager;
  4362. #if defined(__cplusplus) && !defined(CINTERFACE)
  4363. MIDL_INTERFACE("D001F200-EF97-11CE-9BC9-00AA00608E01")
  4364. IOleUndoManager : public IUnknown
  4365. {
  4366. public:
  4367. virtual HRESULT STDMETHODCALLTYPE Open(
  4368. /* [in] */ IOleParentUndoUnit *pPUU) = 0;
  4369. virtual HRESULT STDMETHODCALLTYPE Close(
  4370. /* [in] */ IOleParentUndoUnit *pPUU,
  4371. /* [in] */ BOOL fCommit) = 0;
  4372. virtual HRESULT STDMETHODCALLTYPE Add(
  4373. /* [in] */ IOleUndoUnit *pUU) = 0;
  4374. virtual HRESULT STDMETHODCALLTYPE GetOpenParentState(
  4375. /* [out] */ DWORD *pdwState) = 0;
  4376. virtual HRESULT STDMETHODCALLTYPE DiscardFrom(
  4377. /* [in] */ IOleUndoUnit *pUU) = 0;
  4378. virtual HRESULT STDMETHODCALLTYPE UndoTo(
  4379. /* [in] */ IOleUndoUnit *pUU) = 0;
  4380. virtual HRESULT STDMETHODCALLTYPE RedoTo(
  4381. /* [in] */ IOleUndoUnit *pUU) = 0;
  4382. virtual HRESULT STDMETHODCALLTYPE EnumUndoable(
  4383. /* [out] */ IEnumOleUndoUnits **ppEnum) = 0;
  4384. virtual HRESULT STDMETHODCALLTYPE EnumRedoable(
  4385. /* [out] */ IEnumOleUndoUnits **ppEnum) = 0;
  4386. virtual HRESULT STDMETHODCALLTYPE GetLastUndoDescription(
  4387. /* [out] */ BSTR *pBstr) = 0;
  4388. virtual HRESULT STDMETHODCALLTYPE GetLastRedoDescription(
  4389. /* [out] */ BSTR *pBstr) = 0;
  4390. virtual HRESULT STDMETHODCALLTYPE Enable(
  4391. /* [in] */ BOOL fEnable) = 0;
  4392. };
  4393. #else /* C style interface */
  4394. typedef struct IOleUndoManagerVtbl
  4395. {
  4396. BEGIN_INTERFACE
  4397. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4398. IOleUndoManager * This,
  4399. /* [in] */ REFIID riid,
  4400. /* [iid_is][out] */ void **ppvObject);
  4401. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4402. IOleUndoManager * This);
  4403. ULONG ( STDMETHODCALLTYPE *Release )(
  4404. IOleUndoManager * This);
  4405. HRESULT ( STDMETHODCALLTYPE *Open )(
  4406. IOleUndoManager * This,
  4407. /* [in] */ IOleParentUndoUnit *pPUU);
  4408. HRESULT ( STDMETHODCALLTYPE *Close )(
  4409. IOleUndoManager * This,
  4410. /* [in] */ IOleParentUndoUnit *pPUU,
  4411. /* [in] */ BOOL fCommit);
  4412. HRESULT ( STDMETHODCALLTYPE *Add )(
  4413. IOleUndoManager * This,
  4414. /* [in] */ IOleUndoUnit *pUU);
  4415. HRESULT ( STDMETHODCALLTYPE *GetOpenParentState )(
  4416. IOleUndoManager * This,
  4417. /* [out] */ DWORD *pdwState);
  4418. HRESULT ( STDMETHODCALLTYPE *DiscardFrom )(
  4419. IOleUndoManager * This,
  4420. /* [in] */ IOleUndoUnit *pUU);
  4421. HRESULT ( STDMETHODCALLTYPE *UndoTo )(
  4422. IOleUndoManager * This,
  4423. /* [in] */ IOleUndoUnit *pUU);
  4424. HRESULT ( STDMETHODCALLTYPE *RedoTo )(
  4425. IOleUndoManager * This,
  4426. /* [in] */ IOleUndoUnit *pUU);
  4427. HRESULT ( STDMETHODCALLTYPE *EnumUndoable )(
  4428. IOleUndoManager * This,
  4429. /* [out] */ IEnumOleUndoUnits **ppEnum);
  4430. HRESULT ( STDMETHODCALLTYPE *EnumRedoable )(
  4431. IOleUndoManager * This,
  4432. /* [out] */ IEnumOleUndoUnits **ppEnum);
  4433. HRESULT ( STDMETHODCALLTYPE *GetLastUndoDescription )(
  4434. IOleUndoManager * This,
  4435. /* [out] */ BSTR *pBstr);
  4436. HRESULT ( STDMETHODCALLTYPE *GetLastRedoDescription )(
  4437. IOleUndoManager * This,
  4438. /* [out] */ BSTR *pBstr);
  4439. HRESULT ( STDMETHODCALLTYPE *Enable )(
  4440. IOleUndoManager * This,
  4441. /* [in] */ BOOL fEnable);
  4442. END_INTERFACE
  4443. } IOleUndoManagerVtbl;
  4444. interface IOleUndoManager
  4445. {
  4446. CONST_VTBL struct IOleUndoManagerVtbl *lpVtbl;
  4447. };
  4448. #ifdef COBJMACROS
  4449. #define IOleUndoManager_QueryInterface(This,riid,ppvObject) \
  4450. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4451. #define IOleUndoManager_AddRef(This) \
  4452. (This)->lpVtbl -> AddRef(This)
  4453. #define IOleUndoManager_Release(This) \
  4454. (This)->lpVtbl -> Release(This)
  4455. #define IOleUndoManager_Open(This,pPUU) \
  4456. (This)->lpVtbl -> Open(This,pPUU)
  4457. #define IOleUndoManager_Close(This,pPUU,fCommit) \
  4458. (This)->lpVtbl -> Close(This,pPUU,fCommit)
  4459. #define IOleUndoManager_Add(This,pUU) \
  4460. (This)->lpVtbl -> Add(This,pUU)
  4461. #define IOleUndoManager_GetOpenParentState(This,pdwState) \
  4462. (This)->lpVtbl -> GetOpenParentState(This,pdwState)
  4463. #define IOleUndoManager_DiscardFrom(This,pUU) \
  4464. (This)->lpVtbl -> DiscardFrom(This,pUU)
  4465. #define IOleUndoManager_UndoTo(This,pUU) \
  4466. (This)->lpVtbl -> UndoTo(This,pUU)
  4467. #define IOleUndoManager_RedoTo(This,pUU) \
  4468. (This)->lpVtbl -> RedoTo(This,pUU)
  4469. #define IOleUndoManager_EnumUndoable(This,ppEnum) \
  4470. (This)->lpVtbl -> EnumUndoable(This,ppEnum)
  4471. #define IOleUndoManager_EnumRedoable(This,ppEnum) \
  4472. (This)->lpVtbl -> EnumRedoable(This,ppEnum)
  4473. #define IOleUndoManager_GetLastUndoDescription(This,pBstr) \
  4474. (This)->lpVtbl -> GetLastUndoDescription(This,pBstr)
  4475. #define IOleUndoManager_GetLastRedoDescription(This,pBstr) \
  4476. (This)->lpVtbl -> GetLastRedoDescription(This,pBstr)
  4477. #define IOleUndoManager_Enable(This,fEnable) \
  4478. (This)->lpVtbl -> Enable(This,fEnable)
  4479. #endif /* COBJMACROS */
  4480. #endif /* C style interface */
  4481. HRESULT STDMETHODCALLTYPE IOleUndoManager_Open_Proxy(
  4482. IOleUndoManager * This,
  4483. /* [in] */ IOleParentUndoUnit *pPUU);
  4484. void __RPC_STUB IOleUndoManager_Open_Stub(
  4485. IRpcStubBuffer *This,
  4486. IRpcChannelBuffer *_pRpcChannelBuffer,
  4487. PRPC_MESSAGE _pRpcMessage,
  4488. DWORD *_pdwStubPhase);
  4489. HRESULT STDMETHODCALLTYPE IOleUndoManager_Close_Proxy(
  4490. IOleUndoManager * This,
  4491. /* [in] */ IOleParentUndoUnit *pPUU,
  4492. /* [in] */ BOOL fCommit);
  4493. void __RPC_STUB IOleUndoManager_Close_Stub(
  4494. IRpcStubBuffer *This,
  4495. IRpcChannelBuffer *_pRpcChannelBuffer,
  4496. PRPC_MESSAGE _pRpcMessage,
  4497. DWORD *_pdwStubPhase);
  4498. HRESULT STDMETHODCALLTYPE IOleUndoManager_Add_Proxy(
  4499. IOleUndoManager * This,
  4500. /* [in] */ IOleUndoUnit *pUU);
  4501. void __RPC_STUB IOleUndoManager_Add_Stub(
  4502. IRpcStubBuffer *This,
  4503. IRpcChannelBuffer *_pRpcChannelBuffer,
  4504. PRPC_MESSAGE _pRpcMessage,
  4505. DWORD *_pdwStubPhase);
  4506. HRESULT STDMETHODCALLTYPE IOleUndoManager_GetOpenParentState_Proxy(
  4507. IOleUndoManager * This,
  4508. /* [out] */ DWORD *pdwState);
  4509. void __RPC_STUB IOleUndoManager_GetOpenParentState_Stub(
  4510. IRpcStubBuffer *This,
  4511. IRpcChannelBuffer *_pRpcChannelBuffer,
  4512. PRPC_MESSAGE _pRpcMessage,
  4513. DWORD *_pdwStubPhase);
  4514. HRESULT STDMETHODCALLTYPE IOleUndoManager_DiscardFrom_Proxy(
  4515. IOleUndoManager * This,
  4516. /* [in] */ IOleUndoUnit *pUU);
  4517. void __RPC_STUB IOleUndoManager_DiscardFrom_Stub(
  4518. IRpcStubBuffer *This,
  4519. IRpcChannelBuffer *_pRpcChannelBuffer,
  4520. PRPC_MESSAGE _pRpcMessage,
  4521. DWORD *_pdwStubPhase);
  4522. HRESULT STDMETHODCALLTYPE IOleUndoManager_UndoTo_Proxy(
  4523. IOleUndoManager * This,
  4524. /* [in] */ IOleUndoUnit *pUU);
  4525. void __RPC_STUB IOleUndoManager_UndoTo_Stub(
  4526. IRpcStubBuffer *This,
  4527. IRpcChannelBuffer *_pRpcChannelBuffer,
  4528. PRPC_MESSAGE _pRpcMessage,
  4529. DWORD *_pdwStubPhase);
  4530. HRESULT STDMETHODCALLTYPE IOleUndoManager_RedoTo_Proxy(
  4531. IOleUndoManager * This,
  4532. /* [in] */ IOleUndoUnit *pUU);
  4533. void __RPC_STUB IOleUndoManager_RedoTo_Stub(
  4534. IRpcStubBuffer *This,
  4535. IRpcChannelBuffer *_pRpcChannelBuffer,
  4536. PRPC_MESSAGE _pRpcMessage,
  4537. DWORD *_pdwStubPhase);
  4538. HRESULT STDMETHODCALLTYPE IOleUndoManager_EnumUndoable_Proxy(
  4539. IOleUndoManager * This,
  4540. /* [out] */ IEnumOleUndoUnits **ppEnum);
  4541. void __RPC_STUB IOleUndoManager_EnumUndoable_Stub(
  4542. IRpcStubBuffer *This,
  4543. IRpcChannelBuffer *_pRpcChannelBuffer,
  4544. PRPC_MESSAGE _pRpcMessage,
  4545. DWORD *_pdwStubPhase);
  4546. HRESULT STDMETHODCALLTYPE IOleUndoManager_EnumRedoable_Proxy(
  4547. IOleUndoManager * This,
  4548. /* [out] */ IEnumOleUndoUnits **ppEnum);
  4549. void __RPC_STUB IOleUndoManager_EnumRedoable_Stub(
  4550. IRpcStubBuffer *This,
  4551. IRpcChannelBuffer *_pRpcChannelBuffer,
  4552. PRPC_MESSAGE _pRpcMessage,
  4553. DWORD *_pdwStubPhase);
  4554. HRESULT STDMETHODCALLTYPE IOleUndoManager_GetLastUndoDescription_Proxy(
  4555. IOleUndoManager * This,
  4556. /* [out] */ BSTR *pBstr);
  4557. void __RPC_STUB IOleUndoManager_GetLastUndoDescription_Stub(
  4558. IRpcStubBuffer *This,
  4559. IRpcChannelBuffer *_pRpcChannelBuffer,
  4560. PRPC_MESSAGE _pRpcMessage,
  4561. DWORD *_pdwStubPhase);
  4562. HRESULT STDMETHODCALLTYPE IOleUndoManager_GetLastRedoDescription_Proxy(
  4563. IOleUndoManager * This,
  4564. /* [out] */ BSTR *pBstr);
  4565. void __RPC_STUB IOleUndoManager_GetLastRedoDescription_Stub(
  4566. IRpcStubBuffer *This,
  4567. IRpcChannelBuffer *_pRpcChannelBuffer,
  4568. PRPC_MESSAGE _pRpcMessage,
  4569. DWORD *_pdwStubPhase);
  4570. HRESULT STDMETHODCALLTYPE IOleUndoManager_Enable_Proxy(
  4571. IOleUndoManager * This,
  4572. /* [in] */ BOOL fEnable);
  4573. void __RPC_STUB IOleUndoManager_Enable_Stub(
  4574. IRpcStubBuffer *This,
  4575. IRpcChannelBuffer *_pRpcChannelBuffer,
  4576. PRPC_MESSAGE _pRpcMessage,
  4577. DWORD *_pdwStubPhase);
  4578. #endif /* __IOleUndoManager_INTERFACE_DEFINED__ */
  4579. #ifndef __IPointerInactive_INTERFACE_DEFINED__
  4580. #define __IPointerInactive_INTERFACE_DEFINED__
  4581. /* interface IPointerInactive */
  4582. /* [uuid][unique][object] */
  4583. typedef IPointerInactive *LPPOINTERINACTIVE;
  4584. typedef /* [v1_enum] */
  4585. enum tagPOINTERINACTIVE
  4586. { POINTERINACTIVE_ACTIVATEONENTRY = 1,
  4587. POINTERINACTIVE_DEACTIVATEONLEAVE = 2,
  4588. POINTERINACTIVE_ACTIVATEONDRAG = 4
  4589. } POINTERINACTIVE;
  4590. EXTERN_C const IID IID_IPointerInactive;
  4591. #if defined(__cplusplus) && !defined(CINTERFACE)
  4592. MIDL_INTERFACE("55980BA0-35AA-11CF-B671-00AA004CD6D8")
  4593. IPointerInactive : public IUnknown
  4594. {
  4595. public:
  4596. virtual HRESULT STDMETHODCALLTYPE GetActivationPolicy(
  4597. /* [out] */ DWORD *pdwPolicy) = 0;
  4598. virtual HRESULT STDMETHODCALLTYPE OnInactiveMouseMove(
  4599. /* [in] */ LPCRECT pRectBounds,
  4600. /* [in] */ LONG x,
  4601. /* [in] */ LONG y,
  4602. /* [in] */ DWORD grfKeyState) = 0;
  4603. virtual HRESULT STDMETHODCALLTYPE OnInactiveSetCursor(
  4604. /* [in] */ LPCRECT pRectBounds,
  4605. /* [in] */ LONG x,
  4606. /* [in] */ LONG y,
  4607. /* [in] */ DWORD dwMouseMsg,
  4608. /* [in] */ BOOL fSetAlways) = 0;
  4609. };
  4610. #else /* C style interface */
  4611. typedef struct IPointerInactiveVtbl
  4612. {
  4613. BEGIN_INTERFACE
  4614. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4615. IPointerInactive * This,
  4616. /* [in] */ REFIID riid,
  4617. /* [iid_is][out] */ void **ppvObject);
  4618. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4619. IPointerInactive * This);
  4620. ULONG ( STDMETHODCALLTYPE *Release )(
  4621. IPointerInactive * This);
  4622. HRESULT ( STDMETHODCALLTYPE *GetActivationPolicy )(
  4623. IPointerInactive * This,
  4624. /* [out] */ DWORD *pdwPolicy);
  4625. HRESULT ( STDMETHODCALLTYPE *OnInactiveMouseMove )(
  4626. IPointerInactive * This,
  4627. /* [in] */ LPCRECT pRectBounds,
  4628. /* [in] */ LONG x,
  4629. /* [in] */ LONG y,
  4630. /* [in] */ DWORD grfKeyState);
  4631. HRESULT ( STDMETHODCALLTYPE *OnInactiveSetCursor )(
  4632. IPointerInactive * This,
  4633. /* [in] */ LPCRECT pRectBounds,
  4634. /* [in] */ LONG x,
  4635. /* [in] */ LONG y,
  4636. /* [in] */ DWORD dwMouseMsg,
  4637. /* [in] */ BOOL fSetAlways);
  4638. END_INTERFACE
  4639. } IPointerInactiveVtbl;
  4640. interface IPointerInactive
  4641. {
  4642. CONST_VTBL struct IPointerInactiveVtbl *lpVtbl;
  4643. };
  4644. #ifdef COBJMACROS
  4645. #define IPointerInactive_QueryInterface(This,riid,ppvObject) \
  4646. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4647. #define IPointerInactive_AddRef(This) \
  4648. (This)->lpVtbl -> AddRef(This)
  4649. #define IPointerInactive_Release(This) \
  4650. (This)->lpVtbl -> Release(This)
  4651. #define IPointerInactive_GetActivationPolicy(This,pdwPolicy) \
  4652. (This)->lpVtbl -> GetActivationPolicy(This,pdwPolicy)
  4653. #define IPointerInactive_OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState) \
  4654. (This)->lpVtbl -> OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState)
  4655. #define IPointerInactive_OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways) \
  4656. (This)->lpVtbl -> OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways)
  4657. #endif /* COBJMACROS */
  4658. #endif /* C style interface */
  4659. HRESULT STDMETHODCALLTYPE IPointerInactive_GetActivationPolicy_Proxy(
  4660. IPointerInactive * This,
  4661. /* [out] */ DWORD *pdwPolicy);
  4662. void __RPC_STUB IPointerInactive_GetActivationPolicy_Stub(
  4663. IRpcStubBuffer *This,
  4664. IRpcChannelBuffer *_pRpcChannelBuffer,
  4665. PRPC_MESSAGE _pRpcMessage,
  4666. DWORD *_pdwStubPhase);
  4667. HRESULT STDMETHODCALLTYPE IPointerInactive_OnInactiveMouseMove_Proxy(
  4668. IPointerInactive * This,
  4669. /* [in] */ LPCRECT pRectBounds,
  4670. /* [in] */ LONG x,
  4671. /* [in] */ LONG y,
  4672. /* [in] */ DWORD grfKeyState);
  4673. void __RPC_STUB IPointerInactive_OnInactiveMouseMove_Stub(
  4674. IRpcStubBuffer *This,
  4675. IRpcChannelBuffer *_pRpcChannelBuffer,
  4676. PRPC_MESSAGE _pRpcMessage,
  4677. DWORD *_pdwStubPhase);
  4678. HRESULT STDMETHODCALLTYPE IPointerInactive_OnInactiveSetCursor_Proxy(
  4679. IPointerInactive * This,
  4680. /* [in] */ LPCRECT pRectBounds,
  4681. /* [in] */ LONG x,
  4682. /* [in] */ LONG y,
  4683. /* [in] */ DWORD dwMouseMsg,
  4684. /* [in] */ BOOL fSetAlways);
  4685. void __RPC_STUB IPointerInactive_OnInactiveSetCursor_Stub(
  4686. IRpcStubBuffer *This,
  4687. IRpcChannelBuffer *_pRpcChannelBuffer,
  4688. PRPC_MESSAGE _pRpcMessage,
  4689. DWORD *_pdwStubPhase);
  4690. #endif /* __IPointerInactive_INTERFACE_DEFINED__ */
  4691. #ifndef __IObjectWithSite_INTERFACE_DEFINED__
  4692. #define __IObjectWithSite_INTERFACE_DEFINED__
  4693. /* interface IObjectWithSite */
  4694. /* [unique][uuid][object] */
  4695. typedef IObjectWithSite *LPOBJECTWITHSITE;
  4696. EXTERN_C const IID IID_IObjectWithSite;
  4697. #if defined(__cplusplus) && !defined(CINTERFACE)
  4698. MIDL_INTERFACE("FC4801A3-2BA9-11CF-A229-00AA003D7352")
  4699. IObjectWithSite : public IUnknown
  4700. {
  4701. public:
  4702. virtual HRESULT STDMETHODCALLTYPE SetSite(
  4703. /* [in] */ IUnknown *pUnkSite) = 0;
  4704. virtual HRESULT STDMETHODCALLTYPE GetSite(
  4705. /* [in] */ REFIID riid,
  4706. /* [iid_is][out] */ void **ppvSite) = 0;
  4707. };
  4708. #else /* C style interface */
  4709. typedef struct IObjectWithSiteVtbl
  4710. {
  4711. BEGIN_INTERFACE
  4712. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4713. IObjectWithSite * This,
  4714. /* [in] */ REFIID riid,
  4715. /* [iid_is][out] */ void **ppvObject);
  4716. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4717. IObjectWithSite * This);
  4718. ULONG ( STDMETHODCALLTYPE *Release )(
  4719. IObjectWithSite * This);
  4720. HRESULT ( STDMETHODCALLTYPE *SetSite )(
  4721. IObjectWithSite * This,
  4722. /* [in] */ IUnknown *pUnkSite);
  4723. HRESULT ( STDMETHODCALLTYPE *GetSite )(
  4724. IObjectWithSite * This,
  4725. /* [in] */ REFIID riid,
  4726. /* [iid_is][out] */ void **ppvSite);
  4727. END_INTERFACE
  4728. } IObjectWithSiteVtbl;
  4729. interface IObjectWithSite
  4730. {
  4731. CONST_VTBL struct IObjectWithSiteVtbl *lpVtbl;
  4732. };
  4733. #ifdef COBJMACROS
  4734. #define IObjectWithSite_QueryInterface(This,riid,ppvObject) \
  4735. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4736. #define IObjectWithSite_AddRef(This) \
  4737. (This)->lpVtbl -> AddRef(This)
  4738. #define IObjectWithSite_Release(This) \
  4739. (This)->lpVtbl -> Release(This)
  4740. #define IObjectWithSite_SetSite(This,pUnkSite) \
  4741. (This)->lpVtbl -> SetSite(This,pUnkSite)
  4742. #define IObjectWithSite_GetSite(This,riid,ppvSite) \
  4743. (This)->lpVtbl -> GetSite(This,riid,ppvSite)
  4744. #endif /* COBJMACROS */
  4745. #endif /* C style interface */
  4746. HRESULT STDMETHODCALLTYPE IObjectWithSite_SetSite_Proxy(
  4747. IObjectWithSite * This,
  4748. /* [in] */ IUnknown *pUnkSite);
  4749. void __RPC_STUB IObjectWithSite_SetSite_Stub(
  4750. IRpcStubBuffer *This,
  4751. IRpcChannelBuffer *_pRpcChannelBuffer,
  4752. PRPC_MESSAGE _pRpcMessage,
  4753. DWORD *_pdwStubPhase);
  4754. HRESULT STDMETHODCALLTYPE IObjectWithSite_GetSite_Proxy(
  4755. IObjectWithSite * This,
  4756. /* [in] */ REFIID riid,
  4757. /* [iid_is][out] */ void **ppvSite);
  4758. void __RPC_STUB IObjectWithSite_GetSite_Stub(
  4759. IRpcStubBuffer *This,
  4760. IRpcChannelBuffer *_pRpcChannelBuffer,
  4761. PRPC_MESSAGE _pRpcMessage,
  4762. DWORD *_pdwStubPhase);
  4763. #endif /* __IObjectWithSite_INTERFACE_DEFINED__ */
  4764. #ifndef __IPerPropertyBrowsing_INTERFACE_DEFINED__
  4765. #define __IPerPropertyBrowsing_INTERFACE_DEFINED__
  4766. /* interface IPerPropertyBrowsing */
  4767. /* [unique][uuid][object] */
  4768. typedef IPerPropertyBrowsing *LPPERPROPERTYBROWSING;
  4769. typedef struct tagCALPOLESTR
  4770. {
  4771. ULONG cElems;
  4772. /* [size_is] */ LPOLESTR *pElems;
  4773. } CALPOLESTR;
  4774. typedef struct tagCALPOLESTR *LPCALPOLESTR;
  4775. typedef struct tagCADWORD
  4776. {
  4777. ULONG cElems;
  4778. /* [size_is] */ DWORD *pElems;
  4779. } CADWORD;
  4780. typedef struct tagCADWORD *LPCADWORD;
  4781. EXTERN_C const IID IID_IPerPropertyBrowsing;
  4782. #if defined(__cplusplus) && !defined(CINTERFACE)
  4783. MIDL_INTERFACE("376BD3AA-3845-101B-84ED-08002B2EC713")
  4784. IPerPropertyBrowsing : public IUnknown
  4785. {
  4786. public:
  4787. virtual HRESULT STDMETHODCALLTYPE GetDisplayString(
  4788. /* [in] */ DISPID dispID,
  4789. /* [out] */ BSTR *pBstr) = 0;
  4790. virtual HRESULT STDMETHODCALLTYPE MapPropertyToPage(
  4791. /* [in] */ DISPID dispID,
  4792. /* [out] */ CLSID *pClsid) = 0;
  4793. virtual HRESULT STDMETHODCALLTYPE GetPredefinedStrings(
  4794. /* [in] */ DISPID dispID,
  4795. /* [out] */ CALPOLESTR *pCaStringsOut,
  4796. /* [out] */ CADWORD *pCaCookiesOut) = 0;
  4797. virtual HRESULT STDMETHODCALLTYPE GetPredefinedValue(
  4798. /* [in] */ DISPID dispID,
  4799. /* [in] */ DWORD dwCookie,
  4800. /* [out] */ VARIANT *pVarOut) = 0;
  4801. };
  4802. #else /* C style interface */
  4803. typedef struct IPerPropertyBrowsingVtbl
  4804. {
  4805. BEGIN_INTERFACE
  4806. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4807. IPerPropertyBrowsing * This,
  4808. /* [in] */ REFIID riid,
  4809. /* [iid_is][out] */ void **ppvObject);
  4810. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4811. IPerPropertyBrowsing * This);
  4812. ULONG ( STDMETHODCALLTYPE *Release )(
  4813. IPerPropertyBrowsing * This);
  4814. HRESULT ( STDMETHODCALLTYPE *GetDisplayString )(
  4815. IPerPropertyBrowsing * This,
  4816. /* [in] */ DISPID dispID,
  4817. /* [out] */ BSTR *pBstr);
  4818. HRESULT ( STDMETHODCALLTYPE *MapPropertyToPage )(
  4819. IPerPropertyBrowsing * This,
  4820. /* [in] */ DISPID dispID,
  4821. /* [out] */ CLSID *pClsid);
  4822. HRESULT ( STDMETHODCALLTYPE *GetPredefinedStrings )(
  4823. IPerPropertyBrowsing * This,
  4824. /* [in] */ DISPID dispID,
  4825. /* [out] */ CALPOLESTR *pCaStringsOut,
  4826. /* [out] */ CADWORD *pCaCookiesOut);
  4827. HRESULT ( STDMETHODCALLTYPE *GetPredefinedValue )(
  4828. IPerPropertyBrowsing * This,
  4829. /* [in] */ DISPID dispID,
  4830. /* [in] */ DWORD dwCookie,
  4831. /* [out] */ VARIANT *pVarOut);
  4832. END_INTERFACE
  4833. } IPerPropertyBrowsingVtbl;
  4834. interface IPerPropertyBrowsing
  4835. {
  4836. CONST_VTBL struct IPerPropertyBrowsingVtbl *lpVtbl;
  4837. };
  4838. #ifdef COBJMACROS
  4839. #define IPerPropertyBrowsing_QueryInterface(This,riid,ppvObject) \
  4840. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4841. #define IPerPropertyBrowsing_AddRef(This) \
  4842. (This)->lpVtbl -> AddRef(This)
  4843. #define IPerPropertyBrowsing_Release(This) \
  4844. (This)->lpVtbl -> Release(This)
  4845. #define IPerPropertyBrowsing_GetDisplayString(This,dispID,pBstr) \
  4846. (This)->lpVtbl -> GetDisplayString(This,dispID,pBstr)
  4847. #define IPerPropertyBrowsing_MapPropertyToPage(This,dispID,pClsid) \
  4848. (This)->lpVtbl -> MapPropertyToPage(This,dispID,pClsid)
  4849. #define IPerPropertyBrowsing_GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut) \
  4850. (This)->lpVtbl -> GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut)
  4851. #define IPerPropertyBrowsing_GetPredefinedValue(This,dispID,dwCookie,pVarOut) \
  4852. (This)->lpVtbl -> GetPredefinedValue(This,dispID,dwCookie,pVarOut)
  4853. #endif /* COBJMACROS */
  4854. #endif /* C style interface */
  4855. HRESULT STDMETHODCALLTYPE IPerPropertyBrowsing_GetDisplayString_Proxy(
  4856. IPerPropertyBrowsing * This,
  4857. /* [in] */ DISPID dispID,
  4858. /* [out] */ BSTR *pBstr);
  4859. void __RPC_STUB IPerPropertyBrowsing_GetDisplayString_Stub(
  4860. IRpcStubBuffer *This,
  4861. IRpcChannelBuffer *_pRpcChannelBuffer,
  4862. PRPC_MESSAGE _pRpcMessage,
  4863. DWORD *_pdwStubPhase);
  4864. HRESULT STDMETHODCALLTYPE IPerPropertyBrowsing_MapPropertyToPage_Proxy(
  4865. IPerPropertyBrowsing * This,
  4866. /* [in] */ DISPID dispID,
  4867. /* [out] */ CLSID *pClsid);
  4868. void __RPC_STUB IPerPropertyBrowsing_MapPropertyToPage_Stub(
  4869. IRpcStubBuffer *This,
  4870. IRpcChannelBuffer *_pRpcChannelBuffer,
  4871. PRPC_MESSAGE _pRpcMessage,
  4872. DWORD *_pdwStubPhase);
  4873. HRESULT STDMETHODCALLTYPE IPerPropertyBrowsing_GetPredefinedStrings_Proxy(
  4874. IPerPropertyBrowsing * This,
  4875. /* [in] */ DISPID dispID,
  4876. /* [out] */ CALPOLESTR *pCaStringsOut,
  4877. /* [out] */ CADWORD *pCaCookiesOut);
  4878. void __RPC_STUB IPerPropertyBrowsing_GetPredefinedStrings_Stub(
  4879. IRpcStubBuffer *This,
  4880. IRpcChannelBuffer *_pRpcChannelBuffer,
  4881. PRPC_MESSAGE _pRpcMessage,
  4882. DWORD *_pdwStubPhase);
  4883. HRESULT STDMETHODCALLTYPE IPerPropertyBrowsing_GetPredefinedValue_Proxy(
  4884. IPerPropertyBrowsing * This,
  4885. /* [in] */ DISPID dispID,
  4886. /* [in] */ DWORD dwCookie,
  4887. /* [out] */ VARIANT *pVarOut);
  4888. void __RPC_STUB IPerPropertyBrowsing_GetPredefinedValue_Stub(
  4889. IRpcStubBuffer *This,
  4890. IRpcChannelBuffer *_pRpcChannelBuffer,
  4891. PRPC_MESSAGE _pRpcMessage,
  4892. DWORD *_pdwStubPhase);
  4893. #endif /* __IPerPropertyBrowsing_INTERFACE_DEFINED__ */
  4894. #ifndef __IPropertyBag2_INTERFACE_DEFINED__
  4895. #define __IPropertyBag2_INTERFACE_DEFINED__
  4896. /* interface IPropertyBag2 */
  4897. /* [unique][uuid][object] */
  4898. typedef IPropertyBag2 *LPPROPERTYBAG2;
  4899. typedef /* [v1_enum] */
  4900. enum tagPROPBAG2_TYPE
  4901. { PROPBAG2_TYPE_UNDEFINED = 0,
  4902. PROPBAG2_TYPE_DATA = 1,
  4903. PROPBAG2_TYPE_URL = 2,
  4904. PROPBAG2_TYPE_OBJECT = 3,
  4905. PROPBAG2_TYPE_STREAM = 4,
  4906. PROPBAG2_TYPE_STORAGE = 5,
  4907. PROPBAG2_TYPE_MONIKER = 6
  4908. } PROPBAG2_TYPE;
  4909. typedef struct tagPROPBAG2
  4910. {
  4911. DWORD dwType;
  4912. VARTYPE vt;
  4913. CLIPFORMAT cfType;
  4914. DWORD dwHint;
  4915. LPOLESTR pstrName;
  4916. CLSID clsid;
  4917. } PROPBAG2;
  4918. EXTERN_C const IID IID_IPropertyBag2;
  4919. #if defined(__cplusplus) && !defined(CINTERFACE)
  4920. MIDL_INTERFACE("22F55882-280B-11d0-A8A9-00A0C90C2004")
  4921. IPropertyBag2 : public IUnknown
  4922. {
  4923. public:
  4924. virtual HRESULT STDMETHODCALLTYPE Read(
  4925. /* [in] */ ULONG cProperties,
  4926. /* [in] */ PROPBAG2 *pPropBag,
  4927. /* [in] */ IErrorLog *pErrLog,
  4928. /* [out] */ VARIANT *pvarValue,
  4929. /* [out] */ HRESULT *phrError) = 0;
  4930. virtual HRESULT STDMETHODCALLTYPE Write(
  4931. /* [in] */ ULONG cProperties,
  4932. /* [in] */ PROPBAG2 *pPropBag,
  4933. /* [in] */ VARIANT *pvarValue) = 0;
  4934. virtual HRESULT STDMETHODCALLTYPE CountProperties(
  4935. /* [out] */ ULONG *pcProperties) = 0;
  4936. virtual HRESULT STDMETHODCALLTYPE GetPropertyInfo(
  4937. /* [in] */ ULONG iProperty,
  4938. /* [in] */ ULONG cProperties,
  4939. /* [out] */ PROPBAG2 *pPropBag,
  4940. /* [out] */ ULONG *pcProperties) = 0;
  4941. virtual HRESULT STDMETHODCALLTYPE LoadObject(
  4942. /* [in] */ LPCOLESTR pstrName,
  4943. /* [in] */ DWORD dwHint,
  4944. /* [in] */ IUnknown *pUnkObject,
  4945. /* [in] */ IErrorLog *pErrLog) = 0;
  4946. };
  4947. #else /* C style interface */
  4948. typedef struct IPropertyBag2Vtbl
  4949. {
  4950. BEGIN_INTERFACE
  4951. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4952. IPropertyBag2 * This,
  4953. /* [in] */ REFIID riid,
  4954. /* [iid_is][out] */ void **ppvObject);
  4955. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4956. IPropertyBag2 * This);
  4957. ULONG ( STDMETHODCALLTYPE *Release )(
  4958. IPropertyBag2 * This);
  4959. HRESULT ( STDMETHODCALLTYPE *Read )(
  4960. IPropertyBag2 * This,
  4961. /* [in] */ ULONG cProperties,
  4962. /* [in] */ PROPBAG2 *pPropBag,
  4963. /* [in] */ IErrorLog *pErrLog,
  4964. /* [out] */ VARIANT *pvarValue,
  4965. /* [out] */ HRESULT *phrError);
  4966. HRESULT ( STDMETHODCALLTYPE *Write )(
  4967. IPropertyBag2 * This,
  4968. /* [in] */ ULONG cProperties,
  4969. /* [in] */ PROPBAG2 *pPropBag,
  4970. /* [in] */ VARIANT *pvarValue);
  4971. HRESULT ( STDMETHODCALLTYPE *CountProperties )(
  4972. IPropertyBag2 * This,
  4973. /* [out] */ ULONG *pcProperties);
  4974. HRESULT ( STDMETHODCALLTYPE *GetPropertyInfo )(
  4975. IPropertyBag2 * This,
  4976. /* [in] */ ULONG iProperty,
  4977. /* [in] */ ULONG cProperties,
  4978. /* [out] */ PROPBAG2 *pPropBag,
  4979. /* [out] */ ULONG *pcProperties);
  4980. HRESULT ( STDMETHODCALLTYPE *LoadObject )(
  4981. IPropertyBag2 * This,
  4982. /* [in] */ LPCOLESTR pstrName,
  4983. /* [in] */ DWORD dwHint,
  4984. /* [in] */ IUnknown *pUnkObject,
  4985. /* [in] */ IErrorLog *pErrLog);
  4986. END_INTERFACE
  4987. } IPropertyBag2Vtbl;
  4988. interface IPropertyBag2
  4989. {
  4990. CONST_VTBL struct IPropertyBag2Vtbl *lpVtbl;
  4991. };
  4992. #ifdef COBJMACROS
  4993. #define IPropertyBag2_QueryInterface(This,riid,ppvObject) \
  4994. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4995. #define IPropertyBag2_AddRef(This) \
  4996. (This)->lpVtbl -> AddRef(This)
  4997. #define IPropertyBag2_Release(This) \
  4998. (This)->lpVtbl -> Release(This)
  4999. #define IPropertyBag2_Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError) \
  5000. (This)->lpVtbl -> Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError)
  5001. #define IPropertyBag2_Write(This,cProperties,pPropBag,pvarValue) \
  5002. (This)->lpVtbl -> Write(This,cProperties,pPropBag,pvarValue)
  5003. #define IPropertyBag2_CountProperties(This,pcProperties) \
  5004. (This)->lpVtbl -> CountProperties(This,pcProperties)
  5005. #define IPropertyBag2_GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties) \
  5006. (This)->lpVtbl -> GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties)
  5007. #define IPropertyBag2_LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog) \
  5008. (This)->lpVtbl -> LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog)
  5009. #endif /* COBJMACROS */
  5010. #endif /* C style interface */
  5011. HRESULT STDMETHODCALLTYPE IPropertyBag2_Read_Proxy(
  5012. IPropertyBag2 * This,
  5013. /* [in] */ ULONG cProperties,
  5014. /* [in] */ PROPBAG2 *pPropBag,
  5015. /* [in] */ IErrorLog *pErrLog,
  5016. /* [out] */ VARIANT *pvarValue,
  5017. /* [out] */ HRESULT *phrError);
  5018. void __RPC_STUB IPropertyBag2_Read_Stub(
  5019. IRpcStubBuffer *This,
  5020. IRpcChannelBuffer *_pRpcChannelBuffer,
  5021. PRPC_MESSAGE _pRpcMessage,
  5022. DWORD *_pdwStubPhase);
  5023. HRESULT STDMETHODCALLTYPE IPropertyBag2_Write_Proxy(
  5024. IPropertyBag2 * This,
  5025. /* [in] */ ULONG cProperties,
  5026. /* [in] */ PROPBAG2 *pPropBag,
  5027. /* [in] */ VARIANT *pvarValue);
  5028. void __RPC_STUB IPropertyBag2_Write_Stub(
  5029. IRpcStubBuffer *This,
  5030. IRpcChannelBuffer *_pRpcChannelBuffer,
  5031. PRPC_MESSAGE _pRpcMessage,
  5032. DWORD *_pdwStubPhase);
  5033. HRESULT STDMETHODCALLTYPE IPropertyBag2_CountProperties_Proxy(
  5034. IPropertyBag2 * This,
  5035. /* [out] */ ULONG *pcProperties);
  5036. void __RPC_STUB IPropertyBag2_CountProperties_Stub(
  5037. IRpcStubBuffer *This,
  5038. IRpcChannelBuffer *_pRpcChannelBuffer,
  5039. PRPC_MESSAGE _pRpcMessage,
  5040. DWORD *_pdwStubPhase);
  5041. HRESULT STDMETHODCALLTYPE IPropertyBag2_GetPropertyInfo_Proxy(
  5042. IPropertyBag2 * This,
  5043. /* [in] */ ULONG iProperty,
  5044. /* [in] */ ULONG cProperties,
  5045. /* [out] */ PROPBAG2 *pPropBag,
  5046. /* [out] */ ULONG *pcProperties);
  5047. void __RPC_STUB IPropertyBag2_GetPropertyInfo_Stub(
  5048. IRpcStubBuffer *This,
  5049. IRpcChannelBuffer *_pRpcChannelBuffer,
  5050. PRPC_MESSAGE _pRpcMessage,
  5051. DWORD *_pdwStubPhase);
  5052. HRESULT STDMETHODCALLTYPE IPropertyBag2_LoadObject_Proxy(
  5053. IPropertyBag2 * This,
  5054. /* [in] */ LPCOLESTR pstrName,
  5055. /* [in] */ DWORD dwHint,
  5056. /* [in] */ IUnknown *pUnkObject,
  5057. /* [in] */ IErrorLog *pErrLog);
  5058. void __RPC_STUB IPropertyBag2_LoadObject_Stub(
  5059. IRpcStubBuffer *This,
  5060. IRpcChannelBuffer *_pRpcChannelBuffer,
  5061. PRPC_MESSAGE _pRpcMessage,
  5062. DWORD *_pdwStubPhase);
  5063. #endif /* __IPropertyBag2_INTERFACE_DEFINED__ */
  5064. #ifndef __IPersistPropertyBag2_INTERFACE_DEFINED__
  5065. #define __IPersistPropertyBag2_INTERFACE_DEFINED__
  5066. /* interface IPersistPropertyBag2 */
  5067. /* [unique][uuid][object] */
  5068. typedef IPersistPropertyBag2 *LPPERSISTPROPERTYBAG2;
  5069. EXTERN_C const IID IID_IPersistPropertyBag2;
  5070. #if defined(__cplusplus) && !defined(CINTERFACE)
  5071. MIDL_INTERFACE("22F55881-280B-11d0-A8A9-00A0C90C2004")
  5072. IPersistPropertyBag2 : public IPersist
  5073. {
  5074. public:
  5075. virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  5076. virtual HRESULT STDMETHODCALLTYPE Load(
  5077. /* [in] */ IPropertyBag2 *pPropBag,
  5078. /* [in] */ IErrorLog *pErrLog) = 0;
  5079. virtual HRESULT STDMETHODCALLTYPE Save(
  5080. /* [in] */ IPropertyBag2 *pPropBag,
  5081. /* [in] */ BOOL fClearDirty,
  5082. /* [in] */ BOOL fSaveAllProperties) = 0;
  5083. virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
  5084. };
  5085. #else /* C style interface */
  5086. typedef struct IPersistPropertyBag2Vtbl
  5087. {
  5088. BEGIN_INTERFACE
  5089. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5090. IPersistPropertyBag2 * This,
  5091. /* [in] */ REFIID riid,
  5092. /* [iid_is][out] */ void **ppvObject);
  5093. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5094. IPersistPropertyBag2 * This);
  5095. ULONG ( STDMETHODCALLTYPE *Release )(
  5096. IPersistPropertyBag2 * This);
  5097. HRESULT ( STDMETHODCALLTYPE *GetClassID )(
  5098. IPersistPropertyBag2 * This,
  5099. /* [out] */ CLSID *pClassID);
  5100. HRESULT ( STDMETHODCALLTYPE *InitNew )(
  5101. IPersistPropertyBag2 * This);
  5102. HRESULT ( STDMETHODCALLTYPE *Load )(
  5103. IPersistPropertyBag2 * This,
  5104. /* [in] */ IPropertyBag2 *pPropBag,
  5105. /* [in] */ IErrorLog *pErrLog);
  5106. HRESULT ( STDMETHODCALLTYPE *Save )(
  5107. IPersistPropertyBag2 * This,
  5108. /* [in] */ IPropertyBag2 *pPropBag,
  5109. /* [in] */ BOOL fClearDirty,
  5110. /* [in] */ BOOL fSaveAllProperties);
  5111. HRESULT ( STDMETHODCALLTYPE *IsDirty )(
  5112. IPersistPropertyBag2 * This);
  5113. END_INTERFACE
  5114. } IPersistPropertyBag2Vtbl;
  5115. interface IPersistPropertyBag2
  5116. {
  5117. CONST_VTBL struct IPersistPropertyBag2Vtbl *lpVtbl;
  5118. };
  5119. #ifdef COBJMACROS
  5120. #define IPersistPropertyBag2_QueryInterface(This,riid,ppvObject) \
  5121. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5122. #define IPersistPropertyBag2_AddRef(This) \
  5123. (This)->lpVtbl -> AddRef(This)
  5124. #define IPersistPropertyBag2_Release(This) \
  5125. (This)->lpVtbl -> Release(This)
  5126. #define IPersistPropertyBag2_GetClassID(This,pClassID) \
  5127. (This)->lpVtbl -> GetClassID(This,pClassID)
  5128. #define IPersistPropertyBag2_InitNew(This) \
  5129. (This)->lpVtbl -> InitNew(This)
  5130. #define IPersistPropertyBag2_Load(This,pPropBag,pErrLog) \
  5131. (This)->lpVtbl -> Load(This,pPropBag,pErrLog)
  5132. #define IPersistPropertyBag2_Save(This,pPropBag,fClearDirty,fSaveAllProperties) \
  5133. (This)->lpVtbl -> Save(This,pPropBag,fClearDirty,fSaveAllProperties)
  5134. #define IPersistPropertyBag2_IsDirty(This) \
  5135. (This)->lpVtbl -> IsDirty(This)
  5136. #endif /* COBJMACROS */
  5137. #endif /* C style interface */
  5138. HRESULT STDMETHODCALLTYPE IPersistPropertyBag2_InitNew_Proxy(
  5139. IPersistPropertyBag2 * This);
  5140. void __RPC_STUB IPersistPropertyBag2_InitNew_Stub(
  5141. IRpcStubBuffer *This,
  5142. IRpcChannelBuffer *_pRpcChannelBuffer,
  5143. PRPC_MESSAGE _pRpcMessage,
  5144. DWORD *_pdwStubPhase);
  5145. HRESULT STDMETHODCALLTYPE IPersistPropertyBag2_Load_Proxy(
  5146. IPersistPropertyBag2 * This,
  5147. /* [in] */ IPropertyBag2 *pPropBag,
  5148. /* [in] */ IErrorLog *pErrLog);
  5149. void __RPC_STUB IPersistPropertyBag2_Load_Stub(
  5150. IRpcStubBuffer *This,
  5151. IRpcChannelBuffer *_pRpcChannelBuffer,
  5152. PRPC_MESSAGE _pRpcMessage,
  5153. DWORD *_pdwStubPhase);
  5154. HRESULT STDMETHODCALLTYPE IPersistPropertyBag2_Save_Proxy(
  5155. IPersistPropertyBag2 * This,
  5156. /* [in] */ IPropertyBag2 *pPropBag,
  5157. /* [in] */ BOOL fClearDirty,
  5158. /* [in] */ BOOL fSaveAllProperties);
  5159. void __RPC_STUB IPersistPropertyBag2_Save_Stub(
  5160. IRpcStubBuffer *This,
  5161. IRpcChannelBuffer *_pRpcChannelBuffer,
  5162. PRPC_MESSAGE _pRpcMessage,
  5163. DWORD *_pdwStubPhase);
  5164. HRESULT STDMETHODCALLTYPE IPersistPropertyBag2_IsDirty_Proxy(
  5165. IPersistPropertyBag2 * This);
  5166. void __RPC_STUB IPersistPropertyBag2_IsDirty_Stub(
  5167. IRpcStubBuffer *This,
  5168. IRpcChannelBuffer *_pRpcChannelBuffer,
  5169. PRPC_MESSAGE _pRpcMessage,
  5170. DWORD *_pdwStubPhase);
  5171. #endif /* __IPersistPropertyBag2_INTERFACE_DEFINED__ */
  5172. #ifndef __IAdviseSinkEx_INTERFACE_DEFINED__
  5173. #define __IAdviseSinkEx_INTERFACE_DEFINED__
  5174. /* interface IAdviseSinkEx */
  5175. /* [uuid][unique][object] */
  5176. typedef IAdviseSinkEx *LPADVISESINKEX;
  5177. EXTERN_C const IID IID_IAdviseSinkEx;
  5178. #if defined(__cplusplus) && !defined(CINTERFACE)
  5179. MIDL_INTERFACE("3AF24290-0C96-11CE-A0CF-00AA00600AB8")
  5180. IAdviseSinkEx : public IAdviseSink
  5181. {
  5182. public:
  5183. virtual /* [local] */ void STDMETHODCALLTYPE OnViewStatusChange(
  5184. /* [in] */ DWORD dwViewStatus) = 0;
  5185. };
  5186. #else /* C style interface */
  5187. typedef struct IAdviseSinkExVtbl
  5188. {
  5189. BEGIN_INTERFACE
  5190. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5191. IAdviseSinkEx * This,
  5192. /* [in] */ REFIID riid,
  5193. /* [iid_is][out] */ void **ppvObject);
  5194. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5195. IAdviseSinkEx * This);
  5196. ULONG ( STDMETHODCALLTYPE *Release )(
  5197. IAdviseSinkEx * This);
  5198. /* [local] */ void ( STDMETHODCALLTYPE *OnDataChange )(
  5199. IAdviseSinkEx * This,
  5200. /* [unique][in] */ FORMATETC *pFormatetc,
  5201. /* [unique][in] */ STGMEDIUM *pStgmed);
  5202. /* [local] */ void ( STDMETHODCALLTYPE *OnViewChange )(
  5203. IAdviseSinkEx * This,
  5204. /* [in] */ DWORD dwAspect,
  5205. /* [in] */ LONG lindex);
  5206. /* [local] */ void ( STDMETHODCALLTYPE *OnRename )(
  5207. IAdviseSinkEx * This,
  5208. /* [in] */ IMoniker *pmk);
  5209. /* [local] */ void ( STDMETHODCALLTYPE *OnSave )(
  5210. IAdviseSinkEx * This);
  5211. /* [local] */ void ( STDMETHODCALLTYPE *OnClose )(
  5212. IAdviseSinkEx * This);
  5213. /* [local] */ void ( STDMETHODCALLTYPE *OnViewStatusChange )(
  5214. IAdviseSinkEx * This,
  5215. /* [in] */ DWORD dwViewStatus);
  5216. END_INTERFACE
  5217. } IAdviseSinkExVtbl;
  5218. interface IAdviseSinkEx
  5219. {
  5220. CONST_VTBL struct IAdviseSinkExVtbl *lpVtbl;
  5221. };
  5222. #ifdef COBJMACROS
  5223. #define IAdviseSinkEx_QueryInterface(This,riid,ppvObject) \
  5224. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5225. #define IAdviseSinkEx_AddRef(This) \
  5226. (This)->lpVtbl -> AddRef(This)
  5227. #define IAdviseSinkEx_Release(This) \
  5228. (This)->lpVtbl -> Release(This)
  5229. #define IAdviseSinkEx_OnDataChange(This,pFormatetc,pStgmed) \
  5230. (This)->lpVtbl -> OnDataChange(This,pFormatetc,pStgmed)
  5231. #define IAdviseSinkEx_OnViewChange(This,dwAspect,lindex) \
  5232. (This)->lpVtbl -> OnViewChange(This,dwAspect,lindex)
  5233. #define IAdviseSinkEx_OnRename(This,pmk) \
  5234. (This)->lpVtbl -> OnRename(This,pmk)
  5235. #define IAdviseSinkEx_OnSave(This) \
  5236. (This)->lpVtbl -> OnSave(This)
  5237. #define IAdviseSinkEx_OnClose(This) \
  5238. (This)->lpVtbl -> OnClose(This)
  5239. #define IAdviseSinkEx_OnViewStatusChange(This,dwViewStatus) \
  5240. (This)->lpVtbl -> OnViewStatusChange(This,dwViewStatus)
  5241. #endif /* COBJMACROS */
  5242. #endif /* C style interface */
  5243. /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSinkEx_RemoteOnViewStatusChange_Proxy(
  5244. IAdviseSinkEx * This,
  5245. /* [in] */ DWORD dwViewStatus);
  5246. void __RPC_STUB IAdviseSinkEx_RemoteOnViewStatusChange_Stub(
  5247. IRpcStubBuffer *This,
  5248. IRpcChannelBuffer *_pRpcChannelBuffer,
  5249. PRPC_MESSAGE _pRpcMessage,
  5250. DWORD *_pdwStubPhase);
  5251. #endif /* __IAdviseSinkEx_INTERFACE_DEFINED__ */
  5252. #ifndef __IQuickActivate_INTERFACE_DEFINED__
  5253. #define __IQuickActivate_INTERFACE_DEFINED__
  5254. /* interface IQuickActivate */
  5255. /* [uuid][unique][object] */
  5256. typedef IQuickActivate *LPQUICKACTIVATE;
  5257. typedef /* [v1_enum] */
  5258. enum tagQACONTAINERFLAGS
  5259. { QACONTAINER_SHOWHATCHING = 0x1,
  5260. QACONTAINER_SHOWGRABHANDLES = 0x2,
  5261. QACONTAINER_USERMODE = 0x4,
  5262. QACONTAINER_DISPLAYASDEFAULT = 0x8,
  5263. QACONTAINER_UIDEAD = 0x10,
  5264. QACONTAINER_AUTOCLIP = 0x20,
  5265. QACONTAINER_MESSAGEREFLECT = 0x40,
  5266. QACONTAINER_SUPPORTSMNEMONICS = 0x80
  5267. } QACONTAINERFLAGS;
  5268. typedef /* [public][uuid] */ DECLSPEC_UUID("66504301-BE0F-101A-8BBB-00AA00300CAB") DWORD OLE_COLOR;
  5269. typedef struct tagQACONTAINER
  5270. {
  5271. ULONG cbSize;
  5272. IOleClientSite *pClientSite;
  5273. IAdviseSinkEx *pAdviseSink;
  5274. IPropertyNotifySink *pPropertyNotifySink;
  5275. IUnknown *pUnkEventSink;
  5276. DWORD dwAmbientFlags;
  5277. OLE_COLOR colorFore;
  5278. OLE_COLOR colorBack;
  5279. IFont *pFont;
  5280. IOleUndoManager *pUndoMgr;
  5281. DWORD dwAppearance;
  5282. LONG lcid;
  5283. HPALETTE hpal;
  5284. IBindHost *pBindHost;
  5285. IOleControlSite *pOleControlSite;
  5286. IServiceProvider *pServiceProvider;
  5287. } QACONTAINER;
  5288. typedef struct tagQACONTROL
  5289. {
  5290. ULONG cbSize;
  5291. DWORD dwMiscStatus;
  5292. DWORD dwViewStatus;
  5293. DWORD dwEventCookie;
  5294. DWORD dwPropNotifyCookie;
  5295. DWORD dwPointerActivationPolicy;
  5296. } QACONTROL;
  5297. EXTERN_C const IID IID_IQuickActivate;
  5298. #if defined(__cplusplus) && !defined(CINTERFACE)
  5299. MIDL_INTERFACE("CF51ED10-62FE-11CF-BF86-00A0C9034836")
  5300. IQuickActivate : public IUnknown
  5301. {
  5302. public:
  5303. virtual /* [local] */ HRESULT STDMETHODCALLTYPE QuickActivate(
  5304. /* [in] */ QACONTAINER *pQaContainer,
  5305. /* [out][in] */ QACONTROL *pQaControl) = 0;
  5306. virtual HRESULT STDMETHODCALLTYPE SetContentExtent(
  5307. /* [in] */ LPSIZEL pSizel) = 0;
  5308. virtual HRESULT STDMETHODCALLTYPE GetContentExtent(
  5309. /* [out] */ LPSIZEL pSizel) = 0;
  5310. };
  5311. #else /* C style interface */
  5312. typedef struct IQuickActivateVtbl
  5313. {
  5314. BEGIN_INTERFACE
  5315. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5316. IQuickActivate * This,
  5317. /* [in] */ REFIID riid,
  5318. /* [iid_is][out] */ void **ppvObject);
  5319. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5320. IQuickActivate * This);
  5321. ULONG ( STDMETHODCALLTYPE *Release )(
  5322. IQuickActivate * This);
  5323. /* [local] */ HRESULT ( STDMETHODCALLTYPE *QuickActivate )(
  5324. IQuickActivate * This,
  5325. /* [in] */ QACONTAINER *pQaContainer,
  5326. /* [out][in] */ QACONTROL *pQaControl);
  5327. HRESULT ( STDMETHODCALLTYPE *SetContentExtent )(
  5328. IQuickActivate * This,
  5329. /* [in] */ LPSIZEL pSizel);
  5330. HRESULT ( STDMETHODCALLTYPE *GetContentExtent )(
  5331. IQuickActivate * This,
  5332. /* [out] */ LPSIZEL pSizel);
  5333. END_INTERFACE
  5334. } IQuickActivateVtbl;
  5335. interface IQuickActivate
  5336. {
  5337. CONST_VTBL struct IQuickActivateVtbl *lpVtbl;
  5338. };
  5339. #ifdef COBJMACROS
  5340. #define IQuickActivate_QueryInterface(This,riid,ppvObject) \
  5341. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5342. #define IQuickActivate_AddRef(This) \
  5343. (This)->lpVtbl -> AddRef(This)
  5344. #define IQuickActivate_Release(This) \
  5345. (This)->lpVtbl -> Release(This)
  5346. #define IQuickActivate_QuickActivate(This,pQaContainer,pQaControl) \
  5347. (This)->lpVtbl -> QuickActivate(This,pQaContainer,pQaControl)
  5348. #define IQuickActivate_SetContentExtent(This,pSizel) \
  5349. (This)->lpVtbl -> SetContentExtent(This,pSizel)
  5350. #define IQuickActivate_GetContentExtent(This,pSizel) \
  5351. (This)->lpVtbl -> GetContentExtent(This,pSizel)
  5352. #endif /* COBJMACROS */
  5353. #endif /* C style interface */
  5354. /* [call_as] */ HRESULT STDMETHODCALLTYPE IQuickActivate_RemoteQuickActivate_Proxy(
  5355. IQuickActivate * This,
  5356. /* [in] */ QACONTAINER *pQaContainer,
  5357. /* [out] */ QACONTROL *pQaControl);
  5358. void __RPC_STUB IQuickActivate_RemoteQuickActivate_Stub(
  5359. IRpcStubBuffer *This,
  5360. IRpcChannelBuffer *_pRpcChannelBuffer,
  5361. PRPC_MESSAGE _pRpcMessage,
  5362. DWORD *_pdwStubPhase);
  5363. HRESULT STDMETHODCALLTYPE IQuickActivate_SetContentExtent_Proxy(
  5364. IQuickActivate * This,
  5365. /* [in] */ LPSIZEL pSizel);
  5366. void __RPC_STUB IQuickActivate_SetContentExtent_Stub(
  5367. IRpcStubBuffer *This,
  5368. IRpcChannelBuffer *_pRpcChannelBuffer,
  5369. PRPC_MESSAGE _pRpcMessage,
  5370. DWORD *_pdwStubPhase);
  5371. HRESULT STDMETHODCALLTYPE IQuickActivate_GetContentExtent_Proxy(
  5372. IQuickActivate * This,
  5373. /* [out] */ LPSIZEL pSizel);
  5374. void __RPC_STUB IQuickActivate_GetContentExtent_Stub(
  5375. IRpcStubBuffer *This,
  5376. IRpcChannelBuffer *_pRpcChannelBuffer,
  5377. PRPC_MESSAGE _pRpcMessage,
  5378. DWORD *_pdwStubPhase);
  5379. #endif /* __IQuickActivate_INTERFACE_DEFINED__ */
  5380. /* Additional Prototypes for ALL interfaces */
  5381. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  5382. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  5383. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  5384. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  5385. unsigned long __RPC_USER CLIPFORMAT_UserSize( unsigned long *, unsigned long , CLIPFORMAT * );
  5386. unsigned char * __RPC_USER CLIPFORMAT_UserMarshal( unsigned long *, unsigned char *, CLIPFORMAT * );
  5387. unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT * );
  5388. void __RPC_USER CLIPFORMAT_UserFree( unsigned long *, CLIPFORMAT * );
  5389. unsigned long __RPC_USER HACCEL_UserSize( unsigned long *, unsigned long , HACCEL * );
  5390. unsigned char * __RPC_USER HACCEL_UserMarshal( unsigned long *, unsigned char *, HACCEL * );
  5391. unsigned char * __RPC_USER HACCEL_UserUnmarshal(unsigned long *, unsigned char *, HACCEL * );
  5392. void __RPC_USER HACCEL_UserFree( unsigned long *, HACCEL * );
  5393. unsigned long __RPC_USER HDC_UserSize( unsigned long *, unsigned long , HDC * );
  5394. unsigned char * __RPC_USER HDC_UserMarshal( unsigned long *, unsigned char *, HDC * );
  5395. unsigned char * __RPC_USER HDC_UserUnmarshal(unsigned long *, unsigned char *, HDC * );
  5396. void __RPC_USER HDC_UserFree( unsigned long *, HDC * );
  5397. unsigned long __RPC_USER HFONT_UserSize( unsigned long *, unsigned long , HFONT * );
  5398. unsigned char * __RPC_USER HFONT_UserMarshal( unsigned long *, unsigned char *, HFONT * );
  5399. unsigned char * __RPC_USER HFONT_UserUnmarshal(unsigned long *, unsigned char *, HFONT * );
  5400. void __RPC_USER HFONT_UserFree( unsigned long *, HFONT * );
  5401. unsigned long __RPC_USER HPALETTE_UserSize( unsigned long *, unsigned long , HPALETTE * );
  5402. unsigned char * __RPC_USER HPALETTE_UserMarshal( unsigned long *, unsigned char *, HPALETTE * );
  5403. unsigned char * __RPC_USER HPALETTE_UserUnmarshal(unsigned long *, unsigned char *, HPALETTE * );
  5404. void __RPC_USER HPALETTE_UserFree( unsigned long *, HPALETTE * );
  5405. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  5406. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  5407. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  5408. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  5409. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  5410. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  5411. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  5412. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  5413. /* [local] */ HRESULT STDMETHODCALLTYPE IEnumConnections_Next_Proxy(
  5414. IEnumConnections * This,
  5415. /* [in] */ ULONG cConnections,
  5416. /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  5417. /* [out] */ ULONG *pcFetched);
  5418. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnections_Next_Stub(
  5419. IEnumConnections * This,
  5420. /* [in] */ ULONG cConnections,
  5421. /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  5422. /* [out] */ ULONG *pcFetched);
  5423. /* [local] */ HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Next_Proxy(
  5424. IEnumConnectionPoints * This,
  5425. /* [in] */ ULONG cConnections,
  5426. /* [length_is][size_is][out] */ LPCONNECTIONPOINT *ppCP,
  5427. /* [out] */ ULONG *pcFetched);
  5428. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Next_Stub(
  5429. IEnumConnectionPoints * This,
  5430. /* [in] */ ULONG cConnections,
  5431. /* [length_is][size_is][out] */ LPCONNECTIONPOINT *ppCP,
  5432. /* [out] */ ULONG *pcFetched);
  5433. /* [local] */ HRESULT STDMETHODCALLTYPE IClassFactory2_CreateInstanceLic_Proxy(
  5434. IClassFactory2 * This,
  5435. /* [in] */ IUnknown *pUnkOuter,
  5436. /* [in] */ IUnknown *pUnkReserved,
  5437. /* [in] */ REFIID riid,
  5438. /* [in] */ BSTR bstrKey,
  5439. /* [iid_is][out] */ PVOID *ppvObj);
  5440. /* [call_as] */ HRESULT STDMETHODCALLTYPE IClassFactory2_CreateInstanceLic_Stub(
  5441. IClassFactory2 * This,
  5442. /* [in] */ REFIID riid,
  5443. /* [in] */ BSTR bstrKey,
  5444. /* [iid_is][out] */ IUnknown **ppvObj);
  5445. /* [local] */ HRESULT STDMETHODCALLTYPE IPersistMemory_Load_Proxy(
  5446. IPersistMemory * This,
  5447. /* [size_is][in] */ LPVOID pMem,
  5448. /* [in] */ ULONG cbSize);
  5449. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPersistMemory_Load_Stub(
  5450. IPersistMemory * This,
  5451. /* [size_is][in] */ BYTE *pMem,
  5452. /* [in] */ ULONG cbSize);
  5453. /* [local] */ HRESULT STDMETHODCALLTYPE IPersistMemory_Save_Proxy(
  5454. IPersistMemory * This,
  5455. /* [size_is][out] */ LPVOID pMem,
  5456. /* [in] */ BOOL fClearDirty,
  5457. /* [in] */ ULONG cbSize);
  5458. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPersistMemory_Save_Stub(
  5459. IPersistMemory * This,
  5460. /* [size_is][out] */ BYTE *pMem,
  5461. /* [in] */ BOOL fClearDirty,
  5462. /* [in] */ ULONG cbSize);
  5463. /* [local] */ HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Next_Proxy(
  5464. IEnumOleUndoUnits * This,
  5465. /* [in] */ ULONG cElt,
  5466. /* [length_is][size_is][out] */ IOleUndoUnit **rgElt,
  5467. /* [out] */ ULONG *pcEltFetched);
  5468. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Next_Stub(
  5469. IEnumOleUndoUnits * This,
  5470. /* [in] */ ULONG cElt,
  5471. /* [length_is][size_is][out] */ IOleUndoUnit **rgElt,
  5472. /* [out] */ ULONG *pcEltFetched);
  5473. /* [local] */ void STDMETHODCALLTYPE IAdviseSinkEx_OnViewStatusChange_Proxy(
  5474. IAdviseSinkEx * This,
  5475. /* [in] */ DWORD dwViewStatus);
  5476. /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSinkEx_OnViewStatusChange_Stub(
  5477. IAdviseSinkEx * This,
  5478. /* [in] */ DWORD dwViewStatus);
  5479. /* [local] */ HRESULT STDMETHODCALLTYPE IQuickActivate_QuickActivate_Proxy(
  5480. IQuickActivate * This,
  5481. /* [in] */ QACONTAINER *pQaContainer,
  5482. /* [out][in] */ QACONTROL *pQaControl);
  5483. /* [call_as] */ HRESULT STDMETHODCALLTYPE IQuickActivate_QuickActivate_Stub(
  5484. IQuickActivate * This,
  5485. /* [in] */ QACONTAINER *pQaContainer,
  5486. /* [out] */ QACONTROL *pQaControl);
  5487. /* end of Additional Prototypes */
  5488. #ifdef __cplusplus
  5489. }
  5490. #endif
  5491. #endif