Home | History | Annotate | Download | only in include
      1 /*** Autogenerated by WIDL 1.5.25 from include/ocidl.idl - Do not edit ***/
      2 
      3 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      4 #define __REQUIRED_RPCNDR_H_VERSION__ 475
      5 #endif
      6 
      7 #include <rpc.h>
      8 #include <rpcndr.h>
      9 
     10 #ifndef COM_NO_WINDOWS_H
     11 #include <windows.h>
     12 #include <ole2.h>
     13 #endif
     14 
     15 #ifndef __ocidl_h__
     16 #define __ocidl_h__
     17 
     18 /* Forward declarations */
     19 
     20 #ifndef __IPropertyBag2_FWD_DEFINED__
     21 #define __IPropertyBag2_FWD_DEFINED__
     22 typedef interface IPropertyBag2 IPropertyBag2;
     23 #endif
     24 
     25 /* Headers for imported files */
     26 
     27 #include <oaidl.h>
     28 #include <oleidl.h>
     29 #include <urlmon.h>
     30 
     31 #ifdef __cplusplus
     32 extern "C" {
     33 #endif
     34 
     35 #ifndef __IEnumConnections_FWD_DEFINED__
     36 #define __IEnumConnections_FWD_DEFINED__
     37 typedef struct IEnumConnections IEnumConnections;
     38 #endif
     39 
     40 #ifndef __IConnectionPoint_FWD_DEFINED__
     41 #define __IConnectionPoint_FWD_DEFINED__
     42 typedef struct IConnectionPoint IConnectionPoint;
     43 #endif
     44 
     45 #ifndef __IEnumConnectionPoints_FWD_DEFINED__
     46 #define __IEnumConnectionPoints_FWD_DEFINED__
     47 typedef struct IEnumConnectionPoints IEnumConnectionPoints;
     48 #endif
     49 
     50 #ifndef __IConnectionPointContainer_FWD_DEFINED__
     51 #define __IConnectionPointContainer_FWD_DEFINED__
     52 typedef struct IConnectionPointContainer IConnectionPointContainer;
     53 #endif
     54 
     55 #ifndef __IClassFactory2_FWD_DEFINED__
     56 #define __IClassFactory2_FWD_DEFINED__
     57 typedef struct IClassFactory2 IClassFactory2;
     58 #endif
     59 
     60 #ifndef __IProvideClassInfo_FWD_DEFINED__
     61 #define __IProvideClassInfo_FWD_DEFINED__
     62 typedef struct IProvideClassInfo IProvideClassInfo;
     63 #endif
     64 
     65 #ifndef __IProvideClassInfo2_FWD_DEFINED__
     66 #define __IProvideClassInfo2_FWD_DEFINED__
     67 typedef struct IProvideClassInfo2 IProvideClassInfo2;
     68 #endif
     69 
     70 #ifndef __IProvideMultipleClassInfo_FWD_DEFINED__
     71 #define __IProvideMultipleClassInfo_FWD_DEFINED__
     72 typedef struct IProvideMultipleClassInfo IProvideMultipleClassInfo;
     73 #endif
     74 
     75 #ifndef __IOleControl_FWD_DEFINED__
     76 #define __IOleControl_FWD_DEFINED__
     77 typedef struct IOleControl IOleControl;
     78 #endif
     79 
     80 #ifndef __IOleControlSite_FWD_DEFINED__
     81 #define __IOleControlSite_FWD_DEFINED__
     82 typedef struct IOleControlSite IOleControlSite;
     83 #endif
     84 
     85 #ifndef __IPropertyPage_FWD_DEFINED__
     86 #define __IPropertyPage_FWD_DEFINED__
     87 typedef struct IPropertyPage IPropertyPage;
     88 #endif
     89 
     90 #ifndef __IPropertyPage2_FWD_DEFINED__
     91 #define __IPropertyPage2_FWD_DEFINED__
     92 typedef struct IPropertyPage2 IPropertyPage2;
     93 #endif
     94 
     95 #ifndef __IPropertyPageSite_FWD_DEFINED__
     96 #define __IPropertyPageSite_FWD_DEFINED__
     97 typedef struct IPropertyPageSite IPropertyPageSite;
     98 #endif
     99 
    100 #ifndef __IPropertyNotifySink_FWD_DEFINED__
    101 #define __IPropertyNotifySink_FWD_DEFINED__
    102 typedef struct IPropertyNotifySink IPropertyNotifySink;
    103 #endif
    104 
    105 #ifndef __ISpecifyPropertyPages_FWD_DEFINED__
    106 #define __ISpecifyPropertyPages_FWD_DEFINED__
    107 typedef struct ISpecifyPropertyPages ISpecifyPropertyPages;
    108 #endif
    109 
    110 #ifndef __IPersistMemory_FWD_DEFINED__
    111 #define __IPersistMemory_FWD_DEFINED__
    112 typedef struct IPersistMemory IPersistMemory;
    113 #endif
    114 
    115 #ifndef __IPersistStreamInit_FWD_DEFINED__
    116 #define __IPersistStreamInit_FWD_DEFINED__
    117 typedef struct IPersistStreamInit IPersistStreamInit;
    118 #endif
    119 
    120 #ifndef __IPersistPropertyBag_FWD_DEFINED__
    121 #define __IPersistPropertyBag_FWD_DEFINED__
    122 typedef struct IPersistPropertyBag IPersistPropertyBag;
    123 #endif
    124 
    125 #ifndef __ISimpleFrameSite_FWD_DEFINED__
    126 #define __ISimpleFrameSite_FWD_DEFINED__
    127 typedef struct ISimpleFrameSite ISimpleFrameSite;
    128 #endif
    129 
    130 #ifndef __IFont_FWD_DEFINED__
    131 #define __IFont_FWD_DEFINED__
    132 typedef struct IFont IFont;
    133 #endif
    134 
    135 #ifndef __IPicture_FWD_DEFINED__
    136 #define __IPicture_FWD_DEFINED__
    137 typedef struct IPicture IPicture;
    138 #endif
    139 
    140 #ifndef __IFontEventsDisp_FWD_DEFINED__
    141 #define __IFontEventsDisp_FWD_DEFINED__
    142 typedef struct IFontEventsDisp IFontEventsDisp;
    143 #endif
    144 
    145 #ifndef __IFontDisp_FWD_DEFINED__
    146 #define __IFontDisp_FWD_DEFINED__
    147 typedef struct IFontDisp IFontDisp;
    148 #endif
    149 
    150 #ifndef __IPictureDisp_FWD_DEFINED__
    151 #define __IPictureDisp_FWD_DEFINED__
    152 typedef struct IPictureDisp IPictureDisp;
    153 #endif
    154 
    155 #ifndef __IOleInPlaceObjectWindowless_FWD_DEFINED__
    156 #define __IOleInPlaceObjectWindowless_FWD_DEFINED__
    157 typedef struct IOleInPlaceObjectWindowless IOleInPlaceObjectWindowless;
    158 #endif
    159 
    160 #ifndef __IOleInPlaceSiteEx_FWD_DEFINED__
    161 #define __IOleInPlaceSiteEx_FWD_DEFINED__
    162 typedef struct IOleInPlaceSiteEx IOleInPlaceSiteEx;
    163 #endif
    164 
    165 #ifndef __IOleInPlaceSiteWindowless_FWD_DEFINED__
    166 #define __IOleInPlaceSiteWindowless_FWD_DEFINED__
    167 typedef struct IOleInPlaceSiteWindowless IOleInPlaceSiteWindowless;
    168 #endif
    169 
    170 #ifndef __IViewObjectEx_FWD_DEFINED__
    171 #define __IViewObjectEx_FWD_DEFINED__
    172 typedef struct IViewObjectEx IViewObjectEx;
    173 #endif
    174 
    175 #ifndef __IOleUndoUnit_FWD_DEFINED__
    176 #define __IOleUndoUnit_FWD_DEFINED__
    177 typedef struct IOleUndoUnit IOleUndoUnit;
    178 #endif
    179 
    180 #ifndef __IOleParentUndoUnit_FWD_DEFINED__
    181 #define __IOleParentUndoUnit_FWD_DEFINED__
    182 typedef struct IOleParentUndoUnit IOleParentUndoUnit;
    183 #endif
    184 
    185 #ifndef __IEnumOleUndoUnits_FWD_DEFINED__
    186 #define __IEnumOleUndoUnits_FWD_DEFINED__
    187 typedef struct IEnumOleUndoUnits IEnumOleUndoUnits;
    188 #endif
    189 
    190 #ifndef __IOleUndoManager_FWD_DEFINED__
    191 #define __IOleUndoManager_FWD_DEFINED__
    192 typedef struct IOleUndoManager IOleUndoManager;
    193 #endif
    194 
    195 #ifndef __IPointerInactive_FWD_DEFINED__
    196 #define __IPointerInactive_FWD_DEFINED__
    197 typedef struct IPointerInactive IPointerInactive;
    198 #endif
    199 
    200 #ifndef __IObjectWithSite_FWD_DEFINED__
    201 #define __IObjectWithSite_FWD_DEFINED__
    202 typedef struct IObjectWithSite IObjectWithSite;
    203 #endif
    204 
    205 #ifndef __IPerPropertyBrowsing_FWD_DEFINED__
    206 #define __IPerPropertyBrowsing_FWD_DEFINED__
    207 typedef struct IPerPropertyBrowsing IPerPropertyBrowsing;
    208 #endif
    209 
    210 #ifndef __IPersistPropertyBag2_FWD_DEFINED__
    211 #define __IPersistPropertyBag2_FWD_DEFINED__
    212 typedef struct IPersistPropertyBag2 IPersistPropertyBag2;
    213 #endif
    214 
    215 #ifndef __IAdviseSinkEx_FWD_DEFINED__
    216 #define __IAdviseSinkEx_FWD_DEFINED__
    217 typedef struct IAdviseSinkEx IAdviseSinkEx;
    218 #endif
    219 
    220 #ifndef __IQuickActivate_FWD_DEFINED__
    221 #define __IQuickActivate_FWD_DEFINED__
    222 typedef struct IQuickActivate IQuickActivate;
    223 #endif
    224 
    225 #include "servprov.h"
    226 
    227   extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_c_ifspec;
    228   extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_s_ifspec;
    229 #ifndef __IOleControlTypes_INTERFACE_DEFINED__
    230 #define __IOleControlTypes_INTERFACE_DEFINED__
    231   typedef enum tagUASFLAGS {
    232     UAS_NORMAL = 0,UAS_BLOCKED = 0x1,UAS_NOPARENTENABLE = 0x2,UAS_MASK = 0x3
    233   } UASFLAGS;
    234 
    235   typedef enum tagREADYSTATE {
    236     READYSTATE_UNINITIALIZED = 0,READYSTATE_LOADING = 1,READYSTATE_LOADED = 2,READYSTATE_INTERACTIVE = 3,READYSTATE_COMPLETE = 4
    237   } READYSTATE;
    238 
    239   extern RPC_IF_HANDLE IOleControlTypes_v1_0_c_ifspec;
    240   extern RPC_IF_HANDLE IOleControlTypes_v1_0_s_ifspec;
    241 #endif
    242 
    243 #ifndef __IEnumConnections_INTERFACE_DEFINED__
    244 #define __IEnumConnections_INTERFACE_DEFINED__
    245   typedef IEnumConnections *PENUMCONNECTIONS;
    246   typedef IEnumConnections *LPENUMCONNECTIONS;
    247 
    248   typedef struct tagCONNECTDATA {
    249     IUnknown *pUnk;
    250     DWORD dwCookie;
    251   } CONNECTDATA;
    252 
    253   typedef struct tagCONNECTDATA *PCONNECTDATA;
    254   typedef struct tagCONNECTDATA *LPCONNECTDATA;
    255 
    256   EXTERN_C const IID IID_IEnumConnections;
    257 #if defined(__cplusplus) && !defined(CINTERFACE)
    258   struct IEnumConnections : public IUnknown {
    259   public:
    260     virtual HRESULT WINAPI Next(ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched) = 0;
    261     virtual HRESULT WINAPI Skip(ULONG cConnections) = 0;
    262     virtual HRESULT WINAPI Reset(void) = 0;
    263     virtual HRESULT WINAPI Clone(IEnumConnections **ppEnum) = 0;
    264   };
    265 #else
    266   typedef struct IEnumConnectionsVtbl {
    267     BEGIN_INTERFACE
    268       HRESULT (WINAPI *QueryInterface)(IEnumConnections *This,REFIID riid,void **ppvObject);
    269       ULONG (WINAPI *AddRef)(IEnumConnections *This);
    270       ULONG (WINAPI *Release)(IEnumConnections *This);
    271       HRESULT (WINAPI *Next)(IEnumConnections *This,ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched);
    272       HRESULT (WINAPI *Skip)(IEnumConnections *This,ULONG cConnections);
    273       HRESULT (WINAPI *Reset)(IEnumConnections *This);
    274       HRESULT (WINAPI *Clone)(IEnumConnections *This,IEnumConnections **ppEnum);
    275     END_INTERFACE
    276   } IEnumConnectionsVtbl;
    277   struct IEnumConnections {
    278     CONST_VTBL struct IEnumConnectionsVtbl *lpVtbl;
    279   };
    280 #ifdef COBJMACROS
    281 #define IEnumConnections_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    282 #define IEnumConnections_AddRef(This) (This)->lpVtbl->AddRef(This)
    283 #define IEnumConnections_Release(This) (This)->lpVtbl->Release(This)
    284 #define IEnumConnections_Next(This,cConnections,rgcd,pcFetched) (This)->lpVtbl->Next(This,cConnections,rgcd,pcFetched)
    285 #define IEnumConnections_Skip(This,cConnections) (This)->lpVtbl->Skip(This,cConnections)
    286 #define IEnumConnections_Reset(This) (This)->lpVtbl->Reset(This)
    287 #define IEnumConnections_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
    288 #endif
    289 #endif
    290   HRESULT WINAPI IEnumConnections_RemoteNext_Proxy(IEnumConnections *This,ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched);
    291   void __RPC_STUB IEnumConnections_RemoteNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    292   HRESULT WINAPI IEnumConnections_Skip_Proxy(IEnumConnections *This,ULONG cConnections);
    293   void __RPC_STUB IEnumConnections_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    294   HRESULT WINAPI IEnumConnections_Reset_Proxy(IEnumConnections *This);
    295   void __RPC_STUB IEnumConnections_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    296   HRESULT WINAPI IEnumConnections_Clone_Proxy(IEnumConnections *This,IEnumConnections **ppEnum);
    297   void __RPC_STUB IEnumConnections_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    298 #endif
    299 
    300 #ifndef __IConnectionPoint_INTERFACE_DEFINED__
    301 #define __IConnectionPoint_INTERFACE_DEFINED__
    302   typedef IConnectionPoint *PCONNECTIONPOINT;
    303   typedef IConnectionPoint *LPCONNECTIONPOINT;
    304 
    305   EXTERN_C const IID IID_IConnectionPoint;
    306 #if defined(__cplusplus) && !defined(CINTERFACE)
    307   struct IConnectionPoint : public IUnknown {
    308   public:
    309     virtual HRESULT WINAPI GetConnectionInterface(IID *pIID) = 0;
    310     virtual HRESULT WINAPI GetConnectionPointContainer(IConnectionPointContainer **ppCPC) = 0;
    311     virtual HRESULT WINAPI Advise(IUnknown *pUnkSink,DWORD *pdwCookie) = 0;
    312     virtual HRESULT WINAPI Unadvise(DWORD dwCookie) = 0;
    313     virtual HRESULT WINAPI EnumConnections(IEnumConnections **ppEnum) = 0;
    314   };
    315 #else
    316   typedef struct IConnectionPointVtbl {
    317     BEGIN_INTERFACE
    318       HRESULT (WINAPI *QueryInterface)(IConnectionPoint *This,REFIID riid,void **ppvObject);
    319       ULONG (WINAPI *AddRef)(IConnectionPoint *This);
    320       ULONG (WINAPI *Release)(IConnectionPoint *This);
    321       HRESULT (WINAPI *GetConnectionInterface)(IConnectionPoint *This,IID *pIID);
    322       HRESULT (WINAPI *GetConnectionPointContainer)(IConnectionPoint *This,IConnectionPointContainer **ppCPC);
    323       HRESULT (WINAPI *Advise)(IConnectionPoint *This,IUnknown *pUnkSink,DWORD *pdwCookie);
    324       HRESULT (WINAPI *Unadvise)(IConnectionPoint *This,DWORD dwCookie);
    325       HRESULT (WINAPI *EnumConnections)(IConnectionPoint *This,IEnumConnections **ppEnum);
    326     END_INTERFACE
    327   } IConnectionPointVtbl;
    328   struct IConnectionPoint {
    329     CONST_VTBL struct IConnectionPointVtbl *lpVtbl;
    330   };
    331 #ifdef COBJMACROS
    332 #define IConnectionPoint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    333 #define IConnectionPoint_AddRef(This) (This)->lpVtbl->AddRef(This)
    334 #define IConnectionPoint_Release(This) (This)->lpVtbl->Release(This)
    335 #define IConnectionPoint_GetConnectionInterface(This,pIID) (This)->lpVtbl->GetConnectionInterface(This,pIID)
    336 #define IConnectionPoint_GetConnectionPointContainer(This,ppCPC) (This)->lpVtbl->GetConnectionPointContainer(This,ppCPC)
    337 #define IConnectionPoint_Advise(This,pUnkSink,pdwCookie) (This)->lpVtbl->Advise(This,pUnkSink,pdwCookie)
    338 #define IConnectionPoint_Unadvise(This,dwCookie) (This)->lpVtbl->Unadvise(This,dwCookie)
    339 #define IConnectionPoint_EnumConnections(This,ppEnum) (This)->lpVtbl->EnumConnections(This,ppEnum)
    340 #endif
    341 #endif
    342   HRESULT WINAPI IConnectionPoint_GetConnectionInterface_Proxy(IConnectionPoint *This,IID *pIID);
    343   void __RPC_STUB IConnectionPoint_GetConnectionInterface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    344   HRESULT WINAPI IConnectionPoint_GetConnectionPointContainer_Proxy(IConnectionPoint *This,IConnectionPointContainer **ppCPC);
    345   void __RPC_STUB IConnectionPoint_GetConnectionPointContainer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    346   HRESULT WINAPI IConnectionPoint_Advise_Proxy(IConnectionPoint *This,IUnknown *pUnkSink,DWORD *pdwCookie);
    347   void __RPC_STUB IConnectionPoint_Advise_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    348   HRESULT WINAPI IConnectionPoint_Unadvise_Proxy(IConnectionPoint *This,DWORD dwCookie);
    349   void __RPC_STUB IConnectionPoint_Unadvise_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    350   HRESULT WINAPI IConnectionPoint_EnumConnections_Proxy(IConnectionPoint *This,IEnumConnections **ppEnum);
    351   void __RPC_STUB IConnectionPoint_EnumConnections_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    352 #endif
    353 
    354 #ifndef __IEnumConnectionPoints_INTERFACE_DEFINED__
    355 #define __IEnumConnectionPoints_INTERFACE_DEFINED__
    356   typedef IEnumConnectionPoints *PENUMCONNECTIONPOINTS;
    357   typedef IEnumConnectionPoints *LPENUMCONNECTIONPOINTS;
    358 
    359   EXTERN_C const IID IID_IEnumConnectionPoints;
    360 #if defined(__cplusplus) && !defined(CINTERFACE)
    361   struct IEnumConnectionPoints : public IUnknown {
    362   public:
    363     virtual HRESULT WINAPI Next(ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched) = 0;
    364     virtual HRESULT WINAPI Skip(ULONG cConnections) = 0;
    365     virtual HRESULT WINAPI Reset(void) = 0;
    366     virtual HRESULT WINAPI Clone(IEnumConnectionPoints **ppEnum) = 0;
    367   };
    368 #else
    369   typedef struct IEnumConnectionPointsVtbl {
    370     BEGIN_INTERFACE
    371       HRESULT (WINAPI *QueryInterface)(IEnumConnectionPoints *This,REFIID riid,void **ppvObject);
    372       ULONG (WINAPI *AddRef)(IEnumConnectionPoints *This);
    373       ULONG (WINAPI *Release)(IEnumConnectionPoints *This);
    374       HRESULT (WINAPI *Next)(IEnumConnectionPoints *This,ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched);
    375       HRESULT (WINAPI *Skip)(IEnumConnectionPoints *This,ULONG cConnections);
    376       HRESULT (WINAPI *Reset)(IEnumConnectionPoints *This);
    377       HRESULT (WINAPI *Clone)(IEnumConnectionPoints *This,IEnumConnectionPoints **ppEnum);
    378     END_INTERFACE
    379   } IEnumConnectionPointsVtbl;
    380   struct IEnumConnectionPoints {
    381     CONST_VTBL struct IEnumConnectionPointsVtbl *lpVtbl;
    382   };
    383 #ifdef COBJMACROS
    384 #define IEnumConnectionPoints_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    385 #define IEnumConnectionPoints_AddRef(This) (This)->lpVtbl->AddRef(This)
    386 #define IEnumConnectionPoints_Release(This) (This)->lpVtbl->Release(This)
    387 #define IEnumConnectionPoints_Next(This,cConnections,ppCP,pcFetched) (This)->lpVtbl->Next(This,cConnections,ppCP,pcFetched)
    388 #define IEnumConnectionPoints_Skip(This,cConnections) (This)->lpVtbl->Skip(This,cConnections)
    389 #define IEnumConnectionPoints_Reset(This) (This)->lpVtbl->Reset(This)
    390 #define IEnumConnectionPoints_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
    391 #endif
    392 #endif
    393   HRESULT WINAPI IEnumConnectionPoints_RemoteNext_Proxy(IEnumConnectionPoints *This,ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched);
    394   void __RPC_STUB IEnumConnectionPoints_RemoteNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    395   HRESULT WINAPI IEnumConnectionPoints_Skip_Proxy(IEnumConnectionPoints *This,ULONG cConnections);
    396   void __RPC_STUB IEnumConnectionPoints_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    397   HRESULT WINAPI IEnumConnectionPoints_Reset_Proxy(IEnumConnectionPoints *This);
    398   void __RPC_STUB IEnumConnectionPoints_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    399   HRESULT WINAPI IEnumConnectionPoints_Clone_Proxy(IEnumConnectionPoints *This,IEnumConnectionPoints **ppEnum);
    400   void __RPC_STUB IEnumConnectionPoints_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    401 #endif
    402 
    403 #ifndef __IConnectionPointContainer_INTERFACE_DEFINED__
    404 #define __IConnectionPointContainer_INTERFACE_DEFINED__
    405   typedef IConnectionPointContainer *PCONNECTIONPOINTCONTAINER;
    406   typedef IConnectionPointContainer *LPCONNECTIONPOINTCONTAINER;
    407 
    408   EXTERN_C const IID IID_IConnectionPointContainer;
    409 #if defined(__cplusplus) && !defined(CINTERFACE)
    410   struct IConnectionPointContainer : public IUnknown {
    411   public:
    412     virtual HRESULT WINAPI EnumConnectionPoints(IEnumConnectionPoints **ppEnum) = 0;
    413     virtual HRESULT WINAPI FindConnectionPoint(REFIID riid,IConnectionPoint **ppCP) = 0;
    414   };
    415 #else
    416   typedef struct IConnectionPointContainerVtbl {
    417     BEGIN_INTERFACE
    418       HRESULT (WINAPI *QueryInterface)(IConnectionPointContainer *This,REFIID riid,void **ppvObject);
    419       ULONG (WINAPI *AddRef)(IConnectionPointContainer *This);
    420       ULONG (WINAPI *Release)(IConnectionPointContainer *This);
    421       HRESULT (WINAPI *EnumConnectionPoints)(IConnectionPointContainer *This,IEnumConnectionPoints **ppEnum);
    422       HRESULT (WINAPI *FindConnectionPoint)(IConnectionPointContainer *This,REFIID riid,IConnectionPoint **ppCP);
    423     END_INTERFACE
    424   } IConnectionPointContainerVtbl;
    425   struct IConnectionPointContainer {
    426     CONST_VTBL struct IConnectionPointContainerVtbl *lpVtbl;
    427   };
    428 #ifdef COBJMACROS
    429 #define IConnectionPointContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    430 #define IConnectionPointContainer_AddRef(This) (This)->lpVtbl->AddRef(This)
    431 #define IConnectionPointContainer_Release(This) (This)->lpVtbl->Release(This)
    432 #define IConnectionPointContainer_EnumConnectionPoints(This,ppEnum) (This)->lpVtbl->EnumConnectionPoints(This,ppEnum)
    433 #define IConnectionPointContainer_FindConnectionPoint(This,riid,ppCP) (This)->lpVtbl->FindConnectionPoint(This,riid,ppCP)
    434 #endif
    435 #endif
    436   HRESULT WINAPI IConnectionPointContainer_EnumConnectionPoints_Proxy(IConnectionPointContainer *This,IEnumConnectionPoints **ppEnum);
    437   void __RPC_STUB IConnectionPointContainer_EnumConnectionPoints_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    438   HRESULT WINAPI IConnectionPointContainer_FindConnectionPoint_Proxy(IConnectionPointContainer *This,REFIID riid,IConnectionPoint **ppCP);
    439   void __RPC_STUB IConnectionPointContainer_FindConnectionPoint_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    440 #endif
    441 
    442 #ifndef __IClassFactory2_INTERFACE_DEFINED__
    443 #define __IClassFactory2_INTERFACE_DEFINED__
    444   typedef IClassFactory2 *LPCLASSFACTORY2;
    445 
    446   typedef struct tagLICINFO {
    447     LONG cbLicInfo;
    448     WINBOOL fRuntimeKeyAvail;
    449     WINBOOL fLicVerified;
    450   } LICINFO;
    451 
    452   typedef struct tagLICINFO *LPLICINFO;
    453 
    454   EXTERN_C const IID IID_IClassFactory2;
    455 #if defined(__cplusplus) && !defined(CINTERFACE)
    456   struct IClassFactory2 : public IClassFactory {
    457   public:
    458     virtual HRESULT WINAPI GetLicInfo(LICINFO *pLicInfo) = 0;
    459     virtual HRESULT WINAPI RequestLicKey(DWORD dwReserved,BSTR *pBstrKey) = 0;
    460     virtual HRESULT WINAPI CreateInstanceLic(IUnknown *pUnkOuter,IUnknown *pUnkReserved,REFIID riid,BSTR bstrKey,PVOID *ppvObj) = 0;
    461   };
    462 #else
    463   typedef struct IClassFactory2Vtbl {
    464     BEGIN_INTERFACE
    465       HRESULT (WINAPI *QueryInterface)(IClassFactory2 *This,REFIID riid,void **ppvObject);
    466       ULONG (WINAPI *AddRef)(IClassFactory2 *This);
    467       ULONG (WINAPI *Release)(IClassFactory2 *This);
    468       HRESULT (WINAPI *CreateInstance)(IClassFactory2 *This,IUnknown *pUnkOuter,REFIID riid,void **ppvObject);
    469       HRESULT (WINAPI *LockServer)(IClassFactory2 *This,WINBOOL fLock);
    470       HRESULT (WINAPI *GetLicInfo)(IClassFactory2 *This,LICINFO *pLicInfo);
    471       HRESULT (WINAPI *RequestLicKey)(IClassFactory2 *This,DWORD dwReserved,BSTR *pBstrKey);
    472       HRESULT (WINAPI *CreateInstanceLic)(IClassFactory2 *This,IUnknown *pUnkOuter,IUnknown *pUnkReserved,REFIID riid,BSTR bstrKey,PVOID *ppvObj);
    473     END_INTERFACE
    474   } IClassFactory2Vtbl;
    475   struct IClassFactory2 {
    476     CONST_VTBL struct IClassFactory2Vtbl *lpVtbl;
    477   };
    478 #ifdef COBJMACROS
    479 #define IClassFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    480 #define IClassFactory2_AddRef(This) (This)->lpVtbl->AddRef(This)
    481 #define IClassFactory2_Release(This) (This)->lpVtbl->Release(This)
    482 #define IClassFactory2_CreateInstance(This,pUnkOuter,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject)
    483 #define IClassFactory2_LockServer(This,fLock) (This)->lpVtbl->LockServer(This,fLock)
    484 #define IClassFactory2_GetLicInfo(This,pLicInfo) (This)->lpVtbl->GetLicInfo(This,pLicInfo)
    485 #define IClassFactory2_RequestLicKey(This,dwReserved,pBstrKey) (This)->lpVtbl->RequestLicKey(This,dwReserved,pBstrKey)
    486 #define IClassFactory2_CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj) (This)->lpVtbl->CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj)
    487 #endif
    488 #endif
    489   HRESULT WINAPI IClassFactory2_GetLicInfo_Proxy(IClassFactory2 *This,LICINFO *pLicInfo);
    490   void __RPC_STUB IClassFactory2_GetLicInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    491   HRESULT WINAPI IClassFactory2_RequestLicKey_Proxy(IClassFactory2 *This,DWORD dwReserved,BSTR *pBstrKey);
    492   void __RPC_STUB IClassFactory2_RequestLicKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    493   HRESULT WINAPI IClassFactory2_RemoteCreateInstanceLic_Proxy(IClassFactory2 *This,REFIID riid,BSTR bstrKey,IUnknown **ppvObj);
    494   void __RPC_STUB IClassFactory2_RemoteCreateInstanceLic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    495 #endif
    496 
    497 #ifndef __IProvideClassInfo_INTERFACE_DEFINED__
    498 #define __IProvideClassInfo_INTERFACE_DEFINED__
    499   typedef IProvideClassInfo *LPPROVIDECLASSINFO;
    500 
    501   EXTERN_C const IID IID_IProvideClassInfo;
    502 #if defined(__cplusplus) && !defined(CINTERFACE)
    503   struct IProvideClassInfo : public IUnknown {
    504   public:
    505     virtual HRESULT WINAPI GetClassInfo(ITypeInfo **ppTI) = 0;
    506   };
    507 #else
    508   typedef struct IProvideClassInfoVtbl {
    509     BEGIN_INTERFACE
    510       HRESULT (WINAPI *QueryInterface)(IProvideClassInfo *This,REFIID riid,void **ppvObject);
    511       ULONG (WINAPI *AddRef)(IProvideClassInfo *This);
    512       ULONG (WINAPI *Release)(IProvideClassInfo *This);
    513       HRESULT (WINAPI *GetClassInfo)(IProvideClassInfo *This,ITypeInfo **ppTI);
    514     END_INTERFACE
    515   } IProvideClassInfoVtbl;
    516   struct IProvideClassInfo {
    517     CONST_VTBL struct IProvideClassInfoVtbl *lpVtbl;
    518   };
    519 #ifdef COBJMACROS
    520 #define IProvideClassInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    521 #define IProvideClassInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
    522 #define IProvideClassInfo_Release(This) (This)->lpVtbl->Release(This)
    523 #define IProvideClassInfo_GetClassInfo(This,ppTI) (This)->lpVtbl->GetClassInfo(This,ppTI)
    524 #endif
    525 #endif
    526   HRESULT WINAPI IProvideClassInfo_GetClassInfo_Proxy(IProvideClassInfo *This,ITypeInfo **ppTI);
    527   void __RPC_STUB IProvideClassInfo_GetClassInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    528 #endif
    529 
    530 #ifndef __IProvideClassInfo2_INTERFACE_DEFINED__
    531 #define __IProvideClassInfo2_INTERFACE_DEFINED__
    532   typedef IProvideClassInfo2 *LPPROVIDECLASSINFO2;
    533 
    534   typedef enum tagGUIDKIND {
    535     GUIDKIND_DEFAULT_SOURCE_DISP_IID = 1
    536   } GUIDKIND;
    537 
    538   EXTERN_C const IID IID_IProvideClassInfo2;
    539 #if defined(__cplusplus) && !defined(CINTERFACE)
    540   struct IProvideClassInfo2 : public IProvideClassInfo {
    541   public:
    542     virtual HRESULT WINAPI GetGUID(DWORD dwGuidKind,GUID *pGUID) = 0;
    543   };
    544 #else
    545   typedef struct IProvideClassInfo2Vtbl {
    546     BEGIN_INTERFACE
    547       HRESULT (WINAPI *QueryInterface)(IProvideClassInfo2 *This,REFIID riid,void **ppvObject);
    548       ULONG (WINAPI *AddRef)(IProvideClassInfo2 *This);
    549       ULONG (WINAPI *Release)(IProvideClassInfo2 *This);
    550       HRESULT (WINAPI *GetClassInfo)(IProvideClassInfo2 *This,ITypeInfo **ppTI);
    551       HRESULT (WINAPI *GetGUID)(IProvideClassInfo2 *This,DWORD dwGuidKind,GUID *pGUID);
    552     END_INTERFACE
    553   } IProvideClassInfo2Vtbl;
    554   struct IProvideClassInfo2 {
    555     CONST_VTBL struct IProvideClassInfo2Vtbl *lpVtbl;
    556   };
    557 #ifdef COBJMACROS
    558 #define IProvideClassInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    559 #define IProvideClassInfo2_AddRef(This) (This)->lpVtbl->AddRef(This)
    560 #define IProvideClassInfo2_Release(This) (This)->lpVtbl->Release(This)
    561 #define IProvideClassInfo2_GetClassInfo(This,ppTI) (This)->lpVtbl->GetClassInfo(This,ppTI)
    562 #define IProvideClassInfo2_GetGUID(This,dwGuidKind,pGUID) (This)->lpVtbl->GetGUID(This,dwGuidKind,pGUID)
    563 #endif
    564 #endif
    565   HRESULT WINAPI IProvideClassInfo2_GetGUID_Proxy(IProvideClassInfo2 *This,DWORD dwGuidKind,GUID *pGUID);
    566   void __RPC_STUB IProvideClassInfo2_GetGUID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    567 #endif
    568 
    569 #ifndef __IProvideMultipleClassInfo_INTERFACE_DEFINED__
    570 #define __IProvideMultipleClassInfo_INTERFACE_DEFINED__
    571 
    572 #define MULTICLASSINFO_GETTYPEINFO 0x00000001
    573 #define MULTICLASSINFO_GETNUMRESERVEDDISPIDS 0x00000002
    574 #define MULTICLASSINFO_GETIIDPRIMARY 0x00000004
    575 #define MULTICLASSINFO_GETIIDSOURCE 0x00000008
    576 #define TIFLAGS_EXTENDDISPATCHONLY 0x00000001
    577   typedef IProvideMultipleClassInfo *LPPROVIDEMULTIPLECLASSINFO;
    578 
    579   EXTERN_C const IID IID_IProvideMultipleClassInfo;
    580 #if defined(__cplusplus) && !defined(CINTERFACE)
    581   struct IProvideMultipleClassInfo : public IProvideClassInfo2 {
    582   public:
    583     virtual HRESULT WINAPI GetMultiTypeInfoCount(ULONG *pcti) = 0;
    584     virtual HRESULT WINAPI GetInfoOfIndex(ULONG iti,DWORD dwFlags,ITypeInfo **pptiCoClass,DWORD *pdwTIFlags,ULONG *pcdispidReserved,IID *piidPrimary,IID *piidSource) = 0;
    585   };
    586 #else
    587   typedef struct IProvideMultipleClassInfoVtbl {
    588     BEGIN_INTERFACE
    589       HRESULT (WINAPI *QueryInterface)(IProvideMultipleClassInfo *This,REFIID riid,void **ppvObject);
    590       ULONG (WINAPI *AddRef)(IProvideMultipleClassInfo *This);
    591       ULONG (WINAPI *Release)(IProvideMultipleClassInfo *This);
    592       HRESULT (WINAPI *GetClassInfo)(IProvideMultipleClassInfo *This,ITypeInfo **ppTI);
    593       HRESULT (WINAPI *GetGUID)(IProvideMultipleClassInfo *This,DWORD dwGuidKind,GUID *pGUID);
    594       HRESULT (WINAPI *GetMultiTypeInfoCount)(IProvideMultipleClassInfo *This,ULONG *pcti);
    595       HRESULT (WINAPI *GetInfoOfIndex)(IProvideMultipleClassInfo *This,ULONG iti,DWORD dwFlags,ITypeInfo **pptiCoClass,DWORD *pdwTIFlags,ULONG *pcdispidReserved,IID *piidPrimary,IID *piidSource);
    596     END_INTERFACE
    597   } IProvideMultipleClassInfoVtbl;
    598   struct IProvideMultipleClassInfo {
    599     CONST_VTBL struct IProvideMultipleClassInfoVtbl *lpVtbl;
    600   };
    601 #ifdef COBJMACROS
    602 #define IProvideMultipleClassInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    603 #define IProvideMultipleClassInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
    604 #define IProvideMultipleClassInfo_Release(This) (This)->lpVtbl->Release(This)
    605 #define IProvideMultipleClassInfo_GetClassInfo(This,ppTI) (This)->lpVtbl->GetClassInfo(This,ppTI)
    606 #define IProvideMultipleClassInfo_GetGUID(This,dwGuidKind,pGUID) (This)->lpVtbl->GetGUID(This,dwGuidKind,pGUID)
    607 #define IProvideMultipleClassInfo_GetMultiTypeInfoCount(This,pcti) (This)->lpVtbl->GetMultiTypeInfoCount(This,pcti)
    608 #define IProvideMultipleClassInfo_GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource) (This)->lpVtbl->GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource)
    609 #endif
    610 #endif
    611   HRESULT WINAPI IProvideMultipleClassInfo_GetMultiTypeInfoCount_Proxy(IProvideMultipleClassInfo *This,ULONG *pcti);
    612   void __RPC_STUB IProvideMultipleClassInfo_GetMultiTypeInfoCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    613   HRESULT WINAPI IProvideMultipleClassInfo_GetInfoOfIndex_Proxy(IProvideMultipleClassInfo *This,ULONG iti,DWORD dwFlags,ITypeInfo **pptiCoClass,DWORD *pdwTIFlags,ULONG *pcdispidReserved,IID *piidPrimary,IID *piidSource);
    614   void __RPC_STUB IProvideMultipleClassInfo_GetInfoOfIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    615 #endif
    616 
    617 #ifndef __IOleControl_INTERFACE_DEFINED__
    618 #define __IOleControl_INTERFACE_DEFINED__
    619   typedef IOleControl *LPOLECONTROL;
    620 
    621   typedef struct tagCONTROLINFO {
    622     ULONG cb;
    623     HACCEL hAccel;
    624     USHORT cAccel;
    625     DWORD dwFlags;
    626   } CONTROLINFO;
    627 
    628   typedef struct tagCONTROLINFO *LPCONTROLINFO;
    629   typedef enum tagCTRLINFO {
    630     CTRLINFO_EATS_RETURN = 1,CTRLINFO_EATS_ESCAPE = 2
    631   } CTRLINFO;
    632 
    633   EXTERN_C const IID IID_IOleControl;
    634 #if defined(__cplusplus) && !defined(CINTERFACE)
    635   struct IOleControl : public IUnknown {
    636   public:
    637     virtual HRESULT WINAPI GetControlInfo(CONTROLINFO *pCI) = 0;
    638     virtual HRESULT WINAPI OnMnemonic(MSG *pMsg) = 0;
    639     virtual HRESULT WINAPI OnAmbientPropertyChange(DISPID dispID) = 0;
    640     virtual HRESULT WINAPI FreezeEvents(WINBOOL bFreeze) = 0;
    641   };
    642 #else
    643   typedef struct IOleControlVtbl {
    644     BEGIN_INTERFACE
    645       HRESULT (WINAPI *QueryInterface)(IOleControl *This,REFIID riid,void **ppvObject);
    646       ULONG (WINAPI *AddRef)(IOleControl *This);
    647       ULONG (WINAPI *Release)(IOleControl *This);
    648       HRESULT (WINAPI *GetControlInfo)(IOleControl *This,CONTROLINFO *pCI);
    649       HRESULT (WINAPI *OnMnemonic)(IOleControl *This,MSG *pMsg);
    650       HRESULT (WINAPI *OnAmbientPropertyChange)(IOleControl *This,DISPID dispID);
    651       HRESULT (WINAPI *FreezeEvents)(IOleControl *This,WINBOOL bFreeze);
    652     END_INTERFACE
    653   } IOleControlVtbl;
    654   struct IOleControl {
    655     CONST_VTBL struct IOleControlVtbl *lpVtbl;
    656   };
    657 #ifdef COBJMACROS
    658 #define IOleControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    659 #define IOleControl_AddRef(This) (This)->lpVtbl->AddRef(This)
    660 #define IOleControl_Release(This) (This)->lpVtbl->Release(This)
    661 #define IOleControl_GetControlInfo(This,pCI) (This)->lpVtbl->GetControlInfo(This,pCI)
    662 #define IOleControl_OnMnemonic(This,pMsg) (This)->lpVtbl->OnMnemonic(This,pMsg)
    663 #define IOleControl_OnAmbientPropertyChange(This,dispID) (This)->lpVtbl->OnAmbientPropertyChange(This,dispID)
    664 #define IOleControl_FreezeEvents(This,bFreeze) (This)->lpVtbl->FreezeEvents(This,bFreeze)
    665 #endif
    666 #endif
    667   HRESULT WINAPI IOleControl_GetControlInfo_Proxy(IOleControl *This,CONTROLINFO *pCI);
    668   void __RPC_STUB IOleControl_GetControlInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    669   HRESULT WINAPI IOleControl_OnMnemonic_Proxy(IOleControl *This,MSG *pMsg);
    670   void __RPC_STUB IOleControl_OnMnemonic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    671   HRESULT WINAPI IOleControl_OnAmbientPropertyChange_Proxy(IOleControl *This,DISPID dispID);
    672   void __RPC_STUB IOleControl_OnAmbientPropertyChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    673   HRESULT WINAPI IOleControl_FreezeEvents_Proxy(IOleControl *This,WINBOOL bFreeze);
    674   void __RPC_STUB IOleControl_FreezeEvents_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    675 #endif
    676 
    677 #ifndef __IOleControlSite_INTERFACE_DEFINED__
    678 #define __IOleControlSite_INTERFACE_DEFINED__
    679   typedef IOleControlSite *LPOLECONTROLSITE;
    680 
    681   typedef struct tagPOINTF {
    682     FLOAT x;
    683     FLOAT y;
    684   } POINTF;
    685 
    686   typedef struct tagPOINTF *LPPOINTF;
    687 
    688   typedef enum tagXFORMCOORDS {
    689     XFORMCOORDS_POSITION = 0x1,XFORMCOORDS_SIZE = 0x2,XFORMCOORDS_HIMETRICTOCONTAINER = 0x4,XFORMCOORDS_CONTAINERTOHIMETRIC = 0x8,
    690     XFORMCOORDS_EVENTCOMPAT = 0x10
    691   } XFORMCOORDS;
    692 
    693   EXTERN_C const IID IID_IOleControlSite;
    694 #if defined(__cplusplus) && !defined(CINTERFACE)
    695   struct IOleControlSite : public IUnknown {
    696   public:
    697     virtual HRESULT WINAPI OnControlInfoChanged(void) = 0;
    698     virtual HRESULT WINAPI LockInPlaceActive(WINBOOL fLock) = 0;
    699     virtual HRESULT WINAPI GetExtendedControl(IDispatch **ppDisp) = 0;
    700     virtual HRESULT WINAPI TransformCoords(POINTL *pPtlHimetric,POINTF *pPtfContainer,DWORD dwFlags) = 0;
    701     virtual HRESULT WINAPI TranslateAccelerator(MSG *pMsg,DWORD grfModifiers) = 0;
    702     virtual HRESULT WINAPI OnFocus(WINBOOL fGotFocus) = 0;
    703     virtual HRESULT WINAPI ShowPropertyFrame(void) = 0;
    704   };
    705 #else
    706   typedef struct IOleControlSiteVtbl {
    707     BEGIN_INTERFACE
    708       HRESULT (WINAPI *QueryInterface)(IOleControlSite *This,REFIID riid,void **ppvObject);
    709       ULONG (WINAPI *AddRef)(IOleControlSite *This);
    710       ULONG (WINAPI *Release)(IOleControlSite *This);
    711       HRESULT (WINAPI *OnControlInfoChanged)(IOleControlSite *This);
    712       HRESULT (WINAPI *LockInPlaceActive)(IOleControlSite *This,WINBOOL fLock);
    713       HRESULT (WINAPI *GetExtendedControl)(IOleControlSite *This,IDispatch **ppDisp);
    714       HRESULT (WINAPI *TransformCoords)(IOleControlSite *This,POINTL *pPtlHimetric,POINTF *pPtfContainer,DWORD dwFlags);
    715       HRESULT (WINAPI *TranslateAccelerator)(IOleControlSite *This,MSG *pMsg,DWORD grfModifiers);
    716       HRESULT (WINAPI *OnFocus)(IOleControlSite *This,WINBOOL fGotFocus);
    717       HRESULT (WINAPI *ShowPropertyFrame)(IOleControlSite *This);
    718     END_INTERFACE
    719   } IOleControlSiteVtbl;
    720   struct IOleControlSite {
    721     CONST_VTBL struct IOleControlSiteVtbl *lpVtbl;
    722   };
    723 #ifdef COBJMACROS
    724 #define IOleControlSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    725 #define IOleControlSite_AddRef(This) (This)->lpVtbl->AddRef(This)
    726 #define IOleControlSite_Release(This) (This)->lpVtbl->Release(This)
    727 #define IOleControlSite_OnControlInfoChanged(This) (This)->lpVtbl->OnControlInfoChanged(This)
    728 #define IOleControlSite_LockInPlaceActive(This,fLock) (This)->lpVtbl->LockInPlaceActive(This,fLock)
    729 #define IOleControlSite_GetExtendedControl(This,ppDisp) (This)->lpVtbl->GetExtendedControl(This,ppDisp)
    730 #define IOleControlSite_TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags) (This)->lpVtbl->TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags)
    731 #define IOleControlSite_TranslateAccelerator(This,pMsg,grfModifiers) (This)->lpVtbl->TranslateAccelerator(This,pMsg,grfModifiers)
    732 #define IOleControlSite_OnFocus(This,fGotFocus) (This)->lpVtbl->OnFocus(This,fGotFocus)
    733 #define IOleControlSite_ShowPropertyFrame(This) (This)->lpVtbl->ShowPropertyFrame(This)
    734 #endif
    735 #endif
    736   HRESULT WINAPI IOleControlSite_OnControlInfoChanged_Proxy(IOleControlSite *This);
    737   void __RPC_STUB IOleControlSite_OnControlInfoChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    738   HRESULT WINAPI IOleControlSite_LockInPlaceActive_Proxy(IOleControlSite *This,WINBOOL fLock);
    739   void __RPC_STUB IOleControlSite_LockInPlaceActive_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    740   HRESULT WINAPI IOleControlSite_GetExtendedControl_Proxy(IOleControlSite *This,IDispatch **ppDisp);
    741   void __RPC_STUB IOleControlSite_GetExtendedControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    742   HRESULT WINAPI IOleControlSite_TransformCoords_Proxy(IOleControlSite *This,POINTL *pPtlHimetric,POINTF *pPtfContainer,DWORD dwFlags);
    743   void __RPC_STUB IOleControlSite_TransformCoords_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    744   HRESULT WINAPI IOleControlSite_TranslateAccelerator_Proxy(IOleControlSite *This,MSG *pMsg,DWORD grfModifiers);
    745   void __RPC_STUB IOleControlSite_TranslateAccelerator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    746   HRESULT WINAPI IOleControlSite_OnFocus_Proxy(IOleControlSite *This,WINBOOL fGotFocus);
    747   void __RPC_STUB IOleControlSite_OnFocus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    748   HRESULT WINAPI IOleControlSite_ShowPropertyFrame_Proxy(IOleControlSite *This);
    749   void __RPC_STUB IOleControlSite_ShowPropertyFrame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    750 #endif
    751 
    752 #ifndef __IPropertyPage_INTERFACE_DEFINED__
    753 #define __IPropertyPage_INTERFACE_DEFINED__
    754   typedef IPropertyPage *LPPROPERTYPAGE;
    755 
    756   typedef struct tagPROPPAGEINFO {
    757     ULONG cb;
    758     LPOLESTR pszTitle;
    759     SIZE size;
    760     LPOLESTR pszDocString;
    761     LPOLESTR pszHelpFile;
    762     DWORD dwHelpContext;
    763   } PROPPAGEINFO;
    764 
    765   typedef struct tagPROPPAGEINFO *LPPROPPAGEINFO;
    766 
    767   EXTERN_C const IID IID_IPropertyPage;
    768 #if defined(__cplusplus) && !defined(CINTERFACE)
    769   struct IPropertyPage : public IUnknown {
    770   public:
    771     virtual HRESULT WINAPI SetPageSite(IPropertyPageSite *pPageSite) = 0;
    772     virtual HRESULT WINAPI Activate(HWND hWndParent,LPCRECT pRect,WINBOOL bModal) = 0;
    773     virtual HRESULT WINAPI Deactivate(void) = 0;
    774     virtual HRESULT WINAPI GetPageInfo(PROPPAGEINFO *pPageInfo) = 0;
    775     virtual HRESULT WINAPI SetObjects(ULONG cObjects,IUnknown **ppUnk) = 0;
    776     virtual HRESULT WINAPI Show(UINT nCmdShow) = 0;
    777     virtual HRESULT WINAPI Move(LPCRECT pRect) = 0;
    778     virtual HRESULT WINAPI IsPageDirty(void) = 0;
    779     virtual HRESULT WINAPI Apply(void) = 0;
    780     virtual HRESULT WINAPI Help(LPCOLESTR pszHelpDir) = 0;
    781     virtual HRESULT WINAPI TranslateAccelerator(MSG *pMsg) = 0;
    782   };
    783 #else
    784   typedef struct IPropertyPageVtbl {
    785     BEGIN_INTERFACE
    786       HRESULT (WINAPI *QueryInterface)(IPropertyPage *This,REFIID riid,void **ppvObject);
    787       ULONG (WINAPI *AddRef)(IPropertyPage *This);
    788       ULONG (WINAPI *Release)(IPropertyPage *This);
    789       HRESULT (WINAPI *SetPageSite)(IPropertyPage *This,IPropertyPageSite *pPageSite);
    790       HRESULT (WINAPI *Activate)(IPropertyPage *This,HWND hWndParent,LPCRECT pRect,WINBOOL bModal);
    791       HRESULT (WINAPI *Deactivate)(IPropertyPage *This);
    792       HRESULT (WINAPI *GetPageInfo)(IPropertyPage *This,PROPPAGEINFO *pPageInfo);
    793       HRESULT (WINAPI *SetObjects)(IPropertyPage *This,ULONG cObjects,IUnknown **ppUnk);
    794       HRESULT (WINAPI *Show)(IPropertyPage *This,UINT nCmdShow);
    795       HRESULT (WINAPI *Move)(IPropertyPage *This,LPCRECT pRect);
    796       HRESULT (WINAPI *IsPageDirty)(IPropertyPage *This);
    797       HRESULT (WINAPI *Apply)(IPropertyPage *This);
    798       HRESULT (WINAPI *Help)(IPropertyPage *This,LPCOLESTR pszHelpDir);
    799       HRESULT (WINAPI *TranslateAccelerator)(IPropertyPage *This,MSG *pMsg);
    800     END_INTERFACE
    801   } IPropertyPageVtbl;
    802   struct IPropertyPage {
    803     CONST_VTBL struct IPropertyPageVtbl *lpVtbl;
    804   };
    805 #ifdef COBJMACROS
    806 #define IPropertyPage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    807 #define IPropertyPage_AddRef(This) (This)->lpVtbl->AddRef(This)
    808 #define IPropertyPage_Release(This) (This)->lpVtbl->Release(This)
    809 #define IPropertyPage_SetPageSite(This,pPageSite) (This)->lpVtbl->SetPageSite(This,pPageSite)
    810 #define IPropertyPage_Activate(This,hWndParent,pRect,bModal) (This)->lpVtbl->Activate(This,hWndParent,pRect,bModal)
    811 #define IPropertyPage_Deactivate(This) (This)->lpVtbl->Deactivate(This)
    812 #define IPropertyPage_GetPageInfo(This,pPageInfo) (This)->lpVtbl->GetPageInfo(This,pPageInfo)
    813 #define IPropertyPage_SetObjects(This,cObjects,ppUnk) (This)->lpVtbl->SetObjects(This,cObjects,ppUnk)
    814 #define IPropertyPage_Show(This,nCmdShow) (This)->lpVtbl->Show(This,nCmdShow)
    815 #define IPropertyPage_Move(This,pRect) (This)->lpVtbl->Move(This,pRect)
    816 #define IPropertyPage_IsPageDirty(This) (This)->lpVtbl->IsPageDirty(This)
    817 #define IPropertyPage_Apply(This) (This)->lpVtbl->Apply(This)
    818 #define IPropertyPage_Help(This,pszHelpDir) (This)->lpVtbl->Help(This,pszHelpDir)
    819 #define IPropertyPage_TranslateAccelerator(This,pMsg) (This)->lpVtbl->TranslateAccelerator(This,pMsg)
    820 #endif
    821 #endif
    822   HRESULT WINAPI IPropertyPage_SetPageSite_Proxy(IPropertyPage *This,IPropertyPageSite *pPageSite);
    823   void __RPC_STUB IPropertyPage_SetPageSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    824   HRESULT WINAPI IPropertyPage_Activate_Proxy(IPropertyPage *This,HWND hWndParent,LPCRECT pRect,WINBOOL bModal);
    825   void __RPC_STUB IPropertyPage_Activate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    826   HRESULT WINAPI IPropertyPage_Deactivate_Proxy(IPropertyPage *This);
    827   void __RPC_STUB IPropertyPage_Deactivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    828   HRESULT WINAPI IPropertyPage_GetPageInfo_Proxy(IPropertyPage *This,PROPPAGEINFO *pPageInfo);
    829   void __RPC_STUB IPropertyPage_GetPageInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    830   HRESULT WINAPI IPropertyPage_SetObjects_Proxy(IPropertyPage *This,ULONG cObjects,IUnknown **ppUnk);
    831   void __RPC_STUB IPropertyPage_SetObjects_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    832   HRESULT WINAPI IPropertyPage_Show_Proxy(IPropertyPage *This,UINT nCmdShow);
    833   void __RPC_STUB IPropertyPage_Show_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    834   HRESULT WINAPI IPropertyPage_Move_Proxy(IPropertyPage *This,LPCRECT pRect);
    835   void __RPC_STUB IPropertyPage_Move_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    836   HRESULT WINAPI IPropertyPage_IsPageDirty_Proxy(IPropertyPage *This);
    837   void __RPC_STUB IPropertyPage_IsPageDirty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    838   HRESULT WINAPI IPropertyPage_Apply_Proxy(IPropertyPage *This);
    839   void __RPC_STUB IPropertyPage_Apply_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    840   HRESULT WINAPI IPropertyPage_Help_Proxy(IPropertyPage *This,LPCOLESTR pszHelpDir);
    841   void __RPC_STUB IPropertyPage_Help_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    842   HRESULT WINAPI IPropertyPage_TranslateAccelerator_Proxy(IPropertyPage *This,MSG *pMsg);
    843   void __RPC_STUB IPropertyPage_TranslateAccelerator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    844 #endif
    845 
    846 #ifndef __IPropertyPage2_INTERFACE_DEFINED__
    847 #define __IPropertyPage2_INTERFACE_DEFINED__
    848   typedef IPropertyPage2 *LPPROPERTYPAGE2;
    849 
    850   EXTERN_C const IID IID_IPropertyPage2;
    851 #if defined(__cplusplus) && !defined(CINTERFACE)
    852   struct IPropertyPage2 : public IPropertyPage {
    853   public:
    854     virtual HRESULT WINAPI EditProperty(DISPID dispID) = 0;
    855   };
    856 #else
    857   typedef struct IPropertyPage2Vtbl {
    858     BEGIN_INTERFACE
    859       HRESULT (WINAPI *QueryInterface)(IPropertyPage2 *This,REFIID riid,void **ppvObject);
    860       ULONG (WINAPI *AddRef)(IPropertyPage2 *This);
    861       ULONG (WINAPI *Release)(IPropertyPage2 *This);
    862       HRESULT (WINAPI *SetPageSite)(IPropertyPage2 *This,IPropertyPageSite *pPageSite);
    863       HRESULT (WINAPI *Activate)(IPropertyPage2 *This,HWND hWndParent,LPCRECT pRect,WINBOOL bModal);
    864       HRESULT (WINAPI *Deactivate)(IPropertyPage2 *This);
    865       HRESULT (WINAPI *GetPageInfo)(IPropertyPage2 *This,PROPPAGEINFO *pPageInfo);
    866       HRESULT (WINAPI *SetObjects)(IPropertyPage2 *This,ULONG cObjects,IUnknown **ppUnk);
    867       HRESULT (WINAPI *Show)(IPropertyPage2 *This,UINT nCmdShow);
    868       HRESULT (WINAPI *Move)(IPropertyPage2 *This,LPCRECT pRect);
    869       HRESULT (WINAPI *IsPageDirty)(IPropertyPage2 *This);
    870       HRESULT (WINAPI *Apply)(IPropertyPage2 *This);
    871       HRESULT (WINAPI *Help)(IPropertyPage2 *This,LPCOLESTR pszHelpDir);
    872       HRESULT (WINAPI *TranslateAccelerator)(IPropertyPage2 *This,MSG *pMsg);
    873       HRESULT (WINAPI *EditProperty)(IPropertyPage2 *This,DISPID dispID);
    874     END_INTERFACE
    875   } IPropertyPage2Vtbl;
    876   struct IPropertyPage2 {
    877     CONST_VTBL struct IPropertyPage2Vtbl *lpVtbl;
    878   };
    879 #ifdef COBJMACROS
    880 #define IPropertyPage2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    881 #define IPropertyPage2_AddRef(This) (This)->lpVtbl->AddRef(This)
    882 #define IPropertyPage2_Release(This) (This)->lpVtbl->Release(This)
    883 #define IPropertyPage2_SetPageSite(This,pPageSite) (This)->lpVtbl->SetPageSite(This,pPageSite)
    884 #define IPropertyPage2_Activate(This,hWndParent,pRect,bModal) (This)->lpVtbl->Activate(This,hWndParent,pRect,bModal)
    885 #define IPropertyPage2_Deactivate(This) (This)->lpVtbl->Deactivate(This)
    886 #define IPropertyPage2_GetPageInfo(This,pPageInfo) (This)->lpVtbl->GetPageInfo(This,pPageInfo)
    887 #define IPropertyPage2_SetObjects(This,cObjects,ppUnk) (This)->lpVtbl->SetObjects(This,cObjects,ppUnk)
    888 #define IPropertyPage2_Show(This,nCmdShow) (This)->lpVtbl->Show(This,nCmdShow)
    889 #define IPropertyPage2_Move(This,pRect) (This)->lpVtbl->Move(This,pRect)
    890 #define IPropertyPage2_IsPageDirty(This) (This)->lpVtbl->IsPageDirty(This)
    891 #define IPropertyPage2_Apply(This) (This)->lpVtbl->Apply(This)
    892 #define IPropertyPage2_Help(This,pszHelpDir) (This)->lpVtbl->Help(This,pszHelpDir)
    893 #define IPropertyPage2_TranslateAccelerator(This,pMsg) (This)->lpVtbl->TranslateAccelerator(This,pMsg)
    894 #define IPropertyPage2_EditProperty(This,dispID) (This)->lpVtbl->EditProperty(This,dispID)
    895 #endif
    896 #endif
    897   HRESULT WINAPI IPropertyPage2_EditProperty_Proxy(IPropertyPage2 *This,DISPID dispID);
    898   void __RPC_STUB IPropertyPage2_EditProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    899 #endif
    900 
    901 #ifndef __IPropertyPageSite_INTERFACE_DEFINED__
    902 #define __IPropertyPageSite_INTERFACE_DEFINED__
    903   typedef IPropertyPageSite *LPPROPERTYPAGESITE;
    904 
    905   typedef enum tagPROPPAGESTATUS {
    906     PROPPAGESTATUS_DIRTY = 0x1,PROPPAGESTATUS_VALIDATE = 0x2,PROPPAGESTATUS_CLEAN = 0x4
    907   } PROPPAGESTATUS;
    908 
    909   EXTERN_C const IID IID_IPropertyPageSite;
    910 #if defined(__cplusplus) && !defined(CINTERFACE)
    911   struct IPropertyPageSite : public IUnknown {
    912   public:
    913     virtual HRESULT WINAPI OnStatusChange(DWORD dwFlags) = 0;
    914     virtual HRESULT WINAPI GetLocaleID(LCID *pLocaleID) = 0;
    915     virtual HRESULT WINAPI GetPageContainer(IUnknown **ppUnk) = 0;
    916     virtual HRESULT WINAPI TranslateAccelerator(MSG *pMsg) = 0;
    917   };
    918 #else
    919   typedef struct IPropertyPageSiteVtbl {
    920     BEGIN_INTERFACE
    921       HRESULT (WINAPI *QueryInterface)(IPropertyPageSite *This,REFIID riid,void **ppvObject);
    922       ULONG (WINAPI *AddRef)(IPropertyPageSite *This);
    923       ULONG (WINAPI *Release)(IPropertyPageSite *This);
    924       HRESULT (WINAPI *OnStatusChange)(IPropertyPageSite *This,DWORD dwFlags);
    925       HRESULT (WINAPI *GetLocaleID)(IPropertyPageSite *This,LCID *pLocaleID);
    926       HRESULT (WINAPI *GetPageContainer)(IPropertyPageSite *This,IUnknown **ppUnk);
    927       HRESULT (WINAPI *TranslateAccelerator)(IPropertyPageSite *This,MSG *pMsg);
    928     END_INTERFACE
    929   } IPropertyPageSiteVtbl;
    930   struct IPropertyPageSite {
    931     CONST_VTBL struct IPropertyPageSiteVtbl *lpVtbl;
    932   };
    933 #ifdef COBJMACROS
    934 #define IPropertyPageSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    935 #define IPropertyPageSite_AddRef(This) (This)->lpVtbl->AddRef(This)
    936 #define IPropertyPageSite_Release(This) (This)->lpVtbl->Release(This)
    937 #define IPropertyPageSite_OnStatusChange(This,dwFlags) (This)->lpVtbl->OnStatusChange(This,dwFlags)
    938 #define IPropertyPageSite_GetLocaleID(This,pLocaleID) (This)->lpVtbl->GetLocaleID(This,pLocaleID)
    939 #define IPropertyPageSite_GetPageContainer(This,ppUnk) (This)->lpVtbl->GetPageContainer(This,ppUnk)
    940 #define IPropertyPageSite_TranslateAccelerator(This,pMsg) (This)->lpVtbl->TranslateAccelerator(This,pMsg)
    941 #endif
    942 #endif
    943   HRESULT WINAPI IPropertyPageSite_OnStatusChange_Proxy(IPropertyPageSite *This,DWORD dwFlags);
    944   void __RPC_STUB IPropertyPageSite_OnStatusChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    945   HRESULT WINAPI IPropertyPageSite_GetLocaleID_Proxy(IPropertyPageSite *This,LCID *pLocaleID);
    946   void __RPC_STUB IPropertyPageSite_GetLocaleID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    947   HRESULT WINAPI IPropertyPageSite_GetPageContainer_Proxy(IPropertyPageSite *This,IUnknown **ppUnk);
    948   void __RPC_STUB IPropertyPageSite_GetPageContainer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    949   HRESULT WINAPI IPropertyPageSite_TranslateAccelerator_Proxy(IPropertyPageSite *This,MSG *pMsg);
    950   void __RPC_STUB IPropertyPageSite_TranslateAccelerator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    951 #endif
    952 
    953 #ifndef __IPropertyNotifySink_INTERFACE_DEFINED__
    954 #define __IPropertyNotifySink_INTERFACE_DEFINED__
    955   typedef IPropertyNotifySink *LPPROPERTYNOTIFYSINK;
    956 
    957   EXTERN_C const IID IID_IPropertyNotifySink;
    958 #if defined(__cplusplus) && !defined(CINTERFACE)
    959   struct IPropertyNotifySink : public IUnknown {
    960   public:
    961     virtual HRESULT WINAPI OnChanged(DISPID dispID) = 0;
    962     virtual HRESULT WINAPI OnRequestEdit(DISPID dispID) = 0;
    963   };
    964 #else
    965   typedef struct IPropertyNotifySinkVtbl {
    966     BEGIN_INTERFACE
    967       HRESULT (WINAPI *QueryInterface)(IPropertyNotifySink *This,REFIID riid,void **ppvObject);
    968       ULONG (WINAPI *AddRef)(IPropertyNotifySink *This);
    969       ULONG (WINAPI *Release)(IPropertyNotifySink *This);
    970       HRESULT (WINAPI *OnChanged)(IPropertyNotifySink *This,DISPID dispID);
    971       HRESULT (WINAPI *OnRequestEdit)(IPropertyNotifySink *This,DISPID dispID);
    972     END_INTERFACE
    973   } IPropertyNotifySinkVtbl;
    974   struct IPropertyNotifySink {
    975     CONST_VTBL struct IPropertyNotifySinkVtbl *lpVtbl;
    976   };
    977 #ifdef COBJMACROS
    978 #define IPropertyNotifySink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    979 #define IPropertyNotifySink_AddRef(This) (This)->lpVtbl->AddRef(This)
    980 #define IPropertyNotifySink_Release(This) (This)->lpVtbl->Release(This)
    981 #define IPropertyNotifySink_OnChanged(This,dispID) (This)->lpVtbl->OnChanged(This,dispID)
    982 #define IPropertyNotifySink_OnRequestEdit(This,dispID) (This)->lpVtbl->OnRequestEdit(This,dispID)
    983 #endif
    984 #endif
    985   HRESULT WINAPI IPropertyNotifySink_OnChanged_Proxy(IPropertyNotifySink *This,DISPID dispID);
    986   void __RPC_STUB IPropertyNotifySink_OnChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    987   HRESULT WINAPI IPropertyNotifySink_OnRequestEdit_Proxy(IPropertyNotifySink *This,DISPID dispID);
    988   void __RPC_STUB IPropertyNotifySink_OnRequestEdit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    989 #endif
    990 
    991 #ifndef __ISpecifyPropertyPages_INTERFACE_DEFINED__
    992 #define __ISpecifyPropertyPages_INTERFACE_DEFINED__
    993   typedef ISpecifyPropertyPages *LPSPECIFYPROPERTYPAGES;
    994 
    995   typedef struct tagCAUUID {
    996     ULONG cElems;
    997     GUID *pElems;
    998   } CAUUID;
    999 
   1000   typedef struct tagCAUUID *LPCAUUID;
   1001 
   1002   EXTERN_C const IID IID_ISpecifyPropertyPages;
   1003 #if defined(__cplusplus) && !defined(CINTERFACE)
   1004   struct ISpecifyPropertyPages : public IUnknown {
   1005   public:
   1006     virtual HRESULT WINAPI GetPages(CAUUID *pPages) = 0;
   1007   };
   1008 #else
   1009   typedef struct ISpecifyPropertyPagesVtbl {
   1010     BEGIN_INTERFACE
   1011       HRESULT (WINAPI *QueryInterface)(ISpecifyPropertyPages *This,REFIID riid,void **ppvObject);
   1012       ULONG (WINAPI *AddRef)(ISpecifyPropertyPages *This);
   1013       ULONG (WINAPI *Release)(ISpecifyPropertyPages *This);
   1014       HRESULT (WINAPI *GetPages)(ISpecifyPropertyPages *This,CAUUID *pPages);
   1015     END_INTERFACE
   1016   } ISpecifyPropertyPagesVtbl;
   1017   struct ISpecifyPropertyPages {
   1018     CONST_VTBL struct ISpecifyPropertyPagesVtbl *lpVtbl;
   1019   };
   1020 #ifdef COBJMACROS
   1021 #define ISpecifyPropertyPages_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1022 #define ISpecifyPropertyPages_AddRef(This) (This)->lpVtbl->AddRef(This)
   1023 #define ISpecifyPropertyPages_Release(This) (This)->lpVtbl->Release(This)
   1024 #define ISpecifyPropertyPages_GetPages(This,pPages) (This)->lpVtbl->GetPages(This,pPages)
   1025 #endif
   1026 #endif
   1027   HRESULT WINAPI ISpecifyPropertyPages_GetPages_Proxy(ISpecifyPropertyPages *This,CAUUID *pPages);
   1028   void __RPC_STUB ISpecifyPropertyPages_GetPages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1029 #endif
   1030 
   1031 #ifndef __IPersistMemory_INTERFACE_DEFINED__
   1032 #define __IPersistMemory_INTERFACE_DEFINED__
   1033   typedef IPersistMemory *LPPERSISTMEMORY;
   1034 
   1035   EXTERN_C const IID IID_IPersistMemory;
   1036 #if defined(__cplusplus) && !defined(CINTERFACE)
   1037   struct IPersistMemory : public IPersist {
   1038   public:
   1039     virtual HRESULT WINAPI IsDirty(void) = 0;
   1040     virtual HRESULT WINAPI Load(LPVOID pMem,ULONG cbSize) = 0;
   1041     virtual HRESULT WINAPI Save(LPVOID pMem,WINBOOL fClearDirty,ULONG cbSize) = 0;
   1042     virtual HRESULT WINAPI GetSizeMax(ULONG *pCbSize) = 0;
   1043     virtual HRESULT WINAPI InitNew(void) = 0;
   1044   };
   1045 #else
   1046   typedef struct IPersistMemoryVtbl {
   1047     BEGIN_INTERFACE
   1048       HRESULT (WINAPI *QueryInterface)(IPersistMemory *This,REFIID riid,void **ppvObject);
   1049       ULONG (WINAPI *AddRef)(IPersistMemory *This);
   1050       ULONG (WINAPI *Release)(IPersistMemory *This);
   1051       HRESULT (WINAPI *GetClassID)(IPersistMemory *This,CLSID *pClassID);
   1052       HRESULT (WINAPI *IsDirty)(IPersistMemory *This);
   1053       HRESULT (WINAPI *Load)(IPersistMemory *This,LPVOID pMem,ULONG cbSize);
   1054       HRESULT (WINAPI *Save)(IPersistMemory *This,LPVOID pMem,WINBOOL fClearDirty,ULONG cbSize);
   1055       HRESULT (WINAPI *GetSizeMax)(IPersistMemory *This,ULONG *pCbSize);
   1056       HRESULT (WINAPI *InitNew)(IPersistMemory *This);
   1057     END_INTERFACE
   1058   } IPersistMemoryVtbl;
   1059   struct IPersistMemory {
   1060     CONST_VTBL struct IPersistMemoryVtbl *lpVtbl;
   1061   };
   1062 #ifdef COBJMACROS
   1063 #define IPersistMemory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1064 #define IPersistMemory_AddRef(This) (This)->lpVtbl->AddRef(This)
   1065 #define IPersistMemory_Release(This) (This)->lpVtbl->Release(This)
   1066 #define IPersistMemory_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
   1067 #define IPersistMemory_IsDirty(This) (This)->lpVtbl->IsDirty(This)
   1068 #define IPersistMemory_Load(This,pMem,cbSize) (This)->lpVtbl->Load(This,pMem,cbSize)
   1069 #define IPersistMemory_Save(This,pMem,fClearDirty,cbSize) (This)->lpVtbl->Save(This,pMem,fClearDirty,cbSize)
   1070 #define IPersistMemory_GetSizeMax(This,pCbSize) (This)->lpVtbl->GetSizeMax(This,pCbSize)
   1071 #define IPersistMemory_InitNew(This) (This)->lpVtbl->InitNew(This)
   1072 #endif
   1073 #endif
   1074   HRESULT WINAPI IPersistMemory_IsDirty_Proxy(IPersistMemory *This);
   1075   void __RPC_STUB IPersistMemory_IsDirty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1076   HRESULT WINAPI IPersistMemory_RemoteLoad_Proxy(IPersistMemory *This,BYTE *pMem,ULONG cbSize);
   1077   void __RPC_STUB IPersistMemory_RemoteLoad_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1078   HRESULT WINAPI IPersistMemory_RemoteSave_Proxy(IPersistMemory *This,BYTE *pMem,WINBOOL fClearDirty,ULONG cbSize);
   1079   void __RPC_STUB IPersistMemory_RemoteSave_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1080   HRESULT WINAPI IPersistMemory_GetSizeMax_Proxy(IPersistMemory *This,ULONG *pCbSize);
   1081   void __RPC_STUB IPersistMemory_GetSizeMax_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1082   HRESULT WINAPI IPersistMemory_InitNew_Proxy(IPersistMemory *This);
   1083   void __RPC_STUB IPersistMemory_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1084 #endif
   1085 
   1086 #ifndef __IPersistStreamInit_INTERFACE_DEFINED__
   1087 #define __IPersistStreamInit_INTERFACE_DEFINED__
   1088   typedef IPersistStreamInit *LPPERSISTSTREAMINIT;
   1089 
   1090   EXTERN_C const IID IID_IPersistStreamInit;
   1091 #if defined(__cplusplus) && !defined(CINTERFACE)
   1092   struct IPersistStreamInit : public IPersist {
   1093   public:
   1094     virtual HRESULT WINAPI IsDirty(void) = 0;
   1095     virtual HRESULT WINAPI Load(LPSTREAM pStm) = 0;
   1096     virtual HRESULT WINAPI Save(LPSTREAM pStm,WINBOOL fClearDirty) = 0;
   1097     virtual HRESULT WINAPI GetSizeMax(ULARGE_INTEGER *pCbSize) = 0;
   1098     virtual HRESULT WINAPI InitNew(void) = 0;
   1099   };
   1100 #else
   1101   typedef struct IPersistStreamInitVtbl {
   1102     BEGIN_INTERFACE
   1103       HRESULT (WINAPI *QueryInterface)(IPersistStreamInit *This,REFIID riid,void **ppvObject);
   1104       ULONG (WINAPI *AddRef)(IPersistStreamInit *This);
   1105       ULONG (WINAPI *Release)(IPersistStreamInit *This);
   1106       HRESULT (WINAPI *GetClassID)(IPersistStreamInit *This,CLSID *pClassID);
   1107       HRESULT (WINAPI *IsDirty)(IPersistStreamInit *This);
   1108       HRESULT (WINAPI *Load)(IPersistStreamInit *This,LPSTREAM pStm);
   1109       HRESULT (WINAPI *Save)(IPersistStreamInit *This,LPSTREAM pStm,WINBOOL fClearDirty);
   1110       HRESULT (WINAPI *GetSizeMax)(IPersistStreamInit *This,ULARGE_INTEGER *pCbSize);
   1111       HRESULT (WINAPI *InitNew)(IPersistStreamInit *This);
   1112     END_INTERFACE
   1113   } IPersistStreamInitVtbl;
   1114   struct IPersistStreamInit {
   1115     CONST_VTBL struct IPersistStreamInitVtbl *lpVtbl;
   1116   };
   1117 #ifdef COBJMACROS
   1118 #define IPersistStreamInit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1119 #define IPersistStreamInit_AddRef(This) (This)->lpVtbl->AddRef(This)
   1120 #define IPersistStreamInit_Release(This) (This)->lpVtbl->Release(This)
   1121 #define IPersistStreamInit_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
   1122 #define IPersistStreamInit_IsDirty(This) (This)->lpVtbl->IsDirty(This)
   1123 #define IPersistStreamInit_Load(This,pStm) (This)->lpVtbl->Load(This,pStm)
   1124 #define IPersistStreamInit_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty)
   1125 #define IPersistStreamInit_GetSizeMax(This,pCbSize) (This)->lpVtbl->GetSizeMax(This,pCbSize)
   1126 #define IPersistStreamInit_InitNew(This) (This)->lpVtbl->InitNew(This)
   1127 #endif
   1128 #endif
   1129   HRESULT WINAPI IPersistStreamInit_IsDirty_Proxy(IPersistStreamInit *This);
   1130   void __RPC_STUB IPersistStreamInit_IsDirty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1131   HRESULT WINAPI IPersistStreamInit_Load_Proxy(IPersistStreamInit *This,LPSTREAM pStm);
   1132   void __RPC_STUB IPersistStreamInit_Load_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1133   HRESULT WINAPI IPersistStreamInit_Save_Proxy(IPersistStreamInit *This,LPSTREAM pStm,WINBOOL fClearDirty);
   1134   void __RPC_STUB IPersistStreamInit_Save_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1135   HRESULT WINAPI IPersistStreamInit_GetSizeMax_Proxy(IPersistStreamInit *This,ULARGE_INTEGER *pCbSize);
   1136   void __RPC_STUB IPersistStreamInit_GetSizeMax_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1137   HRESULT WINAPI IPersistStreamInit_InitNew_Proxy(IPersistStreamInit *This);
   1138   void __RPC_STUB IPersistStreamInit_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1139 #endif
   1140 
   1141 #ifndef __IPersistPropertyBag_INTERFACE_DEFINED__
   1142 #define __IPersistPropertyBag_INTERFACE_DEFINED__
   1143   typedef IPersistPropertyBag *LPPERSISTPROPERTYBAG;
   1144 
   1145   EXTERN_C const IID IID_IPersistPropertyBag;
   1146 #if defined(__cplusplus) && !defined(CINTERFACE)
   1147   struct IPersistPropertyBag : public IPersist {
   1148   public:
   1149     virtual HRESULT WINAPI InitNew(void) = 0;
   1150     virtual HRESULT WINAPI Load(IPropertyBag *pPropBag,IErrorLog *pErrorLog) = 0;
   1151     virtual HRESULT WINAPI Save(IPropertyBag *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties) = 0;
   1152   };
   1153 #else
   1154   typedef struct IPersistPropertyBagVtbl {
   1155     BEGIN_INTERFACE
   1156       HRESULT (WINAPI *QueryInterface)(IPersistPropertyBag *This,REFIID riid,void **ppvObject);
   1157       ULONG (WINAPI *AddRef)(IPersistPropertyBag *This);
   1158       ULONG (WINAPI *Release)(IPersistPropertyBag *This);
   1159       HRESULT (WINAPI *GetClassID)(IPersistPropertyBag *This,CLSID *pClassID);
   1160       HRESULT (WINAPI *InitNew)(IPersistPropertyBag *This);
   1161       HRESULT (WINAPI *Load)(IPersistPropertyBag *This,IPropertyBag *pPropBag,IErrorLog *pErrorLog);
   1162       HRESULT (WINAPI *Save)(IPersistPropertyBag *This,IPropertyBag *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties);
   1163     END_INTERFACE
   1164   } IPersistPropertyBagVtbl;
   1165   struct IPersistPropertyBag {
   1166     CONST_VTBL struct IPersistPropertyBagVtbl *lpVtbl;
   1167   };
   1168 #ifdef COBJMACROS
   1169 #define IPersistPropertyBag_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1170 #define IPersistPropertyBag_AddRef(This) (This)->lpVtbl->AddRef(This)
   1171 #define IPersistPropertyBag_Release(This) (This)->lpVtbl->Release(This)
   1172 #define IPersistPropertyBag_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
   1173 #define IPersistPropertyBag_InitNew(This) (This)->lpVtbl->InitNew(This)
   1174 #define IPersistPropertyBag_Load(This,pPropBag,pErrorLog) (This)->lpVtbl->Load(This,pPropBag,pErrorLog)
   1175 #define IPersistPropertyBag_Save(This,pPropBag,fClearDirty,fSaveAllProperties) (This)->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties)
   1176 #endif
   1177 #endif
   1178   HRESULT WINAPI IPersistPropertyBag_InitNew_Proxy(IPersistPropertyBag *This);
   1179   void __RPC_STUB IPersistPropertyBag_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1180   HRESULT WINAPI IPersistPropertyBag_Load_Proxy(IPersistPropertyBag *This,IPropertyBag *pPropBag,IErrorLog *pErrorLog);
   1181   void __RPC_STUB IPersistPropertyBag_Load_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1182   HRESULT WINAPI IPersistPropertyBag_Save_Proxy(IPersistPropertyBag *This,IPropertyBag *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties);
   1183   void __RPC_STUB IPersistPropertyBag_Save_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1184 #endif
   1185 
   1186 #ifndef __ISimpleFrameSite_INTERFACE_DEFINED__
   1187 #define __ISimpleFrameSite_INTERFACE_DEFINED__
   1188   typedef ISimpleFrameSite *LPSIMPLEFRAMESITE;
   1189 
   1190   EXTERN_C const IID IID_ISimpleFrameSite;
   1191 #if defined(__cplusplus) && !defined(CINTERFACE)
   1192   struct ISimpleFrameSite : public IUnknown {
   1193   public:
   1194     virtual HRESULT WINAPI PreMessageFilter(HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD *pdwCookie) = 0;
   1195     virtual HRESULT WINAPI PostMessageFilter(HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD dwCookie) = 0;
   1196   };
   1197 #else
   1198   typedef struct ISimpleFrameSiteVtbl {
   1199     BEGIN_INTERFACE
   1200       HRESULT (WINAPI *QueryInterface)(ISimpleFrameSite *This,REFIID riid,void **ppvObject);
   1201       ULONG (WINAPI *AddRef)(ISimpleFrameSite *This);
   1202       ULONG (WINAPI *Release)(ISimpleFrameSite *This);
   1203       HRESULT (WINAPI *PreMessageFilter)(ISimpleFrameSite *This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD *pdwCookie);
   1204       HRESULT (WINAPI *PostMessageFilter)(ISimpleFrameSite *This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD dwCookie);
   1205     END_INTERFACE
   1206   } ISimpleFrameSiteVtbl;
   1207   struct ISimpleFrameSite {
   1208     CONST_VTBL struct ISimpleFrameSiteVtbl *lpVtbl;
   1209   };
   1210 #ifdef COBJMACROS
   1211 #define ISimpleFrameSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1212 #define ISimpleFrameSite_AddRef(This) (This)->lpVtbl->AddRef(This)
   1213 #define ISimpleFrameSite_Release(This) (This)->lpVtbl->Release(This)
   1214 #define ISimpleFrameSite_PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie) (This)->lpVtbl->PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie)
   1215 #define ISimpleFrameSite_PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie) (This)->lpVtbl->PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie)
   1216 #endif
   1217 #endif
   1218   HRESULT WINAPI ISimpleFrameSite_PreMessageFilter_Proxy(ISimpleFrameSite *This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD *pdwCookie);
   1219   void __RPC_STUB ISimpleFrameSite_PreMessageFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1220   HRESULT WINAPI ISimpleFrameSite_PostMessageFilter_Proxy(ISimpleFrameSite *This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD dwCookie);
   1221   void __RPC_STUB ISimpleFrameSite_PostMessageFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1222 #endif
   1223 
   1224 #ifndef __IFont_INTERFACE_DEFINED__
   1225 #define __IFont_INTERFACE_DEFINED__
   1226   typedef IFont *LPFONT;
   1227 
   1228 #ifndef OLE2ANSI
   1229   typedef TEXTMETRICW TEXTMETRICOLE;
   1230 #else
   1231   typedef TEXTMETRIC TEXTMETRICOLE;
   1232 #endif
   1233   typedef TEXTMETRICOLE *LPTEXTMETRICOLE;
   1234 
   1235   EXTERN_C const IID IID_IFont;
   1236 #if defined(__cplusplus) && !defined(CINTERFACE)
   1237   struct IFont : public IUnknown {
   1238   public:
   1239     virtual HRESULT WINAPI get_Name(BSTR *pName) = 0;
   1240     virtual HRESULT WINAPI put_Name(BSTR name) = 0;
   1241     virtual HRESULT WINAPI get_Size(CY *pSize) = 0;
   1242     virtual HRESULT WINAPI put_Size(CY size) = 0;
   1243     virtual HRESULT WINAPI get_Bold(WINBOOL *pBold) = 0;
   1244     virtual HRESULT WINAPI put_Bold(WINBOOL bold) = 0;
   1245     virtual HRESULT WINAPI get_Italic(WINBOOL *pItalic) = 0;
   1246     virtual HRESULT WINAPI put_Italic(WINBOOL italic) = 0;
   1247     virtual HRESULT WINAPI get_Underline(WINBOOL *pUnderline) = 0;
   1248     virtual HRESULT WINAPI put_Underline(WINBOOL underline) = 0;
   1249     virtual HRESULT WINAPI get_Strikethrough(WINBOOL *pStrikethrough) = 0;
   1250     virtual HRESULT WINAPI put_Strikethrough(WINBOOL strikethrough) = 0;
   1251     virtual HRESULT WINAPI get_Weight(SHORT *pWeight) = 0;
   1252     virtual HRESULT WINAPI put_Weight(SHORT weight) = 0;
   1253     virtual HRESULT WINAPI get_Charset(SHORT *pCharset) = 0;
   1254     virtual HRESULT WINAPI put_Charset(SHORT charset) = 0;
   1255     virtual HRESULT WINAPI get_hFont(HFONT *phFont) = 0;
   1256     virtual HRESULT WINAPI Clone(IFont **ppFont) = 0;
   1257     virtual HRESULT WINAPI IsEqual(IFont *pFontOther) = 0;
   1258     virtual HRESULT WINAPI SetRatio(LONG cyLogical,LONG cyHimetric) = 0;
   1259     virtual HRESULT WINAPI QueryTextMetrics(TEXTMETRICOLE *pTM) = 0;
   1260     virtual HRESULT WINAPI AddRefHfont(HFONT hFont) = 0;
   1261     virtual HRESULT WINAPI ReleaseHfont(HFONT hFont) = 0;
   1262     virtual HRESULT WINAPI SetHdc(HDC hDC) = 0;
   1263   };
   1264 #else
   1265   typedef struct IFontVtbl {
   1266     BEGIN_INTERFACE
   1267       HRESULT (WINAPI *QueryInterface)(IFont *This,REFIID riid,void **ppvObject);
   1268       ULONG (WINAPI *AddRef)(IFont *This);
   1269       ULONG (WINAPI *Release)(IFont *This);
   1270       HRESULT (WINAPI *get_Name)(IFont *This,BSTR *pName);
   1271       HRESULT (WINAPI *put_Name)(IFont *This,BSTR name);
   1272       HRESULT (WINAPI *get_Size)(IFont *This,CY *pSize);
   1273       HRESULT (WINAPI *put_Size)(IFont *This,CY size);
   1274       HRESULT (WINAPI *get_Bold)(IFont *This,WINBOOL *pBold);
   1275       HRESULT (WINAPI *put_Bold)(IFont *This,WINBOOL bold);
   1276       HRESULT (WINAPI *get_Italic)(IFont *This,WINBOOL *pItalic);
   1277       HRESULT (WINAPI *put_Italic)(IFont *This,WINBOOL italic);
   1278       HRESULT (WINAPI *get_Underline)(IFont *This,WINBOOL *pUnderline);
   1279       HRESULT (WINAPI *put_Underline)(IFont *This,WINBOOL underline);
   1280       HRESULT (WINAPI *get_Strikethrough)(IFont *This,WINBOOL *pStrikethrough);
   1281       HRESULT (WINAPI *put_Strikethrough)(IFont *This,WINBOOL strikethrough);
   1282       HRESULT (WINAPI *get_Weight)(IFont *This,SHORT *pWeight);
   1283       HRESULT (WINAPI *put_Weight)(IFont *This,SHORT weight);
   1284       HRESULT (WINAPI *get_Charset)(IFont *This,SHORT *pCharset);
   1285       HRESULT (WINAPI *put_Charset)(IFont *This,SHORT charset);
   1286       HRESULT (WINAPI *get_hFont)(IFont *This,HFONT *phFont);
   1287       HRESULT (WINAPI *Clone)(IFont *This,IFont **ppFont);
   1288       HRESULT (WINAPI *IsEqual)(IFont *This,IFont *pFontOther);
   1289       HRESULT (WINAPI *SetRatio)(IFont *This,LONG cyLogical,LONG cyHimetric);
   1290       HRESULT (WINAPI *QueryTextMetrics)(IFont *This,TEXTMETRICOLE *pTM);
   1291       HRESULT (WINAPI *AddRefHfont)(IFont *This,HFONT hFont);
   1292       HRESULT (WINAPI *ReleaseHfont)(IFont *This,HFONT hFont);
   1293       HRESULT (WINAPI *SetHdc)(IFont *This,HDC hDC);
   1294     END_INTERFACE
   1295   } IFontVtbl;
   1296   struct IFont {
   1297     CONST_VTBL struct IFontVtbl *lpVtbl;
   1298   };
   1299 #ifdef COBJMACROS
   1300 #define IFont_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1301 #define IFont_AddRef(This) (This)->lpVtbl->AddRef(This)
   1302 #define IFont_Release(This) (This)->lpVtbl->Release(This)
   1303 #define IFont_get_Name(This,pName) (This)->lpVtbl->get_Name(This,pName)
   1304 #define IFont_put_Name(This,name) (This)->lpVtbl->put_Name(This,name)
   1305 #define IFont_get_Size(This,pSize) (This)->lpVtbl->get_Size(This,pSize)
   1306 #define IFont_put_Size(This,size) (This)->lpVtbl->put_Size(This,size)
   1307 #define IFont_get_Bold(This,pBold) (This)->lpVtbl->get_Bold(This,pBold)
   1308 #define IFont_put_Bold(This,bold) (This)->lpVtbl->put_Bold(This,bold)
   1309 #define IFont_get_Italic(This,pItalic) (This)->lpVtbl->get_Italic(This,pItalic)
   1310 #define IFont_put_Italic(This,italic) (This)->lpVtbl->put_Italic(This,italic)
   1311 #define IFont_get_Underline(This,pUnderline) (This)->lpVtbl->get_Underline(This,pUnderline)
   1312 #define IFont_put_Underline(This,underline) (This)->lpVtbl->put_Underline(This,underline)
   1313 #define IFont_get_Strikethrough(This,pStrikethrough) (This)->lpVtbl->get_Strikethrough(This,pStrikethrough)
   1314 #define IFont_put_Strikethrough(This,strikethrough) (This)->lpVtbl->put_Strikethrough(This,strikethrough)
   1315 #define IFont_get_Weight(This,pWeight) (This)->lpVtbl->get_Weight(This,pWeight)
   1316 #define IFont_put_Weight(This,weight) (This)->lpVtbl->put_Weight(This,weight)
   1317 #define IFont_get_Charset(This,pCharset) (This)->lpVtbl->get_Charset(This,pCharset)
   1318 #define IFont_put_Charset(This,charset) (This)->lpVtbl->put_Charset(This,charset)
   1319 #define IFont_get_hFont(This,phFont) (This)->lpVtbl->get_hFont(This,phFont)
   1320 #define IFont_Clone(This,ppFont) (This)->lpVtbl->Clone(This,ppFont)
   1321 #define IFont_IsEqual(This,pFontOther) (This)->lpVtbl->IsEqual(This,pFontOther)
   1322 #define IFont_SetRatio(This,cyLogical,cyHimetric) (This)->lpVtbl->SetRatio(This,cyLogical,cyHimetric)
   1323 #define IFont_QueryTextMetrics(This,pTM) (This)->lpVtbl->QueryTextMetrics(This,pTM)
   1324 #define IFont_AddRefHfont(This,hFont) (This)->lpVtbl->AddRefHfont(This,hFont)
   1325 #define IFont_ReleaseHfont(This,hFont) (This)->lpVtbl->ReleaseHfont(This,hFont)
   1326 #define IFont_SetHdc(This,hDC) (This)->lpVtbl->SetHdc(This,hDC)
   1327 #endif
   1328 #endif
   1329   HRESULT WINAPI IFont_get_Name_Proxy(IFont *This,BSTR *pName);
   1330   void __RPC_STUB IFont_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1331   HRESULT WINAPI IFont_put_Name_Proxy(IFont *This,BSTR name);
   1332   void __RPC_STUB IFont_put_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1333   HRESULT WINAPI IFont_get_Size_Proxy(IFont *This,CY *pSize);
   1334   void __RPC_STUB IFont_get_Size_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1335   HRESULT WINAPI IFont_put_Size_Proxy(IFont *This,CY size);
   1336   void __RPC_STUB IFont_put_Size_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1337   HRESULT WINAPI IFont_get_Bold_Proxy(IFont *This,WINBOOL *pBold);
   1338   void __RPC_STUB IFont_get_Bold_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1339   HRESULT WINAPI IFont_put_Bold_Proxy(IFont *This,WINBOOL bold);
   1340   void __RPC_STUB IFont_put_Bold_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1341   HRESULT WINAPI IFont_get_Italic_Proxy(IFont *This,WINBOOL *pItalic);
   1342   void __RPC_STUB IFont_get_Italic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1343   HRESULT WINAPI IFont_put_Italic_Proxy(IFont *This,WINBOOL italic);
   1344   void __RPC_STUB IFont_put_Italic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1345   HRESULT WINAPI IFont_get_Underline_Proxy(IFont *This,WINBOOL *pUnderline);
   1346   void __RPC_STUB IFont_get_Underline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1347   HRESULT WINAPI IFont_put_Underline_Proxy(IFont *This,WINBOOL underline);
   1348   void __RPC_STUB IFont_put_Underline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1349   HRESULT WINAPI IFont_get_Strikethrough_Proxy(IFont *This,WINBOOL *pStrikethrough);
   1350   void __RPC_STUB IFont_get_Strikethrough_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1351   HRESULT WINAPI IFont_put_Strikethrough_Proxy(IFont *This,WINBOOL strikethrough);
   1352   void __RPC_STUB IFont_put_Strikethrough_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1353   HRESULT WINAPI IFont_get_Weight_Proxy(IFont *This,SHORT *pWeight);
   1354   void __RPC_STUB IFont_get_Weight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1355   HRESULT WINAPI IFont_put_Weight_Proxy(IFont *This,SHORT weight);
   1356   void __RPC_STUB IFont_put_Weight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1357   HRESULT WINAPI IFont_get_Charset_Proxy(IFont *This,SHORT *pCharset);
   1358   void __RPC_STUB IFont_get_Charset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1359   HRESULT WINAPI IFont_put_Charset_Proxy(IFont *This,SHORT charset);
   1360   void __RPC_STUB IFont_put_Charset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1361   HRESULT WINAPI IFont_get_hFont_Proxy(IFont *This,HFONT *phFont);
   1362   void __RPC_STUB IFont_get_hFont_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1363   HRESULT WINAPI IFont_Clone_Proxy(IFont *This,IFont **ppFont);
   1364   void __RPC_STUB IFont_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1365   HRESULT WINAPI IFont_IsEqual_Proxy(IFont *This,IFont *pFontOther);
   1366   void __RPC_STUB IFont_IsEqual_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1367   HRESULT WINAPI IFont_SetRatio_Proxy(IFont *This,LONG cyLogical,LONG cyHimetric);
   1368   void __RPC_STUB IFont_SetRatio_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1369   HRESULT WINAPI IFont_QueryTextMetrics_Proxy(IFont *This,TEXTMETRICOLE *pTM);
   1370   void __RPC_STUB IFont_QueryTextMetrics_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1371   HRESULT WINAPI IFont_AddRefHfont_Proxy(IFont *This,HFONT hFont);
   1372   void __RPC_STUB IFont_AddRefHfont_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1373   HRESULT WINAPI IFont_ReleaseHfont_Proxy(IFont *This,HFONT hFont);
   1374   void __RPC_STUB IFont_ReleaseHfont_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1375   HRESULT WINAPI IFont_SetHdc_Proxy(IFont *This,HDC hDC);
   1376   void __RPC_STUB IFont_SetHdc_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1377 #endif
   1378 
   1379 #ifndef __IPicture_INTERFACE_DEFINED__
   1380 #define __IPicture_INTERFACE_DEFINED__
   1381   typedef IPicture *LPPICTURE;
   1382 
   1383   typedef enum tagPictureAttributes {
   1384     PICTURE_SCALABLE = 0x1,PICTURE_TRANSPARENT = 0x2
   1385   } PICTUREATTRIBUTES;
   1386 
   1387   typedef UINT OLE_HANDLE;
   1388   typedef LONG OLE_XPOS_HIMETRIC;
   1389   typedef LONG OLE_YPOS_HIMETRIC;
   1390   typedef LONG OLE_XSIZE_HIMETRIC;
   1391   typedef LONG OLE_YSIZE_HIMETRIC;
   1392 
   1393   EXTERN_C const IID IID_IPicture;
   1394 #if defined(__cplusplus) && !defined(CINTERFACE)
   1395   struct IPicture : public IUnknown {
   1396   public:
   1397     virtual HRESULT WINAPI get_Handle(OLE_HANDLE *pHandle) = 0;
   1398     virtual HRESULT WINAPI get_hPal(OLE_HANDLE *phPal) = 0;
   1399     virtual HRESULT WINAPI get_Type(SHORT *pType) = 0;
   1400     virtual HRESULT WINAPI get_Width(OLE_XSIZE_HIMETRIC *pWidth) = 0;
   1401     virtual HRESULT WINAPI get_Height(OLE_YSIZE_HIMETRIC *pHeight) = 0;
   1402     virtual HRESULT WINAPI Render(HDC hDC,LONG x,LONG y,LONG cx,LONG cy,OLE_XPOS_HIMETRIC xSrc,OLE_YPOS_HIMETRIC ySrc,OLE_XSIZE_HIMETRIC cxSrc,OLE_YSIZE_HIMETRIC cySrc,LPCRECT pRcWBounds) = 0;
   1403     virtual HRESULT WINAPI set_hPal(OLE_HANDLE hPal) = 0;
   1404     virtual HRESULT WINAPI get_CurDC(HDC *phDC) = 0;
   1405     virtual HRESULT WINAPI SelectPicture(HDC hDCIn,HDC *phDCOut,OLE_HANDLE *phBmpOut) = 0;
   1406     virtual HRESULT WINAPI get_KeepOriginalFormat(WINBOOL *pKeep) = 0;
   1407     virtual HRESULT WINAPI put_KeepOriginalFormat(WINBOOL keep) = 0;
   1408     virtual HRESULT WINAPI PictureChanged(void) = 0;
   1409     virtual HRESULT WINAPI SaveAsFile(LPSTREAM pStream,WINBOOL fSaveMemCopy,LONG *pCbSize) = 0;
   1410     virtual HRESULT WINAPI get_Attributes(DWORD *pDwAttr) = 0;
   1411   };
   1412 #else
   1413   typedef struct IPictureVtbl {
   1414     BEGIN_INTERFACE
   1415       HRESULT (WINAPI *QueryInterface)(IPicture *This,REFIID riid,void **ppvObject);
   1416       ULONG (WINAPI *AddRef)(IPicture *This);
   1417       ULONG (WINAPI *Release)(IPicture *This);
   1418       HRESULT (WINAPI *get_Handle)(IPicture *This,OLE_HANDLE *pHandle);
   1419       HRESULT (WINAPI *get_hPal)(IPicture *This,OLE_HANDLE *phPal);
   1420       HRESULT (WINAPI *get_Type)(IPicture *This,SHORT *pType);
   1421       HRESULT (WINAPI *get_Width)(IPicture *This,OLE_XSIZE_HIMETRIC *pWidth);
   1422       HRESULT (WINAPI *get_Height)(IPicture *This,OLE_YSIZE_HIMETRIC *pHeight);
   1423       HRESULT (WINAPI *Render)(IPicture *This,HDC hDC,LONG x,LONG y,LONG cx,LONG cy,OLE_XPOS_HIMETRIC xSrc,OLE_YPOS_HIMETRIC ySrc,OLE_XSIZE_HIMETRIC cxSrc,OLE_YSIZE_HIMETRIC cySrc,LPCRECT pRcWBounds);
   1424       HRESULT (WINAPI *set_hPal)(IPicture *This,OLE_HANDLE hPal);
   1425       HRESULT (WINAPI *get_CurDC)(IPicture *This,HDC *phDC);
   1426       HRESULT (WINAPI *SelectPicture)(IPicture *This,HDC hDCIn,HDC *phDCOut,OLE_HANDLE *phBmpOut);
   1427       HRESULT (WINAPI *get_KeepOriginalFormat)(IPicture *This,WINBOOL *pKeep);
   1428       HRESULT (WINAPI *put_KeepOriginalFormat)(IPicture *This,WINBOOL keep);
   1429       HRESULT (WINAPI *PictureChanged)(IPicture *This);
   1430       HRESULT (WINAPI *SaveAsFile)(IPicture *This,LPSTREAM pStream,WINBOOL fSaveMemCopy,LONG *pCbSize);
   1431       HRESULT (WINAPI *get_Attributes)(IPicture *This,DWORD *pDwAttr);
   1432     END_INTERFACE
   1433   } IPictureVtbl;
   1434   struct IPicture {
   1435     CONST_VTBL struct IPictureVtbl *lpVtbl;
   1436   };
   1437 #ifdef COBJMACROS
   1438 #define IPicture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1439 #define IPicture_AddRef(This) (This)->lpVtbl->AddRef(This)
   1440 #define IPicture_Release(This) (This)->lpVtbl->Release(This)
   1441 #define IPicture_get_Handle(This,pHandle) (This)->lpVtbl->get_Handle(This,pHandle)
   1442 #define IPicture_get_hPal(This,phPal) (This)->lpVtbl->get_hPal(This,phPal)
   1443 #define IPicture_get_Type(This,pType) (This)->lpVtbl->get_Type(This,pType)
   1444 #define IPicture_get_Width(This,pWidth) (This)->lpVtbl->get_Width(This,pWidth)
   1445 #define IPicture_get_Height(This,pHeight) (This)->lpVtbl->get_Height(This,pHeight)
   1446 #define IPicture_Render(This,hDC,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds) (This)->lpVtbl->Render(This,hDC,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds)
   1447 #define IPicture_set_hPal(This,hPal) (This)->lpVtbl->set_hPal(This,hPal)
   1448 #define IPicture_get_CurDC(This,phDC) (This)->lpVtbl->get_CurDC(This,phDC)
   1449 #define IPicture_SelectPicture(This,hDCIn,phDCOut,phBmpOut) (This)->lpVtbl->SelectPicture(This,hDCIn,phDCOut,phBmpOut)
   1450 #define IPicture_get_KeepOriginalFormat(This,pKeep) (This)->lpVtbl->get_KeepOriginalFormat(This,pKeep)
   1451 #define IPicture_put_KeepOriginalFormat(This,keep) (This)->lpVtbl->put_KeepOriginalFormat(This,keep)
   1452 #define IPicture_PictureChanged(This) (This)->lpVtbl->PictureChanged(This)
   1453 #define IPicture_SaveAsFile(This,pStream,fSaveMemCopy,pCbSize) (This)->lpVtbl->SaveAsFile(This,pStream,fSaveMemCopy,pCbSize)
   1454 #define IPicture_get_Attributes(This,pDwAttr) (This)->lpVtbl->get_Attributes(This,pDwAttr)
   1455 #endif
   1456 #endif
   1457   HRESULT WINAPI IPicture_get_Handle_Proxy(IPicture *This,OLE_HANDLE *pHandle);
   1458   void __RPC_STUB IPicture_get_Handle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1459   HRESULT WINAPI IPicture_get_hPal_Proxy(IPicture *This,OLE_HANDLE *phPal);
   1460   void __RPC_STUB IPicture_get_hPal_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1461   HRESULT WINAPI IPicture_get_Type_Proxy(IPicture *This,SHORT *pType);
   1462   void __RPC_STUB IPicture_get_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1463   HRESULT WINAPI IPicture_get_Width_Proxy(IPicture *This,OLE_XSIZE_HIMETRIC *pWidth);
   1464   void __RPC_STUB IPicture_get_Width_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1465   HRESULT WINAPI IPicture_get_Height_Proxy(IPicture *This,OLE_YSIZE_HIMETRIC *pHeight);
   1466   void __RPC_STUB IPicture_get_Height_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1467   HRESULT WINAPI IPicture_Render_Proxy(IPicture *This,HDC hDC,LONG x,LONG y,LONG cx,LONG cy,OLE_XPOS_HIMETRIC xSrc,OLE_YPOS_HIMETRIC ySrc,OLE_XSIZE_HIMETRIC cxSrc,OLE_YSIZE_HIMETRIC cySrc,LPCRECT pRcWBounds);
   1468   void __RPC_STUB IPicture_Render_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1469   HRESULT WINAPI IPicture_set_hPal_Proxy(IPicture *This,OLE_HANDLE hPal);
   1470   void __RPC_STUB IPicture_set_hPal_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1471   HRESULT WINAPI IPicture_get_CurDC_Proxy(IPicture *This,HDC *phDC);
   1472   void __RPC_STUB IPicture_get_CurDC_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1473   HRESULT WINAPI IPicture_SelectPicture_Proxy(IPicture *This,HDC hDCIn,HDC *phDCOut,OLE_HANDLE *phBmpOut);
   1474   void __RPC_STUB IPicture_SelectPicture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1475   HRESULT WINAPI IPicture_get_KeepOriginalFormat_Proxy(IPicture *This,WINBOOL *pKeep);
   1476   void __RPC_STUB IPicture_get_KeepOriginalFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1477   HRESULT WINAPI IPicture_put_KeepOriginalFormat_Proxy(IPicture *This,WINBOOL keep);
   1478   void __RPC_STUB IPicture_put_KeepOriginalFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1479   HRESULT WINAPI IPicture_PictureChanged_Proxy(IPicture *This);
   1480   void __RPC_STUB IPicture_PictureChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1481   HRESULT WINAPI IPicture_SaveAsFile_Proxy(IPicture *This,LPSTREAM pStream,WINBOOL fSaveMemCopy,LONG *pCbSize);
   1482   void __RPC_STUB IPicture_SaveAsFile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1483   HRESULT WINAPI IPicture_get_Attributes_Proxy(IPicture *This,DWORD *pDwAttr);
   1484   void __RPC_STUB IPicture_get_Attributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1485 #endif
   1486 
   1487 #ifndef __IFontEventsDisp_INTERFACE_DEFINED__
   1488 #define __IFontEventsDisp_INTERFACE_DEFINED__
   1489   typedef IFontEventsDisp *LPFONTEVENTS;
   1490 
   1491   EXTERN_C const IID IID_IFontEventsDisp;
   1492 #if defined(__cplusplus) && !defined(CINTERFACE)
   1493   struct IFontEventsDisp : public IDispatch {
   1494   };
   1495 #else
   1496   typedef struct IFontEventsDispVtbl {
   1497     BEGIN_INTERFACE
   1498       HRESULT (WINAPI *QueryInterface)(IFontEventsDisp *This,REFIID riid,void **ppvObject);
   1499       ULONG (WINAPI *AddRef)(IFontEventsDisp *This);
   1500       ULONG (WINAPI *Release)(IFontEventsDisp *This);
   1501       HRESULT (WINAPI *GetTypeInfoCount)(IFontEventsDisp *This,UINT *pctinfo);
   1502       HRESULT (WINAPI *GetTypeInfo)(IFontEventsDisp *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1503       HRESULT (WINAPI *GetIDsOfNames)(IFontEventsDisp *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1504       HRESULT (WINAPI *Invoke)(IFontEventsDisp *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1505     END_INTERFACE
   1506   } IFontEventsDispVtbl;
   1507   struct IFontEventsDisp {
   1508     CONST_VTBL struct IFontEventsDispVtbl *lpVtbl;
   1509   };
   1510 #ifdef COBJMACROS
   1511 #define IFontEventsDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1512 #define IFontEventsDisp_AddRef(This) (This)->lpVtbl->AddRef(This)
   1513 #define IFontEventsDisp_Release(This) (This)->lpVtbl->Release(This)
   1514 #define IFontEventsDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1515 #define IFontEventsDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1516 #define IFontEventsDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1517 #define IFontEventsDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1518 #endif
   1519 #endif
   1520 #endif
   1521 
   1522 #ifndef __IFontDisp_INTERFACE_DEFINED__
   1523 #define __IFontDisp_INTERFACE_DEFINED__
   1524   typedef IFontDisp *LPFONTDISP;
   1525 
   1526   EXTERN_C const IID IID_IFontDisp;
   1527 #if defined(__cplusplus) && !defined(CINTERFACE)
   1528   struct IFontDisp : public IDispatch {
   1529   };
   1530 #else
   1531   typedef struct IFontDispVtbl {
   1532     BEGIN_INTERFACE
   1533       HRESULT (WINAPI *QueryInterface)(IFontDisp *This,REFIID riid,void **ppvObject);
   1534       ULONG (WINAPI *AddRef)(IFontDisp *This);
   1535       ULONG (WINAPI *Release)(IFontDisp *This);
   1536       HRESULT (WINAPI *GetTypeInfoCount)(IFontDisp *This,UINT *pctinfo);
   1537       HRESULT (WINAPI *GetTypeInfo)(IFontDisp *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1538       HRESULT (WINAPI *GetIDsOfNames)(IFontDisp *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1539       HRESULT (WINAPI *Invoke)(IFontDisp *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1540     END_INTERFACE
   1541   } IFontDispVtbl;
   1542   struct IFontDisp {
   1543     CONST_VTBL struct IFontDispVtbl *lpVtbl;
   1544   };
   1545 #ifdef COBJMACROS
   1546 #define IFontDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1547 #define IFontDisp_AddRef(This) (This)->lpVtbl->AddRef(This)
   1548 #define IFontDisp_Release(This) (This)->lpVtbl->Release(This)
   1549 #define IFontDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1550 #define IFontDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1551 #define IFontDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1552 #define IFontDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1553 #endif
   1554 #endif
   1555 #endif
   1556 
   1557 #ifndef __IPictureDisp_INTERFACE_DEFINED__
   1558 #define __IPictureDisp_INTERFACE_DEFINED__
   1559   typedef IPictureDisp *LPPICTUREDISP;
   1560 
   1561   EXTERN_C const IID IID_IPictureDisp;
   1562 #if defined(__cplusplus) && !defined(CINTERFACE)
   1563   struct IPictureDisp : public IDispatch {
   1564   };
   1565 #else
   1566   typedef struct IPictureDispVtbl {
   1567     BEGIN_INTERFACE
   1568       HRESULT (WINAPI *QueryInterface)(IPictureDisp *This,REFIID riid,void **ppvObject);
   1569       ULONG (WINAPI *AddRef)(IPictureDisp *This);
   1570       ULONG (WINAPI *Release)(IPictureDisp *This);
   1571       HRESULT (WINAPI *GetTypeInfoCount)(IPictureDisp *This,UINT *pctinfo);
   1572       HRESULT (WINAPI *GetTypeInfo)(IPictureDisp *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1573       HRESULT (WINAPI *GetIDsOfNames)(IPictureDisp *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1574       HRESULT (WINAPI *Invoke)(IPictureDisp *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1575     END_INTERFACE
   1576   } IPictureDispVtbl;
   1577   struct IPictureDisp {
   1578     CONST_VTBL struct IPictureDispVtbl *lpVtbl;
   1579   };
   1580 #ifdef COBJMACROS
   1581 #define IPictureDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1582 #define IPictureDisp_AddRef(This) (This)->lpVtbl->AddRef(This)
   1583 #define IPictureDisp_Release(This) (This)->lpVtbl->Release(This)
   1584 #define IPictureDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1585 #define IPictureDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1586 #define IPictureDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1587 #define IPictureDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1588 #endif
   1589 #endif
   1590 #endif
   1591 
   1592 #ifndef __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__
   1593 #define __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__
   1594   typedef IOleInPlaceObjectWindowless *LPOLEINPLACEOBJECTWINDOWLESS;
   1595 
   1596   EXTERN_C const IID IID_IOleInPlaceObjectWindowless;
   1597 #if defined(__cplusplus) && !defined(CINTERFACE)
   1598   struct IOleInPlaceObjectWindowless : public IOleInPlaceObject {
   1599   public:
   1600     virtual HRESULT WINAPI OnWindowMessage(UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult) = 0;
   1601     virtual HRESULT WINAPI GetDropTarget(IDropTarget **ppDropTarget) = 0;
   1602   };
   1603 #else
   1604   typedef struct IOleInPlaceObjectWindowlessVtbl {
   1605     BEGIN_INTERFACE
   1606       HRESULT (WINAPI *QueryInterface)(IOleInPlaceObjectWindowless *This,REFIID riid,void **ppvObject);
   1607       ULONG (WINAPI *AddRef)(IOleInPlaceObjectWindowless *This);
   1608       ULONG (WINAPI *Release)(IOleInPlaceObjectWindowless *This);
   1609       HRESULT (WINAPI *GetWindow)(IOleInPlaceObjectWindowless *This,HWND *phwnd);
   1610       HRESULT (WINAPI *ContextSensitiveHelp)(IOleInPlaceObjectWindowless *This,WINBOOL fEnterMode);
   1611       HRESULT (WINAPI *InPlaceDeactivate)(IOleInPlaceObjectWindowless *This);
   1612       HRESULT (WINAPI *UIDeactivate)(IOleInPlaceObjectWindowless *This);
   1613       HRESULT (WINAPI *SetObjectRects)(IOleInPlaceObjectWindowless *This,LPCRECT lprcPosRect,LPCRECT lprcClipRect);
   1614       HRESULT (WINAPI *ReactivateAndUndo)(IOleInPlaceObjectWindowless *This);
   1615       HRESULT (WINAPI *OnWindowMessage)(IOleInPlaceObjectWindowless *This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult);
   1616       HRESULT (WINAPI *GetDropTarget)(IOleInPlaceObjectWindowless *This,IDropTarget **ppDropTarget);
   1617     END_INTERFACE
   1618   } IOleInPlaceObjectWindowlessVtbl;
   1619   struct IOleInPlaceObjectWindowless {
   1620     CONST_VTBL struct IOleInPlaceObjectWindowlessVtbl *lpVtbl;
   1621   };
   1622 #ifdef COBJMACROS
   1623 #define IOleInPlaceObjectWindowless_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1624 #define IOleInPlaceObjectWindowless_AddRef(This) (This)->lpVtbl->AddRef(This)
   1625 #define IOleInPlaceObjectWindowless_Release(This) (This)->lpVtbl->Release(This)
   1626 #define IOleInPlaceObjectWindowless_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
   1627 #define IOleInPlaceObjectWindowless_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
   1628 #define IOleInPlaceObjectWindowless_InPlaceDeactivate(This) (This)->lpVtbl->InPlaceDeactivate(This)
   1629 #define IOleInPlaceObjectWindowless_UIDeactivate(This) (This)->lpVtbl->UIDeactivate(This)
   1630 #define IOleInPlaceObjectWindowless_SetObjectRects(This,lprcPosRect,lprcClipRect) (This)->lpVtbl->SetObjectRects(This,lprcPosRect,lprcClipRect)
   1631 #define IOleInPlaceObjectWindowless_ReactivateAndUndo(This) (This)->lpVtbl->ReactivateAndUndo(This)
   1632 #define IOleInPlaceObjectWindowless_OnWindowMessage(This,msg,wParam,lParam,plResult) (This)->lpVtbl->OnWindowMessage(This,msg,wParam,lParam,plResult)
   1633 #define IOleInPlaceObjectWindowless_GetDropTarget(This,ppDropTarget) (This)->lpVtbl->GetDropTarget(This,ppDropTarget)
   1634 #endif
   1635 #endif
   1636   HRESULT WINAPI IOleInPlaceObjectWindowless_OnWindowMessage_Proxy(IOleInPlaceObjectWindowless *This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult);
   1637   void __RPC_STUB IOleInPlaceObjectWindowless_OnWindowMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1638   HRESULT WINAPI IOleInPlaceObjectWindowless_GetDropTarget_Proxy(IOleInPlaceObjectWindowless *This,IDropTarget **ppDropTarget);
   1639   void __RPC_STUB IOleInPlaceObjectWindowless_GetDropTarget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1640 #endif
   1641 
   1642 #ifndef __IOleInPlaceSiteEx_INTERFACE_DEFINED__
   1643 #define __IOleInPlaceSiteEx_INTERFACE_DEFINED__
   1644   typedef IOleInPlaceSiteEx *LPOLEINPLACESITEEX;
   1645 
   1646   typedef enum tagACTIVATEFLAGS {
   1647     ACTIVATE_WINDOWLESS = 1
   1648   } ACTIVATEFLAGS;
   1649 
   1650   EXTERN_C const IID IID_IOleInPlaceSiteEx;
   1651 #if defined(__cplusplus) && !defined(CINTERFACE)
   1652   struct IOleInPlaceSiteEx : public IOleInPlaceSite {
   1653   public:
   1654     virtual HRESULT WINAPI OnInPlaceActivateEx(WINBOOL *pfNoRedraw,DWORD dwFlags) = 0;
   1655     virtual HRESULT WINAPI OnInPlaceDeactivateEx(WINBOOL fNoRedraw) = 0;
   1656     virtual HRESULT WINAPI RequestUIActivate(void) = 0;
   1657   };
   1658 #else
   1659   typedef struct IOleInPlaceSiteExVtbl {
   1660     BEGIN_INTERFACE
   1661       HRESULT (WINAPI *QueryInterface)(IOleInPlaceSiteEx *This,REFIID riid,void **ppvObject);
   1662       ULONG (WINAPI *AddRef)(IOleInPlaceSiteEx *This);
   1663       ULONG (WINAPI *Release)(IOleInPlaceSiteEx *This);
   1664       HRESULT (WINAPI *GetWindow)(IOleInPlaceSiteEx *This,HWND *phwnd);
   1665       HRESULT (WINAPI *ContextSensitiveHelp)(IOleInPlaceSiteEx *This,WINBOOL fEnterMode);
   1666       HRESULT (WINAPI *CanInPlaceActivate)(IOleInPlaceSiteEx *This);
   1667       HRESULT (WINAPI *OnInPlaceActivate)(IOleInPlaceSiteEx *This);
   1668       HRESULT (WINAPI *OnUIActivate)(IOleInPlaceSiteEx *This);
   1669       HRESULT (WINAPI *GetWindowContext)(IOleInPlaceSiteEx *This,IOleInPlaceFrame **ppFrame,IOleInPlaceUIWindow **ppDoc,LPRECT lprcPosRect,LPRECT lprcClipRect,LPOLEINPLACEFRAMEINFO lpFrameInfo);
   1670       HRESULT (WINAPI *Scroll)(IOleInPlaceSiteEx *This,SIZE scrollExtant);
   1671       HRESULT (WINAPI *OnUIDeactivate)(IOleInPlaceSiteEx *This,WINBOOL fUndoable);
   1672       HRESULT (WINAPI *OnInPlaceDeactivate)(IOleInPlaceSiteEx *This);
   1673       HRESULT (WINAPI *DiscardUndoState)(IOleInPlaceSiteEx *This);
   1674       HRESULT (WINAPI *DeactivateAndUndo)(IOleInPlaceSiteEx *This);
   1675       HRESULT (WINAPI *OnPosRectChange)(IOleInPlaceSiteEx *This,LPCRECT lprcPosRect);
   1676       HRESULT (WINAPI *OnInPlaceActivateEx)(IOleInPlaceSiteEx *This,WINBOOL *pfNoRedraw,DWORD dwFlags);
   1677       HRESULT (WINAPI *OnInPlaceDeactivateEx)(IOleInPlaceSiteEx *This,WINBOOL fNoRedraw);
   1678       HRESULT (WINAPI *RequestUIActivate)(IOleInPlaceSiteEx *This);
   1679     END_INTERFACE
   1680   } IOleInPlaceSiteExVtbl;
   1681   struct IOleInPlaceSiteEx {
   1682     CONST_VTBL struct IOleInPlaceSiteExVtbl *lpVtbl;
   1683   };
   1684 #ifdef COBJMACROS
   1685 #define IOleInPlaceSiteEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1686 #define IOleInPlaceSiteEx_AddRef(This) (This)->lpVtbl->AddRef(This)
   1687 #define IOleInPlaceSiteEx_Release(This) (This)->lpVtbl->Release(This)
   1688 #define IOleInPlaceSiteEx_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
   1689 #define IOleInPlaceSiteEx_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
   1690 #define IOleInPlaceSiteEx_CanInPlaceActivate(This) (This)->lpVtbl->CanInPlaceActivate(This)
   1691 #define IOleInPlaceSiteEx_OnInPlaceActivate(This) (This)->lpVtbl->OnInPlaceActivate(This)
   1692 #define IOleInPlaceSiteEx_OnUIActivate(This) (This)->lpVtbl->OnUIActivate(This)
   1693 #define IOleInPlaceSiteEx_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) (This)->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
   1694 #define IOleInPlaceSiteEx_Scroll(This,scrollExtant) (This)->lpVtbl->Scroll(This,scrollExtant)
   1695 #define IOleInPlaceSiteEx_OnUIDeactivate(This,fUndoable) (This)->lpVtbl->OnUIDeactivate(This,fUndoable)
   1696 #define IOleInPlaceSiteEx_OnInPlaceDeactivate(This) (This)->lpVtbl->OnInPlaceDeactivate(This)
   1697 #define IOleInPlaceSiteEx_DiscardUndoState(This) (This)->lpVtbl->DiscardUndoState(This)
   1698 #define IOleInPlaceSiteEx_DeactivateAndUndo(This) (This)->lpVtbl->DeactivateAndUndo(This)
   1699 #define IOleInPlaceSiteEx_OnPosRectChange(This,lprcPosRect) (This)->lpVtbl->OnPosRectChange(This,lprcPosRect)
   1700 #define IOleInPlaceSiteEx_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) (This)->lpVtbl->OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
   1701 #define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(This,fNoRedraw) (This)->lpVtbl->OnInPlaceDeactivateEx(This,fNoRedraw)
   1702 #define IOleInPlaceSiteEx_RequestUIActivate(This) (This)->lpVtbl->RequestUIActivate(This)
   1703 #endif
   1704 #endif
   1705   HRESULT WINAPI IOleInPlaceSiteEx_OnInPlaceActivateEx_Proxy(IOleInPlaceSiteEx *This,WINBOOL *pfNoRedraw,DWORD dwFlags);
   1706   void __RPC_STUB IOleInPlaceSiteEx_OnInPlaceActivateEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1707   HRESULT WINAPI IOleInPlaceSiteEx_OnInPlaceDeactivateEx_Proxy(IOleInPlaceSiteEx *This,WINBOOL fNoRedraw);
   1708   void __RPC_STUB IOleInPlaceSiteEx_OnInPlaceDeactivateEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1709   HRESULT WINAPI IOleInPlaceSiteEx_RequestUIActivate_Proxy(IOleInPlaceSiteEx *This);
   1710   void __RPC_STUB IOleInPlaceSiteEx_RequestUIActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1711 #endif
   1712 
   1713 #ifndef __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__
   1714 #define __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__
   1715   typedef IOleInPlaceSiteWindowless *LPOLEINPLACESITEWINDOWLESS;
   1716 
   1717   typedef enum tagOLEDCFLAGS {
   1718     OLEDC_NODRAW = 0x1,OLEDC_PAINTBKGND = 0x2,OLEDC_OFFSCREEN = 0x4
   1719   } OLEDCFLAGS;
   1720 
   1721   EXTERN_C const IID IID_IOleInPlaceSiteWindowless;
   1722 #if defined(__cplusplus) && !defined(CINTERFACE)
   1723   struct IOleInPlaceSiteWindowless : public IOleInPlaceSiteEx {
   1724   public:
   1725     virtual HRESULT WINAPI CanWindowlessActivate(void) = 0;
   1726     virtual HRESULT WINAPI GetCapture(void) = 0;
   1727     virtual HRESULT WINAPI SetCapture(WINBOOL fCapture) = 0;
   1728     virtual HRESULT WINAPI GetFocus(void) = 0;
   1729     virtual HRESULT WINAPI SetFocus(WINBOOL fFocus) = 0;
   1730     virtual HRESULT WINAPI GetDC(LPCRECT pRect,DWORD grfFlags,HDC *phDC) = 0;
   1731     virtual HRESULT WINAPI ReleaseDC(HDC hDC) = 0;
   1732     virtual HRESULT WINAPI InvalidateRect(LPCRECT pRect,WINBOOL fErase) = 0;
   1733     virtual HRESULT WINAPI InvalidateRgn(HRGN hRGN,WINBOOL fErase) = 0;
   1734     virtual HRESULT WINAPI ScrollRect(INT dx,INT dy,LPCRECT pRectScroll,LPCRECT pRectClip) = 0;
   1735     virtual HRESULT WINAPI AdjustRect(LPRECT prc) = 0;
   1736     virtual HRESULT WINAPI OnDefWindowMessage(UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult) = 0;
   1737   };
   1738 #else
   1739   typedef struct IOleInPlaceSiteWindowlessVtbl {
   1740     BEGIN_INTERFACE
   1741       HRESULT (WINAPI *QueryInterface)(IOleInPlaceSiteWindowless *This,REFIID riid,void **ppvObject);
   1742       ULONG (WINAPI *AddRef)(IOleInPlaceSiteWindowless *This);
   1743       ULONG (WINAPI *Release)(IOleInPlaceSiteWindowless *This);
   1744       HRESULT (WINAPI *GetWindow)(IOleInPlaceSiteWindowless *This,HWND *phwnd);
   1745       HRESULT (WINAPI *ContextSensitiveHelp)(IOleInPlaceSiteWindowless *This,WINBOOL fEnterMode);
   1746       HRESULT (WINAPI *CanInPlaceActivate)(IOleInPlaceSiteWindowless *This);
   1747       HRESULT (WINAPI *OnInPlaceActivate)(IOleInPlaceSiteWindowless *This);
   1748       HRESULT (WINAPI *OnUIActivate)(IOleInPlaceSiteWindowless *This);
   1749       HRESULT (WINAPI *GetWindowContext)(IOleInPlaceSiteWindowless *This,IOleInPlaceFrame **ppFrame,IOleInPlaceUIWindow **ppDoc,LPRECT lprcPosRect,LPRECT lprcClipRect,LPOLEINPLACEFRAMEINFO lpFrameInfo);
   1750       HRESULT (WINAPI *Scroll)(IOleInPlaceSiteWindowless *This,SIZE scrollExtant);
   1751       HRESULT (WINAPI *OnUIDeactivate)(IOleInPlaceSiteWindowless *This,WINBOOL fUndoable);
   1752       HRESULT (WINAPI *OnInPlaceDeactivate)(IOleInPlaceSiteWindowless *This);
   1753       HRESULT (WINAPI *DiscardUndoState)(IOleInPlaceSiteWindowless *This);
   1754       HRESULT (WINAPI *DeactivateAndUndo)(IOleInPlaceSiteWindowless *This);
   1755       HRESULT (WINAPI *OnPosRectChange)(IOleInPlaceSiteWindowless *This,LPCRECT lprcPosRect);
   1756       HRESULT (WINAPI *OnInPlaceActivateEx)(IOleInPlaceSiteWindowless *This,WINBOOL *pfNoRedraw,DWORD dwFlags);
   1757       HRESULT (WINAPI *OnInPlaceDeactivateEx)(IOleInPlaceSiteWindowless *This,WINBOOL fNoRedraw);
   1758       HRESULT (WINAPI *RequestUIActivate)(IOleInPlaceSiteWindowless *This);
   1759       HRESULT (WINAPI *CanWindowlessActivate)(IOleInPlaceSiteWindowless *This);
   1760       HRESULT (WINAPI *GetCapture)(IOleInPlaceSiteWindowless *This);
   1761       HRESULT (WINAPI *SetCapture)(IOleInPlaceSiteWindowless *This,WINBOOL fCapture);
   1762       HRESULT (WINAPI *GetFocus)(IOleInPlaceSiteWindowless *This);
   1763       HRESULT (WINAPI *SetFocus)(IOleInPlaceSiteWindowless *This,WINBOOL fFocus);
   1764       HRESULT (WINAPI *GetDC)(IOleInPlaceSiteWindowless *This,LPCRECT pRect,DWORD grfFlags,HDC *phDC);
   1765       HRESULT (WINAPI *ReleaseDC)(IOleInPlaceSiteWindowless *This,HDC hDC);
   1766       HRESULT (WINAPI *InvalidateRect)(IOleInPlaceSiteWindowless *This,LPCRECT pRect,WINBOOL fErase);
   1767       HRESULT (WINAPI *InvalidateRgn)(IOleInPlaceSiteWindowless *This,HRGN hRGN,WINBOOL fErase);
   1768       HRESULT (WINAPI *ScrollRect)(IOleInPlaceSiteWindowless *This,INT dx,INT dy,LPCRECT pRectScroll,LPCRECT pRectClip);
   1769       HRESULT (WINAPI *AdjustRect)(IOleInPlaceSiteWindowless *This,LPRECT prc);
   1770       HRESULT (WINAPI *OnDefWindowMessage)(IOleInPlaceSiteWindowless *This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult);
   1771     END_INTERFACE
   1772   } IOleInPlaceSiteWindowlessVtbl;
   1773   struct IOleInPlaceSiteWindowless {
   1774     CONST_VTBL struct IOleInPlaceSiteWindowlessVtbl *lpVtbl;
   1775   };
   1776 #ifdef COBJMACROS
   1777 #define IOleInPlaceSiteWindowless_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1778 #define IOleInPlaceSiteWindowless_AddRef(This) (This)->lpVtbl->AddRef(This)
   1779 #define IOleInPlaceSiteWindowless_Release(This) (This)->lpVtbl->Release(This)
   1780 #define IOleInPlaceSiteWindowless_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
   1781 #define IOleInPlaceSiteWindowless_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
   1782 #define IOleInPlaceSiteWindowless_CanInPlaceActivate(This) (This)->lpVtbl->CanInPlaceActivate(This)
   1783 #define IOleInPlaceSiteWindowless_OnInPlaceActivate(This) (This)->lpVtbl->OnInPlaceActivate(This)
   1784 #define IOleInPlaceSiteWindowless_OnUIActivate(This) (This)->lpVtbl->OnUIActivate(This)
   1785 #define IOleInPlaceSiteWindowless_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) (This)->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
   1786 #define IOleInPlaceSiteWindowless_Scroll(This,scrollExtant) (This)->lpVtbl->Scroll(This,scrollExtant)
   1787 #define IOleInPlaceSiteWindowless_OnUIDeactivate(This,fUndoable) (This)->lpVtbl->OnUIDeactivate(This,fUndoable)
   1788 #define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(This) (This)->lpVtbl->OnInPlaceDeactivate(This)
   1789 #define IOleInPlaceSiteWindowless_DiscardUndoState(This) (This)->lpVtbl->DiscardUndoState(This)
   1790 #define IOleInPlaceSiteWindowless_DeactivateAndUndo(This) (This)->lpVtbl->DeactivateAndUndo(This)
   1791 #define IOleInPlaceSiteWindowless_OnPosRectChange(This,lprcPosRect) (This)->lpVtbl->OnPosRectChange(This,lprcPosRect)
   1792 #define IOleInPlaceSiteWindowless_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) (This)->lpVtbl->OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
   1793 #define IOleInPlaceSiteWindowless_OnInPlaceDeactivateEx(This,fNoRedraw) (This)->lpVtbl->OnInPlaceDeactivateEx(This,fNoRedraw)
   1794 #define IOleInPlaceSiteWindowless_RequestUIActivate(This) (This)->lpVtbl->RequestUIActivate(This)
   1795 #define IOleInPlaceSiteWindowless_CanWindowlessActivate(This) (This)->lpVtbl->CanWindowlessActivate(This)
   1796 #define IOleInPlaceSiteWindowless_GetCapture(This) (This)->lpVtbl->GetCapture(This)
   1797 #define IOleInPlaceSiteWindowless_SetCapture(This,fCapture) (This)->lpVtbl->SetCapture(This,fCapture)
   1798 #define IOleInPlaceSiteWindowless_GetFocus(This) (This)->lpVtbl->GetFocus(This)
   1799 #define IOleInPlaceSiteWindowless_SetFocus(This,fFocus) (This)->lpVtbl->SetFocus(This,fFocus)
   1800 #define IOleInPlaceSiteWindowless_GetDC(This,pRect,grfFlags,phDC) (This)->lpVtbl->GetDC(This,pRect,grfFlags,phDC)
   1801 #define IOleInPlaceSiteWindowless_ReleaseDC(This,hDC) (This)->lpVtbl->ReleaseDC(This,hDC)
   1802 #define IOleInPlaceSiteWindowless_InvalidateRect(This,pRect,fErase) (This)->lpVtbl->InvalidateRect(This,pRect,fErase)
   1803 #define IOleInPlaceSiteWindowless_InvalidateRgn(This,hRGN,fErase) (This)->lpVtbl->InvalidateRgn(This,hRGN,fErase)
   1804 #define IOleInPlaceSiteWindowless_ScrollRect(This,dx,dy,pRectScroll,pRectClip) (This)->lpVtbl->ScrollRect(This,dx,dy,pRectScroll,pRectClip)
   1805 #define IOleInPlaceSiteWindowless_AdjustRect(This,prc) (This)->lpVtbl->AdjustRect(This,prc)
   1806 #define IOleInPlaceSiteWindowless_OnDefWindowMessage(This,msg,wParam,lParam,plResult) (This)->lpVtbl->OnDefWindowMessage(This,msg,wParam,lParam,plResult)
   1807 #endif
   1808 #endif
   1809   HRESULT WINAPI IOleInPlaceSiteWindowless_CanWindowlessActivate_Proxy(IOleInPlaceSiteWindowless *This);
   1810   void __RPC_STUB IOleInPlaceSiteWindowless_CanWindowlessActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1811   HRESULT WINAPI IOleInPlaceSiteWindowless_GetCapture_Proxy(IOleInPlaceSiteWindowless *This);
   1812   void __RPC_STUB IOleInPlaceSiteWindowless_GetCapture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1813   HRESULT WINAPI IOleInPlaceSiteWindowless_SetCapture_Proxy(IOleInPlaceSiteWindowless *This,WINBOOL fCapture);
   1814   void __RPC_STUB IOleInPlaceSiteWindowless_SetCapture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1815   HRESULT WINAPI IOleInPlaceSiteWindowless_GetFocus_Proxy(IOleInPlaceSiteWindowless *This);
   1816   void __RPC_STUB IOleInPlaceSiteWindowless_GetFocus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1817   HRESULT WINAPI IOleInPlaceSiteWindowless_SetFocus_Proxy(IOleInPlaceSiteWindowless *This,WINBOOL fFocus);
   1818   void __RPC_STUB IOleInPlaceSiteWindowless_SetFocus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1819   HRESULT WINAPI IOleInPlaceSiteWindowless_GetDC_Proxy(IOleInPlaceSiteWindowless *This,LPCRECT pRect,DWORD grfFlags,HDC *phDC);
   1820   void __RPC_STUB IOleInPlaceSiteWindowless_GetDC_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1821   HRESULT WINAPI IOleInPlaceSiteWindowless_ReleaseDC_Proxy(IOleInPlaceSiteWindowless *This,HDC hDC);
   1822   void __RPC_STUB IOleInPlaceSiteWindowless_ReleaseDC_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1823   HRESULT WINAPI IOleInPlaceSiteWindowless_InvalidateRect_Proxy(IOleInPlaceSiteWindowless *This,LPCRECT pRect,WINBOOL fErase);
   1824   void __RPC_STUB IOleInPlaceSiteWindowless_InvalidateRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1825   HRESULT WINAPI IOleInPlaceSiteWindowless_InvalidateRgn_Proxy(IOleInPlaceSiteWindowless *This,HRGN hRGN,WINBOOL fErase);
   1826   void __RPC_STUB IOleInPlaceSiteWindowless_InvalidateRgn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1827   HRESULT WINAPI IOleInPlaceSiteWindowless_ScrollRect_Proxy(IOleInPlaceSiteWindowless *This,INT dx,INT dy,LPCRECT pRectScroll,LPCRECT pRectClip);
   1828   void __RPC_STUB IOleInPlaceSiteWindowless_ScrollRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1829   HRESULT WINAPI IOleInPlaceSiteWindowless_AdjustRect_Proxy(IOleInPlaceSiteWindowless *This,LPRECT prc);
   1830   void __RPC_STUB IOleInPlaceSiteWindowless_AdjustRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1831   HRESULT WINAPI IOleInPlaceSiteWindowless_OnDefWindowMessage_Proxy(IOleInPlaceSiteWindowless *This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult);
   1832   void __RPC_STUB IOleInPlaceSiteWindowless_OnDefWindowMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1833 #endif
   1834 
   1835 #ifndef __IViewObjectEx_INTERFACE_DEFINED__
   1836 #define __IViewObjectEx_INTERFACE_DEFINED__
   1837   typedef IViewObjectEx *LPVIEWOBJECTEX;
   1838 
   1839   typedef enum tagVIEWSTATUS {
   1840     VIEWSTATUS_OPAQUE = 1,VIEWSTATUS_SOLIDBKGND = 2,VIEWSTATUS_DVASPECTOPAQUE = 4,VIEWSTATUS_DVASPECTTRANSPARENT = 8,VIEWSTATUS_SURFACE = 16,
   1841     VIEWSTATUS_3DSURFACE = 32
   1842   } VIEWSTATUS;
   1843 
   1844   typedef enum tagHITRESULT {
   1845     HITRESULT_OUTSIDE = 0,HITRESULT_TRANSPARENT = 1,HITRESULT_CLOSE = 2,HITRESULT_HIT = 3
   1846   } HITRESULT;
   1847 
   1848   typedef enum tagDVASPECT2 {
   1849     DVASPECT_OPAQUE = 16,DVASPECT_TRANSPARENT = 32
   1850   } DVASPECT2;
   1851 
   1852   typedef struct tagExtentInfo {
   1853     ULONG cb;
   1854     DWORD dwExtentMode;
   1855     SIZEL sizelProposed;
   1856   } DVEXTENTINFO;
   1857 
   1858   typedef enum tagExtentMode {
   1859     DVEXTENT_CONTENT = 0,DVEXTENT_INTEGRAL = DVEXTENT_CONTENT + 1
   1860   } DVEXTENTMODE;
   1861 
   1862   typedef enum tagAspectInfoFlag {
   1863     DVASPECTINFOFLAG_CANOPTIMIZE = 1
   1864   } DVASPECTINFOFLAG;
   1865 
   1866   typedef struct tagAspectInfo {
   1867     ULONG cb;
   1868     DWORD dwFlags;
   1869   } DVASPECTINFO;
   1870 
   1871   EXTERN_C const IID IID_IViewObjectEx;
   1872 #if defined(__cplusplus) && !defined(CINTERFACE)
   1873   struct IViewObjectEx : public IViewObject2 {
   1874   public:
   1875     virtual HRESULT WINAPI GetRect(DWORD dwAspect,LPRECTL pRect) = 0;
   1876     virtual HRESULT WINAPI GetViewStatus(DWORD *pdwStatus) = 0;
   1877     virtual HRESULT WINAPI QueryHitPoint(DWORD dwAspect,LPCRECT pRectBounds,POINT ptlLoc,LONG lCloseHint,DWORD *pHitResult) = 0;
   1878     virtual HRESULT WINAPI QueryHitRect(DWORD dwAspect,LPCRECT pRectBounds,LPCRECT pRectLoc,LONG lCloseHint,DWORD *pHitResult) = 0;
   1879     virtual HRESULT WINAPI GetNaturalExtent(DWORD dwAspect,LONG lindex,DVTARGETDEVICE *ptd,HDC hicTargetDev,DVEXTENTINFO *pExtentInfo,LPSIZEL pSizel) = 0;
   1880   };
   1881 #else
   1882   typedef struct IViewObjectExVtbl {
   1883     BEGIN_INTERFACE
   1884       HRESULT (WINAPI *QueryInterface)(IViewObjectEx *This,REFIID riid,void **ppvObject);
   1885       ULONG (WINAPI *AddRef)(IViewObjectEx *This);
   1886       ULONG (WINAPI *Release)(IViewObjectEx *This);
   1887       HRESULT (WINAPI *Draw)(IViewObjectEx *This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hdcTargetDev,HDC hdcDraw,LPCRECTL lprcBounds,LPCRECTL lprcWBounds,WINBOOL (WINAPI *pfnContinue)(ULONG_PTR dwContinue),ULONG_PTR dwContinue);
   1888       HRESULT (WINAPI *GetColorSet)(IViewObjectEx *This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hicTargetDev,LOGPALETTE **ppColorSet);
   1889       HRESULT (WINAPI *Freeze)(IViewObjectEx *This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DWORD *pdwFreeze);
   1890       HRESULT (WINAPI *Unfreeze)(IViewObjectEx *This,DWORD dwFreeze);
   1891       HRESULT (WINAPI *SetAdvise)(IViewObjectEx *This,DWORD aspects,DWORD advf,IAdviseSink *pAdvSink);
   1892       HRESULT (WINAPI *GetAdvise)(IViewObjectEx *This,DWORD *pAspects,DWORD *pAdvf,IAdviseSink **ppAdvSink);
   1893       HRESULT (WINAPI *GetExtent)(IViewObjectEx *This,DWORD dwDrawAspect,LONG lindex,DVTARGETDEVICE *ptd,LPSIZEL lpsizel);
   1894       HRESULT (WINAPI *GetRect)(IViewObjectEx *This,DWORD dwAspect,LPRECTL pRect);
   1895       HRESULT (WINAPI *GetViewStatus)(IViewObjectEx *This,DWORD *pdwStatus);
   1896       HRESULT (WINAPI *QueryHitPoint)(IViewObjectEx *This,DWORD dwAspect,LPCRECT pRectBounds,POINT ptlLoc,LONG lCloseHint,DWORD *pHitResult);
   1897       HRESULT (WINAPI *QueryHitRect)(IViewObjectEx *This,DWORD dwAspect,LPCRECT pRectBounds,LPCRECT pRectLoc,LONG lCloseHint,DWORD *pHitResult);
   1898       HRESULT (WINAPI *GetNaturalExtent)(IViewObjectEx *This,DWORD dwAspect,LONG lindex,DVTARGETDEVICE *ptd,HDC hicTargetDev,DVEXTENTINFO *pExtentInfo,LPSIZEL pSizel);
   1899     END_INTERFACE
   1900   } IViewObjectExVtbl;
   1901   struct IViewObjectEx {
   1902     CONST_VTBL struct IViewObjectExVtbl *lpVtbl;
   1903   };
   1904 #ifdef COBJMACROS
   1905 #define IViewObjectEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1906 #define IViewObjectEx_AddRef(This) (This)->lpVtbl->AddRef(This)
   1907 #define IViewObjectEx_Release(This) (This)->lpVtbl->Release(This)
   1908 #define IViewObjectEx_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) (This)->lpVtbl->Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
   1909 #define IViewObjectEx_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) (This)->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
   1910 #define IViewObjectEx_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) (This)->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
   1911 #define IViewObjectEx_Unfreeze(This,dwFreeze) (This)->lpVtbl->Unfreeze(This,dwFreeze)
   1912 #define IViewObjectEx_SetAdvise(This,aspects,advf,pAdvSink) (This)->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink)
   1913 #define IViewObjectEx_GetAdvise(This,pAspects,pAdvf,ppAdvSink) (This)->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink)
   1914 #define IViewObjectEx_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) (This)->lpVtbl->GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)
   1915 #define IViewObjectEx_GetRect(This,dwAspect,pRect) (This)->lpVtbl->GetRect(This,dwAspect,pRect)
   1916 #define IViewObjectEx_GetViewStatus(This,pdwStatus) (This)->lpVtbl->GetViewStatus(This,pdwStatus)
   1917 #define IViewObjectEx_QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult) (This)->lpVtbl->QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult)
   1918 #define IViewObjectEx_QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult) (This)->lpVtbl->QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult)
   1919 #define IViewObjectEx_GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel) (This)->lpVtbl->GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel)
   1920 #endif
   1921 #endif
   1922   HRESULT WINAPI IViewObjectEx_GetRect_Proxy(IViewObjectEx *This,DWORD dwAspect,LPRECTL pRect);
   1923   void __RPC_STUB IViewObjectEx_GetRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1924   HRESULT WINAPI IViewObjectEx_GetViewStatus_Proxy(IViewObjectEx *This,DWORD *pdwStatus);
   1925   void __RPC_STUB IViewObjectEx_GetViewStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1926   HRESULT WINAPI IViewObjectEx_QueryHitPoint_Proxy(IViewObjectEx *This,DWORD dwAspect,LPCRECT pRectBounds,POINT ptlLoc,LONG lCloseHint,DWORD *pHitResult);
   1927   void __RPC_STUB IViewObjectEx_QueryHitPoint_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1928   HRESULT WINAPI IViewObjectEx_QueryHitRect_Proxy(IViewObjectEx *This,DWORD dwAspect,LPCRECT pRectBounds,LPCRECT pRectLoc,LONG lCloseHint,DWORD *pHitResult);
   1929   void __RPC_STUB IViewObjectEx_QueryHitRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1930   HRESULT WINAPI IViewObjectEx_GetNaturalExtent_Proxy(IViewObjectEx *This,DWORD dwAspect,LONG lindex,DVTARGETDEVICE *ptd,HDC hicTargetDev,DVEXTENTINFO *pExtentInfo,LPSIZEL pSizel);
   1931   void __RPC_STUB IViewObjectEx_GetNaturalExtent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1932 #endif
   1933 
   1934 #ifndef __IOleUndoUnit_INTERFACE_DEFINED__
   1935 #define __IOleUndoUnit_INTERFACE_DEFINED__
   1936   typedef IOleUndoUnit *LPOLEUNDOUNIT;
   1937 
   1938   EXTERN_C const IID IID_IOleUndoUnit;
   1939 #if defined(__cplusplus) && !defined(CINTERFACE)
   1940   struct IOleUndoUnit : public IUnknown {
   1941   public:
   1942     virtual HRESULT WINAPI Do(IOleUndoManager *pUndoManager) = 0;
   1943     virtual HRESULT WINAPI GetDescription(BSTR *pBstr) = 0;
   1944     virtual HRESULT WINAPI GetUnitType(CLSID *pClsid,LONG *plID) = 0;
   1945     virtual HRESULT WINAPI OnNextAdd(void) = 0;
   1946   };
   1947 #else
   1948   typedef struct IOleUndoUnitVtbl {
   1949     BEGIN_INTERFACE
   1950       HRESULT (WINAPI *QueryInterface)(IOleUndoUnit *This,REFIID riid,void **ppvObject);
   1951       ULONG (WINAPI *AddRef)(IOleUndoUnit *This);
   1952       ULONG (WINAPI *Release)(IOleUndoUnit *This);
   1953       HRESULT (WINAPI *Do)(IOleUndoUnit *This,IOleUndoManager *pUndoManager);
   1954       HRESULT (WINAPI *GetDescription)(IOleUndoUnit *This,BSTR *pBstr);
   1955       HRESULT (WINAPI *GetUnitType)(IOleUndoUnit *This,CLSID *pClsid,LONG *plID);
   1956       HRESULT (WINAPI *OnNextAdd)(IOleUndoUnit *This);
   1957     END_INTERFACE
   1958   } IOleUndoUnitVtbl;
   1959   struct IOleUndoUnit {
   1960     CONST_VTBL struct IOleUndoUnitVtbl *lpVtbl;
   1961   };
   1962 #ifdef COBJMACROS
   1963 #define IOleUndoUnit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1964 #define IOleUndoUnit_AddRef(This) (This)->lpVtbl->AddRef(This)
   1965 #define IOleUndoUnit_Release(This) (This)->lpVtbl->Release(This)
   1966 #define IOleUndoUnit_Do(This,pUndoManager) (This)->lpVtbl->Do(This,pUndoManager)
   1967 #define IOleUndoUnit_GetDescription(This,pBstr) (This)->lpVtbl->GetDescription(This,pBstr)
   1968 #define IOleUndoUnit_GetUnitType(This,pClsid,plID) (This)->lpVtbl->GetUnitType(This,pClsid,plID)
   1969 #define IOleUndoUnit_OnNextAdd(This) (This)->lpVtbl->OnNextAdd(This)
   1970 #endif
   1971 #endif
   1972   HRESULT WINAPI IOleUndoUnit_Do_Proxy(IOleUndoUnit *This,IOleUndoManager *pUndoManager);
   1973   void __RPC_STUB IOleUndoUnit_Do_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1974   HRESULT WINAPI IOleUndoUnit_GetDescription_Proxy(IOleUndoUnit *This,BSTR *pBstr);
   1975   void __RPC_STUB IOleUndoUnit_GetDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1976   HRESULT WINAPI IOleUndoUnit_GetUnitType_Proxy(IOleUndoUnit *This,CLSID *pClsid,LONG *plID);
   1977   void __RPC_STUB IOleUndoUnit_GetUnitType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1978   HRESULT WINAPI IOleUndoUnit_OnNextAdd_Proxy(IOleUndoUnit *This);
   1979   void __RPC_STUB IOleUndoUnit_OnNextAdd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1980 #endif
   1981 
   1982 #ifndef __IOleParentUndoUnit_INTERFACE_DEFINED__
   1983 #define __IOleParentUndoUnit_INTERFACE_DEFINED__
   1984   typedef IOleParentUndoUnit *LPOLEPARENTUNDOUNIT;
   1985 
   1986   EXTERN_C const IID IID_IOleParentUndoUnit;
   1987 #if defined(__cplusplus) && !defined(CINTERFACE)
   1988   struct IOleParentUndoUnit : public IOleUndoUnit {
   1989   public:
   1990     virtual HRESULT WINAPI Open(IOleParentUndoUnit *pPUU) = 0;
   1991     virtual HRESULT WINAPI Close(IOleParentUndoUnit *pPUU,WINBOOL fCommit) = 0;
   1992     virtual HRESULT WINAPI Add(IOleUndoUnit *pUU) = 0;
   1993     virtual HRESULT WINAPI FindUnit(IOleUndoUnit *pUU) = 0;
   1994     virtual HRESULT WINAPI GetParentState(DWORD *pdwState) = 0;
   1995   };
   1996 #else
   1997   typedef struct IOleParentUndoUnitVtbl {
   1998     BEGIN_INTERFACE
   1999       HRESULT (WINAPI *QueryInterface)(IOleParentUndoUnit *This,REFIID riid,void **ppvObject);
   2000       ULONG (WINAPI *AddRef)(IOleParentUndoUnit *This);
   2001       ULONG (WINAPI *Release)(IOleParentUndoUnit *This);
   2002       HRESULT (WINAPI *Do)(IOleParentUndoUnit *This,IOleUndoManager *pUndoManager);
   2003       HRESULT (WINAPI *GetDescription)(IOleParentUndoUnit *This,BSTR *pBstr);
   2004       HRESULT (WINAPI *GetUnitType)(IOleParentUndoUnit *This,CLSID *pClsid,LONG *plID);
   2005       HRESULT (WINAPI *OnNextAdd)(IOleParentUndoUnit *This);
   2006       HRESULT (WINAPI *Open)(IOleParentUndoUnit *This,IOleParentUndoUnit *pPUU);
   2007       HRESULT (WINAPI *Close)(IOleParentUndoUnit *This,IOleParentUndoUnit *pPUU,WINBOOL fCommit);
   2008       HRESULT (WINAPI *Add)(IOleParentUndoUnit *This,IOleUndoUnit *pUU);
   2009       HRESULT (WINAPI *FindUnit)(IOleParentUndoUnit *This,IOleUndoUnit *pUU);
   2010       HRESULT (WINAPI *GetParentState)(IOleParentUndoUnit *This,DWORD *pdwState);
   2011     END_INTERFACE
   2012   } IOleParentUndoUnitVtbl;
   2013   struct IOleParentUndoUnit {
   2014     CONST_VTBL struct IOleParentUndoUnitVtbl *lpVtbl;
   2015   };
   2016 #ifdef COBJMACROS
   2017 #define IOleParentUndoUnit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2018 #define IOleParentUndoUnit_AddRef(This) (This)->lpVtbl->AddRef(This)
   2019 #define IOleParentUndoUnit_Release(This) (This)->lpVtbl->Release(This)
   2020 #define IOleParentUndoUnit_Do(This,pUndoManager) (This)->lpVtbl->Do(This,pUndoManager)
   2021 #define IOleParentUndoUnit_GetDescription(This,pBstr) (This)->lpVtbl->GetDescription(This,pBstr)
   2022 #define IOleParentUndoUnit_GetUnitType(This,pClsid,plID) (This)->lpVtbl->GetUnitType(This,pClsid,plID)
   2023 #define IOleParentUndoUnit_OnNextAdd(This) (This)->lpVtbl->OnNextAdd(This)
   2024 #define IOleParentUndoUnit_Open(This,pPUU) (This)->lpVtbl->Open(This,pPUU)
   2025 #define IOleParentUndoUnit_Close(This,pPUU,fCommit) (This)->lpVtbl->Close(This,pPUU,fCommit)
   2026 #define IOleParentUndoUnit_Add(This,pUU) (This)->lpVtbl->Add(This,pUU)
   2027 #define IOleParentUndoUnit_FindUnit(This,pUU) (This)->lpVtbl->FindUnit(This,pUU)
   2028 #define IOleParentUndoUnit_GetParentState(This,pdwState) (This)->lpVtbl->GetParentState(This,pdwState)
   2029 #endif
   2030 #endif
   2031   HRESULT WINAPI IOleParentUndoUnit_Open_Proxy(IOleParentUndoUnit *This,IOleParentUndoUnit *pPUU);
   2032   void __RPC_STUB IOleParentUndoUnit_Open_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2033   HRESULT WINAPI IOleParentUndoUnit_Close_Proxy(IOleParentUndoUnit *This,IOleParentUndoUnit *pPUU,WINBOOL fCommit);
   2034   void __RPC_STUB IOleParentUndoUnit_Close_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2035   HRESULT WINAPI IOleParentUndoUnit_Add_Proxy(IOleParentUndoUnit *This,IOleUndoUnit *pUU);
   2036   void __RPC_STUB IOleParentUndoUnit_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2037   HRESULT WINAPI IOleParentUndoUnit_FindUnit_Proxy(IOleParentUndoUnit *This,IOleUndoUnit *pUU);
   2038   void __RPC_STUB IOleParentUndoUnit_FindUnit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2039   HRESULT WINAPI IOleParentUndoUnit_GetParentState_Proxy(IOleParentUndoUnit *This,DWORD *pdwState);
   2040   void __RPC_STUB IOleParentUndoUnit_GetParentState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2041 #endif
   2042 
   2043 #ifndef __IEnumOleUndoUnits_INTERFACE_DEFINED__
   2044 #define __IEnumOleUndoUnits_INTERFACE_DEFINED__
   2045   typedef IEnumOleUndoUnits *LPENUMOLEUNDOUNITS;
   2046 
   2047   EXTERN_C const IID IID_IEnumOleUndoUnits;
   2048 #if defined(__cplusplus) && !defined(CINTERFACE)
   2049   struct IEnumOleUndoUnits : public IUnknown {
   2050   public:
   2051     virtual HRESULT WINAPI Next(ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched) = 0;
   2052     virtual HRESULT WINAPI Skip(ULONG cElt) = 0;
   2053     virtual HRESULT WINAPI Reset(void) = 0;
   2054     virtual HRESULT WINAPI Clone(IEnumOleUndoUnits **ppEnum) = 0;
   2055   };
   2056 #else
   2057   typedef struct IEnumOleUndoUnitsVtbl {
   2058     BEGIN_INTERFACE
   2059       HRESULT (WINAPI *QueryInterface)(IEnumOleUndoUnits *This,REFIID riid,void **ppvObject);
   2060       ULONG (WINAPI *AddRef)(IEnumOleUndoUnits *This);
   2061       ULONG (WINAPI *Release)(IEnumOleUndoUnits *This);
   2062       HRESULT (WINAPI *Next)(IEnumOleUndoUnits *This,ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched);
   2063       HRESULT (WINAPI *Skip)(IEnumOleUndoUnits *This,ULONG cElt);
   2064       HRESULT (WINAPI *Reset)(IEnumOleUndoUnits *This);
   2065       HRESULT (WINAPI *Clone)(IEnumOleUndoUnits *This,IEnumOleUndoUnits **ppEnum);
   2066     END_INTERFACE
   2067   } IEnumOleUndoUnitsVtbl;
   2068   struct IEnumOleUndoUnits {
   2069     CONST_VTBL struct IEnumOleUndoUnitsVtbl *lpVtbl;
   2070   };
   2071 #ifdef COBJMACROS
   2072 #define IEnumOleUndoUnits_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2073 #define IEnumOleUndoUnits_AddRef(This) (This)->lpVtbl->AddRef(This)
   2074 #define IEnumOleUndoUnits_Release(This) (This)->lpVtbl->Release(This)
   2075 #define IEnumOleUndoUnits_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched)
   2076 #define IEnumOleUndoUnits_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt)
   2077 #define IEnumOleUndoUnits_Reset(This) (This)->lpVtbl->Reset(This)
   2078 #define IEnumOleUndoUnits_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
   2079 #endif
   2080 #endif
   2081   HRESULT WINAPI IEnumOleUndoUnits_RemoteNext_Proxy(IEnumOleUndoUnits *This,ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched);
   2082   void __RPC_STUB IEnumOleUndoUnits_RemoteNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2083   HRESULT WINAPI IEnumOleUndoUnits_Skip_Proxy(IEnumOleUndoUnits *This,ULONG cElt);
   2084   void __RPC_STUB IEnumOleUndoUnits_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2085   HRESULT WINAPI IEnumOleUndoUnits_Reset_Proxy(IEnumOleUndoUnits *This);
   2086   void __RPC_STUB IEnumOleUndoUnits_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2087   HRESULT WINAPI IEnumOleUndoUnits_Clone_Proxy(IEnumOleUndoUnits *This,IEnumOleUndoUnits **ppEnum);
   2088   void __RPC_STUB IEnumOleUndoUnits_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2089 #endif
   2090 
   2091 #ifndef __IOleUndoManager_INTERFACE_DEFINED__
   2092 #define __IOleUndoManager_INTERFACE_DEFINED__
   2093 #define SID_SOleUndoManager IID_IOleUndoManager
   2094   typedef IOleUndoManager *LPOLEUNDOMANAGER;
   2095 
   2096   EXTERN_C const IID IID_IOleUndoManager;
   2097 #if defined(__cplusplus) && !defined(CINTERFACE)
   2098   struct IOleUndoManager : public IUnknown {
   2099   public:
   2100     virtual HRESULT WINAPI Open(IOleParentUndoUnit *pPUU) = 0;
   2101     virtual HRESULT WINAPI Close(IOleParentUndoUnit *pPUU,WINBOOL fCommit) = 0;
   2102     virtual HRESULT WINAPI Add(IOleUndoUnit *pUU) = 0;
   2103     virtual HRESULT WINAPI GetOpenParentState(DWORD *pdwState) = 0;
   2104     virtual HRESULT WINAPI DiscardFrom(IOleUndoUnit *pUU) = 0;
   2105     virtual HRESULT WINAPI UndoTo(IOleUndoUnit *pUU) = 0;
   2106     virtual HRESULT WINAPI RedoTo(IOleUndoUnit *pUU) = 0;
   2107     virtual HRESULT WINAPI EnumUndoable(IEnumOleUndoUnits **ppEnum) = 0;
   2108     virtual HRESULT WINAPI EnumRedoable(IEnumOleUndoUnits **ppEnum) = 0;
   2109     virtual HRESULT WINAPI GetLastUndoDescription(BSTR *pBstr) = 0;
   2110     virtual HRESULT WINAPI GetLastRedoDescription(BSTR *pBstr) = 0;
   2111     virtual HRESULT WINAPI Enable(WINBOOL fEnable) = 0;
   2112   };
   2113 #else
   2114   typedef struct IOleUndoManagerVtbl {
   2115     BEGIN_INTERFACE
   2116       HRESULT (WINAPI *QueryInterface)(IOleUndoManager *This,REFIID riid,void **ppvObject);
   2117       ULONG (WINAPI *AddRef)(IOleUndoManager *This);
   2118       ULONG (WINAPI *Release)(IOleUndoManager *This);
   2119       HRESULT (WINAPI *Open)(IOleUndoManager *This,IOleParentUndoUnit *pPUU);
   2120       HRESULT (WINAPI *Close)(IOleUndoManager *This,IOleParentUndoUnit *pPUU,WINBOOL fCommit);
   2121       HRESULT (WINAPI *Add)(IOleUndoManager *This,IOleUndoUnit *pUU);
   2122       HRESULT (WINAPI *GetOpenParentState)(IOleUndoManager *This,DWORD *pdwState);
   2123       HRESULT (WINAPI *DiscardFrom)(IOleUndoManager *This,IOleUndoUnit *pUU);
   2124       HRESULT (WINAPI *UndoTo)(IOleUndoManager *This,IOleUndoUnit *pUU);
   2125       HRESULT (WINAPI *RedoTo)(IOleUndoManager *This,IOleUndoUnit *pUU);
   2126       HRESULT (WINAPI *EnumUndoable)(IOleUndoManager *This,IEnumOleUndoUnits **ppEnum);
   2127       HRESULT (WINAPI *EnumRedoable)(IOleUndoManager *This,IEnumOleUndoUnits **ppEnum);
   2128       HRESULT (WINAPI *GetLastUndoDescription)(IOleUndoManager *This,BSTR *pBstr);
   2129       HRESULT (WINAPI *GetLastRedoDescription)(IOleUndoManager *This,BSTR *pBstr);
   2130       HRESULT (WINAPI *Enable)(IOleUndoManager *This,WINBOOL fEnable);
   2131     END_INTERFACE
   2132   } IOleUndoManagerVtbl;
   2133   struct IOleUndoManager {
   2134     CONST_VTBL struct IOleUndoManagerVtbl *lpVtbl;
   2135   };
   2136 #ifdef COBJMACROS
   2137 #define IOleUndoManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2138 #define IOleUndoManager_AddRef(This) (This)->lpVtbl->AddRef(This)
   2139 #define IOleUndoManager_Release(This) (This)->lpVtbl->Release(This)
   2140 #define IOleUndoManager_Open(This,pPUU) (This)->lpVtbl->Open(This,pPUU)
   2141 #define IOleUndoManager_Close(This,pPUU,fCommit) (This)->lpVtbl->Close(This,pPUU,fCommit)
   2142 #define IOleUndoManager_Add(This,pUU) (This)->lpVtbl->Add(This,pUU)
   2143 #define IOleUndoManager_GetOpenParentState(This,pdwState) (This)->lpVtbl->GetOpenParentState(This,pdwState)
   2144 #define IOleUndoManager_DiscardFrom(This,pUU) (This)->lpVtbl->DiscardFrom(This,pUU)
   2145 #define IOleUndoManager_UndoTo(This,pUU) (This)->lpVtbl->UndoTo(This,pUU)
   2146 #define IOleUndoManager_RedoTo(This,pUU) (This)->lpVtbl->RedoTo(This,pUU)
   2147 #define IOleUndoManager_EnumUndoable(This,ppEnum) (This)->lpVtbl->EnumUndoable(This,ppEnum)
   2148 #define IOleUndoManager_EnumRedoable(This,ppEnum) (This)->lpVtbl->EnumRedoable(This,ppEnum)
   2149 #define IOleUndoManager_GetLastUndoDescription(This,pBstr) (This)->lpVtbl->GetLastUndoDescription(This,pBstr)
   2150 #define IOleUndoManager_GetLastRedoDescription(This,pBstr) (This)->lpVtbl->GetLastRedoDescription(This,pBstr)
   2151 #define IOleUndoManager_Enable(This,fEnable) (This)->lpVtbl->Enable(This,fEnable)
   2152 #endif
   2153 #endif
   2154   HRESULT WINAPI IOleUndoManager_Open_Proxy(IOleUndoManager *This,IOleParentUndoUnit *pPUU);
   2155   void __RPC_STUB IOleUndoManager_Open_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2156   HRESULT WINAPI IOleUndoManager_Close_Proxy(IOleUndoManager *This,IOleParentUndoUnit *pPUU,WINBOOL fCommit);
   2157   void __RPC_STUB IOleUndoManager_Close_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2158   HRESULT WINAPI IOleUndoManager_Add_Proxy(IOleUndoManager *This,IOleUndoUnit *pUU);
   2159   void __RPC_STUB IOleUndoManager_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2160   HRESULT WINAPI IOleUndoManager_GetOpenParentState_Proxy(IOleUndoManager *This,DWORD *pdwState);
   2161   void __RPC_STUB IOleUndoManager_GetOpenParentState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2162   HRESULT WINAPI IOleUndoManager_DiscardFrom_Proxy(IOleUndoManager *This,IOleUndoUnit *pUU);
   2163   void __RPC_STUB IOleUndoManager_DiscardFrom_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2164   HRESULT WINAPI IOleUndoManager_UndoTo_Proxy(IOleUndoManager *This,IOleUndoUnit *pUU);
   2165   void __RPC_STUB IOleUndoManager_UndoTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2166   HRESULT WINAPI IOleUndoManager_RedoTo_Proxy(IOleUndoManager *This,IOleUndoUnit *pUU);
   2167   void __RPC_STUB IOleUndoManager_RedoTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2168   HRESULT WINAPI IOleUndoManager_EnumUndoable_Proxy(IOleUndoManager *This,IEnumOleUndoUnits **ppEnum);
   2169   void __RPC_STUB IOleUndoManager_EnumUndoable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2170   HRESULT WINAPI IOleUndoManager_EnumRedoable_Proxy(IOleUndoManager *This,IEnumOleUndoUnits **ppEnum);
   2171   void __RPC_STUB IOleUndoManager_EnumRedoable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2172   HRESULT WINAPI IOleUndoManager_GetLastUndoDescription_Proxy(IOleUndoManager *This,BSTR *pBstr);
   2173   void __RPC_STUB IOleUndoManager_GetLastUndoDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2174   HRESULT WINAPI IOleUndoManager_GetLastRedoDescription_Proxy(IOleUndoManager *This,BSTR *pBstr);
   2175   void __RPC_STUB IOleUndoManager_GetLastRedoDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2176   HRESULT WINAPI IOleUndoManager_Enable_Proxy(IOleUndoManager *This,WINBOOL fEnable);
   2177   void __RPC_STUB IOleUndoManager_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2178 #endif
   2179 
   2180 #ifndef __IPointerInactive_INTERFACE_DEFINED__
   2181 #define __IPointerInactive_INTERFACE_DEFINED__
   2182   typedef IPointerInactive *LPPOINTERINACTIVE;
   2183 
   2184   typedef enum tagPOINTERINACTIVE {
   2185     POINTERINACTIVE_ACTIVATEONENTRY = 1,POINTERINACTIVE_DEACTIVATEONLEAVE = 2,POINTERINACTIVE_ACTIVATEONDRAG = 4
   2186   } POINTERINACTIVE;
   2187 
   2188   EXTERN_C const IID IID_IPointerInactive;
   2189 #if defined(__cplusplus) && !defined(CINTERFACE)
   2190   struct IPointerInactive : public IUnknown {
   2191   public:
   2192     virtual HRESULT WINAPI GetActivationPolicy(DWORD *pdwPolicy) = 0;
   2193     virtual HRESULT WINAPI OnInactiveMouseMove(LPCRECT pRectBounds,LONG x,LONG y,DWORD grfKeyState) = 0;
   2194     virtual HRESULT WINAPI OnInactiveSetCursor(LPCRECT pRectBounds,LONG x,LONG y,DWORD dwMouseMsg,WINBOOL fSetAlways) = 0;
   2195   };
   2196 #else
   2197   typedef struct IPointerInactiveVtbl {
   2198     BEGIN_INTERFACE
   2199       HRESULT (WINAPI *QueryInterface)(IPointerInactive *This,REFIID riid,void **ppvObject);
   2200       ULONG (WINAPI *AddRef)(IPointerInactive *This);
   2201       ULONG (WINAPI *Release)(IPointerInactive *This);
   2202       HRESULT (WINAPI *GetActivationPolicy)(IPointerInactive *This,DWORD *pdwPolicy);
   2203       HRESULT (WINAPI *OnInactiveMouseMove)(IPointerInactive *This,LPCRECT pRectBounds,LONG x,LONG y,DWORD grfKeyState);
   2204       HRESULT (WINAPI *OnInactiveSetCursor)(IPointerInactive *This,LPCRECT pRectBounds,LONG x,LONG y,DWORD dwMouseMsg,WINBOOL fSetAlways);
   2205     END_INTERFACE
   2206   } IPointerInactiveVtbl;
   2207   struct IPointerInactive {
   2208     CONST_VTBL struct IPointerInactiveVtbl *lpVtbl;
   2209   };
   2210 #ifdef COBJMACROS
   2211 #define IPointerInactive_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2212 #define IPointerInactive_AddRef(This) (This)->lpVtbl->AddRef(This)
   2213 #define IPointerInactive_Release(This) (This)->lpVtbl->Release(This)
   2214 #define IPointerInactive_GetActivationPolicy(This,pdwPolicy) (This)->lpVtbl->GetActivationPolicy(This,pdwPolicy)
   2215 #define IPointerInactive_OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState) (This)->lpVtbl->OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState)
   2216 #define IPointerInactive_OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways) (This)->lpVtbl->OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways)
   2217 #endif
   2218 #endif
   2219   HRESULT WINAPI IPointerInactive_GetActivationPolicy_Proxy(IPointerInactive *This,DWORD *pdwPolicy);
   2220   void __RPC_STUB IPointerInactive_GetActivationPolicy_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2221   HRESULT WINAPI IPointerInactive_OnInactiveMouseMove_Proxy(IPointerInactive *This,LPCRECT pRectBounds,LONG x,LONG y,DWORD grfKeyState);
   2222   void __RPC_STUB IPointerInactive_OnInactiveMouseMove_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2223   HRESULT WINAPI IPointerInactive_OnInactiveSetCursor_Proxy(IPointerInactive *This,LPCRECT pRectBounds,LONG x,LONG y,DWORD dwMouseMsg,WINBOOL fSetAlways);
   2224   void __RPC_STUB IPointerInactive_OnInactiveSetCursor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2225 #endif
   2226 
   2227 #ifndef __IObjectWithSite_INTERFACE_DEFINED__
   2228 #define __IObjectWithSite_INTERFACE_DEFINED__
   2229   typedef IObjectWithSite *LPOBJECTWITHSITE;
   2230 
   2231   EXTERN_C const IID IID_IObjectWithSite;
   2232 #if defined(__cplusplus) && !defined(CINTERFACE)
   2233   struct IObjectWithSite : public IUnknown {
   2234   public:
   2235     virtual HRESULT WINAPI SetSite(IUnknown *pUnkSite) = 0;
   2236     virtual HRESULT WINAPI GetSite(REFIID riid,void **ppvSite) = 0;
   2237   };
   2238 #else
   2239   typedef struct IObjectWithSiteVtbl {
   2240     BEGIN_INTERFACE
   2241       HRESULT (WINAPI *QueryInterface)(IObjectWithSite *This,REFIID riid,void **ppvObject);
   2242       ULONG (WINAPI *AddRef)(IObjectWithSite *This);
   2243       ULONG (WINAPI *Release)(IObjectWithSite *This);
   2244       HRESULT (WINAPI *SetSite)(IObjectWithSite *This,IUnknown *pUnkSite);
   2245       HRESULT (WINAPI *GetSite)(IObjectWithSite *This,REFIID riid,void **ppvSite);
   2246     END_INTERFACE
   2247   } IObjectWithSiteVtbl;
   2248   struct IObjectWithSite {
   2249     CONST_VTBL struct IObjectWithSiteVtbl *lpVtbl;
   2250   };
   2251 #ifdef COBJMACROS
   2252 #define IObjectWithSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2253 #define IObjectWithSite_AddRef(This) (This)->lpVtbl->AddRef(This)
   2254 #define IObjectWithSite_Release(This) (This)->lpVtbl->Release(This)
   2255 #define IObjectWithSite_SetSite(This,pUnkSite) (This)->lpVtbl->SetSite(This,pUnkSite)
   2256 #define IObjectWithSite_GetSite(This,riid,ppvSite) (This)->lpVtbl->GetSite(This,riid,ppvSite)
   2257 #endif
   2258 #endif
   2259   HRESULT WINAPI IObjectWithSite_SetSite_Proxy(IObjectWithSite *This,IUnknown *pUnkSite);
   2260   void __RPC_STUB IObjectWithSite_SetSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2261   HRESULT WINAPI IObjectWithSite_GetSite_Proxy(IObjectWithSite *This,REFIID riid,void **ppvSite);
   2262   void __RPC_STUB IObjectWithSite_GetSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2263 #endif
   2264 
   2265 #ifndef __IPerPropertyBrowsing_INTERFACE_DEFINED__
   2266 #define __IPerPropertyBrowsing_INTERFACE_DEFINED__
   2267   typedef IPerPropertyBrowsing *LPPERPROPERTYBROWSING;
   2268 
   2269   typedef struct tagCALPOLESTR {
   2270     ULONG cElems;
   2271     LPOLESTR *pElems;
   2272   } CALPOLESTR;
   2273 
   2274   typedef struct tagCALPOLESTR *LPCALPOLESTR;
   2275 
   2276   typedef struct tagCADWORD {
   2277     ULONG cElems;
   2278     DWORD *pElems;
   2279   } CADWORD;
   2280 
   2281   typedef struct tagCADWORD *LPCADWORD;
   2282 
   2283   EXTERN_C const IID IID_IPerPropertyBrowsing;
   2284 #if defined(__cplusplus) && !defined(CINTERFACE)
   2285   struct IPerPropertyBrowsing : public IUnknown {
   2286   public:
   2287     virtual HRESULT WINAPI GetDisplayString(DISPID dispID,BSTR *pBstr) = 0;
   2288     virtual HRESULT WINAPI MapPropertyToPage(DISPID dispID,CLSID *pClsid) = 0;
   2289     virtual HRESULT WINAPI GetPredefinedStrings(DISPID dispID,CALPOLESTR *pCaStringsOut,CADWORD *pCaCookiesOut) = 0;
   2290     virtual HRESULT WINAPI GetPredefinedValue(DISPID dispID,DWORD dwCookie,VARIANT *pVarOut) = 0;
   2291   };
   2292 #else
   2293   typedef struct IPerPropertyBrowsingVtbl {
   2294     BEGIN_INTERFACE
   2295       HRESULT (WINAPI *QueryInterface)(IPerPropertyBrowsing *This,REFIID riid,void **ppvObject);
   2296       ULONG (WINAPI *AddRef)(IPerPropertyBrowsing *This);
   2297       ULONG (WINAPI *Release)(IPerPropertyBrowsing *This);
   2298       HRESULT (WINAPI *GetDisplayString)(IPerPropertyBrowsing *This,DISPID dispID,BSTR *pBstr);
   2299       HRESULT (WINAPI *MapPropertyToPage)(IPerPropertyBrowsing *This,DISPID dispID,CLSID *pClsid);
   2300       HRESULT (WINAPI *GetPredefinedStrings)(IPerPropertyBrowsing *This,DISPID dispID,CALPOLESTR *pCaStringsOut,CADWORD *pCaCookiesOut);
   2301       HRESULT (WINAPI *GetPredefinedValue)(IPerPropertyBrowsing *This,DISPID dispID,DWORD dwCookie,VARIANT *pVarOut);
   2302     END_INTERFACE
   2303   } IPerPropertyBrowsingVtbl;
   2304   struct IPerPropertyBrowsing {
   2305     CONST_VTBL struct IPerPropertyBrowsingVtbl *lpVtbl;
   2306   };
   2307 #ifdef COBJMACROS
   2308 #define IPerPropertyBrowsing_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2309 #define IPerPropertyBrowsing_AddRef(This) (This)->lpVtbl->AddRef(This)
   2310 #define IPerPropertyBrowsing_Release(This) (This)->lpVtbl->Release(This)
   2311 #define IPerPropertyBrowsing_GetDisplayString(This,dispID,pBstr) (This)->lpVtbl->GetDisplayString(This,dispID,pBstr)
   2312 #define IPerPropertyBrowsing_MapPropertyToPage(This,dispID,pClsid) (This)->lpVtbl->MapPropertyToPage(This,dispID,pClsid)
   2313 #define IPerPropertyBrowsing_GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut) (This)->lpVtbl->GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut)
   2314 #define IPerPropertyBrowsing_GetPredefinedValue(This,dispID,dwCookie,pVarOut) (This)->lpVtbl->GetPredefinedValue(This,dispID,dwCookie,pVarOut)
   2315 #endif
   2316 #endif
   2317   HRESULT WINAPI IPerPropertyBrowsing_GetDisplayString_Proxy(IPerPropertyBrowsing *This,DISPID dispID,BSTR *pBstr);
   2318   void __RPC_STUB IPerPropertyBrowsing_GetDisplayString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2319   HRESULT WINAPI IPerPropertyBrowsing_MapPropertyToPage_Proxy(IPerPropertyBrowsing *This,DISPID dispID,CLSID *pClsid);
   2320   void __RPC_STUB IPerPropertyBrowsing_MapPropertyToPage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2321   HRESULT WINAPI IPerPropertyBrowsing_GetPredefinedStrings_Proxy(IPerPropertyBrowsing *This,DISPID dispID,CALPOLESTR *pCaStringsOut,CADWORD *pCaCookiesOut);
   2322   void __RPC_STUB IPerPropertyBrowsing_GetPredefinedStrings_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2323   HRESULT WINAPI IPerPropertyBrowsing_GetPredefinedValue_Proxy(IPerPropertyBrowsing *This,DISPID dispID,DWORD dwCookie,VARIANT *pVarOut);
   2324   void __RPC_STUB IPerPropertyBrowsing_GetPredefinedValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2325 #endif
   2326 /*****************************************************************************
   2327  * IPropertyBag2 interface
   2328  */
   2329 #ifndef __IPropertyBag2_INTERFACE_DEFINED__
   2330 #define __IPropertyBag2_INTERFACE_DEFINED__
   2331 
   2332 typedef IPropertyBag2 *LPPROPERTYBAG2;
   2333 typedef enum tagPROPBAG2_TYPE {
   2334     PROPBAG2_TYPE_UNDEFINED = 0,
   2335     PROPBAG2_TYPE_DATA = 1,
   2336     PROPBAG2_TYPE_URL = 2,
   2337     PROPBAG2_TYPE_OBJECT = 3,
   2338     PROPBAG2_TYPE_STREAM = 4,
   2339     PROPBAG2_TYPE_STORAGE = 5,
   2340     PROPBAG2_TYPE_MONIKER = 6
   2341 } PROPBAG2_TYPE;
   2342 typedef struct tagPROPBAG2 {
   2343     DWORD dwType;
   2344     VARTYPE vt;
   2345     CLIPFORMAT cfType;
   2346     DWORD dwHint;
   2347     LPOLESTR pstrName;
   2348     CLSID clsid;
   2349 } PROPBAG2;
   2350 DEFINE_GUID(IID_IPropertyBag2, 0x22f55882, 0x280b, 0x11d0, 0xa8,0xa9, 0x00,0xa0,0xc9,0x0c,0x20,0x04);
   2351 #if defined(__cplusplus) && !defined(CINTERFACE)
   2352 MIDL_INTERFACE("22f55882-280b-11d0-a8a9-00a0c90c2004")
   2353 IPropertyBag2 : public IUnknown
   2354 {
   2355     virtual HRESULT STDMETHODCALLTYPE Read(
   2356         ULONG cProperties,
   2357         PROPBAG2 *pPropBag,
   2358         IErrorLog *pErrLog,
   2359         VARIANT *pvarValue,
   2360         HRESULT *phrError) = 0;
   2361 
   2362     virtual HRESULT STDMETHODCALLTYPE Write(
   2363         ULONG cProperties,
   2364         PROPBAG2 *pPropBag,
   2365         VARIANT *pvarValue) = 0;
   2366 
   2367     virtual HRESULT STDMETHODCALLTYPE CountProperties(
   2368         ULONG *pcProperties) = 0;
   2369 
   2370     virtual HRESULT STDMETHODCALLTYPE GetPropertyInfo(
   2371         ULONG iProperty,
   2372         ULONG cProperties,
   2373         PROPBAG2 *pPropBag,
   2374         ULONG *pcProperties) = 0;
   2375 
   2376     virtual HRESULT STDMETHODCALLTYPE LoadObject(
   2377         LPCOLESTR pstrName,
   2378         DWORD dwHint,
   2379         IUnknown *pUnkObject,
   2380         IErrorLog *pErrLog) = 0;
   2381 
   2382 };
   2383 #ifdef __CRT_UUID_DECL
   2384 __CRT_UUID_DECL(IPropertyBag2, 0x22f55882, 0x280b, 0x11d0, 0xa8,0xa9, 0x00,0xa0,0xc9,0x0c,0x20,0x04)
   2385 #endif
   2386 #else
   2387 typedef struct IPropertyBag2Vtbl {
   2388     BEGIN_INTERFACE
   2389 
   2390     /*** IUnknown methods ***/
   2391     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2392         IPropertyBag2* This,
   2393         REFIID riid,
   2394         void **ppvObject);
   2395 
   2396     ULONG (STDMETHODCALLTYPE *AddRef)(
   2397         IPropertyBag2* This);
   2398 
   2399     ULONG (STDMETHODCALLTYPE *Release)(
   2400         IPropertyBag2* This);
   2401 
   2402     /*** IPropertyBag2 methods ***/
   2403     HRESULT (STDMETHODCALLTYPE *Read)(
   2404         IPropertyBag2* This,
   2405         ULONG cProperties,
   2406         PROPBAG2 *pPropBag,
   2407         IErrorLog *pErrLog,
   2408         VARIANT *pvarValue,
   2409         HRESULT *phrError);
   2410 
   2411     HRESULT (STDMETHODCALLTYPE *Write)(
   2412         IPropertyBag2* This,
   2413         ULONG cProperties,
   2414         PROPBAG2 *pPropBag,
   2415         VARIANT *pvarValue);
   2416 
   2417     HRESULT (STDMETHODCALLTYPE *CountProperties)(
   2418         IPropertyBag2* This,
   2419         ULONG *pcProperties);
   2420 
   2421     HRESULT (STDMETHODCALLTYPE *GetPropertyInfo)(
   2422         IPropertyBag2* This,
   2423         ULONG iProperty,
   2424         ULONG cProperties,
   2425         PROPBAG2 *pPropBag,
   2426         ULONG *pcProperties);
   2427 
   2428     HRESULT (STDMETHODCALLTYPE *LoadObject)(
   2429         IPropertyBag2* This,
   2430         LPCOLESTR pstrName,
   2431         DWORD dwHint,
   2432         IUnknown *pUnkObject,
   2433         IErrorLog *pErrLog);
   2434 
   2435     END_INTERFACE
   2436 } IPropertyBag2Vtbl;
   2437 interface IPropertyBag2 {
   2438     CONST_VTBL IPropertyBag2Vtbl* lpVtbl;
   2439 };
   2440 
   2441 #ifdef COBJMACROS
   2442 #ifndef WIDL_C_INLINE_WRAPPERS
   2443 /*** IUnknown methods ***/
   2444 #define IPropertyBag2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2445 #define IPropertyBag2_AddRef(This) (This)->lpVtbl->AddRef(This)
   2446 #define IPropertyBag2_Release(This) (This)->lpVtbl->Release(This)
   2447 /*** IPropertyBag2 methods ***/
   2448 #define IPropertyBag2_Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError) (This)->lpVtbl->Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError)
   2449 #define IPropertyBag2_Write(This,cProperties,pPropBag,pvarValue) (This)->lpVtbl->Write(This,cProperties,pPropBag,pvarValue)
   2450 #define IPropertyBag2_CountProperties(This,pcProperties) (This)->lpVtbl->CountProperties(This,pcProperties)
   2451 #define IPropertyBag2_GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties) (This)->lpVtbl->GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties)
   2452 #define IPropertyBag2_LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog) (This)->lpVtbl->LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog)
   2453 #else
   2454 /*** IUnknown methods ***/
   2455 static FORCEINLINE HRESULT IPropertyBag2_QueryInterface(IPropertyBag2* This,REFIID riid,void **ppvObject) {
   2456     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2457 }
   2458 static FORCEINLINE ULONG IPropertyBag2_AddRef(IPropertyBag2* This) {
   2459     return This->lpVtbl->AddRef(This);
   2460 }
   2461 static FORCEINLINE ULONG IPropertyBag2_Release(IPropertyBag2* This) {
   2462     return This->lpVtbl->Release(This);
   2463 }
   2464 /*** IPropertyBag2 methods ***/
   2465 static FORCEINLINE HRESULT IPropertyBag2_Read(IPropertyBag2* This,ULONG cProperties,PROPBAG2 *pPropBag,IErrorLog *pErrLog,VARIANT *pvarValue,HRESULT *phrError) {
   2466     return This->lpVtbl->Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError);
   2467 }
   2468 static FORCEINLINE HRESULT IPropertyBag2_Write(IPropertyBag2* This,ULONG cProperties,PROPBAG2 *pPropBag,VARIANT *pvarValue) {
   2469     return This->lpVtbl->Write(This,cProperties,pPropBag,pvarValue);
   2470 }
   2471 static FORCEINLINE HRESULT IPropertyBag2_CountProperties(IPropertyBag2* This,ULONG *pcProperties) {
   2472     return This->lpVtbl->CountProperties(This,pcProperties);
   2473 }
   2474 static FORCEINLINE HRESULT IPropertyBag2_GetPropertyInfo(IPropertyBag2* This,ULONG iProperty,ULONG cProperties,PROPBAG2 *pPropBag,ULONG *pcProperties) {
   2475     return This->lpVtbl->GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties);
   2476 }
   2477 static FORCEINLINE HRESULT IPropertyBag2_LoadObject(IPropertyBag2* This,LPCOLESTR pstrName,DWORD dwHint,IUnknown *pUnkObject,IErrorLog *pErrLog) {
   2478     return This->lpVtbl->LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog);
   2479 }
   2480 #endif
   2481 #endif
   2482 
   2483 #endif
   2484 
   2485 HRESULT STDMETHODCALLTYPE IPropertyBag2_Read_Proxy(
   2486     IPropertyBag2* This,
   2487     ULONG cProperties,
   2488     PROPBAG2 *pPropBag,
   2489     IErrorLog *pErrLog,
   2490     VARIANT *pvarValue,
   2491     HRESULT *phrError);
   2492 void __RPC_STUB IPropertyBag2_Read_Stub(
   2493     IRpcStubBuffer* This,
   2494     IRpcChannelBuffer* pRpcChannelBuffer,
   2495     PRPC_MESSAGE pRpcMessage,
   2496     DWORD* pdwStubPhase);
   2497 HRESULT STDMETHODCALLTYPE IPropertyBag2_Write_Proxy(
   2498     IPropertyBag2* This,
   2499     ULONG cProperties,
   2500     PROPBAG2 *pPropBag,
   2501     VARIANT *pvarValue);
   2502 void __RPC_STUB IPropertyBag2_Write_Stub(
   2503     IRpcStubBuffer* This,
   2504     IRpcChannelBuffer* pRpcChannelBuffer,
   2505     PRPC_MESSAGE pRpcMessage,
   2506     DWORD* pdwStubPhase);
   2507 HRESULT STDMETHODCALLTYPE IPropertyBag2_CountProperties_Proxy(
   2508     IPropertyBag2* This,
   2509     ULONG *pcProperties);
   2510 void __RPC_STUB IPropertyBag2_CountProperties_Stub(
   2511     IRpcStubBuffer* This,
   2512     IRpcChannelBuffer* pRpcChannelBuffer,
   2513     PRPC_MESSAGE pRpcMessage,
   2514     DWORD* pdwStubPhase);
   2515 HRESULT STDMETHODCALLTYPE IPropertyBag2_GetPropertyInfo_Proxy(
   2516     IPropertyBag2* This,
   2517     ULONG iProperty,
   2518     ULONG cProperties,
   2519     PROPBAG2 *pPropBag,
   2520     ULONG *pcProperties);
   2521 void __RPC_STUB IPropertyBag2_GetPropertyInfo_Stub(
   2522     IRpcStubBuffer* This,
   2523     IRpcChannelBuffer* pRpcChannelBuffer,
   2524     PRPC_MESSAGE pRpcMessage,
   2525     DWORD* pdwStubPhase);
   2526 HRESULT STDMETHODCALLTYPE IPropertyBag2_LoadObject_Proxy(
   2527     IPropertyBag2* This,
   2528     LPCOLESTR pstrName,
   2529     DWORD dwHint,
   2530     IUnknown *pUnkObject,
   2531     IErrorLog *pErrLog);
   2532 void __RPC_STUB IPropertyBag2_LoadObject_Stub(
   2533     IRpcStubBuffer* This,
   2534     IRpcChannelBuffer* pRpcChannelBuffer,
   2535     PRPC_MESSAGE pRpcMessage,
   2536     DWORD* pdwStubPhase);
   2537 
   2538 #endif  /* __IPropertyBag2_INTERFACE_DEFINED__ */
   2539 
   2540 #ifndef __IPersistPropertyBag2_INTERFACE_DEFINED__
   2541 #define __IPersistPropertyBag2_INTERFACE_DEFINED__
   2542   typedef IPersistPropertyBag2 *LPPERSISTPROPERTYBAG2;
   2543 
   2544   EXTERN_C const IID IID_IPersistPropertyBag2;
   2545 #if defined(__cplusplus) && !defined(CINTERFACE)
   2546   struct IPersistPropertyBag2 : public IPersist {
   2547   public:
   2548     virtual HRESULT WINAPI InitNew(void) = 0;
   2549     virtual HRESULT WINAPI Load(IPropertyBag2 *pPropBag,IErrorLog *pErrLog) = 0;
   2550     virtual HRESULT WINAPI Save(IPropertyBag2 *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties) = 0;
   2551     virtual HRESULT WINAPI IsDirty(void) = 0;
   2552   };
   2553 #else
   2554   typedef struct IPersistPropertyBag2Vtbl {
   2555     BEGIN_INTERFACE
   2556       HRESULT (WINAPI *QueryInterface)(IPersistPropertyBag2 *This,REFIID riid,void **ppvObject);
   2557       ULONG (WINAPI *AddRef)(IPersistPropertyBag2 *This);
   2558       ULONG (WINAPI *Release)(IPersistPropertyBag2 *This);
   2559       HRESULT (WINAPI *GetClassID)(IPersistPropertyBag2 *This,CLSID *pClassID);
   2560       HRESULT (WINAPI *InitNew)(IPersistPropertyBag2 *This);
   2561       HRESULT (WINAPI *Load)(IPersistPropertyBag2 *This,IPropertyBag2 *pPropBag,IErrorLog *pErrLog);
   2562       HRESULT (WINAPI *Save)(IPersistPropertyBag2 *This,IPropertyBag2 *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties);
   2563       HRESULT (WINAPI *IsDirty)(IPersistPropertyBag2 *This);
   2564     END_INTERFACE
   2565   } IPersistPropertyBag2Vtbl;
   2566   struct IPersistPropertyBag2 {
   2567     CONST_VTBL struct IPersistPropertyBag2Vtbl *lpVtbl;
   2568   };
   2569 #ifdef COBJMACROS
   2570 #define IPersistPropertyBag2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2571 #define IPersistPropertyBag2_AddRef(This) (This)->lpVtbl->AddRef(This)
   2572 #define IPersistPropertyBag2_Release(This) (This)->lpVtbl->Release(This)
   2573 #define IPersistPropertyBag2_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
   2574 #define IPersistPropertyBag2_InitNew(This) (This)->lpVtbl->InitNew(This)
   2575 #define IPersistPropertyBag2_Load(This,pPropBag,pErrLog) (This)->lpVtbl->Load(This,pPropBag,pErrLog)
   2576 #define IPersistPropertyBag2_Save(This,pPropBag,fClearDirty,fSaveAllProperties) (This)->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties)
   2577 #define IPersistPropertyBag2_IsDirty(This) (This)->lpVtbl->IsDirty(This)
   2578 #endif
   2579 #endif
   2580   HRESULT WINAPI IPersistPropertyBag2_InitNew_Proxy(IPersistPropertyBag2 *This);
   2581   void __RPC_STUB IPersistPropertyBag2_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2582   HRESULT WINAPI IPersistPropertyBag2_Load_Proxy(IPersistPropertyBag2 *This,IPropertyBag2 *pPropBag,IErrorLog *pErrLog);
   2583   void __RPC_STUB IPersistPropertyBag2_Load_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2584   HRESULT WINAPI IPersistPropertyBag2_Save_Proxy(IPersistPropertyBag2 *This,IPropertyBag2 *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties);
   2585   void __RPC_STUB IPersistPropertyBag2_Save_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2586   HRESULT WINAPI IPersistPropertyBag2_IsDirty_Proxy(IPersistPropertyBag2 *This);
   2587   void __RPC_STUB IPersistPropertyBag2_IsDirty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2588 #endif
   2589 
   2590 #ifndef __IAdviseSinkEx_INTERFACE_DEFINED__
   2591 #define __IAdviseSinkEx_INTERFACE_DEFINED__
   2592   typedef IAdviseSinkEx *LPADVISESINKEX;
   2593 
   2594   EXTERN_C const IID IID_IAdviseSinkEx;
   2595 #if defined(__cplusplus) && !defined(CINTERFACE)
   2596   struct IAdviseSinkEx : public IAdviseSink {
   2597   public:
   2598     virtual void WINAPI OnViewStatusChange(DWORD dwViewStatus) = 0;
   2599   };
   2600 #else
   2601   typedef struct IAdviseSinkExVtbl {
   2602     BEGIN_INTERFACE
   2603       HRESULT (WINAPI *QueryInterface)(IAdviseSinkEx *This,REFIID riid,void **ppvObject);
   2604       ULONG (WINAPI *AddRef)(IAdviseSinkEx *This);
   2605       ULONG (WINAPI *Release)(IAdviseSinkEx *This);
   2606       void (WINAPI *OnDataChange)(IAdviseSinkEx *This,FORMATETC *pFormatetc,STGMEDIUM *pStgmed);
   2607       void (WINAPI *OnViewChange)(IAdviseSinkEx *This,DWORD dwAspect,LONG lindex);
   2608       void (WINAPI *OnRename)(IAdviseSinkEx *This,IMoniker *pmk);
   2609       void (WINAPI *OnSave)(IAdviseSinkEx *This);
   2610       void (WINAPI *OnClose)(IAdviseSinkEx *This);
   2611       void (WINAPI *OnViewStatusChange)(IAdviseSinkEx *This,DWORD dwViewStatus);
   2612     END_INTERFACE
   2613   } IAdviseSinkExVtbl;
   2614   struct IAdviseSinkEx {
   2615     CONST_VTBL struct IAdviseSinkExVtbl *lpVtbl;
   2616   };
   2617 #ifdef COBJMACROS
   2618 #define IAdviseSinkEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2619 #define IAdviseSinkEx_AddRef(This) (This)->lpVtbl->AddRef(This)
   2620 #define IAdviseSinkEx_Release(This) (This)->lpVtbl->Release(This)
   2621 #define IAdviseSinkEx_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed)
   2622 #define IAdviseSinkEx_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex)
   2623 #define IAdviseSinkEx_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk)
   2624 #define IAdviseSinkEx_OnSave(This) (This)->lpVtbl->OnSave(This)
   2625 #define IAdviseSinkEx_OnClose(This) (This)->lpVtbl->OnClose(This)
   2626 #define IAdviseSinkEx_OnViewStatusChange(This,dwViewStatus) (This)->lpVtbl->OnViewStatusChange(This,dwViewStatus)
   2627 #endif
   2628 #endif
   2629   HRESULT WINAPI IAdviseSinkEx_RemoteOnViewStatusChange_Proxy(IAdviseSinkEx *This,DWORD dwViewStatus);
   2630   void __RPC_STUB IAdviseSinkEx_RemoteOnViewStatusChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2631 #endif
   2632 
   2633 #ifndef __IQuickActivate_INTERFACE_DEFINED__
   2634 #define __IQuickActivate_INTERFACE_DEFINED__
   2635   typedef IQuickActivate *LPQUICKACTIVATE;
   2636 
   2637   typedef enum tagQACONTAINERFLAGS {
   2638     QACONTAINER_SHOWHATCHING = 0x1,QACONTAINER_SHOWGRABHANDLES = 0x2,QACONTAINER_USERMODE = 0x4,QACONTAINER_DISPLAYASDEFAULT = 0x8,
   2639     QACONTAINER_UIDEAD = 0x10,QACONTAINER_AUTOCLIP = 0x20,QACONTAINER_MESSAGEREFLECT = 0x40,QACONTAINER_SUPPORTSMNEMONICS = 0x80
   2640   } QACONTAINERFLAGS;
   2641 
   2642   typedef DWORD OLE_COLOR;
   2643 
   2644   typedef struct tagQACONTAINER {
   2645     ULONG cbSize;
   2646     IOleClientSite *pClientSite;
   2647     IAdviseSinkEx *pAdviseSink;
   2648     IPropertyNotifySink *pPropertyNotifySink;
   2649     IUnknown *pUnkEventSink;
   2650     DWORD dwAmbientFlags;
   2651     OLE_COLOR colorFore;
   2652     OLE_COLOR colorBack;
   2653     IFont *pFont;
   2654     IOleUndoManager *pUndoMgr;
   2655     DWORD dwAppearance;
   2656     LONG lcid;
   2657     HPALETTE hpal;
   2658     IBindHost *pBindHost;
   2659     IOleControlSite *pOleControlSite;
   2660     IServiceProvider *pServiceProvider;
   2661   } QACONTAINER;
   2662 
   2663   typedef struct tagQACONTROL {
   2664     ULONG cbSize;
   2665     DWORD dwMiscStatus;
   2666     DWORD dwViewStatus;
   2667     DWORD dwEventCookie;
   2668     DWORD dwPropNotifyCookie;
   2669     DWORD dwPointerActivationPolicy;
   2670   } QACONTROL;
   2671 
   2672   EXTERN_C const IID IID_IQuickActivate;
   2673 #if defined(__cplusplus) && !defined(CINTERFACE)
   2674   struct IQuickActivate : public IUnknown {
   2675   public:
   2676     virtual HRESULT WINAPI QuickActivate(QACONTAINER *pQaContainer,QACONTROL *pQaControl) = 0;
   2677     virtual HRESULT WINAPI SetContentExtent(LPSIZEL pSizel) = 0;
   2678     virtual HRESULT WINAPI GetContentExtent(LPSIZEL pSizel) = 0;
   2679   };
   2680 #else
   2681   typedef struct IQuickActivateVtbl {
   2682     BEGIN_INTERFACE
   2683       HRESULT (WINAPI *QueryInterface)(IQuickActivate *This,REFIID riid,void **ppvObject);
   2684       ULONG (WINAPI *AddRef)(IQuickActivate *This);
   2685       ULONG (WINAPI *Release)(IQuickActivate *This);
   2686       HRESULT (WINAPI *QuickActivate)(IQuickActivate *This,QACONTAINER *pQaContainer,QACONTROL *pQaControl);
   2687       HRESULT (WINAPI *SetContentExtent)(IQuickActivate *This,LPSIZEL pSizel);
   2688       HRESULT (WINAPI *GetContentExtent)(IQuickActivate *This,LPSIZEL pSizel);
   2689     END_INTERFACE
   2690   } IQuickActivateVtbl;
   2691   struct IQuickActivate {
   2692     CONST_VTBL struct IQuickActivateVtbl *lpVtbl;
   2693   };
   2694 #ifdef COBJMACROS
   2695 #define IQuickActivate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2696 #define IQuickActivate_AddRef(This) (This)->lpVtbl->AddRef(This)
   2697 #define IQuickActivate_Release(This) (This)->lpVtbl->Release(This)
   2698 #define IQuickActivate_QuickActivate(This,pQaContainer,pQaControl) (This)->lpVtbl->QuickActivate(This,pQaContainer,pQaControl)
   2699 #define IQuickActivate_SetContentExtent(This,pSizel) (This)->lpVtbl->SetContentExtent(This,pSizel)
   2700 #define IQuickActivate_GetContentExtent(This,pSizel) (This)->lpVtbl->GetContentExtent(This,pSizel)
   2701 #endif
   2702 #endif
   2703   HRESULT WINAPI IQuickActivate_RemoteQuickActivate_Proxy(IQuickActivate *This,QACONTAINER *pQaContainer,QACONTROL *pQaControl);
   2704   void __RPC_STUB IQuickActivate_RemoteQuickActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2705   HRESULT WINAPI IQuickActivate_SetContentExtent_Proxy(IQuickActivate *This,LPSIZEL pSizel);
   2706   void __RPC_STUB IQuickActivate_SetContentExtent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2707   HRESULT WINAPI IQuickActivate_GetContentExtent_Proxy(IQuickActivate *This,LPSIZEL pSizel);
   2708   void __RPC_STUB IQuickActivate_GetContentExtent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2709 #endif
   2710 
   2711   ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
   2712   unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
   2713   unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
   2714   void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
   2715   ULONG __RPC_API HACCEL_UserSize(ULONG *,ULONG,HACCEL *);
   2716   unsigned char *__RPC_API HACCEL_UserMarshal(ULONG *,unsigned char *,HACCEL *);
   2717   unsigned char *__RPC_API HACCEL_UserUnmarshal(ULONG *,unsigned char *,HACCEL *);
   2718   void __RPC_API HACCEL_UserFree(ULONG *,HACCEL *);
   2719   ULONG __RPC_API HDC_UserSize(ULONG *,ULONG,HDC *);
   2720   unsigned char *__RPC_API HDC_UserMarshal(ULONG *,unsigned char *,HDC *);
   2721   unsigned char *__RPC_API HDC_UserUnmarshal(ULONG *,unsigned char *,HDC *);
   2722   void __RPC_API HDC_UserFree(ULONG *,HDC *);
   2723   ULONG __RPC_API HFONT_UserSize(ULONG *,ULONG,HFONT *);
   2724   unsigned char *__RPC_API HFONT_UserMarshal(ULONG *,unsigned char *,HFONT *);
   2725   unsigned char *__RPC_API HFONT_UserUnmarshal(ULONG *,unsigned char *,HFONT *);
   2726   void __RPC_API HFONT_UserFree(ULONG *,HFONT *);
   2727   ULONG __RPC_API HPALETTE_UserSize(ULONG *,ULONG,HPALETTE *);
   2728   unsigned char *__RPC_API HPALETTE_UserMarshal(ULONG *,unsigned char *,HPALETTE *);
   2729   unsigned char *__RPC_API HPALETTE_UserUnmarshal(ULONG *,unsigned char *,HPALETTE *);
   2730   void __RPC_API HPALETTE_UserFree(ULONG *,HPALETTE *);
   2731   ULONG __RPC_API HWND_UserSize(ULONG *,ULONG,HWND *);
   2732   unsigned char *__RPC_API HWND_UserMarshal(ULONG *,unsigned char *,HWND *);
   2733   unsigned char *__RPC_API HWND_UserUnmarshal(ULONG *,unsigned char *,HWND *);
   2734   void __RPC_API HWND_UserFree(ULONG *,HWND *);
   2735 
   2736   HRESULT WINAPI IEnumConnections_Next_Proxy(IEnumConnections *This,ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched);
   2737   HRESULT WINAPI IEnumConnections_Next_Stub(IEnumConnections *This,ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched);
   2738   HRESULT WINAPI IEnumConnectionPoints_Next_Proxy(IEnumConnectionPoints *This,ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched);
   2739   HRESULT WINAPI IEnumConnectionPoints_Next_Stub(IEnumConnectionPoints *This,ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched);
   2740   HRESULT WINAPI IClassFactory2_CreateInstanceLic_Proxy(IClassFactory2 *This,IUnknown *pUnkOuter,IUnknown *pUnkReserved,REFIID riid,BSTR bstrKey,PVOID *ppvObj);
   2741   HRESULT WINAPI IClassFactory2_CreateInstanceLic_Stub(IClassFactory2 *This,REFIID riid,BSTR bstrKey,IUnknown **ppvObj);
   2742   HRESULT WINAPI IPersistMemory_Load_Proxy(IPersistMemory *This,LPVOID pMem,ULONG cbSize);
   2743   HRESULT WINAPI IPersistMemory_Load_Stub(IPersistMemory *This,BYTE *pMem,ULONG cbSize);
   2744   HRESULT WINAPI IPersistMemory_Save_Proxy(IPersistMemory *This,LPVOID pMem,WINBOOL fClearDirty,ULONG cbSize);
   2745   HRESULT WINAPI IPersistMemory_Save_Stub(IPersistMemory *This,BYTE *pMem,WINBOOL fClearDirty,ULONG cbSize);
   2746   HRESULT WINAPI IEnumOleUndoUnits_Next_Proxy(IEnumOleUndoUnits *This,ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched);
   2747   HRESULT WINAPI IEnumOleUndoUnits_Next_Stub(IEnumOleUndoUnits *This,ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched);
   2748   void WINAPI IAdviseSinkEx_OnViewStatusChange_Proxy(IAdviseSinkEx *This,DWORD dwViewStatus);
   2749   HRESULT WINAPI IAdviseSinkEx_OnViewStatusChange_Stub(IAdviseSinkEx *This,DWORD dwViewStatus);
   2750   HRESULT WINAPI IQuickActivate_QuickActivate_Proxy(IQuickActivate *This,QACONTAINER *pQaContainer,QACONTROL *pQaControl);
   2751   HRESULT WINAPI IQuickActivate_QuickActivate_Stub(IQuickActivate *This,QACONTAINER *pQaContainer,QACONTROL *pQaControl);
   2752 /* Begin additional prototypes for all interfaces */
   2753 
   2754 ULONG           __RPC_USER CLIPFORMAT_UserSize     (ULONG *, ULONG, CLIPFORMAT *);
   2755 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
   2756 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
   2757 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
   2758 ULONG           __RPC_USER VARIANT_UserSize     (ULONG *, ULONG, VARIANT *);
   2759 unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
   2760 unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
   2761 void            __RPC_USER VARIANT_UserFree     (ULONG *, VARIANT *);
   2762 
   2763 /* End additional prototypes */
   2764 
   2765 #ifdef __cplusplus
   2766 }
   2767 #endif
   2768 
   2769 #endif /* __ocidl_h__ */
   2770