MMCObj.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:200k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for mmcobj.idl:
  5.     Oicf, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext, robust
  7.     error checks: allocation ref bounds_check enum stub_data 
  8.     VC __declspec() decoration level: 
  9.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10.          DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __mmcobj_h__
  27. #define __mmcobj_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */ 
  32. #ifndef __ISnapinProperties_FWD_DEFINED__
  33. #define __ISnapinProperties_FWD_DEFINED__
  34. typedef interface ISnapinProperties ISnapinProperties;
  35. #endif  /* __ISnapinProperties_FWD_DEFINED__ */
  36. #ifndef __ISnapinPropertiesCallback_FWD_DEFINED__
  37. #define __ISnapinPropertiesCallback_FWD_DEFINED__
  38. typedef interface ISnapinPropertiesCallback ISnapinPropertiesCallback;
  39. #endif  /* __ISnapinPropertiesCallback_FWD_DEFINED__ */
  40. #ifndef ___Application_FWD_DEFINED__
  41. #define ___Application_FWD_DEFINED__
  42. typedef interface _Application _Application;
  43. #endif  /* ___Application_FWD_DEFINED__ */
  44. #ifndef ___AppEvents_FWD_DEFINED__
  45. #define ___AppEvents_FWD_DEFINED__
  46. typedef interface _AppEvents _AppEvents;
  47. #endif  /* ___AppEvents_FWD_DEFINED__ */
  48. #ifndef __AppEvents_FWD_DEFINED__
  49. #define __AppEvents_FWD_DEFINED__
  50. typedef interface AppEvents AppEvents;
  51. #endif  /* __AppEvents_FWD_DEFINED__ */
  52. #ifndef __Application_FWD_DEFINED__
  53. #define __Application_FWD_DEFINED__
  54. #ifdef __cplusplus
  55. typedef class Application Application;
  56. #else
  57. typedef struct Application Application;
  58. #endif /* __cplusplus */
  59. #endif  /* __Application_FWD_DEFINED__ */
  60. #ifndef ___EventConnector_FWD_DEFINED__
  61. #define ___EventConnector_FWD_DEFINED__
  62. typedef interface _EventConnector _EventConnector;
  63. #endif  /* ___EventConnector_FWD_DEFINED__ */
  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 /* __cplusplus */
  71. #endif  /* __AppEventsDHTMLConnector_FWD_DEFINED__ */
  72. #ifndef __Frame_FWD_DEFINED__
  73. #define __Frame_FWD_DEFINED__
  74. typedef interface Frame Frame;
  75. #endif  /* __Frame_FWD_DEFINED__ */
  76. #ifndef __Node_FWD_DEFINED__
  77. #define __Node_FWD_DEFINED__
  78. typedef interface Node Node;
  79. #endif  /* __Node_FWD_DEFINED__ */
  80. #ifndef __ScopeNamespace_FWD_DEFINED__
  81. #define __ScopeNamespace_FWD_DEFINED__
  82. typedef interface ScopeNamespace ScopeNamespace;
  83. #endif  /* __ScopeNamespace_FWD_DEFINED__ */
  84. #ifndef __Document_FWD_DEFINED__
  85. #define __Document_FWD_DEFINED__
  86. typedef interface Document Document;
  87. #endif  /* __Document_FWD_DEFINED__ */
  88. #ifndef __SnapIn_FWD_DEFINED__
  89. #define __SnapIn_FWD_DEFINED__
  90. typedef interface SnapIn SnapIn;
  91. #endif  /* __SnapIn_FWD_DEFINED__ */
  92. #ifndef __SnapIns_FWD_DEFINED__
  93. #define __SnapIns_FWD_DEFINED__
  94. typedef interface SnapIns SnapIns;
  95. #endif  /* __SnapIns_FWD_DEFINED__ */
  96. #ifndef __Extension_FWD_DEFINED__
  97. #define __Extension_FWD_DEFINED__
  98. typedef interface Extension Extension;
  99. #endif  /* __Extension_FWD_DEFINED__ */
  100. #ifndef __Extensions_FWD_DEFINED__
  101. #define __Extensions_FWD_DEFINED__
  102. typedef interface Extensions Extensions;
  103. #endif  /* __Extensions_FWD_DEFINED__ */
  104. #ifndef __Columns_FWD_DEFINED__
  105. #define __Columns_FWD_DEFINED__
  106. typedef interface Columns Columns;
  107. #endif  /* __Columns_FWD_DEFINED__ */
  108. #ifndef __Column_FWD_DEFINED__
  109. #define __Column_FWD_DEFINED__
  110. typedef interface Column Column;
  111. #endif  /* __Column_FWD_DEFINED__ */
  112. #ifndef __Views_FWD_DEFINED__
  113. #define __Views_FWD_DEFINED__
  114. typedef interface Views Views;
  115. #endif  /* __Views_FWD_DEFINED__ */
  116. #ifndef __View_FWD_DEFINED__
  117. #define __View_FWD_DEFINED__
  118. typedef interface View View;
  119. #endif  /* __View_FWD_DEFINED__ */
  120. #ifndef __Nodes_FWD_DEFINED__
  121. #define __Nodes_FWD_DEFINED__
  122. typedef interface Nodes Nodes;
  123. #endif  /* __Nodes_FWD_DEFINED__ */
  124. #ifndef __ContextMenu_FWD_DEFINED__
  125. #define __ContextMenu_FWD_DEFINED__
  126. typedef interface ContextMenu ContextMenu;
  127. #endif  /* __ContextMenu_FWD_DEFINED__ */
  128. #ifndef __MenuItem_FWD_DEFINED__
  129. #define __MenuItem_FWD_DEFINED__
  130. typedef interface MenuItem MenuItem;
  131. #endif  /* __MenuItem_FWD_DEFINED__ */
  132. #ifndef __Properties_FWD_DEFINED__
  133. #define __Properties_FWD_DEFINED__
  134. typedef interface Properties Properties;
  135. #endif  /* __Properties_FWD_DEFINED__ */
  136. #ifndef __Property_FWD_DEFINED__
  137. #define __Property_FWD_DEFINED__
  138. typedef interface Property Property;
  139. #endif  /* __Property_FWD_DEFINED__ */
  140. /* header files for imported files */
  141. #include "oaidl.h"
  142. #ifdef __cplusplus
  143. extern "C"{
  144. #endif 
  145. void * __RPC_USER MIDL_user_allocate(size_t);
  146. void __RPC_USER MIDL_user_free( void * ); 
  147. /* interface __MIDL_itf_mmcobj_0000 */
  148. /* [local] */ 
  149. #ifndef MMC_VER
  150. #define MMC_VER 0x0200
  151. #endif
  152. #if (MMC_VER >= 0x0200)
  153. typedef _Application *PAPPLICATION;
  154. typedef _Application **PPAPPLICATION;
  155. typedef Column *PCOLUMN;
  156. typedef Column **PPCOLUMN;
  157. typedef Columns *PCOLUMNS;
  158. typedef Columns **PPCOLUMNS;
  159. typedef ContextMenu *PCONTEXTMENU;
  160. typedef ContextMenu **PPCONTEXTMENU;
  161. typedef Document *PDOCUMENT;
  162. typedef Document **PPDOCUMENT;
  163. typedef Frame *PFRAME;
  164. typedef Frame **PPFRAME;
  165. typedef MenuItem *PMENUITEM;
  166. typedef MenuItem **PPMENUITEM;
  167. typedef Node *PNODE;
  168. typedef Node **PPNODE;
  169. typedef Nodes *PNODES;
  170. typedef Nodes **PPNODES;
  171. typedef Properties *PPROPERTIES;
  172. typedef Properties **PPPROPERTIES;
  173. typedef Property *PPROPERTY;
  174. typedef Property **PPPROPERTY;
  175. typedef ScopeNamespace *PSCOPENAMESPACE;
  176. typedef ScopeNamespace **PPSCOPENAMESPACE;
  177. typedef SnapIn *PSNAPIN;
  178. typedef SnapIn **PPSNAPIN;
  179. typedef SnapIns *PSNAPINS;
  180. typedef SnapIns **PPSNAPINS;
  181. typedef Extension *PEXTENSION;
  182. typedef Extension **PPEXTENSION;
  183. typedef Extensions *PEXTENSIONS;
  184. typedef Extensions **PPEXTENSIONS;
  185. typedef View *PVIEW;
  186. typedef View **PPVIEW;
  187. typedef Views *PVIEWS;
  188. typedef Views **PPVIEWS;
  189. typedef ISnapinProperties *LPSNAPINPROPERTIES;
  190. typedef ISnapinPropertiesCallback *LPSNAPINPROPERTIESCALLBACK;
  191. typedef BOOL *PBOOL;
  192. typedef int *PINT;
  193. typedef BSTR *PBSTR;
  194. typedef VARIANT *PVARIANT;
  195. typedef long *PLONG;
  196. typedef IDispatch *PDISPATCH;
  197. typedef IDispatch **PPDISPATCH;
  198. extern RPC_IF_HANDLE __MIDL_itf_mmcobj_0000_v0_0_c_ifspec;
  199. extern RPC_IF_HANDLE __MIDL_itf_mmcobj_0000_v0_0_s_ifspec;
  200. #ifndef __ISnapinProperties_INTERFACE_DEFINED__
  201. #define __ISnapinProperties_INTERFACE_DEFINED__
  202. /* interface ISnapinProperties */
  203. /* [unique][helpstring][uuid][object] */ 
  204. typedef 
  205. enum _MMC_PROPERTY_ACTION
  206.     { MMC_PROPACT_DELETING = 1,
  207. MMC_PROPACT_CHANGING = MMC_PROPACT_DELETING + 1,
  208. MMC_PROPACT_INITIALIZED = MMC_PROPACT_CHANGING + 1
  209.     }  MMC_PROPERTY_ACTION;
  210. typedef struct _MMC_SNAPIN_PROPERTY
  211.     {
  212.     LPCOLESTR pszPropName;
  213.     VARIANT varValue;
  214.     MMC_PROPERTY_ACTION eAction;
  215.     }  MMC_SNAPIN_PROPERTY;
  216. EXTERN_C const IID IID_ISnapinProperties;
  217. #if defined(__cplusplus) && !defined(CINTERFACE)
  218.     
  219.     MIDL_INTERFACE("F7889DA9-4A02-4837-BF89-1A6F2A021010")
  220.     ISnapinProperties : public IUnknown
  221.     {
  222.     public:
  223.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize( 
  224.             /* [in] */ Properties *pProperties) = 0;
  225.         
  226.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryPropertyNames( 
  227.             /* [in] */ ISnapinPropertiesCallback *pCallback) = 0;
  228.         
  229.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PropertiesChanged( 
  230.             /* [in] */ long cProperties,
  231.             /* [size_is][in] */ MMC_SNAPIN_PROPERTY *pProperties) = 0;
  232.         
  233.     };
  234.     
  235. #else  /* C style interface */
  236.     typedef struct ISnapinPropertiesVtbl
  237.     {
  238.         BEGIN_INTERFACE
  239.         
  240.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  241.             ISnapinProperties * This,
  242.             /* [in] */ REFIID riid,
  243.             /* [iid_is][out] */ void **ppvObject);
  244.         
  245.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  246.             ISnapinProperties * This);
  247.         
  248.         ULONG ( STDMETHODCALLTYPE *Release )( 
  249.             ISnapinProperties * This);
  250.         
  251.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )( 
  252.             ISnapinProperties * This,
  253.             /* [in] */ Properties *pProperties);
  254.         
  255.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryPropertyNames )( 
  256.             ISnapinProperties * This,
  257.             /* [in] */ ISnapinPropertiesCallback *pCallback);
  258.         
  259.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PropertiesChanged )( 
  260.             ISnapinProperties * This,
  261.             /* [in] */ long cProperties,
  262.             /* [size_is][in] */ MMC_SNAPIN_PROPERTY *pProperties);
  263.         
  264.         END_INTERFACE
  265.     } ISnapinPropertiesVtbl;
  266.     interface ISnapinProperties
  267.     {
  268.         CONST_VTBL struct ISnapinPropertiesVtbl *lpVtbl;
  269.     };
  270.     
  271. #ifdef COBJMACROS
  272. #define ISnapinProperties_QueryInterface(This,riid,ppvObject)
  273.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  274. #define ISnapinProperties_AddRef(This)
  275.     (This)->lpVtbl -> AddRef(This)
  276. #define ISnapinProperties_Release(This)
  277.     (This)->lpVtbl -> Release(This)
  278. #define ISnapinProperties_Initialize(This,pProperties)
  279.     (This)->lpVtbl -> Initialize(This,pProperties)
  280. #define ISnapinProperties_QueryPropertyNames(This,pCallback)
  281.     (This)->lpVtbl -> QueryPropertyNames(This,pCallback)
  282. #define ISnapinProperties_PropertiesChanged(This,cProperties,pProperties)
  283.     (This)->lpVtbl -> PropertiesChanged(This,cProperties,pProperties)
  284. #endif /* COBJMACROS */
  285. #endif  /* C style interface */
  286. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinProperties_Initialize_Proxy( 
  287.     ISnapinProperties * This,
  288.     /* [in] */ Properties *pProperties);
  289. void __RPC_STUB ISnapinProperties_Initialize_Stub(
  290.     IRpcStubBuffer *This,
  291.     IRpcChannelBuffer *_pRpcChannelBuffer,
  292.     PRPC_MESSAGE _pRpcMessage,
  293.     DWORD *_pdwStubPhase);
  294. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinProperties_QueryPropertyNames_Proxy( 
  295.     ISnapinProperties * This,
  296.     /* [in] */ ISnapinPropertiesCallback *pCallback);
  297. void __RPC_STUB ISnapinProperties_QueryPropertyNames_Stub(
  298.     IRpcStubBuffer *This,
  299.     IRpcChannelBuffer *_pRpcChannelBuffer,
  300.     PRPC_MESSAGE _pRpcMessage,
  301.     DWORD *_pdwStubPhase);
  302. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinProperties_PropertiesChanged_Proxy( 
  303.     ISnapinProperties * This,
  304.     /* [in] */ long cProperties,
  305.     /* [size_is][in] */ MMC_SNAPIN_PROPERTY *pProperties);
  306. void __RPC_STUB ISnapinProperties_PropertiesChanged_Stub(
  307.     IRpcStubBuffer *This,
  308.     IRpcChannelBuffer *_pRpcChannelBuffer,
  309.     PRPC_MESSAGE _pRpcMessage,
  310.     DWORD *_pdwStubPhase);
  311. #endif  /* __ISnapinProperties_INTERFACE_DEFINED__ */
  312. #ifndef __ISnapinPropertiesCallback_INTERFACE_DEFINED__
  313. #define __ISnapinPropertiesCallback_INTERFACE_DEFINED__
  314. /* interface ISnapinPropertiesCallback */
  315. /* [unique][helpstring][uuid][object] */ 
  316. #define MMC_PROP_CHANGEAFFECTSUI ( 0x1 )
  317. #define MMC_PROP_MODIFIABLE ( 0x2 )
  318. #define MMC_PROP_REMOVABLE ( 0x4 )
  319. #define MMC_PROP_PERSIST ( 0x8 )
  320. EXTERN_C const IID IID_ISnapinPropertiesCallback;
  321. #if defined(__cplusplus) && !defined(CINTERFACE)
  322.     
  323.     MIDL_INTERFACE("A50FA2E5-7E61-45EB-A8D4-9A07B3E851A8")
  324.     ISnapinPropertiesCallback : public IUnknown
  325.     {
  326.     public:
  327.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddPropertyName( 
  328.             /* [in] */ LPCOLESTR pszPropName,
  329.             /* [in] */ DWORD dwFlags) = 0;
  330.         
  331.     };
  332.     
  333. #else  /* C style interface */
  334.     typedef struct ISnapinPropertiesCallbackVtbl
  335.     {
  336.         BEGIN_INTERFACE
  337.         
  338.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  339.             ISnapinPropertiesCallback * This,
  340.             /* [in] */ REFIID riid,
  341.             /* [iid_is][out] */ void **ppvObject);
  342.         
  343.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  344.             ISnapinPropertiesCallback * This);
  345.         
  346.         ULONG ( STDMETHODCALLTYPE *Release )( 
  347.             ISnapinPropertiesCallback * This);
  348.         
  349.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPropertyName )( 
  350.             ISnapinPropertiesCallback * This,
  351.             /* [in] */ LPCOLESTR pszPropName,
  352.             /* [in] */ DWORD dwFlags);
  353.         
  354.         END_INTERFACE
  355.     } ISnapinPropertiesCallbackVtbl;
  356.     interface ISnapinPropertiesCallback
  357.     {
  358.         CONST_VTBL struct ISnapinPropertiesCallbackVtbl *lpVtbl;
  359.     };
  360.     
  361. #ifdef COBJMACROS
  362. #define ISnapinPropertiesCallback_QueryInterface(This,riid,ppvObject)
  363.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  364. #define ISnapinPropertiesCallback_AddRef(This)
  365.     (This)->lpVtbl -> AddRef(This)
  366. #define ISnapinPropertiesCallback_Release(This)
  367.     (This)->lpVtbl -> Release(This)
  368. #define ISnapinPropertiesCallback_AddPropertyName(This,pszPropName,dwFlags)
  369.     (This)->lpVtbl -> AddPropertyName(This,pszPropName,dwFlags)
  370. #endif /* COBJMACROS */
  371. #endif  /* C style interface */
  372. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinPropertiesCallback_AddPropertyName_Proxy( 
  373.     ISnapinPropertiesCallback * This,
  374.     /* [in] */ LPCOLESTR pszPropName,
  375.     /* [in] */ DWORD dwFlags);
  376. void __RPC_STUB ISnapinPropertiesCallback_AddPropertyName_Stub(
  377.     IRpcStubBuffer *This,
  378.     IRpcChannelBuffer *_pRpcChannelBuffer,
  379.     PRPC_MESSAGE _pRpcMessage,
  380.     DWORD *_pdwStubPhase);
  381. #endif  /* __ISnapinPropertiesCallback_INTERFACE_DEFINED__ */
  382. #ifndef __MMC20_LIBRARY_DEFINED__
  383. #define __MMC20_LIBRARY_DEFINED__
  384. /* library MMC20 */
  385. /* [version][helpstring][uuid] */ 
  386. typedef /* [helpstring][v1_enum] */ 
  387. enum DocumentMode
  388.     { DocumentMode_Author = 0,
  389. DocumentMode_User = DocumentMode_Author + 1,
  390. DocumentMode_User_MDI = DocumentMode_User + 1,
  391. DocumentMode_User_SDI = DocumentMode_User_MDI + 1
  392.     }  _DocumentMode;
  393. typedef enum DocumentMode DOCUMENTMODE;
  394. typedef enum DocumentMode *PDOCUMENTMODE;
  395. typedef enum DocumentMode **PPDOCUMENTMODE;
  396. typedef /* [helpstring][v1_enum] */ 
  397. enum ListViewMode
  398.     { ListMode_Small_Icons = 0,
  399. ListMode_Large_Icons = ListMode_Small_Icons + 1,
  400. ListMode_List = ListMode_Large_Icons + 1,
  401. ListMode_Detail = ListMode_List + 1,
  402. ListMode_Filtered = ListMode_Detail + 1
  403.     }  _ListViewMode;
  404. typedef enum ListViewMode LISTVIEWMODE;
  405. typedef enum ListViewMode *PLISTVIEWMODE;
  406. typedef enum ListViewMode **PPLISTVIEWMODE;
  407. typedef /* [helpstring][v1_enum] */ 
  408. enum ViewOptions
  409.     { ViewOption_Default = 0,
  410. ViewOption_ScopeTreeHidden = 0x1,
  411. ViewOption_NoToolBars = 0x2,
  412. ViewOption_NotPersistable = 0x4
  413.     }  _ViewOptions;
  414. typedef enum ViewOptions VIEWOPTIONS;
  415. typedef enum ViewOptions *PVIEWOPTIONS;
  416. typedef enum ViewOptions **PPVIEWOPTIONS;
  417. typedef /* [helpstring][v1_enum] */ 
  418. enum ExportListOptions
  419.     { ExportListOptions_Default = 0,
  420. ExportListOptions_Unicode = 0x1,
  421. ExportListOptions_TabDelimited = 0x2,
  422. ExportListOptions_SelectedItemsOnly = 0x4
  423.     }  _ExportListOptions;
  424. typedef enum ExportListOptions EXPORTLISTOPTIONS;
  425. EXTERN_C const IID LIBID_MMC20;
  426. #ifndef ___Application_INTERFACE_DEFINED__
  427. #define ___Application_INTERFACE_DEFINED__
  428. /* interface _Application */
  429. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */ 
  430. EXTERN_C const IID IID__Application;
  431. #if defined(__cplusplus) && !defined(CINTERFACE)
  432.     
  433.     MIDL_INTERFACE("A3AFB9CC-B653-4741-86AB-F0470EC1384C")
  434.     _Application : public IDispatch
  435.     {
  436.     public:
  437.         virtual /* [helpstring][id] */ void STDMETHODCALLTYPE Help( void) = 0;
  438.         
  439.         virtual /* [helpstring][id] */ void STDMETHODCALLTYPE Quit( void) = 0;
  440.         
  441.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Document( 
  442.             /* [retval][out] */ PPDOCUMENT Document) = 0;
  443.         
  444.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Load( 
  445.             /* [in] */ BSTR Filename) = 0;
  446.         
  447.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Frame( 
  448.             /* [retval][out] */ PPFRAME Frame) = 0;
  449.         
  450.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Visible( 
  451.             /* [retval][out] */ PBOOL Visible) = 0;
  452.         
  453.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Show( void) = 0;
  454.         
  455.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Hide( void) = 0;
  456.         
  457.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_UserControl( 
  458.             /* [retval][out] */ PBOOL UserControl) = 0;
  459.         
  460.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_UserControl( 
  461.             /* [in] */ BOOL UserControl) = 0;
  462.         
  463.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_VersionMajor( 
  464.             /* [retval][out] */ PLONG VersionMajor) = 0;
  465.         
  466.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_VersionMinor( 
  467.             /* [retval][out] */ PLONG VersionMinor) = 0;
  468.         
  469.     };
  470.     
  471. #else  /* C style interface */
  472.     typedef struct _ApplicationVtbl
  473.     {
  474.         BEGIN_INTERFACE
  475.         
  476.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  477.             _Application * This,
  478.             /* [in] */ REFIID riid,
  479.             /* [iid_is][out] */ void **ppvObject);
  480.         
  481.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  482.             _Application * This);
  483.         
  484.         ULONG ( STDMETHODCALLTYPE *Release )( 
  485.             _Application * This);
  486.         
  487.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  488.             _Application * This,
  489.             /* [out] */ UINT *pctinfo);
  490.         
  491.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  492.             _Application * This,
  493.             /* [in] */ UINT iTInfo,
  494.             /* [in] */ LCID lcid,
  495.             /* [out] */ ITypeInfo **ppTInfo);
  496.         
  497.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  498.             _Application * This,
  499.             /* [in] */ REFIID riid,
  500.             /* [size_is][in] */ LPOLESTR *rgszNames,
  501.             /* [in] */ UINT cNames,
  502.             /* [in] */ LCID lcid,
  503.             /* [size_is][out] */ DISPID *rgDispId);
  504.         
  505.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  506.             _Application * This,
  507.             /* [in] */ DISPID dispIdMember,
  508.             /* [in] */ REFIID riid,
  509.             /* [in] */ LCID lcid,
  510.             /* [in] */ WORD wFlags,
  511.             /* [out][in] */ DISPPARAMS *pDispParams,
  512.             /* [out] */ VARIANT *pVarResult,
  513.             /* [out] */ EXCEPINFO *pExcepInfo,
  514.             /* [out] */ UINT *puArgErr);
  515.         
  516.         /* [helpstring][id] */ void ( STDMETHODCALLTYPE *Help )( 
  517.             _Application * This);
  518.         
  519.         /* [helpstring][id] */ void ( STDMETHODCALLTYPE *Quit )( 
  520.             _Application * This);
  521.         
  522.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Document )( 
  523.             _Application * This,
  524.             /* [retval][out] */ PPDOCUMENT Document);
  525.         
  526.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Load )( 
  527.             _Application * This,
  528.             /* [in] */ BSTR Filename);
  529.         
  530.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Frame )( 
  531.             _Application * This,
  532.             /* [retval][out] */ PPFRAME Frame);
  533.         
  534.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )( 
  535.             _Application * This,
  536.             /* [retval][out] */ PBOOL Visible);
  537.         
  538.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Show )( 
  539.             _Application * This);
  540.         
  541.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Hide )( 
  542.             _Application * This);
  543.         
  544.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_UserControl )( 
  545.             _Application * This,
  546.             /* [retval][out] */ PBOOL UserControl);
  547.         
  548.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_UserControl )( 
  549.             _Application * This,
  550.             /* [in] */ BOOL UserControl);
  551.         
  552.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_VersionMajor )( 
  553.             _Application * This,
  554.             /* [retval][out] */ PLONG VersionMajor);
  555.         
  556.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_VersionMinor )( 
  557.             _Application * This,
  558.             /* [retval][out] */ PLONG VersionMinor);
  559.         
  560.         END_INTERFACE
  561.     } _ApplicationVtbl;
  562.     interface _Application
  563.     {
  564.         CONST_VTBL struct _ApplicationVtbl *lpVtbl;
  565.     };
  566.     
  567. #ifdef COBJMACROS
  568. #define _Application_QueryInterface(This,riid,ppvObject)
  569.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  570. #define _Application_AddRef(This)
  571.     (This)->lpVtbl -> AddRef(This)
  572. #define _Application_Release(This)
  573.     (This)->lpVtbl -> Release(This)
  574. #define _Application_GetTypeInfoCount(This,pctinfo)
  575.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  576. #define _Application_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  577.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  578. #define _Application_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  579.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  580. #define _Application_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  581.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  582. #define _Application_Help(This)
  583.     (This)->lpVtbl -> Help(This)
  584. #define _Application_Quit(This)
  585.     (This)->lpVtbl -> Quit(This)
  586. #define _Application_get_Document(This,Document)
  587.     (This)->lpVtbl -> get_Document(This,Document)
  588. #define _Application_Load(This,Filename)
  589.     (This)->lpVtbl -> Load(This,Filename)
  590. #define _Application_get_Frame(This,Frame)
  591.     (This)->lpVtbl -> get_Frame(This,Frame)
  592. #define _Application_get_Visible(This,Visible)
  593.     (This)->lpVtbl -> get_Visible(This,Visible)
  594. #define _Application_Show(This)
  595.     (This)->lpVtbl -> Show(This)
  596. #define _Application_Hide(This)
  597.     (This)->lpVtbl -> Hide(This)
  598. #define _Application_get_UserControl(This,UserControl)
  599.     (This)->lpVtbl -> get_UserControl(This,UserControl)
  600. #define _Application_put_UserControl(This,UserControl)
  601.     (This)->lpVtbl -> put_UserControl(This,UserControl)
  602. #define _Application_get_VersionMajor(This,VersionMajor)
  603.     (This)->lpVtbl -> get_VersionMajor(This,VersionMajor)
  604. #define _Application_get_VersionMinor(This,VersionMinor)
  605.     (This)->lpVtbl -> get_VersionMinor(This,VersionMinor)
  606. #endif /* COBJMACROS */
  607. #endif  /* C style interface */
  608. /* [helpstring][id] */ void STDMETHODCALLTYPE _Application_Help_Proxy( 
  609.     _Application * This);
  610. void __RPC_STUB _Application_Help_Stub(
  611.     IRpcStubBuffer *This,
  612.     IRpcChannelBuffer *_pRpcChannelBuffer,
  613.     PRPC_MESSAGE _pRpcMessage,
  614.     DWORD *_pdwStubPhase);
  615. /* [helpstring][id] */ void STDMETHODCALLTYPE _Application_Quit_Proxy( 
  616.     _Application * This);
  617. void __RPC_STUB _Application_Quit_Stub(
  618.     IRpcStubBuffer *This,
  619.     IRpcChannelBuffer *_pRpcChannelBuffer,
  620.     PRPC_MESSAGE _pRpcMessage,
  621.     DWORD *_pdwStubPhase);
  622. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_Document_Proxy( 
  623.     _Application * This,
  624.     /* [retval][out] */ PPDOCUMENT Document);
  625. void __RPC_STUB _Application_get_Document_Stub(
  626.     IRpcStubBuffer *This,
  627.     IRpcChannelBuffer *_pRpcChannelBuffer,
  628.     PRPC_MESSAGE _pRpcMessage,
  629.     DWORD *_pdwStubPhase);
  630. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _Application_Load_Proxy( 
  631.     _Application * This,
  632.     /* [in] */ BSTR Filename);
  633. void __RPC_STUB _Application_Load_Stub(
  634.     IRpcStubBuffer *This,
  635.     IRpcChannelBuffer *_pRpcChannelBuffer,
  636.     PRPC_MESSAGE _pRpcMessage,
  637.     DWORD *_pdwStubPhase);
  638. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_Frame_Proxy( 
  639.     _Application * This,
  640.     /* [retval][out] */ PPFRAME Frame);
  641. void __RPC_STUB _Application_get_Frame_Stub(
  642.     IRpcStubBuffer *This,
  643.     IRpcChannelBuffer *_pRpcChannelBuffer,
  644.     PRPC_MESSAGE _pRpcMessage,
  645.     DWORD *_pdwStubPhase);
  646. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_Visible_Proxy( 
  647.     _Application * This,
  648.     /* [retval][out] */ PBOOL Visible);
  649. void __RPC_STUB _Application_get_Visible_Stub(
  650.     IRpcStubBuffer *This,
  651.     IRpcChannelBuffer *_pRpcChannelBuffer,
  652.     PRPC_MESSAGE _pRpcMessage,
  653.     DWORD *_pdwStubPhase);
  654. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _Application_Show_Proxy( 
  655.     _Application * This);
  656. void __RPC_STUB _Application_Show_Stub(
  657.     IRpcStubBuffer *This,
  658.     IRpcChannelBuffer *_pRpcChannelBuffer,
  659.     PRPC_MESSAGE _pRpcMessage,
  660.     DWORD *_pdwStubPhase);
  661. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _Application_Hide_Proxy( 
  662.     _Application * This);
  663. void __RPC_STUB _Application_Hide_Stub(
  664.     IRpcStubBuffer *This,
  665.     IRpcChannelBuffer *_pRpcChannelBuffer,
  666.     PRPC_MESSAGE _pRpcMessage,
  667.     DWORD *_pdwStubPhase);
  668. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_UserControl_Proxy( 
  669.     _Application * This,
  670.     /* [retval][out] */ PBOOL UserControl);
  671. void __RPC_STUB _Application_get_UserControl_Stub(
  672.     IRpcStubBuffer *This,
  673.     IRpcChannelBuffer *_pRpcChannelBuffer,
  674.     PRPC_MESSAGE _pRpcMessage,
  675.     DWORD *_pdwStubPhase);
  676. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE _Application_put_UserControl_Proxy( 
  677.     _Application * This,
  678.     /* [in] */ BOOL UserControl);
  679. void __RPC_STUB _Application_put_UserControl_Stub(
  680.     IRpcStubBuffer *This,
  681.     IRpcChannelBuffer *_pRpcChannelBuffer,
  682.     PRPC_MESSAGE _pRpcMessage,
  683.     DWORD *_pdwStubPhase);
  684. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_VersionMajor_Proxy( 
  685.     _Application * This,
  686.     /* [retval][out] */ PLONG VersionMajor);
  687. void __RPC_STUB _Application_get_VersionMajor_Stub(
  688.     IRpcStubBuffer *This,
  689.     IRpcChannelBuffer *_pRpcChannelBuffer,
  690.     PRPC_MESSAGE _pRpcMessage,
  691.     DWORD *_pdwStubPhase);
  692. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_VersionMinor_Proxy( 
  693.     _Application * This,
  694.     /* [retval][out] */ PLONG VersionMinor);
  695. void __RPC_STUB _Application_get_VersionMinor_Stub(
  696.     IRpcStubBuffer *This,
  697.     IRpcChannelBuffer *_pRpcChannelBuffer,
  698.     PRPC_MESSAGE _pRpcMessage,
  699.     DWORD *_pdwStubPhase);
  700. #endif  /* ___Application_INTERFACE_DEFINED__ */
  701. #ifndef ___AppEvents_INTERFACE_DEFINED__
  702. #define ___AppEvents_INTERFACE_DEFINED__
  703. /* interface _AppEvents */
  704. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */ 
  705. EXTERN_C const IID IID__AppEvents;
  706. #if defined(__cplusplus) && !defined(CINTERFACE)
  707.     
  708.     MIDL_INTERFACE("DE46CBDD-53F5-4635-AF54-4FE71E923D3F")
  709.     _AppEvents : public IDispatch
  710.     {
  711.     public:
  712.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnQuit( 
  713.             /* [in] */ PAPPLICATION Application) = 0;
  714.         
  715.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnDocumentOpen( 
  716.             /* [in] */ PDOCUMENT Document,
  717.             /* [in] */ BOOL New) = 0;
  718.         
  719.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnDocumentClose( 
  720.             /* [in] */ PDOCUMENT Document) = 0;
  721.         
  722.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnSnapInAdded( 
  723.             /* [in] */ PDOCUMENT Document,
  724.             /* [in] */ PSNAPIN SnapIn) = 0;
  725.         
  726.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnSnapInRemoved( 
  727.             /* [in] */ PDOCUMENT Document,
  728.             /* [in] */ PSNAPIN SnapIn) = 0;
  729.         
  730.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnNewView( 
  731.             /* [in] */ PVIEW View) = 0;
  732.         
  733.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnViewClose( 
  734.             /* [in] */ PVIEW View) = 0;
  735.         
  736.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnViewChange( 
  737.             /* [in] */ PVIEW View,
  738.             /* [in] */ PNODE NewOwnerNode) = 0;
  739.         
  740.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnSelectionChange( 
  741.             /* [in] */ PVIEW View,
  742.             /* [in] */ PNODES NewNodes) = 0;
  743.         
  744.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnContextMenuExecuted( 
  745.             /* [in] */ PMENUITEM MenuItem) = 0;
  746.         
  747.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnToolbarButtonClicked( void) = 0;
  748.         
  749.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnListUpdated( 
  750.             /* [in] */ PVIEW View) = 0;
  751.         
  752.     };
  753.     
  754. #else  /* C style interface */
  755.     typedef struct _AppEventsVtbl
  756.     {
  757.         BEGIN_INTERFACE
  758.         
  759.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  760.             _AppEvents * This,
  761.             /* [in] */ REFIID riid,
  762.             /* [iid_is][out] */ void **ppvObject);
  763.         
  764.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  765.             _AppEvents * This);
  766.         
  767.         ULONG ( STDMETHODCALLTYPE *Release )( 
  768.             _AppEvents * This);
  769.         
  770.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  771.             _AppEvents * This,
  772.             /* [out] */ UINT *pctinfo);
  773.         
  774.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  775.             _AppEvents * This,
  776.             /* [in] */ UINT iTInfo,
  777.             /* [in] */ LCID lcid,
  778.             /* [out] */ ITypeInfo **ppTInfo);
  779.         
  780.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  781.             _AppEvents * This,
  782.             /* [in] */ REFIID riid,
  783.             /* [size_is][in] */ LPOLESTR *rgszNames,
  784.             /* [in] */ UINT cNames,
  785.             /* [in] */ LCID lcid,
  786.             /* [size_is][out] */ DISPID *rgDispId);
  787.         
  788.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  789.             _AppEvents * This,
  790.             /* [in] */ DISPID dispIdMember,
  791.             /* [in] */ REFIID riid,
  792.             /* [in] */ LCID lcid,
  793.             /* [in] */ WORD wFlags,
  794.             /* [out][in] */ DISPPARAMS *pDispParams,
  795.             /* [out] */ VARIANT *pVarResult,
  796.             /* [out] */ EXCEPINFO *pExcepInfo,
  797.             /* [out] */ UINT *puArgErr);
  798.         
  799.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnQuit )( 
  800.             _AppEvents * This,
  801.             /* [in] */ PAPPLICATION Application);
  802.         
  803.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnDocumentOpen )( 
  804.             _AppEvents * This,
  805.             /* [in] */ PDOCUMENT Document,
  806.             /* [in] */ BOOL New);
  807.         
  808.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnDocumentClose )( 
  809.             _AppEvents * This,
  810.             /* [in] */ PDOCUMENT Document);
  811.         
  812.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnSnapInAdded )( 
  813.             _AppEvents * This,
  814.             /* [in] */ PDOCUMENT Document,
  815.             /* [in] */ PSNAPIN SnapIn);
  816.         
  817.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnSnapInRemoved )( 
  818.             _AppEvents * This,
  819.             /* [in] */ PDOCUMENT Document,
  820.             /* [in] */ PSNAPIN SnapIn);
  821.         
  822.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnNewView )( 
  823.             _AppEvents * This,
  824.             /* [in] */ PVIEW View);
  825.         
  826.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnViewClose )( 
  827.             _AppEvents * This,
  828.             /* [in] */ PVIEW View);
  829.         
  830.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnViewChange )( 
  831.             _AppEvents * This,
  832.             /* [in] */ PVIEW View,
  833.             /* [in] */ PNODE NewOwnerNode);
  834.         
  835.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnSelectionChange )( 
  836.             _AppEvents * This,
  837.             /* [in] */ PVIEW View,
  838.             /* [in] */ PNODES NewNodes);
  839.         
  840.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnContextMenuExecuted )( 
  841.             _AppEvents * This,
  842.             /* [in] */ PMENUITEM MenuItem);
  843.         
  844.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnToolbarButtonClicked )( 
  845.             _AppEvents * This);
  846.         
  847.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnListUpdated )( 
  848.             _AppEvents * This,
  849.             /* [in] */ PVIEW View);
  850.         
  851.         END_INTERFACE
  852.     } _AppEventsVtbl;
  853.     interface _AppEvents
  854.     {
  855.         CONST_VTBL struct _AppEventsVtbl *lpVtbl;
  856.     };
  857.     
  858. #ifdef COBJMACROS
  859. #define _AppEvents_QueryInterface(This,riid,ppvObject)
  860.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  861. #define _AppEvents_AddRef(This)
  862.     (This)->lpVtbl -> AddRef(This)
  863. #define _AppEvents_Release(This)
  864.     (This)->lpVtbl -> Release(This)
  865. #define _AppEvents_GetTypeInfoCount(This,pctinfo)
  866.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  867. #define _AppEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  868.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  869. #define _AppEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  870.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  871. #define _AppEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  872.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  873. #define _AppEvents_OnQuit(This,Application)
  874.     (This)->lpVtbl -> OnQuit(This,Application)
  875. #define _AppEvents_OnDocumentOpen(This,Document,New)
  876.     (This)->lpVtbl -> OnDocumentOpen(This,Document,New)
  877. #define _AppEvents_OnDocumentClose(This,Document)
  878.     (This)->lpVtbl -> OnDocumentClose(This,Document)
  879. #define _AppEvents_OnSnapInAdded(This,Document,SnapIn)
  880.     (This)->lpVtbl -> OnSnapInAdded(This,Document,SnapIn)
  881. #define _AppEvents_OnSnapInRemoved(This,Document,SnapIn)
  882.     (This)->lpVtbl -> OnSnapInRemoved(This,Document,SnapIn)
  883. #define _AppEvents_OnNewView(This,View)
  884.     (This)->lpVtbl -> OnNewView(This,View)
  885. #define _AppEvents_OnViewClose(This,View)
  886.     (This)->lpVtbl -> OnViewClose(This,View)
  887. #define _AppEvents_OnViewChange(This,View,NewOwnerNode)
  888.     (This)->lpVtbl -> OnViewChange(This,View,NewOwnerNode)
  889. #define _AppEvents_OnSelectionChange(This,View,NewNodes)
  890.     (This)->lpVtbl -> OnSelectionChange(This,View,NewNodes)
  891. #define _AppEvents_OnContextMenuExecuted(This,MenuItem)
  892.     (This)->lpVtbl -> OnContextMenuExecuted(This,MenuItem)
  893. #define _AppEvents_OnToolbarButtonClicked(This)
  894.     (This)->lpVtbl -> OnToolbarButtonClicked(This)
  895. #define _AppEvents_OnListUpdated(This,View)
  896.     (This)->lpVtbl -> OnListUpdated(This,View)
  897. #endif /* COBJMACROS */
  898. #endif  /* C style interface */
  899. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnQuit_Proxy( 
  900.     _AppEvents * This,
  901.     /* [in] */ PAPPLICATION Application);
  902. void __RPC_STUB _AppEvents_OnQuit_Stub(
  903.     IRpcStubBuffer *This,
  904.     IRpcChannelBuffer *_pRpcChannelBuffer,
  905.     PRPC_MESSAGE _pRpcMessage,
  906.     DWORD *_pdwStubPhase);
  907. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnDocumentOpen_Proxy( 
  908.     _AppEvents * This,
  909.     /* [in] */ PDOCUMENT Document,
  910.     /* [in] */ BOOL New);
  911. void __RPC_STUB _AppEvents_OnDocumentOpen_Stub(
  912.     IRpcStubBuffer *This,
  913.     IRpcChannelBuffer *_pRpcChannelBuffer,
  914.     PRPC_MESSAGE _pRpcMessage,
  915.     DWORD *_pdwStubPhase);
  916. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnDocumentClose_Proxy( 
  917.     _AppEvents * This,
  918.     /* [in] */ PDOCUMENT Document);
  919. void __RPC_STUB _AppEvents_OnDocumentClose_Stub(
  920.     IRpcStubBuffer *This,
  921.     IRpcChannelBuffer *_pRpcChannelBuffer,
  922.     PRPC_MESSAGE _pRpcMessage,
  923.     DWORD *_pdwStubPhase);
  924. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnSnapInAdded_Proxy( 
  925.     _AppEvents * This,
  926.     /* [in] */ PDOCUMENT Document,
  927.     /* [in] */ PSNAPIN SnapIn);
  928. void __RPC_STUB _AppEvents_OnSnapInAdded_Stub(
  929.     IRpcStubBuffer *This,
  930.     IRpcChannelBuffer *_pRpcChannelBuffer,
  931.     PRPC_MESSAGE _pRpcMessage,
  932.     DWORD *_pdwStubPhase);
  933. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnSnapInRemoved_Proxy( 
  934.     _AppEvents * This,
  935.     /* [in] */ PDOCUMENT Document,
  936.     /* [in] */ PSNAPIN SnapIn);
  937. void __RPC_STUB _AppEvents_OnSnapInRemoved_Stub(
  938.     IRpcStubBuffer *This,
  939.     IRpcChannelBuffer *_pRpcChannelBuffer,
  940.     PRPC_MESSAGE _pRpcMessage,
  941.     DWORD *_pdwStubPhase);
  942. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnNewView_Proxy( 
  943.     _AppEvents * This,
  944.     /* [in] */ PVIEW View);
  945. void __RPC_STUB _AppEvents_OnNewView_Stub(
  946.     IRpcStubBuffer *This,
  947.     IRpcChannelBuffer *_pRpcChannelBuffer,
  948.     PRPC_MESSAGE _pRpcMessage,
  949.     DWORD *_pdwStubPhase);
  950. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnViewClose_Proxy( 
  951.     _AppEvents * This,
  952.     /* [in] */ PVIEW View);
  953. void __RPC_STUB _AppEvents_OnViewClose_Stub(
  954.     IRpcStubBuffer *This,
  955.     IRpcChannelBuffer *_pRpcChannelBuffer,
  956.     PRPC_MESSAGE _pRpcMessage,
  957.     DWORD *_pdwStubPhase);
  958. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnViewChange_Proxy( 
  959.     _AppEvents * This,
  960.     /* [in] */ PVIEW View,
  961.     /* [in] */ PNODE NewOwnerNode);
  962. void __RPC_STUB _AppEvents_OnViewChange_Stub(
  963.     IRpcStubBuffer *This,
  964.     IRpcChannelBuffer *_pRpcChannelBuffer,
  965.     PRPC_MESSAGE _pRpcMessage,
  966.     DWORD *_pdwStubPhase);
  967. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnSelectionChange_Proxy( 
  968.     _AppEvents * This,
  969.     /* [in] */ PVIEW View,
  970.     /* [in] */ PNODES NewNodes);
  971. void __RPC_STUB _AppEvents_OnSelectionChange_Stub(
  972.     IRpcStubBuffer *This,
  973.     IRpcChannelBuffer *_pRpcChannelBuffer,
  974.     PRPC_MESSAGE _pRpcMessage,
  975.     DWORD *_pdwStubPhase);
  976. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnContextMenuExecuted_Proxy( 
  977.     _AppEvents * This,
  978.     /* [in] */ PMENUITEM MenuItem);
  979. void __RPC_STUB _AppEvents_OnContextMenuExecuted_Stub(
  980.     IRpcStubBuffer *This,
  981.     IRpcChannelBuffer *_pRpcChannelBuffer,
  982.     PRPC_MESSAGE _pRpcMessage,
  983.     DWORD *_pdwStubPhase);
  984. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnToolbarButtonClicked_Proxy( 
  985.     _AppEvents * This);
  986. void __RPC_STUB _AppEvents_OnToolbarButtonClicked_Stub(
  987.     IRpcStubBuffer *This,
  988.     IRpcChannelBuffer *_pRpcChannelBuffer,
  989.     PRPC_MESSAGE _pRpcMessage,
  990.     DWORD *_pdwStubPhase);
  991. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnListUpdated_Proxy( 
  992.     _AppEvents * This,
  993.     /* [in] */ PVIEW View);
  994. void __RPC_STUB _AppEvents_OnListUpdated_Stub(
  995.     IRpcStubBuffer *This,
  996.     IRpcChannelBuffer *_pRpcChannelBuffer,
  997.     PRPC_MESSAGE _pRpcMessage,
  998.     DWORD *_pdwStubPhase);
  999. #endif  /* ___AppEvents_INTERFACE_DEFINED__ */
  1000. #ifndef __AppEvents_DISPINTERFACE_DEFINED__
  1001. #define __AppEvents_DISPINTERFACE_DEFINED__
  1002. /* dispinterface AppEvents */
  1003. /* [helpstring][uuid] */ 
  1004. EXTERN_C const IID DIID_AppEvents;
  1005. #if defined(__cplusplus) && !defined(CINTERFACE)
  1006.     MIDL_INTERFACE("FC7A4252-78AC-4532-8C5A-563CFE138863")
  1007.     AppEvents : public IDispatch
  1008.     {
  1009.     };
  1010.     
  1011. #else  /* C style interface */
  1012.     typedef struct AppEventsVtbl
  1013.     {
  1014.         BEGIN_INTERFACE
  1015.         
  1016.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1017.             AppEvents * This,
  1018.             /* [in] */ REFIID riid,
  1019.             /* [iid_is][out] */ void **ppvObject);
  1020.         
  1021.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1022.             AppEvents * This);
  1023.         
  1024.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1025.             AppEvents * This);
  1026.         
  1027.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1028.             AppEvents * This,
  1029.             /* [out] */ UINT *pctinfo);
  1030.         
  1031.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1032.             AppEvents * This,
  1033.             /* [in] */ UINT iTInfo,
  1034.             /* [in] */ LCID lcid,
  1035.             /* [out] */ ITypeInfo **ppTInfo);
  1036.         
  1037.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1038.             AppEvents * This,
  1039.             /* [in] */ REFIID riid,
  1040.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1041.             /* [in] */ UINT cNames,
  1042.             /* [in] */ LCID lcid,
  1043.             /* [size_is][out] */ DISPID *rgDispId);
  1044.         
  1045.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1046.             AppEvents * This,
  1047.             /* [in] */ DISPID dispIdMember,
  1048.             /* [in] */ REFIID riid,
  1049.             /* [in] */ LCID lcid,
  1050.             /* [in] */ WORD wFlags,
  1051.             /* [out][in] */ DISPPARAMS *pDispParams,
  1052.             /* [out] */ VARIANT *pVarResult,
  1053.             /* [out] */ EXCEPINFO *pExcepInfo,
  1054.             /* [out] */ UINT *puArgErr);
  1055.         
  1056.         END_INTERFACE
  1057.     } AppEventsVtbl;
  1058.     interface AppEvents
  1059.     {
  1060.         CONST_VTBL struct AppEventsVtbl *lpVtbl;
  1061.     };
  1062.     
  1063. #ifdef COBJMACROS
  1064. #define AppEvents_QueryInterface(This,riid,ppvObject)
  1065.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1066. #define AppEvents_AddRef(This)
  1067.     (This)->lpVtbl -> AddRef(This)
  1068. #define AppEvents_Release(This)
  1069.     (This)->lpVtbl -> Release(This)
  1070. #define AppEvents_GetTypeInfoCount(This,pctinfo)
  1071.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1072. #define AppEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1073.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1074. #define AppEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1075.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1076. #define AppEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1077.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1078. #endif /* COBJMACROS */
  1079. #endif  /* C style interface */
  1080. #endif  /* __AppEvents_DISPINTERFACE_DEFINED__ */
  1081. EXTERN_C const CLSID CLSID_Application;
  1082. #ifdef __cplusplus
  1083. class DECLSPEC_UUID("49B2791A-B1AE-4C90-9B8E-E860BA07F889")
  1084. Application;
  1085. #endif
  1086. #ifndef ___EventConnector_INTERFACE_DEFINED__
  1087. #define ___EventConnector_INTERFACE_DEFINED__
  1088. /* interface _EventConnector */
  1089. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */ 
  1090. EXTERN_C const IID IID__EventConnector;
  1091. #if defined(__cplusplus) && !defined(CINTERFACE)
  1092.     
  1093.     MIDL_INTERFACE("C0BCCD30-DE44-4528-8403-A05A6A1CC8EA")
  1094.     _EventConnector : public IDispatch
  1095.     {
  1096.     public:
  1097.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConnectTo( 
  1098.             /* [in] */ PAPPLICATION Application) = 0;
  1099.         
  1100.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
  1101.         
  1102.     };
  1103.     
  1104. #else  /* C style interface */
  1105.     typedef struct _EventConnectorVtbl
  1106.     {
  1107.         BEGIN_INTERFACE
  1108.         
  1109.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1110.             _EventConnector * This,
  1111.             /* [in] */ REFIID riid,
  1112.             /* [iid_is][out] */ void **ppvObject);
  1113.         
  1114.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1115.             _EventConnector * This);
  1116.         
  1117.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1118.             _EventConnector * This);
  1119.         
  1120.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1121.             _EventConnector * This,
  1122.             /* [out] */ UINT *pctinfo);
  1123.         
  1124.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1125.             _EventConnector * This,
  1126.             /* [in] */ UINT iTInfo,
  1127.             /* [in] */ LCID lcid,
  1128.             /* [out] */ ITypeInfo **ppTInfo);
  1129.         
  1130.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1131.             _EventConnector * This,
  1132.             /* [in] */ REFIID riid,
  1133.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1134.             /* [in] */ UINT cNames,
  1135.             /* [in] */ LCID lcid,
  1136.             /* [size_is][out] */ DISPID *rgDispId);
  1137.         
  1138.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1139.             _EventConnector * This,
  1140.             /* [in] */ DISPID dispIdMember,
  1141.             /* [in] */ REFIID riid,
  1142.             /* [in] */ LCID lcid,
  1143.             /* [in] */ WORD wFlags,
  1144.             /* [out][in] */ DISPPARAMS *pDispParams,
  1145.             /* [out] */ VARIANT *pVarResult,
  1146.             /* [out] */ EXCEPINFO *pExcepInfo,
  1147.             /* [out] */ UINT *puArgErr);
  1148.         
  1149.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectTo )( 
  1150.             _EventConnector * This,
  1151.             /* [in] */ PAPPLICATION Application);
  1152.         
  1153.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )( 
  1154.             _EventConnector * This);
  1155.         
  1156.         END_INTERFACE
  1157.     } _EventConnectorVtbl;
  1158.     interface _EventConnector
  1159.     {
  1160.         CONST_VTBL struct _EventConnectorVtbl *lpVtbl;
  1161.     };
  1162.     
  1163. #ifdef COBJMACROS
  1164. #define _EventConnector_QueryInterface(This,riid,ppvObject)
  1165.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1166. #define _EventConnector_AddRef(This)
  1167.     (This)->lpVtbl -> AddRef(This)
  1168. #define _EventConnector_Release(This)
  1169.     (This)->lpVtbl -> Release(This)
  1170. #define _EventConnector_GetTypeInfoCount(This,pctinfo)
  1171.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1172. #define _EventConnector_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1173.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1174. #define _EventConnector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1175.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1176. #define _EventConnector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1177.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1178. #define _EventConnector_ConnectTo(This,Application)
  1179.     (This)->lpVtbl -> ConnectTo(This,Application)
  1180. #define _EventConnector_Disconnect(This)
  1181.     (This)->lpVtbl -> Disconnect(This)
  1182. #endif /* COBJMACROS */
  1183. #endif  /* C style interface */
  1184. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _EventConnector_ConnectTo_Proxy( 
  1185.     _EventConnector * This,
  1186.     /* [in] */ PAPPLICATION Application);
  1187. void __RPC_STUB _EventConnector_ConnectTo_Stub(
  1188.     IRpcStubBuffer *This,
  1189.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1190.     PRPC_MESSAGE _pRpcMessage,
  1191.     DWORD *_pdwStubPhase);
  1192. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _EventConnector_Disconnect_Proxy( 
  1193.     _EventConnector * This);
  1194. void __RPC_STUB _EventConnector_Disconnect_Stub(
  1195.     IRpcStubBuffer *This,
  1196.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1197.     PRPC_MESSAGE _pRpcMessage,
  1198.     DWORD *_pdwStubPhase);
  1199. #endif  /* ___EventConnector_INTERFACE_DEFINED__ */
  1200. EXTERN_C const CLSID CLSID_AppEventsDHTMLConnector;
  1201. #ifdef __cplusplus
  1202. class DECLSPEC_UUID("ADE6444B-C91F-4e37-92A4-5BB430A33340")
  1203. AppEventsDHTMLConnector;
  1204. #endif
  1205. #ifndef __Frame_INTERFACE_DEFINED__
  1206. #define __Frame_INTERFACE_DEFINED__
  1207. /* interface Frame */
  1208. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */ 
  1209. EXTERN_C const IID IID_Frame;
  1210. #if defined(__cplusplus) && !defined(CINTERFACE)
  1211.     
  1212.     MIDL_INTERFACE("E5E2D970-5BB3-4306-8804-B0968A31C8E6")
  1213.     Frame : public IDispatch
  1214.     {
  1215.     public:
  1216.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Maximize( void) = 0;
  1217.         
  1218.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Minimize( void) = 0;
  1219.         
  1220.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Restore( void) = 0;
  1221.         
  1222.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Top( 
  1223.             /* [retval][out] */ PINT Top) = 0;
  1224.         
  1225.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Top( 
  1226.             /* [in] */ int top) = 0;
  1227.         
  1228.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Bottom( 
  1229.             /* [retval][out] */ PINT Bottom) = 0;
  1230.         
  1231.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Bottom( 
  1232.             /* [in] */ int bottom) = 0;
  1233.         
  1234.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Left( 
  1235.             /* [retval][out] */ PINT Left) = 0;
  1236.         
  1237.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Left( 
  1238.             /* [in] */ int left) = 0;
  1239.         
  1240.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Right( 
  1241.             /* [retval][out] */ PINT Right) = 0;
  1242.         
  1243.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Right( 
  1244.             /* [in] */ int right) = 0;
  1245.         
  1246.     };
  1247.     
  1248. #else  /* C style interface */
  1249.     typedef struct FrameVtbl
  1250.     {
  1251.         BEGIN_INTERFACE
  1252.         
  1253.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1254.             Frame * This,
  1255.             /* [in] */ REFIID riid,
  1256.             /* [iid_is][out] */ void **ppvObject);
  1257.         
  1258.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1259.             Frame * This);
  1260.         
  1261.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1262.             Frame * This);
  1263.         
  1264.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1265.             Frame * This,
  1266.             /* [out] */ UINT *pctinfo);
  1267.         
  1268.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1269.             Frame * This,
  1270.             /* [in] */ UINT iTInfo,
  1271.             /* [in] */ LCID lcid,
  1272.             /* [out] */ ITypeInfo **ppTInfo);
  1273.         
  1274.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1275.             Frame * This,
  1276.             /* [in] */ REFIID riid,
  1277.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1278.             /* [in] */ UINT cNames,
  1279.             /* [in] */ LCID lcid,
  1280.             /* [size_is][out] */ DISPID *rgDispId);
  1281.         
  1282.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1283.             Frame * This,
  1284.             /* [in] */ DISPID dispIdMember,
  1285.             /* [in] */ REFIID riid,
  1286.             /* [in] */ LCID lcid,
  1287.             /* [in] */ WORD wFlags,
  1288.             /* [out][in] */ DISPPARAMS *pDispParams,
  1289.             /* [out] */ VARIANT *pVarResult,
  1290.             /* [out] */ EXCEPINFO *pExcepInfo,
  1291.             /* [out] */ UINT *puArgErr);
  1292.         
  1293.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Maximize )( 
  1294.             Frame * This);
  1295.         
  1296.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Minimize )( 
  1297.             Frame * This);
  1298.         
  1299.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Restore )( 
  1300.             Frame * This);
  1301.         
  1302.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Top )( 
  1303.             Frame * This,
  1304.             /* [retval][out] */ PINT Top);
  1305.         
  1306.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Top )( 
  1307.             Frame * This,
  1308.             /* [in] */ int top);
  1309.         
  1310.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Bottom )( 
  1311.             Frame * This,
  1312.             /* [retval][out] */ PINT Bottom);
  1313.         
  1314.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Bottom )( 
  1315.             Frame * This,
  1316.             /* [in] */ int bottom);
  1317.         
  1318.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Left )( 
  1319.             Frame * This,
  1320.             /* [retval][out] */ PINT Left);
  1321.         
  1322.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Left )( 
  1323.             Frame * This,
  1324.             /* [in] */ int left);
  1325.         
  1326.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Right )( 
  1327.             Frame * This,
  1328.             /* [retval][out] */ PINT Right);
  1329.         
  1330.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Right )( 
  1331.             Frame * This,
  1332.             /* [in] */ int right);
  1333.         
  1334.         END_INTERFACE
  1335.     } FrameVtbl;
  1336.     interface Frame
  1337.     {
  1338.         CONST_VTBL struct FrameVtbl *lpVtbl;
  1339.     };
  1340.     
  1341. #ifdef COBJMACROS
  1342. #define Frame_QueryInterface(This,riid,ppvObject)
  1343.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1344. #define Frame_AddRef(This)
  1345.     (This)->lpVtbl -> AddRef(This)
  1346. #define Frame_Release(This)
  1347.     (This)->lpVtbl -> Release(This)
  1348. #define Frame_GetTypeInfoCount(This,pctinfo)
  1349.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1350. #define Frame_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1351.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1352. #define Frame_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1353.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1354. #define Frame_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1355.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1356. #define Frame_Maximize(This)
  1357.     (This)->lpVtbl -> Maximize(This)
  1358. #define Frame_Minimize(This)
  1359.     (This)->lpVtbl -> Minimize(This)
  1360. #define Frame_Restore(This)
  1361.     (This)->lpVtbl -> Restore(This)
  1362. #define Frame_get_Top(This,Top)
  1363.     (This)->lpVtbl -> get_Top(This,Top)
  1364. #define Frame_put_Top(This,top)
  1365.     (This)->lpVtbl -> put_Top(This,top)
  1366. #define Frame_get_Bottom(This,Bottom)
  1367.     (This)->lpVtbl -> get_Bottom(This,Bottom)
  1368. #define Frame_put_Bottom(This,bottom)
  1369.     (This)->lpVtbl -> put_Bottom(This,bottom)
  1370. #define Frame_get_Left(This,Left)
  1371.     (This)->lpVtbl -> get_Left(This,Left)
  1372. #define Frame_put_Left(This,left)
  1373.     (This)->lpVtbl -> put_Left(This,left)
  1374. #define Frame_get_Right(This,Right)
  1375.     (This)->lpVtbl -> get_Right(This,Right)
  1376. #define Frame_put_Right(This,right)
  1377.     (This)->lpVtbl -> put_Right(This,right)
  1378. #endif /* COBJMACROS */
  1379. #endif  /* C style interface */
  1380. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Frame_Maximize_Proxy( 
  1381.     Frame * This);
  1382. void __RPC_STUB Frame_Maximize_Stub(
  1383.     IRpcStubBuffer *This,
  1384.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1385.     PRPC_MESSAGE _pRpcMessage,
  1386.     DWORD *_pdwStubPhase);
  1387. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Frame_Minimize_Proxy( 
  1388.     Frame * This);
  1389. void __RPC_STUB Frame_Minimize_Stub(
  1390.     IRpcStubBuffer *This,
  1391.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1392.     PRPC_MESSAGE _pRpcMessage,
  1393.     DWORD *_pdwStubPhase);
  1394. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Frame_Restore_Proxy( 
  1395.     Frame * This);
  1396. void __RPC_STUB Frame_Restore_Stub(
  1397.     IRpcStubBuffer *This,
  1398.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1399.     PRPC_MESSAGE _pRpcMessage,
  1400.     DWORD *_pdwStubPhase);
  1401. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Frame_get_Top_Proxy( 
  1402.     Frame * This,
  1403.     /* [retval][out] */ PINT Top);
  1404. void __RPC_STUB Frame_get_Top_Stub(
  1405.     IRpcStubBuffer *This,
  1406.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1407.     PRPC_MESSAGE _pRpcMessage,
  1408.     DWORD *_pdwStubPhase);
  1409. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Frame_put_Top_Proxy( 
  1410.     Frame * This,
  1411.     /* [in] */ int top);
  1412. void __RPC_STUB Frame_put_Top_Stub(
  1413.     IRpcStubBuffer *This,
  1414.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1415.     PRPC_MESSAGE _pRpcMessage,
  1416.     DWORD *_pdwStubPhase);
  1417. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Frame_get_Bottom_Proxy( 
  1418.     Frame * This,
  1419.     /* [retval][out] */ PINT Bottom);
  1420. void __RPC_STUB Frame_get_Bottom_Stub(
  1421.     IRpcStubBuffer *This,
  1422.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1423.     PRPC_MESSAGE _pRpcMessage,
  1424.     DWORD *_pdwStubPhase);
  1425. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Frame_put_Bottom_Proxy( 
  1426.     Frame * This,
  1427.     /* [in] */ int bottom);
  1428. void __RPC_STUB Frame_put_Bottom_Stub(
  1429.     IRpcStubBuffer *This,
  1430.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1431.     PRPC_MESSAGE _pRpcMessage,
  1432.     DWORD *_pdwStubPhase);
  1433. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Frame_get_Left_Proxy( 
  1434.     Frame * This,
  1435.     /* [retval][out] */ PINT Left);
  1436. void __RPC_STUB Frame_get_Left_Stub(
  1437.     IRpcStubBuffer *This,
  1438.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1439.     PRPC_MESSAGE _pRpcMessage,
  1440.     DWORD *_pdwStubPhase);
  1441. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Frame_put_Left_Proxy( 
  1442.     Frame * This,
  1443.     /* [in] */ int left);
  1444. void __RPC_STUB Frame_put_Left_Stub(
  1445.     IRpcStubBuffer *This,
  1446.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1447.     PRPC_MESSAGE _pRpcMessage,
  1448.     DWORD *_pdwStubPhase);
  1449. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Frame_get_Right_Proxy( 
  1450.     Frame * This,
  1451.     /* [retval][out] */ PINT Right);
  1452. void __RPC_STUB Frame_get_Right_Stub(
  1453.     IRpcStubBuffer *This,
  1454.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1455.     PRPC_MESSAGE _pRpcMessage,
  1456.     DWORD *_pdwStubPhase);
  1457. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Frame_put_Right_Proxy( 
  1458.     Frame * This,
  1459.     /* [in] */ int right);
  1460. void __RPC_STUB Frame_put_Right_Stub(
  1461.     IRpcStubBuffer *This,
  1462.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1463.     PRPC_MESSAGE _pRpcMessage,
  1464.     DWORD *_pdwStubPhase);
  1465. #endif  /* __Frame_INTERFACE_DEFINED__ */
  1466. #ifndef __Node_INTERFACE_DEFINED__
  1467. #define __Node_INTERFACE_DEFINED__
  1468. /* interface Node */
  1469. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */ 
  1470. EXTERN_C const IID IID_Node;
  1471. #if defined(__cplusplus) && !defined(CINTERFACE)
  1472.     
  1473.     MIDL_INTERFACE("F81ED800-7839-4447-945D-8E15DA59CA55")
  1474.     Node : public IDispatch
  1475.     {
  1476.     public:
  1477.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name( 
  1478.             /* [retval][out] */ PBSTR Name) = 0;
  1479.         
  1480.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Property( 
  1481.             /* [in] */ BSTR PropertyName,
  1482.             /* [retval][out] */ PBSTR PropertyValue) = 0;
  1483.         
  1484.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Bookmark( 
  1485.             /* [retval][out] */ PBSTR Bookmark) = 0;
  1486.         
  1487.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsScopeNode( 
  1488.             /* [retval][out] */ PBOOL IsScopeNode) = 0;
  1489.         
  1490.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Nodetype( 
  1491.             /* [retval][out] */ PBSTR Nodetype) = 0;
  1492.         
  1493.     };
  1494.     
  1495. #else  /* C style interface */
  1496.     typedef struct NodeVtbl
  1497.     {
  1498.         BEGIN_INTERFACE
  1499.         
  1500.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1501.             Node * This,
  1502.             /* [in] */ REFIID riid,
  1503.             /* [iid_is][out] */ void **ppvObject);
  1504.         
  1505.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1506.             Node * This);
  1507.         
  1508.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1509.             Node * This);
  1510.         
  1511.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1512.             Node * This,
  1513.             /* [out] */ UINT *pctinfo);
  1514.         
  1515.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1516.             Node * This,
  1517.             /* [in] */ UINT iTInfo,
  1518.             /* [in] */ LCID lcid,
  1519.             /* [out] */ ITypeInfo **ppTInfo);
  1520.         
  1521.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1522.             Node * This,
  1523.             /* [in] */ REFIID riid,
  1524.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1525.             /* [in] */ UINT cNames,
  1526.             /* [in] */ LCID lcid,
  1527.             /* [size_is][out] */ DISPID *rgDispId);
  1528.         
  1529.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1530.             Node * This,
  1531.             /* [in] */ DISPID dispIdMember,
  1532.             /* [in] */ REFIID riid,
  1533.             /* [in] */ LCID lcid,
  1534.             /* [in] */ WORD wFlags,
  1535.             /* [out][in] */ DISPPARAMS *pDispParams,
  1536.             /* [out] */ VARIANT *pVarResult,
  1537.             /* [out] */ EXCEPINFO *pExcepInfo,
  1538.             /* [out] */ UINT *puArgErr);
  1539.         
  1540.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  1541.             Node * This,
  1542.             /* [retval][out] */ PBSTR Name);
  1543.         
  1544.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Property )( 
  1545.             Node * This,
  1546.             /* [in] */ BSTR PropertyName,
  1547.             /* [retval][out] */ PBSTR PropertyValue);
  1548.         
  1549.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Bookmark )( 
  1550.             Node * This,
  1551.             /* [retval][out] */ PBSTR Bookmark);
  1552.         
  1553.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsScopeNode )( 
  1554.             Node * This,
  1555.             /* [retval][out] */ PBOOL IsScopeNode);
  1556.         
  1557.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Nodetype )( 
  1558.             Node * This,
  1559.             /* [retval][out] */ PBSTR Nodetype);
  1560.         
  1561.         END_INTERFACE
  1562.     } NodeVtbl;
  1563.     interface Node
  1564.     {
  1565.         CONST_VTBL struct NodeVtbl *lpVtbl;
  1566.     };
  1567.     
  1568. #ifdef COBJMACROS
  1569. #define Node_QueryInterface(This,riid,ppvObject)
  1570.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1571. #define Node_AddRef(This)
  1572.     (This)->lpVtbl -> AddRef(This)
  1573. #define Node_Release(This)
  1574.     (This)->lpVtbl -> Release(This)
  1575. #define Node_GetTypeInfoCount(This,pctinfo)
  1576.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1577. #define Node_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1578.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1579. #define Node_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1580.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1581. #define Node_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1582.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1583. #define Node_get_Name(This,Name)
  1584.     (This)->lpVtbl -> get_Name(This,Name)
  1585. #define Node_get_Property(This,PropertyName,PropertyValue)
  1586.     (This)->lpVtbl -> get_Property(This,PropertyName,PropertyValue)
  1587. #define Node_get_Bookmark(This,Bookmark)
  1588.     (This)->lpVtbl -> get_Bookmark(This,Bookmark)
  1589. #define Node_IsScopeNode(This,IsScopeNode)
  1590.     (This)->lpVtbl -> IsScopeNode(This,IsScopeNode)
  1591. #define Node_get_Nodetype(This,Nodetype)
  1592.     (This)->lpVtbl -> get_Nodetype(This,Nodetype)
  1593. #endif /* COBJMACROS */
  1594. #endif  /* C style interface */
  1595. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Node_get_Name_Proxy( 
  1596.     Node * This,
  1597.     /* [retval][out] */ PBSTR Name);
  1598. void __RPC_STUB Node_get_Name_Stub(
  1599.     IRpcStubBuffer *This,
  1600.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1601.     PRPC_MESSAGE _pRpcMessage,
  1602.     DWORD *_pdwStubPhase);
  1603. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Node_get_Property_Proxy( 
  1604.     Node * This,
  1605.     /* [in] */ BSTR PropertyName,
  1606.     /* [retval][out] */ PBSTR PropertyValue);
  1607. void __RPC_STUB Node_get_Property_Stub(
  1608.     IRpcStubBuffer *This,
  1609.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1610.     PRPC_MESSAGE _pRpcMessage,
  1611.     DWORD *_pdwStubPhase);
  1612. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Node_get_Bookmark_Proxy( 
  1613.     Node * This,
  1614.     /* [retval][out] */ PBSTR Bookmark);
  1615. void __RPC_STUB Node_get_Bookmark_Stub(
  1616.     IRpcStubBuffer *This,
  1617.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1618.     PRPC_MESSAGE _pRpcMessage,
  1619.     DWORD *_pdwStubPhase);
  1620. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Node_IsScopeNode_Proxy( 
  1621.     Node * This,
  1622.     /* [retval][out] */ PBOOL IsScopeNode);
  1623. void __RPC_STUB Node_IsScopeNode_Stub(
  1624.     IRpcStubBuffer *This,
  1625.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1626.     PRPC_MESSAGE _pRpcMessage,
  1627.     DWORD *_pdwStubPhase);
  1628. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Node_get_Nodetype_Proxy( 
  1629.     Node * This,
  1630.     /* [retval][out] */ PBSTR Nodetype);
  1631. void __RPC_STUB Node_get_Nodetype_Stub(
  1632.     IRpcStubBuffer *This,
  1633.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1634.     PRPC_MESSAGE _pRpcMessage,
  1635.     DWORD *_pdwStubPhase);
  1636. #endif  /* __Node_INTERFACE_DEFINED__ */
  1637. #ifndef __ScopeNamespace_INTERFACE_DEFINED__
  1638. #define __ScopeNamespace_INTERFACE_DEFINED__
  1639. /* interface ScopeNamespace */
  1640. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */ 
  1641. EXTERN_C const IID IID_ScopeNamespace;
  1642. #if defined(__cplusplus) && !defined(CINTERFACE)
  1643.     
  1644.     MIDL_INTERFACE("EBBB48DC-1A3B-4D86-B786-C21B28389012")
  1645.     ScopeNamespace : public IDispatch
  1646.     {
  1647.     public:
  1648.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetParent( 
  1649.             /* [in] */ PNODE Node,
  1650.             /* [retval][out] */ PPNODE Parent) = 0;
  1651.         
  1652.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetChild( 
  1653.             /* [in] */ PNODE Node,
  1654.             /* [retval][out] */ PPNODE Child) = 0;
  1655.         
  1656.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetNext( 
  1657.             /* [in] */ PNODE Node,
  1658.             /* [retval][out] */ PPNODE Next) = 0;
  1659.         
  1660.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetRoot( 
  1661.             /* [retval][out] */ PPNODE Root) = 0;
  1662.         
  1663.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Expand( 
  1664.             /* [in] */ PNODE Node) = 0;
  1665.         
  1666.     };
  1667.     
  1668. #else  /* C style interface */
  1669.     typedef struct ScopeNamespaceVtbl
  1670.     {
  1671.         BEGIN_INTERFACE
  1672.         
  1673.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1674.             ScopeNamespace * This,
  1675.             /* [in] */ REFIID riid,
  1676.             /* [iid_is][out] */ void **ppvObject);
  1677.         
  1678.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1679.             ScopeNamespace * This);
  1680.         
  1681.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1682.             ScopeNamespace * This);
  1683.         
  1684.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1685.             ScopeNamespace * This,
  1686.             /* [out] */ UINT *pctinfo);
  1687.         
  1688.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1689.             ScopeNamespace * This,
  1690.             /* [in] */ UINT iTInfo,
  1691.             /* [in] */ LCID lcid,
  1692.             /* [out] */ ITypeInfo **ppTInfo);
  1693.         
  1694.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1695.             ScopeNamespace * This,
  1696.             /* [in] */ REFIID riid,
  1697.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1698.             /* [in] */ UINT cNames,
  1699.             /* [in] */ LCID lcid,
  1700.             /* [size_is][out] */ DISPID *rgDispId);
  1701.         
  1702.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1703.             ScopeNamespace * This,
  1704.             /* [in] */ DISPID dispIdMember,
  1705.             /* [in] */ REFIID riid,
  1706.             /* [in] */ LCID lcid,
  1707.             /* [in] */ WORD wFlags,
  1708.             /* [out][in] */ DISPPARAMS *pDispParams,
  1709.             /* [out] */ VARIANT *pVarResult,
  1710.             /* [out] */ EXCEPINFO *pExcepInfo,
  1711.             /* [out] */ UINT *puArgErr);
  1712.         
  1713.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetParent )( 
  1714.             ScopeNamespace * This,
  1715.             /* [in] */ PNODE Node,
  1716.             /* [retval][out] */ PPNODE Parent);
  1717.         
  1718.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetChild )( 
  1719.             ScopeNamespace * This,
  1720.             /* [in] */ PNODE Node,
  1721.             /* [retval][out] */ PPNODE Child);
  1722.         
  1723.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetNext )( 
  1724.             ScopeNamespace * This,
  1725.             /* [in] */ PNODE Node,
  1726.             /* [retval][out] */ PPNODE Next);
  1727.         
  1728.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRoot )( 
  1729.             ScopeNamespace * This,
  1730.             /* [retval][out] */ PPNODE Root);
  1731.         
  1732.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Expand )( 
  1733.             ScopeNamespace * This,
  1734.             /* [in] */ PNODE Node);
  1735.         
  1736.         END_INTERFACE
  1737.     } ScopeNamespaceVtbl;
  1738.     interface ScopeNamespace
  1739.     {
  1740.         CONST_VTBL struct ScopeNamespaceVtbl *lpVtbl;
  1741.     };
  1742.     
  1743. #ifdef COBJMACROS
  1744. #define ScopeNamespace_QueryInterface(This,riid,ppvObject)
  1745.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1746. #define ScopeNamespace_AddRef(This)
  1747.     (This)->lpVtbl -> AddRef(This)
  1748. #define ScopeNamespace_Release(This)
  1749.     (This)->lpVtbl -> Release(This)
  1750. #define ScopeNamespace_GetTypeInfoCount(This,pctinfo)
  1751.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1752. #define ScopeNamespace_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1753.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1754. #define ScopeNamespace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1755.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1756. #define ScopeNamespace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1757.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1758. #define ScopeNamespace_GetParent(This,Node,Parent)
  1759.     (This)->lpVtbl -> GetParent(This,Node,Parent)
  1760. #define ScopeNamespace_GetChild(This,Node,Child)
  1761.     (This)->lpVtbl -> GetChild(This,Node,Child)
  1762. #define ScopeNamespace_GetNext(This,Node,Next)
  1763.     (This)->lpVtbl -> GetNext(This,Node,Next)
  1764. #define ScopeNamespace_GetRoot(This,Root)
  1765.     (This)->lpVtbl -> GetRoot(This,Root)
  1766. #define ScopeNamespace_Expand(This,Node)
  1767.     (This)->lpVtbl -> Expand(This,Node)
  1768. #endif /* COBJMACROS */
  1769. #endif  /* C style interface */
  1770. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_GetParent_Proxy( 
  1771.     ScopeNamespace * This,
  1772.     /* [in] */ PNODE Node,
  1773.     /* [retval][out] */ PPNODE Parent);
  1774. void __RPC_STUB ScopeNamespace_GetParent_Stub(
  1775.     IRpcStubBuffer *This,
  1776.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1777.     PRPC_MESSAGE _pRpcMessage,
  1778.     DWORD *_pdwStubPhase);
  1779. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_GetChild_Proxy( 
  1780.     ScopeNamespace * This,
  1781.     /* [in] */ PNODE Node,
  1782.     /* [retval][out] */ PPNODE Child);
  1783. void __RPC_STUB ScopeNamespace_GetChild_Stub(
  1784.     IRpcStubBuffer *This,
  1785.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1786.     PRPC_MESSAGE _pRpcMessage,
  1787.     DWORD *_pdwStubPhase);
  1788. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_GetNext_Proxy( 
  1789.     ScopeNamespace * This,
  1790.     /* [in] */ PNODE Node,
  1791.     /* [retval][out] */ PPNODE Next);
  1792. void __RPC_STUB ScopeNamespace_GetNext_Stub(
  1793.     IRpcStubBuffer *This,
  1794.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1795.     PRPC_MESSAGE _pRpcMessage,
  1796.     DWORD *_pdwStubPhase);
  1797. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_GetRoot_Proxy( 
  1798.     ScopeNamespace * This,
  1799.     /* [retval][out] */ PPNODE Root);
  1800. void __RPC_STUB ScopeNamespace_GetRoot_Stub(
  1801.     IRpcStubBuffer *This,
  1802.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1803.     PRPC_MESSAGE _pRpcMessage,
  1804.     DWORD *_pdwStubPhase);
  1805. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_Expand_Proxy( 
  1806.     ScopeNamespace * This,
  1807.     /* [in] */ PNODE Node);
  1808. void __RPC_STUB ScopeNamespace_Expand_Stub(
  1809.     IRpcStubBuffer *This,
  1810.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1811.     PRPC_MESSAGE _pRpcMessage,
  1812.     DWORD *_pdwStubPhase);
  1813. #endif  /* __ScopeNamespace_INTERFACE_DEFINED__ */
  1814. #ifndef __Document_INTERFACE_DEFINED__
  1815. #define __Document_INTERFACE_DEFINED__
  1816. /* interface Document */
  1817. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */ 
  1818. EXTERN_C const IID IID_Document;
  1819. #if defined(__cplusplus) && !defined(CINTERFACE)
  1820.     
  1821.     MIDL_INTERFACE("225120D6-1E0F-40A3-93FE-1079E6A8017B")
  1822.     Document : public IDispatch
  1823.     {
  1824.     public:
  1825.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0;
  1826.         
  1827.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveAs( 
  1828.             /* [in] */ BSTR Filename) = 0;
  1829.         
  1830.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Close( 
  1831.             /* [in] */ BOOL SaveChanges) = 0;
  1832.         
  1833.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Views( 
  1834.             /* [retval][out] */ PPVIEWS Views) = 0;
  1835.         
  1836.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SnapIns( 
  1837.             /* [retval][out] */ PPSNAPINS SnapIns) = 0;
  1838.         
  1839.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveView( 
  1840.             /* [retval][out] */ PPVIEW View) = 0;
  1841.         
  1842.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name( 
  1843.             /* [retval][out] */ PBSTR Name) = 0;
  1844.         
  1845.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Name( 
  1846.             /* [in] */ BSTR Name) = 0;
  1847.         
  1848.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Location( 
  1849.             /* [retval][out] */ PBSTR Location) = 0;
  1850.         
  1851.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsSaved( 
  1852.             /* [retval][out] */ PBOOL IsSaved) = 0;
  1853.         
  1854.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Mode( 
  1855.             /* [retval][out] */ PDOCUMENTMODE Mode) = 0;
  1856.         
  1857.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Mode( 
  1858.             /* [in] */ DOCUMENTMODE Mode) = 0;
  1859.         
  1860.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_RootNode( 
  1861.             /* [retval][out] */ PPNODE Node) = 0;
  1862.         
  1863.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ScopeNamespace( 
  1864.             /* [retval][out] */ PPSCOPENAMESPACE ScopeNamespace) = 0;
  1865.         
  1866.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateProperties( 
  1867.             /* [retval][out] */ PPPROPERTIES Properties) = 0;
  1868.         
  1869.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Application( 
  1870.             /* [retval][out] */ PPAPPLICATION Application) = 0;
  1871.         
  1872.     };
  1873.     
  1874. #else  /* C style interface */
  1875.     typedef struct DocumentVtbl
  1876.     {
  1877.         BEGIN_INTERFACE
  1878.         
  1879.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1880.             Document * This,
  1881.             /* [in] */ REFIID riid,
  1882.             /* [iid_is][out] */ void **ppvObject);
  1883.         
  1884.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1885.             Document * This);
  1886.         
  1887.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1888.             Document * This);
  1889.         
  1890.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1891.             Document * This,
  1892.             /* [out] */ UINT *pctinfo);
  1893.         
  1894.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1895.             Document * This,
  1896.             /* [in] */ UINT iTInfo,
  1897.             /* [in] */ LCID lcid,
  1898.             /* [out] */ ITypeInfo **ppTInfo);
  1899.         
  1900.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1901.             Document * This,
  1902.             /* [in] */ REFIID riid,
  1903.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1904.             /* [in] */ UINT cNames,
  1905.             /* [in] */ LCID lcid,
  1906.             /* [size_is][out] */ DISPID *rgDispId);
  1907.         
  1908.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1909.             Document * This,
  1910.             /* [in] */ DISPID dispIdMember,
  1911.             /* [in] */ REFIID riid,
  1912.             /* [in] */ LCID lcid,
  1913.             /* [in] */ WORD wFlags,
  1914.             /* [out][in] */ DISPPARAMS *pDispParams,
  1915.             /* [out] */ VARIANT *pVarResult,
  1916.             /* [out] */ EXCEPINFO *pExcepInfo,
  1917.             /* [out] */ UINT *puArgErr);
  1918.         
  1919.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( 
  1920.             Document * This);
  1921.         
  1922.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveAs )( 
  1923.             Document * This,
  1924.             /* [in] */ BSTR Filename);
  1925.         
  1926.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Close )( 
  1927.             Document * This,
  1928.             /* [in] */ BOOL SaveChanges);
  1929.         
  1930.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Views )( 
  1931.             Document * This,
  1932.             /* [retval][out] */ PPVIEWS Views);
  1933.         
  1934.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SnapIns )( 
  1935.             Document * This,
  1936.             /* [retval][out] */ PPSNAPINS SnapIns);
  1937.         
  1938.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveView )( 
  1939.             Document * This,
  1940.             /* [retval][out] */ PPVIEW View);
  1941.         
  1942.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  1943.             Document * This,
  1944.             /* [retval][out] */ PBSTR Name);
  1945.         
  1946.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( 
  1947.             Document * This,
  1948.             /* [in] */ BSTR Name);
  1949.         
  1950.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Location )( 
  1951.             Document * This,
  1952.             /* [retval][out] */ PBSTR Location);
  1953.         
  1954.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsSaved )( 
  1955.             Document * This,
  1956.             /* [retval][out] */ PBOOL IsSaved);
  1957.         
  1958.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Mode )( 
  1959.             Document * This,
  1960.             /* [retval][out] */ PDOCUMENTMODE Mode);
  1961.         
  1962.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Mode )( 
  1963.             Document * This,
  1964.             /* [in] */ DOCUMENTMODE Mode);
  1965.         
  1966.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RootNode )( 
  1967.             Document * This,
  1968.             /* [retval][out] */ PPNODE Node);
  1969.         
  1970.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ScopeNamespace )( 
  1971.             Document * This,
  1972.             /* [retval][out] */ PPSCOPENAMESPACE ScopeNamespace);
  1973.         
  1974.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateProperties )( 
  1975.             Document * This,
  1976.             /* [retval][out] */ PPPROPERTIES Properties);
  1977.         
  1978.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Application )( 
  1979.             Document * This,
  1980.             /* [retval][out] */ PPAPPLICATION Application);
  1981.         
  1982.         END_INTERFACE
  1983.     } DocumentVtbl;
  1984.     interface Document
  1985.     {
  1986.         CONST_VTBL struct DocumentVtbl *lpVtbl;
  1987.     };
  1988.     
  1989. #ifdef COBJMACROS
  1990. #define Document_QueryInterface(This,riid,ppvObject)
  1991.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1992. #define Document_AddRef(This)
  1993.     (This)->lpVtbl -> AddRef(This)
  1994. #define Document_Release(This)
  1995.     (This)->lpVtbl -> Release(This)
  1996. #define Document_GetTypeInfoCount(This,pctinfo)
  1997.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1998. #define Document_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1999.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2000. #define Document_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2001.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2002. #define Document_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2003.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2004. #define Document_Save(This)
  2005.     (This)->lpVtbl -> Save(This)
  2006. #define Document_SaveAs(This,Filename)
  2007.     (This)->lpVtbl -> SaveAs(This,Filename)
  2008. #define Document_Close(This,SaveChanges)
  2009.     (This)->lpVtbl -> Close(This,SaveChanges)
  2010. #define Document_get_Views(This,Views)
  2011.     (This)->lpVtbl -> get_Views(This,Views)
  2012. #define Document_get_SnapIns(This,SnapIns)
  2013.     (This)->lpVtbl -> get_SnapIns(This,SnapIns)
  2014. #define Document_get_ActiveView(This,View)
  2015.     (This)->lpVtbl -> get_ActiveView(This,View)
  2016. #define Document_get_Name(This,Name)
  2017.     (This)->lpVtbl -> get_Name(This,Name)
  2018. #define Document_put_Name(This,Name)
  2019.     (This)->lpVtbl -> put_Name(This,Name)
  2020. #define Document_get_Location(This,Location)
  2021.     (This)->lpVtbl -> get_Location(This,Location)
  2022. #define Document_get_IsSaved(This,IsSaved)
  2023.     (This)->lpVtbl -> get_IsSaved(This,IsSaved)
  2024. #define Document_get_Mode(This,Mode)
  2025.     (This)->lpVtbl -> get_Mode(This,Mode)
  2026. #define Document_put_Mode(This,Mode)
  2027.     (This)->lpVtbl -> put_Mode(This,Mode)
  2028. #define Document_get_RootNode(This,Node)
  2029.     (This)->lpVtbl -> get_RootNode(This,Node)
  2030. #define Document_get_ScopeNamespace(This,ScopeNamespace)
  2031.     (This)->lpVtbl -> get_ScopeNamespace(This,ScopeNamespace)
  2032. #define Document_CreateProperties(This,Properties)
  2033.     (This)->lpVtbl -> CreateProperties(This,Properties)
  2034. #define Document_get_Application(This,Application)
  2035.     (This)->lpVtbl -> get_Application(This,Application)
  2036. #endif /* COBJMACROS */
  2037. #endif  /* C style interface */
  2038. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Document_Save_Proxy( 
  2039.     Document * This);
  2040. void __RPC_STUB Document_Save_Stub(
  2041.     IRpcStubBuffer *This,
  2042.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2043.     PRPC_MESSAGE _pRpcMessage,
  2044.     DWORD *_pdwStubPhase);
  2045. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Document_SaveAs_Proxy( 
  2046.     Document * This,
  2047.     /* [in] */ BSTR Filename);
  2048. void __RPC_STUB Document_SaveAs_Stub(
  2049.     IRpcStubBuffer *This,
  2050.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2051.     PRPC_MESSAGE _pRpcMessage,
  2052.     DWORD *_pdwStubPhase);
  2053. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Document_Close_Proxy( 
  2054.     Document * This,
  2055.     /* [in] */ BOOL SaveChanges);
  2056. void __RPC_STUB Document_Close_Stub(
  2057.     IRpcStubBuffer *This,
  2058.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2059.     PRPC_MESSAGE _pRpcMessage,
  2060.     DWORD *_pdwStubPhase);
  2061. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Views_Proxy( 
  2062.     Document * This,
  2063.     /* [retval][out] */ PPVIEWS Views);
  2064. void __RPC_STUB Document_get_Views_Stub(
  2065.     IRpcStubBuffer *This,
  2066.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2067.     PRPC_MESSAGE _pRpcMessage,
  2068.     DWORD *_pdwStubPhase);
  2069. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_SnapIns_Proxy( 
  2070.     Document * This,
  2071.     /* [retval][out] */ PPSNAPINS SnapIns);
  2072. void __RPC_STUB Document_get_SnapIns_Stub(
  2073.     IRpcStubBuffer *This,
  2074.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2075.     PRPC_MESSAGE _pRpcMessage,
  2076.     DWORD *_pdwStubPhase);
  2077. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_ActiveView_Proxy( 
  2078.     Document * This,
  2079.     /* [retval][out] */ PPVIEW View);
  2080. void __RPC_STUB Document_get_ActiveView_Stub(
  2081.     IRpcStubBuffer *This,
  2082.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2083.     PRPC_MESSAGE _pRpcMessage,
  2084.     DWORD *_pdwStubPhase);
  2085. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Name_Proxy( 
  2086.     Document * This,
  2087.     /* [retval][out] */ PBSTR Name);
  2088. void __RPC_STUB Document_get_Name_Stub(
  2089.     IRpcStubBuffer *This,
  2090.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2091.     PRPC_MESSAGE _pRpcMessage,
  2092.     DWORD *_pdwStubPhase);
  2093. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Document_put_Name_Proxy( 
  2094.     Document * This,
  2095.     /* [in] */ BSTR Name);
  2096. void __RPC_STUB Document_put_Name_Stub(
  2097.     IRpcStubBuffer *This,
  2098.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2099.     PRPC_MESSAGE _pRpcMessage,
  2100.     DWORD *_pdwStubPhase);
  2101. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Location_Proxy( 
  2102.     Document * This,
  2103.     /* [retval][out] */ PBSTR Location);
  2104. void __RPC_STUB Document_get_Location_Stub(
  2105.     IRpcStubBuffer *This,
  2106.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2107.     PRPC_MESSAGE _pRpcMessage,
  2108.     DWORD *_pdwStubPhase);
  2109. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_IsSaved_Proxy( 
  2110.     Document * This,
  2111.     /* [retval][out] */ PBOOL IsSaved);
  2112. void __RPC_STUB Document_get_IsSaved_Stub(
  2113.     IRpcStubBuffer *This,
  2114.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2115.     PRPC_MESSAGE _pRpcMessage,
  2116.     DWORD *_pdwStubPhase);
  2117. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Mode_Proxy( 
  2118.     Document * This,
  2119.     /* [retval][out] */ PDOCUMENTMODE Mode);
  2120. void __RPC_STUB Document_get_Mode_Stub(
  2121.     IRpcStubBuffer *This,
  2122.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2123.     PRPC_MESSAGE _pRpcMessage,
  2124.     DWORD *_pdwStubPhase);
  2125. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Document_put_Mode_Proxy( 
  2126.     Document * This,
  2127.     /* [in] */ DOCUMENTMODE Mode);
  2128. void __RPC_STUB Document_put_Mode_Stub(
  2129.     IRpcStubBuffer *This,
  2130.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2131.     PRPC_MESSAGE _pRpcMessage,
  2132.     DWORD *_pdwStubPhase);
  2133. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_RootNode_Proxy( 
  2134.     Document * This,
  2135.     /* [retval][out] */ PPNODE Node);
  2136. void __RPC_STUB Document_get_RootNode_Stub(
  2137.     IRpcStubBuffer *This,
  2138.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2139.     PRPC_MESSAGE _pRpcMessage,
  2140.     DWORD *_pdwStubPhase);
  2141. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_ScopeNamespace_Proxy( 
  2142.     Document * This,
  2143.     /* [retval][out] */ PPSCOPENAMESPACE ScopeNamespace);
  2144. void __RPC_STUB Document_get_ScopeNamespace_Stub(
  2145.     IRpcStubBuffer *This,
  2146.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2147.     PRPC_MESSAGE _pRpcMessage,
  2148.     DWORD *_pdwStubPhase);
  2149. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Document_CreateProperties_Proxy( 
  2150.     Document * This,
  2151.     /* [retval][out] */ PPPROPERTIES Properties);
  2152. void __RPC_STUB Document_CreateProperties_Stub(
  2153.     IRpcStubBuffer *This,
  2154.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2155.     PRPC_MESSAGE _pRpcMessage,
  2156.     DWORD *_pdwStubPhase);
  2157. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Application_Proxy( 
  2158.     Document * This,
  2159.     /* [retval][out] */ PPAPPLICATION Application);
  2160. void __RPC_STUB Document_get_Application_Stub(
  2161.     IRpcStubBuffer *This,
  2162.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2163.     PRPC_MESSAGE _pRpcMessage,
  2164.     DWORD *_pdwStubPhase);
  2165. #endif  /* __Document_INTERFACE_DEFINED__ */
  2166. #ifndef __SnapIn_INTERFACE_DEFINED__
  2167. #define __SnapIn_INTERFACE_DEFINED__
  2168. /* interface SnapIn */
  2169. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */ 
  2170. EXTERN_C const IID IID_SnapIn;
  2171. #if defined(__cplusplus) && !defined(CINTERFACE)
  2172.     
  2173.     MIDL_INTERFACE("3BE910F6-3459-49C6-A1BB-41E6BE9DF3EA")
  2174.     SnapIn : public IDispatch
  2175.     {
  2176.     public:
  2177.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name( 
  2178.             /* [retval][out] */ PBSTR Name) = 0;
  2179.         
  2180.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Vendor( 
  2181.             /* [retval][out] */ PBSTR Vendor) = 0;
  2182.         
  2183.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Version( 
  2184.             /* [retval][out] */ PBSTR Version) = 0;
  2185.         
  2186.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Extensions( 
  2187.             /* [retval][out] */ PPEXTENSIONS Extensions) = 0;
  2188.         
  2189.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SnapinCLSID( 
  2190.             /* [retval][out] */ PBSTR SnapinCLSID) = 0;
  2191.         
  2192.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Properties( 
  2193.             /* [retval][out] */ PPPROPERTIES Properties) = 0;
  2194.         
  2195.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableAllExtensions( 
  2196.             /* [in] */ BOOL Enable) = 0;
  2197.         
  2198.     };
  2199.     
  2200. #else  /* C style interface */
  2201.     typedef struct SnapInVtbl
  2202.     {
  2203.         BEGIN_INTERFACE
  2204.         
  2205.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2206.             SnapIn * This,
  2207.             /* [in] */ REFIID riid,
  2208.             /* [iid_is][out] */ void **ppvObject);
  2209.         
  2210.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2211.             SnapIn * This);
  2212.         
  2213.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2214.             SnapIn * This);
  2215.         
  2216.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2217.             SnapIn * This,
  2218.             /* [out] */ UINT *pctinfo);
  2219.         
  2220.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2221.             SnapIn * This,
  2222.             /* [in] */ UINT iTInfo,
  2223.             /* [in] */ LCID lcid,
  2224.             /* [out] */ ITypeInfo **ppTInfo);
  2225.         
  2226.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2227.             SnapIn * This,
  2228.             /* [in] */ REFIID riid,
  2229.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2230.             /* [in] */ UINT cNames,
  2231.             /* [in] */ LCID lcid,
  2232.             /* [size_is][out] */ DISPID *rgDispId);
  2233.         
  2234.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2235.             SnapIn * This,
  2236.             /* [in] */ DISPID dispIdMember,
  2237.             /* [in] */ REFIID riid,
  2238.             /* [in] */ LCID lcid,
  2239.             /* [in] */ WORD wFlags,
  2240.             /* [out][in] */ DISPPARAMS *pDispParams,
  2241.             /* [out] */ VARIANT *pVarResult,
  2242.             /* [out] */ EXCEPINFO *pExcepInfo,
  2243.             /* [out] */ UINT *puArgErr);
  2244.         
  2245.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  2246.             SnapIn * This,
  2247.             /* [retval][out] */ PBSTR Name);
  2248.         
  2249.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Vendor )( 
  2250.             SnapIn * This,
  2251.             /* [retval][out] */ PBSTR Vendor);
  2252.         
  2253.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Version )( 
  2254.             SnapIn * This,
  2255.             /* [retval][out] */ PBSTR Version);
  2256.         
  2257.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Extensions )( 
  2258.             SnapIn * This,
  2259.             /* [retval][out] */ PPEXTENSIONS Extensions);
  2260.         
  2261.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SnapinCLSID )( 
  2262.             SnapIn * This,
  2263.             /* [retval][out] */ PBSTR SnapinCLSID);
  2264.         
  2265.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )( 
  2266.             SnapIn * This,
  2267.             /* [retval][out] */ PPPROPERTIES Properties);
  2268.         
  2269.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableAllExtensions )( 
  2270.             SnapIn * This,
  2271.             /* [in] */ BOOL Enable);
  2272.         
  2273.         END_INTERFACE
  2274.     } SnapInVtbl;
  2275.     interface SnapIn
  2276.     {
  2277.         CONST_VTBL struct SnapInVtbl *lpVtbl;
  2278.     };
  2279.     
  2280. #ifdef COBJMACROS
  2281. #define SnapIn_QueryInterface(This,riid,ppvObject)
  2282.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2283. #define SnapIn_AddRef(This)
  2284.     (This)->lpVtbl -> AddRef(This)
  2285. #define SnapIn_Release(This)
  2286.     (This)->lpVtbl -> Release(This)
  2287. #define SnapIn_GetTypeInfoCount(This,pctinfo)
  2288.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2289. #define SnapIn_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2290.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2291. #define SnapIn_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2292.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2293. #define SnapIn_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2294.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2295. #define SnapIn_get_Name(This,Name)
  2296.     (This)->lpVtbl -> get_Name(This,Name)
  2297. #define SnapIn_get_Vendor(This,Vendor)
  2298.     (This)->lpVtbl -> get_Vendor(This,Vendor)
  2299. #define SnapIn_get_Version(This,Version)
  2300.     (This)->lpVtbl -> get_Version(This,Version)
  2301. #define SnapIn_get_Extensions(This,Extensions)
  2302.     (This)->lpVtbl -> get_Extensions(This,Extensions)
  2303. #define SnapIn_get_SnapinCLSID(This,SnapinCLSID)
  2304.     (This)->lpVtbl -> get_SnapinCLSID(This,SnapinCLSID)
  2305. #define SnapIn_get_Properties(This,Properties)
  2306.     (This)->lpVtbl -> get_Properties(This,Properties)
  2307. #define SnapIn_EnableAllExtensions(This,Enable)
  2308.     (This)->lpVtbl -> EnableAllExtensions(This,Enable)
  2309. #endif /* COBJMACROS */
  2310. #endif  /* C style interface */
  2311. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Name_Proxy( 
  2312.     SnapIn * This,
  2313.     /* [retval][out] */ PBSTR Name);
  2314. void __RPC_STUB SnapIn_get_Name_Stub(
  2315.     IRpcStubBuffer *This,
  2316.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2317.     PRPC_MESSAGE _pRpcMessage,
  2318.     DWORD *_pdwStubPhase);
  2319. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Vendor_Proxy( 
  2320.     SnapIn * This,
  2321.     /* [retval][out] */ PBSTR Vendor);
  2322. void __RPC_STUB SnapIn_get_Vendor_Stub(
  2323.     IRpcStubBuffer *This,
  2324.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2325.     PRPC_MESSAGE _pRpcMessage,
  2326.     DWORD *_pdwStubPhase);
  2327. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Version_Proxy( 
  2328.     SnapIn * This,
  2329.     /* [retval][out] */ PBSTR Version);
  2330. void __RPC_STUB SnapIn_get_Version_Stub(
  2331.     IRpcStubBuffer *This,
  2332.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2333.     PRPC_MESSAGE _pRpcMessage,
  2334.     DWORD *_pdwStubPhase);
  2335. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Extensions_Proxy( 
  2336.     SnapIn * This,
  2337.     /* [retval][out] */ PPEXTENSIONS Extensions);
  2338. void __RPC_STUB SnapIn_get_Extensions_Stub(
  2339.     IRpcStubBuffer *This,
  2340.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2341.     PRPC_MESSAGE _pRpcMessage,
  2342.     DWORD *_pdwStubPhase);
  2343. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_SnapinCLSID_Proxy( 
  2344.     SnapIn * This,
  2345.     /* [retval][out] */ PBSTR SnapinCLSID);
  2346. void __RPC_STUB SnapIn_get_SnapinCLSID_Stub(
  2347.     IRpcStubBuffer *This,
  2348.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2349.     PRPC_MESSAGE _pRpcMessage,
  2350.     DWORD *_pdwStubPhase);
  2351. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Properties_Proxy( 
  2352.     SnapIn * This,
  2353.     /* [retval][out] */ PPPROPERTIES Properties);
  2354. void __RPC_STUB SnapIn_get_Properties_Stub(
  2355.     IRpcStubBuffer *This,
  2356.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2357.     PRPC_MESSAGE _pRpcMessage,
  2358.     DWORD *_pdwStubPhase);
  2359. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SnapIn_EnableAllExtensions_Proxy( 
  2360.     SnapIn * This,
  2361.     /* [in] */ BOOL Enable);
  2362. void __RPC_STUB SnapIn_EnableAllExtensions_Stub(
  2363.     IRpcStubBuffer *This,
  2364.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2365.     PRPC_MESSAGE _pRpcMessage,
  2366.     DWORD *_pdwStubPhase);
  2367. #endif  /* __SnapIn_INTERFACE_DEFINED__ */
  2368. #ifndef __SnapIns_INTERFACE_DEFINED__
  2369. #define __SnapIns_INTERFACE_DEFINED__
  2370. /* interface SnapIns */
  2371. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */ 
  2372. EXTERN_C const IID IID_SnapIns;
  2373. #if defined(__cplusplus) && !defined(CINTERFACE)
  2374.     
  2375.     MIDL_INTERFACE("2EF3DE1D-B12A-49D1-92C5-0B00798768F1")
  2376.     SnapIns : public IDispatch
  2377.     {
  2378.     public:
  2379.         virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  2380.             /* [retval][out] */ IUnknown **retval) = 0;
  2381.         
  2382.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item( 
  2383.             /* [in] */ long Index,
  2384.             /* [retval][out] */ PPSNAPIN SnapIn) = 0;
  2385.         
  2386.         virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( 
  2387.             /* [retval][out] */ PLONG Count) = 0;
  2388.         
  2389.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( 
  2390.             /* [in] */ BSTR SnapinNameOrCLSID,
  2391.             /* [optional][in] */ VARIANT ParentSnapin,
  2392.             /* [optional][in] */ VARIANT Properties,
  2393.             /* [retval][out] */ PPSNAPIN SnapIn) = 0;
  2394.         
  2395.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( 
  2396.             /* [in] */ PSNAPIN SnapIn) = 0;
  2397.         
  2398.     };
  2399.     
  2400. #else  /* C style interface */
  2401.     typedef struct SnapInsVtbl
  2402.     {
  2403.         BEGIN_INTERFACE
  2404.         
  2405.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2406.             SnapIns * This,
  2407.             /* [in] */ REFIID riid,
  2408.             /* [iid_is][out] */ void **ppvObject);
  2409.         
  2410.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2411.             SnapIns * This);
  2412.         
  2413.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2414.             SnapIns * This);
  2415.         
  2416.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2417.             SnapIns * This,
  2418.             /* [out] */ UINT *pctinfo);
  2419.         
  2420.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2421.             SnapIns * This,
  2422.             /* [in] */ UINT iTInfo,
  2423.             /* [in] */ LCID lcid,
  2424.             /* [out] */ ITypeInfo **ppTInfo);
  2425.         
  2426.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2427.             SnapIns * This,
  2428.             /* [in] */ REFIID riid,
  2429.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2430.             /* [in] */ UINT cNames,
  2431.             /* [in] */ LCID lcid,
  2432.             /* [size_is][out] */ DISPID *rgDispId);
  2433.         
  2434.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2435.             SnapIns * This,
  2436.             /* [in] */ DISPID dispIdMember,
  2437.             /* [in] */ REFIID riid,
  2438.             /* [in] */ LCID lcid,
  2439.             /* [in] */ WORD wFlags,
  2440.             /* [out][in] */ DISPPARAMS *pDispParams,
  2441.             /* [out] */ VARIANT *pVarResult,
  2442.             /* [out] */ EXCEPINFO *pExcepInfo,
  2443.             /* [out] */ UINT *puArgErr);
  2444.         
  2445.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  2446.             SnapIns * This,
  2447.             /* [retval][out] */ IUnknown **retval);
  2448.         
  2449.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  2450.             SnapIns * This,
  2451.             /* [in] */ long Index,
  2452.             /* [retval][out] */ PPSNAPIN SnapIn);
  2453.         
  2454.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  2455.             SnapIns * This,
  2456.             /* [retval][out] */ PLONG Count);
  2457.         
  2458.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( 
  2459.             SnapIns * This,
  2460.             /* [in] */ BSTR SnapinNameOrCLSID,
  2461.             /* [optional][in] */ VARIANT ParentSnapin,
  2462.             /* [optional][in] */ VARIANT Properties,
  2463.             /* [retval][out] */ PPSNAPIN SnapIn);
  2464.         
  2465.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( 
  2466.             SnapIns * This,
  2467.             /* [in] */ PSNAPIN SnapIn);
  2468.         
  2469.         END_INTERFACE
  2470.     } SnapInsVtbl;
  2471.     interface SnapIns
  2472.     {
  2473.         CONST_VTBL struct SnapInsVtbl *lpVtbl;
  2474.     };
  2475.