home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / ocidl.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  271KB  |  8,747 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.03.0110 */
  5. /* at Thu Sep 11 10:57:01 1997
  6.  */
  7. /* Compiler settings for ocidl.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25.  
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30.  
  31. #ifndef __ocidl_h__
  32. #define __ocidl_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __IEnumConnections_FWD_DEFINED__
  41. #define __IEnumConnections_FWD_DEFINED__
  42. typedef interface IEnumConnections IEnumConnections;
  43. #endif     /* __IEnumConnections_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __IConnectionPoint_FWD_DEFINED__
  47. #define __IConnectionPoint_FWD_DEFINED__
  48. typedef interface IConnectionPoint IConnectionPoint;
  49. #endif     /* __IConnectionPoint_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __IEnumConnectionPoints_FWD_DEFINED__
  53. #define __IEnumConnectionPoints_FWD_DEFINED__
  54. typedef interface IEnumConnectionPoints IEnumConnectionPoints;
  55. #endif     /* __IEnumConnectionPoints_FWD_DEFINED__ */
  56.  
  57.  
  58. #ifndef __IConnectionPointContainer_FWD_DEFINED__
  59. #define __IConnectionPointContainer_FWD_DEFINED__
  60. typedef interface IConnectionPointContainer IConnectionPointContainer;
  61. #endif     /* __IConnectionPointContainer_FWD_DEFINED__ */
  62.  
  63.  
  64. #ifndef __IClassFactory2_FWD_DEFINED__
  65. #define __IClassFactory2_FWD_DEFINED__
  66. typedef interface IClassFactory2 IClassFactory2;
  67. #endif     /* __IClassFactory2_FWD_DEFINED__ */
  68.  
  69.  
  70. #ifndef __IProvideClassInfo_FWD_DEFINED__
  71. #define __IProvideClassInfo_FWD_DEFINED__
  72. typedef interface IProvideClassInfo IProvideClassInfo;
  73. #endif     /* __IProvideClassInfo_FWD_DEFINED__ */
  74.  
  75.  
  76. #ifndef __IProvideClassInfo2_FWD_DEFINED__
  77. #define __IProvideClassInfo2_FWD_DEFINED__
  78. typedef interface IProvideClassInfo2 IProvideClassInfo2;
  79. #endif     /* __IProvideClassInfo2_FWD_DEFINED__ */
  80.  
  81.  
  82. #ifndef __IProvideMultipleClassInfo_FWD_DEFINED__
  83. #define __IProvideMultipleClassInfo_FWD_DEFINED__
  84. typedef interface IProvideMultipleClassInfo IProvideMultipleClassInfo;
  85. #endif     /* __IProvideMultipleClassInfo_FWD_DEFINED__ */
  86.  
  87.  
  88. #ifndef __IOleControl_FWD_DEFINED__
  89. #define __IOleControl_FWD_DEFINED__
  90. typedef interface IOleControl IOleControl;
  91. #endif     /* __IOleControl_FWD_DEFINED__ */
  92.  
  93.  
  94. #ifndef __IOleControlSite_FWD_DEFINED__
  95. #define __IOleControlSite_FWD_DEFINED__
  96. typedef interface IOleControlSite IOleControlSite;
  97. #endif     /* __IOleControlSite_FWD_DEFINED__ */
  98.  
  99.  
  100. #ifndef __IPropertyPage_FWD_DEFINED__
  101. #define __IPropertyPage_FWD_DEFINED__
  102. typedef interface IPropertyPage IPropertyPage;
  103. #endif     /* __IPropertyPage_FWD_DEFINED__ */
  104.  
  105.  
  106. #ifndef __IPropertyPage2_FWD_DEFINED__
  107. #define __IPropertyPage2_FWD_DEFINED__
  108. typedef interface IPropertyPage2 IPropertyPage2;
  109. #endif     /* __IPropertyPage2_FWD_DEFINED__ */
  110.  
  111.  
  112. #ifndef __IPropertyPageSite_FWD_DEFINED__
  113. #define __IPropertyPageSite_FWD_DEFINED__
  114. typedef interface IPropertyPageSite IPropertyPageSite;
  115. #endif     /* __IPropertyPageSite_FWD_DEFINED__ */
  116.  
  117.  
  118. #ifndef __IPropertyNotifySink_FWD_DEFINED__
  119. #define __IPropertyNotifySink_FWD_DEFINED__
  120. typedef interface IPropertyNotifySink IPropertyNotifySink;
  121. #endif     /* __IPropertyNotifySink_FWD_DEFINED__ */
  122.  
  123.  
  124. #ifndef __ISpecifyPropertyPages_FWD_DEFINED__
  125. #define __ISpecifyPropertyPages_FWD_DEFINED__
  126. typedef interface ISpecifyPropertyPages ISpecifyPropertyPages;
  127. #endif     /* __ISpecifyPropertyPages_FWD_DEFINED__ */
  128.  
  129.  
  130. #ifndef __IPersistMemory_FWD_DEFINED__
  131. #define __IPersistMemory_FWD_DEFINED__
  132. typedef interface IPersistMemory IPersistMemory;
  133. #endif     /* __IPersistMemory_FWD_DEFINED__ */
  134.  
  135.  
  136. #ifndef __IPersistStreamInit_FWD_DEFINED__
  137. #define __IPersistStreamInit_FWD_DEFINED__
  138. typedef interface IPersistStreamInit IPersistStreamInit;
  139. #endif     /* __IPersistStreamInit_FWD_DEFINED__ */
  140.  
  141.  
  142. #ifndef __IPersistPropertyBag_FWD_DEFINED__
  143. #define __IPersistPropertyBag_FWD_DEFINED__
  144. typedef interface IPersistPropertyBag IPersistPropertyBag;
  145. #endif     /* __IPersistPropertyBag_FWD_DEFINED__ */
  146.  
  147.  
  148. #ifndef __ISimpleFrameSite_FWD_DEFINED__
  149. #define __ISimpleFrameSite_FWD_DEFINED__
  150. typedef interface ISimpleFrameSite ISimpleFrameSite;
  151. #endif     /* __ISimpleFrameSite_FWD_DEFINED__ */
  152.  
  153.  
  154. #ifndef __IFont_FWD_DEFINED__
  155. #define __IFont_FWD_DEFINED__
  156. typedef interface IFont IFont;
  157. #endif     /* __IFont_FWD_DEFINED__ */
  158.  
  159.  
  160. #ifndef __IPicture_FWD_DEFINED__
  161. #define __IPicture_FWD_DEFINED__
  162. typedef interface IPicture IPicture;
  163. #endif     /* __IPicture_FWD_DEFINED__ */
  164.  
  165.  
  166. #ifndef __IFontEventsDisp_FWD_DEFINED__
  167. #define __IFontEventsDisp_FWD_DEFINED__
  168. typedef interface IFontEventsDisp IFontEventsDisp;
  169. #endif     /* __IFontEventsDisp_FWD_DEFINED__ */
  170.  
  171.  
  172. #ifndef __IFontDisp_FWD_DEFINED__
  173. #define __IFontDisp_FWD_DEFINED__
  174. typedef interface IFontDisp IFontDisp;
  175. #endif     /* __IFontDisp_FWD_DEFINED__ */
  176.  
  177.  
  178. #ifndef __IPictureDisp_FWD_DEFINED__
  179. #define __IPictureDisp_FWD_DEFINED__
  180. typedef interface IPictureDisp IPictureDisp;
  181. #endif     /* __IPictureDisp_FWD_DEFINED__ */
  182.  
  183.  
  184. #ifndef __IOleInPlaceObjectWindowless_FWD_DEFINED__
  185. #define __IOleInPlaceObjectWindowless_FWD_DEFINED__
  186. typedef interface IOleInPlaceObjectWindowless IOleInPlaceObjectWindowless;
  187. #endif     /* __IOleInPlaceObjectWindowless_FWD_DEFINED__ */
  188.  
  189.  
  190. #ifndef __IOleInPlaceSiteEx_FWD_DEFINED__
  191. #define __IOleInPlaceSiteEx_FWD_DEFINED__
  192. typedef interface IOleInPlaceSiteEx IOleInPlaceSiteEx;
  193. #endif     /* __IOleInPlaceSiteEx_FWD_DEFINED__ */
  194.  
  195.  
  196. #ifndef __IOleInPlaceSiteWindowless_FWD_DEFINED__
  197. #define __IOleInPlaceSiteWindowless_FWD_DEFINED__
  198. typedef interface IOleInPlaceSiteWindowless IOleInPlaceSiteWindowless;
  199. #endif     /* __IOleInPlaceSiteWindowless_FWD_DEFINED__ */
  200.  
  201.  
  202. #ifndef __IViewObjectEx_FWD_DEFINED__
  203. #define __IViewObjectEx_FWD_DEFINED__
  204. typedef interface IViewObjectEx IViewObjectEx;
  205. #endif     /* __IViewObjectEx_FWD_DEFINED__ */
  206.  
  207.  
  208. #ifndef __IOleUndoUnit_FWD_DEFINED__
  209. #define __IOleUndoUnit_FWD_DEFINED__
  210. typedef interface IOleUndoUnit IOleUndoUnit;
  211. #endif     /* __IOleUndoUnit_FWD_DEFINED__ */
  212.  
  213.  
  214. #ifndef __IOleParentUndoUnit_FWD_DEFINED__
  215. #define __IOleParentUndoUnit_FWD_DEFINED__
  216. typedef interface IOleParentUndoUnit IOleParentUndoUnit;
  217. #endif     /* __IOleParentUndoUnit_FWD_DEFINED__ */
  218.  
  219.  
  220. #ifndef __IEnumOleUndoUnits_FWD_DEFINED__
  221. #define __IEnumOleUndoUnits_FWD_DEFINED__
  222. typedef interface IEnumOleUndoUnits IEnumOleUndoUnits;
  223. #endif     /* __IEnumOleUndoUnits_FWD_DEFINED__ */
  224.  
  225.  
  226. #ifndef __IOleUndoManager_FWD_DEFINED__
  227. #define __IOleUndoManager_FWD_DEFINED__
  228. typedef interface IOleUndoManager IOleUndoManager;
  229. #endif     /* __IOleUndoManager_FWD_DEFINED__ */
  230.  
  231.  
  232. #ifndef __IPointerInactive_FWD_DEFINED__
  233. #define __IPointerInactive_FWD_DEFINED__
  234. typedef interface IPointerInactive IPointerInactive;
  235. #endif     /* __IPointerInactive_FWD_DEFINED__ */
  236.  
  237.  
  238. #ifndef __IObjectWithSite_FWD_DEFINED__
  239. #define __IObjectWithSite_FWD_DEFINED__
  240. typedef interface IObjectWithSite IObjectWithSite;
  241. #endif     /* __IObjectWithSite_FWD_DEFINED__ */
  242.  
  243.  
  244. #ifndef __IErrorLog_FWD_DEFINED__
  245. #define __IErrorLog_FWD_DEFINED__
  246. typedef interface IErrorLog IErrorLog;
  247. #endif     /* __IErrorLog_FWD_DEFINED__ */
  248.  
  249.  
  250. #ifndef __IPropertyBag_FWD_DEFINED__
  251. #define __IPropertyBag_FWD_DEFINED__
  252. typedef interface IPropertyBag IPropertyBag;
  253. #endif     /* __IPropertyBag_FWD_DEFINED__ */
  254.  
  255.  
  256. #ifndef __IPerPropertyBrowsing_FWD_DEFINED__
  257. #define __IPerPropertyBrowsing_FWD_DEFINED__
  258. typedef interface IPerPropertyBrowsing IPerPropertyBrowsing;
  259. #endif     /* __IPerPropertyBrowsing_FWD_DEFINED__ */
  260.  
  261.  
  262. #ifndef __IPropertyBag2_FWD_DEFINED__
  263. #define __IPropertyBag2_FWD_DEFINED__
  264. typedef interface IPropertyBag2 IPropertyBag2;
  265. #endif     /* __IPropertyBag2_FWD_DEFINED__ */
  266.  
  267.  
  268. #ifndef __IPersistPropertyBag2_FWD_DEFINED__
  269. #define __IPersistPropertyBag2_FWD_DEFINED__
  270. typedef interface IPersistPropertyBag2 IPersistPropertyBag2;
  271. #endif     /* __IPersistPropertyBag2_FWD_DEFINED__ */
  272.  
  273.  
  274. #ifndef __IAdviseSinkEx_FWD_DEFINED__
  275. #define __IAdviseSinkEx_FWD_DEFINED__
  276. typedef interface IAdviseSinkEx IAdviseSinkEx;
  277. #endif     /* __IAdviseSinkEx_FWD_DEFINED__ */
  278.  
  279.  
  280. #ifndef __IQuickActivate_FWD_DEFINED__
  281. #define __IQuickActivate_FWD_DEFINED__
  282. typedef interface IQuickActivate IQuickActivate;
  283. #endif     /* __IQuickActivate_FWD_DEFINED__ */
  284.  
  285.  
  286. /* header files for imported files */
  287. #include "oleidl.h"
  288. #include "oaidl.h"
  289. #include "servprov.h"
  290. #include "urlmon.h"
  291.  
  292. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  293. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  294.  
  295. /****************************************
  296.  * Generated header for interface: __MIDL_itf_ocidl_0000
  297.  * at Thu Sep 11 10:57:01 1997
  298.  * using MIDL 3.03.0110
  299.  ****************************************/
  300. /* [local] */ 
  301.  
  302.  
  303. //+-------------------------------------------------------------------------
  304. //
  305. //  Microsoft Windows
  306. //  Copyright (C) Microsoft Corporation, 1993 - 1997.
  307. //
  308. //--------------------------------------------------------------------------
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352. extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_c_ifspec;
  353. extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_s_ifspec;
  354.  
  355. #ifndef __IOleControlTypes_INTERFACE_DEFINED__
  356. #define __IOleControlTypes_INTERFACE_DEFINED__
  357.  
  358. /****************************************
  359.  * Generated header for interface: IOleControlTypes
  360.  * at Thu Sep 11 10:57:01 1997
  361.  * using MIDL 3.03.0110
  362.  ****************************************/
  363. /* [auto_handle][unique][version] */ 
  364.  
  365.  
  366. typedef /* [v1_enum] */ 
  367. enum tagUASFLAGS
  368.     {    UAS_NORMAL    = 0,
  369.     UAS_BLOCKED    = 0x1,
  370.     UAS_NOPARENTENABLE    = 0x2,
  371.     UAS_MASK    = 0x3
  372.     }    UASFLAGS;
  373.  
  374. /* State values for the DISPID_READYSTATE property */
  375. typedef /* [v1_enum] */ 
  376. enum tagREADYSTATE
  377.     {    READYSTATE_UNINITIALIZED    = 0,
  378.     READYSTATE_LOADING    = 1,
  379.     READYSTATE_LOADED    = 2,
  380.     READYSTATE_INTERACTIVE    = 3,
  381.     READYSTATE_COMPLETE    = 4
  382.     }    READYSTATE;
  383.  
  384.  
  385.  
  386. extern RPC_IF_HANDLE IOleControlTypes_v1_0_c_ifspec;
  387. extern RPC_IF_HANDLE IOleControlTypes_v1_0_s_ifspec;
  388. #endif /* __IOleControlTypes_INTERFACE_DEFINED__ */
  389.  
  390. #ifndef __IEnumConnections_INTERFACE_DEFINED__
  391. #define __IEnumConnections_INTERFACE_DEFINED__
  392.  
  393. /****************************************
  394.  * Generated header for interface: IEnumConnections
  395.  * at Thu Sep 11 10:57:01 1997
  396.  * using MIDL 3.03.0110
  397.  ****************************************/
  398. /* [unique][uuid][object] */ 
  399.  
  400.  
  401. typedef IEnumConnections __RPC_FAR *PENUMCONNECTIONS;
  402.  
  403. typedef IEnumConnections __RPC_FAR *LPENUMCONNECTIONS;
  404.  
  405. typedef struct  tagCONNECTDATA
  406.     {
  407.     IUnknown __RPC_FAR *pUnk;
  408.     DWORD dwCookie;
  409.     }    CONNECTDATA;
  410.  
  411. typedef struct tagCONNECTDATA __RPC_FAR *PCONNECTDATA;
  412.  
  413. typedef struct tagCONNECTDATA __RPC_FAR *LPCONNECTDATA;
  414.  
  415.  
  416. EXTERN_C const IID IID_IEnumConnections;
  417.  
  418. #if defined(__cplusplus) && !defined(CINTERFACE)
  419.     
  420.     MIDL_INTERFACE("B196B287-BAB4-101A-B69C-00AA00341D07")
  421.     IEnumConnections : public IUnknown
  422.     {
  423.     public:
  424.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next( 
  425.             /* [in] */ ULONG cConnections,
  426.             /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  427.             /* [out] */ ULONG __RPC_FAR *pcFetched) = 0;
  428.         
  429.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  430.             /* [in] */ ULONG cConnections) = 0;
  431.         
  432.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  433.         
  434.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  435.             /* [out] */ IEnumConnections __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  436.         
  437.     };
  438.     
  439. #else     /* C style interface */
  440.  
  441.     typedef struct IEnumConnectionsVtbl
  442.     {
  443.         BEGIN_INTERFACE
  444.         
  445.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  446.             IEnumConnections __RPC_FAR * This,
  447.             /* [in] */ REFIID riid,
  448.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  449.         
  450.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  451.             IEnumConnections __RPC_FAR * This);
  452.         
  453.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  454.             IEnumConnections __RPC_FAR * This);
  455.         
  456.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )( 
  457.             IEnumConnections __RPC_FAR * This,
  458.             /* [in] */ ULONG cConnections,
  459.             /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  460.             /* [out] */ ULONG __RPC_FAR *pcFetched);
  461.         
  462.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )( 
  463.             IEnumConnections __RPC_FAR * This,
  464.             /* [in] */ ULONG cConnections);
  465.         
  466.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )( 
  467.             IEnumConnections __RPC_FAR * This);
  468.         
  469.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )( 
  470.             IEnumConnections __RPC_FAR * This,
  471.             /* [out] */ IEnumConnections __RPC_FAR *__RPC_FAR *ppEnum);
  472.         
  473.         END_INTERFACE
  474.     } IEnumConnectionsVtbl;
  475.  
  476.     interface IEnumConnections
  477.     {
  478.         CONST_VTBL struct IEnumConnectionsVtbl __RPC_FAR *lpVtbl;
  479.     };
  480.  
  481.     
  482.  
  483. #ifdef COBJMACROS
  484.  
  485.  
  486. #define IEnumConnections_QueryInterface(This,riid,ppvObject)    \
  487.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  488.  
  489. #define IEnumConnections_AddRef(This)    \
  490.     (This)->lpVtbl -> AddRef(This)
  491.  
  492. #define IEnumConnections_Release(This)    \
  493.     (This)->lpVtbl -> Release(This)
  494.  
  495.  
  496. #define IEnumConnections_Next(This,cConnections,rgcd,pcFetched)    \
  497.     (This)->lpVtbl -> Next(This,cConnections,rgcd,pcFetched)
  498.  
  499. #define IEnumConnections_Skip(This,cConnections)    \
  500.     (This)->lpVtbl -> Skip(This,cConnections)
  501.  
  502. #define IEnumConnections_Reset(This)    \
  503.     (This)->lpVtbl -> Reset(This)
  504.  
  505. #define IEnumConnections_Clone(This,ppEnum)    \
  506.     (This)->lpVtbl -> Clone(This,ppEnum)
  507.  
  508. #endif /* COBJMACROS */
  509.  
  510.  
  511. #endif     /* C style interface */
  512.  
  513.  
  514.  
  515. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnections_RemoteNext_Proxy( 
  516.     IEnumConnections __RPC_FAR * This,
  517.     /* [in] */ ULONG cConnections,
  518.     /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  519.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  520.  
  521.  
  522. void __RPC_STUB IEnumConnections_RemoteNext_Stub(
  523.     IRpcStubBuffer *This,
  524.     IRpcChannelBuffer *_pRpcChannelBuffer,
  525.     PRPC_MESSAGE _pRpcMessage,
  526.     DWORD *_pdwStubPhase);
  527.  
  528.  
  529. HRESULT STDMETHODCALLTYPE IEnumConnections_Skip_Proxy( 
  530.     IEnumConnections __RPC_FAR * This,
  531.     /* [in] */ ULONG cConnections);
  532.  
  533.  
  534. void __RPC_STUB IEnumConnections_Skip_Stub(
  535.     IRpcStubBuffer *This,
  536.     IRpcChannelBuffer *_pRpcChannelBuffer,
  537.     PRPC_MESSAGE _pRpcMessage,
  538.     DWORD *_pdwStubPhase);
  539.  
  540.  
  541. HRESULT STDMETHODCALLTYPE IEnumConnections_Reset_Proxy( 
  542.     IEnumConnections __RPC_FAR * This);
  543.  
  544.  
  545. void __RPC_STUB IEnumConnections_Reset_Stub(
  546.     IRpcStubBuffer *This,
  547.     IRpcChannelBuffer *_pRpcChannelBuffer,
  548.     PRPC_MESSAGE _pRpcMessage,
  549.     DWORD *_pdwStubPhase);
  550.  
  551.  
  552. HRESULT STDMETHODCALLTYPE IEnumConnections_Clone_Proxy( 
  553.     IEnumConnections __RPC_FAR * This,
  554.     /* [out] */ IEnumConnections __RPC_FAR *__RPC_FAR *ppEnum);
  555.  
  556.  
  557. void __RPC_STUB IEnumConnections_Clone_Stub(
  558.     IRpcStubBuffer *This,
  559.     IRpcChannelBuffer *_pRpcChannelBuffer,
  560.     PRPC_MESSAGE _pRpcMessage,
  561.     DWORD *_pdwStubPhase);
  562.  
  563.  
  564.  
  565. #endif     /* __IEnumConnections_INTERFACE_DEFINED__ */
  566.  
  567.  
  568. #ifndef __IConnectionPoint_INTERFACE_DEFINED__
  569. #define __IConnectionPoint_INTERFACE_DEFINED__
  570.  
  571. /****************************************
  572.  * Generated header for interface: IConnectionPoint
  573.  * at Thu Sep 11 10:57:01 1997
  574.  * using MIDL 3.03.0110
  575.  ****************************************/
  576. /* [unique][uuid][object] */ 
  577.  
  578.  
  579. typedef IConnectionPoint __RPC_FAR *PCONNECTIONPOINT;
  580.  
  581. typedef IConnectionPoint __RPC_FAR *LPCONNECTIONPOINT;
  582.  
  583.  
  584. EXTERN_C const IID IID_IConnectionPoint;
  585.  
  586. #if defined(__cplusplus) && !defined(CINTERFACE)
  587.     
  588.     MIDL_INTERFACE("B196B286-BAB4-101A-B69C-00AA00341D07")
  589.     IConnectionPoint : public IUnknown
  590.     {
  591.     public:
  592.         virtual HRESULT STDMETHODCALLTYPE GetConnectionInterface( 
  593.             /* [out] */ IID __RPC_FAR *pIID) = 0;
  594.         
  595.         virtual HRESULT STDMETHODCALLTYPE GetConnectionPointContainer( 
  596.             /* [out] */ IConnectionPointContainer __RPC_FAR *__RPC_FAR *ppCPC) = 0;
  597.         
  598.         virtual HRESULT STDMETHODCALLTYPE Advise( 
  599.             /* [in] */ IUnknown __RPC_FAR *pUnkSink,
  600.             /* [out] */ DWORD __RPC_FAR *pdwCookie) = 0;
  601.         
  602.         virtual HRESULT STDMETHODCALLTYPE Unadvise( 
  603.             /* [in] */ DWORD dwCookie) = 0;
  604.         
  605.         virtual HRESULT STDMETHODCALLTYPE EnumConnections( 
  606.             /* [out] */ IEnumConnections __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  607.         
  608.     };
  609.     
  610. #else     /* C style interface */
  611.  
  612.     typedef struct IConnectionPointVtbl
  613.     {
  614.         BEGIN_INTERFACE
  615.         
  616.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  617.             IConnectionPoint __RPC_FAR * This,
  618.             /* [in] */ REFIID riid,
  619.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  620.         
  621.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  622.             IConnectionPoint __RPC_FAR * This);
  623.         
  624.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  625.             IConnectionPoint __RPC_FAR * This);
  626.         
  627.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConnectionInterface )( 
  628.             IConnectionPoint __RPC_FAR * This,
  629.             /* [out] */ IID __RPC_FAR *pIID);
  630.         
  631.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConnectionPointContainer )( 
  632.             IConnectionPoint __RPC_FAR * This,
  633.             /* [out] */ IConnectionPointContainer __RPC_FAR *__RPC_FAR *ppCPC);
  634.         
  635.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Advise )( 
  636.             IConnectionPoint __RPC_FAR * This,
  637.             /* [in] */ IUnknown __RPC_FAR *pUnkSink,
  638.             /* [out] */ DWORD __RPC_FAR *pdwCookie);
  639.         
  640.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unadvise )( 
  641.             IConnectionPoint __RPC_FAR * This,
  642.             /* [in] */ DWORD dwCookie);
  643.         
  644.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumConnections )( 
  645.             IConnectionPoint __RPC_FAR * This,
  646.             /* [out] */ IEnumConnections __RPC_FAR *__RPC_FAR *ppEnum);
  647.         
  648.         END_INTERFACE
  649.     } IConnectionPointVtbl;
  650.  
  651.     interface IConnectionPoint
  652.     {
  653.         CONST_VTBL struct IConnectionPointVtbl __RPC_FAR *lpVtbl;
  654.     };
  655.  
  656.     
  657.  
  658. #ifdef COBJMACROS
  659.  
  660.  
  661. #define IConnectionPoint_QueryInterface(This,riid,ppvObject)    \
  662.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  663.  
  664. #define IConnectionPoint_AddRef(This)    \
  665.     (This)->lpVtbl -> AddRef(This)
  666.  
  667. #define IConnectionPoint_Release(This)    \
  668.     (This)->lpVtbl -> Release(This)
  669.  
  670.  
  671. #define IConnectionPoint_GetConnectionInterface(This,pIID)    \
  672.     (This)->lpVtbl -> GetConnectionInterface(This,pIID)
  673.  
  674. #define IConnectionPoint_GetConnectionPointContainer(This,ppCPC)    \
  675.     (This)->lpVtbl -> GetConnectionPointContainer(This,ppCPC)
  676.  
  677. #define IConnectionPoint_Advise(This,pUnkSink,pdwCookie)    \
  678.     (This)->lpVtbl -> Advise(This,pUnkSink,pdwCookie)
  679.  
  680. #define IConnectionPoint_Unadvise(This,dwCookie)    \
  681.     (This)->lpVtbl -> Unadvise(This,dwCookie)
  682.  
  683. #define IConnectionPoint_EnumConnections(This,ppEnum)    \
  684.     (This)->lpVtbl -> EnumConnections(This,ppEnum)
  685.  
  686. #endif /* COBJMACROS */
  687.  
  688.  
  689. #endif     /* C style interface */
  690.  
  691.  
  692.  
  693. HRESULT STDMETHODCALLTYPE IConnectionPoint_GetConnectionInterface_Proxy( 
  694.     IConnectionPoint __RPC_FAR * This,
  695.     /* [out] */ IID __RPC_FAR *pIID);
  696.  
  697.  
  698. void __RPC_STUB IConnectionPoint_GetConnectionInterface_Stub(
  699.     IRpcStubBuffer *This,
  700.     IRpcChannelBuffer *_pRpcChannelBuffer,
  701.     PRPC_MESSAGE _pRpcMessage,
  702.     DWORD *_pdwStubPhase);
  703.  
  704.  
  705. HRESULT STDMETHODCALLTYPE IConnectionPoint_GetConnectionPointContainer_Proxy( 
  706.     IConnectionPoint __RPC_FAR * This,
  707.     /* [out] */ IConnectionPointContainer __RPC_FAR *__RPC_FAR *ppCPC);
  708.  
  709.  
  710. void __RPC_STUB IConnectionPoint_GetConnectionPointContainer_Stub(
  711.     IRpcStubBuffer *This,
  712.     IRpcChannelBuffer *_pRpcChannelBuffer,
  713.     PRPC_MESSAGE _pRpcMessage,
  714.     DWORD *_pdwStubPhase);
  715.  
  716.  
  717. HRESULT STDMETHODCALLTYPE IConnectionPoint_Advise_Proxy( 
  718.     IConnectionPoint __RPC_FAR * This,
  719.     /* [in] */ IUnknown __RPC_FAR *pUnkSink,
  720.     /* [out] */ DWORD __RPC_FAR *pdwCookie);
  721.  
  722.  
  723. void __RPC_STUB IConnectionPoint_Advise_Stub(
  724.     IRpcStubBuffer *This,
  725.     IRpcChannelBuffer *_pRpcChannelBuffer,
  726.     PRPC_MESSAGE _pRpcMessage,
  727.     DWORD *_pdwStubPhase);
  728.  
  729.  
  730. HRESULT STDMETHODCALLTYPE IConnectionPoint_Unadvise_Proxy( 
  731.     IConnectionPoint __RPC_FAR * This,
  732.     /* [in] */ DWORD dwCookie);
  733.  
  734.  
  735. void __RPC_STUB IConnectionPoint_Unadvise_Stub(
  736.     IRpcStubBuffer *This,
  737.     IRpcChannelBuffer *_pRpcChannelBuffer,
  738.     PRPC_MESSAGE _pRpcMessage,
  739.     DWORD *_pdwStubPhase);
  740.  
  741.  
  742. HRESULT STDMETHODCALLTYPE IConnectionPoint_EnumConnections_Proxy( 
  743.     IConnectionPoint __RPC_FAR * This,
  744.     /* [out] */ IEnumConnections __RPC_FAR *__RPC_FAR *ppEnum);
  745.  
  746.  
  747. void __RPC_STUB IConnectionPoint_EnumConnections_Stub(
  748.     IRpcStubBuffer *This,
  749.     IRpcChannelBuffer *_pRpcChannelBuffer,
  750.     PRPC_MESSAGE _pRpcMessage,
  751.     DWORD *_pdwStubPhase);
  752.  
  753.  
  754.  
  755. #endif     /* __IConnectionPoint_INTERFACE_DEFINED__ */
  756.  
  757.  
  758. #ifndef __IEnumConnectionPoints_INTERFACE_DEFINED__
  759. #define __IEnumConnectionPoints_INTERFACE_DEFINED__
  760.  
  761. /****************************************
  762.  * Generated header for interface: IEnumConnectionPoints
  763.  * at Thu Sep 11 10:57:01 1997
  764.  * using MIDL 3.03.0110
  765.  ****************************************/
  766. /* [unique][uuid][object] */ 
  767.  
  768.  
  769. typedef IEnumConnectionPoints __RPC_FAR *PENUMCONNECTIONPOINTS;
  770.  
  771. typedef IEnumConnectionPoints __RPC_FAR *LPENUMCONNECTIONPOINTS;
  772.  
  773.  
  774. EXTERN_C const IID IID_IEnumConnectionPoints;
  775.  
  776. #if defined(__cplusplus) && !defined(CINTERFACE)
  777.     
  778.     MIDL_INTERFACE("B196B285-BAB4-101A-B69C-00AA00341D07")
  779.     IEnumConnectionPoints : public IUnknown
  780.     {
  781.     public:
  782.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next( 
  783.             /* [in] */ ULONG cConnections,
  784.             /* [length_is][size_is][out] */ LPCONNECTIONPOINT __RPC_FAR *ppCP,
  785.             /* [out] */ ULONG __RPC_FAR *pcFetched) = 0;
  786.         
  787.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  788.             /* [in] */ ULONG cConnections) = 0;
  789.         
  790.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  791.         
  792.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  793.             /* [out] */ IEnumConnectionPoints __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  794.         
  795.     };
  796.     
  797. #else     /* C style interface */
  798.  
  799.     typedef struct IEnumConnectionPointsVtbl
  800.     {
  801.         BEGIN_INTERFACE
  802.         
  803.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  804.             IEnumConnectionPoints __RPC_FAR * This,
  805.             /* [in] */ REFIID riid,
  806.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  807.         
  808.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  809.             IEnumConnectionPoints __RPC_FAR * This);
  810.         
  811.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  812.             IEnumConnectionPoints __RPC_FAR * This);
  813.         
  814.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )( 
  815.             IEnumConnectionPoints __RPC_FAR * This,
  816.             /* [in] */ ULONG cConnections,
  817.             /* [length_is][size_is][out] */ LPCONNECTIONPOINT __RPC_FAR *ppCP,
  818.             /* [out] */ ULONG __RPC_FAR *pcFetched);
  819.         
  820.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )( 
  821.             IEnumConnectionPoints __RPC_FAR * This,
  822.             /* [in] */ ULONG cConnections);
  823.         
  824.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )( 
  825.             IEnumConnectionPoints __RPC_FAR * This);
  826.         
  827.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )( 
  828.             IEnumConnectionPoints __RPC_FAR * This,
  829.             /* [out] */ IEnumConnectionPoints __RPC_FAR *__RPC_FAR *ppEnum);
  830.         
  831.         END_INTERFACE
  832.     } IEnumConnectionPointsVtbl;
  833.  
  834.     interface IEnumConnectionPoints
  835.     {
  836.         CONST_VTBL struct IEnumConnectionPointsVtbl __RPC_FAR *lpVtbl;
  837.     };
  838.  
  839.     
  840.  
  841. #ifdef COBJMACROS
  842.  
  843.  
  844. #define IEnumConnectionPoints_QueryInterface(This,riid,ppvObject)    \
  845.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  846.  
  847. #define IEnumConnectionPoints_AddRef(This)    \
  848.     (This)->lpVtbl -> AddRef(This)
  849.  
  850. #define IEnumConnectionPoints_Release(This)    \
  851.     (This)->lpVtbl -> Release(This)
  852.  
  853.  
  854. #define IEnumConnectionPoints_Next(This,cConnections,ppCP,pcFetched)    \
  855.     (This)->lpVtbl -> Next(This,cConnections,ppCP,pcFetched)
  856.  
  857. #define IEnumConnectionPoints_Skip(This,cConnections)    \
  858.     (This)->lpVtbl -> Skip(This,cConnections)
  859.  
  860. #define IEnumConnectionPoints_Reset(This)    \
  861.     (This)->lpVtbl -> Reset(This)
  862.  
  863. #define IEnumConnectionPoints_Clone(This,ppEnum)    \
  864.     (This)->lpVtbl -> Clone(This,ppEnum)
  865.  
  866. #endif /* COBJMACROS */
  867.  
  868.  
  869. #endif     /* C style interface */
  870.  
  871.  
  872.  
  873. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_RemoteNext_Proxy( 
  874.     IEnumConnectionPoints __RPC_FAR * This,
  875.     /* [in] */ ULONG cConnections,
  876.     /* [length_is][size_is][out] */ LPCONNECTIONPOINT __RPC_FAR *ppCP,
  877.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  878.  
  879.  
  880. void __RPC_STUB IEnumConnectionPoints_RemoteNext_Stub(
  881.     IRpcStubBuffer *This,
  882.     IRpcChannelBuffer *_pRpcChannelBuffer,
  883.     PRPC_MESSAGE _pRpcMessage,
  884.     DWORD *_pdwStubPhase);
  885.  
  886.  
  887. HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Skip_Proxy( 
  888.     IEnumConnectionPoints __RPC_FAR * This,
  889.     /* [in] */ ULONG cConnections);
  890.  
  891.  
  892. void __RPC_STUB IEnumConnectionPoints_Skip_Stub(
  893.     IRpcStubBuffer *This,
  894.     IRpcChannelBuffer *_pRpcChannelBuffer,
  895.     PRPC_MESSAGE _pRpcMessage,
  896.     DWORD *_pdwStubPhase);
  897.  
  898.  
  899. HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Reset_Proxy( 
  900.     IEnumConnectionPoints __RPC_FAR * This);
  901.  
  902.  
  903. void __RPC_STUB IEnumConnectionPoints_Reset_Stub(
  904.     IRpcStubBuffer *This,
  905.     IRpcChannelBuffer *_pRpcChannelBuffer,
  906.     PRPC_MESSAGE _pRpcMessage,
  907.     DWORD *_pdwStubPhase);
  908.  
  909.  
  910. HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Clone_Proxy( 
  911.     IEnumConnectionPoints __RPC_FAR * This,
  912.     /* [out] */ IEnumConnectionPoints __RPC_FAR *__RPC_FAR *ppEnum);
  913.  
  914.  
  915. void __RPC_STUB IEnumConnectionPoints_Clone_Stub(
  916.     IRpcStubBuffer *This,
  917.     IRpcChannelBuffer *_pRpcChannelBuffer,
  918.     PRPC_MESSAGE _pRpcMessage,
  919.     DWORD *_pdwStubPhase);
  920.  
  921.  
  922.  
  923. #endif     /* __IEnumConnectionPoints_INTERFACE_DEFINED__ */
  924.  
  925.  
  926. #ifndef __IConnectionPointContainer_INTERFACE_DEFINED__
  927. #define __IConnectionPointContainer_INTERFACE_DEFINED__
  928.  
  929. /****************************************
  930.  * Generated header for interface: IConnectionPointContainer
  931.  * at Thu Sep 11 10:57:01 1997
  932.  * using MIDL 3.03.0110
  933.  ****************************************/
  934. /* [unique][uuid][object] */ 
  935.  
  936.  
  937. typedef IConnectionPointContainer __RPC_FAR *PCONNECTIONPOINTCONTAINER;
  938.  
  939. typedef IConnectionPointContainer __RPC_FAR *LPCONNECTIONPOINTCONTAINER;
  940.  
  941.  
  942. EXTERN_C const IID IID_IConnectionPointContainer;
  943.  
  944. #if defined(__cplusplus) && !defined(CINTERFACE)
  945.     
  946.     MIDL_INTERFACE("B196B284-BAB4-101A-B69C-00AA00341D07")
  947.     IConnectionPointContainer : public IUnknown
  948.     {
  949.     public:
  950.         virtual HRESULT STDMETHODCALLTYPE EnumConnectionPoints( 
  951.             /* [out] */ IEnumConnectionPoints __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  952.         
  953.         virtual HRESULT STDMETHODCALLTYPE FindConnectionPoint( 
  954.             /* [in] */ REFIID riid,
  955.             /* [out] */ IConnectionPoint __RPC_FAR *__RPC_FAR *ppCP) = 0;
  956.         
  957.     };
  958.     
  959. #else     /* C style interface */
  960.  
  961.     typedef struct IConnectionPointContainerVtbl
  962.     {
  963.         BEGIN_INTERFACE
  964.         
  965.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  966.             IConnectionPointContainer __RPC_FAR * This,
  967.             /* [in] */ REFIID riid,
  968.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  969.         
  970.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  971.             IConnectionPointContainer __RPC_FAR * This);
  972.         
  973.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  974.             IConnectionPointContainer __RPC_FAR * This);
  975.         
  976.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumConnectionPoints )( 
  977.             IConnectionPointContainer __RPC_FAR * This,
  978.             /* [out] */ IEnumConnectionPoints __RPC_FAR *__RPC_FAR *ppEnum);
  979.         
  980.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindConnectionPoint )( 
  981.             IConnectionPointContainer __RPC_FAR * This,
  982.             /* [in] */ REFIID riid,
  983.             /* [out] */ IConnectionPoint __RPC_FAR *__RPC_FAR *ppCP);
  984.         
  985.         END_INTERFACE
  986.     } IConnectionPointContainerVtbl;
  987.  
  988.     interface IConnectionPointContainer
  989.     {
  990.         CONST_VTBL struct IConnectionPointContainerVtbl __RPC_FAR *lpVtbl;
  991.     };
  992.  
  993.     
  994.  
  995. #ifdef COBJMACROS
  996.  
  997.  
  998. #define IConnectionPointContainer_QueryInterface(This,riid,ppvObject)    \
  999.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1000.  
  1001. #define IConnectionPointContainer_AddRef(This)    \
  1002.     (This)->lpVtbl -> AddRef(This)
  1003.  
  1004. #define IConnectionPointContainer_Release(This)    \
  1005.     (This)->lpVtbl -> Release(This)
  1006.  
  1007.  
  1008. #define IConnectionPointContainer_EnumConnectionPoints(This,ppEnum)    \
  1009.     (This)->lpVtbl -> EnumConnectionPoints(This,ppEnum)
  1010.  
  1011. #define IConnectionPointContainer_FindConnectionPoint(This,riid,ppCP)    \
  1012.     (This)->lpVtbl -> FindConnectionPoint(This,riid,ppCP)
  1013.  
  1014. #endif /* COBJMACROS */
  1015.  
  1016.  
  1017. #endif     /* C style interface */
  1018.  
  1019.  
  1020.  
  1021. HRESULT STDMETHODCALLTYPE IConnectionPointContainer_EnumConnectionPoints_Proxy( 
  1022.     IConnectionPointContainer __RPC_FAR * This,
  1023.     /* [out] */ IEnumConnectionPoints __RPC_FAR *__RPC_FAR *ppEnum);
  1024.  
  1025.  
  1026. void __RPC_STUB IConnectionPointContainer_EnumConnectionPoints_Stub(
  1027.     IRpcStubBuffer *This,
  1028.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1029.     PRPC_MESSAGE _pRpcMessage,
  1030.     DWORD *_pdwStubPhase);
  1031.  
  1032.  
  1033. HRESULT STDMETHODCALLTYPE IConnectionPointContainer_FindConnectionPoint_Proxy( 
  1034.     IConnectionPointContainer __RPC_FAR * This,
  1035.     /* [in] */ REFIID riid,
  1036.     /* [out] */ IConnectionPoint __RPC_FAR *__RPC_FAR *ppCP);
  1037.  
  1038.  
  1039. void __RPC_STUB IConnectionPointContainer_FindConnectionPoint_Stub(
  1040.     IRpcStubBuffer *This,
  1041.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1042.     PRPC_MESSAGE _pRpcMessage,
  1043.     DWORD *_pdwStubPhase);
  1044.  
  1045.  
  1046.  
  1047. #endif     /* __IConnectionPointContainer_INTERFACE_DEFINED__ */
  1048.  
  1049.  
  1050. #ifndef __IClassFactory2_INTERFACE_DEFINED__
  1051. #define __IClassFactory2_INTERFACE_DEFINED__
  1052.  
  1053. /****************************************
  1054.  * Generated header for interface: IClassFactory2
  1055.  * at Thu Sep 11 10:57:01 1997
  1056.  * using MIDL 3.03.0110
  1057.  ****************************************/
  1058. /* [unique][uuid][object] */ 
  1059.  
  1060.  
  1061. typedef IClassFactory2 __RPC_FAR *LPCLASSFACTORY2;
  1062.  
  1063. typedef struct  tagLICINFO
  1064.     {
  1065.     LONG cbLicInfo;
  1066.     BOOL fRuntimeKeyAvail;
  1067.     BOOL fLicVerified;
  1068.     }    LICINFO;
  1069.  
  1070. typedef struct tagLICINFO __RPC_FAR *LPLICINFO;
  1071.  
  1072.  
  1073. EXTERN_C const IID IID_IClassFactory2;
  1074.  
  1075. #if defined(__cplusplus) && !defined(CINTERFACE)
  1076.     
  1077.     MIDL_INTERFACE("B196B28F-BAB4-101A-B69C-00AA00341D07")
  1078.     IClassFactory2 : public IClassFactory
  1079.     {
  1080.     public:
  1081.         virtual HRESULT STDMETHODCALLTYPE GetLicInfo( 
  1082.             /* [out] */ LICINFO __RPC_FAR *pLicInfo) = 0;
  1083.         
  1084.         virtual HRESULT STDMETHODCALLTYPE RequestLicKey( 
  1085.             /* [in] */ DWORD dwReserved,
  1086.             /* [out] */ BSTR __RPC_FAR *pBstrKey) = 0;
  1087.         
  1088.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE CreateInstanceLic( 
  1089.             /* [in] */ IUnknown __RPC_FAR *pUnkOuter,
  1090.             /* [in] */ IUnknown __RPC_FAR *pUnkReserved,
  1091.             /* [in] */ REFIID riid,
  1092.             /* [in] */ BSTR bstrKey,
  1093.             /* [iid_is][out] */ PVOID __RPC_FAR *ppvObj) = 0;
  1094.         
  1095.     };
  1096.     
  1097. #else     /* C style interface */
  1098.  
  1099.     typedef struct IClassFactory2Vtbl
  1100.     {
  1101.         BEGIN_INTERFACE
  1102.         
  1103.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1104.             IClassFactory2 __RPC_FAR * This,
  1105.             /* [in] */ REFIID riid,
  1106.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1107.         
  1108.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1109.             IClassFactory2 __RPC_FAR * This);
  1110.         
  1111.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1112.             IClassFactory2 __RPC_FAR * This);
  1113.         
  1114.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateInstance )( 
  1115.             IClassFactory2 __RPC_FAR * This,
  1116.             /* [unique][in] */ IUnknown __RPC_FAR *pUnkOuter,
  1117.             /* [in] */ REFIID riid,
  1118.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1119.         
  1120.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LockServer )( 
  1121.             IClassFactory2 __RPC_FAR * This,
  1122.             /* [in] */ BOOL fLock);
  1123.         
  1124.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLicInfo )( 
  1125.             IClassFactory2 __RPC_FAR * This,
  1126.             /* [out] */ LICINFO __RPC_FAR *pLicInfo);
  1127.         
  1128.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestLicKey )( 
  1129.             IClassFactory2 __RPC_FAR * This,
  1130.             /* [in] */ DWORD dwReserved,
  1131.             /* [out] */ BSTR __RPC_FAR *pBstrKey);
  1132.         
  1133.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateInstanceLic )( 
  1134.             IClassFactory2 __RPC_FAR * This,
  1135.             /* [in] */ IUnknown __RPC_FAR *pUnkOuter,
  1136.             /* [in] */ IUnknown __RPC_FAR *pUnkReserved,
  1137.             /* [in] */ REFIID riid,
  1138.             /* [in] */ BSTR bstrKey,
  1139.             /* [iid_is][out] */ PVOID __RPC_FAR *ppvObj);
  1140.         
  1141.         END_INTERFACE
  1142.     } IClassFactory2Vtbl;
  1143.  
  1144.     interface IClassFactory2
  1145.     {
  1146.         CONST_VTBL struct IClassFactory2Vtbl __RPC_FAR *lpVtbl;
  1147.     };
  1148.  
  1149.     
  1150.  
  1151. #ifdef COBJMACROS
  1152.  
  1153.  
  1154. #define IClassFactory2_QueryInterface(This,riid,ppvObject)    \
  1155.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1156.  
  1157. #define IClassFactory2_AddRef(This)    \
  1158.     (This)->lpVtbl -> AddRef(This)
  1159.  
  1160. #define IClassFactory2_Release(This)    \
  1161.     (This)->lpVtbl -> Release(This)
  1162.  
  1163.  
  1164. #define IClassFactory2_CreateInstance(This,pUnkOuter,riid,ppvObject)    \
  1165.     (This)->lpVtbl -> CreateInstance(This,pUnkOuter,riid,ppvObject)
  1166.  
  1167. #define IClassFactory2_LockServer(This,fLock)    \
  1168.     (This)->lpVtbl -> LockServer(This,fLock)
  1169.  
  1170.  
  1171. #define IClassFactory2_GetLicInfo(This,pLicInfo)    \
  1172.     (This)->lpVtbl -> GetLicInfo(This,pLicInfo)
  1173.  
  1174. #define IClassFactory2_RequestLicKey(This,dwReserved,pBstrKey)    \
  1175.     (This)->lpVtbl -> RequestLicKey(This,dwReserved,pBstrKey)
  1176.  
  1177. #define IClassFactory2_CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj)    \
  1178.     (This)->lpVtbl -> CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj)
  1179.  
  1180. #endif /* COBJMACROS */
  1181.  
  1182.  
  1183. #endif     /* C style interface */
  1184.  
  1185.  
  1186.  
  1187. HRESULT STDMETHODCALLTYPE IClassFactory2_GetLicInfo_Proxy( 
  1188.     IClassFactory2 __RPC_FAR * This,
  1189.     /* [out] */ LICINFO __RPC_FAR *pLicInfo);
  1190.  
  1191.  
  1192. void __RPC_STUB IClassFactory2_GetLicInfo_Stub(
  1193.     IRpcStubBuffer *This,
  1194.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1195.     PRPC_MESSAGE _pRpcMessage,
  1196.     DWORD *_pdwStubPhase);
  1197.  
  1198.  
  1199. HRESULT STDMETHODCALLTYPE IClassFactory2_RequestLicKey_Proxy( 
  1200.     IClassFactory2 __RPC_FAR * This,
  1201.     /* [in] */ DWORD dwReserved,
  1202.     /* [out] */ BSTR __RPC_FAR *pBstrKey);
  1203.  
  1204.  
  1205. void __RPC_STUB IClassFactory2_RequestLicKey_Stub(
  1206.     IRpcStubBuffer *This,
  1207.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1208.     PRPC_MESSAGE _pRpcMessage,
  1209.     DWORD *_pdwStubPhase);
  1210.  
  1211.  
  1212. /* [call_as] */ HRESULT STDMETHODCALLTYPE IClassFactory2_RemoteCreateInstanceLic_Proxy( 
  1213.     IClassFactory2 __RPC_FAR * This,
  1214.     /* [in] */ REFIID riid,
  1215.     /* [in] */ BSTR bstrKey,
  1216.     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObj);
  1217.  
  1218.  
  1219. void __RPC_STUB IClassFactory2_RemoteCreateInstanceLic_Stub(
  1220.     IRpcStubBuffer *This,
  1221.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1222.     PRPC_MESSAGE _pRpcMessage,
  1223.     DWORD *_pdwStubPhase);
  1224.  
  1225.  
  1226.  
  1227. #endif     /* __IClassFactory2_INTERFACE_DEFINED__ */
  1228.  
  1229.  
  1230. #ifndef __IProvideClassInfo_INTERFACE_DEFINED__
  1231. #define __IProvideClassInfo_INTERFACE_DEFINED__
  1232.  
  1233. /****************************************
  1234.  * Generated header for interface: IProvideClassInfo
  1235.  * at Thu Sep 11 10:57:01 1997
  1236.  * using MIDL 3.03.0110
  1237.  ****************************************/
  1238. /* [unique][uuid][object] */ 
  1239.  
  1240.  
  1241. typedef IProvideClassInfo __RPC_FAR *LPPROVIDECLASSINFO;
  1242.  
  1243.  
  1244. EXTERN_C const IID IID_IProvideClassInfo;
  1245.  
  1246. #if defined(__cplusplus) && !defined(CINTERFACE)
  1247.     
  1248.     MIDL_INTERFACE("B196B283-BAB4-101A-B69C-00AA00341D07")
  1249.     IProvideClassInfo : public IUnknown
  1250.     {
  1251.     public:
  1252.         virtual HRESULT STDMETHODCALLTYPE GetClassInfo( 
  1253.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTI) = 0;
  1254.         
  1255.     };
  1256.     
  1257. #else     /* C style interface */
  1258.  
  1259.     typedef struct IProvideClassInfoVtbl
  1260.     {
  1261.         BEGIN_INTERFACE
  1262.         
  1263.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1264.             IProvideClassInfo __RPC_FAR * This,
  1265.             /* [in] */ REFIID riid,
  1266.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1267.         
  1268.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1269.             IProvideClassInfo __RPC_FAR * This);
  1270.         
  1271.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1272.             IProvideClassInfo __RPC_FAR * This);
  1273.         
  1274.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassInfo )( 
  1275.             IProvideClassInfo __RPC_FAR * This,
  1276.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTI);
  1277.         
  1278.         END_INTERFACE
  1279.     } IProvideClassInfoVtbl;
  1280.  
  1281.     interface IProvideClassInfo
  1282.     {
  1283.         CONST_VTBL struct IProvideClassInfoVtbl __RPC_FAR *lpVtbl;
  1284.     };
  1285.  
  1286.     
  1287.  
  1288. #ifdef COBJMACROS
  1289.  
  1290.  
  1291. #define IProvideClassInfo_QueryInterface(This,riid,ppvObject)    \
  1292.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1293.  
  1294. #define IProvideClassInfo_AddRef(This)    \
  1295.     (This)->lpVtbl -> AddRef(This)
  1296.  
  1297. #define IProvideClassInfo_Release(This)    \
  1298.     (This)->lpVtbl -> Release(This)
  1299.  
  1300.  
  1301. #define IProvideClassInfo_GetClassInfo(This,ppTI)    \
  1302.     (This)->lpVtbl -> GetClassInfo(This,ppTI)
  1303.  
  1304. #endif /* COBJMACROS */
  1305.  
  1306.  
  1307. #endif     /* C style interface */
  1308.  
  1309.  
  1310.  
  1311. HRESULT STDMETHODCALLTYPE IProvideClassInfo_GetClassInfo_Proxy( 
  1312.     IProvideClassInfo __RPC_FAR * This,
  1313.     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTI);
  1314.  
  1315.  
  1316. void __RPC_STUB IProvideClassInfo_GetClassInfo_Stub(
  1317.     IRpcStubBuffer *This,
  1318.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1319.     PRPC_MESSAGE _pRpcMessage,
  1320.     DWORD *_pdwStubPhase);
  1321.  
  1322.  
  1323.  
  1324. #endif     /* __IProvideClassInfo_INTERFACE_DEFINED__ */
  1325.  
  1326.  
  1327. #ifndef __IProvideClassInfo2_INTERFACE_DEFINED__
  1328. #define __IProvideClassInfo2_INTERFACE_DEFINED__
  1329.  
  1330. /****************************************
  1331.  * Generated header for interface: IProvideClassInfo2
  1332.  * at Thu Sep 11 10:57:01 1997
  1333.  * using MIDL 3.03.0110
  1334.  ****************************************/
  1335. /* [unique][uuid][object] */ 
  1336.  
  1337.  
  1338. typedef IProvideClassInfo2 __RPC_FAR *LPPROVIDECLASSINFO2;
  1339.  
  1340. typedef 
  1341. enum tagGUIDKIND
  1342.     {    GUIDKIND_DEFAULT_SOURCE_DISP_IID    = 1
  1343.     }    GUIDKIND;
  1344.  
  1345.  
  1346. EXTERN_C const IID IID_IProvideClassInfo2;
  1347.  
  1348. #if defined(__cplusplus) && !defined(CINTERFACE)
  1349.     
  1350.     MIDL_INTERFACE("A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851")
  1351.     IProvideClassInfo2 : public IProvideClassInfo
  1352.     {
  1353.     public:
  1354.         virtual HRESULT STDMETHODCALLTYPE GetGUID( 
  1355.             /* [in] */ DWORD dwGuidKind,
  1356.             /* [out] */ GUID __RPC_FAR *pGUID) = 0;
  1357.         
  1358.     };
  1359.     
  1360. #else     /* C style interface */
  1361.  
  1362.     typedef struct IProvideClassInfo2Vtbl
  1363.     {
  1364.         BEGIN_INTERFACE
  1365.         
  1366.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1367.             IProvideClassInfo2 __RPC_FAR * This,
  1368.             /* [in] */ REFIID riid,
  1369.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1370.         
  1371.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1372.             IProvideClassInfo2 __RPC_FAR * This);
  1373.         
  1374.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1375.             IProvideClassInfo2 __RPC_FAR * This);
  1376.         
  1377.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassInfo )( 
  1378.             IProvideClassInfo2 __RPC_FAR * This,
  1379.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTI);
  1380.         
  1381.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetGUID )( 
  1382.             IProvideClassInfo2 __RPC_FAR * This,
  1383.             /* [in] */ DWORD dwGuidKind,
  1384.             /* [out] */ GUID __RPC_FAR *pGUID);
  1385.         
  1386.         END_INTERFACE
  1387.     } IProvideClassInfo2Vtbl;
  1388.  
  1389.     interface IProvideClassInfo2
  1390.     {
  1391.         CONST_VTBL struct IProvideClassInfo2Vtbl __RPC_FAR *lpVtbl;
  1392.     };
  1393.  
  1394.     
  1395.  
  1396. #ifdef COBJMACROS
  1397.  
  1398.  
  1399. #define IProvideClassInfo2_QueryInterface(This,riid,ppvObject)    \
  1400.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1401.  
  1402. #define IProvideClassInfo2_AddRef(This)    \
  1403.     (This)->lpVtbl -> AddRef(This)
  1404.  
  1405. #define IProvideClassInfo2_Release(This)    \
  1406.     (This)->lpVtbl -> Release(This)
  1407.  
  1408.  
  1409. #define IProvideClassInfo2_GetClassInfo(This,ppTI)    \
  1410.     (This)->lpVtbl -> GetClassInfo(This,ppTI)
  1411.  
  1412.  
  1413. #define IProvideClassInfo2_GetGUID(This,dwGuidKind,pGUID)    \
  1414.     (This)->lpVtbl -> GetGUID(This,dwGuidKind,pGUID)
  1415.  
  1416. #endif /* COBJMACROS */
  1417.  
  1418.  
  1419. #endif     /* C style interface */
  1420.  
  1421.  
  1422.  
  1423. HRESULT STDMETHODCALLTYPE IProvideClassInfo2_GetGUID_Proxy( 
  1424.     IProvideClassInfo2 __RPC_FAR * This,
  1425.     /* [in] */ DWORD dwGuidKind,
  1426.     /* [out] */ GUID __RPC_FAR *pGUID);
  1427.  
  1428.  
  1429. void __RPC_STUB IProvideClassInfo2_GetGUID_Stub(
  1430.     IRpcStubBuffer *This,
  1431.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1432.     PRPC_MESSAGE _pRpcMessage,
  1433.     DWORD *_pdwStubPhase);
  1434.  
  1435.  
  1436.  
  1437. #endif     /* __IProvideClassInfo2_INTERFACE_DEFINED__ */
  1438.  
  1439.  
  1440. #ifndef __IProvideMultipleClassInfo_INTERFACE_DEFINED__
  1441. #define __IProvideMultipleClassInfo_INTERFACE_DEFINED__
  1442.  
  1443. /****************************************
  1444.  * Generated header for interface: IProvideMultipleClassInfo
  1445.  * at Thu Sep 11 10:57:01 1997
  1446.  * using MIDL 3.03.0110
  1447.  ****************************************/
  1448. /* [unique][uuid][object] */ 
  1449.  
  1450.  
  1451. #define MULTICLASSINFO_GETTYPEINFO           0x00000001
  1452. #define MULTICLASSINFO_GETNUMRESERVEDDISPIDS 0x00000002
  1453. #define MULTICLASSINFO_GETIIDPRIMARY         0x00000004
  1454. #define MULTICLASSINFO_GETIIDSOURCE          0x00000008
  1455. #define TIFLAGS_EXTENDDISPATCHONLY           0x00000001
  1456. typedef IProvideMultipleClassInfo __RPC_FAR *LPPROVIDEMULTIPLECLASSINFO;
  1457.  
  1458.  
  1459. EXTERN_C const IID IID_IProvideMultipleClassInfo;
  1460.  
  1461. #if defined(__cplusplus) && !defined(CINTERFACE)
  1462.     
  1463.     MIDL_INTERFACE("A7ABA9C1-8983-11cf-8F20-00805F2CD064")
  1464.     IProvideMultipleClassInfo : public IProvideClassInfo2
  1465.     {
  1466.     public:
  1467.         virtual HRESULT STDMETHODCALLTYPE GetMultiTypeInfoCount( 
  1468.             /* [out] */ ULONG __RPC_FAR *pcti) = 0;
  1469.         
  1470.         virtual HRESULT STDMETHODCALLTYPE GetInfoOfIndex( 
  1471.             /* [in] */ ULONG iti,
  1472.             /* [in] */ DWORD dwFlags,
  1473.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *pptiCoClass,
  1474.             /* [out] */ DWORD __RPC_FAR *pdwTIFlags,
  1475.             /* [out] */ ULONG __RPC_FAR *pcdispidReserved,
  1476.             /* [out] */ IID __RPC_FAR *piidPrimary,
  1477.             /* [out] */ IID __RPC_FAR *piidSource) = 0;
  1478.         
  1479.     };
  1480.     
  1481. #else     /* C style interface */
  1482.  
  1483.     typedef struct IProvideMultipleClassInfoVtbl
  1484.     {
  1485.         BEGIN_INTERFACE
  1486.         
  1487.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1488.             IProvideMultipleClassInfo __RPC_FAR * This,
  1489.             /* [in] */ REFIID riid,
  1490.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1491.         
  1492.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1493.             IProvideMultipleClassInfo __RPC_FAR * This);
  1494.         
  1495.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1496.             IProvideMultipleClassInfo __RPC_FAR * This);
  1497.         
  1498.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassInfo )( 
  1499.             IProvideMultipleClassInfo __RPC_FAR * This,
  1500.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTI);
  1501.         
  1502.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetGUID )( 
  1503.             IProvideMultipleClassInfo __RPC_FAR * This,
  1504.             /* [in] */ DWORD dwGuidKind,
  1505.             /* [out] */ GUID __RPC_FAR *pGUID);
  1506.         
  1507.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMultiTypeInfoCount )( 
  1508.             IProvideMultipleClassInfo __RPC_FAR * This,
  1509.             /* [out] */ ULONG __RPC_FAR *pcti);
  1510.         
  1511.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInfoOfIndex )( 
  1512.             IProvideMultipleClassInfo __RPC_FAR * This,
  1513.             /* [in] */ ULONG iti,
  1514.             /* [in] */ DWORD dwFlags,
  1515.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *pptiCoClass,
  1516.             /* [out] */ DWORD __RPC_FAR *pdwTIFlags,
  1517.             /* [out] */ ULONG __RPC_FAR *pcdispidReserved,
  1518.             /* [out] */ IID __RPC_FAR *piidPrimary,
  1519.             /* [out] */ IID __RPC_FAR *piidSource);
  1520.         
  1521.         END_INTERFACE
  1522.     } IProvideMultipleClassInfoVtbl;
  1523.  
  1524.     interface IProvideMultipleClassInfo
  1525.     {
  1526.         CONST_VTBL struct IProvideMultipleClassInfoVtbl __RPC_FAR *lpVtbl;
  1527.     };
  1528.  
  1529.     
  1530.  
  1531. #ifdef COBJMACROS
  1532.  
  1533.  
  1534. #define IProvideMultipleClassInfo_QueryInterface(This,riid,ppvObject)    \
  1535.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1536.  
  1537. #define IProvideMultipleClassInfo_AddRef(This)    \
  1538.     (This)->lpVtbl -> AddRef(This)
  1539.  
  1540. #define IProvideMultipleClassInfo_Release(This)    \
  1541.     (This)->lpVtbl -> Release(This)
  1542.  
  1543.  
  1544. #define IProvideMultipleClassInfo_GetClassInfo(This,ppTI)    \
  1545.     (This)->lpVtbl -> GetClassInfo(This,ppTI)
  1546.  
  1547.  
  1548. #define IProvideMultipleClassInfo_GetGUID(This,dwGuidKind,pGUID)    \
  1549.     (This)->lpVtbl -> GetGUID(This,dwGuidKind,pGUID)
  1550.  
  1551.  
  1552. #define IProvideMultipleClassInfo_GetMultiTypeInfoCount(This,pcti)    \
  1553.     (This)->lpVtbl -> GetMultiTypeInfoCount(This,pcti)
  1554.  
  1555. #define IProvideMultipleClassInfo_GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource)    \
  1556.     (This)->lpVtbl -> GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource)
  1557.  
  1558. #endif /* COBJMACROS */
  1559.  
  1560.  
  1561. #endif     /* C style interface */
  1562.  
  1563.  
  1564.  
  1565. HRESULT STDMETHODCALLTYPE IProvideMultipleClassInfo_GetMultiTypeInfoCount_Proxy( 
  1566.     IProvideMultipleClassInfo __RPC_FAR * This,
  1567.     /* [out] */ ULONG __RPC_FAR *pcti);
  1568.  
  1569.  
  1570. void __RPC_STUB IProvideMultipleClassInfo_GetMultiTypeInfoCount_Stub(
  1571.     IRpcStubBuffer *This,
  1572.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1573.     PRPC_MESSAGE _pRpcMessage,
  1574.     DWORD *_pdwStubPhase);
  1575.  
  1576.  
  1577. HRESULT STDMETHODCALLTYPE IProvideMultipleClassInfo_GetInfoOfIndex_Proxy( 
  1578.     IProvideMultipleClassInfo __RPC_FAR * This,
  1579.     /* [in] */ ULONG iti,
  1580.     /* [in] */ DWORD dwFlags,
  1581.     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *pptiCoClass,
  1582.     /* [out] */ DWORD __RPC_FAR *pdwTIFlags,
  1583.     /* [out] */ ULONG __RPC_FAR *pcdispidReserved,
  1584.     /* [out] */ IID __RPC_FAR *piidPrimary,
  1585.     /* [out] */ IID __RPC_FAR *piidSource);
  1586.  
  1587.  
  1588. void __RPC_STUB IProvideMultipleClassInfo_GetInfoOfIndex_Stub(
  1589.     IRpcStubBuffer *This,
  1590.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1591.     PRPC_MESSAGE _pRpcMessage,
  1592.     DWORD *_pdwStubPhase);
  1593.  
  1594.  
  1595.  
  1596. #endif     /* __IProvideMultipleClassInfo_INTERFACE_DEFINED__ */
  1597.  
  1598.  
  1599. #ifndef __IOleControl_INTERFACE_DEFINED__
  1600. #define __IOleControl_INTERFACE_DEFINED__
  1601.  
  1602. /****************************************
  1603.  * Generated header for interface: IOleControl
  1604.  * at Thu Sep 11 10:57:01 1997
  1605.  * using MIDL 3.03.0110
  1606.  ****************************************/
  1607. /* [unique][uuid][object] */ 
  1608.  
  1609.  
  1610. typedef IOleControl __RPC_FAR *LPOLECONTROL;
  1611.  
  1612. typedef struct  tagCONTROLINFO
  1613.     {
  1614.     ULONG cb;
  1615.     HACCEL hAccel;
  1616.     USHORT cAccel;
  1617.     DWORD dwFlags;
  1618.     }    CONTROLINFO;
  1619.  
  1620. typedef struct tagCONTROLINFO __RPC_FAR *LPCONTROLINFO;
  1621.  
  1622. typedef 
  1623. enum tagCTRLINFO
  1624.     {    CTRLINFO_EATS_RETURN    = 1,
  1625.     CTRLINFO_EATS_ESCAPE    = 2
  1626.     }    CTRLINFO;
  1627.  
  1628.  
  1629. EXTERN_C const IID IID_IOleControl;
  1630.  
  1631. #if defined(__cplusplus) && !defined(CINTERFACE)
  1632.     
  1633.     MIDL_INTERFACE("B196B288-BAB4-101A-B69C-00AA00341D07")
  1634.     IOleControl : public IUnknown
  1635.     {
  1636.     public:
  1637.         virtual HRESULT STDMETHODCALLTYPE GetControlInfo( 
  1638.             /* [out] */ CONTROLINFO __RPC_FAR *pCI) = 0;
  1639.         
  1640.         virtual HRESULT STDMETHODCALLTYPE OnMnemonic( 
  1641.             /* [in] */ MSG __RPC_FAR *pMsg) = 0;
  1642.         
  1643.         virtual HRESULT STDMETHODCALLTYPE OnAmbientPropertyChange( 
  1644.             /* [in] */ DISPID dispID) = 0;
  1645.         
  1646.         virtual HRESULT STDMETHODCALLTYPE FreezeEvents( 
  1647.             /* [in] */ BOOL bFreeze) = 0;
  1648.         
  1649.     };
  1650.     
  1651. #else     /* C style interface */
  1652.  
  1653.     typedef struct IOleControlVtbl
  1654.     {
  1655.         BEGIN_INTERFACE
  1656.         
  1657.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1658.             IOleControl __RPC_FAR * This,
  1659.             /* [in] */ REFIID riid,
  1660.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1661.         
  1662.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1663.             IOleControl __RPC_FAR * This);
  1664.         
  1665.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1666.             IOleControl __RPC_FAR * This);
  1667.         
  1668.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetControlInfo )( 
  1669.             IOleControl __RPC_FAR * This,
  1670.             /* [out] */ CONTROLINFO __RPC_FAR *pCI);
  1671.         
  1672.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnMnemonic )( 
  1673.             IOleControl __RPC_FAR * This,
  1674.             /* [in] */ MSG __RPC_FAR *pMsg);
  1675.         
  1676.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnAmbientPropertyChange )( 
  1677.             IOleControl __RPC_FAR * This,
  1678.             /* [in] */ DISPID dispID);
  1679.         
  1680.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FreezeEvents )( 
  1681.             IOleControl __RPC_FAR * This,
  1682.             /* [in] */ BOOL bFreeze);
  1683.         
  1684.         END_INTERFACE
  1685.     } IOleControlVtbl;
  1686.  
  1687.     interface IOleControl
  1688.     {
  1689.         CONST_VTBL struct IOleControlVtbl __RPC_FAR *lpVtbl;
  1690.     };
  1691.  
  1692.     
  1693.  
  1694. #ifdef COBJMACROS
  1695.  
  1696.  
  1697. #define IOleControl_QueryInterface(This,riid,ppvObject)    \
  1698.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1699.  
  1700. #define IOleControl_AddRef(This)    \
  1701.     (This)->lpVtbl -> AddRef(This)
  1702.  
  1703. #define IOleControl_Release(This)    \
  1704.     (This)->lpVtbl -> Release(This)
  1705.  
  1706.  
  1707. #define IOleControl_GetControlInfo(This,pCI)    \
  1708.     (This)->lpVtbl -> GetControlInfo(This,pCI)
  1709.  
  1710. #define IOleControl_OnMnemonic(This,pMsg)    \
  1711.     (This)->lpVtbl -> OnMnemonic(This,pMsg)
  1712.  
  1713. #define IOleControl_OnAmbientPropertyChange(This,dispID)    \
  1714.     (This)->lpVtbl -> OnAmbientPropertyChange(This,dispID)
  1715.  
  1716. #define IOleControl_FreezeEvents(This,bFreeze)    \
  1717.     (This)->lpVtbl -> FreezeEvents(This,bFreeze)
  1718.  
  1719. #endif /* COBJMACROS */
  1720.  
  1721.  
  1722. #endif     /* C style interface */
  1723.  
  1724.  
  1725.  
  1726. HRESULT STDMETHODCALLTYPE IOleControl_GetControlInfo_Proxy( 
  1727.     IOleControl __RPC_FAR * This,
  1728.     /* [out] */ CONTROLINFO __RPC_FAR *pCI);
  1729.  
  1730.  
  1731. void __RPC_STUB IOleControl_GetControlInfo_Stub(
  1732.     IRpcStubBuffer *This,
  1733.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1734.     PRPC_MESSAGE _pRpcMessage,
  1735.     DWORD *_pdwStubPhase);
  1736.  
  1737.  
  1738. HRESULT STDMETHODCALLTYPE IOleControl_OnMnemonic_Proxy( 
  1739.     IOleControl __RPC_FAR * This,
  1740.     /* [in] */ MSG __RPC_FAR *pMsg);
  1741.  
  1742.  
  1743. void __RPC_STUB IOleControl_OnMnemonic_Stub(
  1744.     IRpcStubBuffer *This,
  1745.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1746.     PRPC_MESSAGE _pRpcMessage,
  1747.     DWORD *_pdwStubPhase);
  1748.  
  1749.  
  1750. HRESULT STDMETHODCALLTYPE IOleControl_OnAmbientPropertyChange_Proxy( 
  1751.     IOleControl __RPC_FAR * This,
  1752.     /* [in] */ DISPID dispID);
  1753.  
  1754.  
  1755. void __RPC_STUB IOleControl_OnAmbientPropertyChange_Stub(
  1756.     IRpcStubBuffer *This,
  1757.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1758.     PRPC_MESSAGE _pRpcMessage,
  1759.     DWORD *_pdwStubPhase);
  1760.  
  1761.  
  1762. HRESULT STDMETHODCALLTYPE IOleControl_FreezeEvents_Proxy( 
  1763.     IOleControl __RPC_FAR * This,
  1764.     /* [in] */ BOOL bFreeze);
  1765.  
  1766.  
  1767. void __RPC_STUB IOleControl_FreezeEvents_Stub(
  1768.     IRpcStubBuffer *This,
  1769.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1770.     PRPC_MESSAGE _pRpcMessage,
  1771.     DWORD *_pdwStubPhase);
  1772.  
  1773.  
  1774.  
  1775. #endif     /* __IOleControl_INTERFACE_DEFINED__ */
  1776.  
  1777.  
  1778. #ifndef __IOleControlSite_INTERFACE_DEFINED__
  1779. #define __IOleControlSite_INTERFACE_DEFINED__
  1780.  
  1781. /****************************************
  1782.  * Generated header for interface: IOleControlSite
  1783.  * at Thu Sep 11 10:57:01 1997
  1784.  * using MIDL 3.03.0110
  1785.  ****************************************/
  1786. /* [unique][uuid][object] */ 
  1787.  
  1788.  
  1789. typedef IOleControlSite __RPC_FAR *LPOLECONTROLSITE;
  1790.  
  1791. typedef struct  tagPOINTF
  1792.     {
  1793.     FLOAT x;
  1794.     FLOAT y;
  1795.     }    POINTF;
  1796.  
  1797. typedef struct tagPOINTF __RPC_FAR *LPPOINTF;
  1798.  
  1799. typedef 
  1800. enum tagXFORMCOORDS
  1801.     {    XFORMCOORDS_POSITION    = 0x1,
  1802.     XFORMCOORDS_SIZE    = 0x2,
  1803.     XFORMCOORDS_HIMETRICTOCONTAINER    = 0x4,
  1804.     XFORMCOORDS_CONTAINERTOHIMETRIC    = 0x8,
  1805.     XFORMCOORDS_EVENTCOMPAT    = 0x10
  1806.     }    XFORMCOORDS;
  1807.  
  1808.  
  1809. EXTERN_C const IID IID_IOleControlSite;
  1810.  
  1811. #if defined(__cplusplus) && !defined(CINTERFACE)
  1812.     
  1813.     MIDL_INTERFACE("B196B289-BAB4-101A-B69C-00AA00341D07")
  1814.     IOleControlSite : public IUnknown
  1815.     {
  1816.     public:
  1817.         virtual HRESULT STDMETHODCALLTYPE OnControlInfoChanged( void) = 0;
  1818.         
  1819.         virtual HRESULT STDMETHODCALLTYPE LockInPlaceActive( 
  1820.             /* [in] */ BOOL fLock) = 0;
  1821.         
  1822.         virtual HRESULT STDMETHODCALLTYPE GetExtendedControl( 
  1823.             /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp) = 0;
  1824.         
  1825.         virtual HRESULT STDMETHODCALLTYPE TransformCoords( 
  1826.             /* [out][in] */ POINTL __RPC_FAR *pPtlHimetric,
  1827.             /* [out][in] */ POINTF __RPC_FAR *pPtfContainer,
  1828.             /* [in] */ DWORD dwFlags) = 0;
  1829.         
  1830.         virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( 
  1831.             /* [in] */ MSG __RPC_FAR *pMsg,
  1832.             /* [in] */ DWORD grfModifiers) = 0;
  1833.         
  1834.         virtual HRESULT STDMETHODCALLTYPE OnFocus( 
  1835.             /* [in] */ BOOL fGotFocus) = 0;
  1836.         
  1837.         virtual HRESULT STDMETHODCALLTYPE ShowPropertyFrame( void) = 0;
  1838.         
  1839.     };
  1840.     
  1841. #else     /* C style interface */
  1842.  
  1843.     typedef struct IOleControlSiteVtbl
  1844.     {
  1845.         BEGIN_INTERFACE
  1846.         
  1847.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1848.             IOleControlSite __RPC_FAR * This,
  1849.             /* [in] */ REFIID riid,
  1850.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1851.         
  1852.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1853.             IOleControlSite __RPC_FAR * This);
  1854.         
  1855.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1856.             IOleControlSite __RPC_FAR * This);
  1857.         
  1858.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnControlInfoChanged )( 
  1859.             IOleControlSite __RPC_FAR * This);
  1860.         
  1861.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LockInPlaceActive )( 
  1862.             IOleControlSite __RPC_FAR * This,
  1863.             /* [in] */ BOOL fLock);
  1864.         
  1865.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExtendedControl )( 
  1866.             IOleControlSite __RPC_FAR * This,
  1867.             /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  1868.         
  1869.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TransformCoords )( 
  1870.             IOleControlSite __RPC_FAR * This,
  1871.             /* [out][in] */ POINTL __RPC_FAR *pPtlHimetric,
  1872.             /* [out][in] */ POINTF __RPC_FAR *pPtfContainer,
  1873.             /* [in] */ DWORD dwFlags);
  1874.         
  1875.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateAccelerator )( 
  1876.             IOleControlSite __RPC_FAR * This,
  1877.             /* [in] */ MSG __RPC_FAR *pMsg,
  1878.             /* [in] */ DWORD grfModifiers);
  1879.         
  1880.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnFocus )( 
  1881.             IOleControlSite __RPC_FAR * This,
  1882.             /* [in] */ BOOL fGotFocus);
  1883.         
  1884.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowPropertyFrame )( 
  1885.             IOleControlSite __RPC_FAR * This);
  1886.         
  1887.         END_INTERFACE
  1888.     } IOleControlSiteVtbl;
  1889.  
  1890.     interface IOleControlSite
  1891.     {
  1892.         CONST_VTBL struct IOleControlSiteVtbl __RPC_FAR *lpVtbl;
  1893.     };
  1894.  
  1895.     
  1896.  
  1897. #ifdef COBJMACROS
  1898.  
  1899.  
  1900. #define IOleControlSite_QueryInterface(This,riid,ppvObject)    \
  1901.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1902.  
  1903. #define IOleControlSite_AddRef(This)    \
  1904.     (This)->lpVtbl -> AddRef(This)
  1905.  
  1906. #define IOleControlSite_Release(This)    \
  1907.     (This)->lpVtbl -> Release(This)
  1908.  
  1909.  
  1910. #define IOleControlSite_OnControlInfoChanged(This)    \
  1911.     (This)->lpVtbl -> OnControlInfoChanged(This)
  1912.  
  1913. #define IOleControlSite_LockInPlaceActive(This,fLock)    \
  1914.     (This)->lpVtbl -> LockInPlaceActive(This,fLock)
  1915.  
  1916. #define IOleControlSite_GetExtendedControl(This,ppDisp)    \
  1917.     (This)->lpVtbl -> GetExtendedControl(This,ppDisp)
  1918.  
  1919. #define IOleControlSite_TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags)    \
  1920.     (This)->lpVtbl -> TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags)
  1921.  
  1922. #define IOleControlSite_TranslateAccelerator(This,pMsg,grfModifiers)    \
  1923.     (This)->lpVtbl -> TranslateAccelerator(This,pMsg,grfModifiers)
  1924.  
  1925. #define IOleControlSite_OnFocus(This,fGotFocus)    \
  1926.     (This)->lpVtbl -> OnFocus(This,fGotFocus)
  1927.  
  1928. #define IOleControlSite_ShowPropertyFrame(This)    \
  1929.     (This)->lpVtbl -> ShowPropertyFrame(This)
  1930.  
  1931. #endif /* COBJMACROS */
  1932.  
  1933.  
  1934. #endif     /* C style interface */
  1935.  
  1936.  
  1937.  
  1938. HRESULT STDMETHODCALLTYPE IOleControlSite_OnControlInfoChanged_Proxy( 
  1939.     IOleControlSite __RPC_FAR * This);
  1940.  
  1941.  
  1942. void __RPC_STUB IOleControlSite_OnControlInfoChanged_Stub(
  1943.     IRpcStubBuffer *This,
  1944.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1945.     PRPC_MESSAGE _pRpcMessage,
  1946.     DWORD *_pdwStubPhase);
  1947.  
  1948.  
  1949. HRESULT STDMETHODCALLTYPE IOleControlSite_LockInPlaceActive_Proxy( 
  1950.     IOleControlSite __RPC_FAR * This,
  1951.     /* [in] */ BOOL fLock);
  1952.  
  1953.  
  1954. void __RPC_STUB IOleControlSite_LockInPlaceActive_Stub(
  1955.     IRpcStubBuffer *This,
  1956.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1957.     PRPC_MESSAGE _pRpcMessage,
  1958.     DWORD *_pdwStubPhase);
  1959.  
  1960.  
  1961. HRESULT STDMETHODCALLTYPE IOleControlSite_GetExtendedControl_Proxy( 
  1962.     IOleControlSite __RPC_FAR * This,
  1963.     /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  1964.  
  1965.  
  1966. void __RPC_STUB IOleControlSite_GetExtendedControl_Stub(
  1967.     IRpcStubBuffer *This,
  1968.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1969.     PRPC_MESSAGE _pRpcMessage,
  1970.     DWORD *_pdwStubPhase);
  1971.  
  1972.  
  1973. HRESULT STDMETHODCALLTYPE IOleControlSite_TransformCoords_Proxy( 
  1974.     IOleControlSite __RPC_FAR * This,
  1975.     /* [out][in] */ POINTL __RPC_FAR *pPtlHimetric,
  1976.     /* [out][in] */ POINTF __RPC_FAR *pPtfContainer,
  1977.     /* [in] */ DWORD dwFlags);
  1978.  
  1979.  
  1980. void __RPC_STUB IOleControlSite_TransformCoords_Stub(
  1981.     IRpcStubBuffer *This,
  1982.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1983.     PRPC_MESSAGE _pRpcMessage,
  1984.     DWORD *_pdwStubPhase);
  1985.  
  1986.  
  1987. HRESULT STDMETHODCALLTYPE IOleControlSite_TranslateAccelerator_Proxy( 
  1988.     IOleControlSite __RPC_FAR * This,
  1989.     /* [in] */ MSG __RPC_FAR *pMsg,
  1990.     /* [in] */ DWORD grfModifiers);
  1991.  
  1992.  
  1993. void __RPC_STUB IOleControlSite_TranslateAccelerator_Stub(
  1994.     IRpcStubBuffer *This,
  1995.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1996.     PRPC_MESSAGE _pRpcMessage,
  1997.     DWORD *_pdwStubPhase);
  1998.  
  1999.  
  2000. HRESULT STDMETHODCALLTYPE IOleControlSite_OnFocus_Proxy( 
  2001.     IOleControlSite __RPC_FAR * This,
  2002.     /* [in] */ BOOL fGotFocus);
  2003.  
  2004.  
  2005. void __RPC_STUB IOleControlSite_OnFocus_Stub(
  2006.     IRpcStubBuffer *This,
  2007.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2008.     PRPC_MESSAGE _pRpcMessage,
  2009.     DWORD *_pdwStubPhase);
  2010.  
  2011.  
  2012. HRESULT STDMETHODCALLTYPE IOleControlSite_ShowPropertyFrame_Proxy( 
  2013.     IOleControlSite __RPC_FAR * This);
  2014.  
  2015.  
  2016. void __RPC_STUB IOleControlSite_ShowPropertyFrame_Stub(
  2017.     IRpcStubBuffer *This,
  2018.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2019.     PRPC_MESSAGE _pRpcMessage,
  2020.     DWORD *_pdwStubPhase);
  2021.  
  2022.  
  2023.  
  2024. #endif     /* __IOleControlSite_INTERFACE_DEFINED__ */
  2025.  
  2026.  
  2027. #ifndef __IPropertyPage_INTERFACE_DEFINED__
  2028. #define __IPropertyPage_INTERFACE_DEFINED__
  2029.  
  2030. /****************************************
  2031.  * Generated header for interface: IPropertyPage
  2032.  * at Thu Sep 11 10:57:01 1997
  2033.  * using MIDL 3.03.0110
  2034.  ****************************************/
  2035. /* [unique][uuid][object] */ 
  2036.  
  2037.  
  2038. typedef IPropertyPage __RPC_FAR *LPPROPERTYPAGE;
  2039.  
  2040. typedef struct  tagPROPPAGEINFO
  2041.     {
  2042.     ULONG cb;
  2043.     LPOLESTR pszTitle;
  2044.     SIZE size;
  2045.     LPOLESTR pszDocString;
  2046.     LPOLESTR pszHelpFile;
  2047.     DWORD dwHelpContext;
  2048.     }    PROPPAGEINFO;
  2049.  
  2050. typedef struct tagPROPPAGEINFO __RPC_FAR *LPPROPPAGEINFO;
  2051.  
  2052.  
  2053. EXTERN_C const IID IID_IPropertyPage;
  2054.  
  2055. #if defined(__cplusplus) && !defined(CINTERFACE)
  2056.     
  2057.     MIDL_INTERFACE("B196B28D-BAB4-101A-B69C-00AA00341D07")
  2058.     IPropertyPage : public IUnknown
  2059.     {
  2060.     public:
  2061.         virtual HRESULT STDMETHODCALLTYPE SetPageSite( 
  2062.             /* [in] */ IPropertyPageSite __RPC_FAR *pPageSite) = 0;
  2063.         
  2064.         virtual HRESULT STDMETHODCALLTYPE Activate( 
  2065.             /* [in] */ HWND hWndParent,
  2066.             /* [in] */ LPCRECT pRect,
  2067.             /* [in] */ BOOL bModal) = 0;
  2068.         
  2069.         virtual HRESULT STDMETHODCALLTYPE Deactivate( void) = 0;
  2070.         
  2071.         virtual HRESULT STDMETHODCALLTYPE GetPageInfo( 
  2072.             /* [out] */ PROPPAGEINFO __RPC_FAR *pPageInfo) = 0;
  2073.         
  2074.         virtual HRESULT STDMETHODCALLTYPE SetObjects( 
  2075.             /* [in] */ ULONG cObjects,
  2076.             /* [size_is][in] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk) = 0;
  2077.         
  2078.         virtual HRESULT STDMETHODCALLTYPE Show( 
  2079.             /* [in] */ UINT nCmdShow) = 0;
  2080.         
  2081.         virtual HRESULT STDMETHODCALLTYPE Move( 
  2082.             /* [in] */ LPCRECT pRect) = 0;
  2083.         
  2084.         virtual HRESULT STDMETHODCALLTYPE IsPageDirty( void) = 0;
  2085.         
  2086.         virtual HRESULT STDMETHODCALLTYPE Apply( void) = 0;
  2087.         
  2088.         virtual HRESULT STDMETHODCALLTYPE Help( 
  2089.             /* [in] */ LPCOLESTR pszHelpDir) = 0;
  2090.         
  2091.         virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( 
  2092.             /* [in] */ MSG __RPC_FAR *pMsg) = 0;
  2093.         
  2094.     };
  2095.     
  2096. #else     /* C style interface */
  2097.  
  2098.     typedef struct IPropertyPageVtbl
  2099.     {
  2100.         BEGIN_INTERFACE
  2101.         
  2102.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2103.             IPropertyPage __RPC_FAR * This,
  2104.             /* [in] */ REFIID riid,
  2105.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2106.         
  2107.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2108.             IPropertyPage __RPC_FAR * This);
  2109.         
  2110.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2111.             IPropertyPage __RPC_FAR * This);
  2112.         
  2113.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPageSite )( 
  2114.             IPropertyPage __RPC_FAR * This,
  2115.             /* [in] */ IPropertyPageSite __RPC_FAR *pPageSite);
  2116.         
  2117.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Activate )( 
  2118.             IPropertyPage __RPC_FAR * This,
  2119.             /* [in] */ HWND hWndParent,
  2120.             /* [in] */ LPCRECT pRect,
  2121.             /* [in] */ BOOL bModal);
  2122.         
  2123.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Deactivate )( 
  2124.             IPropertyPage __RPC_FAR * This);
  2125.         
  2126.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPageInfo )( 
  2127.             IPropertyPage __RPC_FAR * This,
  2128.             /* [out] */ PROPPAGEINFO __RPC_FAR *pPageInfo);
  2129.         
  2130.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetObjects )( 
  2131.             IPropertyPage __RPC_FAR * This,
  2132.             /* [in] */ ULONG cObjects,
  2133.             /* [size_is][in] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk);
  2134.         
  2135.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )( 
  2136.             IPropertyPage __RPC_FAR * This,
  2137.             /* [in] */ UINT nCmdShow);
  2138.         
  2139.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )( 
  2140.             IPropertyPage __RPC_FAR * This,
  2141.             /* [in] */ LPCRECT pRect);
  2142.         
  2143.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsPageDirty )( 
  2144.             IPropertyPage __RPC_FAR * This);
  2145.         
  2146.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Apply )( 
  2147.             IPropertyPage __RPC_FAR * This);
  2148.         
  2149.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Help )( 
  2150.             IPropertyPage __RPC_FAR * This,
  2151.             /* [in] */ LPCOLESTR pszHelpDir);
  2152.         
  2153.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateAccelerator )( 
  2154.             IPropertyPage __RPC_FAR * This,
  2155.             /* [in] */ MSG __RPC_FAR *pMsg);
  2156.         
  2157.         END_INTERFACE
  2158.     } IPropertyPageVtbl;
  2159.  
  2160.     interface IPropertyPage
  2161.     {
  2162.         CONST_VTBL struct IPropertyPageVtbl __RPC_FAR *lpVtbl;
  2163.     };
  2164.  
  2165.     
  2166.  
  2167. #ifdef COBJMACROS
  2168.  
  2169.  
  2170. #define IPropertyPage_QueryInterface(This,riid,ppvObject)    \
  2171.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2172.  
  2173. #define IPropertyPage_AddRef(This)    \
  2174.     (This)->lpVtbl -> AddRef(This)
  2175.  
  2176. #define IPropertyPage_Release(This)    \
  2177.     (This)->lpVtbl -> Release(This)
  2178.  
  2179.  
  2180. #define IPropertyPage_SetPageSite(This,pPageSite)    \
  2181.     (This)->lpVtbl -> SetPageSite(This,pPageSite)
  2182.  
  2183. #define IPropertyPage_Activate(This,hWndParent,pRect,bModal)    \
  2184.     (This)->lpVtbl -> Activate(This,hWndParent,pRect,bModal)
  2185.  
  2186. #define IPropertyPage_Deactivate(This)    \
  2187.     (This)->lpVtbl -> Deactivate(This)
  2188.  
  2189. #define IPropertyPage_GetPageInfo(This,pPageInfo)    \
  2190.     (This)->lpVtbl -> GetPageInfo(This,pPageInfo)
  2191.  
  2192. #define IPropertyPage_SetObjects(This,cObjects,ppUnk)    \
  2193.     (This)->lpVtbl -> SetObjects(This,cObjects,ppUnk)
  2194.  
  2195. #define IPropertyPage_Show(This,nCmdShow)    \
  2196.     (This)->lpVtbl -> Show(This,nCmdShow)
  2197.  
  2198. #define IPropertyPage_Move(This,pRect)    \
  2199.     (This)->lpVtbl -> Move(This,pRect)
  2200.  
  2201. #define IPropertyPage_IsPageDirty(This)    \
  2202.     (This)->lpVtbl -> IsPageDirty(This)
  2203.  
  2204. #define IPropertyPage_Apply(This)    \
  2205.     (This)->lpVtbl -> Apply(This)
  2206.  
  2207. #define IPropertyPage_Help(This,pszHelpDir)    \
  2208.     (This)->lpVtbl -> Help(This,pszHelpDir)
  2209.  
  2210. #define IPropertyPage_TranslateAccelerator(This,pMsg)    \
  2211.     (This)->lpVtbl -> TranslateAccelerator(This,pMsg)
  2212.  
  2213. #endif /* COBJMACROS */
  2214.  
  2215.  
  2216. #endif     /* C style interface */
  2217.  
  2218.  
  2219.  
  2220. HRESULT STDMETHODCALLTYPE IPropertyPage_SetPageSite_Proxy( 
  2221.     IPropertyPage __RPC_FAR * This,
  2222.     /* [in] */ IPropertyPageSite __RPC_FAR *pPageSite);
  2223.  
  2224.  
  2225. void __RPC_STUB IPropertyPage_SetPageSite_Stub(
  2226.     IRpcStubBuffer *This,
  2227.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2228.     PRPC_MESSAGE _pRpcMessage,
  2229.     DWORD *_pdwStubPhase);
  2230.  
  2231.  
  2232. HRESULT STDMETHODCALLTYPE IPropertyPage_Activate_Proxy( 
  2233.     IPropertyPage __RPC_FAR * This,
  2234.     /* [in] */ HWND hWndParent,
  2235.     /* [in] */ LPCRECT pRect,
  2236.     /* [in] */ BOOL bModal);
  2237.  
  2238.  
  2239. void __RPC_STUB IPropertyPage_Activate_Stub(
  2240.     IRpcStubBuffer *This,
  2241.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2242.     PRPC_MESSAGE _pRpcMessage,
  2243.     DWORD *_pdwStubPhase);
  2244.  
  2245.  
  2246. HRESULT STDMETHODCALLTYPE IPropertyPage_Deactivate_Proxy( 
  2247.     IPropertyPage __RPC_FAR * This);
  2248.  
  2249.  
  2250. void __RPC_STUB IPropertyPage_Deactivate_Stub(
  2251.     IRpcStubBuffer *This,
  2252.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2253.     PRPC_MESSAGE _pRpcMessage,
  2254.     DWORD *_pdwStubPhase);
  2255.  
  2256.  
  2257. HRESULT STDMETHODCALLTYPE IPropertyPage_GetPageInfo_Proxy( 
  2258.     IPropertyPage __RPC_FAR * This,
  2259.     /* [out] */ PROPPAGEINFO __RPC_FAR *pPageInfo);
  2260.  
  2261.  
  2262. void __RPC_STUB IPropertyPage_GetPageInfo_Stub(
  2263.     IRpcStubBuffer *This,
  2264.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2265.     PRPC_MESSAGE _pRpcMessage,
  2266.     DWORD *_pdwStubPhase);
  2267.  
  2268.  
  2269. HRESULT STDMETHODCALLTYPE IPropertyPage_SetObjects_Proxy( 
  2270.     IPropertyPage __RPC_FAR * This,
  2271.     /* [in] */ ULONG cObjects,
  2272.     /* [size_is][in] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk);
  2273.  
  2274.  
  2275. void __RPC_STUB IPropertyPage_SetObjects_Stub(
  2276.     IRpcStubBuffer *This,
  2277.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2278.     PRPC_MESSAGE _pRpcMessage,
  2279.     DWORD *_pdwStubPhase);
  2280.  
  2281.  
  2282. HRESULT STDMETHODCALLTYPE IPropertyPage_Show_Proxy( 
  2283.     IPropertyPage __RPC_FAR * This,
  2284.     /* [in] */ UINT nCmdShow);
  2285.  
  2286.  
  2287. void __RPC_STUB IPropertyPage_Show_Stub(
  2288.     IRpcStubBuffer *This,
  2289.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2290.     PRPC_MESSAGE _pRpcMessage,
  2291.     DWORD *_pdwStubPhase);
  2292.  
  2293.  
  2294. HRESULT STDMETHODCALLTYPE IPropertyPage_Move_Proxy( 
  2295.     IPropertyPage __RPC_FAR * This,
  2296.     /* [in] */ LPCRECT pRect);
  2297.  
  2298.  
  2299. void __RPC_STUB IPropertyPage_Move_Stub(
  2300.     IRpcStubBuffer *This,
  2301.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2302.     PRPC_MESSAGE _pRpcMessage,
  2303.     DWORD *_pdwStubPhase);
  2304.  
  2305.  
  2306. HRESULT STDMETHODCALLTYPE IPropertyPage_IsPageDirty_Proxy( 
  2307.     IPropertyPage __RPC_FAR * This);
  2308.  
  2309.  
  2310. void __RPC_STUB IPropertyPage_IsPageDirty_Stub(
  2311.     IRpcStubBuffer *This,
  2312.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2313.     PRPC_MESSAGE _pRpcMessage,
  2314.     DWORD *_pdwStubPhase);
  2315.  
  2316.  
  2317. HRESULT STDMETHODCALLTYPE IPropertyPage_Apply_Proxy( 
  2318.     IPropertyPage __RPC_FAR * This);
  2319.  
  2320.  
  2321. void __RPC_STUB IPropertyPage_Apply_Stub(
  2322.     IRpcStubBuffer *This,
  2323.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2324.     PRPC_MESSAGE _pRpcMessage,
  2325.     DWORD *_pdwStubPhase);
  2326.  
  2327.  
  2328. HRESULT STDMETHODCALLTYPE IPropertyPage_Help_Proxy( 
  2329.     IPropertyPage __RPC_FAR * This,
  2330.     /* [in] */ LPCOLESTR pszHelpDir);
  2331.  
  2332.  
  2333. void __RPC_STUB IPropertyPage_Help_Stub(
  2334.     IRpcStubBuffer *This,
  2335.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2336.     PRPC_MESSAGE _pRpcMessage,
  2337.     DWORD *_pdwStubPhase);
  2338.  
  2339.  
  2340. HRESULT STDMETHODCALLTYPE IPropertyPage_TranslateAccelerator_Proxy( 
  2341.     IPropertyPage __RPC_FAR * This,
  2342.     /* [in] */ MSG __RPC_FAR *pMsg);
  2343.  
  2344.  
  2345. void __RPC_STUB IPropertyPage_TranslateAccelerator_Stub(
  2346.     IRpcStubBuffer *This,
  2347.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2348.     PRPC_MESSAGE _pRpcMessage,
  2349.     DWORD *_pdwStubPhase);
  2350.  
  2351.  
  2352.  
  2353. #endif     /* __IPropertyPage_INTERFACE_DEFINED__ */
  2354.  
  2355.  
  2356. #ifndef __IPropertyPage2_INTERFACE_DEFINED__
  2357. #define __IPropertyPage2_INTERFACE_DEFINED__
  2358.  
  2359. /****************************************
  2360.  * Generated header for interface: IPropertyPage2
  2361.  * at Thu Sep 11 10:57:01 1997
  2362.  * using MIDL 3.03.0110
  2363.  ****************************************/
  2364. /* [unique][uuid][object] */ 
  2365.  
  2366.  
  2367. typedef IPropertyPage2 __RPC_FAR *LPPROPERTYPAGE2;
  2368.  
  2369.  
  2370. EXTERN_C const IID IID_IPropertyPage2;
  2371.  
  2372. #if defined(__cplusplus) && !defined(CINTERFACE)
  2373.     
  2374.     MIDL_INTERFACE("01E44665-24AC-101B-84ED-08002B2EC713")
  2375.     IPropertyPage2 : public IPropertyPage
  2376.     {
  2377.     public:
  2378.         virtual HRESULT STDMETHODCALLTYPE EditProperty( 
  2379.             /* [in] */ DISPID dispID) = 0;
  2380.         
  2381.     };
  2382.     
  2383. #else     /* C style interface */
  2384.  
  2385.     typedef struct IPropertyPage2Vtbl
  2386.     {
  2387.         BEGIN_INTERFACE
  2388.         
  2389.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2390.             IPropertyPage2 __RPC_FAR * This,
  2391.             /* [in] */ REFIID riid,
  2392.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2393.         
  2394.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2395.             IPropertyPage2 __RPC_FAR * This);
  2396.         
  2397.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2398.             IPropertyPage2 __RPC_FAR * This);
  2399.         
  2400.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPageSite )( 
  2401.             IPropertyPage2 __RPC_FAR * This,
  2402.             /* [in] */ IPropertyPageSite __RPC_FAR *pPageSite);
  2403.         
  2404.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Activate )( 
  2405.             IPropertyPage2 __RPC_FAR * This,
  2406.             /* [in] */ HWND hWndParent,
  2407.             /* [in] */ LPCRECT pRect,
  2408.             /* [in] */ BOOL bModal);
  2409.         
  2410.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Deactivate )( 
  2411.             IPropertyPage2 __RPC_FAR * This);
  2412.         
  2413.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPageInfo )( 
  2414.             IPropertyPage2 __RPC_FAR * This,
  2415.             /* [out] */ PROPPAGEINFO __RPC_FAR *pPageInfo);
  2416.         
  2417.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetObjects )( 
  2418.             IPropertyPage2 __RPC_FAR * This,
  2419.             /* [in] */ ULONG cObjects,
  2420.             /* [size_is][in] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk);
  2421.         
  2422.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )( 
  2423.             IPropertyPage2 __RPC_FAR * This,
  2424.             /* [in] */ UINT nCmdShow);
  2425.         
  2426.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )( 
  2427.             IPropertyPage2 __RPC_FAR * This,
  2428.             /* [in] */ LPCRECT pRect);
  2429.         
  2430.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsPageDirty )( 
  2431.             IPropertyPage2 __RPC_FAR * This);
  2432.         
  2433.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Apply )( 
  2434.             IPropertyPage2 __RPC_FAR * This);
  2435.         
  2436.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Help )( 
  2437.             IPropertyPage2 __RPC_FAR * This,
  2438.             /* [in] */ LPCOLESTR pszHelpDir);
  2439.         
  2440.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateAccelerator )( 
  2441.             IPropertyPage2 __RPC_FAR * This,
  2442.             /* [in] */ MSG __RPC_FAR *pMsg);
  2443.         
  2444.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EditProperty )( 
  2445.             IPropertyPage2 __RPC_FAR * This,
  2446.             /* [in] */ DISPID dispID);
  2447.         
  2448.         END_INTERFACE
  2449.     } IPropertyPage2Vtbl;
  2450.  
  2451.     interface IPropertyPage2
  2452.     {
  2453.         CONST_VTBL struct IPropertyPage2Vtbl __RPC_FAR *lpVtbl;
  2454.     };
  2455.  
  2456.     
  2457.  
  2458. #ifdef COBJMACROS
  2459.  
  2460.  
  2461. #define IPropertyPage2_QueryInterface(This,riid,ppvObject)    \
  2462.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2463.  
  2464. #define IPropertyPage2_AddRef(This)    \
  2465.     (This)->lpVtbl -> AddRef(This)
  2466.  
  2467. #define IPropertyPage2_Release(This)    \
  2468.     (This)->lpVtbl -> Release(This)
  2469.  
  2470.  
  2471. #define IPropertyPage2_SetPageSite(This,pPageSite)    \
  2472.     (This)->lpVtbl -> SetPageSite(This,pPageSite)
  2473.  
  2474. #define IPropertyPage2_Activate(This,hWndParent,pRect,bModal)    \
  2475.     (This)->lpVtbl -> Activate(This,hWndParent,pRect,bModal)
  2476.  
  2477. #define IPropertyPage2_Deactivate(This)    \
  2478.     (This)->lpVtbl -> Deactivate(This)
  2479.  
  2480. #define IPropertyPage2_GetPageInfo(This,pPageInfo)    \
  2481.     (This)->lpVtbl -> GetPageInfo(This,pPageInfo)
  2482.  
  2483. #define IPropertyPage2_SetObjects(This,cObjects,ppUnk)    \
  2484.     (This)->lpVtbl -> SetObjects(This,cObjects,ppUnk)
  2485.  
  2486. #define IPropertyPage2_Show(This,nCmdShow)    \
  2487.     (This)->lpVtbl -> Show(This,nCmdShow)
  2488.  
  2489. #define IPropertyPage2_Move(This,pRect)    \
  2490.     (This)->lpVtbl -> Move(This,pRect)
  2491.  
  2492. #define IPropertyPage2_IsPageDirty(This)    \
  2493.     (This)->lpVtbl -> IsPageDirty(This)
  2494.  
  2495. #define IPropertyPage2_Apply(This)    \
  2496.     (This)->lpVtbl -> Apply(This)
  2497.  
  2498. #define IPropertyPage2_Help(This,pszHelpDir)    \
  2499.     (This)->lpVtbl -> Help(This,pszHelpDir)
  2500.  
  2501. #define IPropertyPage2_TranslateAccelerator(This,pMsg)    \
  2502.     (This)->lpVtbl -> TranslateAccelerator(This,pMsg)
  2503.  
  2504.  
  2505. #define IPropertyPage2_EditProperty(This,dispID)    \
  2506.     (This)->lpVtbl -> EditProperty(This,dispID)
  2507.  
  2508. #endif /* COBJMACROS */
  2509.  
  2510.  
  2511. #endif     /* C style interface */
  2512.  
  2513.  
  2514.  
  2515. HRESULT STDMETHODCALLTYPE IPropertyPage2_EditProperty_Proxy( 
  2516.     IPropertyPage2 __RPC_FAR * This,
  2517.     /* [in] */ DISPID dispID);
  2518.  
  2519.  
  2520. void __RPC_STUB IPropertyPage2_EditProperty_Stub(
  2521.     IRpcStubBuffer *This,
  2522.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2523.     PRPC_MESSAGE _pRpcMessage,
  2524.     DWORD *_pdwStubPhase);
  2525.  
  2526.  
  2527.  
  2528. #endif     /* __IPropertyPage2_INTERFACE_DEFINED__ */
  2529.  
  2530.  
  2531. #ifndef __IPropertyPageSite_INTERFACE_DEFINED__
  2532. #define __IPropertyPageSite_INTERFACE_DEFINED__
  2533.  
  2534. /****************************************
  2535.  * Generated header for interface: IPropertyPageSite
  2536.  * at Thu Sep 11 10:57:01 1997
  2537.  * using MIDL 3.03.0110
  2538.  ****************************************/
  2539. /* [unique][uuid][object] */ 
  2540.  
  2541.  
  2542. typedef IPropertyPageSite __RPC_FAR *LPPROPERTYPAGESITE;
  2543.  
  2544. typedef 
  2545. enum tagPROPPAGESTATUS
  2546.     {    PROPPAGESTATUS_DIRTY    = 0x1,
  2547.     PROPPAGESTATUS_VALIDATE    = 0x2,
  2548.     PROPPAGESTATUS_CLEAN    = 0x4
  2549.     }    PROPPAGESTATUS;
  2550.  
  2551.  
  2552. EXTERN_C const IID IID_IPropertyPageSite;
  2553.  
  2554. #if defined(__cplusplus) && !defined(CINTERFACE)
  2555.     
  2556.     MIDL_INTERFACE("B196B28C-BAB4-101A-B69C-00AA00341D07")
  2557.     IPropertyPageSite : public IUnknown
  2558.     {
  2559.     public:
  2560.         virtual HRESULT STDMETHODCALLTYPE OnStatusChange( 
  2561.             /* [in] */ DWORD dwFlags) = 0;
  2562.         
  2563.         virtual HRESULT STDMETHODCALLTYPE GetLocaleID( 
  2564.             /* [out] */ LCID __RPC_FAR *pLocaleID) = 0;
  2565.         
  2566.         virtual HRESULT STDMETHODCALLTYPE GetPageContainer( 
  2567.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk) = 0;
  2568.         
  2569.         virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator( 
  2570.             /* [in] */ MSG __RPC_FAR *pMsg) = 0;
  2571.         
  2572.     };
  2573.     
  2574. #else     /* C style interface */
  2575.  
  2576.     typedef struct IPropertyPageSiteVtbl
  2577.     {
  2578.         BEGIN_INTERFACE
  2579.         
  2580.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2581.             IPropertyPageSite __RPC_FAR * This,
  2582.             /* [in] */ REFIID riid,
  2583.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2584.         
  2585.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2586.             IPropertyPageSite __RPC_FAR * This);
  2587.         
  2588.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2589.             IPropertyPageSite __RPC_FAR * This);
  2590.         
  2591.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnStatusChange )( 
  2592.             IPropertyPageSite __RPC_FAR * This,
  2593.             /* [in] */ DWORD dwFlags);
  2594.         
  2595.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLocaleID )( 
  2596.             IPropertyPageSite __RPC_FAR * This,
  2597.             /* [out] */ LCID __RPC_FAR *pLocaleID);
  2598.         
  2599.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPageContainer )( 
  2600.             IPropertyPageSite __RPC_FAR * This,
  2601.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk);
  2602.         
  2603.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateAccelerator )( 
  2604.             IPropertyPageSite __RPC_FAR * This,
  2605.             /* [in] */ MSG __RPC_FAR *pMsg);
  2606.         
  2607.         END_INTERFACE
  2608.     } IPropertyPageSiteVtbl;
  2609.  
  2610.     interface IPropertyPageSite
  2611.     {
  2612.         CONST_VTBL struct IPropertyPageSiteVtbl __RPC_FAR *lpVtbl;
  2613.     };
  2614.  
  2615.     
  2616.  
  2617. #ifdef COBJMACROS
  2618.  
  2619.  
  2620. #define IPropertyPageSite_QueryInterface(This,riid,ppvObject)    \
  2621.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2622.  
  2623. #define IPropertyPageSite_AddRef(This)    \
  2624.     (This)->lpVtbl -> AddRef(This)
  2625.  
  2626. #define IPropertyPageSite_Release(This)    \
  2627.     (This)->lpVtbl -> Release(This)
  2628.  
  2629.  
  2630. #define IPropertyPageSite_OnStatusChange(This,dwFlags)    \
  2631.     (This)->lpVtbl -> OnStatusChange(This,dwFlags)
  2632.  
  2633. #define IPropertyPageSite_GetLocaleID(This,pLocaleID)    \
  2634.     (This)->lpVtbl -> GetLocaleID(This,pLocaleID)
  2635.  
  2636. #define IPropertyPageSite_GetPageContainer(This,ppUnk)    \
  2637.     (This)->lpVtbl -> GetPageContainer(This,ppUnk)
  2638.  
  2639. #define IPropertyPageSite_TranslateAccelerator(This,pMsg)    \
  2640.     (This)->lpVtbl -> TranslateAccelerator(This,pMsg)
  2641.  
  2642. #endif /* COBJMACROS */
  2643.  
  2644.  
  2645. #endif     /* C style interface */
  2646.  
  2647.  
  2648.  
  2649. HRESULT STDMETHODCALLTYPE IPropertyPageSite_OnStatusChange_Proxy( 
  2650.     IPropertyPageSite __RPC_FAR * This,
  2651.     /* [in] */ DWORD dwFlags);
  2652.  
  2653.  
  2654. void __RPC_STUB IPropertyPageSite_OnStatusChange_Stub(
  2655.     IRpcStubBuffer *This,
  2656.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2657.     PRPC_MESSAGE _pRpcMessage,
  2658.     DWORD *_pdwStubPhase);
  2659.  
  2660.  
  2661. HRESULT STDMETHODCALLTYPE IPropertyPageSite_GetLocaleID_Proxy( 
  2662.     IPropertyPageSite __RPC_FAR * This,
  2663.     /* [out] */ LCID __RPC_FAR *pLocaleID);
  2664.  
  2665.  
  2666. void __RPC_STUB IPropertyPageSite_GetLocaleID_Stub(
  2667.     IRpcStubBuffer *This,
  2668.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2669.     PRPC_MESSAGE _pRpcMessage,
  2670.     DWORD *_pdwStubPhase);
  2671.  
  2672.  
  2673. HRESULT STDMETHODCALLTYPE IPropertyPageSite_GetPageContainer_Proxy( 
  2674.     IPropertyPageSite __RPC_FAR * This,
  2675.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk);
  2676.  
  2677.  
  2678. void __RPC_STUB IPropertyPageSite_GetPageContainer_Stub(
  2679.     IRpcStubBuffer *This,
  2680.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2681.     PRPC_MESSAGE _pRpcMessage,
  2682.     DWORD *_pdwStubPhase);
  2683.  
  2684.  
  2685. HRESULT STDMETHODCALLTYPE IPropertyPageSite_TranslateAccelerator_Proxy( 
  2686.     IPropertyPageSite __RPC_FAR * This,
  2687.     /* [in] */ MSG __RPC_FAR *pMsg);
  2688.  
  2689.  
  2690. void __RPC_STUB IPropertyPageSite_TranslateAccelerator_Stub(
  2691.     IRpcStubBuffer *This,
  2692.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2693.     PRPC_MESSAGE _pRpcMessage,
  2694.     DWORD *_pdwStubPhase);
  2695.  
  2696.  
  2697.  
  2698. #endif     /* __IPropertyPageSite_INTERFACE_DEFINED__ */
  2699.  
  2700.  
  2701. #ifndef __IPropertyNotifySink_INTERFACE_DEFINED__
  2702. #define __IPropertyNotifySink_INTERFACE_DEFINED__
  2703.  
  2704. /****************************************
  2705.  * Generated header for interface: IPropertyNotifySink
  2706.  * at Thu Sep 11 10:57:01 1997
  2707.  * using MIDL 3.03.0110
  2708.  ****************************************/
  2709. /* [unique][uuid][object] */ 
  2710.  
  2711.  
  2712. typedef IPropertyNotifySink __RPC_FAR *LPPROPERTYNOTIFYSINK;
  2713.  
  2714.  
  2715. EXTERN_C const IID IID_IPropertyNotifySink;
  2716.  
  2717. #if defined(__cplusplus) && !defined(CINTERFACE)
  2718.     
  2719.     MIDL_INTERFACE("9BFBBC02-EFF1-101A-84ED-00AA00341D07")
  2720.     IPropertyNotifySink : public IUnknown
  2721.     {
  2722.     public:
  2723.         virtual HRESULT STDMETHODCALLTYPE OnChanged( 
  2724.             /* [in] */ DISPID dispID) = 0;
  2725.         
  2726.         virtual HRESULT STDMETHODCALLTYPE OnRequestEdit( 
  2727.             /* [in] */ DISPID dispID) = 0;
  2728.         
  2729.     };
  2730.     
  2731. #else     /* C style interface */
  2732.  
  2733.     typedef struct IPropertyNotifySinkVtbl
  2734.     {
  2735.         BEGIN_INTERFACE
  2736.         
  2737.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2738.             IPropertyNotifySink __RPC_FAR * This,
  2739.             /* [in] */ REFIID riid,
  2740.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2741.         
  2742.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2743.             IPropertyNotifySink __RPC_FAR * This);
  2744.         
  2745.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2746.             IPropertyNotifySink __RPC_FAR * This);
  2747.         
  2748.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnChanged )( 
  2749.             IPropertyNotifySink __RPC_FAR * This,
  2750.             /* [in] */ DISPID dispID);
  2751.         
  2752.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnRequestEdit )( 
  2753.             IPropertyNotifySink __RPC_FAR * This,
  2754.             /* [in] */ DISPID dispID);
  2755.         
  2756.         END_INTERFACE
  2757.     } IPropertyNotifySinkVtbl;
  2758.  
  2759.     interface IPropertyNotifySink
  2760.     {
  2761.         CONST_VTBL struct IPropertyNotifySinkVtbl __RPC_FAR *lpVtbl;
  2762.     };
  2763.  
  2764.     
  2765.  
  2766. #ifdef COBJMACROS
  2767.  
  2768.  
  2769. #define IPropertyNotifySink_QueryInterface(This,riid,ppvObject)    \
  2770.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2771.  
  2772. #define IPropertyNotifySink_AddRef(This)    \
  2773.     (This)->lpVtbl -> AddRef(This)
  2774.  
  2775. #define IPropertyNotifySink_Release(This)    \
  2776.     (This)->lpVtbl -> Release(This)
  2777.  
  2778.  
  2779. #define IPropertyNotifySink_OnChanged(This,dispID)    \
  2780.     (This)->lpVtbl -> OnChanged(This,dispID)
  2781.  
  2782. #define IPropertyNotifySink_OnRequestEdit(This,dispID)    \
  2783.     (This)->lpVtbl -> OnRequestEdit(This,dispID)
  2784.  
  2785. #endif /* COBJMACROS */
  2786.  
  2787.  
  2788. #endif     /* C style interface */
  2789.  
  2790.  
  2791.  
  2792. HRESULT STDMETHODCALLTYPE IPropertyNotifySink_OnChanged_Proxy( 
  2793.     IPropertyNotifySink __RPC_FAR * This,
  2794.     /* [in] */ DISPID dispID);
  2795.  
  2796.  
  2797. void __RPC_STUB IPropertyNotifySink_OnChanged_Stub(
  2798.     IRpcStubBuffer *This,
  2799.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2800.     PRPC_MESSAGE _pRpcMessage,
  2801.     DWORD *_pdwStubPhase);
  2802.  
  2803.  
  2804. HRESULT STDMETHODCALLTYPE IPropertyNotifySink_OnRequestEdit_Proxy( 
  2805.     IPropertyNotifySink __RPC_FAR * This,
  2806.     /* [in] */ DISPID dispID);
  2807.  
  2808.  
  2809. void __RPC_STUB IPropertyNotifySink_OnRequestEdit_Stub(
  2810.     IRpcStubBuffer *This,
  2811.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2812.     PRPC_MESSAGE _pRpcMessage,
  2813.     DWORD *_pdwStubPhase);
  2814.  
  2815.  
  2816.  
  2817. #endif     /* __IPropertyNotifySink_INTERFACE_DEFINED__ */
  2818.  
  2819.  
  2820. #ifndef __ISpecifyPropertyPages_INTERFACE_DEFINED__
  2821. #define __ISpecifyPropertyPages_INTERFACE_DEFINED__
  2822.  
  2823. /****************************************
  2824.  * Generated header for interface: ISpecifyPropertyPages
  2825.  * at Thu Sep 11 10:57:01 1997
  2826.  * using MIDL 3.03.0110
  2827.  ****************************************/
  2828. /* [unique][uuid][object] */ 
  2829.  
  2830.  
  2831. typedef ISpecifyPropertyPages __RPC_FAR *LPSPECIFYPROPERTYPAGES;
  2832.  
  2833. typedef struct  tagCAUUID
  2834.     {
  2835.     ULONG cElems;
  2836.     /* [size_is] */ GUID __RPC_FAR *pElems;
  2837.     }    CAUUID;
  2838.  
  2839. typedef struct tagCAUUID __RPC_FAR *LPCAUUID;
  2840.  
  2841.  
  2842. EXTERN_C const IID IID_ISpecifyPropertyPages;
  2843.  
  2844. #if defined(__cplusplus) && !defined(CINTERFACE)
  2845.     
  2846.     MIDL_INTERFACE("B196B28B-BAB4-101A-B69C-00AA00341D07")
  2847.     ISpecifyPropertyPages : public IUnknown
  2848.     {
  2849.     public:
  2850.         virtual HRESULT STDMETHODCALLTYPE GetPages( 
  2851.             /* [out] */ CAUUID __RPC_FAR *pPages) = 0;
  2852.         
  2853.     };
  2854.     
  2855. #else     /* C style interface */
  2856.  
  2857.     typedef struct ISpecifyPropertyPagesVtbl
  2858.     {
  2859.         BEGIN_INTERFACE
  2860.         
  2861.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2862.             ISpecifyPropertyPages __RPC_FAR * This,
  2863.             /* [in] */ REFIID riid,
  2864.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2865.         
  2866.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2867.             ISpecifyPropertyPages __RPC_FAR * This);
  2868.         
  2869.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2870.             ISpecifyPropertyPages __RPC_FAR * This);
  2871.         
  2872.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPages )( 
  2873.             ISpecifyPropertyPages __RPC_FAR * This,
  2874.             /* [out] */ CAUUID __RPC_FAR *pPages);
  2875.         
  2876.         END_INTERFACE
  2877.     } ISpecifyPropertyPagesVtbl;
  2878.  
  2879.     interface ISpecifyPropertyPages
  2880.     {
  2881.         CONST_VTBL struct ISpecifyPropertyPagesVtbl __RPC_FAR *lpVtbl;
  2882.     };
  2883.  
  2884.     
  2885.  
  2886. #ifdef COBJMACROS
  2887.  
  2888.  
  2889. #define ISpecifyPropertyPages_QueryInterface(This,riid,ppvObject)    \
  2890.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2891.  
  2892. #define ISpecifyPropertyPages_AddRef(This)    \
  2893.     (This)->lpVtbl -> AddRef(This)
  2894.  
  2895. #define ISpecifyPropertyPages_Release(This)    \
  2896.     (This)->lpVtbl -> Release(This)
  2897.  
  2898.  
  2899. #define ISpecifyPropertyPages_GetPages(This,pPages)    \
  2900.     (This)->lpVtbl -> GetPages(This,pPages)
  2901.  
  2902. #endif /* COBJMACROS */
  2903.  
  2904.  
  2905. #endif     /* C style interface */
  2906.  
  2907.  
  2908.  
  2909. HRESULT STDMETHODCALLTYPE ISpecifyPropertyPages_GetPages_Proxy( 
  2910.     ISpecifyPropertyPages __RPC_FAR * This,
  2911.     /* [out] */ CAUUID __RPC_FAR *pPages);
  2912.  
  2913.  
  2914. void __RPC_STUB ISpecifyPropertyPages_GetPages_Stub(
  2915.     IRpcStubBuffer *This,
  2916.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2917.     PRPC_MESSAGE _pRpcMessage,
  2918.     DWORD *_pdwStubPhase);
  2919.  
  2920.  
  2921.  
  2922. #endif     /* __ISpecifyPropertyPages_INTERFACE_DEFINED__ */
  2923.  
  2924.  
  2925. #ifndef __IPersistMemory_INTERFACE_DEFINED__
  2926. #define __IPersistMemory_INTERFACE_DEFINED__
  2927.  
  2928. /****************************************
  2929.  * Generated header for interface: IPersistMemory
  2930.  * at Thu Sep 11 10:57:01 1997
  2931.  * using MIDL 3.03.0110
  2932.  ****************************************/
  2933. /* [unique][uuid][object] */ 
  2934.  
  2935.  
  2936. typedef IPersistMemory __RPC_FAR *LPPERSISTMEMORY;
  2937.  
  2938.  
  2939. EXTERN_C const IID IID_IPersistMemory;
  2940.  
  2941. #if defined(__cplusplus) && !defined(CINTERFACE)
  2942.     
  2943.     MIDL_INTERFACE("BD1AE5E0-A6AE-11CE-BD37-504200C10000")
  2944.     IPersistMemory : public IPersist
  2945.     {
  2946.     public:
  2947.         virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
  2948.         
  2949.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE Load( 
  2950.             /* [size_is][in] */ LPVOID pMem,
  2951.             /* [in] */ ULONG cbSize) = 0;
  2952.         
  2953.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE Save( 
  2954.             /* [size_is][out] */ LPVOID pMem,
  2955.             /* [in] */ BOOL fClearDirty,
  2956.             /* [in] */ ULONG cbSize) = 0;
  2957.         
  2958.         virtual HRESULT STDMETHODCALLTYPE GetSizeMax( 
  2959.             /* [out] */ ULONG __RPC_FAR *pCbSize) = 0;
  2960.         
  2961.         virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  2962.         
  2963.     };
  2964.     
  2965. #else     /* C style interface */
  2966.  
  2967.     typedef struct IPersistMemoryVtbl
  2968.     {
  2969.         BEGIN_INTERFACE
  2970.         
  2971.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2972.             IPersistMemory __RPC_FAR * This,
  2973.             /* [in] */ REFIID riid,
  2974.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2975.         
  2976.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2977.             IPersistMemory __RPC_FAR * This);
  2978.         
  2979.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2980.             IPersistMemory __RPC_FAR * This);
  2981.         
  2982.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassID )( 
  2983.             IPersistMemory __RPC_FAR * This,
  2984.             /* [out] */ CLSID __RPC_FAR *pClassID);
  2985.         
  2986.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsDirty )( 
  2987.             IPersistMemory __RPC_FAR * This);
  2988.         
  2989.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )( 
  2990.             IPersistMemory __RPC_FAR * This,
  2991.             /* [size_is][in] */ LPVOID pMem,
  2992.             /* [in] */ ULONG cbSize);
  2993.         
  2994.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Save )( 
  2995.             IPersistMemory __RPC_FAR * This,
  2996.             /* [size_is][out] */ LPVOID pMem,
  2997.             /* [in] */ BOOL fClearDirty,
  2998.             /* [in] */ ULONG cbSize);
  2999.         
  3000.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSizeMax )( 
  3001.             IPersistMemory __RPC_FAR * This,
  3002.             /* [out] */ ULONG __RPC_FAR *pCbSize);
  3003.         
  3004.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InitNew )( 
  3005.             IPersistMemory __RPC_FAR * This);
  3006.         
  3007.         END_INTERFACE
  3008.     } IPersistMemoryVtbl;
  3009.  
  3010.     interface IPersistMemory
  3011.     {
  3012.         CONST_VTBL struct IPersistMemoryVtbl __RPC_FAR *lpVtbl;
  3013.     };
  3014.  
  3015.     
  3016.  
  3017. #ifdef COBJMACROS
  3018.  
  3019.  
  3020. #define IPersistMemory_QueryInterface(This,riid,ppvObject)    \
  3021.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3022.  
  3023. #define IPersistMemory_AddRef(This)    \
  3024.     (This)->lpVtbl -> AddRef(This)
  3025.  
  3026. #define IPersistMemory_Release(This)    \
  3027.     (This)->lpVtbl -> Release(This)
  3028.  
  3029.  
  3030. #define IPersistMemory_GetClassID(This,pClassID)    \
  3031.     (This)->lpVtbl -> GetClassID(This,pClassID)
  3032.  
  3033.  
  3034. #define IPersistMemory_IsDirty(This)    \
  3035.     (This)->lpVtbl -> IsDirty(This)
  3036.  
  3037. #define IPersistMemory_Load(This,pMem,cbSize)    \
  3038.     (This)->lpVtbl -> Load(This,pMem,cbSize)
  3039.  
  3040. #define IPersistMemory_Save(This,pMem,fClearDirty,cbSize)    \
  3041.     (This)->lpVtbl -> Save(This,pMem,fClearDirty,cbSize)
  3042.  
  3043. #define IPersistMemory_GetSizeMax(This,pCbSize)    \
  3044.     (This)->lpVtbl -> GetSizeMax(This,pCbSize)
  3045.  
  3046. #define IPersistMemory_InitNew(This)    \
  3047.     (This)->lpVtbl -> InitNew(This)
  3048.  
  3049. #endif /* COBJMACROS */
  3050.  
  3051.  
  3052. #endif     /* C style interface */
  3053.  
  3054.  
  3055.  
  3056. HRESULT STDMETHODCALLTYPE IPersistMemory_IsDirty_Proxy( 
  3057.     IPersistMemory __RPC_FAR * This);
  3058.  
  3059.  
  3060. void __RPC_STUB IPersistMemory_IsDirty_Stub(
  3061.     IRpcStubBuffer *This,
  3062.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3063.     PRPC_MESSAGE _pRpcMessage,
  3064.     DWORD *_pdwStubPhase);
  3065.  
  3066.  
  3067. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPersistMemory_RemoteLoad_Proxy( 
  3068.     IPersistMemory __RPC_FAR * This,
  3069.     /* [size_is][in] */ BYTE __RPC_FAR *pMem,
  3070.     /* [in] */ ULONG cbSize);
  3071.  
  3072.  
  3073. void __RPC_STUB IPersistMemory_RemoteLoad_Stub(
  3074.     IRpcStubBuffer *This,
  3075.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3076.     PRPC_MESSAGE _pRpcMessage,
  3077.     DWORD *_pdwStubPhase);
  3078.  
  3079.  
  3080. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPersistMemory_RemoteSave_Proxy( 
  3081.     IPersistMemory __RPC_FAR * This,
  3082.     /* [size_is][out] */ BYTE __RPC_FAR *pMem,
  3083.     /* [in] */ BOOL fClearDirty,
  3084.     /* [in] */ ULONG cbSize);
  3085.  
  3086.  
  3087. void __RPC_STUB IPersistMemory_RemoteSave_Stub(
  3088.     IRpcStubBuffer *This,
  3089.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3090.     PRPC_MESSAGE _pRpcMessage,
  3091.     DWORD *_pdwStubPhase);
  3092.  
  3093.  
  3094. HRESULT STDMETHODCALLTYPE IPersistMemory_GetSizeMax_Proxy( 
  3095.     IPersistMemory __RPC_FAR * This,
  3096.     /* [out] */ ULONG __RPC_FAR *pCbSize);
  3097.  
  3098.  
  3099. void __RPC_STUB IPersistMemory_GetSizeMax_Stub(
  3100.     IRpcStubBuffer *This,
  3101.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3102.     PRPC_MESSAGE _pRpcMessage,
  3103.     DWORD *_pdwStubPhase);
  3104.  
  3105.  
  3106. HRESULT STDMETHODCALLTYPE IPersistMemory_InitNew_Proxy( 
  3107.     IPersistMemory __RPC_FAR * This);
  3108.  
  3109.  
  3110. void __RPC_STUB IPersistMemory_InitNew_Stub(
  3111.     IRpcStubBuffer *This,
  3112.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3113.     PRPC_MESSAGE _pRpcMessage,
  3114.     DWORD *_pdwStubPhase);
  3115.  
  3116.  
  3117.  
  3118. #endif     /* __IPersistMemory_INTERFACE_DEFINED__ */
  3119.  
  3120.  
  3121. #ifndef __IPersistStreamInit_INTERFACE_DEFINED__
  3122. #define __IPersistStreamInit_INTERFACE_DEFINED__
  3123.  
  3124. /****************************************
  3125.  * Generated header for interface: IPersistStreamInit
  3126.  * at Thu Sep 11 10:57:01 1997
  3127.  * using MIDL 3.03.0110
  3128.  ****************************************/
  3129. /* [unique][uuid][object] */ 
  3130.  
  3131.  
  3132. typedef IPersistStreamInit __RPC_FAR *LPPERSISTSTREAMINIT;
  3133.  
  3134.  
  3135. EXTERN_C const IID IID_IPersistStreamInit;
  3136.  
  3137. #if defined(__cplusplus) && !defined(CINTERFACE)
  3138.     
  3139.     MIDL_INTERFACE("7FD52380-4E07-101B-AE2D-08002B2EC713")
  3140.     IPersistStreamInit : public IPersist
  3141.     {
  3142.     public:
  3143.         virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
  3144.         
  3145.         virtual HRESULT STDMETHODCALLTYPE Load( 
  3146.             /* [in] */ LPSTREAM pStm) = 0;
  3147.         
  3148.         virtual HRESULT STDMETHODCALLTYPE Save( 
  3149.             /* [in] */ LPSTREAM pStm,
  3150.             /* [in] */ BOOL fClearDirty) = 0;
  3151.         
  3152.         virtual HRESULT STDMETHODCALLTYPE GetSizeMax( 
  3153.             /* [out] */ ULARGE_INTEGER __RPC_FAR *pCbSize) = 0;
  3154.         
  3155.         virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  3156.         
  3157.     };
  3158.     
  3159. #else     /* C style interface */
  3160.  
  3161.     typedef struct IPersistStreamInitVtbl
  3162.     {
  3163.         BEGIN_INTERFACE
  3164.         
  3165.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3166.             IPersistStreamInit __RPC_FAR * This,
  3167.             /* [in] */ REFIID riid,
  3168.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3169.         
  3170.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3171.             IPersistStreamInit __RPC_FAR * This);
  3172.         
  3173.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3174.             IPersistStreamInit __RPC_FAR * This);
  3175.         
  3176.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassID )( 
  3177.             IPersistStreamInit __RPC_FAR * This,
  3178.             /* [out] */ CLSID __RPC_FAR *pClassID);
  3179.         
  3180.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsDirty )( 
  3181.             IPersistStreamInit __RPC_FAR * This);
  3182.         
  3183.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )( 
  3184.             IPersistStreamInit __RPC_FAR * This,
  3185.             /* [in] */ LPSTREAM pStm);
  3186.         
  3187.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Save )( 
  3188.             IPersistStreamInit __RPC_FAR * This,
  3189.             /* [in] */ LPSTREAM pStm,
  3190.             /* [in] */ BOOL fClearDirty);
  3191.         
  3192.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSizeMax )( 
  3193.             IPersistStreamInit __RPC_FAR * This,
  3194.             /* [out] */ ULARGE_INTEGER __RPC_FAR *pCbSize);
  3195.         
  3196.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InitNew )( 
  3197.             IPersistStreamInit __RPC_FAR * This);
  3198.         
  3199.         END_INTERFACE
  3200.     } IPersistStreamInitVtbl;
  3201.  
  3202.     interface IPersistStreamInit
  3203.     {
  3204.         CONST_VTBL struct IPersistStreamInitVtbl __RPC_FAR *lpVtbl;
  3205.     };
  3206.  
  3207.     
  3208.  
  3209. #ifdef COBJMACROS
  3210.  
  3211.  
  3212. #define IPersistStreamInit_QueryInterface(This,riid,ppvObject)    \
  3213.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3214.  
  3215. #define IPersistStreamInit_AddRef(This)    \
  3216.     (This)->lpVtbl -> AddRef(This)
  3217.  
  3218. #define IPersistStreamInit_Release(This)    \
  3219.     (This)->lpVtbl -> Release(This)
  3220.  
  3221.  
  3222. #define IPersistStreamInit_GetClassID(This,pClassID)    \
  3223.     (This)->lpVtbl -> GetClassID(This,pClassID)
  3224.  
  3225.  
  3226. #define IPersistStreamInit_IsDirty(This)    \
  3227.     (This)->lpVtbl -> IsDirty(This)
  3228.  
  3229. #define IPersistStreamInit_Load(This,pStm)    \
  3230.     (This)->lpVtbl -> Load(This,pStm)
  3231.  
  3232. #define IPersistStreamInit_Save(This,pStm,fClearDirty)    \
  3233.     (This)->lpVtbl -> Save(This,pStm,fClearDirty)
  3234.  
  3235. #define IPersistStreamInit_GetSizeMax(This,pCbSize)    \
  3236.     (This)->lpVtbl -> GetSizeMax(This,pCbSize)
  3237.  
  3238. #define IPersistStreamInit_InitNew(This)    \
  3239.     (This)->lpVtbl -> InitNew(This)
  3240.  
  3241. #endif /* COBJMACROS */
  3242.  
  3243.  
  3244. #endif     /* C style interface */
  3245.  
  3246.  
  3247.  
  3248. HRESULT STDMETHODCALLTYPE IPersistStreamInit_IsDirty_Proxy( 
  3249.     IPersistStreamInit __RPC_FAR * This);
  3250.  
  3251.  
  3252. void __RPC_STUB IPersistStreamInit_IsDirty_Stub(
  3253.     IRpcStubBuffer *This,
  3254.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3255.     PRPC_MESSAGE _pRpcMessage,
  3256.     DWORD *_pdwStubPhase);
  3257.  
  3258.  
  3259. HRESULT STDMETHODCALLTYPE IPersistStreamInit_Load_Proxy( 
  3260.     IPersistStreamInit __RPC_FAR * This,
  3261.     /* [in] */ LPSTREAM pStm);
  3262.  
  3263.  
  3264. void __RPC_STUB IPersistStreamInit_Load_Stub(
  3265.     IRpcStubBuffer *This,
  3266.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3267.     PRPC_MESSAGE _pRpcMessage,
  3268.     DWORD *_pdwStubPhase);
  3269.  
  3270.  
  3271. HRESULT STDMETHODCALLTYPE IPersistStreamInit_Save_Proxy( 
  3272.     IPersistStreamInit __RPC_FAR * This,
  3273.     /* [in] */ LPSTREAM pStm,
  3274.     /* [in] */ BOOL fClearDirty);
  3275.  
  3276.  
  3277. void __RPC_STUB IPersistStreamInit_Save_Stub(
  3278.     IRpcStubBuffer *This,
  3279.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3280.     PRPC_MESSAGE _pRpcMessage,
  3281.     DWORD *_pdwStubPhase);
  3282.  
  3283.  
  3284. HRESULT STDMETHODCALLTYPE IPersistStreamInit_GetSizeMax_Proxy( 
  3285.     IPersistStreamInit __RPC_FAR * This,
  3286.     /* [out] */ ULARGE_INTEGER __RPC_FAR *pCbSize);
  3287.  
  3288.  
  3289. void __RPC_STUB IPersistStreamInit_GetSizeMax_Stub(
  3290.     IRpcStubBuffer *This,
  3291.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3292.     PRPC_MESSAGE _pRpcMessage,
  3293.     DWORD *_pdwStubPhase);
  3294.  
  3295.  
  3296. HRESULT STDMETHODCALLTYPE IPersistStreamInit_InitNew_Proxy( 
  3297.     IPersistStreamInit __RPC_FAR * This);
  3298.  
  3299.  
  3300. void __RPC_STUB IPersistStreamInit_InitNew_Stub(
  3301.     IRpcStubBuffer *This,
  3302.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3303.     PRPC_MESSAGE _pRpcMessage,
  3304.     DWORD *_pdwStubPhase);
  3305.  
  3306.  
  3307.  
  3308. #endif     /* __IPersistStreamInit_INTERFACE_DEFINED__ */
  3309.  
  3310.  
  3311. #ifndef __IPersistPropertyBag_INTERFACE_DEFINED__
  3312. #define __IPersistPropertyBag_INTERFACE_DEFINED__
  3313.  
  3314. /****************************************
  3315.  * Generated header for interface: IPersistPropertyBag
  3316.  * at Thu Sep 11 10:57:01 1997
  3317.  * using MIDL 3.03.0110
  3318.  ****************************************/
  3319. /* [unique][uuid][object] */ 
  3320.  
  3321.  
  3322. typedef IPersistPropertyBag __RPC_FAR *LPPERSISTPROPERTYBAG;
  3323.  
  3324.  
  3325. EXTERN_C const IID IID_IPersistPropertyBag;
  3326.  
  3327. #if defined(__cplusplus) && !defined(CINTERFACE)
  3328.     
  3329.     MIDL_INTERFACE("37D84F60-42CB-11CE-8135-00AA004BB851")
  3330.     IPersistPropertyBag : public IPersist
  3331.     {
  3332.     public:
  3333.         virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  3334.         
  3335.         virtual HRESULT STDMETHODCALLTYPE Load( 
  3336.             /* [in] */ IPropertyBag __RPC_FAR *pPropBag,
  3337.             /* [in] */ IErrorLog __RPC_FAR *pErrorLog) = 0;
  3338.         
  3339.         virtual HRESULT STDMETHODCALLTYPE Save( 
  3340.             /* [in] */ IPropertyBag __RPC_FAR *pPropBag,
  3341.             /* [in] */ BOOL fClearDirty,
  3342.             /* [in] */ BOOL fSaveAllProperties) = 0;
  3343.         
  3344.     };
  3345.     
  3346. #else     /* C style interface */
  3347.  
  3348.     typedef struct IPersistPropertyBagVtbl
  3349.     {
  3350.         BEGIN_INTERFACE
  3351.         
  3352.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3353.             IPersistPropertyBag __RPC_FAR * This,
  3354.             /* [in] */ REFIID riid,
  3355.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3356.         
  3357.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3358.             IPersistPropertyBag __RPC_FAR * This);
  3359.         
  3360.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3361.             IPersistPropertyBag __RPC_FAR * This);
  3362.         
  3363.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassID )( 
  3364.             IPersistPropertyBag __RPC_FAR * This,
  3365.             /* [out] */ CLSID __RPC_FAR *pClassID);
  3366.         
  3367.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InitNew )( 
  3368.             IPersistPropertyBag __RPC_FAR * This);
  3369.         
  3370.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )( 
  3371.             IPersistPropertyBag __RPC_FAR * This,
  3372.             /* [in] */ IPropertyBag __RPC_FAR *pPropBag,
  3373.             /* [in] */ IErrorLog __RPC_FAR *pErrorLog);
  3374.         
  3375.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Save )( 
  3376.             IPersistPropertyBag __RPC_FAR * This,
  3377.             /* [in] */ IPropertyBag __RPC_FAR *pPropBag,
  3378.             /* [in] */ BOOL fClearDirty,
  3379.             /* [in] */ BOOL fSaveAllProperties);
  3380.         
  3381.         END_INTERFACE
  3382.     } IPersistPropertyBagVtbl;
  3383.  
  3384.     interface IPersistPropertyBag
  3385.     {
  3386.         CONST_VTBL struct IPersistPropertyBagVtbl __RPC_FAR *lpVtbl;
  3387.     };
  3388.  
  3389.     
  3390.  
  3391. #ifdef COBJMACROS
  3392.  
  3393.  
  3394. #define IPersistPropertyBag_QueryInterface(This,riid,ppvObject)    \
  3395.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3396.  
  3397. #define IPersistPropertyBag_AddRef(This)    \
  3398.     (This)->lpVtbl -> AddRef(This)
  3399.  
  3400. #define IPersistPropertyBag_Release(This)    \
  3401.     (This)->lpVtbl -> Release(This)
  3402.  
  3403.  
  3404. #define IPersistPropertyBag_GetClassID(This,pClassID)    \
  3405.     (This)->lpVtbl -> GetClassID(This,pClassID)
  3406.  
  3407.  
  3408. #define IPersistPropertyBag_InitNew(This)    \
  3409.     (This)->lpVtbl -> InitNew(This)
  3410.  
  3411. #define IPersistPropertyBag_Load(This,pPropBag,pErrorLog)    \
  3412.     (This)->lpVtbl -> Load(This,pPropBag,pErrorLog)
  3413.  
  3414. #define IPersistPropertyBag_Save(This,pPropBag,fClearDirty,fSaveAllProperties)    \
  3415.     (This)->lpVtbl -> Save(This,pPropBag,fClearDirty,fSaveAllProperties)
  3416.  
  3417. #endif /* COBJMACROS */
  3418.  
  3419.  
  3420. #endif     /* C style interface */
  3421.  
  3422.  
  3423.  
  3424. HRESULT STDMETHODCALLTYPE IPersistPropertyBag_InitNew_Proxy( 
  3425.     IPersistPropertyBag __RPC_FAR * This);
  3426.  
  3427.  
  3428. void __RPC_STUB IPersistPropertyBag_InitNew_Stub(
  3429.     IRpcStubBuffer *This,
  3430.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3431.     PRPC_MESSAGE _pRpcMessage,
  3432.     DWORD *_pdwStubPhase);
  3433.  
  3434.  
  3435. HRESULT STDMETHODCALLTYPE IPersistPropertyBag_Load_Proxy( 
  3436.     IPersistPropertyBag __RPC_FAR * This,
  3437.     /* [in] */ IPropertyBag __RPC_FAR *pPropBag,
  3438.     /* [in] */ IErrorLog __RPC_FAR *pErrorLog);
  3439.  
  3440.  
  3441. void __RPC_STUB IPersistPropertyBag_Load_Stub(
  3442.     IRpcStubBuffer *This,
  3443.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3444.     PRPC_MESSAGE _pRpcMessage,
  3445.     DWORD *_pdwStubPhase);
  3446.  
  3447.  
  3448. HRESULT STDMETHODCALLTYPE IPersistPropertyBag_Save_Proxy( 
  3449.     IPersistPropertyBag __RPC_FAR * This,
  3450.     /* [in] */ IPropertyBag __RPC_FAR *pPropBag,
  3451.     /* [in] */ BOOL fClearDirty,
  3452.     /* [in] */ BOOL fSaveAllProperties);
  3453.  
  3454.  
  3455. void __RPC_STUB IPersistPropertyBag_Save_Stub(
  3456.     IRpcStubBuffer *This,
  3457.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3458.     PRPC_MESSAGE _pRpcMessage,
  3459.     DWORD *_pdwStubPhase);
  3460.  
  3461.  
  3462.  
  3463. #endif     /* __IPersistPropertyBag_INTERFACE_DEFINED__ */
  3464.  
  3465.  
  3466. #ifndef __ISimpleFrameSite_INTERFACE_DEFINED__
  3467. #define __ISimpleFrameSite_INTERFACE_DEFINED__
  3468.  
  3469. /****************************************
  3470.  * Generated header for interface: ISimpleFrameSite
  3471.  * at Thu Sep 11 10:57:01 1997
  3472.  * using MIDL 3.03.0110
  3473.  ****************************************/
  3474. /* [unique][uuid][object] */ 
  3475.  
  3476.  
  3477. typedef ISimpleFrameSite __RPC_FAR *LPSIMPLEFRAMESITE;
  3478.  
  3479.  
  3480. EXTERN_C const IID IID_ISimpleFrameSite;
  3481.  
  3482. #if defined(__cplusplus) && !defined(CINTERFACE)
  3483.     
  3484.     MIDL_INTERFACE("742B0E01-14E6-101B-914E-00AA00300CAB")
  3485.     ISimpleFrameSite : public IUnknown
  3486.     {
  3487.     public:
  3488.         virtual HRESULT STDMETHODCALLTYPE PreMessageFilter( 
  3489.             /* [in] */ HWND hWnd,
  3490.             /* [in] */ UINT msg,
  3491.             /* [in] */ WPARAM wp,
  3492.             /* [in] */ LPARAM lp,
  3493.             /* [out] */ LRESULT __RPC_FAR *plResult,
  3494.             /* [out] */ DWORD __RPC_FAR *pdwCookie) = 0;
  3495.         
  3496.         virtual HRESULT STDMETHODCALLTYPE PostMessageFilter( 
  3497.             /* [in] */ HWND hWnd,
  3498.             /* [in] */ UINT msg,
  3499.             /* [in] */ WPARAM wp,
  3500.             /* [in] */ LPARAM lp,
  3501.             /* [out] */ LRESULT __RPC_FAR *plResult,
  3502.             /* [in] */ DWORD dwCookie) = 0;
  3503.         
  3504.     };
  3505.     
  3506. #else     /* C style interface */
  3507.  
  3508.     typedef struct ISimpleFrameSiteVtbl
  3509.     {
  3510.         BEGIN_INTERFACE
  3511.         
  3512.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3513.             ISimpleFrameSite __RPC_FAR * This,
  3514.             /* [in] */ REFIID riid,
  3515.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3516.         
  3517.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3518.             ISimpleFrameSite __RPC_FAR * This);
  3519.         
  3520.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3521.             ISimpleFrameSite __RPC_FAR * This);
  3522.         
  3523.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PreMessageFilter )( 
  3524.             ISimpleFrameSite __RPC_FAR * This,
  3525.             /* [in] */ HWND hWnd,
  3526.             /* [in] */ UINT msg,
  3527.             /* [in] */ WPARAM wp,
  3528.             /* [in] */ LPARAM lp,
  3529.             /* [out] */ LRESULT __RPC_FAR *plResult,
  3530.             /* [out] */ DWORD __RPC_FAR *pdwCookie);
  3531.         
  3532.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PostMessageFilter )( 
  3533.             ISimpleFrameSite __RPC_FAR * This,
  3534.             /* [in] */ HWND hWnd,
  3535.             /* [in] */ UINT msg,
  3536.             /* [in] */ WPARAM wp,
  3537.             /* [in] */ LPARAM lp,
  3538.             /* [out] */ LRESULT __RPC_FAR *plResult,
  3539.             /* [in] */ DWORD dwCookie);
  3540.         
  3541.         END_INTERFACE
  3542.     } ISimpleFrameSiteVtbl;
  3543.  
  3544.     interface ISimpleFrameSite
  3545.     {
  3546.         CONST_VTBL struct ISimpleFrameSiteVtbl __RPC_FAR *lpVtbl;
  3547.     };
  3548.  
  3549.     
  3550.  
  3551. #ifdef COBJMACROS
  3552.  
  3553.  
  3554. #define ISimpleFrameSite_QueryInterface(This,riid,ppvObject)    \
  3555.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3556.  
  3557. #define ISimpleFrameSite_AddRef(This)    \
  3558.     (This)->lpVtbl -> AddRef(This)
  3559.  
  3560. #define ISimpleFrameSite_Release(This)    \
  3561.     (This)->lpVtbl -> Release(This)
  3562.  
  3563.  
  3564. #define ISimpleFrameSite_PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie)    \
  3565.     (This)->lpVtbl -> PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie)
  3566.  
  3567. #define ISimpleFrameSite_PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie)    \
  3568.     (This)->lpVtbl -> PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie)
  3569.  
  3570. #endif /* COBJMACROS */
  3571.  
  3572.  
  3573. #endif     /* C style interface */
  3574.  
  3575.  
  3576.  
  3577. HRESULT STDMETHODCALLTYPE ISimpleFrameSite_PreMessageFilter_Proxy( 
  3578.     ISimpleFrameSite __RPC_FAR * This,
  3579.     /* [in] */ HWND hWnd,
  3580.     /* [in] */ UINT msg,
  3581.     /* [in] */ WPARAM wp,
  3582.     /* [in] */ LPARAM lp,
  3583.     /* [out] */ LRESULT __RPC_FAR *plResult,
  3584.     /* [out] */ DWORD __RPC_FAR *pdwCookie);
  3585.  
  3586.  
  3587. void __RPC_STUB ISimpleFrameSite_PreMessageFilter_Stub(
  3588.     IRpcStubBuffer *This,
  3589.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3590.     PRPC_MESSAGE _pRpcMessage,
  3591.     DWORD *_pdwStubPhase);
  3592.  
  3593.  
  3594. HRESULT STDMETHODCALLTYPE ISimpleFrameSite_PostMessageFilter_Proxy( 
  3595.     ISimpleFrameSite __RPC_FAR * This,
  3596.     /* [in] */ HWND hWnd,
  3597.     /* [in] */ UINT msg,
  3598.     /* [in] */ WPARAM wp,
  3599.     /* [in] */ LPARAM lp,
  3600.     /* [out] */ LRESULT __RPC_FAR *plResult,
  3601.     /* [in] */ DWORD dwCookie);
  3602.  
  3603.  
  3604. void __RPC_STUB ISimpleFrameSite_PostMessageFilter_Stub(
  3605.     IRpcStubBuffer *This,
  3606.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3607.     PRPC_MESSAGE _pRpcMessage,
  3608.     DWORD *_pdwStubPhase);
  3609.  
  3610.  
  3611.  
  3612. #endif     /* __ISimpleFrameSite_INTERFACE_DEFINED__ */
  3613.  
  3614.  
  3615. #ifndef __IFont_INTERFACE_DEFINED__
  3616. #define __IFont_INTERFACE_DEFINED__
  3617.  
  3618. /****************************************
  3619.  * Generated header for interface: IFont
  3620.  * at Thu Sep 11 10:57:01 1997
  3621.  * using MIDL 3.03.0110
  3622.  ****************************************/
  3623. /* [unique][uuid][object] */ 
  3624.  
  3625.  
  3626. typedef IFont __RPC_FAR *LPFONT;
  3627.  
  3628. #if defined(_WIN32) && !defined(OLE2ANSI)
  3629. typedef TEXTMETRICW TEXTMETRICOLE;
  3630.  
  3631. #else
  3632. typedef TEXTMETRIC TEXTMETRICOLE;
  3633. #endif
  3634. typedef TEXTMETRICOLE __RPC_FAR *LPTEXTMETRICOLE;
  3635.  
  3636.  
  3637. EXTERN_C const IID IID_IFont;
  3638.  
  3639. #if defined(__cplusplus) && !defined(CINTERFACE)
  3640.     
  3641.     MIDL_INTERFACE("BEF6E002-A874-101A-8BBA-00AA00300CAB")
  3642.     IFont : public IUnknown
  3643.     {
  3644.     public:
  3645.         virtual HRESULT STDMETHODCALLTYPE get_Name( 
  3646.             /* [out] */ BSTR __RPC_FAR *pName) = 0;
  3647.         
  3648.         virtual HRESULT STDMETHODCALLTYPE put_Name( 
  3649.             /* [in] */ BSTR name) = 0;
  3650.         
  3651.         virtual HRESULT STDMETHODCALLTYPE get_Size( 
  3652.             /* [out] */ CY __RPC_FAR *pSize) = 0;
  3653.         
  3654.         virtual HRESULT STDMETHODCALLTYPE put_Size( 
  3655.             /* [in] */ CY size) = 0;
  3656.         
  3657.         virtual HRESULT STDMETHODCALLTYPE get_Bold( 
  3658.             /* [out] */ BOOL __RPC_FAR *pBold) = 0;
  3659.         
  3660.         virtual HRESULT STDMETHODCALLTYPE put_Bold( 
  3661.             /* [in] */ BOOL bold) = 0;
  3662.         
  3663.         virtual HRESULT STDMETHODCALLTYPE get_Italic( 
  3664.             /* [out] */ BOOL __RPC_FAR *pItalic) = 0;
  3665.         
  3666.         virtual HRESULT STDMETHODCALLTYPE put_Italic( 
  3667.             /* [in] */ BOOL italic) = 0;
  3668.         
  3669.         virtual HRESULT STDMETHODCALLTYPE get_Underline( 
  3670.             /* [out] */ BOOL __RPC_FAR *pUnderline) = 0;
  3671.         
  3672.         virtual HRESULT STDMETHODCALLTYPE put_Underline( 
  3673.             /* [in] */ BOOL underline) = 0;
  3674.         
  3675.         virtual HRESULT STDMETHODCALLTYPE get_Strikethrough( 
  3676.             /* [out] */ BOOL __RPC_FAR *pStrikethrough) = 0;
  3677.         
  3678.         virtual HRESULT STDMETHODCALLTYPE put_Strikethrough( 
  3679.             /* [in] */ BOOL strikethrough) = 0;
  3680.         
  3681.         virtual HRESULT STDMETHODCALLTYPE get_Weight( 
  3682.             /* [out] */ SHORT __RPC_FAR *pWeight) = 0;
  3683.         
  3684.         virtual HRESULT STDMETHODCALLTYPE put_Weight( 
  3685.             /* [in] */ SHORT weight) = 0;
  3686.         
  3687.         virtual HRESULT STDMETHODCALLTYPE get_Charset( 
  3688.             /* [out] */ SHORT __RPC_FAR *pCharset) = 0;
  3689.         
  3690.         virtual HRESULT STDMETHODCALLTYPE put_Charset( 
  3691.             /* [in] */ SHORT charset) = 0;
  3692.         
  3693.         virtual HRESULT STDMETHODCALLTYPE get_hFont( 
  3694.             /* [out] */ HFONT __RPC_FAR *phFont) = 0;
  3695.         
  3696.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  3697.             /* [out] */ IFont __RPC_FAR *__RPC_FAR *ppFont) = 0;
  3698.         
  3699.         virtual HRESULT STDMETHODCALLTYPE IsEqual( 
  3700.             /* [in] */ IFont __RPC_FAR *pFontOther) = 0;
  3701.         
  3702.         virtual HRESULT STDMETHODCALLTYPE SetRatio( 
  3703.             /* [in] */ LONG cyLogical,
  3704.             /* [in] */ LONG cyHimetric) = 0;
  3705.         
  3706.         virtual HRESULT STDMETHODCALLTYPE QueryTextMetrics( 
  3707.             /* [out] */ TEXTMETRICOLE __RPC_FAR *pTM) = 0;
  3708.         
  3709.         virtual HRESULT STDMETHODCALLTYPE AddRefHfont( 
  3710.             /* [in] */ HFONT hFont) = 0;
  3711.         
  3712.         virtual HRESULT STDMETHODCALLTYPE ReleaseHfont( 
  3713.             /* [in] */ HFONT hFont) = 0;
  3714.         
  3715.         virtual HRESULT STDMETHODCALLTYPE SetHdc( 
  3716.             /* [in] */ HDC hDC) = 0;
  3717.         
  3718.     };
  3719.     
  3720. #else     /* C style interface */
  3721.  
  3722.     typedef struct IFontVtbl
  3723.     {
  3724.         BEGIN_INTERFACE
  3725.         
  3726.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3727.             IFont __RPC_FAR * This,
  3728.             /* [in] */ REFIID riid,
  3729.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3730.         
  3731.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3732.             IFont __RPC_FAR * This);
  3733.         
  3734.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3735.             IFont __RPC_FAR * This);
  3736.         
  3737.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )( 
  3738.             IFont __RPC_FAR * This,
  3739.             /* [out] */ BSTR __RPC_FAR *pName);
  3740.         
  3741.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )( 
  3742.             IFont __RPC_FAR * This,
  3743.             /* [in] */ BSTR name);
  3744.         
  3745.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Size )( 
  3746.             IFont __RPC_FAR * This,
  3747.             /* [out] */ CY __RPC_FAR *pSize);
  3748.         
  3749.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Size )( 
  3750.             IFont __RPC_FAR * This,
  3751.             /* [in] */ CY size);
  3752.         
  3753.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Bold )( 
  3754.             IFont __RPC_FAR * This,
  3755.             /* [out] */ BOOL __RPC_FAR *pBold);
  3756.         
  3757.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Bold )( 
  3758.             IFont __RPC_FAR * This,
  3759.             /* [in] */ BOOL bold);
  3760.         
  3761.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Italic )( 
  3762.             IFont __RPC_FAR * This,
  3763.             /* [out] */ BOOL __RPC_FAR *pItalic);
  3764.         
  3765.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Italic )( 
  3766.             IFont __RPC_FAR * This,
  3767.             /* [in] */ BOOL italic);
  3768.         
  3769.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Underline )( 
  3770.             IFont __RPC_FAR * This,
  3771.             /* [out] */ BOOL __RPC_FAR *pUnderline);
  3772.         
  3773.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Underline )( 
  3774.             IFont __RPC_FAR * This,
  3775.             /* [in] */ BOOL underline);
  3776.         
  3777.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Strikethrough )( 
  3778.             IFont __RPC_FAR * This,
  3779.             /* [out] */ BOOL __RPC_FAR *pStrikethrough);
  3780.         
  3781.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Strikethrough )( 
  3782.             IFont __RPC_FAR * This,
  3783.             /* [in] */ BOOL strikethrough);
  3784.         
  3785.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Weight )( 
  3786.             IFont __RPC_FAR * This,
  3787.             /* [out] */ SHORT __RPC_FAR *pWeight);
  3788.         
  3789.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Weight )( 
  3790.             IFont __RPC_FAR * This,
  3791.             /* [in] */ SHORT weight);
  3792.         
  3793.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Charset )( 
  3794.             IFont __RPC_FAR * This,
  3795.             /* [out] */ SHORT __RPC_FAR *pCharset);
  3796.         
  3797.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Charset )( 
  3798.             IFont __RPC_FAR * This,
  3799.             /* [in] */ SHORT charset);
  3800.         
  3801.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_hFont )( 
  3802.             IFont __RPC_FAR * This,
  3803.             /* [out] */ HFONT __RPC_FAR *phFont);
  3804.         
  3805.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )( 
  3806.             IFont __RPC_FAR * This,
  3807.             /* [out] */ IFont __RPC_FAR *__RPC_FAR *ppFont);
  3808.         
  3809.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )( 
  3810.             IFont __RPC_FAR * This,
  3811.             /* [in] */ IFont __RPC_FAR *pFontOther);
  3812.         
  3813.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRatio )( 
  3814.             IFont __RPC_FAR * This,
  3815.             /* [in] */ LONG cyLogical,
  3816.             /* [in] */ LONG cyHimetric);
  3817.         
  3818.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryTextMetrics )( 
  3819.             IFont __RPC_FAR * This,
  3820.             /* [out] */ TEXTMETRICOLE __RPC_FAR *pTM);
  3821.         
  3822.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddRefHfont )( 
  3823.             IFont __RPC_FAR * This,
  3824.             /* [in] */ HFONT hFont);
  3825.         
  3826.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseHfont )( 
  3827.             IFont __RPC_FAR * This,
  3828.             /* [in] */ HFONT hFont);
  3829.         
  3830.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHdc )( 
  3831.             IFont __RPC_FAR * This,
  3832.             /* [in] */ HDC hDC);
  3833.         
  3834.         END_INTERFACE
  3835.     } IFontVtbl;
  3836.  
  3837.     interface IFont
  3838.     {
  3839.         CONST_VTBL struct IFontVtbl __RPC_FAR *lpVtbl;
  3840.     };
  3841.  
  3842.     
  3843.  
  3844. #ifdef COBJMACROS
  3845.  
  3846.  
  3847. #define IFont_QueryInterface(This,riid,ppvObject)    \
  3848.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3849.  
  3850. #define IFont_AddRef(This)    \
  3851.     (This)->lpVtbl -> AddRef(This)
  3852.  
  3853. #define IFont_Release(This)    \
  3854.     (This)->lpVtbl -> Release(This)
  3855.  
  3856.  
  3857. #define IFont_get_Name(This,pName)    \
  3858.     (This)->lpVtbl -> get_Name(This,pName)
  3859.  
  3860. #define IFont_put_Name(This,name)    \
  3861.     (This)->lpVtbl -> put_Name(This,name)
  3862.  
  3863. #define IFont_get_Size(This,pSize)    \
  3864.     (This)->lpVtbl -> get_Size(This,pSize)
  3865.  
  3866. #define IFont_put_Size(This,size)    \
  3867.     (This)->lpVtbl -> put_Size(This,size)
  3868.  
  3869. #define IFont_get_Bold(This,pBold)    \
  3870.     (This)->lpVtbl -> get_Bold(This,pBold)
  3871.  
  3872. #define IFont_put_Bold(This,bold)    \
  3873.     (This)->lpVtbl -> put_Bold(This,bold)
  3874.  
  3875. #define IFont_get_Italic(This,pItalic)    \
  3876.     (This)->lpVtbl -> get_Italic(This,pItalic)
  3877.  
  3878. #define IFont_put_Italic(This,italic)    \
  3879.     (This)->lpVtbl -> put_Italic(This,italic)
  3880.  
  3881. #define IFont_get_Underline(This,pUnderline)    \
  3882.     (This)->lpVtbl -> get_Underline(This,pUnderline)
  3883.  
  3884. #define IFont_put_Underline(This,underline)    \
  3885.     (This)->lpVtbl -> put_Underline(This,underline)
  3886.  
  3887. #define IFont_get_Strikethrough(This,pStrikethrough)    \
  3888.     (This)->lpVtbl -> get_Strikethrough(This,pStrikethrough)
  3889.  
  3890. #define IFont_put_Strikethrough(This,strikethrough)    \
  3891.     (This)->lpVtbl -> put_Strikethrough(This,strikethrough)
  3892.  
  3893. #define IFont_get_Weight(This,pWeight)    \
  3894.     (This)->lpVtbl -> get_Weight(This,pWeight)
  3895.  
  3896. #define IFont_put_Weight(This,weight)    \
  3897.     (This)->lpVtbl -> put_Weight(This,weight)
  3898.  
  3899. #define IFont_get_Charset(This,pCharset)    \
  3900.     (This)->lpVtbl -> get_Charset(This,pCharset)
  3901.  
  3902. #define IFont_put_Charset(This,charset)    \
  3903.     (This)->lpVtbl -> put_Charset(This,charset)
  3904.  
  3905. #define IFont_get_hFont(This,phFont)    \
  3906.     (This)->lpVtbl -> get_hFont(This,phFont)
  3907.  
  3908. #define IFont_Clone(This,ppFont)    \
  3909.     (This)->lpVtbl -> Clone(This,ppFont)
  3910.  
  3911. #define IFont_IsEqual(This,pFontOther)    \
  3912.     (This)->lpVtbl -> IsEqual(This,pFontOther)
  3913.  
  3914. #define IFont_SetRatio(This,cyLogical,cyHimetric)    \
  3915.     (This)->lpVtbl -> SetRatio(This,cyLogical,cyHimetric)
  3916.  
  3917. #define IFont_QueryTextMetrics(This,pTM)    \
  3918.     (This)->lpVtbl -> QueryTextMetrics(This,pTM)
  3919.  
  3920. #define IFont_AddRefHfont(This,hFont)    \
  3921.     (This)->lpVtbl -> AddRefHfont(This,hFont)
  3922.  
  3923. #define IFont_ReleaseHfont(This,hFont)    \
  3924.     (This)->lpVtbl -> ReleaseHfont(This,hFont)
  3925.  
  3926. #define IFont_SetHdc(This,hDC)    \
  3927.     (This)->lpVtbl -> SetHdc(This,hDC)
  3928.  
  3929. #endif /* COBJMACROS */
  3930.  
  3931.  
  3932. #endif     /* C style interface */
  3933.  
  3934.  
  3935.  
  3936. HRESULT STDMETHODCALLTYPE IFont_get_Name_Proxy( 
  3937.     IFont __RPC_FAR * This,
  3938.     /* [out] */ BSTR __RPC_FAR *pName);
  3939.  
  3940.  
  3941. void __RPC_STUB IFont_get_Name_Stub(
  3942.     IRpcStubBuffer *This,
  3943.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3944.     PRPC_MESSAGE _pRpcMessage,
  3945.     DWORD *_pdwStubPhase);
  3946.  
  3947.  
  3948. HRESULT STDMETHODCALLTYPE IFont_put_Name_Proxy( 
  3949.     IFont __RPC_FAR * This,
  3950.     /* [in] */ BSTR name);
  3951.  
  3952.  
  3953. void __RPC_STUB IFont_put_Name_Stub(
  3954.     IRpcStubBuffer *This,
  3955.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3956.     PRPC_MESSAGE _pRpcMessage,
  3957.     DWORD *_pdwStubPhase);
  3958.  
  3959.  
  3960. HRESULT STDMETHODCALLTYPE IFont_get_Size_Proxy( 
  3961.     IFont __RPC_FAR * This,
  3962.     /* [out] */ CY __RPC_FAR *pSize);
  3963.  
  3964.  
  3965. void __RPC_STUB IFont_get_Size_Stub(
  3966.     IRpcStubBuffer *This,
  3967.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3968.     PRPC_MESSAGE _pRpcMessage,
  3969.     DWORD *_pdwStubPhase);
  3970.  
  3971.  
  3972. HRESULT STDMETHODCALLTYPE IFont_put_Size_Proxy( 
  3973.     IFont __RPC_FAR * This,
  3974.     /* [in] */ CY size);
  3975.  
  3976.  
  3977. void __RPC_STUB IFont_put_Size_Stub(
  3978.     IRpcStubBuffer *This,
  3979.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3980.     PRPC_MESSAGE _pRpcMessage,
  3981.     DWORD *_pdwStubPhase);
  3982.  
  3983.  
  3984. HRESULT STDMETHODCALLTYPE IFont_get_Bold_Proxy( 
  3985.     IFont __RPC_FAR * This,
  3986.     /* [out] */ BOOL __RPC_FAR *pBold);
  3987.  
  3988.  
  3989. void __RPC_STUB IFont_get_Bold_Stub(
  3990.     IRpcStubBuffer *This,
  3991.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3992.     PRPC_MESSAGE _pRpcMessage,
  3993.     DWORD *_pdwStubPhase);
  3994.  
  3995.  
  3996. HRESULT STDMETHODCALLTYPE IFont_put_Bold_Proxy( 
  3997.     IFont __RPC_FAR * This,
  3998.     /* [in] */ BOOL bold);
  3999.  
  4000.  
  4001. void __RPC_STUB IFont_put_Bold_Stub(
  4002.     IRpcStubBuffer *This,
  4003.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4004.     PRPC_MESSAGE _pRpcMessage,
  4005.     DWORD *_pdwStubPhase);
  4006.  
  4007.  
  4008. HRESULT STDMETHODCALLTYPE IFont_get_Italic_Proxy( 
  4009.     IFont __RPC_FAR * This,
  4010.     /* [out] */ BOOL __RPC_FAR *pItalic);
  4011.  
  4012.  
  4013. void __RPC_STUB IFont_get_Italic_Stub(
  4014.     IRpcStubBuffer *This,
  4015.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4016.     PRPC_MESSAGE _pRpcMessage,
  4017.     DWORD *_pdwStubPhase);
  4018.  
  4019.  
  4020. HRESULT STDMETHODCALLTYPE IFont_put_Italic_Proxy( 
  4021.     IFont __RPC_FAR * This,
  4022.     /* [in] */ BOOL italic);
  4023.  
  4024.  
  4025. void __RPC_STUB IFont_put_Italic_Stub(
  4026.     IRpcStubBuffer *This,
  4027.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4028.     PRPC_MESSAGE _pRpcMessage,
  4029.     DWORD *_pdwStubPhase);
  4030.  
  4031.  
  4032. HRESULT STDMETHODCALLTYPE IFont_get_Underline_Proxy( 
  4033.     IFont __RPC_FAR * This,
  4034.     /* [out] */ BOOL __RPC_FAR *pUnderline);
  4035.  
  4036.  
  4037. void __RPC_STUB IFont_get_Underline_Stub(
  4038.     IRpcStubBuffer *This,
  4039.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4040.     PRPC_MESSAGE _pRpcMessage,
  4041.     DWORD *_pdwStubPhase);
  4042.  
  4043.  
  4044. HRESULT STDMETHODCALLTYPE IFont_put_Underline_Proxy( 
  4045.     IFont __RPC_FAR * This,
  4046.     /* [in] */ BOOL underline);
  4047.  
  4048.  
  4049. void __RPC_STUB IFont_put_Underline_Stub(
  4050.     IRpcStubBuffer *This,
  4051.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4052.     PRPC_MESSAGE _pRpcMessage,
  4053.     DWORD *_pdwStubPhase);
  4054.  
  4055.  
  4056. HRESULT STDMETHODCALLTYPE IFont_get_Strikethrough_Proxy( 
  4057.     IFont __RPC_FAR * This,
  4058.     /* [out] */ BOOL __RPC_FAR *pStrikethrough);
  4059.  
  4060.  
  4061. void __RPC_STUB IFont_get_Strikethrough_Stub(
  4062.     IRpcStubBuffer *This,
  4063.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4064.     PRPC_MESSAGE _pRpcMessage,
  4065.     DWORD *_pdwStubPhase);
  4066.  
  4067.  
  4068. HRESULT STDMETHODCALLTYPE IFont_put_Strikethrough_Proxy( 
  4069.     IFont __RPC_FAR * This,
  4070.     /* [in] */ BOOL strikethrough);
  4071.  
  4072.  
  4073. void __RPC_STUB IFont_put_Strikethrough_Stub(
  4074.     IRpcStubBuffer *This,
  4075.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4076.     PRPC_MESSAGE _pRpcMessage,
  4077.     DWORD *_pdwStubPhase);
  4078.  
  4079.  
  4080. HRESULT STDMETHODCALLTYPE IFont_get_Weight_Proxy( 
  4081.     IFont __RPC_FAR * This,
  4082.     /* [out] */ SHORT __RPC_FAR *pWeight);
  4083.  
  4084.  
  4085. void __RPC_STUB IFont_get_Weight_Stub(
  4086.     IRpcStubBuffer *This,
  4087.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4088.     PRPC_MESSAGE _pRpcMessage,
  4089.     DWORD *_pdwStubPhase);
  4090.  
  4091.  
  4092. HRESULT STDMETHODCALLTYPE IFont_put_Weight_Proxy( 
  4093.     IFont __RPC_FAR * This,
  4094.     /* [in] */ SHORT weight);
  4095.  
  4096.  
  4097. void __RPC_STUB IFont_put_Weight_Stub(
  4098.     IRpcStubBuffer *This,
  4099.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4100.     PRPC_MESSAGE _pRpcMessage,
  4101.     DWORD *_pdwStubPhase);
  4102.  
  4103.  
  4104. HRESULT STDMETHODCALLTYPE IFont_get_Charset_Proxy( 
  4105.     IFont __RPC_FAR * This,
  4106.     /* [out] */ SHORT __RPC_FAR *pCharset);
  4107.  
  4108.  
  4109. void __RPC_STUB IFont_get_Charset_Stub(
  4110.     IRpcStubBuffer *This,
  4111.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4112.     PRPC_MESSAGE _pRpcMessage,
  4113.     DWORD *_pdwStubPhase);
  4114.  
  4115.  
  4116. HRESULT STDMETHODCALLTYPE IFont_put_Charset_Proxy( 
  4117.     IFont __RPC_FAR * This,
  4118.     /* [in] */ SHORT charset);
  4119.  
  4120.  
  4121. void __RPC_STUB IFont_put_Charset_Stub(
  4122.     IRpcStubBuffer *This,
  4123.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4124.     PRPC_MESSAGE _pRpcMessage,
  4125.     DWORD *_pdwStubPhase);
  4126.  
  4127.  
  4128. HRESULT STDMETHODCALLTYPE IFont_get_hFont_Proxy( 
  4129.     IFont __RPC_FAR * This,
  4130.     /* [out] */ HFONT __RPC_FAR *phFont);
  4131.  
  4132.  
  4133. void __RPC_STUB IFont_get_hFont_Stub(
  4134.     IRpcStubBuffer *This,
  4135.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4136.     PRPC_MESSAGE _pRpcMessage,
  4137.     DWORD *_pdwStubPhase);
  4138.  
  4139.  
  4140. HRESULT STDMETHODCALLTYPE IFont_Clone_Proxy( 
  4141.     IFont __RPC_FAR * This,
  4142.     /* [out] */ IFont __RPC_FAR *__RPC_FAR *ppFont);
  4143.  
  4144.  
  4145. void __RPC_STUB IFont_Clone_Stub(
  4146.     IRpcStubBuffer *This,
  4147.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4148.     PRPC_MESSAGE _pRpcMessage,
  4149.     DWORD *_pdwStubPhase);
  4150.  
  4151.  
  4152. HRESULT STDMETHODCALLTYPE IFont_IsEqual_Proxy( 
  4153.     IFont __RPC_FAR * This,
  4154.     /* [in] */ IFont __RPC_FAR *pFontOther);
  4155.  
  4156.  
  4157. void __RPC_STUB IFont_IsEqual_Stub(
  4158.     IRpcStubBuffer *This,
  4159.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4160.     PRPC_MESSAGE _pRpcMessage,
  4161.     DWORD *_pdwStubPhase);
  4162.  
  4163.  
  4164. HRESULT STDMETHODCALLTYPE IFont_SetRatio_Proxy( 
  4165.     IFont __RPC_FAR * This,
  4166.     /* [in] */ LONG cyLogical,
  4167.     /* [in] */ LONG cyHimetric);
  4168.  
  4169.  
  4170. void __RPC_STUB IFont_SetRatio_Stub(
  4171.     IRpcStubBuffer *This,
  4172.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4173.     PRPC_MESSAGE _pRpcMessage,
  4174.     DWORD *_pdwStubPhase);
  4175.  
  4176.  
  4177. HRESULT STDMETHODCALLTYPE IFont_QueryTextMetrics_Proxy( 
  4178.     IFont __RPC_FAR * This,
  4179.     /* [out] */ TEXTMETRICOLE __RPC_FAR *pTM);
  4180.  
  4181.  
  4182. void __RPC_STUB IFont_QueryTextMetrics_Stub(
  4183.     IRpcStubBuffer *This,
  4184.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4185.     PRPC_MESSAGE _pRpcMessage,
  4186.     DWORD *_pdwStubPhase);
  4187.  
  4188.  
  4189. HRESULT STDMETHODCALLTYPE IFont_AddRefHfont_Proxy( 
  4190.     IFont __RPC_FAR * This,
  4191.     /* [in] */ HFONT hFont);
  4192.  
  4193.  
  4194. void __RPC_STUB IFont_AddRefHfont_Stub(
  4195.     IRpcStubBuffer *This,
  4196.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4197.     PRPC_MESSAGE _pRpcMessage,
  4198.     DWORD *_pdwStubPhase);
  4199.  
  4200.  
  4201. HRESULT STDMETHODCALLTYPE IFont_ReleaseHfont_Proxy( 
  4202.     IFont __RPC_FAR * This,
  4203.     /* [in] */ HFONT hFont);
  4204.  
  4205.  
  4206. void __RPC_STUB IFont_ReleaseHfont_Stub(
  4207.     IRpcStubBuffer *This,
  4208.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4209.     PRPC_MESSAGE _pRpcMessage,
  4210.     DWORD *_pdwStubPhase);
  4211.  
  4212.  
  4213. HRESULT STDMETHODCALLTYPE IFont_SetHdc_Proxy( 
  4214.     IFont __RPC_FAR * This,
  4215.     /* [in] */ HDC hDC);
  4216.  
  4217.  
  4218. void __RPC_STUB IFont_SetHdc_Stub(
  4219.     IRpcStubBuffer *This,
  4220.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4221.     PRPC_MESSAGE _pRpcMessage,
  4222.     DWORD *_pdwStubPhase);
  4223.  
  4224.  
  4225.  
  4226. #endif     /* __IFont_INTERFACE_DEFINED__ */
  4227.  
  4228.  
  4229. #ifndef __IPicture_INTERFACE_DEFINED__
  4230. #define __IPicture_INTERFACE_DEFINED__
  4231.  
  4232. /****************************************
  4233.  * Generated header for interface: IPicture
  4234.  * at Thu Sep 11 10:57:01 1997
  4235.  * using MIDL 3.03.0110
  4236.  ****************************************/
  4237. /* [unique][uuid][object] */ 
  4238.  
  4239.  
  4240. typedef IPicture __RPC_FAR *LPPICTURE;
  4241.  
  4242. typedef 
  4243. enum tagPictureAttributes
  4244.     {    PICTURE_SCALABLE    = 0x1,
  4245.     PICTURE_TRANSPARENT    = 0x2
  4246.     }    PICTUREATTRIBUTES;
  4247.  
  4248. typedef UINT OLE_HANDLE;
  4249.  
  4250. typedef LONG OLE_XPOS_HIMETRIC;
  4251.  
  4252. typedef LONG OLE_YPOS_HIMETRIC;
  4253.  
  4254. typedef LONG OLE_XSIZE_HIMETRIC;
  4255.  
  4256. typedef LONG OLE_YSIZE_HIMETRIC;
  4257.  
  4258.  
  4259. EXTERN_C const IID IID_IPicture;
  4260.  
  4261. #if defined(__cplusplus) && !defined(CINTERFACE)
  4262.     
  4263.     MIDL_INTERFACE("7BF80980-BF32-101A-8BBB-00AA00300CAB")
  4264.     IPicture : public IUnknown
  4265.     {
  4266.     public:
  4267.         virtual HRESULT STDMETHODCALLTYPE get_Handle( 
  4268.             /* [out] */ OLE_HANDLE __RPC_FAR *pHandle) = 0;
  4269.         
  4270.         virtual HRESULT STDMETHODCALLTYPE get_hPal( 
  4271.             /* [out] */ OLE_HANDLE __RPC_FAR *phPal) = 0;
  4272.         
  4273.         virtual HRESULT STDMETHODCALLTYPE get_Type( 
  4274.             /* [out] */ SHORT __RPC_FAR *pType) = 0;
  4275.         
  4276.         virtual HRESULT STDMETHODCALLTYPE get_Width( 
  4277.             /* [out] */ OLE_XSIZE_HIMETRIC __RPC_FAR *pWidth) = 0;
  4278.         
  4279.         virtual HRESULT STDMETHODCALLTYPE get_Height( 
  4280.             /* [out] */ OLE_YSIZE_HIMETRIC __RPC_FAR *pHeight) = 0;
  4281.         
  4282.         virtual HRESULT STDMETHODCALLTYPE Render( 
  4283.             /* [in] */ HDC hDC,
  4284.             /* [in] */ LONG x,
  4285.             /* [in] */ LONG y,
  4286.             /* [in] */ LONG cx,
  4287.             /* [in] */ LONG cy,
  4288.             /* [in] */ OLE_XPOS_HIMETRIC xSrc,
  4289.             /* [in] */ OLE_YPOS_HIMETRIC ySrc,
  4290.             /* [in] */ OLE_XSIZE_HIMETRIC cxSrc,
  4291.             /* [in] */ OLE_YSIZE_HIMETRIC cySrc,
  4292.             /* [in] */ LPCRECT pRcWBounds) = 0;
  4293.         
  4294.         virtual HRESULT STDMETHODCALLTYPE set_hPal( 
  4295.             /* [in] */ OLE_HANDLE hPal) = 0;
  4296.         
  4297.         virtual HRESULT STDMETHODCALLTYPE get_CurDC( 
  4298.             /* [out] */ HDC __RPC_FAR *phDC) = 0;
  4299.         
  4300.         virtual HRESULT STDMETHODCALLTYPE SelectPicture( 
  4301.             /* [in] */ HDC hDCIn,
  4302.             /* [out] */ HDC __RPC_FAR *phDCOut,
  4303.             /* [out] */ OLE_HANDLE __RPC_FAR *phBmpOut) = 0;
  4304.         
  4305.         virtual HRESULT STDMETHODCALLTYPE get_KeepOriginalFormat( 
  4306.             /* [out] */ BOOL __RPC_FAR *pKeep) = 0;
  4307.         
  4308.         virtual HRESULT STDMETHODCALLTYPE put_KeepOriginalFormat( 
  4309.             /* [in] */ BOOL keep) = 0;
  4310.         
  4311.         virtual HRESULT STDMETHODCALLTYPE PictureChanged( void) = 0;
  4312.         
  4313.         virtual HRESULT STDMETHODCALLTYPE SaveAsFile( 
  4314.             /* [in] */ LPSTREAM pStream,
  4315.             /* [in] */ BOOL fSaveMemCopy,
  4316.             /* [out] */ LONG __RPC_FAR *pCbSize) = 0;
  4317.         
  4318.         virtual HRESULT STDMETHODCALLTYPE get_Attributes( 
  4319.             /* [out] */ DWORD __RPC_FAR *pDwAttr) = 0;
  4320.         
  4321.     };
  4322.     
  4323. #else     /* C style interface */
  4324.  
  4325.     typedef struct IPictureVtbl
  4326.     {
  4327.         BEGIN_INTERFACE
  4328.         
  4329.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  4330.             IPicture __RPC_FAR * This,
  4331.             /* [in] */ REFIID riid,
  4332.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4333.         
  4334.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  4335.             IPicture __RPC_FAR * This);
  4336.         
  4337.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  4338.             IPicture __RPC_FAR * This);
  4339.         
  4340.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Handle )( 
  4341.             IPicture __RPC_FAR * This,
  4342.             /* [out] */ OLE_HANDLE __RPC_FAR *pHandle);
  4343.         
  4344.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_hPal )( 
  4345.             IPicture __RPC_FAR * This,
  4346.             /* [out] */ OLE_HANDLE __RPC_FAR *phPal);
  4347.         
  4348.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Type )( 
  4349.             IPicture __RPC_FAR * This,
  4350.             /* [out] */ SHORT __RPC_FAR *pType);
  4351.         
  4352.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Width )( 
  4353.             IPicture __RPC_FAR * This,
  4354.             /* [out] */ OLE_XSIZE_HIMETRIC __RPC_FAR *pWidth);
  4355.         
  4356.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Height )( 
  4357.             IPicture __RPC_FAR * This,
  4358.             /* [out] */ OLE_YSIZE_HIMETRIC __RPC_FAR *pHeight);
  4359.         
  4360.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Render )( 
  4361.             IPicture __RPC_FAR * This,
  4362.             /* [in] */ HDC hDC,
  4363.             /* [in] */ LONG x,
  4364.             /* [in] */ LONG y,
  4365.             /* [in] */ LONG cx,
  4366.             /* [in] */ LONG cy,
  4367.             /* [in] */ OLE_XPOS_HIMETRIC xSrc,
  4368.             /* [in] */ OLE_YPOS_HIMETRIC ySrc,
  4369.             /* [in] */ OLE_XSIZE_HIMETRIC cxSrc,
  4370.             /* [in] */ OLE_YSIZE_HIMETRIC cySrc,
  4371.             /* [in] */ LPCRECT pRcWBounds);
  4372.         
  4373.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *set_hPal )( 
  4374.             IPicture __RPC_FAR * This,
  4375.             /* [in] */ OLE_HANDLE hPal);
  4376.         
  4377.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CurDC )( 
  4378.             IPicture __RPC_FAR * This,
  4379.             /* [out] */ HDC __RPC_FAR *phDC);
  4380.         
  4381.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SelectPicture )( 
  4382.             IPicture __RPC_FAR * This,
  4383.             /* [in] */ HDC hDCIn,
  4384.             /* [out] */ HDC __RPC_FAR *phDCOut,
  4385.             /* [out] */ OLE_HANDLE __RPC_FAR *phBmpOut);
  4386.         
  4387.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_KeepOriginalFormat )( 
  4388.             IPicture __RPC_FAR * This,
  4389.             /* [out] */ BOOL __RPC_FAR *pKeep);
  4390.         
  4391.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_KeepOriginalFormat )( 
  4392.             IPicture __RPC_FAR * This,
  4393.             /* [in] */ BOOL keep);
  4394.         
  4395.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PictureChanged )( 
  4396.             IPicture __RPC_FAR * This);
  4397.         
  4398.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SaveAsFile )( 
  4399.             IPicture __RPC_FAR * This,
  4400.             /* [in] */ LPSTREAM pStream,
  4401.             /* [in] */ BOOL fSaveMemCopy,
  4402.             /* [out] */ LONG __RPC_FAR *pCbSize);
  4403.         
  4404.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Attributes )( 
  4405.             IPicture __RPC_FAR * This,
  4406.             /* [out] */ DWORD __RPC_FAR *pDwAttr);
  4407.         
  4408.         END_INTERFACE
  4409.     } IPictureVtbl;
  4410.  
  4411.     interface IPicture
  4412.     {
  4413.         CONST_VTBL struct IPictureVtbl __RPC_FAR *lpVtbl;
  4414.     };
  4415.  
  4416.     
  4417.  
  4418. #ifdef COBJMACROS
  4419.  
  4420.  
  4421. #define IPicture_QueryInterface(This,riid,ppvObject)    \
  4422.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4423.  
  4424. #define IPicture_AddRef(This)    \
  4425.     (This)->lpVtbl -> AddRef(This)
  4426.  
  4427. #define IPicture_Release(This)    \
  4428.     (This)->lpVtbl -> Release(This)
  4429.  
  4430.  
  4431. #define IPicture_get_Handle(This,pHandle)    \
  4432.     (This)->lpVtbl -> get_Handle(This,pHandle)
  4433.  
  4434. #define IPicture_get_hPal(This,phPal)    \
  4435.     (This)->lpVtbl -> get_hPal(This,phPal)
  4436.  
  4437. #define IPicture_get_Type(This,pType)    \
  4438.     (This)->lpVtbl -> get_Type(This,pType)
  4439.  
  4440. #define IPicture_get_Width(This,pWidth)    \
  4441.     (This)->lpVtbl -> get_Width(This,pWidth)
  4442.  
  4443. #define IPicture_get_Height(This,pHeight)    \
  4444.     (This)->lpVtbl -> get_Height(This,pHeight)
  4445.  
  4446. #define IPicture_Render(This,hDC,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds)    \
  4447.     (This)->lpVtbl -> Render(This,hDC,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds)
  4448.  
  4449. #define IPicture_set_hPal(This,hPal)    \
  4450.     (This)->lpVtbl -> set_hPal(This,hPal)
  4451.  
  4452. #define IPicture_get_CurDC(This,phDC)    \
  4453.     (This)->lpVtbl -> get_CurDC(This,phDC)
  4454.  
  4455. #define IPicture_SelectPicture(This,hDCIn,phDCOut,phBmpOut)    \
  4456.     (This)->lpVtbl -> SelectPicture(This,hDCIn,phDCOut,phBmpOut)
  4457.  
  4458. #define IPicture_get_KeepOriginalFormat(This,pKeep)    \
  4459.     (This)->lpVtbl -> get_KeepOriginalFormat(This,pKeep)
  4460.  
  4461. #define IPicture_put_KeepOriginalFormat(This,keep)    \
  4462.     (This)->lpVtbl -> put_KeepOriginalFormat(This,keep)
  4463.  
  4464. #define IPicture_PictureChanged(This)    \
  4465.     (This)->lpVtbl -> PictureChanged(This)
  4466.  
  4467. #define IPicture_SaveAsFile(This,pStream,fSaveMemCopy,pCbSize)    \
  4468.     (This)->lpVtbl -> SaveAsFile(This,pStream,fSaveMemCopy,pCbSize)
  4469.  
  4470. #define IPicture_get_Attributes(This,pDwAttr)    \
  4471.     (This)->lpVtbl -> get_Attributes(This,pDwAttr)
  4472.  
  4473. #endif /* COBJMACROS */
  4474.  
  4475.  
  4476. #endif     /* C style interface */
  4477.  
  4478.  
  4479.  
  4480. HRESULT STDMETHODCALLTYPE IPicture_get_Handle_Proxy( 
  4481.     IPicture __RPC_FAR * This,
  4482.     /* [out] */ OLE_HANDLE __RPC_FAR *pHandle);
  4483.  
  4484.  
  4485. void __RPC_STUB IPicture_get_Handle_Stub(
  4486.     IRpcStubBuffer *This,
  4487.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4488.     PRPC_MESSAGE _pRpcMessage,
  4489.     DWORD *_pdwStubPhase);
  4490.  
  4491.  
  4492. HRESULT STDMETHODCALLTYPE IPicture_get_hPal_Proxy( 
  4493.     IPicture __RPC_FAR * This,
  4494.     /* [out] */ OLE_HANDLE __RPC_FAR *phPal);
  4495.  
  4496.  
  4497. void __RPC_STUB IPicture_get_hPal_Stub(
  4498.     IRpcStubBuffer *This,
  4499.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4500.     PRPC_MESSAGE _pRpcMessage,
  4501.     DWORD *_pdwStubPhase);
  4502.  
  4503.  
  4504. HRESULT STDMETHODCALLTYPE IPicture_get_Type_Proxy( 
  4505.     IPicture __RPC_FAR * This,
  4506.     /* [out] */ SHORT __RPC_FAR *pType);
  4507.  
  4508.  
  4509. void __RPC_STUB IPicture_get_Type_Stub(
  4510.     IRpcStubBuffer *This,
  4511.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4512.     PRPC_MESSAGE _pRpcMessage,
  4513.     DWORD *_pdwStubPhase);
  4514.  
  4515.  
  4516. HRESULT STDMETHODCALLTYPE IPicture_get_Width_Proxy( 
  4517.     IPicture __RPC_FAR * This,
  4518.     /* [out] */ OLE_XSIZE_HIMETRIC __RPC_FAR *pWidth);
  4519.  
  4520.  
  4521. void __RPC_STUB IPicture_get_Width_Stub(
  4522.     IRpcStubBuffer *This,
  4523.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4524.     PRPC_MESSAGE _pRpcMessage,
  4525.     DWORD *_pdwStubPhase);
  4526.  
  4527.  
  4528. HRESULT STDMETHODCALLTYPE IPicture_get_Height_Proxy( 
  4529.     IPicture __RPC_FAR * This,
  4530.     /* [out] */ OLE_YSIZE_HIMETRIC __RPC_FAR *pHeight);
  4531.  
  4532.  
  4533. void __RPC_STUB IPicture_get_Height_Stub(
  4534.     IRpcStubBuffer *This,
  4535.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4536.     PRPC_MESSAGE _pRpcMessage,
  4537.     DWORD *_pdwStubPhase);
  4538.  
  4539.  
  4540. HRESULT STDMETHODCALLTYPE IPicture_Render_Proxy( 
  4541.     IPicture __RPC_FAR * This,
  4542.     /* [in] */ HDC hDC,
  4543.     /* [in] */ LONG x,
  4544.     /* [in] */ LONG y,
  4545.     /* [in] */ LONG cx,
  4546.     /* [in] */ LONG cy,
  4547.     /* [in] */ OLE_XPOS_HIMETRIC xSrc,
  4548.     /* [in] */ OLE_YPOS_HIMETRIC ySrc,
  4549.     /* [in] */ OLE_XSIZE_HIMETRIC cxSrc,
  4550.     /* [in] */ OLE_YSIZE_HIMETRIC cySrc,
  4551.     /* [in] */ LPCRECT pRcWBounds);
  4552.  
  4553.  
  4554. void __RPC_STUB IPicture_Render_Stub(
  4555.     IRpcStubBuffer *This,
  4556.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4557.     PRPC_MESSAGE _pRpcMessage,
  4558.     DWORD *_pdwStubPhase);
  4559.  
  4560.  
  4561. HRESULT STDMETHODCALLTYPE IPicture_set_hPal_Proxy( 
  4562.     IPicture __RPC_FAR * This,
  4563.     /* [in] */ OLE_HANDLE hPal);
  4564.  
  4565.  
  4566. void __RPC_STUB IPicture_set_hPal_Stub(
  4567.     IRpcStubBuffer *This,
  4568.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4569.     PRPC_MESSAGE _pRpcMessage,
  4570.     DWORD *_pdwStubPhase);
  4571.  
  4572.  
  4573. HRESULT STDMETHODCALLTYPE IPicture_get_CurDC_Proxy( 
  4574.     IPicture __RPC_FAR * This,
  4575.     /* [out] */ HDC __RPC_FAR *phDC);
  4576.  
  4577.  
  4578. void __RPC_STUB IPicture_get_CurDC_Stub(
  4579.     IRpcStubBuffer *This,
  4580.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4581.     PRPC_MESSAGE _pRpcMessage,
  4582.     DWORD *_pdwStubPhase);
  4583.  
  4584.  
  4585. HRESULT STDMETHODCALLTYPE IPicture_SelectPicture_Proxy( 
  4586.     IPicture __RPC_FAR * This,
  4587.     /* [in] */ HDC hDCIn,
  4588.     /* [out] */ HDC __RPC_FAR *phDCOut,
  4589.     /* [out] */ OLE_HANDLE __RPC_FAR *phBmpOut);
  4590.  
  4591.  
  4592. void __RPC_STUB IPicture_SelectPicture_Stub(
  4593.     IRpcStubBuffer *This,
  4594.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4595.     PRPC_MESSAGE _pRpcMessage,
  4596.     DWORD *_pdwStubPhase);
  4597.  
  4598.  
  4599. HRESULT STDMETHODCALLTYPE IPicture_get_KeepOriginalFormat_Proxy( 
  4600.     IPicture __RPC_FAR * This,
  4601.     /* [out] */ BOOL __RPC_FAR *pKeep);
  4602.  
  4603.  
  4604. void __RPC_STUB IPicture_get_KeepOriginalFormat_Stub(
  4605.     IRpcStubBuffer *This,
  4606.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4607.     PRPC_MESSAGE _pRpcMessage,
  4608.     DWORD *_pdwStubPhase);
  4609.  
  4610.  
  4611. HRESULT STDMETHODCALLTYPE IPicture_put_KeepOriginalFormat_Proxy( 
  4612.     IPicture __RPC_FAR * This,
  4613.     /* [in] */ BOOL keep);
  4614.  
  4615.  
  4616. void __RPC_STUB IPicture_put_KeepOriginalFormat_Stub(
  4617.     IRpcStubBuffer *This,
  4618.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4619.     PRPC_MESSAGE _pRpcMessage,
  4620.     DWORD *_pdwStubPhase);
  4621.  
  4622.  
  4623. HRESULT STDMETHODCALLTYPE IPicture_PictureChanged_Proxy( 
  4624.     IPicture __RPC_FAR * This);
  4625.  
  4626.  
  4627. void __RPC_STUB IPicture_PictureChanged_Stub(
  4628.     IRpcStubBuffer *This,
  4629.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4630.     PRPC_MESSAGE _pRpcMessage,
  4631.     DWORD *_pdwStubPhase);
  4632.  
  4633.  
  4634. HRESULT STDMETHODCALLTYPE IPicture_SaveAsFile_Proxy( 
  4635.     IPicture __RPC_FAR * This,
  4636.     /* [in] */ LPSTREAM pStream,
  4637.     /* [in] */ BOOL fSaveMemCopy,
  4638.     /* [out] */ LONG __RPC_FAR *pCbSize);
  4639.  
  4640.  
  4641. void __RPC_STUB IPicture_SaveAsFile_Stub(
  4642.     IRpcStubBuffer *This,
  4643.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4644.     PRPC_MESSAGE _pRpcMessage,
  4645.     DWORD *_pdwStubPhase);
  4646.  
  4647.  
  4648. HRESULT STDMETHODCALLTYPE IPicture_get_Attributes_Proxy( 
  4649.     IPicture __RPC_FAR * This,
  4650.     /* [out] */ DWORD __RPC_FAR *pDwAttr);
  4651.  
  4652.  
  4653. void __RPC_STUB IPicture_get_Attributes_Stub(
  4654.     IRpcStubBuffer *This,
  4655.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4656.     PRPC_MESSAGE _pRpcMessage,
  4657.     DWORD *_pdwStubPhase);
  4658.  
  4659.  
  4660.  
  4661. #endif     /* __IPicture_INTERFACE_DEFINED__ */
  4662.  
  4663.  
  4664. #ifndef __IFontEventsDisp_INTERFACE_DEFINED__
  4665. #define __IFontEventsDisp_INTERFACE_DEFINED__
  4666.  
  4667. /****************************************
  4668.  * Generated header for interface: IFontEventsDisp
  4669.  * at Thu Sep 11 10:57:01 1997
  4670.  * using MIDL 3.03.0110
  4671.  ****************************************/
  4672. /* [unique][uuid][object] */ 
  4673.  
  4674.  
  4675. typedef __RPC_FAR *LPFONTEVENTS;
  4676.  
  4677.  
  4678. EXTERN_C const IID IID_IFontEventsDisp;
  4679.  
  4680. #if defined(__cplusplus) && !defined(CINTERFACE)
  4681.     
  4682.     MIDL_INTERFACE("4EF6100A-AF88-11D0-9846-00C04FC29993")
  4683.     IFontEventsDisp : public IDispatch
  4684.     {
  4685.     public:
  4686.     };
  4687.     
  4688. #else     /* C style interface */
  4689.  
  4690.     typedef struct IFontEventsDispVtbl
  4691.     {
  4692.         BEGIN_INTERFACE
  4693.         
  4694.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  4695.             IFontEventsDisp __RPC_FAR * This,
  4696.             /* [in] */ REFIID riid,
  4697.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4698.         
  4699.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  4700.             IFontEventsDisp __RPC_FAR * This);
  4701.         
  4702.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  4703.             IFontEventsDisp __RPC_FAR * This);
  4704.         
  4705.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  4706.             IFontEventsDisp __RPC_FAR * This,
  4707.             /* [out] */ UINT __RPC_FAR *pctinfo);
  4708.         
  4709.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  4710.             IFontEventsDisp __RPC_FAR * This,
  4711.             /* [in] */ UINT iTInfo,
  4712.             /* [in] */ LCID lcid,
  4713.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4714.         
  4715.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  4716.             IFontEventsDisp __RPC_FAR * This,
  4717.             /* [in] */ REFIID riid,
  4718.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4719.             /* [in] */ UINT cNames,
  4720.             /* [in] */ LCID lcid,
  4721.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4722.         
  4723.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  4724.             IFontEventsDisp __RPC_FAR * This,
  4725.             /* [in] */ DISPID dispIdMember,
  4726.             /* [in] */ REFIID riid,
  4727.             /* [in] */ LCID lcid,
  4728.             /* [in] */ WORD wFlags,
  4729.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4730.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4731.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4732.             /* [out] */ UINT __RPC_FAR *puArgErr);
  4733.         
  4734.         END_INTERFACE
  4735.     } IFontEventsDispVtbl;
  4736.  
  4737.     interface IFontEventsDisp
  4738.     {
  4739.         CONST_VTBL struct IFontEventsDispVtbl __RPC_FAR *lpVtbl;
  4740.     };
  4741.  
  4742.     
  4743.  
  4744. #ifdef COBJMACROS
  4745.  
  4746.  
  4747. #define IFontEventsDisp_QueryInterface(This,riid,ppvObject)    \
  4748.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4749.  
  4750. #define IFontEventsDisp_AddRef(This)    \
  4751.     (This)->lpVtbl -> AddRef(This)
  4752.  
  4753. #define IFontEventsDisp_Release(This)    \
  4754.     (This)->lpVtbl -> Release(This)
  4755.  
  4756.  
  4757. #define IFontEventsDisp_GetTypeInfoCount(This,pctinfo)    \
  4758.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4759.  
  4760. #define IFontEventsDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  4761.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4762.  
  4763. #define IFontEventsDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  4764.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4765.  
  4766. #define IFontEventsDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  4767.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4768.  
  4769.  
  4770. #endif /* COBJMACROS */
  4771.  
  4772.  
  4773. #endif     /* C style interface */
  4774.  
  4775.  
  4776.  
  4777.  
  4778. #endif     /* __IFontEventsDisp_INTERFACE_DEFINED__ */
  4779.  
  4780.  
  4781. #ifndef __IFontDisp_INTERFACE_DEFINED__
  4782. #define __IFontDisp_INTERFACE_DEFINED__
  4783.  
  4784. /****************************************
  4785.  * Generated header for interface: IFontDisp
  4786.  * at Thu Sep 11 10:57:01 1997
  4787.  * using MIDL 3.03.0110
  4788.  ****************************************/
  4789. /* [unique][uuid][object] */ 
  4790.  
  4791.  
  4792. typedef IFontDisp __RPC_FAR *LPFONTDISP;
  4793.  
  4794.  
  4795. EXTERN_C const IID IID_IFontDisp;
  4796.  
  4797. #if defined(__cplusplus) && !defined(CINTERFACE)
  4798.     
  4799.     MIDL_INTERFACE("BEF6E003-A874-101A-8BBA-00AA00300CAB")
  4800.     IFontDisp : public IDispatch
  4801.     {
  4802.     public:
  4803.     };
  4804.     
  4805. #else     /* C style interface */
  4806.  
  4807.     typedef struct IFontDispVtbl
  4808.     {
  4809.         BEGIN_INTERFACE
  4810.         
  4811.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  4812.             IFontDisp __RPC_FAR * This,
  4813.             /* [in] */ REFIID riid,
  4814.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4815.         
  4816.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  4817.             IFontDisp __RPC_FAR * This);
  4818.         
  4819.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  4820.             IFontDisp __RPC_FAR * This);
  4821.         
  4822.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  4823.             IFontDisp __RPC_FAR * This,
  4824.             /* [out] */ UINT __RPC_FAR *pctinfo);
  4825.         
  4826.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  4827.             IFontDisp __RPC_FAR * This,
  4828.             /* [in] */ UINT iTInfo,
  4829.             /* [in] */ LCID lcid,
  4830.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4831.         
  4832.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  4833.             IFontDisp __RPC_FAR * This,
  4834.             /* [in] */ REFIID riid,
  4835.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4836.             /* [in] */ UINT cNames,
  4837.             /* [in] */ LCID lcid,
  4838.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4839.         
  4840.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  4841.             IFontDisp __RPC_FAR * This,
  4842.             /* [in] */ DISPID dispIdMember,
  4843.             /* [in] */ REFIID riid,
  4844.             /* [in] */ LCID lcid,
  4845.             /* [in] */ WORD wFlags,
  4846.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4847.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4848.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4849.             /* [out] */ UINT __RPC_FAR *puArgErr);
  4850.         
  4851.         END_INTERFACE
  4852.     } IFontDispVtbl;
  4853.  
  4854.     interface IFontDisp
  4855.     {
  4856.         CONST_VTBL struct IFontDispVtbl __RPC_FAR *lpVtbl;
  4857.     };
  4858.  
  4859.     
  4860.  
  4861. #ifdef COBJMACROS
  4862.  
  4863.  
  4864. #define IFontDisp_QueryInterface(This,riid,ppvObject)    \
  4865.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4866.  
  4867. #define IFontDisp_AddRef(This)    \
  4868.     (This)->lpVtbl -> AddRef(This)
  4869.  
  4870. #define IFontDisp_Release(This)    \
  4871.     (This)->lpVtbl -> Release(This)
  4872.  
  4873.  
  4874. #define IFontDisp_GetTypeInfoCount(This,pctinfo)    \
  4875.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4876.  
  4877. #define IFontDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  4878.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4879.  
  4880. #define IFontDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  4881.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4882.  
  4883. #define IFontDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  4884.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4885.  
  4886.  
  4887. #endif /* COBJMACROS */
  4888.  
  4889.  
  4890. #endif     /* C style interface */
  4891.  
  4892.  
  4893.  
  4894.  
  4895. #endif     /* __IFontDisp_INTERFACE_DEFINED__ */
  4896.  
  4897.  
  4898. #ifndef __IPictureDisp_INTERFACE_DEFINED__
  4899. #define __IPictureDisp_INTERFACE_DEFINED__
  4900.  
  4901. /****************************************
  4902.  * Generated header for interface: IPictureDisp
  4903.  * at Thu Sep 11 10:57:01 1997
  4904.  * using MIDL 3.03.0110
  4905.  ****************************************/
  4906. /* [unique][uuid][object] */ 
  4907.  
  4908.  
  4909. typedef IPictureDisp __RPC_FAR *LPPICTUREDISP;
  4910.  
  4911.  
  4912. EXTERN_C const IID IID_IPictureDisp;
  4913.  
  4914. #if defined(__cplusplus) && !defined(CINTERFACE)
  4915.     
  4916.     MIDL_INTERFACE("7BF80981-BF32-101A-8BBB-00AA00300CAB")
  4917.     IPictureDisp : public IDispatch
  4918.     {
  4919.     public:
  4920.     };
  4921.     
  4922. #else     /* C style interface */
  4923.  
  4924.     typedef struct IPictureDispVtbl
  4925.     {
  4926.         BEGIN_INTERFACE
  4927.         
  4928.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  4929.             IPictureDisp __RPC_FAR * This,
  4930.             /* [in] */ REFIID riid,
  4931.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4932.         
  4933.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  4934.             IPictureDisp __RPC_FAR * This);
  4935.         
  4936.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  4937.             IPictureDisp __RPC_FAR * This);
  4938.         
  4939.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  4940.             IPictureDisp __RPC_FAR * This,
  4941.             /* [out] */ UINT __RPC_FAR *pctinfo);
  4942.         
  4943.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  4944.             IPictureDisp __RPC_FAR * This,
  4945.             /* [in] */ UINT iTInfo,
  4946.             /* [in] */ LCID lcid,
  4947.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4948.         
  4949.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  4950.             IPictureDisp __RPC_FAR * This,
  4951.             /* [in] */ REFIID riid,
  4952.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4953.             /* [in] */ UINT cNames,
  4954.             /* [in] */ LCID lcid,
  4955.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4956.         
  4957.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  4958.             IPictureDisp __RPC_FAR * This,
  4959.             /* [in] */ DISPID dispIdMember,
  4960.             /* [in] */ REFIID riid,
  4961.             /* [in] */ LCID lcid,
  4962.             /* [in] */ WORD wFlags,
  4963.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4964.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4965.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4966.             /* [out] */ UINT __RPC_FAR *puArgErr);
  4967.         
  4968.         END_INTERFACE
  4969.     } IPictureDispVtbl;
  4970.  
  4971.     interface IPictureDisp
  4972.     {
  4973.         CONST_VTBL struct IPictureDispVtbl __RPC_FAR *lpVtbl;
  4974.     };
  4975.  
  4976.     
  4977.  
  4978. #ifdef COBJMACROS
  4979.  
  4980.  
  4981. #define IPictureDisp_QueryInterface(This,riid,ppvObject)    \
  4982.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4983.  
  4984. #define IPictureDisp_AddRef(This)    \
  4985.     (This)->lpVtbl -> AddRef(This)
  4986.  
  4987. #define IPictureDisp_Release(This)    \
  4988.     (This)->lpVtbl -> Release(This)
  4989.  
  4990.  
  4991. #define IPictureDisp_GetTypeInfoCount(This,pctinfo)    \
  4992.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4993.  
  4994. #define IPictureDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  4995.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4996.  
  4997. #define IPictureDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  4998.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4999.  
  5000. #define IPictureDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  5001.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5002.  
  5003.  
  5004. #endif /* COBJMACROS */
  5005.  
  5006.  
  5007. #endif     /* C style interface */
  5008.  
  5009.  
  5010.  
  5011.  
  5012. #endif     /* __IPictureDisp_INTERFACE_DEFINED__ */
  5013.  
  5014.  
  5015. #ifndef __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__
  5016. #define __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__
  5017.  
  5018. /****************************************
  5019.  * Generated header for interface: IOleInPlaceObjectWindowless
  5020.  * at Thu Sep 11 10:57:01 1997
  5021.  * using MIDL 3.03.0110
  5022.  ****************************************/
  5023. /* [uuid][unique][object][local] */ 
  5024.  
  5025.  
  5026. typedef IOleInPlaceObjectWindowless __RPC_FAR *LPOLEINPLACEOBJECTWINDOWLESS;
  5027.  
  5028.  
  5029. EXTERN_C const IID IID_IOleInPlaceObjectWindowless;
  5030.  
  5031. #if defined(__cplusplus) && !defined(CINTERFACE)
  5032.     
  5033.     MIDL_INTERFACE("1C2056CC-5EF4-101B-8BC8-00AA003E3B29")
  5034.     IOleInPlaceObjectWindowless : public IOleInPlaceObject
  5035.     {
  5036.     public:
  5037.         virtual HRESULT STDMETHODCALLTYPE OnWindowMessage( 
  5038.             /* [in] */ UINT msg,
  5039.             /* [in] */ WPARAM wParam,
  5040.             /* [in] */ LPARAM lParam,
  5041.             /* [out] */ LRESULT __RPC_FAR *plResult) = 0;
  5042.         
  5043.         virtual HRESULT STDMETHODCALLTYPE GetDropTarget( 
  5044.             /* [out] */ IDropTarget __RPC_FAR *__RPC_FAR *ppDropTarget) = 0;
  5045.         
  5046.     };
  5047.     
  5048. #else     /* C style interface */
  5049.  
  5050.     typedef struct IOleInPlaceObjectWindowlessVtbl
  5051.     {
  5052.         BEGIN_INTERFACE
  5053.         
  5054.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  5055.             IOleInPlaceObjectWindowless __RPC_FAR * This,
  5056.             /* [in] */ REFIID riid,
  5057.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5058.         
  5059.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  5060.             IOleInPlaceObjectWindowless __RPC_FAR * This);
  5061.         
  5062.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  5063.             IOleInPlaceObjectWindowless __RPC_FAR * This);
  5064.         
  5065.         /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindow )( 
  5066.             IOleInPlaceObjectWindowless __RPC_FAR * This,
  5067.             /* [out] */ HWND __RPC_FAR *phwnd);
  5068.         
  5069.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ContextSensitiveHelp )( 
  5070.             IOleInPlaceObjectWindowless __RPC_FAR * This,
  5071.             /* [in] */ BOOL fEnterMode);
  5072.         
  5073.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InPlaceDeactivate )( 
  5074.             IOleInPlaceObjectWindowless __RPC_FAR * This);
  5075.         
  5076.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UIDeactivate )( 
  5077.             IOleInPlaceObjectWindowless __RPC_FAR * This);
  5078.         
  5079.         /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetObjectRects )( 
  5080.             IOleInPlaceObjectWindowless __RPC_FAR * This,
  5081.             /* [in] */ LPCRECT lprcPosRect,
  5082.             /* [in] */ LPCRECT lprcClipRect);
  5083.         
  5084.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReactivateAndUndo )( 
  5085.             IOleInPlaceObjectWindowless __RPC_FAR * This);
  5086.         
  5087.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnWindowMessage )( 
  5088.             IOleInPlaceObjectWindowless __RPC_FAR * This,
  5089.             /* [in] */ UINT msg,
  5090.             /* [in] */ WPARAM wParam,
  5091.             /* [in] */ LPARAM lParam,
  5092.             /* [out] */ LRESULT __RPC_FAR *plResult);
  5093.         
  5094.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDropTarget )( 
  5095.             IOleInPlaceObjectWindowless __RPC_FAR * This,
  5096.             /* [out] */ IDropTarget __RPC_FAR *__RPC_FAR *ppDropTarget);
  5097.         
  5098.         END_INTERFACE
  5099.     } IOleInPlaceObjectWindowlessVtbl;
  5100.  
  5101.     interface IOleInPlaceObjectWindowless
  5102.     {
  5103.         CONST_VTBL struct IOleInPlaceObjectWindowlessVtbl __RPC_FAR *lpVtbl;
  5104.     };
  5105.  
  5106.     
  5107.  
  5108. #ifdef COBJMACROS
  5109.  
  5110.  
  5111. #define IOleInPlaceObjectWindowless_QueryInterface(This,riid,ppvObject)    \
  5112.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5113.  
  5114. #define IOleInPlaceObjectWindowless_AddRef(This)    \
  5115.     (This)->lpVtbl -> AddRef(This)
  5116.  
  5117. #define IOleInPlaceObjectWindowless_Release(This)    \
  5118.     (This)->lpVtbl -> Release(This)
  5119.  
  5120.  
  5121. #define IOleInPlaceObjectWindowless_GetWindow(This,phwnd)    \
  5122.     (This)->lpVtbl -> GetWindow(This,phwnd)
  5123.  
  5124. #define IOleInPlaceObjectWindowless_ContextSensitiveHelp(This,fEnterMode)    \
  5125.     (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  5126.  
  5127.  
  5128. #define IOleInPlaceObjectWindowless_InPlaceDeactivate(This)    \
  5129.     (This)->lpVtbl -> InPlaceDeactivate(This)
  5130.  
  5131. #define IOleInPlaceObjectWindowless_UIDeactivate(This)    \
  5132.     (This)->lpVtbl -> UIDeactivate(This)
  5133.  
  5134. #define IOleInPlaceObjectWindowless_SetObjectRects(This,lprcPosRect,lprcClipRect)    \
  5135.     (This)->lpVtbl -> SetObjectRects(This,lprcPosRect,lprcClipRect)
  5136.  
  5137. #define IOleInPlaceObjectWindowless_ReactivateAndUndo(This)    \
  5138.     (This)->lpVtbl -> ReactivateAndUndo(This)
  5139.  
  5140.  
  5141. #define IOleInPlaceObjectWindowless_OnWindowMessage(This,msg,wParam,lParam,plResult)    \
  5142.     (This)->lpVtbl -> OnWindowMessage(This,msg,wParam,lParam,plResult)
  5143.  
  5144. #define IOleInPlaceObjectWindowless_GetDropTarget(This,ppDropTarget)    \
  5145.     (This)->lpVtbl -> GetDropTarget(This,ppDropTarget)
  5146.  
  5147. #endif /* COBJMACROS */
  5148.  
  5149.  
  5150. #endif     /* C style interface */
  5151.  
  5152.  
  5153.  
  5154. HRESULT STDMETHODCALLTYPE IOleInPlaceObjectWindowless_OnWindowMessage_Proxy( 
  5155.     IOleInPlaceObjectWindowless __RPC_FAR * This,
  5156.     /* [in] */ UINT msg,
  5157.     /* [in] */ WPARAM wParam,
  5158.     /* [in] */ LPARAM lParam,
  5159.     /* [out] */ LRESULT __RPC_FAR *plResult);
  5160.  
  5161.  
  5162. void __RPC_STUB IOleInPlaceObjectWindowless_OnWindowMessage_Stub(
  5163.     IRpcStubBuffer *This,
  5164.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5165.     PRPC_MESSAGE _pRpcMessage,
  5166.     DWORD *_pdwStubPhase);
  5167.  
  5168.  
  5169. HRESULT STDMETHODCALLTYPE IOleInPlaceObjectWindowless_GetDropTarget_Proxy( 
  5170.     IOleInPlaceObjectWindowless __RPC_FAR * This,
  5171.     /* [out] */ IDropTarget __RPC_FAR *__RPC_FAR *ppDropTarget);
  5172.  
  5173.  
  5174. void __RPC_STUB IOleInPlaceObjectWindowless_GetDropTarget_Stub(
  5175.     IRpcStubBuffer *This,
  5176.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5177.     PRPC_MESSAGE _pRpcMessage,
  5178.     DWORD *_pdwStubPhase);
  5179.  
  5180.  
  5181.  
  5182. #endif     /* __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__ */
  5183.  
  5184.  
  5185. #ifndef __IOleInPlaceSiteEx_INTERFACE_DEFINED__
  5186. #define __IOleInPlaceSiteEx_INTERFACE_DEFINED__
  5187.  
  5188. /****************************************
  5189.  * Generated header for interface: IOleInPlaceSiteEx
  5190.  * at Thu Sep 11 10:57:01 1997
  5191.  * using MIDL 3.03.0110
  5192.  ****************************************/
  5193. /* [uuid][unique][object] */ 
  5194.  
  5195.  
  5196. typedef IOleInPlaceSiteEx __RPC_FAR *LPOLEINPLACESITEEX;
  5197.  
  5198. typedef /* [v1_enum] */ 
  5199. enum tagACTIVATEFLAGS
  5200.     {    ACTIVATE_WINDOWLESS    = 1
  5201.     }    ACTIVATEFLAGS;
  5202.  
  5203.  
  5204. EXTERN_C const IID IID_IOleInPlaceSiteEx;
  5205.  
  5206. #if defined(__cplusplus) && !defined(CINTERFACE)
  5207.     
  5208.     MIDL_INTERFACE("9C2CAD80-3424-11CF-B670-00AA004CD6D8")
  5209.     IOleInPlaceSiteEx : public IOleInPlaceSite
  5210.     {
  5211.     public:
  5212.         virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivateEx( 
  5213.             /* [out] */ BOOL __RPC_FAR *pfNoRedraw,
  5214.             /* [in] */ DWORD dwFlags) = 0;
  5215.         
  5216.         virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivateEx( 
  5217.             /* [in] */ BOOL fNoRedraw) = 0;
  5218.         
  5219.         virtual HRESULT STDMETHODCALLTYPE RequestUIActivate( void) = 0;
  5220.         
  5221.     };
  5222.     
  5223. #else     /* C style interface */
  5224.  
  5225.     typedef struct IOleInPlaceSiteExVtbl
  5226.     {
  5227.         BEGIN_INTERFACE
  5228.         
  5229.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  5230.             IOleInPlaceSiteEx __RPC_FAR * This,
  5231.             /* [in] */ REFIID riid,
  5232.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5233.         
  5234.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  5235.             IOleInPlaceSiteEx __RPC_FAR * This);
  5236.         
  5237.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  5238.             IOleInPlaceSiteEx __RPC_FAR * This);
  5239.         
  5240.         /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindow )( 
  5241.             IOleInPlaceSiteEx __RPC_FAR * This,
  5242.             /* [out] */ HWND __RPC_FAR *phwnd);
  5243.         
  5244.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ContextSensitiveHelp )( 
  5245.             IOleInPlaceSiteEx __RPC_FAR * This,
  5246.             /* [in] */ BOOL fEnterMode);
  5247.         
  5248.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanInPlaceActivate )( 
  5249.             IOleInPlaceSiteEx __RPC_FAR * This);
  5250.         
  5251.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceActivate )( 
  5252.             IOleInPlaceSiteEx __RPC_FAR * This);
  5253.         
  5254.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnUIActivate )( 
  5255.             IOleInPlaceSiteEx __RPC_FAR * This);
  5256.         
  5257.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindowContext )( 
  5258.             IOleInPlaceSiteEx __RPC_FAR * This,
  5259.             /* [out] */ IOleInPlaceFrame __RPC_FAR *__RPC_FAR *ppFrame,
  5260.             /* [out] */ IOleInPlaceUIWindow __RPC_FAR *__RPC_FAR *ppDoc,
  5261.             /* [out] */ LPRECT lprcPosRect,
  5262.             /* [out] */ LPRECT lprcClipRect,
  5263.             /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
  5264.         
  5265.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Scroll )( 
  5266.             IOleInPlaceSiteEx __RPC_FAR * This,
  5267.             /* [in] */ SIZE scrollExtant);
  5268.         
  5269.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnUIDeactivate )( 
  5270.             IOleInPlaceSiteEx __RPC_FAR * This,
  5271.             /* [in] */ BOOL fUndoable);
  5272.         
  5273.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceDeactivate )( 
  5274.             IOleInPlaceSiteEx __RPC_FAR * This);
  5275.         
  5276.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DiscardUndoState )( 
  5277.             IOleInPlaceSiteEx __RPC_FAR * This);
  5278.         
  5279.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeactivateAndUndo )( 
  5280.             IOleInPlaceSiteEx __RPC_FAR * This);
  5281.         
  5282.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnPosRectChange )( 
  5283.             IOleInPlaceSiteEx __RPC_FAR * This,
  5284.             /* [in] */ LPCRECT lprcPosRect);
  5285.         
  5286.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceActivateEx )( 
  5287.             IOleInPlaceSiteEx __RPC_FAR * This,
  5288.             /* [out] */ BOOL __RPC_FAR *pfNoRedraw,
  5289.             /* [in] */ DWORD dwFlags);
  5290.         
  5291.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceDeactivateEx )( 
  5292.             IOleInPlaceSiteEx __RPC_FAR * This,
  5293.             /* [in] */ BOOL fNoRedraw);
  5294.         
  5295.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestUIActivate )( 
  5296.             IOleInPlaceSiteEx __RPC_FAR * This);
  5297.         
  5298.         END_INTERFACE
  5299.     } IOleInPlaceSiteExVtbl;
  5300.  
  5301.     interface IOleInPlaceSiteEx
  5302.     {
  5303.         CONST_VTBL struct IOleInPlaceSiteExVtbl __RPC_FAR *lpVtbl;
  5304.     };
  5305.  
  5306.     
  5307.  
  5308. #ifdef COBJMACROS
  5309.  
  5310.  
  5311. #define IOleInPlaceSiteEx_QueryInterface(This,riid,ppvObject)    \
  5312.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5313.  
  5314. #define IOleInPlaceSiteEx_AddRef(This)    \
  5315.     (This)->lpVtbl -> AddRef(This)
  5316.  
  5317. #define IOleInPlaceSiteEx_Release(This)    \
  5318.     (This)->lpVtbl -> Release(This)
  5319.  
  5320.  
  5321. #define IOleInPlaceSiteEx_GetWindow(This,phwnd)    \
  5322.     (This)->lpVtbl -> GetWindow(This,phwnd)
  5323.  
  5324. #define IOleInPlaceSiteEx_ContextSensitiveHelp(This,fEnterMode)    \
  5325.     (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  5326.  
  5327.  
  5328. #define IOleInPlaceSiteEx_CanInPlaceActivate(This)    \
  5329.     (This)->lpVtbl -> CanInPlaceActivate(This)
  5330.  
  5331. #define IOleInPlaceSiteEx_OnInPlaceActivate(This)    \
  5332.     (This)->lpVtbl -> OnInPlaceActivate(This)
  5333.  
  5334. #define IOleInPlaceSiteEx_OnUIActivate(This)    \
  5335.     (This)->lpVtbl -> OnUIActivate(This)
  5336.  
  5337. #define IOleInPlaceSiteEx_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)    \
  5338.     (This)->lpVtbl -> GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
  5339.  
  5340. #define IOleInPlaceSiteEx_Scroll(This,scrollExtant)    \
  5341.     (This)->lpVtbl -> Scroll(This,scrollExtant)
  5342.  
  5343. #define IOleInPlaceSiteEx_OnUIDeactivate(This,fUndoable)    \
  5344.     (This)->lpVtbl -> OnUIDeactivate(This,fUndoable)
  5345.  
  5346. #define IOleInPlaceSiteEx_OnInPlaceDeactivate(This)    \
  5347.     (This)->lpVtbl -> OnInPlaceDeactivate(This)
  5348.  
  5349. #define IOleInPlaceSiteEx_DiscardUndoState(This)    \
  5350.     (This)->lpVtbl -> DiscardUndoState(This)
  5351.  
  5352. #define IOleInPlaceSiteEx_DeactivateAndUndo(This)    \
  5353.     (This)->lpVtbl -> DeactivateAndUndo(This)
  5354.  
  5355. #define IOleInPlaceSiteEx_OnPosRectChange(This,lprcPosRect)    \
  5356.     (This)->lpVtbl -> OnPosRectChange(This,lprcPosRect)
  5357.  
  5358.  
  5359. #define IOleInPlaceSiteEx_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)    \
  5360.     (This)->lpVtbl -> OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
  5361.  
  5362. #define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(This,fNoRedraw)    \
  5363.     (This)->lpVtbl -> OnInPlaceDeactivateEx(This,fNoRedraw)
  5364.  
  5365. #define IOleInPlaceSiteEx_RequestUIActivate(This)    \
  5366.     (This)->lpVtbl -> RequestUIActivate(This)
  5367.  
  5368. #endif /* COBJMACROS */
  5369.  
  5370.  
  5371. #endif     /* C style interface */
  5372.  
  5373.  
  5374.  
  5375. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteEx_OnInPlaceActivateEx_Proxy( 
  5376.     IOleInPlaceSiteEx __RPC_FAR * This,
  5377.     /* [out] */ BOOL __RPC_FAR *pfNoRedraw,
  5378.     /* [in] */ DWORD dwFlags);
  5379.  
  5380.  
  5381. void __RPC_STUB IOleInPlaceSiteEx_OnInPlaceActivateEx_Stub(
  5382.     IRpcStubBuffer *This,
  5383.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5384.     PRPC_MESSAGE _pRpcMessage,
  5385.     DWORD *_pdwStubPhase);
  5386.  
  5387.  
  5388. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteEx_OnInPlaceDeactivateEx_Proxy( 
  5389.     IOleInPlaceSiteEx __RPC_FAR * This,
  5390.     /* [in] */ BOOL fNoRedraw);
  5391.  
  5392.  
  5393. void __RPC_STUB IOleInPlaceSiteEx_OnInPlaceDeactivateEx_Stub(
  5394.     IRpcStubBuffer *This,
  5395.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5396.     PRPC_MESSAGE _pRpcMessage,
  5397.     DWORD *_pdwStubPhase);
  5398.  
  5399.  
  5400. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteEx_RequestUIActivate_Proxy( 
  5401.     IOleInPlaceSiteEx __RPC_FAR * This);
  5402.  
  5403.  
  5404. void __RPC_STUB IOleInPlaceSiteEx_RequestUIActivate_Stub(
  5405.     IRpcStubBuffer *This,
  5406.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5407.     PRPC_MESSAGE _pRpcMessage,
  5408.     DWORD *_pdwStubPhase);
  5409.  
  5410.  
  5411.  
  5412. #endif     /* __IOleInPlaceSiteEx_INTERFACE_DEFINED__ */
  5413.  
  5414.  
  5415. #ifndef __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__
  5416. #define __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__
  5417.  
  5418. /****************************************
  5419.  * Generated header for interface: IOleInPlaceSiteWindowless
  5420.  * at Thu Sep 11 10:57:01 1997
  5421.  * using MIDL 3.03.0110
  5422.  ****************************************/
  5423. /* [uuid][unique][object][local] */ 
  5424.  
  5425.  
  5426. typedef IOleInPlaceSiteWindowless __RPC_FAR *LPOLEINPLACESITEWINDOWLESS;
  5427.  
  5428. typedef /* [v1_enum] */ 
  5429. enum tagOLEDCFLAGS
  5430.     {    OLEDC_NODRAW    = 0x1,
  5431.     OLEDC_PAINTBKGND    = 0x2,
  5432.     OLEDC_OFFSCREEN    = 0x4
  5433.     }    OLEDCFLAGS;
  5434.  
  5435.  
  5436. EXTERN_C const IID IID_IOleInPlaceSiteWindowless;
  5437.  
  5438. #if defined(__cplusplus) && !defined(CINTERFACE)
  5439.     
  5440.     MIDL_INTERFACE("922EADA0-3424-11CF-B670-00AA004CD6D8")
  5441.     IOleInPlaceSiteWindowless : public IOleInPlaceSiteEx
  5442.     {
  5443.     public:
  5444.         virtual HRESULT STDMETHODCALLTYPE CanWindowlessActivate( void) = 0;
  5445.         
  5446.         virtual HRESULT STDMETHODCALLTYPE GetCapture( void) = 0;
  5447.         
  5448.         virtual HRESULT STDMETHODCALLTYPE SetCapture( 
  5449.             /* [in] */ BOOL fCapture) = 0;
  5450.         
  5451.         virtual HRESULT STDMETHODCALLTYPE GetFocus( void) = 0;
  5452.         
  5453.         virtual HRESULT STDMETHODCALLTYPE SetFocus( 
  5454.             /* [in] */ BOOL fFocus) = 0;
  5455.         
  5456.         virtual HRESULT STDMETHODCALLTYPE GetDC( 
  5457.             /* [in] */ LPCRECT pRect,
  5458.             /* [in] */ DWORD grfFlags,
  5459.             /* [out] */ HDC __RPC_FAR *phDC) = 0;
  5460.         
  5461.         virtual HRESULT STDMETHODCALLTYPE ReleaseDC( 
  5462.             /* [in] */ HDC hDC) = 0;
  5463.         
  5464.         virtual HRESULT STDMETHODCALLTYPE InvalidateRect( 
  5465.             /* [in] */ LPCRECT pRect,
  5466.             /* [in] */ BOOL fErase) = 0;
  5467.         
  5468.         virtual HRESULT STDMETHODCALLTYPE InvalidateRgn( 
  5469.             /* [in] */ HRGN hRGN,
  5470.             /* [in] */ BOOL fErase) = 0;
  5471.         
  5472.         virtual HRESULT STDMETHODCALLTYPE ScrollRect( 
  5473.             /* [in] */ INT dx,
  5474.             /* [in] */ INT dy,
  5475.             /* [in] */ LPCRECT pRectScroll,
  5476.             /* [in] */ LPCRECT pRectClip) = 0;
  5477.         
  5478.         virtual HRESULT STDMETHODCALLTYPE AdjustRect( 
  5479.             /* [out][in] */ LPRECT prc) = 0;
  5480.         
  5481.         virtual HRESULT STDMETHODCALLTYPE OnDefWindowMessage( 
  5482.             /* [in] */ UINT msg,
  5483.             /* [in] */ WPARAM wParam,
  5484.             /* [in] */ LPARAM lParam,
  5485.             /* [out] */ LRESULT __RPC_FAR *plResult) = 0;
  5486.         
  5487.     };
  5488.     
  5489. #else     /* C style interface */
  5490.  
  5491.     typedef struct IOleInPlaceSiteWindowlessVtbl
  5492.     {
  5493.         BEGIN_INTERFACE
  5494.         
  5495.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  5496.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5497.             /* [in] */ REFIID riid,
  5498.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5499.         
  5500.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  5501.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5502.         
  5503.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  5504.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5505.         
  5506.         /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindow )( 
  5507.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5508.             /* [out] */ HWND __RPC_FAR *phwnd);
  5509.         
  5510.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ContextSensitiveHelp )( 
  5511.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5512.             /* [in] */ BOOL fEnterMode);
  5513.         
  5514.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanInPlaceActivate )( 
  5515.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5516.         
  5517.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceActivate )( 
  5518.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5519.         
  5520.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnUIActivate )( 
  5521.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5522.         
  5523.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindowContext )( 
  5524.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5525.             /* [out] */ IOleInPlaceFrame __RPC_FAR *__RPC_FAR *ppFrame,
  5526.             /* [out] */ IOleInPlaceUIWindow __RPC_FAR *__RPC_FAR *ppDoc,
  5527.             /* [out] */ LPRECT lprcPosRect,
  5528.             /* [out] */ LPRECT lprcClipRect,
  5529.             /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
  5530.         
  5531.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Scroll )( 
  5532.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5533.             /* [in] */ SIZE scrollExtant);
  5534.         
  5535.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnUIDeactivate )( 
  5536.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5537.             /* [in] */ BOOL fUndoable);
  5538.         
  5539.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceDeactivate )( 
  5540.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5541.         
  5542.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DiscardUndoState )( 
  5543.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5544.         
  5545.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeactivateAndUndo )( 
  5546.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5547.         
  5548.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnPosRectChange )( 
  5549.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5550.             /* [in] */ LPCRECT lprcPosRect);
  5551.         
  5552.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceActivateEx )( 
  5553.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5554.             /* [out] */ BOOL __RPC_FAR *pfNoRedraw,
  5555.             /* [in] */ DWORD dwFlags);
  5556.         
  5557.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceDeactivateEx )( 
  5558.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5559.             /* [in] */ BOOL fNoRedraw);
  5560.         
  5561.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestUIActivate )( 
  5562.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5563.         
  5564.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanWindowlessActivate )( 
  5565.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5566.         
  5567.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCapture )( 
  5568.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5569.         
  5570.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCapture )( 
  5571.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5572.             /* [in] */ BOOL fCapture);
  5573.         
  5574.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFocus )( 
  5575.             IOleInPlaceSiteWindowless __RPC_FAR * This);
  5576.         
  5577.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFocus )( 
  5578.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5579.             /* [in] */ BOOL fFocus);
  5580.         
  5581.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDC )( 
  5582.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5583.             /* [in] */ LPCRECT pRect,
  5584.             /* [in] */ DWORD grfFlags,
  5585.             /* [out] */ HDC __RPC_FAR *phDC);
  5586.         
  5587.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseDC )( 
  5588.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5589.             /* [in] */ HDC hDC);
  5590.         
  5591.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InvalidateRect )( 
  5592.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5593.             /* [in] */ LPCRECT pRect,
  5594.             /* [in] */ BOOL fErase);
  5595.         
  5596.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InvalidateRgn )( 
  5597.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5598.             /* [in] */ HRGN hRGN,
  5599.             /* [in] */ BOOL fErase);
  5600.         
  5601.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ScrollRect )( 
  5602.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5603.             /* [in] */ INT dx,
  5604.             /* [in] */ INT dy,
  5605.             /* [in] */ LPCRECT pRectScroll,
  5606.             /* [in] */ LPCRECT pRectClip);
  5607.         
  5608.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AdjustRect )( 
  5609.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5610.             /* [out][in] */ LPRECT prc);
  5611.         
  5612.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnDefWindowMessage )( 
  5613.             IOleInPlaceSiteWindowless __RPC_FAR * This,
  5614.             /* [in] */ UINT msg,
  5615.             /* [in] */ WPARAM wParam,
  5616.             /* [in] */ LPARAM lParam,
  5617.             /* [out] */ LRESULT __RPC_FAR *plResult);
  5618.         
  5619.         END_INTERFACE
  5620.     } IOleInPlaceSiteWindowlessVtbl;
  5621.  
  5622.     interface IOleInPlaceSiteWindowless
  5623.     {
  5624.         CONST_VTBL struct IOleInPlaceSiteWindowlessVtbl __RPC_FAR *lpVtbl;
  5625.     };
  5626.  
  5627.     
  5628.  
  5629. #ifdef COBJMACROS
  5630.  
  5631.  
  5632. #define IOleInPlaceSiteWindowless_QueryInterface(This,riid,ppvObject)    \
  5633.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5634.  
  5635. #define IOleInPlaceSiteWindowless_AddRef(This)    \
  5636.     (This)->lpVtbl -> AddRef(This)
  5637.  
  5638. #define IOleInPlaceSiteWindowless_Release(This)    \
  5639.     (This)->lpVtbl -> Release(This)
  5640.  
  5641.  
  5642. #define IOleInPlaceSiteWindowless_GetWindow(This,phwnd)    \
  5643.     (This)->lpVtbl -> GetWindow(This,phwnd)
  5644.  
  5645. #define IOleInPlaceSiteWindowless_ContextSensitiveHelp(This,fEnterMode)    \
  5646.     (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  5647.  
  5648.  
  5649. #define IOleInPlaceSiteWindowless_CanInPlaceActivate(This)    \
  5650.     (This)->lpVtbl -> CanInPlaceActivate(This)
  5651.  
  5652. #define IOleInPlaceSiteWindowless_OnInPlaceActivate(This)    \
  5653.     (This)->lpVtbl -> OnInPlaceActivate(This)
  5654.  
  5655. #define IOleInPlaceSiteWindowless_OnUIActivate(This)    \
  5656.     (This)->lpVtbl -> OnUIActivate(This)
  5657.  
  5658. #define IOleInPlaceSiteWindowless_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)    \
  5659.     (This)->lpVtbl -> GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
  5660.  
  5661. #define IOleInPlaceSiteWindowless_Scroll(This,scrollExtant)    \
  5662.     (This)->lpVtbl -> Scroll(This,scrollExtant)
  5663.  
  5664. #define IOleInPlaceSiteWindowless_OnUIDeactivate(This,fUndoable)    \
  5665.     (This)->lpVtbl -> OnUIDeactivate(This,fUndoable)
  5666.  
  5667. #define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(This)    \
  5668.     (This)->lpVtbl -> OnInPlaceDeactivate(This)
  5669.  
  5670. #define IOleInPlaceSiteWindowless_DiscardUndoState(This)    \
  5671.     (This)->lpVtbl -> DiscardUndoState(This)
  5672.  
  5673. #define IOleInPlaceSiteWindowless_DeactivateAndUndo(This)    \
  5674.     (This)->lpVtbl -> DeactivateAndUndo(This)
  5675.  
  5676. #define IOleInPlaceSiteWindowless_OnPosRectChange(This,lprcPosRect)    \
  5677.     (This)->lpVtbl -> OnPosRectChange(This,lprcPosRect)
  5678.  
  5679.  
  5680. #define IOleInPlaceSiteWindowless_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)    \
  5681.     (This)->lpVtbl -> OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
  5682.  
  5683. #define IOleInPlaceSiteWindowless_OnInPlaceDeactivateEx(This,fNoRedraw)    \
  5684.     (This)->lpVtbl -> OnInPlaceDeactivateEx(This,fNoRedraw)
  5685.  
  5686. #define IOleInPlaceSiteWindowless_RequestUIActivate(This)    \
  5687.     (This)->lpVtbl -> RequestUIActivate(This)
  5688.  
  5689.  
  5690. #define IOleInPlaceSiteWindowless_CanWindowlessActivate(This)    \
  5691.     (This)->lpVtbl -> CanWindowlessActivate(This)
  5692.  
  5693. #define IOleInPlaceSiteWindowless_GetCapture(This)    \
  5694.     (This)->lpVtbl -> GetCapture(This)
  5695.  
  5696. #define IOleInPlaceSiteWindowless_SetCapture(This,fCapture)    \
  5697.     (This)->lpVtbl -> SetCapture(This,fCapture)
  5698.  
  5699. #define IOleInPlaceSiteWindowless_GetFocus(This)    \
  5700.     (This)->lpVtbl -> GetFocus(This)
  5701.  
  5702. #define IOleInPlaceSiteWindowless_SetFocus(This,fFocus)    \
  5703.     (This)->lpVtbl -> SetFocus(This,fFocus)
  5704.  
  5705. #define IOleInPlaceSiteWindowless_GetDC(This,pRect,grfFlags,phDC)    \
  5706.     (This)->lpVtbl -> GetDC(This,pRect,grfFlags,phDC)
  5707.  
  5708. #define IOleInPlaceSiteWindowless_ReleaseDC(This,hDC)    \
  5709.     (This)->lpVtbl -> ReleaseDC(This,hDC)
  5710.  
  5711. #define IOleInPlaceSiteWindowless_InvalidateRect(This,pRect,fErase)    \
  5712.     (This)->lpVtbl -> InvalidateRect(This,pRect,fErase)
  5713.  
  5714. #define IOleInPlaceSiteWindowless_InvalidateRgn(This,hRGN,fErase)    \
  5715.     (This)->lpVtbl -> InvalidateRgn(This,hRGN,fErase)
  5716.  
  5717. #define IOleInPlaceSiteWindowless_ScrollRect(This,dx,dy,pRectScroll,pRectClip)    \
  5718.     (This)->lpVtbl -> ScrollRect(This,dx,dy,pRectScroll,pRectClip)
  5719.  
  5720. #define IOleInPlaceSiteWindowless_AdjustRect(This,prc)    \
  5721.     (This)->lpVtbl -> AdjustRect(This,prc)
  5722.  
  5723. #define IOleInPlaceSiteWindowless_OnDefWindowMessage(This,msg,wParam,lParam,plResult)    \
  5724.     (This)->lpVtbl -> OnDefWindowMessage(This,msg,wParam,lParam,plResult)
  5725.  
  5726. #endif /* COBJMACROS */
  5727.  
  5728.  
  5729. #endif     /* C style interface */
  5730.  
  5731.  
  5732.  
  5733. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_CanWindowlessActivate_Proxy( 
  5734.     IOleInPlaceSiteWindowless __RPC_FAR * This);
  5735.  
  5736.  
  5737. void __RPC_STUB IOleInPlaceSiteWindowless_CanWindowlessActivate_Stub(
  5738.     IRpcStubBuffer *This,
  5739.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5740.     PRPC_MESSAGE _pRpcMessage,
  5741.     DWORD *_pdwStubPhase);
  5742.  
  5743.  
  5744. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_GetCapture_Proxy( 
  5745.     IOleInPlaceSiteWindowless __RPC_FAR * This);
  5746.  
  5747.  
  5748. void __RPC_STUB IOleInPlaceSiteWindowless_GetCapture_Stub(
  5749.     IRpcStubBuffer *This,
  5750.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5751.     PRPC_MESSAGE _pRpcMessage,
  5752.     DWORD *_pdwStubPhase);
  5753.  
  5754.  
  5755. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_SetCapture_Proxy( 
  5756.     IOleInPlaceSiteWindowless __RPC_FAR * This,
  5757.     /* [in] */ BOOL fCapture);
  5758.  
  5759.  
  5760. void __RPC_STUB IOleInPlaceSiteWindowless_SetCapture_Stub(
  5761.     IRpcStubBuffer *This,
  5762.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5763.     PRPC_MESSAGE _pRpcMessage,
  5764.     DWORD *_pdwStubPhase);
  5765.  
  5766.  
  5767. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_GetFocus_Proxy( 
  5768.     IOleInPlaceSiteWindowless __RPC_FAR * This);
  5769.  
  5770.  
  5771. void __RPC_STUB IOleInPlaceSiteWindowless_GetFocus_Stub(
  5772.     IRpcStubBuffer *This,
  5773.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5774.     PRPC_MESSAGE _pRpcMessage,
  5775.     DWORD *_pdwStubPhase);
  5776.  
  5777.  
  5778. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_SetFocus_Proxy( 
  5779.     IOleInPlaceSiteWindowless __RPC_FAR * This,
  5780.     /* [in] */ BOOL fFocus);
  5781.  
  5782.  
  5783. void __RPC_STUB IOleInPlaceSiteWindowless_SetFocus_Stub(
  5784.     IRpcStubBuffer *This,
  5785.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5786.     PRPC_MESSAGE _pRpcMessage,
  5787.     DWORD *_pdwStubPhase);
  5788.  
  5789.  
  5790. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_GetDC_Proxy( 
  5791.     IOleInPlaceSiteWindowless __RPC_FAR * This,
  5792.     /* [in] */ LPCRECT pRect,
  5793.     /* [in] */ DWORD grfFlags,
  5794.     /* [out] */ HDC __RPC_FAR *phDC);
  5795.  
  5796.  
  5797. void __RPC_STUB IOleInPlaceSiteWindowless_GetDC_Stub(
  5798.     IRpcStubBuffer *This,
  5799.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5800.     PRPC_MESSAGE _pRpcMessage,
  5801.     DWORD *_pdwStubPhase);
  5802.  
  5803.  
  5804. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_ReleaseDC_Proxy( 
  5805.     IOleInPlaceSiteWindowless __RPC_FAR * This,
  5806.     /* [in] */ HDC hDC);
  5807.  
  5808.  
  5809. void __RPC_STUB IOleInPlaceSiteWindowless_ReleaseDC_Stub(
  5810.     IRpcStubBuffer *This,
  5811.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5812.     PRPC_MESSAGE _pRpcMessage,
  5813.     DWORD *_pdwStubPhase);
  5814.  
  5815.  
  5816. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_InvalidateRect_Proxy( 
  5817.     IOleInPlaceSiteWindowless __RPC_FAR * This,
  5818.     /* [in] */ LPCRECT pRect,
  5819.     /* [in] */ BOOL fErase);
  5820.  
  5821.  
  5822. void __RPC_STUB IOleInPlaceSiteWindowless_InvalidateRect_Stub(
  5823.     IRpcStubBuffer *This,
  5824.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5825.     PRPC_MESSAGE _pRpcMessage,
  5826.     DWORD *_pdwStubPhase);
  5827.  
  5828.  
  5829. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_InvalidateRgn_Proxy( 
  5830.     IOleInPlaceSiteWindowless __RPC_FAR * This,
  5831.     /* [in] */ HRGN hRGN,
  5832.     /* [in] */ BOOL fErase);
  5833.  
  5834.  
  5835. void __RPC_STUB IOleInPlaceSiteWindowless_InvalidateRgn_Stub(
  5836.     IRpcStubBuffer *This,
  5837.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5838.     PRPC_MESSAGE _pRpcMessage,
  5839.     DWORD *_pdwStubPhase);
  5840.  
  5841.  
  5842. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_ScrollRect_Proxy( 
  5843.     IOleInPlaceSiteWindowless __RPC_FAR * This,
  5844.     /* [in] */ INT dx,
  5845.     /* [in] */ INT dy,
  5846.     /* [in] */ LPCRECT pRectScroll,
  5847.     /* [in] */ LPCRECT pRectClip);
  5848.  
  5849.  
  5850. void __RPC_STUB IOleInPlaceSiteWindowless_ScrollRect_Stub(
  5851.     IRpcStubBuffer *This,
  5852.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5853.     PRPC_MESSAGE _pRpcMessage,
  5854.     DWORD *_pdwStubPhase);
  5855.  
  5856.  
  5857. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_AdjustRect_Proxy( 
  5858.     IOleInPlaceSiteWindowless __RPC_FAR * This,
  5859.     /* [out][in] */ LPRECT prc);
  5860.  
  5861.  
  5862. void __RPC_STUB IOleInPlaceSiteWindowless_AdjustRect_Stub(
  5863.     IRpcStubBuffer *This,
  5864.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5865.     PRPC_MESSAGE _pRpcMessage,
  5866.     DWORD *_pdwStubPhase);
  5867.  
  5868.  
  5869. HRESULT STDMETHODCALLTYPE IOleInPlaceSiteWindowless_OnDefWindowMessage_Proxy( 
  5870.     IOleInPlaceSiteWindowless __RPC_FAR * This,
  5871.     /* [in] */ UINT msg,
  5872.     /* [in] */ WPARAM wParam,
  5873.     /* [in] */ LPARAM lParam,
  5874.     /* [out] */ LRESULT __RPC_FAR *plResult);
  5875.  
  5876.  
  5877. void __RPC_STUB IOleInPlaceSiteWindowless_OnDefWindowMessage_Stub(
  5878.     IRpcStubBuffer *This,
  5879.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5880.     PRPC_MESSAGE _pRpcMessage,
  5881.     DWORD *_pdwStubPhase);
  5882.  
  5883.  
  5884.  
  5885. #endif     /* __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__ */
  5886.  
  5887.  
  5888. #ifndef __IViewObjectEx_INTERFACE_DEFINED__
  5889. #define __IViewObjectEx_INTERFACE_DEFINED__
  5890.  
  5891. /****************************************
  5892.  * Generated header for interface: IViewObjectEx
  5893.  * at Thu Sep 11 10:57:01 1997
  5894.  * using MIDL 3.03.0110
  5895.  ****************************************/
  5896. /* [uuid][unique][object][local] */ 
  5897.  
  5898.  
  5899. typedef IViewObjectEx __RPC_FAR *LPVIEWOBJECTEX;
  5900.  
  5901. typedef /* [v1_enum] */ 
  5902. enum tagVIEWSTATUS
  5903.     {    VIEWSTATUS_OPAQUE    = 1,
  5904.     VIEWSTATUS_SOLIDBKGND    = 2,
  5905.     VIEWSTATUS_DVASPECTOPAQUE    = 4,
  5906.     VIEWSTATUS_DVASPECTTRANSPARENT    = 8,
  5907.     VIEWSTATUS_SURFACE    = 16,
  5908.     VIEWSTATUS_3DSURFACE    = 32
  5909.     }    VIEWSTATUS;
  5910.  
  5911. typedef /* [v1_enum] */ 
  5912. enum tagHITRESULT
  5913.     {    HITRESULT_OUTSIDE    = 0,
  5914.     HITRESULT_TRANSPARENT    = 1,
  5915.     HITRESULT_CLOSE    = 2,
  5916.     HITRESULT_HIT    = 3
  5917.     }    HITRESULT;
  5918.  
  5919. typedef /* [v1_enum] */ 
  5920. enum tagDVASPECT2
  5921.     {    DVASPECT_OPAQUE    = 16,
  5922.     DVASPECT_TRANSPARENT    = 32
  5923.     }    DVASPECT2;
  5924.  
  5925. typedef struct  tagExtentInfo
  5926.     {
  5927.     ULONG cb;
  5928.     DWORD dwExtentMode;
  5929.     SIZEL sizelProposed;
  5930.     }    DVEXTENTINFO;
  5931.  
  5932. typedef /* [v1_enum] */ 
  5933. enum tagExtentMode
  5934.     {    DVEXTENT_CONTENT    = 0,
  5935.     DVEXTENT_INTEGRAL    = DVEXTENT_CONTENT + 1
  5936.     }    DVEXTENTMODE;
  5937.  
  5938. typedef /* [v1_enum] */ 
  5939. enum tagAspectInfoFlag
  5940.     {    DVASPECTINFOFLAG_CANOPTIMIZE    = 1
  5941.     }    DVASPECTINFOFLAG;
  5942.  
  5943. typedef struct  tagAspectInfo
  5944.     {
  5945.     ULONG cb;
  5946.     DWORD dwFlags;
  5947.     }    DVASPECTINFO;
  5948.  
  5949.  
  5950. EXTERN_C const IID IID_IViewObjectEx;
  5951.  
  5952. #if defined(__cplusplus) && !defined(CINTERFACE)
  5953.     
  5954.     MIDL_INTERFACE("3AF24292-0C96-11CE-A0CF-00AA00600AB8")
  5955.     IViewObjectEx : public IViewObject2
  5956.     {
  5957.     public:
  5958.         virtual HRESULT STDMETHODCALLTYPE GetRect( 
  5959.             /* [in] */ DWORD dwAspect,
  5960.             /* [out] */ LPRECTL pRect) = 0;
  5961.         
  5962.         virtual HRESULT STDMETHODCALLTYPE GetViewStatus( 
  5963.             /* [out] */ DWORD __RPC_FAR *pdwStatus) = 0;
  5964.         
  5965.         virtual HRESULT STDMETHODCALLTYPE QueryHitPoint( 
  5966.             /* [in] */ DWORD dwAspect,
  5967.             /* [in] */ LPCRECT pRectBounds,
  5968.             /* [in] */ POINT ptlLoc,
  5969.             /* [in] */ LONG lCloseHint,
  5970.             /* [out] */ DWORD __RPC_FAR *pHitResult) = 0;
  5971.         
  5972.         virtual HRESULT STDMETHODCALLTYPE QueryHitRect( 
  5973.             /* [in] */ DWORD dwAspect,
  5974.             /* [in] */ LPCRECT pRectBounds,
  5975.             /* [in] */ LPCRECT pRectLoc,
  5976.             /* [in] */ LONG lCloseHint,
  5977.             /* [out] */ DWORD __RPC_FAR *pHitResult) = 0;
  5978.         
  5979.         virtual HRESULT STDMETHODCALLTYPE GetNaturalExtent( 
  5980.             /* [in] */ DWORD dwAspect,
  5981.             /* [in] */ LONG lindex,
  5982.             /* [in] */ DVTARGETDEVICE __RPC_FAR *ptd,
  5983.             /* [in] */ HDC hicTargetDev,
  5984.             /* [in] */ DVEXTENTINFO __RPC_FAR *pExtentInfo,
  5985.             /* [out] */ LPSIZEL pSizel) = 0;
  5986.         
  5987.     };
  5988.     
  5989. #else     /* C style interface */
  5990.  
  5991.     typedef struct IViewObjectExVtbl
  5992.     {
  5993.         BEGIN_INTERFACE
  5994.         
  5995.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  5996.             IViewObjectEx __RPC_FAR * This,
  5997.             /* [in] */ REFIID riid,
  5998.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5999.         
  6000.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  6001.             IViewObjectEx __RPC_FAR * This);
  6002.         
  6003.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  6004.             IViewObjectEx __RPC_FAR * This);
  6005.         
  6006.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Draw )( 
  6007.             IViewObjectEx __RPC_FAR * This,
  6008.             /* [in] */ DWORD dwDrawAspect,
  6009.             /* [in] */ LONG lindex,
  6010.             /* [unique][in] */ void __RPC_FAR *pvAspect,
  6011.             /* [unique][in] */ DVTARGETDEVICE __RPC_FAR *ptd,
  6012.             /* [in] */ HDC hdcTargetDev,
  6013.             /* [in] */ HDC hdcDraw,
  6014.             /* [in] */ LPCRECTL lprcBounds,
  6015.             /* [unique][in] */ LPCRECTL lprcWBounds,
  6016.             /* [in] */ BOOL ( STDMETHODCALLTYPE __RPC_FAR *pfnContinue )( 
  6017.                 DWORD dwContinue),
  6018.             /* [in] */ DWORD dwContinue);
  6019.         
  6020.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetColorSet )( 
  6021.             IViewObjectEx __RPC_FAR * This,
  6022.             /* [in] */ DWORD dwDrawAspect,
  6023.             /* [in] */ LONG lindex,
  6024.             /* [unique][in] */ void __RPC_FAR *pvAspect,
  6025.             /* [unique][in] */ DVTARGETDEVICE __RPC_FAR *ptd,
  6026.             /* [in] */ HDC hicTargetDev,
  6027.             /* [out] */ LOGPALETTE __RPC_FAR *__RPC_FAR *ppColorSet);
  6028.         
  6029.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Freeze )( 
  6030.             IViewObjectEx __RPC_FAR * This,
  6031.             /* [in] */ DWORD dwDrawAspect,
  6032.             /* [in] */ LONG lindex,
  6033.             /* [unique][in] */ void __RPC_FAR *pvAspect,
  6034.             /* [out] */ DWORD __RPC_FAR *pdwFreeze);
  6035.         
  6036.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unfreeze )( 
  6037.             IViewObjectEx __RPC_FAR * This,
  6038.             /* [in] */ DWORD dwFreeze);
  6039.         
  6040.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAdvise )( 
  6041.             IViewObjectEx __RPC_FAR * This,
  6042.             /* [in] */ DWORD aspects,
  6043.             /* [in] */ DWORD advf,
  6044.             /* [unique][in] */ IAdviseSink __RPC_FAR *pAdvSink);
  6045.         
  6046.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAdvise )( 
  6047.             IViewObjectEx __RPC_FAR * This,
  6048.             /* [unique][out] */ DWORD __RPC_FAR *pAspects,
  6049.             /* [unique][out] */ DWORD __RPC_FAR *pAdvf,
  6050.             /* [out] */ IAdviseSink __RPC_FAR *__RPC_FAR *ppAdvSink);
  6051.         
  6052.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExtent )( 
  6053.             IViewObjectEx __RPC_FAR * This,
  6054.             /* [in] */ DWORD dwDrawAspect,
  6055.             /* [in] */ LONG lindex,
  6056.             /* [unique][in] */ DVTARGETDEVICE __RPC_FAR *ptd,
  6057.             /* [out] */ LPSIZEL lpsizel);
  6058.         
  6059.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRect )( 
  6060.             IViewObjectEx __RPC_FAR * This,
  6061.             /* [in] */ DWORD dwAspect,
  6062.             /* [out] */ LPRECTL pRect);
  6063.         
  6064.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetViewStatus )( 
  6065.             IViewObjectEx __RPC_FAR * This,
  6066.             /* [out] */ DWORD __RPC_FAR *pdwStatus);
  6067.         
  6068.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryHitPoint )( 
  6069.             IViewObjectEx __RPC_FAR * This,
  6070.             /* [in] */ DWORD dwAspect,
  6071.             /* [in] */ LPCRECT pRectBounds,
  6072.             /* [in] */ POINT ptlLoc,
  6073.             /* [in] */ LONG lCloseHint,
  6074.             /* [out] */ DWORD __RPC_FAR *pHitResult);
  6075.         
  6076.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryHitRect )( 
  6077.             IViewObjectEx __RPC_FAR * This,
  6078.             /* [in] */ DWORD dwAspect,
  6079.             /* [in] */ LPCRECT pRectBounds,
  6080.             /* [in] */ LPCRECT pRectLoc,
  6081.             /* [in] */ LONG lCloseHint,
  6082.             /* [out] */ DWORD __RPC_FAR *pHitResult);
  6083.         
  6084.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNaturalExtent )( 
  6085.             IViewObjectEx __RPC_FAR * This,
  6086.             /* [in] */ DWORD dwAspect,
  6087.             /* [in] */ LONG lindex,
  6088.             /* [in] */ DVTARGETDEVICE __RPC_FAR *ptd,
  6089.             /* [in] */ HDC hicTargetDev,
  6090.             /* [in] */ DVEXTENTINFO __RPC_FAR *pExtentInfo,
  6091.             /* [out] */ LPSIZEL pSizel);
  6092.         
  6093.         END_INTERFACE
  6094.     } IViewObjectExVtbl;
  6095.  
  6096.     interface IViewObjectEx
  6097.     {
  6098.         CONST_VTBL struct IViewObjectExVtbl __RPC_FAR *lpVtbl;
  6099.     };
  6100.  
  6101.     
  6102.  
  6103. #ifdef COBJMACROS
  6104.  
  6105.  
  6106. #define IViewObjectEx_QueryInterface(This,riid,ppvObject)    \
  6107.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6108.  
  6109. #define IViewObjectEx_AddRef(This)    \
  6110.     (This)->lpVtbl -> AddRef(This)
  6111.  
  6112. #define IViewObjectEx_Release(This)    \
  6113.     (This)->lpVtbl -> Release(This)
  6114.  
  6115.  
  6116. #define IViewObjectEx_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)    \
  6117.     (This)->lpVtbl -> Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
  6118.  
  6119. #define IViewObjectEx_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)    \
  6120.     (This)->lpVtbl -> GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
  6121.  
  6122. #define IViewObjectEx_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)    \
  6123.     (This)->lpVtbl -> Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
  6124.  
  6125. #define IViewObjectEx_Unfreeze(This,dwFreeze)    \
  6126.     (This)->lpVtbl -> Unfreeze(This,dwFreeze)
  6127.  
  6128. #define IViewObjectEx_SetAdvise(This,aspects,advf,pAdvSink)    \
  6129.     (This)->lpVtbl -> SetAdvise(This,aspects,advf,pAdvSink)
  6130.  
  6131. #define IViewObjectEx_GetAdvise(This,pAspects,pAdvf,ppAdvSink)    \
  6132.     (This)->lpVtbl -> GetAdvise(This,pAspects,pAdvf,ppAdvSink)
  6133.  
  6134.  
  6135. #define IViewObjectEx_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)    \
  6136.     (This)->lpVtbl -> GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)
  6137.  
  6138.  
  6139. #define IViewObjectEx_GetRect(This,dwAspect,pRect)    \
  6140.     (This)->lpVtbl -> GetRect(This,dwAspect,pRect)
  6141.  
  6142. #define IViewObjectEx_GetViewStatus(This,pdwStatus)    \
  6143.     (This)->lpVtbl -> GetViewStatus(This,pdwStatus)
  6144.  
  6145. #define IViewObjectEx_QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult)    \
  6146.     (This)->lpVtbl -> QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult)
  6147.  
  6148. #define IViewObjectEx_QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult)    \
  6149.     (This)->lpVtbl -> QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult)
  6150.  
  6151. #define IViewObjectEx_GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel)    \
  6152.     (This)->lpVtbl -> GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel)
  6153.  
  6154. #endif /* COBJMACROS */
  6155.  
  6156.  
  6157. #endif     /* C style interface */
  6158.  
  6159.  
  6160.  
  6161. HRESULT STDMETHODCALLTYPE IViewObjectEx_GetRect_Proxy( 
  6162.     IViewObjectEx __RPC_FAR * This,
  6163.     /* [in] */ DWORD dwAspect,
  6164.     /* [out] */ LPRECTL pRect);
  6165.  
  6166.  
  6167. void __RPC_STUB IViewObjectEx_GetRect_Stub(
  6168.     IRpcStubBuffer *This,
  6169.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6170.     PRPC_MESSAGE _pRpcMessage,
  6171.     DWORD *_pdwStubPhase);
  6172.  
  6173.  
  6174. HRESULT STDMETHODCALLTYPE IViewObjectEx_GetViewStatus_Proxy( 
  6175.     IViewObjectEx __RPC_FAR * This,
  6176.     /* [out] */ DWORD __RPC_FAR *pdwStatus);
  6177.  
  6178.  
  6179. void __RPC_STUB IViewObjectEx_GetViewStatus_Stub(
  6180.     IRpcStubBuffer *This,
  6181.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6182.     PRPC_MESSAGE _pRpcMessage,
  6183.     DWORD *_pdwStubPhase);
  6184.  
  6185.  
  6186. HRESULT STDMETHODCALLTYPE IViewObjectEx_QueryHitPoint_Proxy( 
  6187.     IViewObjectEx __RPC_FAR * This,
  6188.     /* [in] */ DWORD dwAspect,
  6189.     /* [in] */ LPCRECT pRectBounds,
  6190.     /* [in] */ POINT ptlLoc,
  6191.     /* [in] */ LONG lCloseHint,
  6192.     /* [out] */ DWORD __RPC_FAR *pHitResult);
  6193.  
  6194.  
  6195. void __RPC_STUB IViewObjectEx_QueryHitPoint_Stub(
  6196.     IRpcStubBuffer *This,
  6197.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6198.     PRPC_MESSAGE _pRpcMessage,
  6199.     DWORD *_pdwStubPhase);
  6200.  
  6201.  
  6202. HRESULT STDMETHODCALLTYPE IViewObjectEx_QueryHitRect_Proxy( 
  6203.     IViewObjectEx __RPC_FAR * This,
  6204.     /* [in] */ DWORD dwAspect,
  6205.     /* [in] */ LPCRECT pRectBounds,
  6206.     /* [in] */ LPCRECT pRectLoc,
  6207.     /* [in] */ LONG lCloseHint,
  6208.     /* [out] */ DWORD __RPC_FAR *pHitResult);
  6209.  
  6210.  
  6211. void __RPC_STUB IViewObjectEx_QueryHitRect_Stub(
  6212.     IRpcStubBuffer *This,
  6213.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6214.     PRPC_MESSAGE _pRpcMessage,
  6215.     DWORD *_pdwStubPhase);
  6216.  
  6217.  
  6218. HRESULT STDMETHODCALLTYPE IViewObjectEx_GetNaturalExtent_Proxy( 
  6219.     IViewObjectEx __RPC_FAR * This,
  6220.     /* [in] */ DWORD dwAspect,
  6221.     /* [in] */ LONG lindex,
  6222.     /* [in] */ DVTARGETDEVICE __RPC_FAR *ptd,
  6223.     /* [in] */ HDC hicTargetDev,
  6224.     /* [in] */ DVEXTENTINFO __RPC_FAR *pExtentInfo,
  6225.     /* [out] */ LPSIZEL pSizel);
  6226.  
  6227.  
  6228. void __RPC_STUB IViewObjectEx_GetNaturalExtent_Stub(
  6229.     IRpcStubBuffer *This,
  6230.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6231.     PRPC_MESSAGE _pRpcMessage,
  6232.     DWORD *_pdwStubPhase);
  6233.  
  6234.  
  6235.  
  6236. #endif     /* __IViewObjectEx_INTERFACE_DEFINED__ */
  6237.  
  6238.  
  6239. #ifndef __IOleUndoUnit_INTERFACE_DEFINED__
  6240. #define __IOleUndoUnit_INTERFACE_DEFINED__
  6241.  
  6242. /****************************************
  6243.  * Generated header for interface: IOleUndoUnit
  6244.  * at Thu Sep 11 10:57:01 1997
  6245.  * using MIDL 3.03.0110
  6246.  ****************************************/
  6247. /* [uuid][unique][object] */ 
  6248.  
  6249.  
  6250. typedef IOleUndoUnit __RPC_FAR *LPOLEUNDOUNIT;
  6251.  
  6252.  
  6253. EXTERN_C const IID IID_IOleUndoUnit;
  6254.  
  6255. #if defined(__cplusplus) && !defined(CINTERFACE)
  6256.     
  6257.     MIDL_INTERFACE("894AD3B0-EF97-11CE-9BC9-00AA00608E01")
  6258.     IOleUndoUnit : public IUnknown
  6259.     {
  6260.     public:
  6261.         virtual HRESULT STDMETHODCALLTYPE Do( 
  6262.             /* [in] */ IOleUndoManager __RPC_FAR *pUndoManager) = 0;
  6263.         
  6264.         virtual HRESULT STDMETHODCALLTYPE GetDescription( 
  6265.             /* [out] */ BSTR __RPC_FAR *pBstr) = 0;
  6266.         
  6267.         virtual HRESULT STDMETHODCALLTYPE GetUnitType( 
  6268.             /* [out] */ CLSID __RPC_FAR *pClsid,
  6269.             /* [out] */ LONG __RPC_FAR *plID) = 0;
  6270.         
  6271.         virtual HRESULT STDMETHODCALLTYPE OnNextAdd( void) = 0;
  6272.         
  6273.     };
  6274.     
  6275. #else     /* C style interface */
  6276.  
  6277.     typedef struct IOleUndoUnitVtbl
  6278.     {
  6279.         BEGIN_INTERFACE
  6280.         
  6281.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  6282.             IOleUndoUnit __RPC_FAR * This,
  6283.             /* [in] */ REFIID riid,
  6284.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6285.         
  6286.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  6287.             IOleUndoUnit __RPC_FAR * This);
  6288.         
  6289.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  6290.             IOleUndoUnit __RPC_FAR * This);
  6291.         
  6292.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Do )( 
  6293.             IOleUndoUnit __RPC_FAR * This,
  6294.             /* [in] */ IOleUndoManager __RPC_FAR *pUndoManager);
  6295.         
  6296.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )( 
  6297.             IOleUndoUnit __RPC_FAR * This,
  6298.             /* [out] */ BSTR __RPC_FAR *pBstr);
  6299.         
  6300.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUnitType )( 
  6301.             IOleUndoUnit __RPC_FAR * This,
  6302.             /* [out] */ CLSID __RPC_FAR *pClsid,
  6303.             /* [out] */ LONG __RPC_FAR *plID);
  6304.         
  6305.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnNextAdd )( 
  6306.             IOleUndoUnit __RPC_FAR * This);
  6307.         
  6308.         END_INTERFACE
  6309.     } IOleUndoUnitVtbl;
  6310.  
  6311.     interface IOleUndoUnit
  6312.     {
  6313.         CONST_VTBL struct IOleUndoUnitVtbl __RPC_FAR *lpVtbl;
  6314.     };
  6315.  
  6316.     
  6317.  
  6318. #ifdef COBJMACROS
  6319.  
  6320.  
  6321. #define IOleUndoUnit_QueryInterface(This,riid,ppvObject)    \
  6322.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6323.  
  6324. #define IOleUndoUnit_AddRef(This)    \
  6325.     (This)->lpVtbl -> AddRef(This)
  6326.  
  6327. #define IOleUndoUnit_Release(This)    \
  6328.     (This)->lpVtbl -> Release(This)
  6329.  
  6330.  
  6331. #define IOleUndoUnit_Do(This,pUndoManager)    \
  6332.     (This)->lpVtbl -> Do(This,pUndoManager)
  6333.  
  6334. #define IOleUndoUnit_GetDescription(This,pBstr)    \
  6335.     (This)->lpVtbl -> GetDescription(This,pBstr)
  6336.  
  6337. #define IOleUndoUnit_GetUnitType(This,pClsid,plID)    \
  6338.     (This)->lpVtbl -> GetUnitType(This,pClsid,plID)
  6339.  
  6340. #define IOleUndoUnit_OnNextAdd(This)    \
  6341.     (This)->lpVtbl -> OnNextAdd(This)
  6342.  
  6343. #endif /* COBJMACROS */
  6344.  
  6345.  
  6346. #endif     /* C style interface */
  6347.  
  6348.  
  6349.  
  6350. HRESULT STDMETHODCALLTYPE IOleUndoUnit_Do_Proxy( 
  6351.     IOleUndoUnit __RPC_FAR * This,
  6352.     /* [in] */ IOleUndoManager __RPC_FAR *pUndoManager);
  6353.  
  6354.  
  6355. void __RPC_STUB IOleUndoUnit_Do_Stub(
  6356.     IRpcStubBuffer *This,
  6357.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6358.     PRPC_MESSAGE _pRpcMessage,
  6359.     DWORD *_pdwStubPhase);
  6360.  
  6361.  
  6362. HRESULT STDMETHODCALLTYPE IOleUndoUnit_GetDescription_Proxy( 
  6363.     IOleUndoUnit __RPC_FAR * This,
  6364.     /* [out] */ BSTR __RPC_FAR *pBstr);
  6365.  
  6366.  
  6367. void __RPC_STUB IOleUndoUnit_GetDescription_Stub(
  6368.     IRpcStubBuffer *This,
  6369.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6370.     PRPC_MESSAGE _pRpcMessage,
  6371.     DWORD *_pdwStubPhase);
  6372.  
  6373.  
  6374. HRESULT STDMETHODCALLTYPE IOleUndoUnit_GetUnitType_Proxy( 
  6375.     IOleUndoUnit __RPC_FAR * This,
  6376.     /* [out] */ CLSID __RPC_FAR *pClsid,
  6377.     /* [out] */ LONG __RPC_FAR *plID);
  6378.  
  6379.  
  6380. void __RPC_STUB IOleUndoUnit_GetUnitType_Stub(
  6381.     IRpcStubBuffer *This,
  6382.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6383.     PRPC_MESSAGE _pRpcMessage,
  6384.     DWORD *_pdwStubPhase);
  6385.  
  6386.  
  6387. HRESULT STDMETHODCALLTYPE IOleUndoUnit_OnNextAdd_Proxy( 
  6388.     IOleUndoUnit __RPC_FAR * This);
  6389.  
  6390.  
  6391. void __RPC_STUB IOleUndoUnit_OnNextAdd_Stub(
  6392.     IRpcStubBuffer *This,
  6393.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6394.     PRPC_MESSAGE _pRpcMessage,
  6395.     DWORD *_pdwStubPhase);
  6396.  
  6397.  
  6398.  
  6399. #endif     /* __IOleUndoUnit_INTERFACE_DEFINED__ */
  6400.  
  6401.  
  6402. #ifndef __IOleParentUndoUnit_INTERFACE_DEFINED__
  6403. #define __IOleParentUndoUnit_INTERFACE_DEFINED__
  6404.  
  6405. /****************************************
  6406.  * Generated header for interface: IOleParentUndoUnit
  6407.  * at Thu Sep 11 10:57:01 1997
  6408.  * using MIDL 3.03.0110
  6409.  ****************************************/
  6410. /* [uuid][unique][object] */ 
  6411.  
  6412.  
  6413. typedef IOleParentUndoUnit __RPC_FAR *LPOLEPARENTUNDOUNIT;
  6414.  
  6415.  
  6416. EXTERN_C const IID IID_IOleParentUndoUnit;
  6417.  
  6418. #if defined(__cplusplus) && !defined(CINTERFACE)
  6419.     
  6420.     MIDL_INTERFACE("A1FAF330-EF97-11CE-9BC9-00AA00608E01")
  6421.     IOleParentUndoUnit : public IOleUndoUnit
  6422.     {
  6423.     public:
  6424.         virtual HRESULT STDMETHODCALLTYPE Open( 
  6425.             /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU) = 0;
  6426.         
  6427.         virtual HRESULT STDMETHODCALLTYPE Close( 
  6428.             /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU,
  6429.             /* [in] */ BOOL fCommit) = 0;
  6430.         
  6431.         virtual HRESULT STDMETHODCALLTYPE Add( 
  6432.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU) = 0;
  6433.         
  6434.         virtual HRESULT STDMETHODCALLTYPE FindUnit( 
  6435.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU) = 0;
  6436.         
  6437.         virtual HRESULT STDMETHODCALLTYPE GetParentState( 
  6438.             /* [out] */ DWORD __RPC_FAR *pdwState) = 0;
  6439.         
  6440.     };
  6441.     
  6442. #else     /* C style interface */
  6443.  
  6444.     typedef struct IOleParentUndoUnitVtbl
  6445.     {
  6446.         BEGIN_INTERFACE
  6447.         
  6448.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  6449.             IOleParentUndoUnit __RPC_FAR * This,
  6450.             /* [in] */ REFIID riid,
  6451.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6452.         
  6453.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  6454.             IOleParentUndoUnit __RPC_FAR * This);
  6455.         
  6456.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  6457.             IOleParentUndoUnit __RPC_FAR * This);
  6458.         
  6459.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Do )( 
  6460.             IOleParentUndoUnit __RPC_FAR * This,
  6461.             /* [in] */ IOleUndoManager __RPC_FAR *pUndoManager);
  6462.         
  6463.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )( 
  6464.             IOleParentUndoUnit __RPC_FAR * This,
  6465.             /* [out] */ BSTR __RPC_FAR *pBstr);
  6466.         
  6467.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUnitType )( 
  6468.             IOleParentUndoUnit __RPC_FAR * This,
  6469.             /* [out] */ CLSID __RPC_FAR *pClsid,
  6470.             /* [out] */ LONG __RPC_FAR *plID);
  6471.         
  6472.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnNextAdd )( 
  6473.             IOleParentUndoUnit __RPC_FAR * This);
  6474.         
  6475.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )( 
  6476.             IOleParentUndoUnit __RPC_FAR * This,
  6477.             /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU);
  6478.         
  6479.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Close )( 
  6480.             IOleParentUndoUnit __RPC_FAR * This,
  6481.             /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU,
  6482.             /* [in] */ BOOL fCommit);
  6483.         
  6484.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )( 
  6485.             IOleParentUndoUnit __RPC_FAR * This,
  6486.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  6487.         
  6488.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindUnit )( 
  6489.             IOleParentUndoUnit __RPC_FAR * This,
  6490.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  6491.         
  6492.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetParentState )( 
  6493.             IOleParentUndoUnit __RPC_FAR * This,
  6494.             /* [out] */ DWORD __RPC_FAR *pdwState);
  6495.         
  6496.         END_INTERFACE
  6497.     } IOleParentUndoUnitVtbl;
  6498.  
  6499.     interface IOleParentUndoUnit
  6500.     {
  6501.         CONST_VTBL struct IOleParentUndoUnitVtbl __RPC_FAR *lpVtbl;
  6502.     };
  6503.  
  6504.     
  6505.  
  6506. #ifdef COBJMACROS
  6507.  
  6508.  
  6509. #define IOleParentUndoUnit_QueryInterface(This,riid,ppvObject)    \
  6510.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6511.  
  6512. #define IOleParentUndoUnit_AddRef(This)    \
  6513.     (This)->lpVtbl -> AddRef(This)
  6514.  
  6515. #define IOleParentUndoUnit_Release(This)    \
  6516.     (This)->lpVtbl -> Release(This)
  6517.  
  6518.  
  6519. #define IOleParentUndoUnit_Do(This,pUndoManager)    \
  6520.     (This)->lpVtbl -> Do(This,pUndoManager)
  6521.  
  6522. #define IOleParentUndoUnit_GetDescription(This,pBstr)    \
  6523.     (This)->lpVtbl -> GetDescription(This,pBstr)
  6524.  
  6525. #define IOleParentUndoUnit_GetUnitType(This,pClsid,plID)    \
  6526.     (This)->lpVtbl -> GetUnitType(This,pClsid,plID)
  6527.  
  6528. #define IOleParentUndoUnit_OnNextAdd(This)    \
  6529.     (This)->lpVtbl -> OnNextAdd(This)
  6530.  
  6531.  
  6532. #define IOleParentUndoUnit_Open(This,pPUU)    \
  6533.     (This)->lpVtbl -> Open(This,pPUU)
  6534.  
  6535. #define IOleParentUndoUnit_Close(This,pPUU,fCommit)    \
  6536.     (This)->lpVtbl -> Close(This,pPUU,fCommit)
  6537.  
  6538. #define IOleParentUndoUnit_Add(This,pUU)    \
  6539.     (This)->lpVtbl -> Add(This,pUU)
  6540.  
  6541. #define IOleParentUndoUnit_FindUnit(This,pUU)    \
  6542.     (This)->lpVtbl -> FindUnit(This,pUU)
  6543.  
  6544. #define IOleParentUndoUnit_GetParentState(This,pdwState)    \
  6545.     (This)->lpVtbl -> GetParentState(This,pdwState)
  6546.  
  6547. #endif /* COBJMACROS */
  6548.  
  6549.  
  6550. #endif     /* C style interface */
  6551.  
  6552.  
  6553.  
  6554. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_Open_Proxy( 
  6555.     IOleParentUndoUnit __RPC_FAR * This,
  6556.     /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU);
  6557.  
  6558.  
  6559. void __RPC_STUB IOleParentUndoUnit_Open_Stub(
  6560.     IRpcStubBuffer *This,
  6561.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6562.     PRPC_MESSAGE _pRpcMessage,
  6563.     DWORD *_pdwStubPhase);
  6564.  
  6565.  
  6566. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_Close_Proxy( 
  6567.     IOleParentUndoUnit __RPC_FAR * This,
  6568.     /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU,
  6569.     /* [in] */ BOOL fCommit);
  6570.  
  6571.  
  6572. void __RPC_STUB IOleParentUndoUnit_Close_Stub(
  6573.     IRpcStubBuffer *This,
  6574.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6575.     PRPC_MESSAGE _pRpcMessage,
  6576.     DWORD *_pdwStubPhase);
  6577.  
  6578.  
  6579. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_Add_Proxy( 
  6580.     IOleParentUndoUnit __RPC_FAR * This,
  6581.     /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  6582.  
  6583.  
  6584. void __RPC_STUB IOleParentUndoUnit_Add_Stub(
  6585.     IRpcStubBuffer *This,
  6586.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6587.     PRPC_MESSAGE _pRpcMessage,
  6588.     DWORD *_pdwStubPhase);
  6589.  
  6590.  
  6591. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_FindUnit_Proxy( 
  6592.     IOleParentUndoUnit __RPC_FAR * This,
  6593.     /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  6594.  
  6595.  
  6596. void __RPC_STUB IOleParentUndoUnit_FindUnit_Stub(
  6597.     IRpcStubBuffer *This,
  6598.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6599.     PRPC_MESSAGE _pRpcMessage,
  6600.     DWORD *_pdwStubPhase);
  6601.  
  6602.  
  6603. HRESULT STDMETHODCALLTYPE IOleParentUndoUnit_GetParentState_Proxy( 
  6604.     IOleParentUndoUnit __RPC_FAR * This,
  6605.     /* [out] */ DWORD __RPC_FAR *pdwState);
  6606.  
  6607.  
  6608. void __RPC_STUB IOleParentUndoUnit_GetParentState_Stub(
  6609.     IRpcStubBuffer *This,
  6610.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6611.     PRPC_MESSAGE _pRpcMessage,
  6612.     DWORD *_pdwStubPhase);
  6613.  
  6614.  
  6615.  
  6616. #endif     /* __IOleParentUndoUnit_INTERFACE_DEFINED__ */
  6617.  
  6618.  
  6619. #ifndef __IEnumOleUndoUnits_INTERFACE_DEFINED__
  6620. #define __IEnumOleUndoUnits_INTERFACE_DEFINED__
  6621.  
  6622. /****************************************
  6623.  * Generated header for interface: IEnumOleUndoUnits
  6624.  * at Thu Sep 11 10:57:01 1997
  6625.  * using MIDL 3.03.0110
  6626.  ****************************************/
  6627. /* [uuid][unique][object] */ 
  6628.  
  6629.  
  6630. typedef IEnumOleUndoUnits __RPC_FAR *LPENUMOLEUNDOUNITS;
  6631.  
  6632.  
  6633. EXTERN_C const IID IID_IEnumOleUndoUnits;
  6634.  
  6635. #if defined(__cplusplus) && !defined(CINTERFACE)
  6636.     
  6637.     MIDL_INTERFACE("B3E7C340-EF97-11CE-9BC9-00AA00608E01")
  6638.     IEnumOleUndoUnits : public IUnknown
  6639.     {
  6640.     public:
  6641.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next( 
  6642.             /* [in] */ ULONG cElt,
  6643.             /* [length_is][size_is][out] */ IOleUndoUnit __RPC_FAR *__RPC_FAR *rgElt,
  6644.             /* [out] */ ULONG __RPC_FAR *pcEltFetched) = 0;
  6645.         
  6646.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  6647.             /* [in] */ ULONG cElt) = 0;
  6648.         
  6649.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  6650.         
  6651.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  6652.             /* [out] */ IEnumOleUndoUnits __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  6653.         
  6654.     };
  6655.     
  6656. #else     /* C style interface */
  6657.  
  6658.     typedef struct IEnumOleUndoUnitsVtbl
  6659.     {
  6660.         BEGIN_INTERFACE
  6661.         
  6662.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  6663.             IEnumOleUndoUnits __RPC_FAR * This,
  6664.             /* [in] */ REFIID riid,
  6665.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6666.         
  6667.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  6668.             IEnumOleUndoUnits __RPC_FAR * This);
  6669.         
  6670.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  6671.             IEnumOleUndoUnits __RPC_FAR * This);
  6672.         
  6673.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )( 
  6674.             IEnumOleUndoUnits __RPC_FAR * This,
  6675.             /* [in] */ ULONG cElt,
  6676.             /* [length_is][size_is][out] */ IOleUndoUnit __RPC_FAR *__RPC_FAR *rgElt,
  6677.             /* [out] */ ULONG __RPC_FAR *pcEltFetched);
  6678.         
  6679.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )( 
  6680.             IEnumOleUndoUnits __RPC_FAR * This,
  6681.             /* [in] */ ULONG cElt);
  6682.         
  6683.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )( 
  6684.             IEnumOleUndoUnits __RPC_FAR * This);
  6685.         
  6686.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )( 
  6687.             IEnumOleUndoUnits __RPC_FAR * This,
  6688.             /* [out] */ IEnumOleUndoUnits __RPC_FAR *__RPC_FAR *ppEnum);
  6689.         
  6690.         END_INTERFACE
  6691.     } IEnumOleUndoUnitsVtbl;
  6692.  
  6693.     interface IEnumOleUndoUnits
  6694.     {
  6695.         CONST_VTBL struct IEnumOleUndoUnitsVtbl __RPC_FAR *lpVtbl;
  6696.     };
  6697.  
  6698.     
  6699.  
  6700. #ifdef COBJMACROS
  6701.  
  6702.  
  6703. #define IEnumOleUndoUnits_QueryInterface(This,riid,ppvObject)    \
  6704.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6705.  
  6706. #define IEnumOleUndoUnits_AddRef(This)    \
  6707.     (This)->lpVtbl -> AddRef(This)
  6708.  
  6709. #define IEnumOleUndoUnits_Release(This)    \
  6710.     (This)->lpVtbl -> Release(This)
  6711.  
  6712.  
  6713. #define IEnumOleUndoUnits_Next(This,cElt,rgElt,pcEltFetched)    \
  6714.     (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  6715.  
  6716. #define IEnumOleUndoUnits_Skip(This,cElt)    \
  6717.     (This)->lpVtbl -> Skip(This,cElt)
  6718.  
  6719. #define IEnumOleUndoUnits_Reset(This)    \
  6720.     (This)->lpVtbl -> Reset(This)
  6721.  
  6722. #define IEnumOleUndoUnits_Clone(This,ppEnum)    \
  6723.     (This)->lpVtbl -> Clone(This,ppEnum)
  6724.  
  6725. #endif /* COBJMACROS */
  6726.  
  6727.  
  6728. #endif     /* C style interface */
  6729.  
  6730.  
  6731.  
  6732. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_RemoteNext_Proxy( 
  6733.     IEnumOleUndoUnits __RPC_FAR * This,
  6734.     /* [in] */ ULONG cElt,
  6735.     /* [length_is][size_is][out] */ IOleUndoUnit __RPC_FAR *__RPC_FAR *rgElt,
  6736.     /* [out] */ ULONG __RPC_FAR *pcEltFetched);
  6737.  
  6738.  
  6739. void __RPC_STUB IEnumOleUndoUnits_RemoteNext_Stub(
  6740.     IRpcStubBuffer *This,
  6741.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6742.     PRPC_MESSAGE _pRpcMessage,
  6743.     DWORD *_pdwStubPhase);
  6744.  
  6745.  
  6746. HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Skip_Proxy( 
  6747.     IEnumOleUndoUnits __RPC_FAR * This,
  6748.     /* [in] */ ULONG cElt);
  6749.  
  6750.  
  6751. void __RPC_STUB IEnumOleUndoUnits_Skip_Stub(
  6752.     IRpcStubBuffer *This,
  6753.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6754.     PRPC_MESSAGE _pRpcMessage,
  6755.     DWORD *_pdwStubPhase);
  6756.  
  6757.  
  6758. HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Reset_Proxy( 
  6759.     IEnumOleUndoUnits __RPC_FAR * This);
  6760.  
  6761.  
  6762. void __RPC_STUB IEnumOleUndoUnits_Reset_Stub(
  6763.     IRpcStubBuffer *This,
  6764.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6765.     PRPC_MESSAGE _pRpcMessage,
  6766.     DWORD *_pdwStubPhase);
  6767.  
  6768.  
  6769. HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Clone_Proxy( 
  6770.     IEnumOleUndoUnits __RPC_FAR * This,
  6771.     /* [out] */ IEnumOleUndoUnits __RPC_FAR *__RPC_FAR *ppEnum);
  6772.  
  6773.  
  6774. void __RPC_STUB IEnumOleUndoUnits_Clone_Stub(
  6775.     IRpcStubBuffer *This,
  6776.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6777.     PRPC_MESSAGE _pRpcMessage,
  6778.     DWORD *_pdwStubPhase);
  6779.  
  6780.  
  6781.  
  6782. #endif     /* __IEnumOleUndoUnits_INTERFACE_DEFINED__ */
  6783.  
  6784.  
  6785. #ifndef __IOleUndoManager_INTERFACE_DEFINED__
  6786. #define __IOleUndoManager_INTERFACE_DEFINED__
  6787.  
  6788. /****************************************
  6789.  * Generated header for interface: IOleUndoManager
  6790.  * at Thu Sep 11 10:57:01 1997
  6791.  * using MIDL 3.03.0110
  6792.  ****************************************/
  6793. /* [uuid][unique][object] */ 
  6794.  
  6795.  
  6796. #define SID_SOleUndoManager IID_IOleUndoManager
  6797. typedef IOleUndoManager __RPC_FAR *LPOLEUNDOMANAGER;
  6798.  
  6799.  
  6800. EXTERN_C const IID IID_IOleUndoManager;
  6801.  
  6802. #if defined(__cplusplus) && !defined(CINTERFACE)
  6803.     
  6804.     MIDL_INTERFACE("D001F200-EF97-11CE-9BC9-00AA00608E01")
  6805.     IOleUndoManager : public IUnknown
  6806.     {
  6807.     public:
  6808.         virtual HRESULT STDMETHODCALLTYPE Open( 
  6809.             /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU) = 0;
  6810.         
  6811.         virtual HRESULT STDMETHODCALLTYPE Close( 
  6812.             /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU,
  6813.             /* [in] */ BOOL fCommit) = 0;
  6814.         
  6815.         virtual HRESULT STDMETHODCALLTYPE Add( 
  6816.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU) = 0;
  6817.         
  6818.         virtual HRESULT STDMETHODCALLTYPE GetOpenParentState( 
  6819.             /* [out] */ DWORD __RPC_FAR *pdwState) = 0;
  6820.         
  6821.         virtual HRESULT STDMETHODCALLTYPE DiscardFrom( 
  6822.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU) = 0;
  6823.         
  6824.         virtual HRESULT STDMETHODCALLTYPE UndoTo( 
  6825.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU) = 0;
  6826.         
  6827.         virtual HRESULT STDMETHODCALLTYPE RedoTo( 
  6828.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU) = 0;
  6829.         
  6830.         virtual HRESULT STDMETHODCALLTYPE EnumUndoable( 
  6831.             /* [out] */ IEnumOleUndoUnits __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  6832.         
  6833.         virtual HRESULT STDMETHODCALLTYPE EnumRedoable( 
  6834.             /* [out] */ IEnumOleUndoUnits __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  6835.         
  6836.         virtual HRESULT STDMETHODCALLTYPE GetLastUndoDescription( 
  6837.             /* [out] */ BSTR __RPC_FAR *pBstr) = 0;
  6838.         
  6839.         virtual HRESULT STDMETHODCALLTYPE GetLastRedoDescription( 
  6840.             /* [out] */ BSTR __RPC_FAR *pBstr) = 0;
  6841.         
  6842.         virtual HRESULT STDMETHODCALLTYPE Enable( 
  6843.             /* [in] */ BOOL fEnable) = 0;
  6844.         
  6845.     };
  6846.     
  6847. #else     /* C style interface */
  6848.  
  6849.     typedef struct IOleUndoManagerVtbl
  6850.     {
  6851.         BEGIN_INTERFACE
  6852.         
  6853.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  6854.             IOleUndoManager __RPC_FAR * This,
  6855.             /* [in] */ REFIID riid,
  6856.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6857.         
  6858.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  6859.             IOleUndoManager __RPC_FAR * This);
  6860.         
  6861.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  6862.             IOleUndoManager __RPC_FAR * This);
  6863.         
  6864.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )( 
  6865.             IOleUndoManager __RPC_FAR * This,
  6866.             /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU);
  6867.         
  6868.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Close )( 
  6869.             IOleUndoManager __RPC_FAR * This,
  6870.             /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU,
  6871.             /* [in] */ BOOL fCommit);
  6872.         
  6873.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )( 
  6874.             IOleUndoManager __RPC_FAR * This,
  6875.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  6876.         
  6877.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetOpenParentState )( 
  6878.             IOleUndoManager __RPC_FAR * This,
  6879.             /* [out] */ DWORD __RPC_FAR *pdwState);
  6880.         
  6881.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DiscardFrom )( 
  6882.             IOleUndoManager __RPC_FAR * This,
  6883.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  6884.         
  6885.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UndoTo )( 
  6886.             IOleUndoManager __RPC_FAR * This,
  6887.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  6888.         
  6889.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RedoTo )( 
  6890.             IOleUndoManager __RPC_FAR * This,
  6891.             /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  6892.         
  6893.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumUndoable )( 
  6894.             IOleUndoManager __RPC_FAR * This,
  6895.             /* [out] */ IEnumOleUndoUnits __RPC_FAR *__RPC_FAR *ppEnum);
  6896.         
  6897.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumRedoable )( 
  6898.             IOleUndoManager __RPC_FAR * This,
  6899.             /* [out] */ IEnumOleUndoUnits __RPC_FAR *__RPC_FAR *ppEnum);
  6900.         
  6901.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLastUndoDescription )( 
  6902.             IOleUndoManager __RPC_FAR * This,
  6903.             /* [out] */ BSTR __RPC_FAR *pBstr);
  6904.         
  6905.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLastRedoDescription )( 
  6906.             IOleUndoManager __RPC_FAR * This,
  6907.             /* [out] */ BSTR __RPC_FAR *pBstr);
  6908.         
  6909.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Enable )( 
  6910.             IOleUndoManager __RPC_FAR * This,
  6911.             /* [in] */ BOOL fEnable);
  6912.         
  6913.         END_INTERFACE
  6914.     } IOleUndoManagerVtbl;
  6915.  
  6916.     interface IOleUndoManager
  6917.     {
  6918.         CONST_VTBL struct IOleUndoManagerVtbl __RPC_FAR *lpVtbl;
  6919.     };
  6920.  
  6921.     
  6922.  
  6923. #ifdef COBJMACROS
  6924.  
  6925.  
  6926. #define IOleUndoManager_QueryInterface(This,riid,ppvObject)    \
  6927.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6928.  
  6929. #define IOleUndoManager_AddRef(This)    \
  6930.     (This)->lpVtbl -> AddRef(This)
  6931.  
  6932. #define IOleUndoManager_Release(This)    \
  6933.     (This)->lpVtbl -> Release(This)
  6934.  
  6935.  
  6936. #define IOleUndoManager_Open(This,pPUU)    \
  6937.     (This)->lpVtbl -> Open(This,pPUU)
  6938.  
  6939. #define IOleUndoManager_Close(This,pPUU,fCommit)    \
  6940.     (This)->lpVtbl -> Close(This,pPUU,fCommit)
  6941.  
  6942. #define IOleUndoManager_Add(This,pUU)    \
  6943.     (This)->lpVtbl -> Add(This,pUU)
  6944.  
  6945. #define IOleUndoManager_GetOpenParentState(This,pdwState)    \
  6946.     (This)->lpVtbl -> GetOpenParentState(This,pdwState)
  6947.  
  6948. #define IOleUndoManager_DiscardFrom(This,pUU)    \
  6949.     (This)->lpVtbl -> DiscardFrom(This,pUU)
  6950.  
  6951. #define IOleUndoManager_UndoTo(This,pUU)    \
  6952.     (This)->lpVtbl -> UndoTo(This,pUU)
  6953.  
  6954. #define IOleUndoManager_RedoTo(This,pUU)    \
  6955.     (This)->lpVtbl -> RedoTo(This,pUU)
  6956.  
  6957. #define IOleUndoManager_EnumUndoable(This,ppEnum)    \
  6958.     (This)->lpVtbl -> EnumUndoable(This,ppEnum)
  6959.  
  6960. #define IOleUndoManager_EnumRedoable(This,ppEnum)    \
  6961.     (This)->lpVtbl -> EnumRedoable(This,ppEnum)
  6962.  
  6963. #define IOleUndoManager_GetLastUndoDescription(This,pBstr)    \
  6964.     (This)->lpVtbl -> GetLastUndoDescription(This,pBstr)
  6965.  
  6966. #define IOleUndoManager_GetLastRedoDescription(This,pBstr)    \
  6967.     (This)->lpVtbl -> GetLastRedoDescription(This,pBstr)
  6968.  
  6969. #define IOleUndoManager_Enable(This,fEnable)    \
  6970.     (This)->lpVtbl -> Enable(This,fEnable)
  6971.  
  6972. #endif /* COBJMACROS */
  6973.  
  6974.  
  6975. #endif     /* C style interface */
  6976.  
  6977.  
  6978.  
  6979. HRESULT STDMETHODCALLTYPE IOleUndoManager_Open_Proxy( 
  6980.     IOleUndoManager __RPC_FAR * This,
  6981.     /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU);
  6982.  
  6983.  
  6984. void __RPC_STUB IOleUndoManager_Open_Stub(
  6985.     IRpcStubBuffer *This,
  6986.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6987.     PRPC_MESSAGE _pRpcMessage,
  6988.     DWORD *_pdwStubPhase);
  6989.  
  6990.  
  6991. HRESULT STDMETHODCALLTYPE IOleUndoManager_Close_Proxy( 
  6992.     IOleUndoManager __RPC_FAR * This,
  6993.     /* [in] */ IOleParentUndoUnit __RPC_FAR *pPUU,
  6994.     /* [in] */ BOOL fCommit);
  6995.  
  6996.  
  6997. void __RPC_STUB IOleUndoManager_Close_Stub(
  6998.     IRpcStubBuffer *This,
  6999.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7000.     PRPC_MESSAGE _pRpcMessage,
  7001.     DWORD *_pdwStubPhase);
  7002.  
  7003.  
  7004. HRESULT STDMETHODCALLTYPE IOleUndoManager_Add_Proxy( 
  7005.     IOleUndoManager __RPC_FAR * This,
  7006.     /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  7007.  
  7008.  
  7009. void __RPC_STUB IOleUndoManager_Add_Stub(
  7010.     IRpcStubBuffer *This,
  7011.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7012.     PRPC_MESSAGE _pRpcMessage,
  7013.     DWORD *_pdwStubPhase);
  7014.  
  7015.  
  7016. HRESULT STDMETHODCALLTYPE IOleUndoManager_GetOpenParentState_Proxy( 
  7017.     IOleUndoManager __RPC_FAR * This,
  7018.     /* [out] */ DWORD __RPC_FAR *pdwState);
  7019.  
  7020.  
  7021. void __RPC_STUB IOleUndoManager_GetOpenParentState_Stub(
  7022.     IRpcStubBuffer *This,
  7023.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7024.     PRPC_MESSAGE _pRpcMessage,
  7025.     DWORD *_pdwStubPhase);
  7026.  
  7027.  
  7028. HRESULT STDMETHODCALLTYPE IOleUndoManager_DiscardFrom_Proxy( 
  7029.     IOleUndoManager __RPC_FAR * This,
  7030.     /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  7031.  
  7032.  
  7033. void __RPC_STUB IOleUndoManager_DiscardFrom_Stub(
  7034.     IRpcStubBuffer *This,
  7035.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7036.     PRPC_MESSAGE _pRpcMessage,
  7037.     DWORD *_pdwStubPhase);
  7038.  
  7039.  
  7040. HRESULT STDMETHODCALLTYPE IOleUndoManager_UndoTo_Proxy( 
  7041.     IOleUndoManager __RPC_FAR * This,
  7042.     /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  7043.  
  7044.  
  7045. void __RPC_STUB IOleUndoManager_UndoTo_Stub(
  7046.     IRpcStubBuffer *This,
  7047.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7048.     PRPC_MESSAGE _pRpcMessage,
  7049.     DWORD *_pdwStubPhase);
  7050.  
  7051.  
  7052. HRESULT STDMETHODCALLTYPE IOleUndoManager_RedoTo_Proxy( 
  7053.     IOleUndoManager __RPC_FAR * This,
  7054.     /* [in] */ IOleUndoUnit __RPC_FAR *pUU);
  7055.  
  7056.  
  7057. void __RPC_STUB IOleUndoManager_RedoTo_Stub(
  7058.     IRpcStubBuffer *This,
  7059.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7060.     PRPC_MESSAGE _pRpcMessage,
  7061.     DWORD *_pdwStubPhase);
  7062.  
  7063.  
  7064. HRESULT STDMETHODCALLTYPE IOleUndoManager_EnumUndoable_Proxy( 
  7065.     IOleUndoManager __RPC_FAR * This,
  7066.     /* [out] */ IEnumOleUndoUnits __RPC_FAR *__RPC_FAR *ppEnum);
  7067.  
  7068.  
  7069. void __RPC_STUB IOleUndoManager_EnumUndoable_Stub(
  7070.     IRpcStubBuffer *This,
  7071.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7072.     PRPC_MESSAGE _pRpcMessage,
  7073.     DWORD *_pdwStubPhase);
  7074.  
  7075.  
  7076. HRESULT STDMETHODCALLTYPE IOleUndoManager_EnumRedoable_Proxy( 
  7077.     IOleUndoManager __RPC_FAR * This,
  7078.     /* [out] */ IEnumOleUndoUnits __RPC_FAR *__RPC_FAR *ppEnum);
  7079.  
  7080.  
  7081. void __RPC_STUB IOleUndoManager_EnumRedoable_Stub(
  7082.     IRpcStubBuffer *This,
  7083.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7084.     PRPC_MESSAGE _pRpcMessage,
  7085.     DWORD *_pdwStubPhase);
  7086.  
  7087.  
  7088. HRESULT STDMETHODCALLTYPE IOleUndoManager_GetLastUndoDescription_Proxy( 
  7089.     IOleUndoManager __RPC_FAR * This,
  7090.     /* [out] */ BSTR __RPC_FAR *pBstr);
  7091.  
  7092.  
  7093. void __RPC_STUB IOleUndoManager_GetLastUndoDescription_Stub(
  7094.     IRpcStubBuffer *This,
  7095.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7096.     PRPC_MESSAGE _pRpcMessage,
  7097.     DWORD *_pdwStubPhase);
  7098.  
  7099.  
  7100. HRESULT STDMETHODCALLTYPE IOleUndoManager_GetLastRedoDescription_Proxy( 
  7101.     IOleUndoManager __RPC_FAR * This,
  7102.     /* [out] */ BSTR __RPC_FAR *pBstr);
  7103.  
  7104.  
  7105. void __RPC_STUB IOleUndoManager_GetLastRedoDescription_Stub(
  7106.     IRpcStubBuffer *This,
  7107.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7108.     PRPC_MESSAGE _pRpcMessage,
  7109.     DWORD *_pdwStubPhase);
  7110.  
  7111.  
  7112. HRESULT STDMETHODCALLTYPE IOleUndoManager_Enable_Proxy( 
  7113.     IOleUndoManager __RPC_FAR * This,
  7114.     /* [in] */ BOOL fEnable);
  7115.  
  7116.  
  7117. void __RPC_STUB IOleUndoManager_Enable_Stub(
  7118.     IRpcStubBuffer *This,
  7119.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7120.     PRPC_MESSAGE _pRpcMessage,
  7121.     DWORD *_pdwStubPhase);
  7122.  
  7123.  
  7124.  
  7125. #endif     /* __IOleUndoManager_INTERFACE_DEFINED__ */
  7126.  
  7127.  
  7128. #ifndef __IPointerInactive_INTERFACE_DEFINED__
  7129. #define __IPointerInactive_INTERFACE_DEFINED__
  7130.  
  7131. /****************************************
  7132.  * Generated header for interface: IPointerInactive
  7133.  * at Thu Sep 11 10:57:01 1997
  7134.  * using MIDL 3.03.0110
  7135.  ****************************************/
  7136. /* [uuid][unique][object] */ 
  7137.  
  7138.  
  7139. typedef IPointerInactive __RPC_FAR *LPPOINTERINACTIVE;
  7140.  
  7141. typedef /* [v1_enum] */ 
  7142. enum tagPOINTERINACTIVE
  7143.     {    POINTERINACTIVE_ACTIVATEONENTRY    = 1,
  7144.     POINTERINACTIVE_DEACTIVATEONLEAVE    = 2,
  7145.     POINTERINACTIVE_ACTIVATEONDRAG    = 4
  7146.     }    POINTERINACTIVE;
  7147.  
  7148.  
  7149. EXTERN_C const IID IID_IPointerInactive;
  7150.  
  7151. #if defined(__cplusplus) && !defined(CINTERFACE)
  7152.     
  7153.     MIDL_INTERFACE("55980BA0-35AA-11CF-B671-00AA004CD6D8")
  7154.     IPointerInactive : public IUnknown
  7155.     {
  7156.     public:
  7157.         virtual HRESULT STDMETHODCALLTYPE GetActivationPolicy( 
  7158.             /* [out] */ DWORD __RPC_FAR *pdwPolicy) = 0;
  7159.         
  7160.         virtual HRESULT STDMETHODCALLTYPE OnInactiveMouseMove( 
  7161.             /* [in] */ LPCRECT pRectBounds,
  7162.             /* [in] */ LONG x,
  7163.             /* [in] */ LONG y,
  7164.             /* [in] */ DWORD grfKeyState) = 0;
  7165.         
  7166.         virtual HRESULT STDMETHODCALLTYPE OnInactiveSetCursor( 
  7167.             /* [in] */ LPCRECT pRectBounds,
  7168.             /* [in] */ LONG x,
  7169.             /* [in] */ LONG y,
  7170.             /* [in] */ DWORD dwMouseMsg,
  7171.             /* [in] */ BOOL fSetAlways) = 0;
  7172.         
  7173.     };
  7174.     
  7175. #else     /* C style interface */
  7176.  
  7177.     typedef struct IPointerInactiveVtbl
  7178.     {
  7179.         BEGIN_INTERFACE
  7180.         
  7181.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  7182.             IPointerInactive __RPC_FAR * This,
  7183.             /* [in] */ REFIID riid,
  7184.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7185.         
  7186.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  7187.             IPointerInactive __RPC_FAR * This);
  7188.         
  7189.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  7190.             IPointerInactive __RPC_FAR * This);
  7191.         
  7192.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetActivationPolicy )( 
  7193.             IPointerInactive __RPC_FAR * This,
  7194.             /* [out] */ DWORD __RPC_FAR *pdwPolicy);
  7195.         
  7196.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInactiveMouseMove )( 
  7197.             IPointerInactive __RPC_FAR * This,
  7198.             /* [in] */ LPCRECT pRectBounds,
  7199.             /* [in] */ LONG x,
  7200.             /* [in] */ LONG y,
  7201.             /* [in] */ DWORD grfKeyState);
  7202.         
  7203.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInactiveSetCursor )( 
  7204.             IPointerInactive __RPC_FAR * This,
  7205.             /* [in] */ LPCRECT pRectBounds,
  7206.             /* [in] */ LONG x,
  7207.             /* [in] */ LONG y,
  7208.             /* [in] */ DWORD dwMouseMsg,
  7209.             /* [in] */ BOOL fSetAlways);
  7210.         
  7211.         END_INTERFACE
  7212.     } IPointerInactiveVtbl;
  7213.  
  7214.     interface IPointerInactive
  7215.     {
  7216.         CONST_VTBL struct IPointerInactiveVtbl __RPC_FAR *lpVtbl;
  7217.     };
  7218.  
  7219.     
  7220.  
  7221. #ifdef COBJMACROS
  7222.  
  7223.  
  7224. #define IPointerInactive_QueryInterface(This,riid,ppvObject)    \
  7225.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7226.  
  7227. #define IPointerInactive_AddRef(This)    \
  7228.     (This)->lpVtbl -> AddRef(This)
  7229.  
  7230. #define IPointerInactive_Release(This)    \
  7231.     (This)->lpVtbl -> Release(This)
  7232.  
  7233.  
  7234. #define IPointerInactive_GetActivationPolicy(This,pdwPolicy)    \
  7235.     (This)->lpVtbl -> GetActivationPolicy(This,pdwPolicy)
  7236.  
  7237. #define IPointerInactive_OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState)    \
  7238.     (This)->lpVtbl -> OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState)
  7239.  
  7240. #define IPointerInactive_OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways)    \
  7241.     (This)->lpVtbl -> OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways)
  7242.  
  7243. #endif /* COBJMACROS */
  7244.  
  7245.  
  7246. #endif     /* C style interface */
  7247.  
  7248.  
  7249.  
  7250. HRESULT STDMETHODCALLTYPE IPointerInactive_GetActivationPolicy_Proxy( 
  7251.     IPointerInactive __RPC_FAR * This,
  7252.     /* [out] */ DWORD __RPC_FAR *pdwPolicy);
  7253.  
  7254.  
  7255. void __RPC_STUB IPointerInactive_GetActivationPolicy_Stub(
  7256.     IRpcStubBuffer *This,
  7257.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7258.     PRPC_MESSAGE _pRpcMessage,
  7259.     DWORD *_pdwStubPhase);
  7260.  
  7261.  
  7262. HRESULT STDMETHODCALLTYPE IPointerInactive_OnInactiveMouseMove_Proxy( 
  7263.     IPointerInactive __RPC_FAR * This,
  7264.     /* [in] */ LPCRECT pRectBounds,
  7265.     /* [in] */ LONG x,
  7266.     /* [in] */ LONG y,
  7267.     /* [in] */ DWORD grfKeyState);
  7268.  
  7269.  
  7270. void __RPC_STUB IPointerInactive_OnInactiveMouseMove_Stub(
  7271.     IRpcStubBuffer *This,
  7272.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7273.     PRPC_MESSAGE _pRpcMessage,
  7274.     DWORD *_pdwStubPhase);
  7275.  
  7276.  
  7277. HRESULT STDMETHODCALLTYPE IPointerInactive_OnInactiveSetCursor_Proxy( 
  7278.     IPointerInactive __RPC_FAR * This,
  7279.     /* [in] */ LPCRECT pRectBounds,
  7280.     /* [in] */ LONG x,
  7281.     /* [in] */ LONG y,
  7282.     /* [in] */ DWORD dwMouseMsg,
  7283.     /* [in] */ BOOL fSetAlways);
  7284.  
  7285.  
  7286. void __RPC_STUB IPointerInactive_OnInactiveSetCursor_Stub(
  7287.     IRpcStubBuffer *This,
  7288.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7289.     PRPC_MESSAGE _pRpcMessage,
  7290.     DWORD *_pdwStubPhase);
  7291.  
  7292.  
  7293.  
  7294. #endif     /* __IPointerInactive_INTERFACE_DEFINED__ */
  7295.  
  7296.  
  7297. #ifndef __IObjectWithSite_INTERFACE_DEFINED__
  7298. #define __IObjectWithSite_INTERFACE_DEFINED__
  7299.  
  7300. /****************************************
  7301.  * Generated header for interface: IObjectWithSite
  7302.  * at Thu Sep 11 10:57:01 1997
  7303.  * using MIDL 3.03.0110
  7304.  ****************************************/
  7305. /* [unique][uuid][object] */ 
  7306.  
  7307.  
  7308. typedef IObjectWithSite __RPC_FAR *LPOBJECTWITHSITE;
  7309.  
  7310.  
  7311. EXTERN_C const IID IID_IObjectWithSite;
  7312.  
  7313. #if defined(__cplusplus) && !defined(CINTERFACE)
  7314.     
  7315.     MIDL_INTERFACE("FC4801A3-2BA9-11CF-A229-00AA003D7352")
  7316.     IObjectWithSite : public IUnknown
  7317.     {
  7318.     public:
  7319.         virtual HRESULT STDMETHODCALLTYPE SetSite( 
  7320.             /* [in] */ IUnknown __RPC_FAR *pUnkSite) = 0;
  7321.         
  7322.         virtual HRESULT STDMETHODCALLTYPE GetSite( 
  7323.             /* [in] */ REFIID riid,
  7324.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvSite) = 0;
  7325.         
  7326.     };
  7327.     
  7328. #else     /* C style interface */
  7329.  
  7330.     typedef struct IObjectWithSiteVtbl
  7331.     {
  7332.         BEGIN_INTERFACE
  7333.         
  7334.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  7335.             IObjectWithSite __RPC_FAR * This,
  7336.             /* [in] */ REFIID riid,
  7337.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7338.         
  7339.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  7340.             IObjectWithSite __RPC_FAR * This);
  7341.         
  7342.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  7343.             IObjectWithSite __RPC_FAR * This);
  7344.         
  7345.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSite )( 
  7346.             IObjectWithSite __RPC_FAR * This,
  7347.             /* [in] */ IUnknown __RPC_FAR *pUnkSite);
  7348.         
  7349.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSite )( 
  7350.             IObjectWithSite __RPC_FAR * This,
  7351.             /* [in] */ REFIID riid,
  7352.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvSite);
  7353.         
  7354.         END_INTERFACE
  7355.     } IObjectWithSiteVtbl;
  7356.  
  7357.     interface IObjectWithSite
  7358.     {
  7359.         CONST_VTBL struct IObjectWithSiteVtbl __RPC_FAR *lpVtbl;
  7360.     };
  7361.  
  7362.     
  7363.  
  7364. #ifdef COBJMACROS
  7365.  
  7366.  
  7367. #define IObjectWithSite_QueryInterface(This,riid,ppvObject)    \
  7368.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7369.  
  7370. #define IObjectWithSite_AddRef(This)    \
  7371.     (This)->lpVtbl -> AddRef(This)
  7372.  
  7373. #define IObjectWithSite_Release(This)    \
  7374.     (This)->lpVtbl -> Release(This)
  7375.  
  7376.  
  7377. #define IObjectWithSite_SetSite(This,pUnkSite)    \
  7378.     (This)->lpVtbl -> SetSite(This,pUnkSite)
  7379.  
  7380. #define IObjectWithSite_GetSite(This,riid,ppvSite)    \
  7381.     (This)->lpVtbl -> GetSite(This,riid,ppvSite)
  7382.  
  7383. #endif /* COBJMACROS */
  7384.  
  7385.  
  7386. #endif     /* C style interface */
  7387.  
  7388.  
  7389.  
  7390. HRESULT STDMETHODCALLTYPE IObjectWithSite_SetSite_Proxy( 
  7391.     IObjectWithSite __RPC_FAR * This,
  7392.     /* [in] */ IUnknown __RPC_FAR *pUnkSite);
  7393.  
  7394.  
  7395. void __RPC_STUB IObjectWithSite_SetSite_Stub(
  7396.     IRpcStubBuffer *This,
  7397.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7398.     PRPC_MESSAGE _pRpcMessage,
  7399.     DWORD *_pdwStubPhase);
  7400.  
  7401.  
  7402. HRESULT STDMETHODCALLTYPE IObjectWithSite_GetSite_Proxy( 
  7403.     IObjectWithSite __RPC_FAR * This,
  7404.     /* [in] */ REFIID riid,
  7405.     /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvSite);
  7406.  
  7407.  
  7408. void __RPC_STUB IObjectWithSite_GetSite_Stub(
  7409.     IRpcStubBuffer *This,
  7410.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7411.     PRPC_MESSAGE _pRpcMessage,
  7412.     DWORD *_pdwStubPhase);
  7413.  
  7414.  
  7415.  
  7416. #endif     /* __IObjectWithSite_INTERFACE_DEFINED__ */
  7417.  
  7418.  
  7419. #ifndef __IErrorLog_INTERFACE_DEFINED__
  7420. #define __IErrorLog_INTERFACE_DEFINED__
  7421.  
  7422. /****************************************
  7423.  * Generated header for interface: IErrorLog
  7424.  * at Thu Sep 11 10:57:01 1997
  7425.  * using MIDL 3.03.0110
  7426.  ****************************************/
  7427. /* [unique][uuid][object] */ 
  7428.  
  7429.  
  7430. typedef IErrorLog __RPC_FAR *LPERRORLOG;
  7431.  
  7432.  
  7433. EXTERN_C const IID IID_IErrorLog;
  7434.  
  7435. #if defined(__cplusplus) && !defined(CINTERFACE)
  7436.     
  7437.     MIDL_INTERFACE("3127CA40-446E-11CE-8135-00AA004BB851")
  7438.     IErrorLog : public IUnknown
  7439.     {
  7440.     public:
  7441.         virtual HRESULT STDMETHODCALLTYPE AddError( 
  7442.             /* [in] */ LPCOLESTR pszPropName,
  7443.             /* [in] */ EXCEPINFO __RPC_FAR *pExcepInfo) = 0;
  7444.         
  7445.     };
  7446.     
  7447. #else     /* C style interface */
  7448.  
  7449.     typedef struct IErrorLogVtbl
  7450.     {
  7451.         BEGIN_INTERFACE
  7452.         
  7453.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  7454.             IErrorLog __RPC_FAR * This,
  7455.             /* [in] */ REFIID riid,
  7456.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7457.         
  7458.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  7459.             IErrorLog __RPC_FAR * This);
  7460.         
  7461.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  7462.             IErrorLog __RPC_FAR * This);
  7463.         
  7464.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddError )( 
  7465.             IErrorLog __RPC_FAR * This,
  7466.             /* [in] */ LPCOLESTR pszPropName,
  7467.             /* [in] */ EXCEPINFO __RPC_FAR *pExcepInfo);
  7468.         
  7469.         END_INTERFACE
  7470.     } IErrorLogVtbl;
  7471.  
  7472.     interface IErrorLog
  7473.     {
  7474.         CONST_VTBL struct IErrorLogVtbl __RPC_FAR *lpVtbl;
  7475.     };
  7476.  
  7477.     
  7478.  
  7479. #ifdef COBJMACROS
  7480.  
  7481.  
  7482. #define IErrorLog_QueryInterface(This,riid,ppvObject)    \
  7483.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7484.  
  7485. #define IErrorLog_AddRef(This)    \
  7486.     (This)->lpVtbl -> AddRef(This)
  7487.  
  7488. #define IErrorLog_Release(This)    \
  7489.     (This)->lpVtbl -> Release(This)
  7490.  
  7491.  
  7492. #define IErrorLog_AddError(This,pszPropName,pExcepInfo)    \
  7493.     (This)->lpVtbl -> AddError(This,pszPropName,pExcepInfo)
  7494.  
  7495. #endif /* COBJMACROS */
  7496.  
  7497.  
  7498. #endif     /* C style interface */
  7499.  
  7500.  
  7501.  
  7502. HRESULT STDMETHODCALLTYPE IErrorLog_AddError_Proxy( 
  7503.     IErrorLog __RPC_FAR * This,
  7504.     /* [in] */ LPCOLESTR pszPropName,
  7505.     /* [in] */ EXCEPINFO __RPC_FAR *pExcepInfo);
  7506.  
  7507.  
  7508. void __RPC_STUB IErrorLog_AddError_Stub(
  7509.     IRpcStubBuffer *This,
  7510.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7511.     PRPC_MESSAGE _pRpcMessage,
  7512.     DWORD *_pdwStubPhase);
  7513.  
  7514.  
  7515.  
  7516. #endif     /* __IErrorLog_INTERFACE_DEFINED__ */
  7517.  
  7518.  
  7519. #ifndef __IPropertyBag_INTERFACE_DEFINED__
  7520. #define __IPropertyBag_INTERFACE_DEFINED__
  7521.  
  7522. /****************************************
  7523.  * Generated header for interface: IPropertyBag
  7524.  * at Thu Sep 11 10:57:01 1997
  7525.  * using MIDL 3.03.0110
  7526.  ****************************************/
  7527. /* [unique][uuid][object] */ 
  7528.  
  7529.  
  7530. typedef IPropertyBag __RPC_FAR *LPPROPERTYBAG;
  7531.  
  7532.  
  7533. EXTERN_C const IID IID_IPropertyBag;
  7534.  
  7535. #if defined(__cplusplus) && !defined(CINTERFACE)
  7536.     
  7537.     MIDL_INTERFACE("55272A00-42CB-11CE-8135-00AA004BB851")
  7538.     IPropertyBag : public IUnknown
  7539.     {
  7540.     public:
  7541.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE Read( 
  7542.             /* [in] */ LPCOLESTR pszPropName,
  7543.             /* [out][in] */ VARIANT __RPC_FAR *pVar,
  7544.             /* [in] */ IErrorLog __RPC_FAR *pErrorLog) = 0;
  7545.         
  7546.         virtual HRESULT STDMETHODCALLTYPE Write( 
  7547.             /* [in] */ LPCOLESTR pszPropName,
  7548.             /* [in] */ VARIANT __RPC_FAR *pVar) = 0;
  7549.         
  7550.     };
  7551.     
  7552. #else     /* C style interface */
  7553.  
  7554.     typedef struct IPropertyBagVtbl
  7555.     {
  7556.         BEGIN_INTERFACE
  7557.         
  7558.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  7559.             IPropertyBag __RPC_FAR * This,
  7560.             /* [in] */ REFIID riid,
  7561.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7562.         
  7563.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  7564.             IPropertyBag __RPC_FAR * This);
  7565.         
  7566.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  7567.             IPropertyBag __RPC_FAR * This);
  7568.         
  7569.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Read )( 
  7570.             IPropertyBag __RPC_FAR * This,
  7571.             /* [in] */ LPCOLESTR pszPropName,
  7572.             /* [out][in] */ VARIANT __RPC_FAR *pVar,
  7573.             /* [in] */ IErrorLog __RPC_FAR *pErrorLog);
  7574.         
  7575.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Write )( 
  7576.             IPropertyBag __RPC_FAR * This,
  7577.             /* [in] */ LPCOLESTR pszPropName,
  7578.             /* [in] */ VARIANT __RPC_FAR *pVar);
  7579.         
  7580.         END_INTERFACE
  7581.     } IPropertyBagVtbl;
  7582.  
  7583.     interface IPropertyBag
  7584.     {
  7585.         CONST_VTBL struct IPropertyBagVtbl __RPC_FAR *lpVtbl;
  7586.     };
  7587.  
  7588.     
  7589.  
  7590. #ifdef COBJMACROS
  7591.  
  7592.  
  7593. #define IPropertyBag_QueryInterface(This,riid,ppvObject)    \
  7594.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7595.  
  7596. #define IPropertyBag_AddRef(This)    \
  7597.     (This)->lpVtbl -> AddRef(This)
  7598.  
  7599. #define IPropertyBag_Release(This)    \
  7600.     (This)->lpVtbl -> Release(This)
  7601.  
  7602.  
  7603. #define IPropertyBag_Read(This,pszPropName,pVar,pErrorLog)    \
  7604.     (This)->lpVtbl -> Read(This,pszPropName,pVar,pErrorLog)
  7605.  
  7606. #define IPropertyBag_Write(This,pszPropName,pVar)    \
  7607.     (This)->lpVtbl -> Write(This,pszPropName,pVar)
  7608.  
  7609. #endif /* COBJMACROS */
  7610.  
  7611.  
  7612. #endif     /* C style interface */
  7613.  
  7614.  
  7615.  
  7616. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPropertyBag_RemoteRead_Proxy( 
  7617.     IPropertyBag __RPC_FAR * This,
  7618.     /* [in] */ LPCOLESTR pszPropName,
  7619.     /* [out] */ VARIANT __RPC_FAR *pVar,
  7620.     /* [in] */ IErrorLog __RPC_FAR *pErrorLog,
  7621.     /* [in] */ DWORD varType,
  7622.     /* [in] */ IUnknown __RPC_FAR *pUnkObj);
  7623.  
  7624.  
  7625. void __RPC_STUB IPropertyBag_RemoteRead_Stub(
  7626.     IRpcStubBuffer *This,
  7627.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7628.     PRPC_MESSAGE _pRpcMessage,
  7629.     DWORD *_pdwStubPhase);
  7630.  
  7631.  
  7632. HRESULT STDMETHODCALLTYPE IPropertyBag_Write_Proxy( 
  7633.     IPropertyBag __RPC_FAR * This,
  7634.     /* [in] */ LPCOLESTR pszPropName,
  7635.     /* [in] */ VARIANT __RPC_FAR *pVar);
  7636.  
  7637.  
  7638. void __RPC_STUB IPropertyBag_Write_Stub(
  7639.     IRpcStubBuffer *This,
  7640.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7641.     PRPC_MESSAGE _pRpcMessage,
  7642.     DWORD *_pdwStubPhase);
  7643.  
  7644.  
  7645.  
  7646. #endif     /* __IPropertyBag_INTERFACE_DEFINED__ */
  7647.  
  7648.  
  7649. #ifndef __IPerPropertyBrowsing_INTERFACE_DEFINED__
  7650. #define __IPerPropertyBrowsing_INTERFACE_DEFINED__
  7651.  
  7652. /****************************************
  7653.  * Generated header for interface: IPerPropertyBrowsing
  7654.  * at Thu Sep 11 10:57:01 1997
  7655.  * using MIDL 3.03.0110
  7656.  ****************************************/
  7657. /* [unique][uuid][object] */ 
  7658.  
  7659.  
  7660. typedef IPerPropertyBrowsing __RPC_FAR *LPPERPROPERTYBROWSING;
  7661.  
  7662. typedef struct  tagCALPOLESTR
  7663.     {
  7664.     ULONG cElems;
  7665.     /* [size_is] */ LPOLESTR __RPC_FAR *pElems;
  7666.     }    CALPOLESTR;
  7667.  
  7668. typedef struct tagCALPOLESTR __RPC_FAR *LPCALPOLESTR;
  7669.  
  7670. typedef struct  tagCADWORD
  7671.     {
  7672.     ULONG cElems;
  7673.     /* [size_is] */ DWORD __RPC_FAR *pElems;
  7674.     }    CADWORD;
  7675.  
  7676. typedef struct tagCADWORD __RPC_FAR *LPCADWORD;
  7677.  
  7678.  
  7679. EXTERN_C const IID IID_IPerPropertyBrowsing;
  7680.  
  7681. #if defined(__cplusplus) && !defined(CINTERFACE)
  7682.     
  7683.     MIDL_INTERFACE("376BD3AA-3845-101B-84ED-08002B2EC713")
  7684.     IPerPropertyBrowsing : public IUnknown
  7685.     {
  7686.     public:
  7687.         virtual HRESULT STDMETHODCALLTYPE GetDisplayString( 
  7688.             /* [in] */ DISPID dispID,
  7689.             /* [out] */ BSTR __RPC_FAR *pBstr) = 0;
  7690.         
  7691.         virtual HRESULT STDMETHODCALLTYPE MapPropertyToPage( 
  7692.             /* [in] */ DISPID dispID,
  7693.             /* [out] */ CLSID __RPC_FAR *pClsid) = 0;
  7694.         
  7695.         virtual HRESULT STDMETHODCALLTYPE GetPredefinedStrings( 
  7696.             /* [in] */ DISPID dispID,
  7697.             /* [out] */ CALPOLESTR __RPC_FAR *pCaStringsOut,
  7698.             /* [out] */ CADWORD __RPC_FAR *pCaCookiesOut) = 0;
  7699.         
  7700.         virtual HRESULT STDMETHODCALLTYPE GetPredefinedValue( 
  7701.             /* [in] */ DISPID dispID,
  7702.             /* [in] */ DWORD dwCookie,
  7703.             /* [out] */ VARIANT __RPC_FAR *pVarOut) = 0;
  7704.         
  7705.     };
  7706.     
  7707. #else     /* C style interface */
  7708.  
  7709.     typedef struct IPerPropertyBrowsingVtbl
  7710.     {
  7711.         BEGIN_INTERFACE
  7712.         
  7713.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  7714.             IPerPropertyBrowsing __RPC_FAR * This,
  7715.             /* [in] */ REFIID riid,
  7716.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7717.         
  7718.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  7719.             IPerPropertyBrowsing __RPC_FAR * This);
  7720.         
  7721.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  7722.             IPerPropertyBrowsing __RPC_FAR * This);
  7723.         
  7724.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDisplayString )( 
  7725.             IPerPropertyBrowsing __RPC_FAR * This,
  7726.             /* [in] */ DISPID dispID,
  7727.             /* [out] */ BSTR __RPC_FAR *pBstr);
  7728.         
  7729.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MapPropertyToPage )( 
  7730.             IPerPropertyBrowsing __RPC_FAR * This,
  7731.             /* [in] */ DISPID dispID,
  7732.             /* [out] */ CLSID __RPC_FAR *pClsid);
  7733.         
  7734.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPredefinedStrings )( 
  7735.             IPerPropertyBrowsing __RPC_FAR * This,
  7736.             /* [in] */ DISPID dispID,
  7737.             /* [out] */ CALPOLESTR __RPC_FAR *pCaStringsOut,
  7738.             /* [out] */ CADWORD __RPC_FAR *pCaCookiesOut);
  7739.         
  7740.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPredefinedValue )( 
  7741.             IPerPropertyBrowsing __RPC_FAR * This,
  7742.             /* [in] */ DISPID dispID,
  7743.             /* [in] */ DWORD dwCookie,
  7744.             /* [out] */ VARIANT __RPC_FAR *pVarOut);
  7745.         
  7746.         END_INTERFACE
  7747.     } IPerPropertyBrowsingVtbl;
  7748.  
  7749.     interface IPerPropertyBrowsing
  7750.     {
  7751.         CONST_VTBL struct IPerPropertyBrowsingVtbl __RPC_FAR *lpVtbl;
  7752.     };
  7753.  
  7754.     
  7755.  
  7756. #ifdef COBJMACROS
  7757.  
  7758.  
  7759. #define IPerPropertyBrowsing_QueryInterface(This,riid,ppvObject)    \
  7760.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7761.  
  7762. #define IPerPropertyBrowsing_AddRef(This)    \
  7763.     (This)->lpVtbl -> AddRef(This)
  7764.  
  7765. #define IPerPropertyBrowsing_Release(This)    \
  7766.     (This)->lpVtbl -> Release(This)
  7767.  
  7768.  
  7769. #define IPerPropertyBrowsing_GetDisplayString(This,dispID,pBstr)    \
  7770.     (This)->lpVtbl -> GetDisplayString(This,dispID,pBstr)
  7771.  
  7772. #define IPerPropertyBrowsing_MapPropertyToPage(This,dispID,pClsid)    \
  7773.     (This)->lpVtbl -> MapPropertyToPage(This,dispID,pClsid)
  7774.  
  7775. #define IPerPropertyBrowsing_GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut)    \
  7776.     (This)->lpVtbl -> GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut)
  7777.  
  7778. #define IPerPropertyBrowsing_GetPredefinedValue(This,dispID,dwCookie,pVarOut)    \
  7779.     (This)->lpVtbl -> GetPredefinedValue(This,dispID,dwCookie,pVarOut)
  7780.  
  7781. #endif /* COBJMACROS */
  7782.  
  7783.  
  7784. #endif     /* C style interface */
  7785.  
  7786.  
  7787.  
  7788. HRESULT STDMETHODCALLTYPE IPerPropertyBrowsing_GetDisplayString_Proxy( 
  7789.     IPerPropertyBrowsing __RPC_FAR * This,
  7790.     /* [in] */ DISPID dispID,
  7791.     /* [out] */ BSTR __RPC_FAR *pBstr);
  7792.  
  7793.  
  7794. void __RPC_STUB IPerPropertyBrowsing_GetDisplayString_Stub(
  7795.     IRpcStubBuffer *This,
  7796.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7797.     PRPC_MESSAGE _pRpcMessage,
  7798.     DWORD *_pdwStubPhase);
  7799.  
  7800.  
  7801. HRESULT STDMETHODCALLTYPE IPerPropertyBrowsing_MapPropertyToPage_Proxy( 
  7802.     IPerPropertyBrowsing __RPC_FAR * This,
  7803.     /* [in] */ DISPID dispID,
  7804.     /* [out] */ CLSID __RPC_FAR *pClsid);
  7805.  
  7806.  
  7807. void __RPC_STUB IPerPropertyBrowsing_MapPropertyToPage_Stub(
  7808.     IRpcStubBuffer *This,
  7809.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7810.     PRPC_MESSAGE _pRpcMessage,
  7811.     DWORD *_pdwStubPhase);
  7812.  
  7813.  
  7814. HRESULT STDMETHODCALLTYPE IPerPropertyBrowsing_GetPredefinedStrings_Proxy( 
  7815.     IPerPropertyBrowsing __RPC_FAR * This,
  7816.     /* [in] */ DISPID dispID,
  7817.     /* [out] */ CALPOLESTR __RPC_FAR *pCaStringsOut,
  7818.     /* [out] */ CADWORD __RPC_FAR *pCaCookiesOut);
  7819.  
  7820.  
  7821. void __RPC_STUB IPerPropertyBrowsing_GetPredefinedStrings_Stub(
  7822.     IRpcStubBuffer *This,
  7823.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7824.     PRPC_MESSAGE _pRpcMessage,
  7825.     DWORD *_pdwStubPhase);
  7826.  
  7827.  
  7828. HRESULT STDMETHODCALLTYPE IPerPropertyBrowsing_GetPredefinedValue_Proxy( 
  7829.     IPerPropertyBrowsing __RPC_FAR * This,
  7830.     /* [in] */ DISPID dispID,
  7831.     /* [in] */ DWORD dwCookie,
  7832.     /* [out] */ VARIANT __RPC_FAR *pVarOut);
  7833.  
  7834.  
  7835. void __RPC_STUB IPerPropertyBrowsing_GetPredefinedValue_Stub(
  7836.     IRpcStubBuffer *This,
  7837.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7838.     PRPC_MESSAGE _pRpcMessage,
  7839.     DWORD *_pdwStubPhase);
  7840.  
  7841.  
  7842.  
  7843. #endif     /* __IPerPropertyBrowsing_INTERFACE_DEFINED__ */
  7844.  
  7845.  
  7846. #ifndef __IPropertyBag2_INTERFACE_DEFINED__
  7847. #define __IPropertyBag2_INTERFACE_DEFINED__
  7848.  
  7849. /****************************************
  7850.  * Generated header for interface: IPropertyBag2
  7851.  * at Thu Sep 11 10:57:01 1997
  7852.  * using MIDL 3.03.0110
  7853.  ****************************************/
  7854. /* [unique][uuid][object] */ 
  7855.  
  7856.  
  7857. typedef IPropertyBag2 __RPC_FAR *LPPROPERTYBAG2;
  7858.  
  7859. typedef /* [v1_enum] */ 
  7860. enum tagPROPBAG2_TYPE
  7861.     {    PROPBAG2_TYPE_UNDEFINED    = 0,
  7862.     PROPBAG2_TYPE_DATA    = 1,
  7863.     PROPBAG2_TYPE_URL    = 2,
  7864.     PROPBAG2_TYPE_OBJECT    = 3,
  7865.     PROPBAG2_TYPE_STREAM    = 4,
  7866.     PROPBAG2_TYPE_STORAGE    = 5,
  7867.     PROPBAG2_TYPE_MONIKER    = 6
  7868.     }    PROPBAG2_TYPE;
  7869.  
  7870. typedef struct  tagPROPBAG2
  7871.     {
  7872.     DWORD dwType;
  7873.     VARTYPE vt;
  7874.     CLIPFORMAT cfType;
  7875.     DWORD dwHint;
  7876.     LPOLESTR pstrName;
  7877.     CLSID clsid;
  7878.     }    PROPBAG2;
  7879.  
  7880.  
  7881. EXTERN_C const IID IID_IPropertyBag2;
  7882.  
  7883. #if defined(__cplusplus) && !defined(CINTERFACE)
  7884.     
  7885.     MIDL_INTERFACE("22F55882-280B-11d0-A8A9-00A0C90C2004")
  7886.     IPropertyBag2 : public IUnknown
  7887.     {
  7888.     public:
  7889.         virtual HRESULT STDMETHODCALLTYPE Read( 
  7890.             /* [in] */ ULONG cProperties,
  7891.             /* [in] */ PROPBAG2 __RPC_FAR *pPropBag,
  7892.             /* [in] */ IErrorLog __RPC_FAR *pErrLog,
  7893.             /* [out] */ VARIANT __RPC_FAR *pvarValue,
  7894.             /* [out] */ HRESULT __RPC_FAR *phrError) = 0;
  7895.         
  7896.         virtual HRESULT STDMETHODCALLTYPE Write( 
  7897.             /* [in] */ ULONG cProperties,
  7898.             /* [in] */ PROPBAG2 __RPC_FAR *pPropBag,
  7899.             /* [in] */ VARIANT __RPC_FAR *pvarValue) = 0;
  7900.         
  7901.         virtual HRESULT STDMETHODCALLTYPE CountProperties( 
  7902.             /* [out] */ ULONG __RPC_FAR *pcProperties) = 0;
  7903.         
  7904.         virtual HRESULT STDMETHODCALLTYPE GetPropertyInfo( 
  7905.             /* [in] */ ULONG iProperty,
  7906.             /* [in] */ ULONG cProperties,
  7907.             /* [out] */ PROPBAG2 __RPC_FAR *pPropBag,
  7908.             /* [out] */ ULONG __RPC_FAR *pcProperties) = 0;
  7909.         
  7910.         virtual HRESULT STDMETHODCALLTYPE LoadObject( 
  7911.             /* [in] */ LPCOLESTR pstrName,
  7912.             /* [in] */ DWORD dwHint,
  7913.             /* [in] */ IUnknown __RPC_FAR *pUnkObject,
  7914.             /* [in] */ IErrorLog __RPC_FAR *pErrLog) = 0;
  7915.         
  7916.     };
  7917.     
  7918. #else     /* C style interface */
  7919.  
  7920.     typedef struct IPropertyBag2Vtbl
  7921.     {
  7922.         BEGIN_INTERFACE
  7923.         
  7924.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  7925.             IPropertyBag2 __RPC_FAR * This,
  7926.             /* [in] */ REFIID riid,
  7927.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7928.         
  7929.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  7930.             IPropertyBag2 __RPC_FAR * This);
  7931.         
  7932.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  7933.             IPropertyBag2 __RPC_FAR * This);
  7934.         
  7935.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Read )( 
  7936.             IPropertyBag2 __RPC_FAR * This,
  7937.             /* [in] */ ULONG cProperties,
  7938.             /* [in] */ PROPBAG2 __RPC_FAR *pPropBag,
  7939.             /* [in] */ IErrorLog __RPC_FAR *pErrLog,
  7940.             /* [out] */ VARIANT __RPC_FAR *pvarValue,
  7941.             /* [out] */ HRESULT __RPC_FAR *phrError);
  7942.         
  7943.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Write )( 
  7944.             IPropertyBag2 __RPC_FAR * This,
  7945.             /* [in] */ ULONG cProperties,
  7946.             /* [in] */ PROPBAG2 __RPC_FAR *pPropBag,
  7947.             /* [in] */ VARIANT __RPC_FAR *pvarValue);
  7948.         
  7949.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CountProperties )( 
  7950.             IPropertyBag2 __RPC_FAR * This,
  7951.             /* [out] */ ULONG __RPC_FAR *pcProperties);
  7952.         
  7953.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyInfo )( 
  7954.             IPropertyBag2 __RPC_FAR * This,
  7955.             /* [in] */ ULONG iProperty,
  7956.             /* [in] */ ULONG cProperties,
  7957.             /* [out] */ PROPBAG2 __RPC_FAR *pPropBag,
  7958.             /* [out] */ ULONG __RPC_FAR *pcProperties);
  7959.         
  7960.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LoadObject )( 
  7961.             IPropertyBag2 __RPC_FAR * This,
  7962.             /* [in] */ LPCOLESTR pstrName,
  7963.             /* [in] */ DWORD dwHint,
  7964.             /* [in] */ IUnknown __RPC_FAR *pUnkObject,
  7965.             /* [in] */ IErrorLog __RPC_FAR *pErrLog);
  7966.         
  7967.         END_INTERFACE
  7968.     } IPropertyBag2Vtbl;
  7969.  
  7970.     interface IPropertyBag2
  7971.     {
  7972.         CONST_VTBL struct IPropertyBag2Vtbl __RPC_FAR *lpVtbl;
  7973.     };
  7974.  
  7975.     
  7976.  
  7977. #ifdef COBJMACROS
  7978.  
  7979.  
  7980. #define IPropertyBag2_QueryInterface(This,riid,ppvObject)    \
  7981.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7982.  
  7983. #define IPropertyBag2_AddRef(This)    \
  7984.     (This)->lpVtbl -> AddRef(This)
  7985.  
  7986. #define IPropertyBag2_Release(This)    \
  7987.     (This)->lpVtbl -> Release(This)
  7988.  
  7989.  
  7990. #define IPropertyBag2_Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError)    \
  7991.     (This)->lpVtbl -> Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError)
  7992.  
  7993. #define IPropertyBag2_Write(This,cProperties,pPropBag,pvarValue)    \
  7994.     (This)->lpVtbl -> Write(This,cProperties,pPropBag,pvarValue)
  7995.  
  7996. #define IPropertyBag2_CountProperties(This,pcProperties)    \
  7997.     (This)->lpVtbl -> CountProperties(This,pcProperties)
  7998.  
  7999. #define IPropertyBag2_GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties)    \
  8000.     (This)->lpVtbl -> GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties)
  8001.  
  8002. #define IPropertyBag2_LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog)    \
  8003.     (This)->lpVtbl -> LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog)
  8004.  
  8005. #endif /* COBJMACROS */
  8006.  
  8007.  
  8008. #endif     /* C style interface */
  8009.  
  8010.  
  8011.  
  8012. HRESULT STDMETHODCALLTYPE IPropertyBag2_Read_Proxy( 
  8013.     IPropertyBag2 __RPC_FAR * This,
  8014.     /* [in] */ ULONG cProperties,
  8015.     /* [in] */ PROPBAG2 __RPC_FAR *pPropBag,
  8016.     /* [in] */ IErrorLog __RPC_FAR *pErrLog,
  8017.     /* [out] */ VARIANT __RPC_FAR *pvarValue,
  8018.     /* [out] */ HRESULT __RPC_FAR *phrError);
  8019.  
  8020.  
  8021. void __RPC_STUB IPropertyBag2_Read_Stub(
  8022.     IRpcStubBuffer *This,
  8023.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8024.     PRPC_MESSAGE _pRpcMessage,
  8025.     DWORD *_pdwStubPhase);
  8026.  
  8027.  
  8028. HRESULT STDMETHODCALLTYPE IPropertyBag2_Write_Proxy( 
  8029.     IPropertyBag2 __RPC_FAR * This,
  8030.     /* [in] */ ULONG cProperties,
  8031.     /* [in] */ PROPBAG2 __RPC_FAR *pPropBag,
  8032.     /* [in] */ VARIANT __RPC_FAR *pvarValue);
  8033.  
  8034.  
  8035. void __RPC_STUB IPropertyBag2_Write_Stub(
  8036.     IRpcStubBuffer *This,
  8037.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8038.     PRPC_MESSAGE _pRpcMessage,
  8039.     DWORD *_pdwStubPhase);
  8040.  
  8041.  
  8042. HRESULT STDMETHODCALLTYPE IPropertyBag2_CountProperties_Proxy( 
  8043.     IPropertyBag2 __RPC_FAR * This,
  8044.     /* [out] */ ULONG __RPC_FAR *pcProperties);
  8045.  
  8046.  
  8047. void __RPC_STUB IPropertyBag2_CountProperties_Stub(
  8048.     IRpcStubBuffer *This,
  8049.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8050.     PRPC_MESSAGE _pRpcMessage,
  8051.     DWORD *_pdwStubPhase);
  8052.  
  8053.  
  8054. HRESULT STDMETHODCALLTYPE IPropertyBag2_GetPropertyInfo_Proxy( 
  8055.     IPropertyBag2 __RPC_FAR * This,
  8056.     /* [in] */ ULONG iProperty,
  8057.     /* [in] */ ULONG cProperties,
  8058.     /* [out] */ PROPBAG2 __RPC_FAR *pPropBag,
  8059.     /* [out] */ ULONG __RPC_FAR *pcProperties);
  8060.  
  8061.  
  8062. void __RPC_STUB IPropertyBag2_GetPropertyInfo_Stub(
  8063.     IRpcStubBuffer *This,
  8064.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8065.     PRPC_MESSAGE _pRpcMessage,
  8066.     DWORD *_pdwStubPhase);
  8067.  
  8068.  
  8069. HRESULT STDMETHODCALLTYPE IPropertyBag2_LoadObject_Proxy( 
  8070.     IPropertyBag2 __RPC_FAR * This,
  8071.     /* [in] */ LPCOLESTR pstrName,
  8072.     /* [in] */ DWORD dwHint,
  8073.     /* [in] */ IUnknown __RPC_FAR *pUnkObject,
  8074.     /* [in] */ IErrorLog __RPC_FAR *pErrLog);
  8075.  
  8076.  
  8077. void __RPC_STUB IPropertyBag2_LoadObject_Stub(
  8078.     IRpcStubBuffer *This,
  8079.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8080.     PRPC_MESSAGE _pRpcMessage,
  8081.     DWORD *_pdwStubPhase);
  8082.  
  8083.  
  8084.  
  8085. #endif     /* __IPropertyBag2_INTERFACE_DEFINED__ */
  8086.  
  8087.  
  8088. #ifndef __IPersistPropertyBag2_INTERFACE_DEFINED__
  8089. #define __IPersistPropertyBag2_INTERFACE_DEFINED__
  8090.  
  8091. /****************************************
  8092.  * Generated header for interface: IPersistPropertyBag2
  8093.  * at Thu Sep 11 10:57:01 1997
  8094.  * using MIDL 3.03.0110
  8095.  ****************************************/
  8096. /* [unique][uuid][object] */ 
  8097.  
  8098.  
  8099. typedef IPersistPropertyBag2 __RPC_FAR *LPPERSISTPROPERTYBAG2;
  8100.  
  8101.  
  8102. EXTERN_C const IID IID_IPersistPropertyBag2;
  8103.  
  8104. #if defined(__cplusplus) && !defined(CINTERFACE)
  8105.     
  8106.     MIDL_INTERFACE("22F55881-280B-11d0-A8A9-00A0C90C2004")
  8107.     IPersistPropertyBag2 : public IPersist
  8108.     {
  8109.     public:
  8110.         virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  8111.         
  8112.         virtual HRESULT STDMETHODCALLTYPE Load( 
  8113.             /* [in] */ IPropertyBag2 __RPC_FAR *pPropBag,
  8114.             /* [in] */ IErrorLog __RPC_FAR *pErrLog) = 0;
  8115.         
  8116.         virtual HRESULT STDMETHODCALLTYPE Save( 
  8117.             /* [in] */ IPropertyBag2 __RPC_FAR *pPropBag,
  8118.             /* [in] */ BOOL fClearDirty,
  8119.             /* [in] */ BOOL fSaveAllProperties) = 0;
  8120.         
  8121.         virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
  8122.         
  8123.     };
  8124.     
  8125. #else     /* C style interface */
  8126.  
  8127.     typedef struct IPersistPropertyBag2Vtbl
  8128.     {
  8129.         BEGIN_INTERFACE
  8130.         
  8131.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  8132.             IPersistPropertyBag2 __RPC_FAR * This,
  8133.             /* [in] */ REFIID riid,
  8134.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  8135.         
  8136.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  8137.             IPersistPropertyBag2 __RPC_FAR * This);
  8138.         
  8139.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  8140.             IPersistPropertyBag2 __RPC_FAR * This);
  8141.         
  8142.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassID )( 
  8143.             IPersistPropertyBag2 __RPC_FAR * This,
  8144.             /* [out] */ CLSID __RPC_FAR *pClassID);
  8145.         
  8146.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InitNew )( 
  8147.             IPersistPropertyBag2 __RPC_FAR * This);
  8148.         
  8149.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )( 
  8150.             IPersistPropertyBag2 __RPC_FAR * This,
  8151.             /* [in] */ IPropertyBag2 __RPC_FAR *pPropBag,
  8152.             /* [in] */ IErrorLog __RPC_FAR *pErrLog);
  8153.         
  8154.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Save )( 
  8155.             IPersistPropertyBag2 __RPC_FAR * This,
  8156.             /* [in] */ IPropertyBag2 __RPC_FAR *pPropBag,
  8157.             /* [in] */ BOOL fClearDirty,
  8158.             /* [in] */ BOOL fSaveAllProperties);
  8159.         
  8160.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsDirty )( 
  8161.             IPersistPropertyBag2 __RPC_FAR * This);
  8162.         
  8163.         END_INTERFACE
  8164.     } IPersistPropertyBag2Vtbl;
  8165.  
  8166.     interface IPersistPropertyBag2
  8167.     {
  8168.         CONST_VTBL struct IPersistPropertyBag2Vtbl __RPC_FAR *lpVtbl;
  8169.     };
  8170.  
  8171.     
  8172.  
  8173. #ifdef COBJMACROS
  8174.  
  8175.  
  8176. #define IPersistPropertyBag2_QueryInterface(This,riid,ppvObject)    \
  8177.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8178.  
  8179. #define IPersistPropertyBag2_AddRef(This)    \
  8180.     (This)->lpVtbl -> AddRef(This)
  8181.  
  8182. #define IPersistPropertyBag2_Release(This)    \
  8183.     (This)->lpVtbl -> Release(This)
  8184.  
  8185.  
  8186. #define IPersistPropertyBag2_GetClassID(This,pClassID)    \
  8187.     (This)->lpVtbl -> GetClassID(This,pClassID)
  8188.  
  8189.  
  8190. #define IPersistPropertyBag2_InitNew(This)    \
  8191.     (This)->lpVtbl -> InitNew(This)
  8192.  
  8193. #define IPersistPropertyBag2_Load(This,pPropBag,pErrLog)    \
  8194.     (This)->lpVtbl -> Load(This,pPropBag,pErrLog)
  8195.  
  8196. #define IPersistPropertyBag2_Save(This,pPropBag,fClearDirty,fSaveAllProperties)    \
  8197.     (This)->lpVtbl -> Save(This,pPropBag,fClearDirty,fSaveAllProperties)
  8198.  
  8199. #define IPersistPropertyBag2_IsDirty(This)    \
  8200.     (This)->lpVtbl -> IsDirty(This)
  8201.  
  8202. #endif /* COBJMACROS */
  8203.  
  8204.  
  8205. #endif     /* C style interface */
  8206.  
  8207.  
  8208.  
  8209. HRESULT STDMETHODCALLTYPE IPersistPropertyBag2_InitNew_Proxy( 
  8210.     IPersistPropertyBag2 __RPC_FAR * This);
  8211.  
  8212.  
  8213. void __RPC_STUB IPersistPropertyBag2_InitNew_Stub(
  8214.     IRpcStubBuffer *This,
  8215.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8216.     PRPC_MESSAGE _pRpcMessage,
  8217.     DWORD *_pdwStubPhase);
  8218.  
  8219.  
  8220. HRESULT STDMETHODCALLTYPE IPersistPropertyBag2_Load_Proxy( 
  8221.     IPersistPropertyBag2 __RPC_FAR * This,
  8222.     /* [in] */ IPropertyBag2 __RPC_FAR *pPropBag,
  8223.     /* [in] */ IErrorLog __RPC_FAR *pErrLog);
  8224.  
  8225.  
  8226. void __RPC_STUB IPersistPropertyBag2_Load_Stub(
  8227.     IRpcStubBuffer *This,
  8228.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8229.     PRPC_MESSAGE _pRpcMessage,
  8230.     DWORD *_pdwStubPhase);
  8231.  
  8232.  
  8233. HRESULT STDMETHODCALLTYPE IPersistPropertyBag2_Save_Proxy( 
  8234.     IPersistPropertyBag2 __RPC_FAR * This,
  8235.     /* [in] */ IPropertyBag2 __RPC_FAR *pPropBag,
  8236.     /* [in] */ BOOL fClearDirty,
  8237.     /* [in] */ BOOL fSaveAllProperties);
  8238.  
  8239.  
  8240. void __RPC_STUB IPersistPropertyBag2_Save_Stub(
  8241.     IRpcStubBuffer *This,
  8242.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8243.     PRPC_MESSAGE _pRpcMessage,
  8244.     DWORD *_pdwStubPhase);
  8245.  
  8246.  
  8247. HRESULT STDMETHODCALLTYPE IPersistPropertyBag2_IsDirty_Proxy( 
  8248.     IPersistPropertyBag2 __RPC_FAR * This);
  8249.  
  8250.  
  8251. void __RPC_STUB IPersistPropertyBag2_IsDirty_Stub(
  8252.     IRpcStubBuffer *This,
  8253.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8254.     PRPC_MESSAGE _pRpcMessage,
  8255.     DWORD *_pdwStubPhase);
  8256.  
  8257.  
  8258.  
  8259. #endif     /* __IPersistPropertyBag2_INTERFACE_DEFINED__ */
  8260.  
  8261.  
  8262. #ifndef __IAdviseSinkEx_INTERFACE_DEFINED__
  8263. #define __IAdviseSinkEx_INTERFACE_DEFINED__
  8264.  
  8265. /****************************************
  8266.  * Generated header for interface: IAdviseSinkEx
  8267.  * at Thu Sep 11 10:57:01 1997
  8268.  * using MIDL 3.03.0110
  8269.  ****************************************/
  8270. /* [uuid][unique][object] */ 
  8271.  
  8272.  
  8273. typedef IAdviseSinkEx __RPC_FAR *LPADVISESINKEX;
  8274.  
  8275.  
  8276. EXTERN_C const IID IID_IAdviseSinkEx;
  8277.  
  8278. #if defined(__cplusplus) && !defined(CINTERFACE)
  8279.     
  8280.     MIDL_INTERFACE("3AF24290-0C96-11CE-A0CF-00AA00600AB8")
  8281.     IAdviseSinkEx : public IAdviseSink
  8282.     {
  8283.     public:
  8284.         virtual /* [local] */ void STDMETHODCALLTYPE OnViewStatusChange( 
  8285.             /* [in] */ DWORD dwViewStatus) = 0;
  8286.         
  8287.     };
  8288.     
  8289. #else     /* C style interface */
  8290.  
  8291.     typedef struct IAdviseSinkExVtbl
  8292.     {
  8293.         BEGIN_INTERFACE
  8294.         
  8295.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  8296.             IAdviseSinkEx __RPC_FAR * This,
  8297.             /* [in] */ REFIID riid,
  8298.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  8299.         
  8300.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  8301.             IAdviseSinkEx __RPC_FAR * This);
  8302.         
  8303.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  8304.             IAdviseSinkEx __RPC_FAR * This);
  8305.         
  8306.         /* [local] */ void ( STDMETHODCALLTYPE __RPC_FAR *OnDataChange )( 
  8307.             IAdviseSinkEx __RPC_FAR * This,
  8308.             /* [unique][in] */ FORMATETC __RPC_FAR *pFormatetc,
  8309.             /* [unique][in] */ STGMEDIUM __RPC_FAR *pStgmed);
  8310.         
  8311.         /* [local] */ void ( STDMETHODCALLTYPE __RPC_FAR *OnViewChange )( 
  8312.             IAdviseSinkEx __RPC_FAR * This,
  8313.             /* [in] */ DWORD dwAspect,
  8314.             /* [in] */ LONG lindex);
  8315.         
  8316.         /* [local] */ void ( STDMETHODCALLTYPE __RPC_FAR *OnRename )( 
  8317.             IAdviseSinkEx __RPC_FAR * This,
  8318.             /* [in] */ IMoniker __RPC_FAR *pmk);
  8319.         
  8320.         /* [local] */ void ( STDMETHODCALLTYPE __RPC_FAR *OnSave )( 
  8321.             IAdviseSinkEx __RPC_FAR * This);
  8322.         
  8323.         /* [local] */ void ( STDMETHODCALLTYPE __RPC_FAR *OnClose )( 
  8324.             IAdviseSinkEx __RPC_FAR * This);
  8325.         
  8326.         /* [local] */ void ( STDMETHODCALLTYPE __RPC_FAR *OnViewStatusChange )( 
  8327.             IAdviseSinkEx __RPC_FAR * This,
  8328.             /* [in] */ DWORD dwViewStatus);
  8329.         
  8330.         END_INTERFACE
  8331.     } IAdviseSinkExVtbl;
  8332.  
  8333.     interface IAdviseSinkEx
  8334.     {
  8335.         CONST_VTBL struct IAdviseSinkExVtbl __RPC_FAR *lpVtbl;
  8336.     };
  8337.  
  8338.     
  8339.  
  8340. #ifdef COBJMACROS
  8341.  
  8342.  
  8343. #define IAdviseSinkEx_QueryInterface(This,riid,ppvObject)    \
  8344.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8345.  
  8346. #define IAdviseSinkEx_AddRef(This)    \
  8347.     (This)->lpVtbl -> AddRef(This)
  8348.  
  8349. #define IAdviseSinkEx_Release(This)    \
  8350.     (This)->lpVtbl -> Release(This)
  8351.  
  8352.  
  8353. #define IAdviseSinkEx_OnDataChange(This,pFormatetc,pStgmed)    \
  8354.     (This)->lpVtbl -> OnDataChange(This,pFormatetc,pStgmed)
  8355.  
  8356. #define IAdviseSinkEx_OnViewChange(This,dwAspect,lindex)    \
  8357.     (This)->lpVtbl -> OnViewChange(This,dwAspect,lindex)
  8358.  
  8359. #define IAdviseSinkEx_OnRename(This,pmk)    \
  8360.     (This)->lpVtbl -> OnRename(This,pmk)
  8361.  
  8362. #define IAdviseSinkEx_OnSave(This)    \
  8363.     (This)->lpVtbl -> OnSave(This)
  8364.  
  8365. #define IAdviseSinkEx_OnClose(This)    \
  8366.     (This)->lpVtbl -> OnClose(This)
  8367.  
  8368.  
  8369. #define IAdviseSinkEx_OnViewStatusChange(This,dwViewStatus)    \
  8370.     (This)->lpVtbl -> OnViewStatusChange(This,dwViewStatus)
  8371.  
  8372. #endif /* COBJMACROS */
  8373.  
  8374.  
  8375. #endif     /* C style interface */
  8376.  
  8377.  
  8378.  
  8379. /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSinkEx_RemoteOnViewStatusChange_Proxy( 
  8380.     IAdviseSinkEx __RPC_FAR * This,
  8381.     /* [in] */ DWORD dwViewStatus);
  8382.  
  8383.  
  8384. void __RPC_STUB IAdviseSinkEx_RemoteOnViewStatusChange_Stub(
  8385.     IRpcStubBuffer *This,
  8386.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8387.     PRPC_MESSAGE _pRpcMessage,
  8388.     DWORD *_pdwStubPhase);
  8389.  
  8390.  
  8391.  
  8392. #endif     /* __IAdviseSinkEx_INTERFACE_DEFINED__ */
  8393.  
  8394.  
  8395. #ifndef __IQuickActivate_INTERFACE_DEFINED__
  8396. #define __IQuickActivate_INTERFACE_DEFINED__
  8397.  
  8398. /****************************************
  8399.  * Generated header for interface: IQuickActivate
  8400.  * at Thu Sep 11 10:57:01 1997
  8401.  * using MIDL 3.03.0110
  8402.  ****************************************/
  8403. /* [uuid][unique][object] */ 
  8404.  
  8405.  
  8406. typedef IQuickActivate __RPC_FAR *LPQUICKACTIVATE;
  8407.  
  8408. typedef /* [v1_enum] */ 
  8409. enum tagQACONTAINERFLAGS
  8410.     {    QACONTAINER_SHOWHATCHING    = 0x1,
  8411.     QACONTAINER_SHOWGRABHANDLES    = 0x2,
  8412.     QACONTAINER_USERMODE    = 0x4,
  8413.     QACONTAINER_DISPLAYASDEFAULT    = 0x8,
  8414.     QACONTAINER_UIDEAD    = 0x10,
  8415.     QACONTAINER_AUTOCLIP    = 0x20,
  8416.     QACONTAINER_MESSAGEREFLECT    = 0x40,
  8417.     QACONTAINER_SUPPORTSMNEMONICS    = 0x80
  8418.     }    QACONTAINERFLAGS;
  8419.  
  8420. typedef DWORD OLE_COLOR;
  8421.  
  8422. typedef struct  tagQACONTAINER
  8423.     {
  8424.     ULONG cbSize;
  8425.     IOleClientSite __RPC_FAR *pClientSite;
  8426.     IAdviseSinkEx __RPC_FAR *pAdviseSink;
  8427.     IPropertyNotifySink __RPC_FAR *pPropertyNotifySink;
  8428.     IUnknown __RPC_FAR *pUnkEventSink;
  8429.     DWORD dwAmbientFlags;
  8430.     OLE_COLOR colorFore;
  8431.     OLE_COLOR colorBack;
  8432.     IFont __RPC_FAR *pFont;
  8433.     IOleUndoManager __RPC_FAR *pUndoMgr;
  8434.     DWORD dwAppearance;
  8435.     LONG lcid;
  8436.     HPALETTE hpal;
  8437.     IBindHost __RPC_FAR *pBindHost;
  8438.     IOleControlSite __RPC_FAR *pOleControlSite;
  8439.     IServiceProvider __RPC_FAR *pServiceProvider;
  8440.     }    QACONTAINER;
  8441.  
  8442. typedef struct  tagQACONTROL
  8443.     {
  8444.     ULONG cbSize;
  8445.     DWORD dwMiscStatus;
  8446.     DWORD dwViewStatus;
  8447.     DWORD dwEventCookie;
  8448.     DWORD dwPropNotifyCookie;
  8449.     DWORD dwPointerActivationPolicy;
  8450.     }    QACONTROL;
  8451.  
  8452.  
  8453. EXTERN_C const IID IID_IQuickActivate;
  8454.  
  8455. #if defined(__cplusplus) && !defined(CINTERFACE)
  8456.     
  8457.     MIDL_INTERFACE("CF51ED10-62FE-11CF-BF86-00A0C9034836")
  8458.     IQuickActivate : public IUnknown
  8459.     {
  8460.     public:
  8461.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE QuickActivate( 
  8462.             /* [in] */ QACONTAINER __RPC_FAR *pQaContainer,
  8463.             /* [out][in] */ QACONTROL __RPC_FAR *pQaControl) = 0;
  8464.         
  8465.         virtual HRESULT STDMETHODCALLTYPE SetContentExtent( 
  8466.             /* [in] */ LPSIZEL pSizel) = 0;
  8467.         
  8468.         virtual HRESULT STDMETHODCALLTYPE GetContentExtent( 
  8469.             /* [out] */ LPSIZEL pSizel) = 0;
  8470.         
  8471.     };
  8472.     
  8473. #else     /* C style interface */
  8474.  
  8475.     typedef struct IQuickActivateVtbl
  8476.     {
  8477.         BEGIN_INTERFACE
  8478.         
  8479.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  8480.             IQuickActivate __RPC_FAR * This,
  8481.             /* [in] */ REFIID riid,
  8482.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  8483.         
  8484.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  8485.             IQuickActivate __RPC_FAR * This);
  8486.         
  8487.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  8488.             IQuickActivate __RPC_FAR * This);
  8489.         
  8490.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QuickActivate )( 
  8491.             IQuickActivate __RPC_FAR * This,
  8492.             /* [in] */ QACONTAINER __RPC_FAR *pQaContainer,
  8493.             /* [out][in] */ QACONTROL __RPC_FAR *pQaControl);
  8494.         
  8495.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetContentExtent )( 
  8496.             IQuickActivate __RPC_FAR * This,
  8497.             /* [in] */ LPSIZEL pSizel);
  8498.         
  8499.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetContentExtent )( 
  8500.             IQuickActivate __RPC_FAR * This,
  8501.             /* [out] */ LPSIZEL pSizel);
  8502.         
  8503.         END_INTERFACE
  8504.     } IQuickActivateVtbl;
  8505.  
  8506.     interface IQuickActivate
  8507.     {
  8508.         CONST_VTBL struct IQuickActivateVtbl __RPC_FAR *lpVtbl;
  8509.     };
  8510.  
  8511.     
  8512.  
  8513. #ifdef COBJMACROS
  8514.  
  8515.  
  8516. #define IQuickActivate_QueryInterface(This,riid,ppvObject)    \
  8517.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8518.  
  8519. #define IQuickActivate_AddRef(This)    \
  8520.     (This)->lpVtbl -> AddRef(This)
  8521.  
  8522. #define IQuickActivate_Release(This)    \
  8523.     (This)->lpVtbl -> Release(This)
  8524.  
  8525.  
  8526. #define IQuickActivate_QuickActivate(This,pQaContainer,pQaControl)    \
  8527.     (This)->lpVtbl -> QuickActivate(This,pQaContainer,pQaControl)
  8528.  
  8529. #define IQuickActivate_SetContentExtent(This,pSizel)    \
  8530.     (This)->lpVtbl -> SetContentExtent(This,pSizel)
  8531.  
  8532. #define IQuickActivate_GetContentExtent(This,pSizel)    \
  8533.     (This)->lpVtbl -> GetContentExtent(This,pSizel)
  8534.  
  8535. #endif /* COBJMACROS */
  8536.  
  8537.  
  8538. #endif     /* C style interface */
  8539.  
  8540.  
  8541.  
  8542. /* [call_as] */ HRESULT STDMETHODCALLTYPE IQuickActivate_RemoteQuickActivate_Proxy( 
  8543.     IQuickActivate __RPC_FAR * This,
  8544.     /* [in] */ QACONTAINER __RPC_FAR *pQaContainer,
  8545.     /* [out] */ QACONTROL __RPC_FAR *pQaControl);
  8546.  
  8547.  
  8548. void __RPC_STUB IQuickActivate_RemoteQuickActivate_Stub(
  8549.     IRpcStubBuffer *This,
  8550.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8551.     PRPC_MESSAGE _pRpcMessage,
  8552.     DWORD *_pdwStubPhase);
  8553.  
  8554.  
  8555. HRESULT STDMETHODCALLTYPE IQuickActivate_SetContentExtent_Proxy( 
  8556.     IQuickActivate __RPC_FAR * This,
  8557.     /* [in] */ LPSIZEL pSizel);
  8558.  
  8559.  
  8560. void __RPC_STUB IQuickActivate_SetContentExtent_Stub(
  8561.     IRpcStubBuffer *This,
  8562.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8563.     PRPC_MESSAGE _pRpcMessage,
  8564.     DWORD *_pdwStubPhase);
  8565.  
  8566.  
  8567. HRESULT STDMETHODCALLTYPE IQuickActivate_GetContentExtent_Proxy( 
  8568.     IQuickActivate __RPC_FAR * This,
  8569.     /* [out] */ LPSIZEL pSizel);
  8570.  
  8571.  
  8572. void __RPC_STUB IQuickActivate_GetContentExtent_Stub(
  8573.     IRpcStubBuffer *This,
  8574.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8575.     PRPC_MESSAGE _pRpcMessage,
  8576.     DWORD *_pdwStubPhase);
  8577.  
  8578.  
  8579.  
  8580. #endif     /* __IQuickActivate_INTERFACE_DEFINED__ */
  8581.  
  8582.  
  8583. /* Additional Prototypes for ALL interfaces */
  8584.  
  8585. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  8586. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  8587. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  8588. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  8589.  
  8590. unsigned long             __RPC_USER  CLIPFORMAT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , CLIPFORMAT __RPC_FAR * ); 
  8591. unsigned char __RPC_FAR * __RPC_USER  CLIPFORMAT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, CLIPFORMAT __RPC_FAR * ); 
  8592. unsigned char __RPC_FAR * __RPC_USER  CLIPFORMAT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, CLIPFORMAT __RPC_FAR * ); 
  8593. void                      __RPC_USER  CLIPFORMAT_UserFree(     unsigned long __RPC_FAR *, CLIPFORMAT __RPC_FAR * ); 
  8594.  
  8595. unsigned long             __RPC_USER  HACCEL_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HACCEL __RPC_FAR * ); 
  8596. unsigned char __RPC_FAR * __RPC_USER  HACCEL_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HACCEL __RPC_FAR * ); 
  8597. unsigned char __RPC_FAR * __RPC_USER  HACCEL_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HACCEL __RPC_FAR * ); 
  8598. void                      __RPC_USER  HACCEL_UserFree(     unsigned long __RPC_FAR *, HACCEL __RPC_FAR * ); 
  8599.  
  8600. unsigned long             __RPC_USER  HDC_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HDC __RPC_FAR * ); 
  8601. unsigned char __RPC_FAR * __RPC_USER  HDC_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HDC __RPC_FAR * ); 
  8602. unsigned char __RPC_FAR * __RPC_USER  HDC_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HDC __RPC_FAR * ); 
  8603. void                      __RPC_USER  HDC_UserFree(     unsigned long __RPC_FAR *, HDC __RPC_FAR * ); 
  8604.  
  8605. unsigned long             __RPC_USER  HFONT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HFONT __RPC_FAR * ); 
  8606. unsigned char __RPC_FAR * __RPC_USER  HFONT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HFONT __RPC_FAR * ); 
  8607. unsigned char __RPC_FAR * __RPC_USER  HFONT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HFONT __RPC_FAR * ); 
  8608. void                      __RPC_USER  HFONT_UserFree(     unsigned long __RPC_FAR *, HFONT __RPC_FAR * ); 
  8609.  
  8610. unsigned long             __RPC_USER  HPALETTE_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HPALETTE __RPC_FAR * ); 
  8611. unsigned char __RPC_FAR * __RPC_USER  HPALETTE_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HPALETTE __RPC_FAR * ); 
  8612. unsigned char __RPC_FAR * __RPC_USER  HPALETTE_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HPALETTE __RPC_FAR * ); 
  8613. void                      __RPC_USER  HPALETTE_UserFree(     unsigned long __RPC_FAR *, HPALETTE __RPC_FAR * ); 
  8614.  
  8615. unsigned long             __RPC_USER  HWND_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HWND __RPC_FAR * ); 
  8616. unsigned char __RPC_FAR * __RPC_USER  HWND_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * ); 
  8617. unsigned char __RPC_FAR * __RPC_USER  HWND_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * ); 
  8618. void                      __RPC_USER  HWND_UserFree(     unsigned long __RPC_FAR *, HWND __RPC_FAR * ); 
  8619.  
  8620. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , VARIANT __RPC_FAR * ); 
  8621. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  8622. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  8623. void                      __RPC_USER  VARIANT_UserFree(     unsigned long __RPC_FAR *, VARIANT __RPC_FAR * ); 
  8624.  
  8625. /* [local] */ HRESULT STDMETHODCALLTYPE IEnumConnections_Next_Proxy( 
  8626.     IEnumConnections __RPC_FAR * This,
  8627.     /* [in] */ ULONG cConnections,
  8628.     /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  8629.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  8630.  
  8631.  
  8632. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnections_Next_Stub( 
  8633.     IEnumConnections __RPC_FAR * This,
  8634.     /* [in] */ ULONG cConnections,
  8635.     /* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
  8636.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  8637.  
  8638. /* [local] */ HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Next_Proxy( 
  8639.     IEnumConnectionPoints __RPC_FAR * This,
  8640.     /* [in] */ ULONG cConnections,
  8641.     /* [length_is][size_is][out] */ LPCONNECTIONPOINT __RPC_FAR *ppCP,
  8642.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  8643.  
  8644.  
  8645. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Next_Stub( 
  8646.     IEnumConnectionPoints __RPC_FAR * This,
  8647.     /* [in] */ ULONG cConnections,
  8648.     /* [length_is][size_is][out] */ LPCONNECTIONPOINT __RPC_FAR *ppCP,
  8649.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  8650.  
  8651. /* [local] */ HRESULT STDMETHODCALLTYPE IClassFactory2_CreateInstanceLic_Proxy( 
  8652.     IClassFactory2 __RPC_FAR * This,
  8653.     /* [in] */ IUnknown __RPC_FAR *pUnkOuter,
  8654.     /* [in] */ IUnknown __RPC_FAR *pUnkReserved,
  8655.     /* [in] */ REFIID riid,
  8656.     /* [in] */ BSTR bstrKey,
  8657.     /* [iid_is][out] */ PVOID __RPC_FAR *ppvObj);
  8658.  
  8659.  
  8660. /* [call_as] */ HRESULT STDMETHODCALLTYPE IClassFactory2_CreateInstanceLic_Stub( 
  8661.     IClassFactory2 __RPC_FAR * This,
  8662.     /* [in] */ REFIID riid,
  8663.     /* [in] */ BSTR bstrKey,
  8664.     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObj);
  8665.  
  8666. /* [local] */ HRESULT STDMETHODCALLTYPE IPersistMemory_Load_Proxy( 
  8667.     IPersistMemory __RPC_FAR * This,
  8668.     /* [size_is][in] */ LPVOID pMem,
  8669.     /* [in] */ ULONG cbSize);
  8670.  
  8671.  
  8672. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPersistMemory_Load_Stub( 
  8673.     IPersistMemory __RPC_FAR * This,
  8674.     /* [size_is][in] */ BYTE __RPC_FAR *pMem,
  8675.     /* [in] */ ULONG cbSize);
  8676.  
  8677. /* [local] */ HRESULT STDMETHODCALLTYPE IPersistMemory_Save_Proxy( 
  8678.     IPersistMemory __RPC_FAR * This,
  8679.     /* [size_is][out] */ LPVOID pMem,
  8680.     /* [in] */ BOOL fClearDirty,
  8681.     /* [in] */ ULONG cbSize);
  8682.  
  8683.  
  8684. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPersistMemory_Save_Stub( 
  8685.     IPersistMemory __RPC_FAR * This,
  8686.     /* [size_is][out] */ BYTE __RPC_FAR *pMem,
  8687.     /* [in] */ BOOL fClearDirty,
  8688.     /* [in] */ ULONG cbSize);
  8689.  
  8690. /* [local] */ HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Next_Proxy( 
  8691.     IEnumOleUndoUnits __RPC_FAR * This,
  8692.     /* [in] */ ULONG cElt,
  8693.     /* [length_is][size_is][out] */ IOleUndoUnit __RPC_FAR *__RPC_FAR *rgElt,
  8694.     /* [out] */ ULONG __RPC_FAR *pcEltFetched);
  8695.  
  8696.  
  8697. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumOleUndoUnits_Next_Stub( 
  8698.     IEnumOleUndoUnits __RPC_FAR * This,
  8699.     /* [in] */ ULONG cElt,
  8700.     /* [length_is][size_is][out] */ IOleUndoUnit __RPC_FAR *__RPC_FAR *rgElt,
  8701.     /* [out] */ ULONG __RPC_FAR *pcEltFetched);
  8702.  
  8703. /* [local] */ HRESULT STDMETHODCALLTYPE IPropertyBag_Read_Proxy( 
  8704.     IPropertyBag __RPC_FAR * This,
  8705.     /* [in] */ LPCOLESTR pszPropName,
  8706.     /* [out][in] */ VARIANT __RPC_FAR *pVar,
  8707.     /* [in] */ IErrorLog __RPC_FAR *pErrorLog);
  8708.  
  8709.  
  8710. /* [call_as] */ HRESULT STDMETHODCALLTYPE IPropertyBag_Read_Stub( 
  8711.     IPropertyBag __RPC_FAR * This,
  8712.     /* [in] */ LPCOLESTR pszPropName,
  8713.     /* [out] */ VARIANT __RPC_FAR *pVar,
  8714.     /* [in] */ IErrorLog __RPC_FAR *pErrorLog,
  8715.     /* [in] */ DWORD varType,
  8716.     /* [in] */ IUnknown __RPC_FAR *pUnkObj);
  8717.  
  8718. /* [local] */ void STDMETHODCALLTYPE IAdviseSinkEx_OnViewStatusChange_Proxy( 
  8719.     IAdviseSinkEx __RPC_FAR * This,
  8720.     /* [in] */ DWORD dwViewStatus);
  8721.  
  8722.  
  8723. /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSinkEx_OnViewStatusChange_Stub( 
  8724.     IAdviseSinkEx __RPC_FAR * This,
  8725.     /* [in] */ DWORD dwViewStatus);
  8726.  
  8727. /* [local] */ HRESULT STDMETHODCALLTYPE IQuickActivate_QuickActivate_Proxy( 
  8728.     IQuickActivate __RPC_FAR * This,
  8729.     /* [in] */ QACONTAINER __RPC_FAR *pQaContainer,
  8730.     /* [out][in] */ QACONTROL __RPC_FAR *pQaControl);
  8731.  
  8732.  
  8733. /* [call_as] */ HRESULT STDMETHODCALLTYPE IQuickActivate_QuickActivate_Stub( 
  8734.     IQuickActivate __RPC_FAR * This,
  8735.     /* [in] */ QACONTAINER __RPC_FAR *pQaContainer,
  8736.     /* [out] */ QACONTROL __RPC_FAR *pQaControl);
  8737.  
  8738.  
  8739.  
  8740. /* end of Additional Prototypes */
  8741.  
  8742. #ifdef __cplusplus
  8743. }
  8744. #endif
  8745.  
  8746. #endif
  8747.