Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      7 #define __REQUIRED_RPCNDR_H_VERSION__ 475
      8 #endif
      9 
     10 #include "rpc.h"
     11 #include "rpcndr.h"
     12 
     13 #ifndef __RPCNDR_H_VERSION__
     14 #error this stub requires an updated version of <rpcndr.h>
     15 #endif
     16 
     17 #ifndef COM_NO_WINDOWS_H
     18 #include "windows.h"
     19 #include "ole2.h"
     20 #endif
     21 
     22 #ifndef __mmcobj_h__
     23 #define __mmcobj_h__
     24 
     25 #ifndef __ISnapinProperties_FWD_DEFINED__
     26 #define __ISnapinProperties_FWD_DEFINED__
     27 typedef struct ISnapinProperties ISnapinProperties;
     28 #endif
     29 
     30 #ifndef __ISnapinPropertiesCallback_FWD_DEFINED__
     31 #define __ISnapinPropertiesCallback_FWD_DEFINED__
     32 typedef struct ISnapinPropertiesCallback ISnapinPropertiesCallback;
     33 #endif
     34 
     35 #ifndef ___Application_FWD_DEFINED__
     36 #define ___Application_FWD_DEFINED__
     37 typedef struct _Application _Application;
     38 #endif
     39 
     40 #ifndef ___AppEvents_FWD_DEFINED__
     41 #define ___AppEvents_FWD_DEFINED__
     42 typedef struct _AppEvents _AppEvents;
     43 #endif
     44 
     45 #ifndef __AppEvents_FWD_DEFINED__
     46 #define __AppEvents_FWD_DEFINED__
     47 typedef struct AppEvents AppEvents;
     48 #endif
     49 
     50 #ifndef __Application_FWD_DEFINED__
     51 #define __Application_FWD_DEFINED__
     52 #ifdef __cplusplus
     53 typedef class Application Application;
     54 #else
     55 typedef struct Application Application;
     56 #endif
     57 #endif
     58 
     59 #ifndef ___EventConnector_FWD_DEFINED__
     60 #define ___EventConnector_FWD_DEFINED__
     61 typedef struct _EventConnector _EventConnector;
     62 #endif
     63 
     64 #ifndef __AppEventsDHTMLConnector_FWD_DEFINED__
     65 #define __AppEventsDHTMLConnector_FWD_DEFINED__
     66 #ifdef __cplusplus
     67 typedef class AppEventsDHTMLConnector AppEventsDHTMLConnector;
     68 #else
     69 typedef struct AppEventsDHTMLConnector AppEventsDHTMLConnector;
     70 #endif
     71 #endif
     72 
     73 #ifndef __Frame_FWD_DEFINED__
     74 #define __Frame_FWD_DEFINED__
     75 typedef struct Frame Frame;
     76 #endif
     77 
     78 #ifndef __Node_FWD_DEFINED__
     79 #define __Node_FWD_DEFINED__
     80 typedef struct Node Node;
     81 #endif
     82 
     83 #ifndef __ScopeNamespace_FWD_DEFINED__
     84 #define __ScopeNamespace_FWD_DEFINED__
     85 typedef struct ScopeNamespace ScopeNamespace;
     86 #endif
     87 
     88 #ifndef __Document_FWD_DEFINED__
     89 #define __Document_FWD_DEFINED__
     90 typedef struct Document Document;
     91 #endif
     92 
     93 #ifndef __SnapIn_FWD_DEFINED__
     94 #define __SnapIn_FWD_DEFINED__
     95 typedef struct SnapIn SnapIn;
     96 #endif
     97 
     98 #ifndef __SnapIns_FWD_DEFINED__
     99 #define __SnapIns_FWD_DEFINED__
    100 typedef struct SnapIns SnapIns;
    101 #endif
    102 
    103 #ifndef __Extension_FWD_DEFINED__
    104 #define __Extension_FWD_DEFINED__
    105 typedef struct Extension Extension;
    106 #endif
    107 
    108 #ifndef __Extensions_FWD_DEFINED__
    109 #define __Extensions_FWD_DEFINED__
    110 typedef struct Extensions Extensions;
    111 #endif
    112 
    113 #ifndef __Columns_FWD_DEFINED__
    114 #define __Columns_FWD_DEFINED__
    115 typedef struct Columns Columns;
    116 #endif
    117 
    118 #ifndef __Column_FWD_DEFINED__
    119 #define __Column_FWD_DEFINED__
    120 typedef struct Column Column;
    121 #endif
    122 
    123 #ifndef __Views_FWD_DEFINED__
    124 #define __Views_FWD_DEFINED__
    125 typedef struct Views Views;
    126 #endif
    127 
    128 #ifndef __View_FWD_DEFINED__
    129 #define __View_FWD_DEFINED__
    130 typedef struct View View;
    131 #endif
    132 
    133 #ifndef __Nodes_FWD_DEFINED__
    134 #define __Nodes_FWD_DEFINED__
    135 typedef struct Nodes Nodes;
    136 #endif
    137 
    138 #ifndef __ContextMenu_FWD_DEFINED__
    139 #define __ContextMenu_FWD_DEFINED__
    140 typedef struct ContextMenu ContextMenu;
    141 #endif
    142 
    143 #ifndef __MenuItem_FWD_DEFINED__
    144 #define __MenuItem_FWD_DEFINED__
    145 typedef struct MenuItem MenuItem;
    146 #endif
    147 
    148 #ifndef __Properties_FWD_DEFINED__
    149 #define __Properties_FWD_DEFINED__
    150 typedef struct Properties Properties;
    151 #endif
    152 
    153 #ifndef __Property_FWD_DEFINED__
    154 #define __Property_FWD_DEFINED__
    155 typedef struct Property Property;
    156 #endif
    157 
    158 #include "oaidl.h"
    159 
    160 #ifdef __cplusplus
    161 extern "C"{
    162 #endif
    163 
    164 #ifndef __MIDL_user_allocate_free_DEFINED__
    165 #define __MIDL_user_allocate_free_DEFINED__
    166   void *__RPC_API MIDL_user_allocate(size_t);
    167   void __RPC_API MIDL_user_free(void *);
    168 #endif
    169 
    170 #ifndef MMC_VER
    171 #define MMC_VER 0x0200
    172 #endif
    173 
    174 #if (MMC_VER >= 0x0200)
    175   typedef _Application *PAPPLICATION;
    176   typedef _Application **PPAPPLICATION;
    177   typedef Column *PCOLUMN;
    178   typedef Column **PPCOLUMN;
    179   typedef Columns *PCOLUMNS;
    180   typedef Columns **PPCOLUMNS;
    181   typedef ContextMenu *PCONTEXTMENU;
    182   typedef ContextMenu **PPCONTEXTMENU;
    183   typedef Document *PDOCUMENT;
    184   typedef Document **PPDOCUMENT;
    185   typedef Frame *PFRAME;
    186   typedef Frame **PPFRAME;
    187   typedef MenuItem *PMENUITEM;
    188   typedef MenuItem **PPMENUITEM;
    189   typedef Node *PNODE;
    190   typedef Node **PPNODE;
    191   typedef Nodes *PNODES;
    192   typedef Nodes **PPNODES;
    193   typedef Properties *PPROPERTIES;
    194   typedef Properties **PPPROPERTIES;
    195   typedef Property *PPROPERTY;
    196   typedef Property **PPPROPERTY;
    197   typedef ScopeNamespace *PSCOPENAMESPACE;
    198   typedef ScopeNamespace **PPSCOPENAMESPACE;
    199   typedef SnapIn *PSNAPIN;
    200   typedef SnapIn **PPSNAPIN;
    201   typedef SnapIns *PSNAPINS;
    202   typedef SnapIns **PPSNAPINS;
    203   typedef Extension *PEXTENSION;
    204   typedef Extension **PPEXTENSION;
    205   typedef Extensions *PEXTENSIONS;
    206   typedef Extensions **PPEXTENSIONS;
    207   typedef View *PVIEW;
    208   typedef View **PPVIEW;
    209   typedef Views *PVIEWS;
    210   typedef Views **PPVIEWS;
    211   typedef ISnapinProperties *LPSNAPINPROPERTIES;
    212   typedef ISnapinPropertiesCallback *LPSNAPINPROPERTIESCALLBACK;
    213   typedef WINBOOL *PBOOL;
    214   typedef int *PINT;
    215   typedef BSTR *PBSTR;
    216   typedef VARIANT *PVARIANT;
    217   typedef __LONG32 *PLONG;
    218   typedef IDispatch *PDISPATCH;
    219   typedef IDispatch **PPDISPATCH;
    220 
    221   extern RPC_IF_HANDLE __MIDL_itf_mmcobj_0000_v0_0_c_ifspec;
    222   extern RPC_IF_HANDLE __MIDL_itf_mmcobj_0000_v0_0_s_ifspec;
    223 
    224 #ifndef __ISnapinProperties_INTERFACE_DEFINED__
    225 #define __ISnapinProperties_INTERFACE_DEFINED__
    226   typedef enum _MMC_PROPERTY_ACTION {
    227     MMC_PROPACT_DELETING = 1,MMC_PROPACT_CHANGING,MMC_PROPACT_INITIALIZED
    228   } MMC_PROPERTY_ACTION;
    229 
    230   typedef struct _MMC_SNAPIN_PROPERTY {
    231     LPCOLESTR pszPropName;
    232     VARIANT varValue;
    233     MMC_PROPERTY_ACTION eAction;
    234   } MMC_SNAPIN_PROPERTY;
    235 
    236   EXTERN_C const IID IID_ISnapinProperties;
    237 #if defined(__cplusplus) && !defined(CINTERFACE)
    238   struct ISnapinProperties : public IUnknown {
    239   public:
    240     virtual HRESULT WINAPI Initialize(Properties *pProperties) = 0;
    241     virtual HRESULT WINAPI QueryPropertyNames(ISnapinPropertiesCallback *pCallback) = 0;
    242     virtual HRESULT WINAPI PropertiesChanged(__LONG32 cProperties,MMC_SNAPIN_PROPERTY *pProperties) = 0;
    243   };
    244 #else
    245   typedef struct ISnapinPropertiesVtbl {
    246     BEGIN_INTERFACE
    247       HRESULT (WINAPI *QueryInterface)(ISnapinProperties *This,REFIID riid,void **ppvObject);
    248       ULONG (WINAPI *AddRef)(ISnapinProperties *This);
    249       ULONG (WINAPI *Release)(ISnapinProperties *This);
    250       HRESULT (WINAPI *Initialize)(ISnapinProperties *This,Properties *pProperties);
    251       HRESULT (WINAPI *QueryPropertyNames)(ISnapinProperties *This,ISnapinPropertiesCallback *pCallback);
    252       HRESULT (WINAPI *PropertiesChanged)(ISnapinProperties *This,__LONG32 cProperties,MMC_SNAPIN_PROPERTY *pProperties);
    253     END_INTERFACE
    254   } ISnapinPropertiesVtbl;
    255   struct ISnapinProperties {
    256     CONST_VTBL struct ISnapinPropertiesVtbl *lpVtbl;
    257   };
    258 #ifdef COBJMACROS
    259 #define ISnapinProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    260 #define ISnapinProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
    261 #define ISnapinProperties_Release(This) (This)->lpVtbl->Release(This)
    262 #define ISnapinProperties_Initialize(This,pProperties) (This)->lpVtbl->Initialize(This,pProperties)
    263 #define ISnapinProperties_QueryPropertyNames(This,pCallback) (This)->lpVtbl->QueryPropertyNames(This,pCallback)
    264 #define ISnapinProperties_PropertiesChanged(This,cProperties,pProperties) (This)->lpVtbl->PropertiesChanged(This,cProperties,pProperties)
    265 #endif
    266 #endif
    267   HRESULT WINAPI ISnapinProperties_Initialize_Proxy(ISnapinProperties *This,Properties *pProperties);
    268   void __RPC_STUB ISnapinProperties_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    269   HRESULT WINAPI ISnapinProperties_QueryPropertyNames_Proxy(ISnapinProperties *This,ISnapinPropertiesCallback *pCallback);
    270   void __RPC_STUB ISnapinProperties_QueryPropertyNames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    271   HRESULT WINAPI ISnapinProperties_PropertiesChanged_Proxy(ISnapinProperties *This,__LONG32 cProperties,MMC_SNAPIN_PROPERTY *pProperties);
    272   void __RPC_STUB ISnapinProperties_PropertiesChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    273 #endif
    274 
    275 #ifndef __ISnapinPropertiesCallback_INTERFACE_DEFINED__
    276 #define __ISnapinPropertiesCallback_INTERFACE_DEFINED__
    277 
    278 #define MMC_PROP_CHANGEAFFECTSUI (0x1)
    279 #define MMC_PROP_MODIFIABLE (0x2)
    280 #define MMC_PROP_REMOVABLE (0x4)
    281 #define MMC_PROP_PERSIST (0x8)
    282 
    283   EXTERN_C const IID IID_ISnapinPropertiesCallback;
    284 
    285 #if defined(__cplusplus) && !defined(CINTERFACE)
    286   struct ISnapinPropertiesCallback : public IUnknown {
    287   public:
    288     virtual HRESULT WINAPI AddPropertyName(LPCOLESTR pszPropName,DWORD dwFlags) = 0;
    289   };
    290 #else
    291   typedef struct ISnapinPropertiesCallbackVtbl {
    292     BEGIN_INTERFACE
    293       HRESULT (WINAPI *QueryInterface)(ISnapinPropertiesCallback *This,REFIID riid,void **ppvObject);
    294       ULONG (WINAPI *AddRef)(ISnapinPropertiesCallback *This);
    295       ULONG (WINAPI *Release)(ISnapinPropertiesCallback *This);
    296       HRESULT (WINAPI *AddPropertyName)(ISnapinPropertiesCallback *This,LPCOLESTR pszPropName,DWORD dwFlags);
    297     END_INTERFACE
    298   } ISnapinPropertiesCallbackVtbl;
    299   struct ISnapinPropertiesCallback {
    300     CONST_VTBL struct ISnapinPropertiesCallbackVtbl *lpVtbl;
    301   };
    302 #ifdef COBJMACROS
    303 #define ISnapinPropertiesCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    304 #define ISnapinPropertiesCallback_AddRef(This) (This)->lpVtbl->AddRef(This)
    305 #define ISnapinPropertiesCallback_Release(This) (This)->lpVtbl->Release(This)
    306 #define ISnapinPropertiesCallback_AddPropertyName(This,pszPropName,dwFlags) (This)->lpVtbl->AddPropertyName(This,pszPropName,dwFlags)
    307 #endif
    308 #endif
    309   HRESULT WINAPI ISnapinPropertiesCallback_AddPropertyName_Proxy(ISnapinPropertiesCallback *This,LPCOLESTR pszPropName,DWORD dwFlags);
    310   void __RPC_STUB ISnapinPropertiesCallback_AddPropertyName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    311 #endif
    312 
    313 #ifndef __MMC20_LIBRARY_DEFINED__
    314 #define __MMC20_LIBRARY_DEFINED__
    315   typedef enum DocumentMode {
    316     DocumentMode_Author = 0,DocumentMode_User,DocumentMode_User_MDI,DocumentMode_User_SDI
    317   } _DocumentMode;
    318 
    319   typedef enum DocumentMode DOCUMENTMODE;
    320   typedef enum DocumentMode *PDOCUMENTMODE;
    321   typedef enum DocumentMode **PPDOCUMENTMODE;
    322 
    323   typedef enum ListViewMode {
    324     ListMode_Small_Icons = 0,ListMode_Large_Icons,ListMode_List,ListMode_Detail,
    325     ListMode_Filtered
    326   } _ListViewMode;
    327 
    328   typedef enum ListViewMode LISTVIEWMODE;
    329   typedef enum ListViewMode *PLISTVIEWMODE;
    330   typedef enum ListViewMode **PPLISTVIEWMODE;
    331 
    332   typedef enum ViewOptions {
    333     ViewOption_Default = 0,ViewOption_ScopeTreeHidden = 0x1,ViewOption_NoToolBars = 0x2,ViewOption_NotPersistable = 0x4
    334   } _ViewOptions;
    335 
    336   typedef enum ViewOptions VIEWOPTIONS;
    337   typedef enum ViewOptions *PVIEWOPTIONS;
    338   typedef enum ViewOptions **PPVIEWOPTIONS;
    339 
    340   typedef enum ExportListOptions {
    341     ExportListOptions_Default = 0,ExportListOptions_Unicode = 0x1,ExportListOptions_TabDelimited = 0x2,ExportListOptions_SelectedItemsOnly = 0x4
    342   } _ExportListOptions;
    343 
    344   typedef enum ExportListOptions EXPORTLISTOPTIONS;
    345 
    346   EXTERN_C const IID LIBID_MMC20;
    347 #ifndef ___Application_INTERFACE_DEFINED__
    348 #define ___Application_INTERFACE_DEFINED__
    349   EXTERN_C const IID IID__Application;
    350 #if defined(__cplusplus) && !defined(CINTERFACE)
    351   struct _Application : public IDispatch {
    352   public:
    353     virtual void WINAPI Help(void) = 0;
    354     virtual void WINAPI Quit(void) = 0;
    355     virtual HRESULT WINAPI get_Document(PPDOCUMENT Document) = 0;
    356     virtual HRESULT WINAPI Load(BSTR Filename) = 0;
    357     virtual HRESULT WINAPI get_Frame(PPFRAME Frame) = 0;
    358     virtual HRESULT WINAPI get_Visible(PBOOL Visible) = 0;
    359     virtual HRESULT WINAPI Show(void) = 0;
    360     virtual HRESULT WINAPI Hide(void) = 0;
    361     virtual HRESULT WINAPI get_UserControl(PBOOL UserControl) = 0;
    362     virtual HRESULT WINAPI put_UserControl(WINBOOL UserControl) = 0;
    363     virtual HRESULT WINAPI get_VersionMajor(PLONG VersionMajor) = 0;
    364     virtual HRESULT WINAPI get_VersionMinor(PLONG VersionMinor) = 0;
    365   };
    366 #else
    367   typedef struct _ApplicationVtbl {
    368     BEGIN_INTERFACE
    369       HRESULT (WINAPI *QueryInterface)(_Application *This,REFIID riid,void **ppvObject);
    370       ULONG (WINAPI *AddRef)(_Application *This);
    371       ULONG (WINAPI *Release)(_Application *This);
    372       HRESULT (WINAPI *GetTypeInfoCount)(_Application *This,UINT *pctinfo);
    373       HRESULT (WINAPI *GetTypeInfo)(_Application *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    374       HRESULT (WINAPI *GetIDsOfNames)(_Application *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    375       HRESULT (WINAPI *Invoke)(_Application *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    376       void (WINAPI *Help)(_Application *This);
    377       void (WINAPI *Quit)(_Application *This);
    378       HRESULT (WINAPI *get_Document)(_Application *This,PPDOCUMENT Document);
    379       HRESULT (WINAPI *Load)(_Application *This,BSTR Filename);
    380       HRESULT (WINAPI *get_Frame)(_Application *This,PPFRAME Frame);
    381       HRESULT (WINAPI *get_Visible)(_Application *This,PBOOL Visible);
    382       HRESULT (WINAPI *Show)(_Application *This);
    383       HRESULT (WINAPI *Hide)(_Application *This);
    384       HRESULT (WINAPI *get_UserControl)(_Application *This,PBOOL UserControl);
    385       HRESULT (WINAPI *put_UserControl)(_Application *This,WINBOOL UserControl);
    386       HRESULT (WINAPI *get_VersionMajor)(_Application *This,PLONG VersionMajor);
    387       HRESULT (WINAPI *get_VersionMinor)(_Application *This,PLONG VersionMinor);
    388     END_INTERFACE
    389   } _ApplicationVtbl;
    390   struct _Application {
    391     CONST_VTBL struct _ApplicationVtbl *lpVtbl;
    392   };
    393 #ifdef COBJMACROS
    394 #define _Application_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    395 #define _Application_AddRef(This) (This)->lpVtbl->AddRef(This)
    396 #define _Application_Release(This) (This)->lpVtbl->Release(This)
    397 #define _Application_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    398 #define _Application_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    399 #define _Application_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    400 #define _Application_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    401 #define _Application_Help(This) (This)->lpVtbl->Help(This)
    402 #define _Application_Quit(This) (This)->lpVtbl->Quit(This)
    403 #define _Application_get_Document(This,Document) (This)->lpVtbl->get_Document(This,Document)
    404 #define _Application_Load(This,Filename) (This)->lpVtbl->Load(This,Filename)
    405 #define _Application_get_Frame(This,Frame) (This)->lpVtbl->get_Frame(This,Frame)
    406 #define _Application_get_Visible(This,Visible) (This)->lpVtbl->get_Visible(This,Visible)
    407 #define _Application_Show(This) (This)->lpVtbl->Show(This)
    408 #define _Application_Hide(This) (This)->lpVtbl->Hide(This)
    409 #define _Application_get_UserControl(This,UserControl) (This)->lpVtbl->get_UserControl(This,UserControl)
    410 #define _Application_put_UserControl(This,UserControl) (This)->lpVtbl->put_UserControl(This,UserControl)
    411 #define _Application_get_VersionMajor(This,VersionMajor) (This)->lpVtbl->get_VersionMajor(This,VersionMajor)
    412 #define _Application_get_VersionMinor(This,VersionMinor) (This)->lpVtbl->get_VersionMinor(This,VersionMinor)
    413 #endif
    414 #endif
    415   void WINAPI _Application_Help_Proxy(_Application *This);
    416   void __RPC_STUB _Application_Help_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    417   void WINAPI _Application_Quit_Proxy(_Application *This);
    418   void __RPC_STUB _Application_Quit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    419   HRESULT WINAPI _Application_get_Document_Proxy(_Application *This,PPDOCUMENT Document);
    420   void __RPC_STUB _Application_get_Document_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    421   HRESULT WINAPI _Application_Load_Proxy(_Application *This,BSTR Filename);
    422   void __RPC_STUB _Application_Load_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    423   HRESULT WINAPI _Application_get_Frame_Proxy(_Application *This,PPFRAME Frame);
    424   void __RPC_STUB _Application_get_Frame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    425   HRESULT WINAPI _Application_get_Visible_Proxy(_Application *This,PBOOL Visible);
    426   void __RPC_STUB _Application_get_Visible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    427   HRESULT WINAPI _Application_Show_Proxy(_Application *This);
    428   void __RPC_STUB _Application_Show_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    429   HRESULT WINAPI _Application_Hide_Proxy(_Application *This);
    430   void __RPC_STUB _Application_Hide_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    431   HRESULT WINAPI _Application_get_UserControl_Proxy(_Application *This,PBOOL UserControl);
    432   void __RPC_STUB _Application_get_UserControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    433   HRESULT WINAPI _Application_put_UserControl_Proxy(_Application *This,WINBOOL UserControl);
    434   void __RPC_STUB _Application_put_UserControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    435   HRESULT WINAPI _Application_get_VersionMajor_Proxy(_Application *This,PLONG VersionMajor);
    436   void __RPC_STUB _Application_get_VersionMajor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    437   HRESULT WINAPI _Application_get_VersionMinor_Proxy(_Application *This,PLONG VersionMinor);
    438   void __RPC_STUB _Application_get_VersionMinor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    439 #endif
    440 
    441 #ifndef ___AppEvents_INTERFACE_DEFINED__
    442 #define ___AppEvents_INTERFACE_DEFINED__
    443   EXTERN_C const IID IID__AppEvents;
    444 #if defined(__cplusplus) && !defined(CINTERFACE)
    445   struct _AppEvents : public IDispatch {
    446   public:
    447     virtual HRESULT WINAPI OnQuit(PAPPLICATION Application) = 0;
    448     virtual HRESULT WINAPI OnDocumentOpen(PDOCUMENT Document,WINBOOL New) = 0;
    449     virtual HRESULT WINAPI OnDocumentClose(PDOCUMENT Document) = 0;
    450     virtual HRESULT WINAPI OnSnapInAdded(PDOCUMENT Document,PSNAPIN SnapIn) = 0;
    451     virtual HRESULT WINAPI OnSnapInRemoved(PDOCUMENT Document,PSNAPIN SnapIn) = 0;
    452     virtual HRESULT WINAPI OnNewView(PVIEW View) = 0;
    453     virtual HRESULT WINAPI OnViewClose(PVIEW View) = 0;
    454     virtual HRESULT WINAPI OnViewChange(PVIEW View,PNODE NewOwnerNode) = 0;
    455     virtual HRESULT WINAPI OnSelectionChange(PVIEW View,PNODES NewNodes) = 0;
    456     virtual HRESULT WINAPI OnContextMenuExecuted(PMENUITEM MenuItem) = 0;
    457     virtual HRESULT WINAPI OnToolbarButtonClicked(void) = 0;
    458     virtual HRESULT WINAPI OnListUpdated(PVIEW View) = 0;
    459   };
    460 #else
    461   typedef struct _AppEventsVtbl {
    462     BEGIN_INTERFACE
    463       HRESULT (WINAPI *QueryInterface)(_AppEvents *This,REFIID riid,void **ppvObject);
    464       ULONG (WINAPI *AddRef)(_AppEvents *This);
    465       ULONG (WINAPI *Release)(_AppEvents *This);
    466       HRESULT (WINAPI *GetTypeInfoCount)(_AppEvents *This,UINT *pctinfo);
    467       HRESULT (WINAPI *GetTypeInfo)(_AppEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    468       HRESULT (WINAPI *GetIDsOfNames)(_AppEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    469       HRESULT (WINAPI *Invoke)(_AppEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    470       HRESULT (WINAPI *OnQuit)(_AppEvents *This,PAPPLICATION Application);
    471       HRESULT (WINAPI *OnDocumentOpen)(_AppEvents *This,PDOCUMENT Document,WINBOOL New);
    472       HRESULT (WINAPI *OnDocumentClose)(_AppEvents *This,PDOCUMENT Document);
    473       HRESULT (WINAPI *OnSnapInAdded)(_AppEvents *This,PDOCUMENT Document,PSNAPIN SnapIn);
    474       HRESULT (WINAPI *OnSnapInRemoved)(_AppEvents *This,PDOCUMENT Document,PSNAPIN SnapIn);
    475       HRESULT (WINAPI *OnNewView)(_AppEvents *This,PVIEW View);
    476       HRESULT (WINAPI *OnViewClose)(_AppEvents *This,PVIEW View);
    477       HRESULT (WINAPI *OnViewChange)(_AppEvents *This,PVIEW View,PNODE NewOwnerNode);
    478       HRESULT (WINAPI *OnSelectionChange)(_AppEvents *This,PVIEW View,PNODES NewNodes);
    479       HRESULT (WINAPI *OnContextMenuExecuted)(_AppEvents *This,PMENUITEM MenuItem);
    480       HRESULT (WINAPI *OnToolbarButtonClicked)(_AppEvents *This);
    481       HRESULT (WINAPI *OnListUpdated)(_AppEvents *This,PVIEW View);
    482     END_INTERFACE
    483   } _AppEventsVtbl;
    484   struct _AppEvents {
    485     CONST_VTBL struct _AppEventsVtbl *lpVtbl;
    486   };
    487 #ifdef COBJMACROS
    488 #define _AppEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    489 #define _AppEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
    490 #define _AppEvents_Release(This) (This)->lpVtbl->Release(This)
    491 #define _AppEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    492 #define _AppEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    493 #define _AppEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    494 #define _AppEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    495 #define _AppEvents_OnQuit(This,Application) (This)->lpVtbl->OnQuit(This,Application)
    496 #define _AppEvents_OnDocumentOpen(This,Document,New) (This)->lpVtbl->OnDocumentOpen(This,Document,New)
    497 #define _AppEvents_OnDocumentClose(This,Document) (This)->lpVtbl->OnDocumentClose(This,Document)
    498 #define _AppEvents_OnSnapInAdded(This,Document,SnapIn) (This)->lpVtbl->OnSnapInAdded(This,Document,SnapIn)
    499 #define _AppEvents_OnSnapInRemoved(This,Document,SnapIn) (This)->lpVtbl->OnSnapInRemoved(This,Document,SnapIn)
    500 #define _AppEvents_OnNewView(This,View) (This)->lpVtbl->OnNewView(This,View)
    501 #define _AppEvents_OnViewClose(This,View) (This)->lpVtbl->OnViewClose(This,View)
    502 #define _AppEvents_OnViewChange(This,View,NewOwnerNode) (This)->lpVtbl->OnViewChange(This,View,NewOwnerNode)
    503 #define _AppEvents_OnSelectionChange(This,View,NewNodes) (This)->lpVtbl->OnSelectionChange(This,View,NewNodes)
    504 #define _AppEvents_OnContextMenuExecuted(This,MenuItem) (This)->lpVtbl->OnContextMenuExecuted(This,MenuItem)
    505 #define _AppEvents_OnToolbarButtonClicked(This) (This)->lpVtbl->OnToolbarButtonClicked(This)
    506 #define _AppEvents_OnListUpdated(This,View) (This)->lpVtbl->OnListUpdated(This,View)
    507 #endif
    508 #endif
    509   HRESULT WINAPI _AppEvents_OnQuit_Proxy(_AppEvents *This,PAPPLICATION Application);
    510   void __RPC_STUB _AppEvents_OnQuit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    511   HRESULT WINAPI _AppEvents_OnDocumentOpen_Proxy(_AppEvents *This,PDOCUMENT Document,WINBOOL New);
    512   void __RPC_STUB _AppEvents_OnDocumentOpen_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    513   HRESULT WINAPI _AppEvents_OnDocumentClose_Proxy(_AppEvents *This,PDOCUMENT Document);
    514   void __RPC_STUB _AppEvents_OnDocumentClose_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    515   HRESULT WINAPI _AppEvents_OnSnapInAdded_Proxy(_AppEvents *This,PDOCUMENT Document,PSNAPIN SnapIn);
    516   void __RPC_STUB _AppEvents_OnSnapInAdded_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    517   HRESULT WINAPI _AppEvents_OnSnapInRemoved_Proxy(_AppEvents *This,PDOCUMENT Document,PSNAPIN SnapIn);
    518   void __RPC_STUB _AppEvents_OnSnapInRemoved_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    519   HRESULT WINAPI _AppEvents_OnNewView_Proxy(_AppEvents *This,PVIEW View);
    520   void __RPC_STUB _AppEvents_OnNewView_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    521   HRESULT WINAPI _AppEvents_OnViewClose_Proxy(_AppEvents *This,PVIEW View);
    522   void __RPC_STUB _AppEvents_OnViewClose_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    523   HRESULT WINAPI _AppEvents_OnViewChange_Proxy(_AppEvents *This,PVIEW View,PNODE NewOwnerNode);
    524   void __RPC_STUB _AppEvents_OnViewChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    525   HRESULT WINAPI _AppEvents_OnSelectionChange_Proxy(_AppEvents *This,PVIEW View,PNODES NewNodes);
    526   void __RPC_STUB _AppEvents_OnSelectionChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    527   HRESULT WINAPI _AppEvents_OnContextMenuExecuted_Proxy(_AppEvents *This,PMENUITEM MenuItem);
    528   void __RPC_STUB _AppEvents_OnContextMenuExecuted_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    529   HRESULT WINAPI _AppEvents_OnToolbarButtonClicked_Proxy(_AppEvents *This);
    530   void __RPC_STUB _AppEvents_OnToolbarButtonClicked_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    531   HRESULT WINAPI _AppEvents_OnListUpdated_Proxy(_AppEvents *This,PVIEW View);
    532   void __RPC_STUB _AppEvents_OnListUpdated_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    533 #endif
    534 
    535 #ifndef __AppEvents_DISPINTERFACE_DEFINED__
    536 #define __AppEvents_DISPINTERFACE_DEFINED__
    537   EXTERN_C const IID DIID_AppEvents;
    538 #if defined(__cplusplus) && !defined(CINTERFACE)
    539   struct AppEvents : public IDispatch {
    540   };
    541 #else
    542   typedef struct AppEventsVtbl {
    543     BEGIN_INTERFACE
    544       HRESULT (WINAPI *QueryInterface)(AppEvents *This,REFIID riid,void **ppvObject);
    545       ULONG (WINAPI *AddRef)(AppEvents *This);
    546       ULONG (WINAPI *Release)(AppEvents *This);
    547       HRESULT (WINAPI *GetTypeInfoCount)(AppEvents *This,UINT *pctinfo);
    548       HRESULT (WINAPI *GetTypeInfo)(AppEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    549       HRESULT (WINAPI *GetIDsOfNames)(AppEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    550       HRESULT (WINAPI *Invoke)(AppEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    551     END_INTERFACE
    552   } AppEventsVtbl;
    553   struct AppEvents {
    554     CONST_VTBL struct AppEventsVtbl *lpVtbl;
    555   };
    556 #ifdef COBJMACROS
    557 #define AppEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    558 #define AppEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
    559 #define AppEvents_Release(This) (This)->lpVtbl->Release(This)
    560 #define AppEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    561 #define AppEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    562 #define AppEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    563 #define AppEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    564 #endif
    565 #endif
    566 #endif
    567   EXTERN_C const CLSID CLSID_Application;
    568 #ifdef __cplusplus
    569   class Application;
    570 #endif
    571 
    572 #ifndef ___EventConnector_INTERFACE_DEFINED__
    573 #define ___EventConnector_INTERFACE_DEFINED__
    574   EXTERN_C const IID IID__EventConnector;
    575 #if defined(__cplusplus) && !defined(CINTERFACE)
    576   struct _EventConnector : public IDispatch {
    577   public:
    578     virtual HRESULT WINAPI ConnectTo(PAPPLICATION Application) = 0;
    579     virtual HRESULT WINAPI Disconnect(void) = 0;
    580   };
    581 #else
    582   typedef struct _EventConnectorVtbl {
    583     BEGIN_INTERFACE
    584       HRESULT (WINAPI *QueryInterface)(_EventConnector *This,REFIID riid,void **ppvObject);
    585       ULONG (WINAPI *AddRef)(_EventConnector *This);
    586       ULONG (WINAPI *Release)(_EventConnector *This);
    587       HRESULT (WINAPI *GetTypeInfoCount)(_EventConnector *This,UINT *pctinfo);
    588       HRESULT (WINAPI *GetTypeInfo)(_EventConnector *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    589       HRESULT (WINAPI *GetIDsOfNames)(_EventConnector *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    590       HRESULT (WINAPI *Invoke)(_EventConnector *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    591       HRESULT (WINAPI *ConnectTo)(_EventConnector *This,PAPPLICATION Application);
    592       HRESULT (WINAPI *Disconnect)(_EventConnector *This);
    593     END_INTERFACE
    594   } _EventConnectorVtbl;
    595   struct _EventConnector {
    596     CONST_VTBL struct _EventConnectorVtbl *lpVtbl;
    597   };
    598 #ifdef COBJMACROS
    599 #define _EventConnector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    600 #define _EventConnector_AddRef(This) (This)->lpVtbl->AddRef(This)
    601 #define _EventConnector_Release(This) (This)->lpVtbl->Release(This)
    602 #define _EventConnector_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    603 #define _EventConnector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    604 #define _EventConnector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    605 #define _EventConnector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    606 #define _EventConnector_ConnectTo(This,Application) (This)->lpVtbl->ConnectTo(This,Application)
    607 #define _EventConnector_Disconnect(This) (This)->lpVtbl->Disconnect(This)
    608 #endif
    609 #endif
    610   HRESULT WINAPI _EventConnector_ConnectTo_Proxy(_EventConnector *This,PAPPLICATION Application);
    611   void __RPC_STUB _EventConnector_ConnectTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    612   HRESULT WINAPI _EventConnector_Disconnect_Proxy(_EventConnector *This);
    613   void __RPC_STUB _EventConnector_Disconnect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    614 #endif
    615 
    616   EXTERN_C const CLSID CLSID_AppEventsDHTMLConnector;
    617 #ifdef __cplusplus
    618   class AppEventsDHTMLConnector;
    619 #endif
    620 
    621 #ifndef __Frame_INTERFACE_DEFINED__
    622 #define __Frame_INTERFACE_DEFINED__
    623   EXTERN_C const IID IID_Frame;
    624 #if defined(__cplusplus) && !defined(CINTERFACE)
    625   struct Frame : public IDispatch {
    626   public:
    627     virtual HRESULT WINAPI Maximize(void) = 0;
    628     virtual HRESULT WINAPI Minimize(void) = 0;
    629     virtual HRESULT WINAPI Restore(void) = 0;
    630     virtual HRESULT WINAPI get_Top(PINT Top) = 0;
    631     virtual HRESULT WINAPI put_Top(int top) = 0;
    632     virtual HRESULT WINAPI get_Bottom(PINT Bottom) = 0;
    633     virtual HRESULT WINAPI put_Bottom(int bottom) = 0;
    634     virtual HRESULT WINAPI get_Left(PINT Left) = 0;
    635     virtual HRESULT WINAPI put_Left(int left) = 0;
    636     virtual HRESULT WINAPI get_Right(PINT Right) = 0;
    637     virtual HRESULT WINAPI put_Right(int right) = 0;
    638   };
    639 #else
    640   typedef struct FrameVtbl {
    641     BEGIN_INTERFACE
    642       HRESULT (WINAPI *QueryInterface)(Frame *This,REFIID riid,void **ppvObject);
    643       ULONG (WINAPI *AddRef)(Frame *This);
    644       ULONG (WINAPI *Release)(Frame *This);
    645       HRESULT (WINAPI *GetTypeInfoCount)(Frame *This,UINT *pctinfo);
    646       HRESULT (WINAPI *GetTypeInfo)(Frame *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    647       HRESULT (WINAPI *GetIDsOfNames)(Frame *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    648       HRESULT (WINAPI *Invoke)(Frame *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    649       HRESULT (WINAPI *Maximize)(Frame *This);
    650       HRESULT (WINAPI *Minimize)(Frame *This);
    651       HRESULT (WINAPI *Restore)(Frame *This);
    652       HRESULT (WINAPI *get_Top)(Frame *This,PINT Top);
    653       HRESULT (WINAPI *put_Top)(Frame *This,int top);
    654       HRESULT (WINAPI *get_Bottom)(Frame *This,PINT Bottom);
    655       HRESULT (WINAPI *put_Bottom)(Frame *This,int bottom);
    656       HRESULT (WINAPI *get_Left)(Frame *This,PINT Left);
    657       HRESULT (WINAPI *put_Left)(Frame *This,int left);
    658       HRESULT (WINAPI *get_Right)(Frame *This,PINT Right);
    659       HRESULT (WINAPI *put_Right)(Frame *This,int right);
    660     END_INTERFACE
    661   } FrameVtbl;
    662   struct Frame {
    663     CONST_VTBL struct FrameVtbl *lpVtbl;
    664   };
    665 #ifdef COBJMACROS
    666 #define Frame_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    667 #define Frame_AddRef(This) (This)->lpVtbl->AddRef(This)
    668 #define Frame_Release(This) (This)->lpVtbl->Release(This)
    669 #define Frame_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    670 #define Frame_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    671 #define Frame_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    672 #define Frame_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    673 #define Frame_Maximize(This) (This)->lpVtbl->Maximize(This)
    674 #define Frame_Minimize(This) (This)->lpVtbl->Minimize(This)
    675 #define Frame_Restore(This) (This)->lpVtbl->Restore(This)
    676 #define Frame_get_Top(This,Top) (This)->lpVtbl->get_Top(This,Top)
    677 #define Frame_put_Top(This,top) (This)->lpVtbl->put_Top(This,top)
    678 #define Frame_get_Bottom(This,Bottom) (This)->lpVtbl->get_Bottom(This,Bottom)
    679 #define Frame_put_Bottom(This,bottom) (This)->lpVtbl->put_Bottom(This,bottom)
    680 #define Frame_get_Left(This,Left) (This)->lpVtbl->get_Left(This,Left)
    681 #define Frame_put_Left(This,left) (This)->lpVtbl->put_Left(This,left)
    682 #define Frame_get_Right(This,Right) (This)->lpVtbl->get_Right(This,Right)
    683 #define Frame_put_Right(This,right) (This)->lpVtbl->put_Right(This,right)
    684 #endif
    685 #endif
    686   HRESULT WINAPI Frame_Maximize_Proxy(Frame *This);
    687   void __RPC_STUB Frame_Maximize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    688   HRESULT WINAPI Frame_Minimize_Proxy(Frame *This);
    689   void __RPC_STUB Frame_Minimize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    690   HRESULT WINAPI Frame_Restore_Proxy(Frame *This);
    691   void __RPC_STUB Frame_Restore_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    692   HRESULT WINAPI Frame_get_Top_Proxy(Frame *This,PINT Top);
    693   void __RPC_STUB Frame_get_Top_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    694   HRESULT WINAPI Frame_put_Top_Proxy(Frame *This,int top);
    695   void __RPC_STUB Frame_put_Top_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    696   HRESULT WINAPI Frame_get_Bottom_Proxy(Frame *This,PINT Bottom);
    697   void __RPC_STUB Frame_get_Bottom_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    698   HRESULT WINAPI Frame_put_Bottom_Proxy(Frame *This,int bottom);
    699   void __RPC_STUB Frame_put_Bottom_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    700   HRESULT WINAPI Frame_get_Left_Proxy(Frame *This,PINT Left);
    701   void __RPC_STUB Frame_get_Left_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    702   HRESULT WINAPI Frame_put_Left_Proxy(Frame *This,int left);
    703   void __RPC_STUB Frame_put_Left_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    704   HRESULT WINAPI Frame_get_Right_Proxy(Frame *This,PINT Right);
    705   void __RPC_STUB Frame_get_Right_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    706   HRESULT WINAPI Frame_put_Right_Proxy(Frame *This,int right);
    707   void __RPC_STUB Frame_put_Right_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    708 #endif
    709 
    710 #ifndef __Node_INTERFACE_DEFINED__
    711 #define __Node_INTERFACE_DEFINED__
    712   EXTERN_C const IID IID_Node;
    713 #if defined(__cplusplus) && !defined(CINTERFACE)
    714   struct Node : public IDispatch {
    715   public:
    716     virtual HRESULT WINAPI get_Name(PBSTR Name) = 0;
    717     virtual HRESULT WINAPI get_Property(BSTR PropertyName,PBSTR PropertyValue) = 0;
    718     virtual HRESULT WINAPI get_Bookmark(PBSTR Bookmark) = 0;
    719     virtual HRESULT WINAPI IsScopeNode(PBOOL IsScopeNode) = 0;
    720     virtual HRESULT WINAPI get_Nodetype(PBSTR Nodetype) = 0;
    721   };
    722 #else
    723   typedef struct NodeVtbl {
    724     BEGIN_INTERFACE
    725       HRESULT (WINAPI *QueryInterface)(Node *This,REFIID riid,void **ppvObject);
    726       ULONG (WINAPI *AddRef)(Node *This);
    727       ULONG (WINAPI *Release)(Node *This);
    728       HRESULT (WINAPI *GetTypeInfoCount)(Node *This,UINT *pctinfo);
    729       HRESULT (WINAPI *GetTypeInfo)(Node *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    730       HRESULT (WINAPI *GetIDsOfNames)(Node *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    731       HRESULT (WINAPI *Invoke)(Node *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    732       HRESULT (WINAPI *get_Name)(Node *This,PBSTR Name);
    733       HRESULT (WINAPI *get_Property)(Node *This,BSTR PropertyName,PBSTR PropertyValue);
    734       HRESULT (WINAPI *get_Bookmark)(Node *This,PBSTR Bookmark);
    735       HRESULT (WINAPI *IsScopeNode)(Node *This,PBOOL IsScopeNode);
    736       HRESULT (WINAPI *get_Nodetype)(Node *This,PBSTR Nodetype);
    737     END_INTERFACE
    738   } NodeVtbl;
    739   struct Node {
    740     CONST_VTBL struct NodeVtbl *lpVtbl;
    741   };
    742 #ifdef COBJMACROS
    743 #define Node_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    744 #define Node_AddRef(This) (This)->lpVtbl->AddRef(This)
    745 #define Node_Release(This) (This)->lpVtbl->Release(This)
    746 #define Node_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    747 #define Node_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    748 #define Node_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    749 #define Node_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    750 #define Node_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name)
    751 #define Node_get_Property(This,PropertyName,PropertyValue) (This)->lpVtbl->get_Property(This,PropertyName,PropertyValue)
    752 #define Node_get_Bookmark(This,Bookmark) (This)->lpVtbl->get_Bookmark(This,Bookmark)
    753 #define Node_IsScopeNode(This,IsScopeNode) (This)->lpVtbl->IsScopeNode(This,IsScopeNode)
    754 #define Node_get_Nodetype(This,Nodetype) (This)->lpVtbl->get_Nodetype(This,Nodetype)
    755 #endif
    756 #endif
    757   HRESULT WINAPI Node_get_Name_Proxy(Node *This,PBSTR Name);
    758   void __RPC_STUB Node_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    759   HRESULT WINAPI Node_get_Property_Proxy(Node *This,BSTR PropertyName,PBSTR PropertyValue);
    760   void __RPC_STUB Node_get_Property_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    761   HRESULT WINAPI Node_get_Bookmark_Proxy(Node *This,PBSTR Bookmark);
    762   void __RPC_STUB Node_get_Bookmark_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    763   HRESULT WINAPI Node_IsScopeNode_Proxy(Node *This,PBOOL IsScopeNode);
    764   void __RPC_STUB Node_IsScopeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    765   HRESULT WINAPI Node_get_Nodetype_Proxy(Node *This,PBSTR Nodetype);
    766   void __RPC_STUB Node_get_Nodetype_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    767 #endif
    768 
    769 #ifndef __ScopeNamespace_INTERFACE_DEFINED__
    770 #define __ScopeNamespace_INTERFACE_DEFINED__
    771   EXTERN_C const IID IID_ScopeNamespace;
    772 #if defined(__cplusplus) && !defined(CINTERFACE)
    773   struct ScopeNamespace : public IDispatch {
    774   public:
    775     virtual HRESULT WINAPI GetParent(PNODE Node,PPNODE Parent) = 0;
    776     virtual HRESULT WINAPI GetChild(PNODE Node,PPNODE Child) = 0;
    777     virtual HRESULT WINAPI GetNext(PNODE Node,PPNODE Next) = 0;
    778     virtual HRESULT WINAPI GetRoot(PPNODE Root) = 0;
    779     virtual HRESULT WINAPI Expand(PNODE Node) = 0;
    780   };
    781 #else
    782   typedef struct ScopeNamespaceVtbl {
    783     BEGIN_INTERFACE
    784       HRESULT (WINAPI *QueryInterface)(ScopeNamespace *This,REFIID riid,void **ppvObject);
    785       ULONG (WINAPI *AddRef)(ScopeNamespace *This);
    786       ULONG (WINAPI *Release)(ScopeNamespace *This);
    787       HRESULT (WINAPI *GetTypeInfoCount)(ScopeNamespace *This,UINT *pctinfo);
    788       HRESULT (WINAPI *GetTypeInfo)(ScopeNamespace *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    789       HRESULT (WINAPI *GetIDsOfNames)(ScopeNamespace *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    790       HRESULT (WINAPI *Invoke)(ScopeNamespace *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    791       HRESULT (WINAPI *GetParent)(ScopeNamespace *This,PNODE Node,PPNODE Parent);
    792       HRESULT (WINAPI *GetChild)(ScopeNamespace *This,PNODE Node,PPNODE Child);
    793       HRESULT (WINAPI *GetNext)(ScopeNamespace *This,PNODE Node,PPNODE Next);
    794       HRESULT (WINAPI *GetRoot)(ScopeNamespace *This,PPNODE Root);
    795       HRESULT (WINAPI *Expand)(ScopeNamespace *This,PNODE Node);
    796     END_INTERFACE
    797   } ScopeNamespaceVtbl;
    798   struct ScopeNamespace {
    799     CONST_VTBL struct ScopeNamespaceVtbl *lpVtbl;
    800   };
    801 #ifdef COBJMACROS
    802 #define ScopeNamespace_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    803 #define ScopeNamespace_AddRef(This) (This)->lpVtbl->AddRef(This)
    804 #define ScopeNamespace_Release(This) (This)->lpVtbl->Release(This)
    805 #define ScopeNamespace_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    806 #define ScopeNamespace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    807 #define ScopeNamespace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    808 #define ScopeNamespace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    809 #define ScopeNamespace_GetParent(This,Node,Parent) (This)->lpVtbl->GetParent(This,Node,Parent)
    810 #define ScopeNamespace_GetChild(This,Node,Child) (This)->lpVtbl->GetChild(This,Node,Child)
    811 #define ScopeNamespace_GetNext(This,Node,Next) (This)->lpVtbl->GetNext(This,Node,Next)
    812 #define ScopeNamespace_GetRoot(This,Root) (This)->lpVtbl->GetRoot(This,Root)
    813 #define ScopeNamespace_Expand(This,Node) (This)->lpVtbl->Expand(This,Node)
    814 #endif
    815 #endif
    816   HRESULT WINAPI ScopeNamespace_GetParent_Proxy(ScopeNamespace *This,PNODE Node,PPNODE Parent);
    817   void __RPC_STUB ScopeNamespace_GetParent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    818   HRESULT WINAPI ScopeNamespace_GetChild_Proxy(ScopeNamespace *This,PNODE Node,PPNODE Child);
    819   void __RPC_STUB ScopeNamespace_GetChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    820   HRESULT WINAPI ScopeNamespace_GetNext_Proxy(ScopeNamespace *This,PNODE Node,PPNODE Next);
    821   void __RPC_STUB ScopeNamespace_GetNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    822   HRESULT WINAPI ScopeNamespace_GetRoot_Proxy(ScopeNamespace *This,PPNODE Root);
    823   void __RPC_STUB ScopeNamespace_GetRoot_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    824   HRESULT WINAPI ScopeNamespace_Expand_Proxy(ScopeNamespace *This,PNODE Node);
    825   void __RPC_STUB ScopeNamespace_Expand_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    826 #endif
    827 
    828 #ifndef __Document_INTERFACE_DEFINED__
    829 #define __Document_INTERFACE_DEFINED__
    830   EXTERN_C const IID IID_Document;
    831 #if defined(__cplusplus) && !defined(CINTERFACE)
    832   struct Document : public IDispatch {
    833   public:
    834     virtual HRESULT WINAPI Save(void) = 0;
    835     virtual HRESULT WINAPI SaveAs(BSTR Filename) = 0;
    836     virtual HRESULT WINAPI Close(WINBOOL SaveChanges) = 0;
    837     virtual HRESULT WINAPI get_Views(PPVIEWS Views) = 0;
    838     virtual HRESULT WINAPI get_SnapIns(PPSNAPINS SnapIns) = 0;
    839     virtual HRESULT WINAPI get_ActiveView(PPVIEW View) = 0;
    840     virtual HRESULT WINAPI get_Name(PBSTR Name) = 0;
    841     virtual HRESULT WINAPI put_Name(BSTR Name) = 0;
    842     virtual HRESULT WINAPI get_Location(PBSTR Location) = 0;
    843     virtual HRESULT WINAPI get_IsSaved(PBOOL IsSaved) = 0;
    844     virtual HRESULT WINAPI get_Mode(PDOCUMENTMODE Mode) = 0;
    845     virtual HRESULT WINAPI put_Mode(DOCUMENTMODE Mode) = 0;
    846     virtual HRESULT WINAPI get_RootNode(PPNODE Node) = 0;
    847     virtual HRESULT WINAPI get_ScopeNamespace(PPSCOPENAMESPACE ScopeNamespace) = 0;
    848     virtual HRESULT WINAPI CreateProperties(PPPROPERTIES Properties) = 0;
    849     virtual HRESULT WINAPI get_Application(PPAPPLICATION Application) = 0;
    850   };
    851 #else
    852   typedef struct DocumentVtbl {
    853     BEGIN_INTERFACE
    854       HRESULT (WINAPI *QueryInterface)(Document *This,REFIID riid,void **ppvObject);
    855       ULONG (WINAPI *AddRef)(Document *This);
    856       ULONG (WINAPI *Release)(Document *This);
    857       HRESULT (WINAPI *GetTypeInfoCount)(Document *This,UINT *pctinfo);
    858       HRESULT (WINAPI *GetTypeInfo)(Document *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    859       HRESULT (WINAPI *GetIDsOfNames)(Document *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    860       HRESULT (WINAPI *Invoke)(Document *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    861       HRESULT (WINAPI *Save)(Document *This);
    862       HRESULT (WINAPI *SaveAs)(Document *This,BSTR Filename);
    863       HRESULT (WINAPI *Close)(Document *This,WINBOOL SaveChanges);
    864       HRESULT (WINAPI *get_Views)(Document *This,PPVIEWS Views);
    865       HRESULT (WINAPI *get_SnapIns)(Document *This,PPSNAPINS SnapIns);
    866       HRESULT (WINAPI *get_ActiveView)(Document *This,PPVIEW View);
    867       HRESULT (WINAPI *get_Name)(Document *This,PBSTR Name);
    868       HRESULT (WINAPI *put_Name)(Document *This,BSTR Name);
    869       HRESULT (WINAPI *get_Location)(Document *This,PBSTR Location);
    870       HRESULT (WINAPI *get_IsSaved)(Document *This,PBOOL IsSaved);
    871       HRESULT (WINAPI *get_Mode)(Document *This,PDOCUMENTMODE Mode);
    872       HRESULT (WINAPI *put_Mode)(Document *This,DOCUMENTMODE Mode);
    873       HRESULT (WINAPI *get_RootNode)(Document *This,PPNODE Node);
    874       HRESULT (WINAPI *get_ScopeNamespace)(Document *This,PPSCOPENAMESPACE ScopeNamespace);
    875       HRESULT (WINAPI *CreateProperties)(Document *This,PPPROPERTIES Properties);
    876       HRESULT (WINAPI *get_Application)(Document *This,PPAPPLICATION Application);
    877     END_INTERFACE
    878   } DocumentVtbl;
    879   struct Document {
    880     CONST_VTBL struct DocumentVtbl *lpVtbl;
    881   };
    882 #ifdef COBJMACROS
    883 #define Document_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    884 #define Document_AddRef(This) (This)->lpVtbl->AddRef(This)
    885 #define Document_Release(This) (This)->lpVtbl->Release(This)
    886 #define Document_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    887 #define Document_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    888 #define Document_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    889 #define Document_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    890 #define Document_Save(This) (This)->lpVtbl->Save(This)
    891 #define Document_SaveAs(This,Filename) (This)->lpVtbl->SaveAs(This,Filename)
    892 #define Document_Close(This,SaveChanges) (This)->lpVtbl->Close(This,SaveChanges)
    893 #define Document_get_Views(This,Views) (This)->lpVtbl->get_Views(This,Views)
    894 #define Document_get_SnapIns(This,SnapIns) (This)->lpVtbl->get_SnapIns(This,SnapIns)
    895 #define Document_get_ActiveView(This,View) (This)->lpVtbl->get_ActiveView(This,View)
    896 #define Document_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name)
    897 #define Document_put_Name(This,Name) (This)->lpVtbl->put_Name(This,Name)
    898 #define Document_get_Location(This,Location) (This)->lpVtbl->get_Location(This,Location)
    899 #define Document_get_IsSaved(This,IsSaved) (This)->lpVtbl->get_IsSaved(This,IsSaved)
    900 #define Document_get_Mode(This,Mode) (This)->lpVtbl->get_Mode(This,Mode)
    901 #define Document_put_Mode(This,Mode) (This)->lpVtbl->put_Mode(This,Mode)
    902 #define Document_get_RootNode(This,Node) (This)->lpVtbl->get_RootNode(This,Node)
    903 #define Document_get_ScopeNamespace(This,ScopeNamespace) (This)->lpVtbl->get_ScopeNamespace(This,ScopeNamespace)
    904 #define Document_CreateProperties(This,Properties) (This)->lpVtbl->CreateProperties(This,Properties)
    905 #define Document_get_Application(This,Application) (This)->lpVtbl->get_Application(This,Application)
    906 #endif
    907 #endif
    908   HRESULT WINAPI Document_Save_Proxy(Document *This);
    909   void __RPC_STUB Document_Save_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    910   HRESULT WINAPI Document_SaveAs_Proxy(Document *This,BSTR Filename);
    911   void __RPC_STUB Document_SaveAs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    912   HRESULT WINAPI Document_Close_Proxy(Document *This,WINBOOL SaveChanges);
    913   void __RPC_STUB Document_Close_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    914   HRESULT WINAPI Document_get_Views_Proxy(Document *This,PPVIEWS Views);
    915   void __RPC_STUB Document_get_Views_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    916   HRESULT WINAPI Document_get_SnapIns_Proxy(Document *This,PPSNAPINS SnapIns);
    917   void __RPC_STUB Document_get_SnapIns_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    918   HRESULT WINAPI Document_get_ActiveView_Proxy(Document *This,PPVIEW View);
    919   void __RPC_STUB Document_get_ActiveView_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    920   HRESULT WINAPI Document_get_Name_Proxy(Document *This,PBSTR Name);
    921   void __RPC_STUB Document_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    922   HRESULT WINAPI Document_put_Name_Proxy(Document *This,BSTR Name);
    923   void __RPC_STUB Document_put_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    924   HRESULT WINAPI Document_get_Location_Proxy(Document *This,PBSTR Location);
    925   void __RPC_STUB Document_get_Location_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    926   HRESULT WINAPI Document_get_IsSaved_Proxy(Document *This,PBOOL IsSaved);
    927   void __RPC_STUB Document_get_IsSaved_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    928   HRESULT WINAPI Document_get_Mode_Proxy(Document *This,PDOCUMENTMODE Mode);
    929   void __RPC_STUB Document_get_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    930   HRESULT WINAPI Document_put_Mode_Proxy(Document *This,DOCUMENTMODE Mode);
    931   void __RPC_STUB Document_put_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    932   HRESULT WINAPI Document_get_RootNode_Proxy(Document *This,PPNODE Node);
    933   void __RPC_STUB Document_get_RootNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    934   HRESULT WINAPI Document_get_ScopeNamespace_Proxy(Document *This,PPSCOPENAMESPACE ScopeNamespace);
    935   void __RPC_STUB Document_get_ScopeNamespace_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    936   HRESULT WINAPI Document_CreateProperties_Proxy(Document *This,PPPROPERTIES Properties);
    937   void __RPC_STUB Document_CreateProperties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    938   HRESULT WINAPI Document_get_Application_Proxy(Document *This,PPAPPLICATION Application);
    939   void __RPC_STUB Document_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    940 #endif
    941 
    942 #ifndef __SnapIn_INTERFACE_DEFINED__
    943 #define __SnapIn_INTERFACE_DEFINED__
    944   EXTERN_C const IID IID_SnapIn;
    945 #if defined(__cplusplus) && !defined(CINTERFACE)
    946   struct SnapIn : public IDispatch {
    947   public:
    948     virtual HRESULT WINAPI get_Name(PBSTR Name) = 0;
    949     virtual HRESULT WINAPI get_Vendor(PBSTR Vendor) = 0;
    950     virtual HRESULT WINAPI get_Version(PBSTR Version) = 0;
    951     virtual HRESULT WINAPI get_Extensions(PPEXTENSIONS Extensions) = 0;
    952     virtual HRESULT WINAPI get_SnapinCLSID(PBSTR SnapinCLSID) = 0;
    953     virtual HRESULT WINAPI get_Properties(PPPROPERTIES Properties) = 0;
    954     virtual HRESULT WINAPI EnableAllExtensions(WINBOOL Enable) = 0;
    955   };
    956 #else
    957   typedef struct SnapInVtbl {
    958     BEGIN_INTERFACE
    959       HRESULT (WINAPI *QueryInterface)(SnapIn *This,REFIID riid,void **ppvObject);
    960       ULONG (WINAPI *AddRef)(SnapIn *This);
    961       ULONG (WINAPI *Release)(SnapIn *This);
    962       HRESULT (WINAPI *GetTypeInfoCount)(SnapIn *This,UINT *pctinfo);
    963       HRESULT (WINAPI *GetTypeInfo)(SnapIn *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    964       HRESULT (WINAPI *GetIDsOfNames)(SnapIn *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    965       HRESULT (WINAPI *Invoke)(SnapIn *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    966       HRESULT (WINAPI *get_Name)(SnapIn *This,PBSTR Name);
    967       HRESULT (WINAPI *get_Vendor)(SnapIn *This,PBSTR Vendor);
    968       HRESULT (WINAPI *get_Version)(SnapIn *This,PBSTR Version);
    969       HRESULT (WINAPI *get_Extensions)(SnapIn *This,PPEXTENSIONS Extensions);
    970       HRESULT (WINAPI *get_SnapinCLSID)(SnapIn *This,PBSTR SnapinCLSID);
    971       HRESULT (WINAPI *get_Properties)(SnapIn *This,PPPROPERTIES Properties);
    972       HRESULT (WINAPI *EnableAllExtensions)(SnapIn *This,WINBOOL Enable);
    973     END_INTERFACE
    974   } SnapInVtbl;
    975   struct SnapIn {
    976     CONST_VTBL struct SnapInVtbl *lpVtbl;
    977   };
    978 #ifdef COBJMACROS
    979 #define SnapIn_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    980 #define SnapIn_AddRef(This) (This)->lpVtbl->AddRef(This)
    981 #define SnapIn_Release(This) (This)->lpVtbl->Release(This)
    982 #define SnapIn_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    983 #define SnapIn_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    984 #define SnapIn_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    985 #define SnapIn_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    986 #define SnapIn_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name)
    987 #define SnapIn_get_Vendor(This,Vendor) (This)->lpVtbl->get_Vendor(This,Vendor)
    988 #define SnapIn_get_Version(This,Version) (This)->lpVtbl->get_Version(This,Version)
    989 #define SnapIn_get_Extensions(This,Extensions) (This)->lpVtbl->get_Extensions(This,Extensions)
    990 #define SnapIn_get_SnapinCLSID(This,SnapinCLSID) (This)->lpVtbl->get_SnapinCLSID(This,SnapinCLSID)
    991 #define SnapIn_get_Properties(This,Properties) (This)->lpVtbl->get_Properties(This,Properties)
    992 #define SnapIn_EnableAllExtensions(This,Enable) (This)->lpVtbl->EnableAllExtensions(This,Enable)
    993 #endif
    994 #endif
    995   HRESULT WINAPI SnapIn_get_Name_Proxy(SnapIn *This,PBSTR Name);
    996   void __RPC_STUB SnapIn_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    997   HRESULT WINAPI SnapIn_get_Vendor_Proxy(SnapIn *This,PBSTR Vendor);
    998   void __RPC_STUB SnapIn_get_Vendor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    999   HRESULT WINAPI SnapIn_get_Version_Proxy(SnapIn *This,PBSTR Version);
   1000   void __RPC_STUB SnapIn_get_Version_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1001   HRESULT WINAPI SnapIn_get_Extensions_Proxy(SnapIn *This,PPEXTENSIONS Extensions);
   1002   void __RPC_STUB SnapIn_get_Extensions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1003   HRESULT WINAPI SnapIn_get_SnapinCLSID_Proxy(SnapIn *This,PBSTR SnapinCLSID);
   1004   void __RPC_STUB SnapIn_get_SnapinCLSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1005   HRESULT WINAPI SnapIn_get_Properties_Proxy(SnapIn *This,PPPROPERTIES Properties);
   1006   void __RPC_STUB SnapIn_get_Properties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1007   HRESULT WINAPI SnapIn_EnableAllExtensions_Proxy(SnapIn *This,WINBOOL Enable);
   1008   void __RPC_STUB SnapIn_EnableAllExtensions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1009 #endif
   1010 
   1011 #ifndef __SnapIns_INTERFACE_DEFINED__
   1012 #define __SnapIns_INTERFACE_DEFINED__
   1013   EXTERN_C const IID IID_SnapIns;
   1014 #if defined(__cplusplus) && !defined(CINTERFACE)
   1015   struct SnapIns : public IDispatch {
   1016   public:
   1017     virtual HRESULT WINAPI get__NewEnum(IUnknown **retval) = 0;
   1018     virtual HRESULT WINAPI Item(__LONG32 Index,PPSNAPIN SnapIn) = 0;
   1019     virtual HRESULT WINAPI get_Count(PLONG Count) = 0;
   1020     virtual HRESULT WINAPI Add(BSTR SnapinNameOrCLSID,VARIANT ParentSnapin,VARIANT Properties,PPSNAPIN SnapIn) = 0;
   1021     virtual HRESULT WINAPI Remove(PSNAPIN SnapIn) = 0;
   1022   };
   1023 #else
   1024   typedef struct SnapInsVtbl {
   1025     BEGIN_INTERFACE
   1026       HRESULT (WINAPI *QueryInterface)(SnapIns *This,REFIID riid,void **ppvObject);
   1027       ULONG (WINAPI *AddRef)(SnapIns *This);
   1028       ULONG (WINAPI *Release)(SnapIns *This);
   1029       HRESULT (WINAPI *GetTypeInfoCount)(SnapIns *This,UINT *pctinfo);
   1030       HRESULT (WINAPI *GetTypeInfo)(SnapIns *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1031       HRESULT (WINAPI *GetIDsOfNames)(SnapIns *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1032       HRESULT (WINAPI *Invoke)(SnapIns *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1033       HRESULT (WINAPI *get__NewEnum)(SnapIns *This,IUnknown **retval);
   1034       HRESULT (WINAPI *Item)(SnapIns *This,__LONG32 Index,PPSNAPIN SnapIn);
   1035       HRESULT (WINAPI *get_Count)(SnapIns *This,PLONG Count);
   1036       HRESULT (WINAPI *Add)(SnapIns *This,BSTR SnapinNameOrCLSID,VARIANT ParentSnapin,VARIANT Properties,PPSNAPIN SnapIn);
   1037       HRESULT (WINAPI *Remove)(SnapIns *This,PSNAPIN SnapIn);
   1038     END_INTERFACE
   1039   } SnapInsVtbl;
   1040   struct SnapIns {
   1041     CONST_VTBL struct SnapInsVtbl *lpVtbl;
   1042   };
   1043 #ifdef COBJMACROS
   1044 #define SnapIns_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1045 #define SnapIns_AddRef(This) (This)->lpVtbl->AddRef(This)
   1046 #define SnapIns_Release(This) (This)->lpVtbl->Release(This)
   1047 #define SnapIns_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1048 #define SnapIns_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1049 #define SnapIns_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1050 #define SnapIns_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1051 #define SnapIns_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
   1052 #define SnapIns_Item(This,Index,SnapIn) (This)->lpVtbl->Item(This,Index,SnapIn)
   1053 #define SnapIns_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count)
   1054 #define SnapIns_Add(This,SnapinNameOrCLSID,ParentSnapin,Properties,SnapIn) (This)->lpVtbl->Add(This,SnapinNameOrCLSID,ParentSnapin,Properties,SnapIn)
   1055 #define SnapIns_Remove(This,SnapIn) (This)->lpVtbl->Remove(This,SnapIn)
   1056 #endif
   1057 #endif
   1058   HRESULT WINAPI SnapIns_get__NewEnum_Proxy(SnapIns *This,IUnknown **retval);
   1059   void __RPC_STUB SnapIns_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1060   HRESULT WINAPI SnapIns_Item_Proxy(SnapIns *This,__LONG32 Index,PPSNAPIN SnapIn);
   1061   void __RPC_STUB SnapIns_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1062   HRESULT WINAPI SnapIns_get_Count_Proxy(SnapIns *This,PLONG Count);
   1063   void __RPC_STUB SnapIns_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1064   HRESULT WINAPI SnapIns_Add_Proxy(SnapIns *This,BSTR SnapinNameOrCLSID,VARIANT ParentSnapin,VARIANT Properties,PPSNAPIN SnapIn);
   1065   void __RPC_STUB SnapIns_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1066   HRESULT WINAPI SnapIns_Remove_Proxy(SnapIns *This,PSNAPIN SnapIn);
   1067   void __RPC_STUB SnapIns_Remove_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1068 #endif
   1069 
   1070 #ifndef __Extension_INTERFACE_DEFINED__
   1071 #define __Extension_INTERFACE_DEFINED__
   1072   EXTERN_C const IID IID_Extension;
   1073 #if defined(__cplusplus) && !defined(CINTERFACE)
   1074   struct Extension : public IDispatch {
   1075   public:
   1076     virtual HRESULT WINAPI get_Name(PBSTR Name) = 0;
   1077     virtual HRESULT WINAPI get_Vendor(PBSTR Vendor) = 0;
   1078     virtual HRESULT WINAPI get_Version(PBSTR Version) = 0;
   1079     virtual HRESULT WINAPI get_Extensions(PPEXTENSIONS Extensions) = 0;
   1080     virtual HRESULT WINAPI get_SnapinCLSID(PBSTR SnapinCLSID) = 0;
   1081     virtual HRESULT WINAPI EnableAllExtensions(WINBOOL Enable) = 0;
   1082     virtual HRESULT WINAPI Enable(WINBOOL Enable) = 0;
   1083   };
   1084 #else
   1085   typedef struct ExtensionVtbl {
   1086     BEGIN_INTERFACE
   1087       HRESULT (WINAPI *QueryInterface)(Extension *This,REFIID riid,void **ppvObject);
   1088       ULONG (WINAPI *AddRef)(Extension *This);
   1089       ULONG (WINAPI *Release)(Extension *This);
   1090       HRESULT (WINAPI *GetTypeInfoCount)(Extension *This,UINT *pctinfo);
   1091       HRESULT (WINAPI *GetTypeInfo)(Extension *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1092       HRESULT (WINAPI *GetIDsOfNames)(Extension *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1093       HRESULT (WINAPI *Invoke)(Extension *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1094       HRESULT (WINAPI *get_Name)(Extension *This,PBSTR Name);
   1095       HRESULT (WINAPI *get_Vendor)(Extension *This,PBSTR Vendor);
   1096       HRESULT (WINAPI *get_Version)(Extension *This,PBSTR Version);
   1097       HRESULT (WINAPI *get_Extensions)(Extension *This,PPEXTENSIONS Extensions);
   1098       HRESULT (WINAPI *get_SnapinCLSID)(Extension *This,PBSTR SnapinCLSID);
   1099       HRESULT (WINAPI *EnableAllExtensions)(Extension *This,WINBOOL Enable);
   1100       HRESULT (WINAPI *Enable)(Extension *This,WINBOOL Enable);
   1101     END_INTERFACE
   1102   } ExtensionVtbl;
   1103   struct Extension {
   1104     CONST_VTBL struct ExtensionVtbl *lpVtbl;
   1105   };
   1106 #ifdef COBJMACROS
   1107 #define Extension_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1108 #define Extension_AddRef(This) (This)->lpVtbl->AddRef(This)
   1109 #define Extension_Release(This) (This)->lpVtbl->Release(This)
   1110 #define Extension_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1111 #define Extension_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1112 #define Extension_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1113 #define Extension_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1114 #define Extension_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name)
   1115 #define Extension_get_Vendor(This,Vendor) (This)->lpVtbl->get_Vendor(This,Vendor)
   1116 #define Extension_get_Version(This,Version) (This)->lpVtbl->get_Version(This,Version)
   1117 #define Extension_get_Extensions(This,Extensions) (This)->lpVtbl->get_Extensions(This,Extensions)
   1118 #define Extension_get_SnapinCLSID(This,SnapinCLSID) (This)->lpVtbl->get_SnapinCLSID(This,SnapinCLSID)
   1119 #define Extension_EnableAllExtensions(This,Enable) (This)->lpVtbl->EnableAllExtensions(This,Enable)
   1120 #define Extension_Enable(This,Enable) (This)->lpVtbl->Enable(This,Enable)
   1121 #endif
   1122 #endif
   1123   HRESULT WINAPI Extension_get_Name_Proxy(Extension *This,PBSTR Name);
   1124   void __RPC_STUB Extension_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1125   HRESULT WINAPI Extension_get_Vendor_Proxy(Extension *This,PBSTR Vendor);
   1126   void __RPC_STUB Extension_get_Vendor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1127   HRESULT WINAPI Extension_get_Version_Proxy(Extension *This,PBSTR Version);
   1128   void __RPC_STUB Extension_get_Version_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1129   HRESULT WINAPI Extension_get_Extensions_Proxy(Extension *This,PPEXTENSIONS Extensions);
   1130   void __RPC_STUB Extension_get_Extensions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1131   HRESULT WINAPI Extension_get_SnapinCLSID_Proxy(Extension *This,PBSTR SnapinCLSID);
   1132   void __RPC_STUB Extension_get_SnapinCLSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1133   HRESULT WINAPI Extension_EnableAllExtensions_Proxy(Extension *This,WINBOOL Enable);
   1134   void __RPC_STUB Extension_EnableAllExtensions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1135   HRESULT WINAPI Extension_Enable_Proxy(Extension *This,WINBOOL Enable);
   1136   void __RPC_STUB Extension_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1137 #endif
   1138 
   1139 #ifndef __Extensions_INTERFACE_DEFINED__
   1140 #define __Extensions_INTERFACE_DEFINED__
   1141   EXTERN_C const IID IID_Extensions;
   1142 #if defined(__cplusplus) && !defined(CINTERFACE)
   1143   struct Extensions : public IDispatch {
   1144   public:
   1145     virtual HRESULT WINAPI get__NewEnum(IUnknown **retval) = 0;
   1146     virtual HRESULT WINAPI Item(__LONG32 Index,PPEXTENSION Extension) = 0;
   1147     virtual HRESULT WINAPI get_Count(PLONG Count) = 0;
   1148   };
   1149 #else
   1150   typedef struct ExtensionsVtbl {
   1151     BEGIN_INTERFACE
   1152       HRESULT (WINAPI *QueryInterface)(Extensions *This,REFIID riid,void **ppvObject);
   1153       ULONG (WINAPI *AddRef)(Extensions *This);
   1154       ULONG (WINAPI *Release)(Extensions *This);
   1155       HRESULT (WINAPI *GetTypeInfoCount)(Extensions *This,UINT *pctinfo);
   1156       HRESULT (WINAPI *GetTypeInfo)(Extensions *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1157       HRESULT (WINAPI *GetIDsOfNames)(Extensions *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1158       HRESULT (WINAPI *Invoke)(Extensions *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1159       HRESULT (WINAPI *get__NewEnum)(Extensions *This,IUnknown **retval);
   1160       HRESULT (WINAPI *Item)(Extensions *This,__LONG32 Index,PPEXTENSION Extension);
   1161       HRESULT (WINAPI *get_Count)(Extensions *This,PLONG Count);
   1162     END_INTERFACE
   1163   } ExtensionsVtbl;
   1164   struct Extensions {
   1165     CONST_VTBL struct ExtensionsVtbl *lpVtbl;
   1166   };
   1167 #ifdef COBJMACROS
   1168 #define Extensions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1169 #define Extensions_AddRef(This) (This)->lpVtbl->AddRef(This)
   1170 #define Extensions_Release(This) (This)->lpVtbl->Release(This)
   1171 #define Extensions_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1172 #define Extensions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1173 #define Extensions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1174 #define Extensions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1175 #define Extensions_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
   1176 #define Extensions_Item(This,Index,Extension) (This)->lpVtbl->Item(This,Index,Extension)
   1177 #define Extensions_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count)
   1178 #endif
   1179 #endif
   1180   HRESULT WINAPI Extensions_get__NewEnum_Proxy(Extensions *This,IUnknown **retval);
   1181   void __RPC_STUB Extensions_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1182   HRESULT WINAPI Extensions_Item_Proxy(Extensions *This,__LONG32 Index,PPEXTENSION Extension);
   1183   void __RPC_STUB Extensions_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1184   HRESULT WINAPI Extensions_get_Count_Proxy(Extensions *This,PLONG Count);
   1185   void __RPC_STUB Extensions_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1186 #endif
   1187 
   1188 #ifndef __Columns_INTERFACE_DEFINED__
   1189 #define __Columns_INTERFACE_DEFINED__
   1190   EXTERN_C const IID IID_Columns;
   1191 #if defined(__cplusplus) && !defined(CINTERFACE)
   1192   struct Columns : public IDispatch {
   1193   public:
   1194     virtual HRESULT WINAPI Item(__LONG32 Index,PPCOLUMN Column) = 0;
   1195     virtual HRESULT WINAPI get_Count(PLONG Count) = 0;
   1196     virtual HRESULT WINAPI get__NewEnum(IUnknown **retval) = 0;
   1197   };
   1198 #else
   1199   typedef struct ColumnsVtbl {
   1200     BEGIN_INTERFACE
   1201       HRESULT (WINAPI *QueryInterface)(Columns *This,REFIID riid,void **ppvObject);
   1202       ULONG (WINAPI *AddRef)(Columns *This);
   1203       ULONG (WINAPI *Release)(Columns *This);
   1204       HRESULT (WINAPI *GetTypeInfoCount)(Columns *This,UINT *pctinfo);
   1205       HRESULT (WINAPI *GetTypeInfo)(Columns *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1206       HRESULT (WINAPI *GetIDsOfNames)(Columns *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1207       HRESULT (WINAPI *Invoke)(Columns *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1208       HRESULT (WINAPI *Item)(Columns *This,__LONG32 Index,PPCOLUMN Column);
   1209       HRESULT (WINAPI *get_Count)(Columns *This,PLONG Count);
   1210       HRESULT (WINAPI *get__NewEnum)(Columns *This,IUnknown **retval);
   1211     END_INTERFACE
   1212   } ColumnsVtbl;
   1213   struct Columns {
   1214     CONST_VTBL struct ColumnsVtbl *lpVtbl;
   1215   };
   1216 #ifdef COBJMACROS
   1217 #define Columns_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1218 #define Columns_AddRef(This) (This)->lpVtbl->AddRef(This)
   1219 #define Columns_Release(This) (This)->lpVtbl->Release(This)
   1220 #define Columns_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1221 #define Columns_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1222 #define Columns_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1223 #define Columns_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1224 #define Columns_Item(This,Index,Column) (This)->lpVtbl->Item(This,Index,Column)
   1225 #define Columns_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count)
   1226 #define Columns_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
   1227 #endif
   1228 #endif
   1229   HRESULT WINAPI Columns_Item_Proxy(Columns *This,__LONG32 Index,PPCOLUMN Column);
   1230   void __RPC_STUB Columns_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1231   HRESULT WINAPI Columns_get_Count_Proxy(Columns *This,PLONG Count);
   1232   void __RPC_STUB Columns_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1233   HRESULT WINAPI Columns_get__NewEnum_Proxy(Columns *This,IUnknown **retval);
   1234   void __RPC_STUB Columns_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1235 #endif
   1236 
   1237 #ifndef __Column_INTERFACE_DEFINED__
   1238 #define __Column_INTERFACE_DEFINED__
   1239   typedef enum ColumnSortOrder {
   1240     SortOrder_Ascending = 0,SortOrder_Descending = SortOrder_Ascending + 1
   1241   } _ColumnSortOrder;
   1242 
   1243   typedef enum ColumnSortOrder COLUMNSORTORDER;
   1244 
   1245   EXTERN_C const IID IID_Column;
   1246 #if defined(__cplusplus) && !defined(CINTERFACE)
   1247   struct Column : public IDispatch {
   1248   public:
   1249     virtual HRESULT WINAPI Name(BSTR *Name) = 0;
   1250     virtual HRESULT WINAPI get_Width(PLONG Width) = 0;
   1251     virtual HRESULT WINAPI put_Width(__LONG32 Width) = 0;
   1252     virtual HRESULT WINAPI get_DisplayPosition(PLONG DisplayPosition) = 0;
   1253     virtual HRESULT WINAPI put_DisplayPosition(__LONG32 Index) = 0;
   1254     virtual HRESULT WINAPI get_Hidden(PBOOL Hidden) = 0;
   1255     virtual HRESULT WINAPI put_Hidden(WINBOOL Hidden) = 0;
   1256     virtual HRESULT WINAPI SetAsSortColumn(COLUMNSORTORDER SortOrder) = 0;
   1257     virtual HRESULT WINAPI IsSortColumn(PBOOL IsSortColumn) = 0;
   1258   };
   1259 #else
   1260   typedef struct ColumnVtbl {
   1261     BEGIN_INTERFACE
   1262       HRESULT (WINAPI *QueryInterface)(Column *This,REFIID riid,void **ppvObject);
   1263       ULONG (WINAPI *AddRef)(Column *This);
   1264       ULONG (WINAPI *Release)(Column *This);
   1265       HRESULT (WINAPI *GetTypeInfoCount)(Column *This,UINT *pctinfo);
   1266       HRESULT (WINAPI *GetTypeInfo)(Column *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1267       HRESULT (WINAPI *GetIDsOfNames)(Column *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1268       HRESULT (WINAPI *Invoke)(Column *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1269       HRESULT (WINAPI *Name)(Column *This,BSTR *Name);
   1270       HRESULT (WINAPI *get_Width)(Column *This,PLONG Width);
   1271       HRESULT (WINAPI *put_Width)(Column *This,__LONG32 Width);
   1272       HRESULT (WINAPI *get_DisplayPosition)(Column *This,PLONG DisplayPosition);
   1273       HRESULT (WINAPI *put_DisplayPosition)(Column *This,__LONG32 Index);
   1274       HRESULT (WINAPI *get_Hidden)(Column *This,PBOOL Hidden);
   1275       HRESULT (WINAPI *put_Hidden)(Column *This,WINBOOL Hidden);
   1276       HRESULT (WINAPI *SetAsSortColumn)(Column *This,COLUMNSORTORDER SortOrder);
   1277       HRESULT (WINAPI *IsSortColumn)(Column *This,PBOOL IsSortColumn);
   1278     END_INTERFACE
   1279   } ColumnVtbl;
   1280   struct Column {
   1281     CONST_VTBL struct ColumnVtbl *lpVtbl;
   1282   };
   1283 #ifdef COBJMACROS
   1284 #define Column_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1285 #define Column_AddRef(This) (This)->lpVtbl->AddRef(This)
   1286 #define Column_Release(This) (This)->lpVtbl->Release(This)
   1287 #define Column_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1288 #define Column_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1289 #define Column_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1290 #define Column_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1291 #define Column_Name(This,Name) (This)->lpVtbl->Name(This,Name)
   1292 #define Column_get_Width(This,Width) (This)->lpVtbl->get_Width(This,Width)
   1293 #define Column_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width)
   1294 #define Column_get_DisplayPosition(This,DisplayPosition) (This)->lpVtbl->get_DisplayPosition(This,DisplayPosition)
   1295 #define Column_put_DisplayPosition(This,Index) (This)->lpVtbl->put_DisplayPosition(This,Index)
   1296 #define Column_get_Hidden(This,Hidden) (This)->lpVtbl->get_Hidden(This,Hidden)
   1297 #define Column_put_Hidden(This,Hidden) (This)->lpVtbl->put_Hidden(This,Hidden)
   1298 #define Column_SetAsSortColumn(This,SortOrder) (This)->lpVtbl->SetAsSortColumn(This,SortOrder)
   1299 #define Column_IsSortColumn(This,IsSortColumn) (This)->lpVtbl->IsSortColumn(This,IsSortColumn)
   1300 #endif
   1301 #endif
   1302   HRESULT WINAPI Column_Name_Proxy(Column *This,BSTR *Name);
   1303   void __RPC_STUB Column_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1304   HRESULT WINAPI Column_get_Width_Proxy(Column *This,PLONG Width);
   1305   void __RPC_STUB Column_get_Width_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1306   HRESULT WINAPI Column_put_Width_Proxy(Column *This,__LONG32 Width);
   1307   void __RPC_STUB Column_put_Width_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1308   HRESULT WINAPI Column_get_DisplayPosition_Proxy(Column *This,PLONG DisplayPosition);
   1309   void __RPC_STUB Column_get_DisplayPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1310   HRESULT WINAPI Column_put_DisplayPosition_Proxy(Column *This,__LONG32 Index);
   1311   void __RPC_STUB Column_put_DisplayPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1312   HRESULT WINAPI Column_get_Hidden_Proxy(Column *This,PBOOL Hidden);
   1313   void __RPC_STUB Column_get_Hidden_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1314   HRESULT WINAPI Column_put_Hidden_Proxy(Column *This,WINBOOL Hidden);
   1315   void __RPC_STUB Column_put_Hidden_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1316   HRESULT WINAPI Column_SetAsSortColumn_Proxy(Column *This,COLUMNSORTORDER SortOrder);
   1317   void __RPC_STUB Column_SetAsSortColumn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1318   HRESULT WINAPI Column_IsSortColumn_Proxy(Column *This,PBOOL IsSortColumn);
   1319   void __RPC_STUB Column_IsSortColumn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1320 #endif
   1321 
   1322 #ifndef __Views_INTERFACE_DEFINED__
   1323 #define __Views_INTERFACE_DEFINED__
   1324   EXTERN_C const IID IID_Views;
   1325 #if defined(__cplusplus) && !defined(CINTERFACE)
   1326   struct Views : public IDispatch {
   1327   public:
   1328     virtual HRESULT WINAPI Item(__LONG32 Index,PPVIEW View) = 0;
   1329     virtual HRESULT WINAPI get_Count(PLONG Count) = 0;
   1330     virtual HRESULT WINAPI Add(PNODE Node,VIEWOPTIONS viewOptions = ViewOption_Default) = 0;
   1331     virtual HRESULT WINAPI get__NewEnum(IUnknown **retval) = 0;
   1332   };
   1333 #else
   1334   typedef struct ViewsVtbl {
   1335     BEGIN_INTERFACE
   1336       HRESULT (WINAPI *QueryInterface)(Views *This,REFIID riid,void **ppvObject);
   1337       ULONG (WINAPI *AddRef)(Views *This);
   1338       ULONG (WINAPI *Release)(Views *This);
   1339       HRESULT (WINAPI *GetTypeInfoCount)(Views *This,UINT *pctinfo);
   1340       HRESULT (WINAPI *GetTypeInfo)(Views *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1341       HRESULT (WINAPI *GetIDsOfNames)(Views *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1342       HRESULT (WINAPI *Invoke)(Views *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1343       HRESULT (WINAPI *Item)(Views *This,__LONG32 Index,PPVIEW View);
   1344       HRESULT (WINAPI *get_Count)(Views *This,PLONG Count);
   1345       HRESULT (WINAPI *Add)(Views *This,PNODE Node,VIEWOPTIONS viewOptions);
   1346       HRESULT (WINAPI *get__NewEnum)(Views *This,IUnknown **retval);
   1347     END_INTERFACE
   1348   } ViewsVtbl;
   1349   struct Views {
   1350     CONST_VTBL struct ViewsVtbl *lpVtbl;
   1351   };
   1352 #ifdef COBJMACROS
   1353 #define Views_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1354 #define Views_AddRef(This) (This)->lpVtbl->AddRef(This)
   1355 #define Views_Release(This) (This)->lpVtbl->Release(This)
   1356 #define Views_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1357 #define Views_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1358 #define Views_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1359 #define Views_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1360 #define Views_Item(This,Index,View) (This)->lpVtbl->Item(This,Index,View)
   1361 #define Views_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count)
   1362 #define Views_Add(This,Node,viewOptions) (This)->lpVtbl->Add(This,Node,viewOptions)
   1363 #define Views_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
   1364 #endif
   1365 #endif
   1366   HRESULT WINAPI Views_Item_Proxy(Views *This,__LONG32 Index,PPVIEW View);
   1367   void __RPC_STUB Views_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1368   HRESULT WINAPI Views_get_Count_Proxy(Views *This,PLONG Count);
   1369   void __RPC_STUB Views_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1370   HRESULT WINAPI Views_Add_Proxy(Views *This,PNODE Node,VIEWOPTIONS viewOptions);
   1371   void __RPC_STUB Views_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1372   HRESULT WINAPI Views_get__NewEnum_Proxy(Views *This,IUnknown **retval);
   1373   void __RPC_STUB Views_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1374 #endif
   1375 
   1376 #ifndef __View_INTERFACE_DEFINED__
   1377 #define __View_INTERFACE_DEFINED__
   1378   EXTERN_C const IID IID_View;
   1379 #if defined(__cplusplus) && !defined(CINTERFACE)
   1380   struct View : public IDispatch {
   1381   public:
   1382     virtual HRESULT WINAPI get_ActiveScopeNode(PPNODE Node) = 0;
   1383     virtual HRESULT WINAPI put_ActiveScopeNode(PNODE Node) = 0;
   1384     virtual HRESULT WINAPI get_Selection(PPNODES Nodes) = 0;
   1385     virtual HRESULT WINAPI get_ListItems(PPNODES Nodes) = 0;
   1386     virtual HRESULT WINAPI SnapinScopeObject(VARIANT ScopeNode,PPDISPATCH ScopeNodeObject) = 0;
   1387     virtual HRESULT WINAPI SnapinSelectionObject(PPDISPATCH SelectionObject) = 0;
   1388     virtual HRESULT WINAPI Is(PVIEW View,VARIANT_BOOL *TheSame) = 0;
   1389     virtual HRESULT WINAPI get_Document(PPDOCUMENT Document) = 0;
   1390     virtual HRESULT WINAPI SelectAll(void) = 0;
   1391     virtual HRESULT WINAPI Select(PNODE Node) = 0;
   1392     virtual HRESULT WINAPI Deselect(PNODE Node) = 0;
   1393     virtual HRESULT WINAPI IsSelected(PNODE Node,PBOOL IsSelected) = 0;
   1394     virtual HRESULT WINAPI DisplayScopeNodePropertySheet(VARIANT ScopeNode) = 0;
   1395     virtual HRESULT WINAPI DisplaySelectionPropertySheet(void) = 0;
   1396     virtual HRESULT WINAPI CopyScopeNode(VARIANT ScopeNode) = 0;
   1397     virtual HRESULT WINAPI CopySelection(void) = 0;
   1398     virtual HRESULT WINAPI DeleteScopeNode(VARIANT ScopeNode) = 0;
   1399     virtual HRESULT WINAPI DeleteSelection(void) = 0;
   1400     virtual HRESULT WINAPI RenameScopeNode(BSTR NewName,VARIANT ScopeNode) = 0;
   1401     virtual HRESULT WINAPI RenameSelectedItem(BSTR NewName) = 0;
   1402     virtual HRESULT WINAPI get_ScopeNodeContextMenu(VARIANT ScopeNode,PPCONTEXTMENU ContextMenu) = 0;
   1403     virtual HRESULT WINAPI get_SelectionContextMenu(PPCONTEXTMENU ContextMenu) = 0;
   1404     virtual HRESULT WINAPI RefreshScopeNode(VARIANT ScopeNode) = 0;
   1405     virtual HRESULT WINAPI RefreshSelection(void) = 0;
   1406     virtual HRESULT WINAPI ExecuteSelectionMenuItem(BSTR MenuItemPath) = 0;
   1407     virtual HRESULT WINAPI ExecuteScopeNodeMenuItem(BSTR MenuItemPath,VARIANT ScopeNode) = 0;
   1408     virtual HRESULT WINAPI ExecuteShellCommand(BSTR Command,BSTR Directory,BSTR Parameters,BSTR WindowState) = 0;
   1409     virtual HRESULT WINAPI get_Frame(PPFRAME Frame) = 0;
   1410     virtual HRESULT WINAPI Close(void) = 0;
   1411     virtual HRESULT WINAPI get_ScopeTreeVisible(PBOOL Visible) = 0;
   1412     virtual HRESULT WINAPI put_ScopeTreeVisible(WINBOOL Visible) = 0;
   1413     virtual HRESULT WINAPI Back(void) = 0;
   1414     virtual HRESULT WINAPI Forward(void) = 0;
   1415     virtual HRESULT WINAPI put_StatusBarText(BSTR StatusBarText) = 0;
   1416     virtual HRESULT WINAPI get_Memento(PBSTR Memento) = 0;
   1417     virtual HRESULT WINAPI ViewMemento(BSTR Memento) = 0;
   1418     virtual HRESULT WINAPI get_Columns(PPCOLUMNS Columns) = 0;
   1419     virtual HRESULT WINAPI get_CellContents(PNODE Node,__LONG32 Column,PBSTR CellContents) = 0;
   1420     virtual HRESULT WINAPI ExportList(BSTR File,EXPORTLISTOPTIONS exportoptions = ExportListOptions_Default) = 0;
   1421     virtual HRESULT WINAPI get_ListViewMode(PLISTVIEWMODE Mode) = 0;
   1422     virtual HRESULT WINAPI put_ListViewMode(LISTVIEWMODE mode) = 0;
   1423     virtual HRESULT WINAPI get_ControlObject(PPDISPATCH Control) = 0;
   1424   };
   1425 #else
   1426   typedef struct ViewVtbl {
   1427     BEGIN_INTERFACE
   1428       HRESULT (WINAPI *QueryInterface)(View *This,REFIID riid,void **ppvObject);
   1429       ULONG (WINAPI *AddRef)(View *This);
   1430       ULONG (WINAPI *Release)(View *This);
   1431       HRESULT (WINAPI *GetTypeInfoCount)(View *This,UINT *pctinfo);
   1432       HRESULT (WINAPI *GetTypeInfo)(View *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1433       HRESULT (WINAPI *GetIDsOfNames)(View *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1434       HRESULT (WINAPI *Invoke)(View *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1435       HRESULT (WINAPI *get_ActiveScopeNode)(View *This,PPNODE Node);
   1436       HRESULT (WINAPI *put_ActiveScopeNode)(View *This,PNODE Node);
   1437       HRESULT (WINAPI *get_Selection)(View *This,PPNODES Nodes);
   1438       HRESULT (WINAPI *get_ListItems)(View *This,PPNODES Nodes);
   1439       HRESULT (WINAPI *SnapinScopeObject)(View *This,VARIANT ScopeNode,PPDISPATCH ScopeNodeObject);
   1440       HRESULT (WINAPI *SnapinSelectionObject)(View *This,PPDISPATCH SelectionObject);
   1441       HRESULT (WINAPI *Is)(View *This,PVIEW View,VARIANT_BOOL *TheSame);
   1442       HRESULT (WINAPI *get_Document)(View *This,PPDOCUMENT Document);
   1443       HRESULT (WINAPI *SelectAll)(View *This);
   1444       HRESULT (WINAPI *Select)(View *This,PNODE Node);
   1445       HRESULT (WINAPI *Deselect)(View *This,PNODE Node);
   1446       HRESULT (WINAPI *IsSelected)(View *This,PNODE Node,PBOOL IsSelected);
   1447       HRESULT (WINAPI *DisplayScopeNodePropertySheet)(View *This,VARIANT ScopeNode);
   1448       HRESULT (WINAPI *DisplaySelectionPropertySheet)(View *This);
   1449       HRESULT (WINAPI *CopyScopeNode)(View *This,VARIANT ScopeNode);
   1450       HRESULT (WINAPI *CopySelection)(View *This);
   1451       HRESULT (WINAPI *DeleteScopeNode)(View *This,VARIANT ScopeNode);
   1452       HRESULT (WINAPI *DeleteSelection)(View *This);
   1453       HRESULT (WINAPI *RenameScopeNode)(View *This,BSTR NewName,VARIANT ScopeNode);
   1454       HRESULT (WINAPI *RenameSelectedItem)(View *This,BSTR NewName);
   1455       HRESULT (WINAPI *get_ScopeNodeContextMenu)(View *This,VARIANT ScopeNode,PPCONTEXTMENU ContextMenu);
   1456       HRESULT (WINAPI *get_SelectionContextMenu)(View *This,PPCONTEXTMENU ContextMenu);
   1457       HRESULT (WINAPI *RefreshScopeNode)(View *This,VARIANT ScopeNode);
   1458       HRESULT (WINAPI *RefreshSelection)(View *This);
   1459       HRESULT (WINAPI *ExecuteSelectionMenuItem)(View *This,BSTR MenuItemPath);
   1460       HRESULT (WINAPI *ExecuteScopeNodeMenuItem)(View *This,BSTR MenuItemPath,VARIANT ScopeNode);
   1461       HRESULT (WINAPI *ExecuteShellCommand)(View *This,BSTR Command,BSTR Directory,BSTR Parameters,BSTR WindowState);
   1462       HRESULT (WINAPI *get_Frame)(View *This,PPFRAME Frame);
   1463       HRESULT (WINAPI *Close)(View *This);
   1464       HRESULT (WINAPI *get_ScopeTreeVisible)(View *This,PBOOL Visible);
   1465       HRESULT (WINAPI *put_ScopeTreeVisible)(View *This,WINBOOL Visible);
   1466       HRESULT (WINAPI *Back)(View *This);
   1467       HRESULT (WINAPI *Forward)(View *This);
   1468       HRESULT (WINAPI *put_StatusBarText)(View *This,BSTR StatusBarText);
   1469       HRESULT (WINAPI *get_Memento)(View *This,PBSTR Memento);
   1470       HRESULT (WINAPI *ViewMemento)(View *This,BSTR Memento);
   1471       HRESULT (WINAPI *get_Columns)(View *This,PPCOLUMNS Columns);
   1472       HRESULT (WINAPI *get_CellContents)(View *This,PNODE Node,__LONG32 Column,PBSTR CellContents);
   1473       HRESULT (WINAPI *ExportList)(View *This,BSTR File,EXPORTLISTOPTIONS exportoptions);
   1474       HRESULT (WINAPI *get_ListViewMode)(View *This,PLISTVIEWMODE Mode);
   1475       HRESULT (WINAPI *put_ListViewMode)(View *This,LISTVIEWMODE mode);
   1476       HRESULT (WINAPI *get_ControlObject)(View *This,PPDISPATCH Control);
   1477     END_INTERFACE
   1478   } ViewVtbl;
   1479   struct View {
   1480     CONST_VTBL struct ViewVtbl *lpVtbl;
   1481   };
   1482 #ifdef COBJMACROS
   1483 #define View_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1484 #define View_AddRef(This) (This)->lpVtbl->AddRef(This)
   1485 #define View_Release(This) (This)->lpVtbl->Release(This)
   1486 #define View_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1487 #define View_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1488 #define View_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1489 #define View_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1490 #define View_get_ActiveScopeNode(This,Node) (This)->lpVtbl->get_ActiveScopeNode(This,Node)
   1491 #define View_put_ActiveScopeNode(This,Node) (This)->lpVtbl->put_ActiveScopeNode(This,Node)
   1492 #define View_get_Selection(This,Nodes) (This)->lpVtbl->get_Selection(This,Nodes)
   1493 #define View_get_ListItems(This,Nodes) (This)->lpVtbl->get_ListItems(This,Nodes)
   1494 #define View_SnapinScopeObject(This,ScopeNode,ScopeNodeObject) (This)->lpVtbl->SnapinScopeObject(This,ScopeNode,ScopeNodeObject)
   1495 #define View_SnapinSelectionObject(This,SelectionObject) (This)->lpVtbl->SnapinSelectionObject(This,SelectionObject)
   1496 #define View_Is(This,View,TheSame) (This)->lpVtbl->Is(This,View,TheSame)
   1497 #define View_get_Document(This,Document) (This)->lpVtbl->get_Document(This,Document)
   1498 #define View_SelectAll(This) (This)->lpVtbl->SelectAll(This)
   1499 #define View_Select(This,Node) (This)->lpVtbl->Select(This,Node)
   1500 #define View_Deselect(This,Node) (This)->lpVtbl->Deselect(This,Node)
   1501 #define View_IsSelected(This,Node,IsSelected) (This)->lpVtbl->IsSelected(This,Node,IsSelected)
   1502 #define View_DisplayScopeNodePropertySheet(This,ScopeNode) (This)->lpVtbl->DisplayScopeNodePropertySheet(This,ScopeNode)
   1503 #define View_DisplaySelectionPropertySheet(This) (This)->lpVtbl->DisplaySelectionPropertySheet(This)
   1504 #define View_CopyScopeNode(This,ScopeNode) (This)->lpVtbl->CopyScopeNode(This,ScopeNode)
   1505 #define View_CopySelection(This) (This)->lpVtbl->CopySelection(This)
   1506 #define View_DeleteScopeNode(This,ScopeNode) (This)->lpVtbl->DeleteScopeNode(This,ScopeNode)
   1507 #define View_DeleteSelection(This) (This)->lpVtbl->DeleteSelection(This)
   1508 #define View_RenameScopeNode(This,NewName,ScopeNode) (This)->lpVtbl->RenameScopeNode(This,NewName,ScopeNode)
   1509 #define View_RenameSelectedItem(This,NewName) (This)->lpVtbl->RenameSelectedItem(This,NewName)
   1510 #define View_get_ScopeNodeContextMenu(This,ScopeNode,ContextMenu) (This)->lpVtbl->get_ScopeNodeContextMenu(This,ScopeNode,ContextMenu)
   1511 #define View_get_SelectionContextMenu(This,ContextMenu) (This)->lpVtbl->get_SelectionContextMenu(This,ContextMenu)
   1512 #define View_RefreshScopeNode(This,ScopeNode) (This)->lpVtbl->RefreshScopeNode(This,ScopeNode)
   1513 #define View_RefreshSelection(This) (This)->lpVtbl->RefreshSelection(This)
   1514 #define View_ExecuteSelectionMenuItem(This,MenuItemPath) (This)->lpVtbl->ExecuteSelectionMenuItem(This,MenuItemPath)
   1515 #define View_ExecuteScopeNodeMenuItem(This,MenuItemPath,ScopeNode) (This)->lpVtbl->ExecuteScopeNodeMenuItem(This,MenuItemPath,ScopeNode)
   1516 #define View_ExecuteShellCommand(This,Command,Directory,Parameters,WindowState) (This)->lpVtbl->ExecuteShellCommand(This,Command,Directory,Parameters,WindowState)
   1517 #define View_get_Frame(This,Frame) (This)->lpVtbl->get_Frame(This,Frame)
   1518 #define View_Close(This) (This)->lpVtbl->Close(This)
   1519 #define View_get_ScopeTreeVisible(This,Visible) (This)->lpVtbl->get_ScopeTreeVisible(This,Visible)
   1520 #define View_put_ScopeTreeVisible(This,Visible) (This)->lpVtbl->put_ScopeTreeVisible(This,Visible)
   1521 #define View_Back(This) (This)->lpVtbl->Back(This)
   1522 #define View_Forward(This) (This)->lpVtbl->Forward(This)
   1523 #define View_put_StatusBarText(This,StatusBarText) (This)->lpVtbl->put_StatusBarText(This,StatusBarText)
   1524 #define View_get_Memento(This,Memento) (This)->lpVtbl->get_Memento(This,Memento)
   1525 #define View_ViewMemento(This,Memento) (This)->lpVtbl->ViewMemento(This,Memento)
   1526 #define View_get_Columns(This,Columns) (This)->lpVtbl->get_Columns(This,Columns)
   1527 #define View_get_CellContents(This,Node,Column,CellContents) (This)->lpVtbl->get_CellContents(This,Node,Column,CellContents)
   1528 #define View_ExportList(This,File,exportoptions) (This)->lpVtbl->ExportList(This,File,exportoptions)
   1529 #define View_get_ListViewMode(This,Mode) (This)->lpVtbl->get_ListViewMode(This,Mode)
   1530 #define View_put_ListViewMode(This,mode) (This)->lpVtbl->put_ListViewMode(This,mode)
   1531 #define View_get_ControlObject(This,Control) (This)->lpVtbl->get_ControlObject(This,Control)
   1532 #endif
   1533 #endif
   1534   HRESULT WINAPI View_get_ActiveScopeNode_Proxy(View *This,PPNODE Node);
   1535   void __RPC_STUB View_get_ActiveScopeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1536   HRESULT WINAPI View_put_ActiveScopeNode_Proxy(View *This,PNODE Node);
   1537   void __RPC_STUB View_put_ActiveScopeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1538   HRESULT WINAPI View_get_Selection_Proxy(View *This,PPNODES Nodes);
   1539   void __RPC_STUB View_get_Selection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1540   HRESULT WINAPI View_get_ListItems_Proxy(View *This,PPNODES Nodes);
   1541   void __RPC_STUB View_get_ListItems_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1542   HRESULT WINAPI View_SnapinScopeObject_Proxy(View *This,VARIANT ScopeNode,PPDISPATCH ScopeNodeObject);
   1543   void __RPC_STUB View_SnapinScopeObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1544   HRESULT WINAPI View_SnapinSelectionObject_Proxy(View *This,PPDISPATCH SelectionObject);
   1545   void __RPC_STUB View_SnapinSelectionObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1546   HRESULT WINAPI View_Is_Proxy(View *This,PVIEW View,VARIANT_BOOL *TheSame);
   1547   void __RPC_STUB View_Is_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1548   HRESULT WINAPI View_get_Document_Proxy(View *This,PPDOCUMENT Document);
   1549   void __RPC_STUB View_get_Document_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1550   HRESULT WINAPI View_SelectAll_Proxy(View *This);
   1551   void __RPC_STUB View_SelectAll_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1552   HRESULT WINAPI View_Select_Proxy(View *This,PNODE Node);
   1553   void __RPC_STUB View_Select_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1554   HRESULT WINAPI View_Deselect_Proxy(View *This,PNODE Node);
   1555   void __RPC_STUB View_Deselect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1556   HRESULT WINAPI View_IsSelected_Proxy(View *This,PNODE Node,PBOOL IsSelected);
   1557   void __RPC_STUB View_IsSelected_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1558   HRESULT WINAPI View_DisplayScopeNodePropertySheet_Proxy(View *This,VARIANT ScopeNode);
   1559   void __RPC_STUB View_DisplayScopeNodePropertySheet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1560   HRESULT WINAPI View_DisplaySelectionPropertySheet_Proxy(View *This);
   1561   void __RPC_STUB View_DisplaySelectionPropertySheet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1562   HRESULT WINAPI View_CopyScopeNode_Proxy(View *This,VARIANT ScopeNode);
   1563   void __RPC_STUB View_CopyScopeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1564   HRESULT WINAPI View_CopySelection_Proxy(View *This);
   1565   void __RPC_STUB View_CopySelection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1566   HRESULT WINAPI View_DeleteScopeNode_Proxy(View *This,VARIANT ScopeNode);
   1567   void __RPC_STUB View_DeleteScopeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1568   HRESULT WINAPI View_DeleteSelection_Proxy(View *This);
   1569   void __RPC_STUB View_DeleteSelection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1570   HRESULT WINAPI View_RenameScopeNode_Proxy(View *This,BSTR NewName,VARIANT ScopeNode);
   1571   void __RPC_STUB View_RenameScopeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1572   HRESULT WINAPI View_RenameSelectedItem_Proxy(View *This,BSTR NewName);
   1573   void __RPC_STUB View_RenameSelectedItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1574   HRESULT WINAPI View_get_ScopeNodeContextMenu_Proxy(View *This,VARIANT ScopeNode,PPCONTEXTMENU ContextMenu);
   1575   void __RPC_STUB View_get_ScopeNodeContextMenu_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1576   HRESULT WINAPI View_get_SelectionContextMenu_Proxy(View *This,PPCONTEXTMENU ContextMenu);
   1577   void __RPC_STUB View_get_SelectionContextMenu_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1578   HRESULT WINAPI View_RefreshScopeNode_Proxy(View *This,VARIANT ScopeNode);
   1579   void __RPC_STUB View_RefreshScopeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1580   HRESULT WINAPI View_RefreshSelection_Proxy(View *This);
   1581   void __RPC_STUB View_RefreshSelection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1582   HRESULT WINAPI View_ExecuteSelectionMenuItem_Proxy(View *This,BSTR MenuItemPath);
   1583   void __RPC_STUB View_ExecuteSelectionMenuItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1584   HRESULT WINAPI View_ExecuteScopeNodeMenuItem_Proxy(View *This,BSTR MenuItemPath,VARIANT ScopeNode);
   1585   void __RPC_STUB View_ExecuteScopeNodeMenuItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1586   HRESULT WINAPI View_ExecuteShellCommand_Proxy(View *This,BSTR Command,BSTR Directory,BSTR Parameters,BSTR WindowState);
   1587   void __RPC_STUB View_ExecuteShellCommand_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1588   HRESULT WINAPI View_get_Frame_Proxy(View *This,PPFRAME Frame);
   1589   void __RPC_STUB View_get_Frame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1590   HRESULT WINAPI View_Close_Proxy(View *This);
   1591   void __RPC_STUB View_Close_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1592   HRESULT WINAPI View_get_ScopeTreeVisible_Proxy(View *This,PBOOL Visible);
   1593   void __RPC_STUB View_get_ScopeTreeVisible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1594   HRESULT WINAPI View_put_ScopeTreeVisible_Proxy(View *This,WINBOOL Visible);
   1595   void __RPC_STUB View_put_ScopeTreeVisible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1596   HRESULT WINAPI View_Back_Proxy(View *This);
   1597   void __RPC_STUB View_Back_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1598   HRESULT WINAPI View_Forward_Proxy(View *This);
   1599   void __RPC_STUB View_Forward_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1600   HRESULT WINAPI View_put_StatusBarText_Proxy(View *This,BSTR StatusBarText);
   1601   void __RPC_STUB View_put_StatusBarText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1602   HRESULT WINAPI View_get_Memento_Proxy(View *This,PBSTR Memento);
   1603   void __RPC_STUB View_get_Memento_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1604   HRESULT WINAPI View_ViewMemento_Proxy(View *This,BSTR Memento);
   1605   void __RPC_STUB View_ViewMemento_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1606   HRESULT WINAPI View_get_Columns_Proxy(View *This,PPCOLUMNS Columns);
   1607   void __RPC_STUB View_get_Columns_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1608   HRESULT WINAPI View_get_CellContents_Proxy(View *This,PNODE Node,__LONG32 Column,PBSTR CellContents);
   1609   void __RPC_STUB View_get_CellContents_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1610   HRESULT WINAPI View_ExportList_Proxy(View *This,BSTR File,EXPORTLISTOPTIONS exportoptions);
   1611   void __RPC_STUB View_ExportList_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1612   HRESULT WINAPI View_get_ListViewMode_Proxy(View *This,PLISTVIEWMODE Mode);
   1613   void __RPC_STUB View_get_ListViewMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1614   HRESULT WINAPI View_put_ListViewMode_Proxy(View *This,LISTVIEWMODE mode);
   1615   void __RPC_STUB View_put_ListViewMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1616   HRESULT WINAPI View_get_ControlObject_Proxy(View *This,PPDISPATCH Control);
   1617   void __RPC_STUB View_get_ControlObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1618 #endif
   1619 
   1620 #ifndef __Nodes_INTERFACE_DEFINED__
   1621 #define __Nodes_INTERFACE_DEFINED__
   1622   EXTERN_C const IID IID_Nodes;
   1623 #if defined(__cplusplus) && !defined(CINTERFACE)
   1624   struct Nodes : public IDispatch {
   1625   public:
   1626     virtual HRESULT WINAPI get__NewEnum(IUnknown **retval) = 0;
   1627     virtual HRESULT WINAPI Item(__LONG32 Index,PPNODE Node) = 0;
   1628     virtual HRESULT WINAPI get_Count(PLONG Count) = 0;
   1629   };
   1630 #else
   1631   typedef struct NodesVtbl {
   1632     BEGIN_INTERFACE
   1633       HRESULT (WINAPI *QueryInterface)(Nodes *This,REFIID riid,void **ppvObject);
   1634       ULONG (WINAPI *AddRef)(Nodes *This);
   1635       ULONG (WINAPI *Release)(Nodes *This);
   1636       HRESULT (WINAPI *GetTypeInfoCount)(Nodes *This,UINT *pctinfo);
   1637       HRESULT (WINAPI *GetTypeInfo)(Nodes *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1638       HRESULT (WINAPI *GetIDsOfNames)(Nodes *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1639       HRESULT (WINAPI *Invoke)(Nodes *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1640       HRESULT (WINAPI *get__NewEnum)(Nodes *This,IUnknown **retval);
   1641       HRESULT (WINAPI *Item)(Nodes *This,__LONG32 Index,PPNODE Node);
   1642       HRESULT (WINAPI *get_Count)(Nodes *This,PLONG Count);
   1643     END_INTERFACE
   1644   } NodesVtbl;
   1645   struct Nodes {
   1646     CONST_VTBL struct NodesVtbl *lpVtbl;
   1647   };
   1648 #ifdef COBJMACROS
   1649 #define Nodes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1650 #define Nodes_AddRef(This) (This)->lpVtbl->AddRef(This)
   1651 #define Nodes_Release(This) (This)->lpVtbl->Release(This)
   1652 #define Nodes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1653 #define Nodes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1654 #define Nodes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1655 #define Nodes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1656 #define Nodes_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
   1657 #define Nodes_Item(This,Index,Node) (This)->lpVtbl->Item(This,Index,Node)
   1658 #define Nodes_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count)
   1659 #endif
   1660 #endif
   1661   HRESULT WINAPI Nodes_get__NewEnum_Proxy(Nodes *This,IUnknown **retval);
   1662   void __RPC_STUB Nodes_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1663   HRESULT WINAPI Nodes_Item_Proxy(Nodes *This,__LONG32 Index,PPNODE Node);
   1664   void __RPC_STUB Nodes_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1665   HRESULT WINAPI Nodes_get_Count_Proxy(Nodes *This,PLONG Count);
   1666   void __RPC_STUB Nodes_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1667 #endif
   1668 
   1669 #ifndef __ContextMenu_INTERFACE_DEFINED__
   1670 #define __ContextMenu_INTERFACE_DEFINED__
   1671   EXTERN_C const IID IID_ContextMenu;
   1672 #if defined(__cplusplus) && !defined(CINTERFACE)
   1673   struct ContextMenu : public IDispatch {
   1674   public:
   1675     virtual HRESULT WINAPI get__NewEnum(IUnknown **retval) = 0;
   1676     virtual HRESULT WINAPI get_Item(VARIANT IndexOrPath,PPMENUITEM MenuItem) = 0;
   1677     virtual HRESULT WINAPI get_Count(PLONG Count) = 0;
   1678   };
   1679 #else
   1680   typedef struct ContextMenuVtbl {
   1681     BEGIN_INTERFACE
   1682       HRESULT (WINAPI *QueryInterface)(ContextMenu *This,REFIID riid,void **ppvObject);
   1683       ULONG (WINAPI *AddRef)(ContextMenu *This);
   1684       ULONG (WINAPI *Release)(ContextMenu *This);
   1685       HRESULT (WINAPI *GetTypeInfoCount)(ContextMenu *This,UINT *pctinfo);
   1686       HRESULT (WINAPI *GetTypeInfo)(ContextMenu *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1687       HRESULT (WINAPI *GetIDsOfNames)(ContextMenu *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1688       HRESULT (WINAPI *Invoke)(ContextMenu *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1689       HRESULT (WINAPI *get__NewEnum)(ContextMenu *This,IUnknown **retval);
   1690       HRESULT (WINAPI *get_Item)(ContextMenu *This,VARIANT IndexOrPath,PPMENUITEM MenuItem);
   1691       HRESULT (WINAPI *get_Count)(ContextMenu *This,PLONG Count);
   1692     END_INTERFACE
   1693   } ContextMenuVtbl;
   1694   struct ContextMenu {
   1695     CONST_VTBL struct ContextMenuVtbl *lpVtbl;
   1696   };
   1697 #ifdef COBJMACROS
   1698 #define ContextMenu_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1699 #define ContextMenu_AddRef(This) (This)->lpVtbl->AddRef(This)
   1700 #define ContextMenu_Release(This) (This)->lpVtbl->Release(This)
   1701 #define ContextMenu_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1702 #define ContextMenu_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1703 #define ContextMenu_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1704 #define ContextMenu_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1705 #define ContextMenu_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
   1706 #define ContextMenu_get_Item(This,IndexOrPath,MenuItem) (This)->lpVtbl->get_Item(This,IndexOrPath,MenuItem)
   1707 #define ContextMenu_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count)
   1708 #endif
   1709 #endif
   1710   HRESULT WINAPI ContextMenu_get__NewEnum_Proxy(ContextMenu *This,IUnknown **retval);
   1711   void __RPC_STUB ContextMenu_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1712   HRESULT WINAPI ContextMenu_get_Item_Proxy(ContextMenu *This,VARIANT IndexOrPath,PPMENUITEM MenuItem);
   1713   void __RPC_STUB ContextMenu_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1714   HRESULT WINAPI ContextMenu_get_Count_Proxy(ContextMenu *This,PLONG Count);
   1715   void __RPC_STUB ContextMenu_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1716 #endif
   1717 
   1718 #ifndef __MenuItem_INTERFACE_DEFINED__
   1719 #define __MenuItem_INTERFACE_DEFINED__
   1720   EXTERN_C const IID IID_MenuItem;
   1721 #if defined(__cplusplus) && !defined(CINTERFACE)
   1722   struct MenuItem : public IDispatch {
   1723   public:
   1724     virtual HRESULT WINAPI get_DisplayName(PBSTR DisplayName) = 0;
   1725     virtual HRESULT WINAPI get_LanguageIndependentName(PBSTR LanguageIndependentName) = 0;
   1726     virtual HRESULT WINAPI get_Path(PBSTR Path) = 0;
   1727     virtual HRESULT WINAPI get_LanguageIndependentPath(PBSTR LanguageIndependentPath) = 0;
   1728     virtual HRESULT WINAPI Execute(void) = 0;
   1729     virtual HRESULT WINAPI get_Enabled(PBOOL Enabled) = 0;
   1730   };
   1731 #else
   1732   typedef struct MenuItemVtbl {
   1733     BEGIN_INTERFACE
   1734       HRESULT (WINAPI *QueryInterface)(MenuItem *This,REFIID riid,void **ppvObject);
   1735       ULONG (WINAPI *AddRef)(MenuItem *This);
   1736       ULONG (WINAPI *Release)(MenuItem *This);
   1737       HRESULT (WINAPI *GetTypeInfoCount)(MenuItem *This,UINT *pctinfo);
   1738       HRESULT (WINAPI *GetTypeInfo)(MenuItem *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1739       HRESULT (WINAPI *GetIDsOfNames)(MenuItem *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1740       HRESULT (WINAPI *Invoke)(MenuItem *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1741       HRESULT (WINAPI *get_DisplayName)(MenuItem *This,PBSTR DisplayName);
   1742       HRESULT (WINAPI *get_LanguageIndependentName)(MenuItem *This,PBSTR LanguageIndependentName);
   1743       HRESULT (WINAPI *get_Path)(MenuItem *This,PBSTR Path);
   1744       HRESULT (WINAPI *get_LanguageIndependentPath)(MenuItem *This,PBSTR LanguageIndependentPath);
   1745       HRESULT (WINAPI *Execute)(MenuItem *This);
   1746       HRESULT (WINAPI *get_Enabled)(MenuItem *This,PBOOL Enabled);
   1747     END_INTERFACE
   1748   } MenuItemVtbl;
   1749   struct MenuItem {
   1750     CONST_VTBL struct MenuItemVtbl *lpVtbl;
   1751   };
   1752 #ifdef COBJMACROS
   1753 #define MenuItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1754 #define MenuItem_AddRef(This) (This)->lpVtbl->AddRef(This)
   1755 #define MenuItem_Release(This) (This)->lpVtbl->Release(This)
   1756 #define MenuItem_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1757 #define MenuItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1758 #define MenuItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1759 #define MenuItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1760 #define MenuItem_get_DisplayName(This,DisplayName) (This)->lpVtbl->get_DisplayName(This,DisplayName)
   1761 #define MenuItem_get_LanguageIndependentName(This,LanguageIndependentName) (This)->lpVtbl->get_LanguageIndependentName(This,LanguageIndependentName)
   1762 #define MenuItem_get_Path(This,Path) (This)->lpVtbl->get_Path(This,Path)
   1763 #define MenuItem_get_LanguageIndependentPath(This,LanguageIndependentPath) (This)->lpVtbl->get_LanguageIndependentPath(This,LanguageIndependentPath)
   1764 #define MenuItem_Execute(This) (This)->lpVtbl->Execute(This)
   1765 #define MenuItem_get_Enabled(This,Enabled) (This)->lpVtbl->get_Enabled(This,Enabled)
   1766 #endif
   1767 #endif
   1768   HRESULT WINAPI MenuItem_get_DisplayName_Proxy(MenuItem *This,PBSTR DisplayName);
   1769   void __RPC_STUB MenuItem_get_DisplayName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1770   HRESULT WINAPI MenuItem_get_LanguageIndependentName_Proxy(MenuItem *This,PBSTR LanguageIndependentName);
   1771   void __RPC_STUB MenuItem_get_LanguageIndependentName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1772   HRESULT WINAPI MenuItem_get_Path_Proxy(MenuItem *This,PBSTR Path);
   1773   void __RPC_STUB MenuItem_get_Path_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1774   HRESULT WINAPI MenuItem_get_LanguageIndependentPath_Proxy(MenuItem *This,PBSTR LanguageIndependentPath);
   1775   void __RPC_STUB MenuItem_get_LanguageIndependentPath_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1776   HRESULT WINAPI MenuItem_Execute_Proxy(MenuItem *This);
   1777   void __RPC_STUB MenuItem_Execute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1778   HRESULT WINAPI MenuItem_get_Enabled_Proxy(MenuItem *This,PBOOL Enabled);
   1779   void __RPC_STUB MenuItem_get_Enabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1780 #endif
   1781 
   1782 #ifndef __Properties_INTERFACE_DEFINED__
   1783 #define __Properties_INTERFACE_DEFINED__
   1784   EXTERN_C const IID IID_Properties;
   1785 #if defined(__cplusplus) && !defined(CINTERFACE)
   1786   struct Properties : public IDispatch {
   1787   public:
   1788     virtual HRESULT WINAPI get__NewEnum(IUnknown **retval) = 0;
   1789     virtual HRESULT WINAPI Item(BSTR Name,PPPROPERTY Property) = 0;
   1790     virtual HRESULT WINAPI get_Count(PLONG Count) = 0;
   1791     virtual HRESULT WINAPI Remove(BSTR Name) = 0;
   1792   };
   1793 #else
   1794   typedef struct PropertiesVtbl {
   1795     BEGIN_INTERFACE
   1796       HRESULT (WINAPI *QueryInterface)(Properties *This,REFIID riid,void **ppvObject);
   1797       ULONG (WINAPI *AddRef)(Properties *This);
   1798       ULONG (WINAPI *Release)(Properties *This);
   1799       HRESULT (WINAPI *GetTypeInfoCount)(Properties *This,UINT *pctinfo);
   1800       HRESULT (WINAPI *GetTypeInfo)(Properties *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1801       HRESULT (WINAPI *GetIDsOfNames)(Properties *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1802       HRESULT (WINAPI *Invoke)(Properties *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1803       HRESULT (WINAPI *get__NewEnum)(Properties *This,IUnknown **retval);
   1804       HRESULT (WINAPI *Item)(Properties *This,BSTR Name,PPPROPERTY Property);
   1805       HRESULT (WINAPI *get_Count)(Properties *This,PLONG Count);
   1806       HRESULT (WINAPI *Remove)(Properties *This,BSTR Name);
   1807     END_INTERFACE
   1808   } PropertiesVtbl;
   1809   struct Properties {
   1810     CONST_VTBL struct PropertiesVtbl *lpVtbl;
   1811   };
   1812 #ifdef COBJMACROS
   1813 #define Properties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1814 #define Properties_AddRef(This) (This)->lpVtbl->AddRef(This)
   1815 #define Properties_Release(This) (This)->lpVtbl->Release(This)
   1816 #define Properties_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1817 #define Properties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1818 #define Properties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1819 #define Properties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1820 #define Properties_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
   1821 #define Properties_Item(This,Name,Property) (This)->lpVtbl->Item(This,Name,Property)
   1822 #define Properties_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count)
   1823 #define Properties_Remove(This,Name) (This)->lpVtbl->Remove(This,Name)
   1824 #endif
   1825 #endif
   1826   HRESULT WINAPI Properties_get__NewEnum_Proxy(Properties *This,IUnknown **retval);
   1827   void __RPC_STUB Properties_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1828   HRESULT WINAPI Properties_Item_Proxy(Properties *This,BSTR Name,PPPROPERTY Property);
   1829   void __RPC_STUB Properties_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1830   HRESULT WINAPI Properties_get_Count_Proxy(Properties *This,PLONG Count);
   1831   void __RPC_STUB Properties_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1832   HRESULT WINAPI Properties_Remove_Proxy(Properties *This,BSTR Name);
   1833   void __RPC_STUB Properties_Remove_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1834 #endif
   1835 
   1836 #ifndef __Property_INTERFACE_DEFINED__
   1837 #define __Property_INTERFACE_DEFINED__
   1838   EXTERN_C const IID IID_Property;
   1839 #if defined(__cplusplus) && !defined(CINTERFACE)
   1840   struct Property : public IDispatch {
   1841   public:
   1842     virtual HRESULT WINAPI get_Value(PVARIANT Value) = 0;
   1843     virtual HRESULT WINAPI put_Value(VARIANT Value) = 0;
   1844     virtual HRESULT WINAPI get_Name(PBSTR Name) = 0;
   1845   };
   1846 #else
   1847   typedef struct PropertyVtbl {
   1848     BEGIN_INTERFACE
   1849       HRESULT (WINAPI *QueryInterface)(Property *This,REFIID riid,void **ppvObject);
   1850       ULONG (WINAPI *AddRef)(Property *This);
   1851       ULONG (WINAPI *Release)(Property *This);
   1852       HRESULT (WINAPI *GetTypeInfoCount)(Property *This,UINT *pctinfo);
   1853       HRESULT (WINAPI *GetTypeInfo)(Property *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1854       HRESULT (WINAPI *GetIDsOfNames)(Property *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1855       HRESULT (WINAPI *Invoke)(Property *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1856       HRESULT (WINAPI *get_Value)(Property *This,PVARIANT Value);
   1857       HRESULT (WINAPI *put_Value)(Property *This,VARIANT Value);
   1858       HRESULT (WINAPI *get_Name)(Property *This,PBSTR Name);
   1859     END_INTERFACE
   1860   } PropertyVtbl;
   1861   struct Property {
   1862     CONST_VTBL struct PropertyVtbl *lpVtbl;
   1863   };
   1864 #ifdef COBJMACROS
   1865 #define Property_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1866 #define Property_AddRef(This) (This)->lpVtbl->AddRef(This)
   1867 #define Property_Release(This) (This)->lpVtbl->Release(This)
   1868 #define Property_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1869 #define Property_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1870 #define Property_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1871 #define Property_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1872 #define Property_get_Value(This,Value) (This)->lpVtbl->get_Value(This,Value)
   1873 #define Property_put_Value(This,Value) (This)->lpVtbl->put_Value(This,Value)
   1874 #define Property_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name)
   1875 #endif
   1876 #endif
   1877   HRESULT WINAPI Property_get_Value_Proxy(Property *This,PVARIANT Value);
   1878   void __RPC_STUB Property_get_Value_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1879   HRESULT WINAPI Property_put_Value_Proxy(Property *This,VARIANT Value);
   1880   void __RPC_STUB Property_put_Value_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1881   HRESULT WINAPI Property_get_Name_Proxy(Property *This,PBSTR Name);
   1882   void __RPC_STUB Property_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1883 #endif
   1884 #endif
   1885 #endif
   1886 
   1887   extern RPC_IF_HANDLE __MIDL_itf_mmcobj_0138_v0_0_c_ifspec;
   1888   extern RPC_IF_HANDLE __MIDL_itf_mmcobj_0138_v0_0_s_ifspec;
   1889 
   1890   ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);
   1891   unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);
   1892   unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);
   1893   void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);
   1894 
   1895 #ifdef __cplusplus
   1896 }
   1897 #endif
   1898 #endif
   1899